]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_misc_wrap.cpp
log wxChoice events in the same format as wxComboBox ones to make it simpler to compa...
[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
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 26};
d55e5bfc
RD
27#endif
28
7449af73
RD
29/***********************************************************************
30 *
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 *
34 ************************************************************************/
d55e5bfc 35
7449af73
RD
36/* template workaround for compilers that cannot correctly implement the C++ standard */
37#ifndef SWIGTEMPLATEDISAMBIGUATOR
38# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
093d3ff1 40# else
7449af73 41# define SWIGTEMPLATEDISAMBIGUATOR
093d3ff1
RD
42# endif
43#endif
d55e5bfc 44
7449af73
RD
45/* inline attribute */
46#ifndef SWIGINLINE
47# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48# define SWIGINLINE inline
49# else
50# define SWIGINLINE
51# endif
52#endif
53
54/* attribute recognised by some compilers to avoid 'unused' warnings */
55#ifndef SWIGUNUSED
56# if defined(__GNUC__) || defined(__ICC)
57# define SWIGUNUSED __attribute__ ((unused))
58# else
59# define SWIGUNUSED
60# endif
61#endif
62
63/* internal SWIG method */
64#ifndef SWIGINTERN
65# define SWIGINTERN static SWIGUNUSED
66#endif
67
68/* internal inline SWIG method */
69#ifndef SWIGINTERNINLINE
70# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
71#endif
72
73/* exporting methods for Windows DLLs */
74#ifndef SWIGEXPORT
75# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76# if defined(STATIC_LINKED)
77# define SWIGEXPORT
78# else
79# define SWIGEXPORT __declspec(dllexport)
80# endif
81# else
82# define SWIGEXPORT
83# endif
84#endif
85
86/* calling conventions for Windows */
87#ifndef SWIGSTDCALL
88# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89# define SWIGSTDCALL __stdcall
90# else
91# define SWIGSTDCALL
92# endif
93#endif
94
95
d55e5bfc 96
093d3ff1 97#include <Python.h>
d55e5bfc
RD
98
99/***********************************************************************
093d3ff1 100 * swigrun.swg
d55e5bfc 101 *
093d3ff1
RD
102 * This file contains generic CAPI SWIG runtime support for pointer
103 * type checking.
d55e5bfc
RD
104 *
105 ************************************************************************/
106
093d3ff1
RD
107/* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
7449af73 109#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 110
093d3ff1
RD
111/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112#ifdef SWIG_TYPE_TABLE
7449af73
RD
113# define SWIG_QUOTE_STRING(x) #x
114# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 116#else
7449af73 117# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
118#endif
119
120/*
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
124
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
127*/
7449af73 128
093d3ff1 129#ifndef SWIGRUNTIME
7449af73 130# define SWIGRUNTIME SWIGINTERN
093d3ff1 131#endif
7449af73 132
093d3ff1 133#ifndef SWIGRUNTIMEINLINE
7449af73 134# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
135#endif
136
7449af73
RD
137#include <string.h>
138
d55e5bfc
RD
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143typedef void *(*swig_converter_func)(void *);
144typedef struct swig_type_info *(*swig_dycast_func)(void **);
145
7449af73 146/* Structure to store inforomation on one type */
d55e5bfc 147typedef struct swig_type_info {
7449af73
RD
148 const char *name; /* mangled name of this type */
149 const char *str; /* human readable name of this type */
150 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
152 void *clientdata; /* language specific type data */
d55e5bfc
RD
153} swig_type_info;
154
7449af73
RD
155/* Structure to store a type and conversion function used for casting */
156typedef struct swig_cast_info {
157 swig_type_info *type; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter; /* function to cast the void pointers */
159 struct swig_cast_info *next; /* pointer to next cast in linked list */
160 struct swig_cast_info *prev; /* pointer to the previous cast */
161} swig_cast_info;
162
163/* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166typedef struct swig_module_info {
167 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size; /* Number of types in this module */
169 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
170 swig_type_info **type_initial; /* Array of initially generated type structures */
171 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
172 void *clientdata; /* Language specific module data */
173} swig_module_info;
174
175
093d3ff1
RD
176/*
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
179
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
182*/
183SWIGRUNTIME int
184SWIG_TypeNameComp(const char *f1, const char *l1,
185 const char *f2, const char *l2) {
186 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
187 while ((*f1 == ' ') && (f1 != l1)) ++f1;
188 while ((*f2 == ' ') && (f2 != l2)) ++f2;
7449af73 189 if (*f1 != *f2) return (int)(*f1 - *f2);
093d3ff1
RD
190 }
191 return (l1 - f1) - (l2 - f2);
192}
193
194/*
195 Check type equivalence in a name list like <name1>|<name2>|...
7449af73 196 Return 0 if not equal, 1 if equal
093d3ff1
RD
197*/
198SWIGRUNTIME int
199SWIG_TypeEquiv(const char *nb, const char *tb) {
200 int equiv = 0;
201 const char* te = tb + strlen(tb);
202 const char* ne = nb;
203 while (!equiv && *ne) {
204 for (nb = ne; *ne; ++ne) {
205 if (*ne == '|') break;
206 }
7449af73 207 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
208 if (*ne) ++ne;
209 }
210 return equiv;
211}
212
213/*
7449af73
RD
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 216*/
7449af73
RD
217SWIGRUNTIME int
218SWIG_TypeCompare(const char *nb, const char *tb) {
219 int equiv = 0;
220 const char* te = tb + strlen(tb);
221 const char* ne = nb;
222 while (!equiv && *ne) {
223 for (nb = ne; *ne; ++ne) {
224 if (*ne == '|') break;
093d3ff1 225 }
7449af73
RD
226 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
227 if (*ne) ++ne;
093d3ff1 228 }
7449af73 229 return equiv;
093d3ff1
RD
230}
231
7449af73
RD
232
233/* think of this as a c++ template<> or a scheme macro */
234#define SWIG_TypeCheck_Template(comparison, ty) \
235 if (ty) { \
236 swig_cast_info *iter = ty->cast; \
237 while (iter) { \
238 if (comparison) { \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
242 if (iter->next) \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
245 iter->prev = 0; \
246 if (ty->cast) ty->cast->prev = iter; \
247 ty->cast = iter; \
248 return iter; \
249 } \
250 iter = iter->next; \
251 } \
252 } \
253 return 0
254
093d3ff1
RD
255/*
256 Check the typename
257*/
7449af73 258SWIGRUNTIME swig_cast_info *
093d3ff1 259SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
RD
260 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
261}
262
263/* Same as previous function, except strcmp is replaced with a pointer comparison */
264SWIGRUNTIME swig_cast_info *
265SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
266 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
267}
268
269/*
270 Cast a pointer up an inheritance hierarchy
271*/
272SWIGRUNTIMEINLINE void *
7449af73 273SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
274 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
275}
276
277/*
278 Dynamic pointer casting. Down an inheritance hierarchy
279*/
280SWIGRUNTIME swig_type_info *
281SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
282 swig_type_info *lastty = ty;
283 if (!ty || !ty->dcast) return ty;
284 while (ty && (ty->dcast)) {
285 ty = (*ty->dcast)(ptr);
286 if (ty) lastty = ty;
287 }
288 return lastty;
289}
290
291/*
292 Return the name associated with this type
293*/
294SWIGRUNTIMEINLINE const char *
295SWIG_TypeName(const swig_type_info *ty) {
296 return ty->name;
297}
298
299/*
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
302*/
303SWIGRUNTIME const char *
304SWIG_TypePrettyName(const swig_type_info *type) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
308 specific. */
309 if (type->str != NULL) {
310 const char *last_name = type->str;
311 const char *s;
312 for (s = type->str; *s; s++)
313 if (*s == '|') last_name = s+1;
314 return last_name;
315 }
316 else
317 return type->name;
318}
319
093d3ff1
RD
320/*
321 Set the clientdata field for a type
322*/
323SWIGRUNTIME void
7449af73
RD
324SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
325 swig_cast_info *cast = ti->cast;
093d3ff1
RD
326 /* if (ti->clientdata == clientdata) return; */
327 ti->clientdata = clientdata;
7449af73
RD
328
329 while (cast) {
330 if (!cast->converter) {
331 swig_type_info *tc = cast->type;
332 if (!tc->clientdata) {
333 SWIG_TypeClientData(tc, clientdata);
093d3ff1 334 }
7449af73
RD
335 }
336 cast = cast->next;
337 }
338}
339
340/*
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
343
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
346 the circular list.
347*/
348SWIGRUNTIME swig_type_info *
349SWIG_MangledTypeQueryModule(swig_module_info *start,
350 swig_module_info *end,
351 const char *name) {
352 swig_module_info *iter = start;
353 do {
354 if (iter->size) {
355 register size_t l = 0;
356 register size_t r = iter->size - 1;
357 do {
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i = (l + r) >> 1;
360 const char *iname = iter->types[i]->name;
361 if (iname) {
362 register int compare = strcmp(name, iname);
363 if (compare == 0) {
364 return iter->types[i];
365 } else if (compare < 0) {
366 if (i) {
367 r = i - 1;
368 } else {
369 break;
370 }
371 } else if (compare > 0) {
372 l = i + 1;
373 }
374 } else {
375 break; /* should never happen */
376 }
377 } while (l <= r);
093d3ff1 378 }
7449af73
RD
379 iter = iter->next;
380 } while (iter != end);
381 return 0;
382}
383
384/*
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
388
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
391 the circular list.
392*/
393SWIGRUNTIME swig_type_info *
394SWIG_TypeQueryModule(swig_module_info *start,
395 swig_module_info *end,
396 const char *name) {
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
399 if (ret) {
400 return ret;
401 } else {
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info *iter = start;
405 do {
406 register size_t i = 0;
407 for (; i < iter->size; ++i) {
408 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
409 return iter->types[i];
410 }
411 iter = iter->next;
412 } while (iter != end);
093d3ff1 413 }
7449af73
RD
414
415 /* neither found a match */
416 return 0;
093d3ff1
RD
417}
418
7449af73 419
093d3ff1
RD
420/*
421 Pack binary data into a string
422*/
423SWIGRUNTIME char *
424SWIG_PackData(char *c, void *ptr, size_t sz) {
7449af73
RD
425 static const char hex[17] = "0123456789abcdef";
426 register const unsigned char *u = (unsigned char *) ptr;
427 register const unsigned char *eu = u + sz;
093d3ff1 428 for (; u != eu; ++u) {
7449af73 429 register unsigned char uu = *u;
093d3ff1
RD
430 *(c++) = hex[(uu & 0xf0) >> 4];
431 *(c++) = hex[uu & 0xf];
432 }
433 return c;
434}
435
436/*
437 Unpack binary data from a string
438*/
439SWIGRUNTIME const char *
440SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
441 register unsigned char *u = (unsigned char *) ptr;
7449af73 442 register const unsigned char *eu = u + sz;
093d3ff1 443 for (; u != eu; ++u) {
7449af73 444 register char d = *(c++);
093d3ff1
RD
445 register unsigned char uu = 0;
446 if ((d >= '0') && (d <= '9'))
447 uu = ((d - '0') << 4);
448 else if ((d >= 'a') && (d <= 'f'))
449 uu = ((d - ('a'-10)) << 4);
450 else
451 return (char *) 0;
452 d = *(c++);
453 if ((d >= '0') && (d <= '9'))
454 uu |= (d - '0');
455 else if ((d >= 'a') && (d <= 'f'))
456 uu |= (d - ('a'-10));
457 else
458 return (char *) 0;
459 *u = uu;
460 }
461 return c;
462}
463
093d3ff1
RD
464/*
465 Pack 'void *' into a string buffer.
466*/
467SWIGRUNTIME char *
468SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
469 char *r = buff;
470 if ((2*sizeof(void *) + 2) > bsz) return 0;
471 *(r++) = '_';
472 r = SWIG_PackData(r,&ptr,sizeof(void *));
473 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
474 strcpy(r,name);
475 return buff;
476}
477
478SWIGRUNTIME const char *
479SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
480 if (*c != '_') {
481 if (strcmp(c,"NULL") == 0) {
482 *ptr = (void *) 0;
483 return name;
484 } else {
485 return 0;
486 }
487 }
488 return SWIG_UnpackData(++c,ptr,sizeof(void *));
489}
490
491SWIGRUNTIME char *
492SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
493 char *r = buff;
494 size_t lname = (name ? strlen(name) : 0);
495 if ((2*sz + 2 + lname) > bsz) return 0;
496 *(r++) = '_';
497 r = SWIG_PackData(r,ptr,sz);
498 if (lname) {
499 strncpy(r,name,lname+1);
500 } else {
501 *r = 0;
502 }
503 return buff;
504}
d55e5bfc 505
093d3ff1
RD
506SWIGRUNTIME const char *
507SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
508 if (*c != '_') {
509 if (strcmp(c,"NULL") == 0) {
510 memset(ptr,0,sz);
511 return name;
512 } else {
513 return 0;
514 }
515 }
516 return SWIG_UnpackData(++c,ptr,sz);
517}
d55e5bfc
RD
518
519#ifdef __cplusplus
520}
521#endif
522
093d3ff1
RD
523/* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
d55e5bfc 526
093d3ff1
RD
527#ifdef __cplusplus
528extern "C" {
529#endif
c32bde28 530
093d3ff1
RD
531/* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
d55e5bfc 534
093d3ff1 535#ifndef SWIGINTERN
7449af73 536# define SWIGINTERN static SWIGUNUSED
093d3ff1 537#endif
d55e5bfc 538
7449af73
RD
539#ifndef SWIGINTERNINLINE
540# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
093d3ff1 541#endif
d55e5bfc 542
093d3ff1
RD
543/*
544 Exception handling in wrappers
545*/
546#define SWIG_fail goto fail
547#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
552
553/*
554 Contract support
555*/
556#define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
558
559/* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
d55e5bfc 562
093d3ff1
RD
563/* Constant Types */
564#define SWIG_PY_INT 1
565#define SWIG_PY_FLOAT 2
566#define SWIG_PY_STRING 3
567#define SWIG_PY_POINTER 4
568#define SWIG_PY_BINARY 5
569
570/* Constant information structure */
571typedef struct swig_const_info {
572 int type;
573 char *name;
574 long lvalue;
575 double dvalue;
576 void *pvalue;
577 swig_type_info **ptype;
578} swig_const_info;
d55e5bfc 579
c32bde28 580
093d3ff1
RD
581/* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
c32bde28
RD
584#define SWIG_OLDOBJ 1
585#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
587
588#ifdef __cplusplus
093d3ff1
RD
589}
590#endif
d55e5bfc 591
d55e5bfc 592
093d3ff1
RD
593/***********************************************************************
594 * pyrun.swg
595 *
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
598 * type checking.
599 *
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
d55e5bfc 602
093d3ff1
RD
603/* Common SWIG API */
604#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
9d7dfdff 607
d55e5bfc 608
093d3ff1
RD
609/* Python-specific SWIG API */
610#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 612
7449af73
RD
613/* Runtime API */
614#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 616
093d3ff1
RD
617/* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
620/*
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
623 not always safe.
624*/
625#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626# define SWIG_COBJECT_TYPES
627#endif
d55e5bfc 628
093d3ff1
RD
629/* Flags for pointer conversion */
630#define SWIG_POINTER_EXCEPTION 0x1
631#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 632
d55e5bfc 633
7449af73
RD
634/* Add PyOS_snprintf for old Pythons */
635#if PY_VERSION_HEX < 0x02020000
636#define PyOS_snprintf snprintf
637#endif
638
093d3ff1
RD
639#ifdef __cplusplus
640extern "C" {
641#endif
d55e5bfc 642
093d3ff1
RD
643/* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
093d3ff1
RD
646#ifndef SWIG_BUFFER_SIZE
647#define SWIG_BUFFER_SIZE 1024
648#endif
d55e5bfc 649
7449af73
RD
650/* A crude PyString_FromFormat implementation for old Pythons */
651#if PY_VERSION_HEX < 0x02020000
652static PyObject *
653PyString_FromFormat(const char *fmt, ...) {
654 va_list ap;
655 char buf[SWIG_BUFFER_SIZE * 2];
656 int res;
657 va_start(ap, fmt);
658 res = vsnprintf(buf, sizeof(buf), fmt, ap);
659 va_end(ap);
660 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
661}
662#endif
663
664#if PY_VERSION_HEX < 0x01060000
665#define PyObject_Del(op) PyMem_DEL((op))
666#endif
667
093d3ff1
RD
668#if defined(SWIG_COBJECT_TYPES)
669#if !defined(SWIG_COBJECT_PYTHON)
670/* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
d55e5bfc 673
093d3ff1
RD
674typedef struct {
675 PyObject_HEAD
676 void *ptr;
677 const char *desc;
678} PySwigObject;
679
680/* Declarations for objects of type PySwigObject */
681
682SWIGRUNTIME int
683PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 684{
093d3ff1 685 char result[SWIG_BUFFER_SIZE];
7449af73 686 flags = flags;
093d3ff1
RD
687 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
688 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
689 return 0;
690 } else {
691 return 1;
d55e5bfc 692 }
d55e5bfc 693}
9d7dfdff 694
093d3ff1
RD
695SWIGRUNTIME PyObject *
696PySwigObject_repr(PySwigObject *v)
d55e5bfc 697{
093d3ff1
RD
698 char result[SWIG_BUFFER_SIZE];
699 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
700 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
701}
702
093d3ff1
RD
703SWIGRUNTIME PyObject *
704PySwigObject_str(PySwigObject *v)
705{
706 char result[SWIG_BUFFER_SIZE];
707 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
708 PyString_FromString(result) : 0;
709}
d55e5bfc 710
093d3ff1
RD
711SWIGRUNTIME PyObject *
712PySwigObject_long(PySwigObject *v)
713{
7449af73
RD
714 return PyLong_FromVoidPtr(v->ptr);
715}
716
717SWIGRUNTIME PyObject *
718PySwigObject_format(const char* fmt, PySwigObject *v)
719{
720 PyObject *res = NULL;
721 PyObject *args = PyTuple_New(1);
722 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
723 PyObject *ofmt = PyString_FromString(fmt);
724 if (ofmt) {
725 res = PyString_Format(ofmt,args);
726 Py_DECREF(ofmt);
727 }
728 Py_DECREF(args);
729 }
730 return res;
d55e5bfc 731}
093d3ff1
RD
732
733SWIGRUNTIME PyObject *
734PySwigObject_oct(PySwigObject *v)
c32bde28 735{
7449af73 736 return PySwigObject_format("%o",v);
c32bde28 737}
d55e5bfc 738
093d3ff1
RD
739SWIGRUNTIME PyObject *
740PySwigObject_hex(PySwigObject *v)
741{
7449af73 742 return PySwigObject_format("%x",v);
093d3ff1 743}
d55e5bfc 744
093d3ff1
RD
745SWIGRUNTIME int
746PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 747{
093d3ff1
RD
748 int c = strcmp(v->desc, w->desc);
749 if (c) {
7449af73 750 return (c > 0) ? 1 : -1;
093d3ff1
RD
751 } else {
752 void *i = v->ptr;
753 void *j = w->ptr;
7449af73 754 return (i < j) ? -1 : ((i > j) ? 1 : 0);
d55e5bfc 755 }
c32bde28
RD
756}
757
093d3ff1
RD
758SWIGRUNTIME void
759PySwigObject_dealloc(PySwigObject *self)
c32bde28 760{
7449af73 761 PyObject_Del(self);
d55e5bfc
RD
762}
763
093d3ff1 764SWIGRUNTIME PyTypeObject*
7449af73
RD
765PySwigObject_type(void) {
766 static char pyswigobject_type__doc__[] =
093d3ff1 767 "Swig object carries a C/C++ instance pointer";
9d7dfdff 768
093d3ff1
RD
769 static PyNumberMethods PySwigObject_as_number = {
770 (binaryfunc)0, /*nb_add*/
771 (binaryfunc)0, /*nb_subtract*/
772 (binaryfunc)0, /*nb_multiply*/
773 (binaryfunc)0, /*nb_divide*/
774 (binaryfunc)0, /*nb_remainder*/
775 (binaryfunc)0, /*nb_divmod*/
776 (ternaryfunc)0,/*nb_power*/
777 (unaryfunc)0, /*nb_negative*/
778 (unaryfunc)0, /*nb_positive*/
779 (unaryfunc)0, /*nb_absolute*/
780 (inquiry)0, /*nb_nonzero*/
781 0, /*nb_invert*/
782 0, /*nb_lshift*/
783 0, /*nb_rshift*/
784 0, /*nb_and*/
785 0, /*nb_xor*/
786 0, /*nb_or*/
787 (coercion)0, /*nb_coerce*/
788 (unaryfunc)PySwigObject_long, /*nb_int*/
789 (unaryfunc)PySwigObject_long, /*nb_long*/
790 (unaryfunc)0, /*nb_float*/
791 (unaryfunc)PySwigObject_oct, /*nb_oct*/
792 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 793#if PY_VERSION_HEX >= 0x02020000
093d3ff1 794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
795#elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
797#endif
798 };
799
7449af73
RD
800 static PyTypeObject pyswigobject_type
801#if !defined(__cplusplus)
802 ;
803 static int type_init = 0;
093d3ff1 804 if (!type_init) {
7449af73
RD
805 PyTypeObject tmp
806#endif
807 = {
093d3ff1
RD
808 PyObject_HEAD_INIT(&PyType_Type)
809 0, /*ob_size*/
7449af73 810 (char *)"PySwigObject", /*tp_name*/
093d3ff1
RD
811 sizeof(PySwigObject), /*tp_basicsize*/
812 0, /*tp_itemsize*/
813 /* methods */
814 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
815 (printfunc)PySwigObject_print, /*tp_print*/
816 (getattrfunc)0, /*tp_getattr*/
817 (setattrfunc)0, /*tp_setattr*/
818 (cmpfunc)PySwigObject_compare, /*tp_compare*/
819 (reprfunc)PySwigObject_repr, /*tp_repr*/
820 &PySwigObject_as_number, /*tp_as_number*/
821 0, /*tp_as_sequence*/
822 0, /*tp_as_mapping*/
823 (hashfunc)0, /*tp_hash*/
824 (ternaryfunc)0, /*tp_call*/
825 (reprfunc)PySwigObject_str, /*tp_str*/
826 /* Space for future expansion */
7449af73
RD
827 0,0,0,0,
828 pyswigobject_type__doc__, /* Documentation string */
093d3ff1
RD
829#if PY_VERSION_HEX >= 0x02000000
830 0, /* tp_traverse */
831 0, /* tp_clear */
832#endif
833#if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
836#endif
837#if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
839#endif
840#if PY_VERSION_HEX >= 0x02030000
841 0, /* tp_del */
842#endif
843#ifdef COUNT_ALLOCS
844 0,0,0,0 /* tp_alloc -> tp_next */
845#endif
846 };
7449af73
RD
847#if !defined(__cplusplus)
848 pyswigobject_type = tmp;
093d3ff1 849 type_init = 1;
c32bde28 850 }
7449af73
RD
851#endif
852 return &pyswigobject_type;
c32bde28
RD
853}
854
093d3ff1
RD
855SWIGRUNTIME PyObject *
856PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
d55e5bfc 857{
7449af73
RD
858 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
859 if (self) {
860 self->ptr = ptr;
861 self->desc = desc;
862 }
093d3ff1 863 return (PyObject *)self;
c32bde28
RD
864}
865
093d3ff1
RD
866SWIGRUNTIMEINLINE void *
867PySwigObject_AsVoidPtr(PyObject *self)
868{
869 return ((PySwigObject *)self)->ptr;
870}
c32bde28 871
093d3ff1
RD
872SWIGRUNTIMEINLINE const char *
873PySwigObject_GetDesc(PyObject *self)
c32bde28 874{
093d3ff1 875 return ((PySwigObject *)self)->desc;
d55e5bfc
RD
876}
877
093d3ff1
RD
878SWIGRUNTIMEINLINE int
879PySwigObject_Check(PyObject *op) {
7449af73 880 return ((op)->ob_type == PySwigObject_type())
093d3ff1
RD
881 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
882}
d55e5bfc 883
093d3ff1
RD
884/* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
887
888typedef struct {
889 PyObject_HEAD
890 void *pack;
891 const char *desc;
892 size_t size;
893} PySwigPacked;
894
895SWIGRUNTIME int
896PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 897{
093d3ff1 898 char result[SWIG_BUFFER_SIZE];
7449af73 899 flags = flags;
093d3ff1
RD
900 fputs("<Swig Packed ", fp);
901 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
902 fputs("at ", fp);
903 fputs(result, fp);
c32bde28 904 }
093d3ff1
RD
905 fputs(v->desc,fp);
906 fputs(">", fp);
907 return 0;
d55e5bfc 908}
9d7dfdff 909
093d3ff1
RD
910SWIGRUNTIME PyObject *
911PySwigPacked_repr(PySwigPacked *v)
d55e5bfc 912{
093d3ff1
RD
913 char result[SWIG_BUFFER_SIZE];
914 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
916 } else {
917 return PyString_FromFormat("<Swig Packed %s>", v->desc);
918 }
d55e5bfc
RD
919}
920
093d3ff1
RD
921SWIGRUNTIME PyObject *
922PySwigPacked_str(PySwigPacked *v)
923{
924 char result[SWIG_BUFFER_SIZE];
925 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
926 return PyString_FromFormat("%s%s", result, v->desc);
927 } else {
7449af73 928 return PyString_FromString(v->desc);
093d3ff1
RD
929 }
930}
d55e5bfc 931
093d3ff1
RD
932SWIGRUNTIME int
933PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
934{
935 int c = strcmp(v->desc, w->desc);
936 if (c) {
7449af73 937 return (c > 0) ? 1 : -1;
093d3ff1
RD
938 } else {
939 size_t i = v->size;
940 size_t j = w->size;
7449af73 941 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
093d3ff1
RD
942 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
943 }
944}
d55e5bfc 945
093d3ff1
RD
946SWIGRUNTIME void
947PySwigPacked_dealloc(PySwigPacked *self)
948{
949 free(self->pack);
7449af73 950 PyObject_Del(self);
093d3ff1
RD
951}
952
953SWIGRUNTIME PyTypeObject*
7449af73
RD
954PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__[] =
093d3ff1 956 "Swig object carries a C/C++ instance pointer";
7449af73
RD
957 static PyTypeObject pyswigpacked_type
958#if !defined(__cplusplus)
959 ;
960 static int type_init = 0;
093d3ff1 961 if (!type_init) {
7449af73
RD
962 PyTypeObject tmp
963#endif
964 = {
093d3ff1
RD
965 PyObject_HEAD_INIT(&PyType_Type)
966 0, /*ob_size*/
7449af73 967 (char *)"PySwigPacked", /*tp_name*/
093d3ff1
RD
968 sizeof(PySwigPacked), /*tp_basicsize*/
969 0, /*tp_itemsize*/
970 /* methods */
971 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
972 (printfunc)PySwigPacked_print, /*tp_print*/
973 (getattrfunc)0, /*tp_getattr*/
974 (setattrfunc)0, /*tp_setattr*/
975 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
976 (reprfunc)PySwigPacked_repr, /*tp_repr*/
977 0, /*tp_as_number*/
978 0, /*tp_as_sequence*/
979 0, /*tp_as_mapping*/
980 (hashfunc)0, /*tp_hash*/
981 (ternaryfunc)0, /*tp_call*/
982 (reprfunc)PySwigPacked_str, /*tp_str*/
983 /* Space for future expansion */
7449af73
RD
984 0,0,0,0,
985 pyswigpacked_type__doc__, /* Documentation string */
093d3ff1
RD
986#if PY_VERSION_HEX >= 0x02000000
987 0, /* tp_traverse */
988 0, /* tp_clear */
989#endif
990#if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
993#endif
994#if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
996#endif
997#if PY_VERSION_HEX >= 0x02030000
998 0, /* tp_del */
999#endif
1000#ifdef COUNT_ALLOCS
1001 0,0,0,0 /* tp_alloc -> tp_next */
1002#endif
1003 };
7449af73
RD
1004#if !defined(__cplusplus)
1005 pyswigpacked_type = tmp;
093d3ff1 1006 type_init = 1;
7e63a440 1007 }
7449af73
RD
1008#endif
1009 return &pyswigpacked_type;
093d3ff1 1010}
d55e5bfc 1011
093d3ff1
RD
1012SWIGRUNTIME PyObject *
1013PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1014{
7449af73 1015 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
093d3ff1
RD
1016 if (self == NULL) {
1017 return NULL;
1018 } else {
1019 void *pack = malloc(size);
7449af73
RD
1020 if (pack) {
1021 memcpy(pack, ptr, size);
1022 self->pack = pack;
1023 self->desc = desc;
1024 self->size = size;
1025 return (PyObject *) self;
1026 }
1027 return NULL;
093d3ff1
RD
1028 }
1029}
c32bde28 1030
093d3ff1
RD
1031SWIGRUNTIMEINLINE const char *
1032PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1033{
093d3ff1
RD
1034 PySwigPacked *self = (PySwigPacked *)obj;
1035 if (self->size != size) return 0;
1036 memcpy(ptr, self->pack, size);
1037 return self->desc;
1038}
1039
1040SWIGRUNTIMEINLINE const char *
1041PySwigPacked_GetDesc(PyObject *self)
1042{
1043 return ((PySwigPacked *)self)->desc;
d55e5bfc
RD
1044}
1045
093d3ff1
RD
1046SWIGRUNTIMEINLINE int
1047PySwigPacked_Check(PyObject *op) {
7449af73 1048 return ((op)->ob_type == PySwigPacked_type())
093d3ff1
RD
1049 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1050}
d55e5bfc 1051
093d3ff1
RD
1052#else
1053/* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1056
1057#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058#define PySwigObject_Check(obj) PyCObject_Check(obj)
1059#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1061
1062#endif
1063
1064#endif
1065
1066/* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1069
1070SWIGRUNTIME void
1071SWIG_Python_TypeError(const char *type, PyObject *obj)
d55e5bfc 1072{
093d3ff1
RD
1073 if (type) {
1074#if defined(SWIG_COBJECT_TYPES)
7449af73 1075 if (obj && PySwigObject_Check(obj)) {
093d3ff1
RD
1076 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1077 if (otype) {
1078 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1079 type, otype);
1080 return;
1081 }
1082 } else
1083#endif
1084 {
1085 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1086 if (otype) {
1087 PyObject *str = PyObject_Str(obj);
1088 const char *cstr = str ? PyString_AsString(str) : 0;
1089 if (cstr) {
1090 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1091 type, otype, cstr);
1092 } else {
1093 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1094 type, otype);
1095 }
7449af73 1096 Py_XDECREF(str);
093d3ff1
RD
1097 return;
1098 }
1099 }
1100 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1101 } else {
1102 PyErr_Format(PyExc_TypeError, "unexpected type is received");
d55e5bfc 1103 }
c32bde28
RD
1104}
1105
093d3ff1
RD
1106SWIGRUNTIMEINLINE void
1107SWIG_Python_NullRef(const char *type)
c32bde28 1108{
093d3ff1
RD
1109 if (type) {
1110 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1111 } else {
1112 PyErr_Format(PyExc_TypeError, "null reference was received");
1113 }
d55e5bfc
RD
1114}
1115
093d3ff1
RD
1116SWIGRUNTIME int
1117SWIG_Python_AddErrMesg(const char* mesg, int infront)
1118{
1119 if (PyErr_Occurred()) {
1120 PyObject *type = 0;
1121 PyObject *value = 0;
1122 PyObject *traceback = 0;
1123 PyErr_Fetch(&type, &value, &traceback);
1124 if (value) {
1125 PyObject *old_str = PyObject_Str(value);
1126 Py_XINCREF(type);
1127 PyErr_Clear();
1128 if (infront) {
1129 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1130 } else {
1131 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1132 }
1133 Py_DECREF(old_str);
1134 }
1135 return 1;
1136 } else {
1137 return 0;
1138 }
1139}
d55e5bfc 1140
093d3ff1
RD
1141SWIGRUNTIME int
1142SWIG_Python_ArgFail(int argnum)
d55e5bfc 1143{
093d3ff1
RD
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1146 char mesg[256];
7449af73 1147 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
093d3ff1
RD
1148 return SWIG_Python_AddErrMesg(mesg, 1);
1149 } else {
1150 return 0;
1151 }
d55e5bfc
RD
1152}
1153
1154
093d3ff1
RD
1155/* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1158
1159/* Convert a pointer value */
1160SWIGRUNTIME int
1161SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
7449af73 1162 swig_cast_info *tc;
093d3ff1
RD
1163 const char *c = 0;
1164 static PyObject *SWIG_this = 0;
1165 int newref = 0;
1166 PyObject *pyobj = 0;
1167 void *vptr;
9d7dfdff 1168
093d3ff1
RD
1169 if (!obj) return 0;
1170 if (obj == Py_None) {
1171 *ptr = 0;
1172 return 0;
1173 }
1174
1175#ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj))) {
1177 if (!SWIG_this)
1178 SWIG_this = PyString_FromString("this");
1179 pyobj = obj;
1180 obj = PyObject_GetAttr(obj,SWIG_this);
1181 newref = 1;
1182 if (!obj) goto type_error;
1183 if (!PySwigObject_Check(obj)) {
1184 Py_DECREF(obj);
1185 goto type_error;
1186 }
1187 }
1188 vptr = PySwigObject_AsVoidPtr(obj);
1189 c = (const char *) PySwigObject_GetDesc(obj);
1190 if (newref) { Py_DECREF(obj); }
1191 goto type_check;
d55e5bfc 1192#else
093d3ff1
RD
1193 if (!(PyString_Check(obj))) {
1194 if (!SWIG_this)
1195 SWIG_this = PyString_FromString("this");
1196 pyobj = obj;
1197 obj = PyObject_GetAttr(obj,SWIG_this);
1198 newref = 1;
1199 if (!obj) goto type_error;
1200 if (!PyString_Check(obj)) {
1201 Py_DECREF(obj);
1202 goto type_error;
1203 }
1204 }
7449af73 1205 c = PyString_AsString(obj);
093d3ff1
RD
1206 /* Pointer values must start with leading underscore */
1207 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1208 if (newref) { Py_DECREF(obj); }
1209 if (!c) goto type_error;
d55e5bfc 1210#endif
d55e5bfc 1211
093d3ff1 1212type_check:
093d3ff1
RD
1213 if (ty) {
1214 tc = SWIG_TypeCheck(c,ty);
1215 if (!tc) goto type_error;
1216 *ptr = SWIG_TypeCast(tc,vptr);
1217 } else {
1218 *ptr = vptr;
1219 }
093d3ff1
RD
1220 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1221 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1222 }
1223 return 0;
1224
1225type_error:
1226 PyErr_Clear();
1227 if (pyobj && !obj) {
1228 obj = pyobj;
1229 if (PyCFunction_Check(obj)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1232 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1233 if (c) {
7449af73 1234 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
093d3ff1
RD
1235 if (!c) goto type_error;
1236 goto type_check;
1237 }
1238 }
1239 }
1240 if (flags & SWIG_POINTER_EXCEPTION) {
1241 if (ty) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1243 } else {
1244 SWIG_Python_TypeError("C/C++ pointer", obj);
d55e5bfc 1245 }
093d3ff1
RD
1246 }
1247 return -1;
1248}
d55e5bfc 1249
093d3ff1
RD
1250/* Convert a pointer value, signal an exception on a type mismatch */
1251SWIGRUNTIME void *
1252SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1253 void *result;
1254 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1255 PyErr_Clear();
1256 if (flags & SWIG_POINTER_EXCEPTION) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1258 SWIG_Python_ArgFail(argnum);
d55e5bfc 1259 }
093d3ff1
RD
1260 }
1261 return result;
1262}
d55e5bfc 1263
093d3ff1
RD
1264/* Convert a packed value value */
1265SWIGRUNTIME int
1266SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
7449af73 1267 swig_cast_info *tc;
093d3ff1 1268 const char *c = 0;
d55e5bfc 1269
093d3ff1
RD
1270#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c = PySwigPacked_UnpackData(obj, ptr, sz);
1272#else
1273 if ((!obj) || (!PyString_Check(obj))) goto type_error;
7449af73 1274 c = PyString_AsString(obj);
093d3ff1
RD
1275 /* Pointer values must start with leading underscore */
1276 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1277#endif
1278 if (!c) goto type_error;
1279 if (ty) {
1280 tc = SWIG_TypeCheck(c,ty);
1281 if (!tc) goto type_error;
1282 }
1283 return 0;
d55e5bfc 1284
093d3ff1
RD
1285type_error:
1286 PyErr_Clear();
1287 if (flags & SWIG_POINTER_EXCEPTION) {
1288 if (ty) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1290 } else {
1291 SWIG_Python_TypeError("C/C++ packed data", obj);
1292 }
1293 }
1294 return -1;
1295}
1296
1297/* Create a new array object */
1298SWIGRUNTIME PyObject *
1299SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1300 PyObject *robj = 0;
7449af73
RD
1301 if (!type) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1304 }
1305 return robj;
1306 }
093d3ff1
RD
1307 if (!ptr) {
1308 Py_INCREF(Py_None);
1309 return Py_None;
1310 }
1311#ifdef SWIG_COBJECT_TYPES
1312 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1313#else
1314 {
1315 char result[SWIG_BUFFER_SIZE];
1316 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1317 PyString_FromString(result) : 0;
1318 }
1319#endif
1320 if (!robj || (robj == Py_None)) return robj;
1321 if (type->clientdata) {
1322 PyObject *inst;
1323 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1324 Py_DECREF(robj);
1325 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1326 Py_DECREF(args);
1327 if (inst) {
1328 if (own) {
1329 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1330 }
1331 robj = inst;
1332 }
1333 }
1334 return robj;
1335}
d55e5bfc 1336
093d3ff1
RD
1337SWIGRUNTIME PyObject *
1338SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1339 PyObject *robj = 0;
1340 if (!ptr) {
1341 Py_INCREF(Py_None);
1342 return Py_None;
1343 }
1344#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1346#else
1347 {
1348 char result[SWIG_BUFFER_SIZE];
1349 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1350 PyString_FromString(result) : 0;
1351 }
d55e5bfc 1352#endif
093d3ff1
RD
1353 return robj;
1354}
d55e5bfc 1355
093d3ff1
RD
1356/* -----------------------------------------------------------------------------*
1357 * Get type list
1358 * -----------------------------------------------------------------------------*/
d55e5bfc 1359
093d3ff1
RD
1360#ifdef SWIG_LINK_RUNTIME
1361void *SWIG_ReturnGlobalTypeList(void *);
1362#endif
d55e5bfc 1363
7449af73
RD
1364SWIGRUNTIME swig_module_info *
1365SWIG_Python_GetModule(void) {
093d3ff1
RD
1366 static void *type_pointer = (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer) {
1369#ifdef SWIG_LINK_RUNTIME
1370 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1371#else
1372 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1374 if (PyErr_Occurred()) {
1375 PyErr_Clear();
1376 type_pointer = (void *)0;
1377 }
093d3ff1 1378#endif
7449af73
RD
1379 }
1380 return (swig_module_info *) type_pointer;
093d3ff1 1381}
d55e5bfc 1382
7449af73
RD
1383#if PY_MAJOR_VERSION < 2
1384/* PyModule_AddObject function was introduced in Python 2.0. The following function
1385is copied out of Python/modsupport.c in python version 2.3.4 */
1386SWIGINTERN int
1387PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1388{
1389 PyObject *dict;
1390 if (!PyModule_Check(m)) {
1391 PyErr_SetString(PyExc_TypeError,
1392 "PyModule_AddObject() needs module as first arg");
1393 return -1;
1394 }
1395 if (!o) {
1396 PyErr_SetString(PyExc_TypeError,
1397 "PyModule_AddObject() needs non-NULL value");
1398 return -1;
1399 }
1400
1401 dict = PyModule_GetDict(m);
1402 if (dict == NULL) {
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1405 PyModule_GetName(m));
1406 return -1;
1407 }
1408 if (PyDict_SetItemString(dict, name, o))
1409 return -1;
1410 Py_DECREF(o);
1411 return 0;
093d3ff1 1412}
7449af73 1413#endif
d55e5bfc 1414
7449af73
RD
1415SWIGRUNTIME void
1416SWIG_Python_SetModule(swig_module_info *swig_module) {
1417 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1418
1419 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1420 swig_empty_runtime_method_table);
1421 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1422 if (pointer && module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1424 }
1425}
d55e5bfc 1426
093d3ff1
RD
1427#ifdef __cplusplus
1428}
1429#endif
d55e5bfc 1430
d55e5bfc 1431
093d3ff1 1432/* -------- TYPES TABLE (BEGIN) -------- */
d55e5bfc 1433
7449af73
RD
1434#define SWIGTYPE_p_char swig_types[0]
1435#define SWIGTYPE_p_form_ops_t swig_types[1]
1436#define SWIGTYPE_p_int swig_types[2]
1437#define SWIGTYPE_p_unsigned_char swig_types[3]
1438#define SWIGTYPE_p_unsigned_int swig_types[4]
1439#define SWIGTYPE_p_unsigned_long swig_types[5]
1440#define SWIGTYPE_p_void swig_types[6]
1441#define SWIGTYPE_p_wxANIHandler swig_types[7]
1442#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1443#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1444#define SWIGTYPE_p_wxArrayString swig_types[10]
1445#define SWIGTYPE_p_wxBMPHandler swig_types[11]
1446#define SWIGTYPE_p_wxBitmap swig_types[12]
1447#define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1448#define SWIGTYPE_p_wxBoxSizer swig_types[14]
1449#define SWIGTYPE_p_wxBusyCursor swig_types[15]
1450#define SWIGTYPE_p_wxBusyInfo swig_types[16]
1451#define SWIGTYPE_p_wxCURHandler swig_types[17]
1452#define SWIGTYPE_p_wxCaret swig_types[18]
1453#define SWIGTYPE_p_wxChar swig_types[19]
1454#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1455#define SWIGTYPE_p_wxClipboard swig_types[21]
1456#define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1457#define SWIGTYPE_p_wxCloseEvent swig_types[23]
1458#define SWIGTYPE_p_wxColour swig_types[24]
1459#define SWIGTYPE_p_wxCommandEvent swig_types[25]
1460#define SWIGTYPE_p_wxConfig swig_types[26]
1461#define SWIGTYPE_p_wxConfigBase swig_types[27]
1462#define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1463#define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1464#define SWIGTYPE_p_wxControl swig_types[30]
1465#define SWIGTYPE_p_wxControlWithItems swig_types[31]
1466#define SWIGTYPE_p_wxCursor swig_types[32]
1467#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1468#define SWIGTYPE_p_wxDC swig_types[34]
1469#define SWIGTYPE_p_wxDataFormat swig_types[35]
1470#define SWIGTYPE_p_wxDataObject swig_types[36]
1471#define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1472#define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1473#define SWIGTYPE_p_wxDateEvent swig_types[39]
1474#define SWIGTYPE_p_wxDateSpan swig_types[40]
1475#define SWIGTYPE_p_wxDateTime swig_types[41]
1476#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1477#define SWIGTYPE_p_wxDisplay swig_types[43]
1478#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1479#define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1480#define SWIGTYPE_p_wxDuplexMode swig_types[46]
1481#define SWIGTYPE_p_wxEraseEvent swig_types[47]
1482#define SWIGTYPE_p_wxEvent swig_types[48]
1483#define SWIGTYPE_p_wxEvtHandler swig_types[49]
1484#define SWIGTYPE_p_wxFSFile swig_types[50]
1485#define SWIGTYPE_p_wxFileConfig swig_types[51]
1486#define SWIGTYPE_p_wxFileDataObject swig_types[52]
1487#define SWIGTYPE_p_wxFileHistory swig_types[53]
1488#define SWIGTYPE_p_wxFileSystem swig_types[54]
1489#define SWIGTYPE_p_wxFileType swig_types[55]
1490#define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1491#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1492#define SWIGTYPE_p_wxFocusEvent swig_types[58]
1493#define SWIGTYPE_p_wxFont swig_types[59]
1494#define SWIGTYPE_p_wxFrame swig_types[60]
1495#define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1496#define SWIGTYPE_p_wxGIFHandler swig_types[62]
1497#define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1498#define SWIGTYPE_p_wxGridSizer swig_types[64]
1499#define SWIGTYPE_p_wxICOHandler swig_types[65]
1500#define SWIGTYPE_p_wxIcon swig_types[66]
1501#define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1502#define SWIGTYPE_p_wxIdleEvent swig_types[68]
1503#define SWIGTYPE_p_wxImage swig_types[69]
1504#define SWIGTYPE_p_wxImageHandler swig_types[70]
1505#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1506#define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1507#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1508#define SWIGTYPE_p_wxJoystick swig_types[74]
1509#define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1510#define SWIGTYPE_p_wxKeyEvent swig_types[76]
1511#define SWIGTYPE_p_wxKillError swig_types[77]
1512#define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1513#define SWIGTYPE_p_wxLog swig_types[79]
1514#define SWIGTYPE_p_wxLogBuffer swig_types[80]
1515#define SWIGTYPE_p_wxLogChain swig_types[81]
1516#define SWIGTYPE_p_wxLogGui swig_types[82]
1517#define SWIGTYPE_p_wxLogNull swig_types[83]
1518#define SWIGTYPE_p_wxLogStderr swig_types[84]
1519#define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1520#define SWIGTYPE_p_wxLogWindow swig_types[86]
1521#define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1522#define SWIGTYPE_p_wxMemorySize swig_types[88]
1523#define SWIGTYPE_p_wxMenu swig_types[89]
1524#define SWIGTYPE_p_wxMenuBar swig_types[90]
1525#define SWIGTYPE_p_wxMenuEvent swig_types[91]
1526#define SWIGTYPE_p_wxMenuItem swig_types[92]
1527#define SWIGTYPE_p_wxMetafile swig_types[93]
1528#define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1529#define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1530#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1531#define SWIGTYPE_p_wxMouseEvent swig_types[97]
1532#define SWIGTYPE_p_wxMouseState swig_types[98]
1533#define SWIGTYPE_p_wxMoveEvent swig_types[99]
1534#define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1535#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1536#define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1537#define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1538#define SWIGTYPE_p_wxObject swig_types[104]
1539#define SWIGTYPE_p_wxOutputStream swig_types[105]
1540#define SWIGTYPE_p_wxPCXHandler swig_types[106]
1541#define SWIGTYPE_p_wxPNGHandler swig_types[107]
1542#define SWIGTYPE_p_wxPNMHandler swig_types[108]
1543#define SWIGTYPE_p_wxPaintEvent swig_types[109]
1544#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1545#define SWIGTYPE_p_wxPaperSize swig_types[111]
1546#define SWIGTYPE_p_wxPoint swig_types[112]
1547#define SWIGTYPE_p_wxProcessEvent swig_types[113]
1548#define SWIGTYPE_p_wxPyApp swig_types[114]
1549#define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1550#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1551#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1552#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1553#define SWIGTYPE_p_wxPyDropSource swig_types[119]
1554#define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1555#define SWIGTYPE_p_wxPyEvent swig_types[121]
1556#define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1557#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1558#define SWIGTYPE_p_wxPyLog swig_types[124]
1559#define SWIGTYPE_p_wxPyProcess swig_types[125]
1560#define SWIGTYPE_p_wxPySizer swig_types[126]
1561#define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1562#define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1563#define SWIGTYPE_p_wxPyTimer swig_types[129]
1564#define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1565#define SWIGTYPE_p_wxPyValidator swig_types[131]
1566#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1567#define SWIGTYPE_p_wxRect swig_types[133]
1568#define SWIGTYPE_p_wxScrollEvent swig_types[134]
1569#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1570#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1571#define SWIGTYPE_p_wxShowEvent swig_types[137]
1572#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1573#define SWIGTYPE_p_wxSize swig_types[139]
1574#define SWIGTYPE_p_wxSizeEvent swig_types[140]
1575#define SWIGTYPE_p_wxSizer swig_types[141]
1576#define SWIGTYPE_p_wxSizerItem swig_types[142]
1577#define SWIGTYPE_p_wxSound swig_types[143]
1578#define SWIGTYPE_p_wxStandardPaths swig_types[144]
1579#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1580#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1581#define SWIGTYPE_p_wxStopWatch swig_types[147]
1582#define SWIGTYPE_p_wxString swig_types[148]
1583#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1584#define SWIGTYPE_p_wxSystemOptions swig_types[150]
1585#define SWIGTYPE_p_wxSystemSettings swig_types[151]
1586#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1587#define SWIGTYPE_p_wxTextCtrl swig_types[153]
1588#define SWIGTYPE_p_wxTextDataObject swig_types[154]
1589#define SWIGTYPE_p_wxTimeSpan swig_types[155]
1590#define SWIGTYPE_p_wxTimer swig_types[156]
1591#define SWIGTYPE_p_wxTimerEvent swig_types[157]
1592#define SWIGTYPE_p_wxTimerRunner swig_types[158]
1593#define SWIGTYPE_p_wxTipProvider swig_types[159]
1594#define SWIGTYPE_p_wxToolTip swig_types[160]
1595#define SWIGTYPE_p_wxURLDataObject swig_types[161]
1596#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1597#define SWIGTYPE_p_wxValidator swig_types[163]
1598#define SWIGTYPE_p_wxVideoMode swig_types[164]
1599#define SWIGTYPE_p_wxWindow swig_types[165]
1600#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1601#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1602#define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1603#define SWIGTYPE_p_wxXPMHandler swig_types[169]
1604#define SWIGTYPE_ptrdiff_t swig_types[170]
1605#define SWIGTYPE_std__ptrdiff_t swig_types[171]
1606#define SWIGTYPE_unsigned_int swig_types[172]
1607static swig_type_info *swig_types[174];
1608static swig_module_info swig_module = {swig_types, 173, 0, 0, 0, 0};
1609#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1610#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
d55e5bfc 1611
093d3ff1 1612/* -------- TYPES TABLE (END) -------- */
d55e5bfc
RD
1613
1614
093d3ff1
RD
1615/*-----------------------------------------------
1616 @(target):= _misc_.so
1617 ------------------------------------------------*/
1618#define SWIG_init init_misc_
d55e5bfc 1619
093d3ff1 1620#define SWIG_name "_misc_"
d55e5bfc 1621
093d3ff1
RD
1622#include "wx/wxPython/wxPython.h"
1623#include "wx/wxPython/pyclasses.h"
1624#include "wx/wxPython/pyistream.h"
d55e5bfc 1625
093d3ff1 1626 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1627
d55e5bfc 1628
d55e5bfc 1629
7e08d4ef 1630 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1631#define SWIG_From_int PyInt_FromLong
1632/*@@*/
d55e5bfc
RD
1633
1634
093d3ff1 1635#include <limits.h>
d55e5bfc
RD
1636
1637
093d3ff1
RD
1638SWIGINTERN int
1639 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1640 const char *errmsg)
d55e5bfc 1641{
093d3ff1
RD
1642 if (value < min_value) {
1643 if (errmsg) {
1644 PyErr_Format(PyExc_OverflowError,
1645 "value %ld is less than '%s' minimum %ld",
1646 value, errmsg, min_value);
1647 }
1648 return 0;
1649 } else if (value > max_value) {
c32bde28
RD
1650 if (errmsg) {
1651 PyErr_Format(PyExc_OverflowError,
093d3ff1 1652 "value %ld is greater than '%s' maximum %ld",
c32bde28 1653 value, errmsg, max_value);
d55e5bfc 1654 }
c32bde28 1655 return 0;
d55e5bfc 1656 }
c32bde28 1657 return 1;
093d3ff1 1658}
d55e5bfc
RD
1659
1660
093d3ff1
RD
1661SWIGINTERN int
1662SWIG_AsVal_long(PyObject* obj, long* val)
1663{
1664 if (PyNumber_Check(obj)) {
1665 if (val) *val = PyInt_AsLong(obj);
1666 return 1;
1667 }
1668 else {
7e08d4ef 1669 SWIG_Python_TypeError("number", obj);
093d3ff1
RD
1670 }
1671 return 0;
1672}
1673
1674
1675#if INT_MAX != LONG_MAX
1676SWIGINTERN int
1677 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1678{
093d3ff1
RD
1679 const char* errmsg = val ? "int" : (char*)0;
1680 long v;
1681 if (SWIG_AsVal_long(obj, &v)) {
1682 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
7449af73 1683 if (val) *val = static_cast<int >(v);
c32bde28 1684 return 1;
093d3ff1
RD
1685 } else {
1686 return 0;
c32bde28
RD
1687 }
1688 } else {
1689 PyErr_Clear();
1690 }
1691 if (val) {
093d3ff1 1692 SWIG_type_error(errmsg, obj);
c32bde28
RD
1693 }
1694 return 0;
d55e5bfc
RD
1695}
1696#else
7449af73 1697SWIGINTERNINLINE int
093d3ff1 1698 SWIG_AsVal_int(PyObject *obj, int *val)
c32bde28 1699{
093d3ff1 1700 return SWIG_AsVal_long(obj,(long*)val);
c32bde28 1701}
d55e5bfc
RD
1702#endif
1703
1704
7449af73 1705SWIGINTERNINLINE int
093d3ff1 1706SWIG_As_int(PyObject* obj)
d55e5bfc 1707{
093d3ff1
RD
1708 int v;
1709 if (!SWIG_AsVal_int(obj, &v)) {
c32bde28 1710 /*
093d3ff1 1711 this is needed to make valgrind/purify happier.
c32bde28 1712 */
093d3ff1 1713 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1714 }
c32bde28
RD
1715 return v;
1716}
1717
1718
7449af73 1719SWIGINTERNINLINE int
093d3ff1 1720SWIG_Check_int(PyObject* obj)
c32bde28 1721{
093d3ff1 1722 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1723}
1724
093d3ff1 1725 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1726
093d3ff1 1727#include <wx/stockitem.h>
f78cc896 1728
093d3ff1
RD
1729 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1730 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1731 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1732
7e08d4ef 1733 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
1734#define SWIG_From_long PyInt_FromLong
1735/*@@*/
f78cc896 1736
f78cc896 1737
7449af73 1738SWIGINTERNINLINE long
093d3ff1
RD
1739SWIG_As_long(PyObject* obj)
1740{
1741 long v;
1742 if (!SWIG_AsVal_long(obj, &v)) {
1743 /*
1744 this is needed to make valgrind/purify happier.
1745 */
1746 memset((void*)&v, 0, sizeof(long));
1747 }
1748 return v;
1749}
f78cc896 1750
093d3ff1 1751
7449af73 1752SWIGINTERNINLINE int
093d3ff1
RD
1753SWIG_Check_long(PyObject* obj)
1754{
1755 return SWIG_AsVal_long(obj, (long*)0);
1756}
f78cc896 1757
f78cc896 1758
093d3ff1
RD
1759SWIGINTERN int
1760 SWIG_AsVal_bool(PyObject *obj, bool *val)
1761{
1762 if (obj == Py_True) {
1763 if (val) *val = true;
1764 return 1;
1765 }
1766 if (obj == Py_False) {
1767 if (val) *val = false;
1768 return 1;
1769 }
1770 int res = 0;
1771 if (SWIG_AsVal_int(obj, &res)) {
1772 if (val) *val = res ? true : false;
1773 return 1;
1774 } else {
1775 PyErr_Clear();
1776 }
1777 if (val) {
1778 SWIG_type_error("bool", obj);
1779 }
1780 return 0;
1781}
d55e5bfc 1782
d55e5bfc 1783
7449af73 1784SWIGINTERNINLINE bool
093d3ff1
RD
1785SWIG_As_bool(PyObject* obj)
1786{
1787 bool v;
1788 if (!SWIG_AsVal_bool(obj, &v)) {
1789 /*
1790 this is needed to make valgrind/purify happier.
1791 */
1792 memset((void*)&v, 0, sizeof(bool));
1793 }
1794 return v;
1795}
d55e5bfc 1796
093d3ff1 1797
7449af73 1798SWIGINTERNINLINE int
093d3ff1
RD
1799SWIG_Check_bool(PyObject* obj)
1800{
1801 return SWIG_AsVal_bool(obj, (bool*)0);
1802}
d55e5bfc
RD
1803
1804
7e08d4ef
RD
1805 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1806 {
1807 PyObject* o2;
1808 PyObject* o3;
1809 if (!result) {
1810 result = obj;
1811 } else if (result == Py_None) {
1812 Py_DECREF(result);
1813 result = obj;
1814 } else {
1815 if (!PyTuple_Check(result)) {
1816 o2 = result;
1817 result = PyTuple_New(1);
1818 PyTuple_SET_ITEM(result, 0, o2);
1819 }
1820 o3 = PyTuple_New(1);
1821 PyTuple_SetItem(o3, 0, obj);
1822 o2 = result;
1823 result = PySequence_Concat(o2, o3);
1824 Py_DECREF(o2);
1825 Py_DECREF(o3);
1826 }
1827 return result;
1828 }
d55e5bfc 1829
d55e5bfc
RD
1830
1831
093d3ff1
RD
1832SWIGINTERN int
1833SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1834{
1835 long v = 0;
1836 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1837 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1838 }
093d3ff1
RD
1839 else if (val)
1840 *val = (unsigned long)v;
1841 return 1;
1842}
d55e5bfc 1843
d55e5bfc 1844
7449af73 1845SWIGINTERNINLINE unsigned long
093d3ff1
RD
1846SWIG_As_unsigned_SS_long(PyObject* obj)
1847{
1848 unsigned long v;
1849 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1850 /*
1851 this is needed to make valgrind/purify happier.
1852 */
1853 memset((void*)&v, 0, sizeof(unsigned long));
1854 }
1855 return v;
1856}
d55e5bfc 1857
093d3ff1 1858
7449af73 1859SWIGINTERNINLINE int
093d3ff1
RD
1860SWIG_Check_unsigned_SS_long(PyObject* obj)
1861{
1862 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1863}
d55e5bfc
RD
1864
1865
7449af73 1866SWIGINTERNINLINE PyObject*
093d3ff1
RD
1867 SWIG_From_unsigned_SS_long(unsigned long value)
1868{
1869 return (value > LONG_MAX) ?
1870 PyLong_FromUnsignedLong(value)
7449af73 1871 : PyInt_FromLong(static_cast<long >(value));
093d3ff1 1872}
d55e5bfc
RD
1873
1874
a97cefba
RD
1875 void* wxGetXDisplay()
1876 {
1877#ifdef __WXGTK__
1878 return wxGetDisplay();
1879#else
1880 return NULL;
1881#endif
1882 }
1883
1884
7449af73
RD
1885 wxWindow* FindWindowAtPointer() {
1886 wxPoint unused;
1887 return wxFindWindowAtPointer(unused);
1888 }
1889
1890
093d3ff1
RD
1891 bool wxThread_IsMain() {
1892#ifdef WXP_WITH_THREAD
1893 return wxThread::IsMain();
1894#else
1895 return true;
1896#endif
d55e5bfc 1897 }
093d3ff1 1898
091fdbfa
RD
1899static void wxCaret_Destroy(wxCaret *self){
1900 delete self;
1901 }
d55e5bfc 1902
093d3ff1
RD
1903#include <wx/snglinst.h>
1904
1905
68350608
RD
1906#ifdef __WXMSW__
1907#include <wx/msw/private.h>
1908#include <wx/dynload.h>
1909#endif
1910
1911
1912
1913bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1914#if 0
1915 , int method
1916#endif
1917 )
1918{
1919#ifdef __WXMSW__
1920#if 0
1921 switch (method)
1922 {
1923 case 1:
1924 // This one only partially works. Appears to be an undocumented
1925 // "standard" convention that not all widgets adhear to. For
1926 // example, for some widgets backgrounds or non-client areas may
1927 // not be painted.
1928 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1929 break;
1930
1931 case 2:
1932#endif
1933 // This one works much better, nearly all widgets and their
1934 // children are captured correctly[**]. Prior to the big
1935 // background erase changes that Vadim did in 2004-2005 this
1936 // method failed badly on XP with Themes activated, most native
1937 // widgets draw only partially, if at all. Without themes it
1938 // worked just like on Win2k. After those changes this method
1939 // works very well.
1940 //
1941 // ** For example the radio buttons in a wxRadioBox are not its
1942 // children by default, but you can capture it via the panel
1943 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1944 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1945 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1946 PRF_ERASEBKGND | PRF_OWNED );
1947 return true;
1948#if 0
1949 break;
1950
1951 case 3:
1952 // This one is only defined in the latest SDK and is only
1953 // available on XP. MSDN says it is similar to sending WM_PRINT
1954 // so I expect that it will work similar to the above. Since it
1955 // is avaialble only on XP, it can't be compiled like this and
1956 // will have to be loaded dynamically.
1957 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1958
1959 // fall through
1960
1961 case 4:
1962 // Use PrintWindow if available, or fallback to WM_PRINT
1963 // otherwise. Unfortunately using PrintWindow is even worse than
1964 // WM_PRINT. For most native widgets nothing is drawn to the dc
1965 // at all, with or without Themes.
1966 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1967 static bool s_triedToLoad = false;
1968 static PrintWindow_t pfnPrintWindow = NULL;
1969 if ( !s_triedToLoad )
1970 {
1971
1972 s_triedToLoad = true;
1973 wxDynamicLibrary dllUser32(_T("user32.dll"));
1974 if ( dllUser32.IsLoaded() )
1975 {
1976 wxLogNull nolog; // Don't report errors here
1977 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1978 }
1979 }
1980 if (pfnPrintWindow)
1981 {
1982 //printf("Using PrintWindow\n");
1983 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1984 }
1985 else
1986 {
1987 //printf("Using WM_PRINT\n");
1988 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1989 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1990 PRF_ERASEBKGND | PRF_OWNED );
1991 }
1992 }
1993#endif // 0
1994#else
1995 return false;
1996#endif // __WXMSW__
1997}
1998
1999
2000
093d3ff1
RD
2001#include <wx/tipdlg.h>
2002
d55e5bfc 2003
093d3ff1
RD
2004class wxPyTipProvider : public wxTipProvider {
2005public:
2006 wxPyTipProvider(size_t currentTip)
2007 : wxTipProvider(currentTip) {}
2008
2009 DEC_PYCALLBACK_STRING__pure(GetTip);
2010 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d55e5bfc
RD
2011 PYPRIVATE;
2012};
2013
093d3ff1
RD
2014IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
2015IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d55e5bfc
RD
2016
2017
b06b3e70 2018IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d55e5bfc 2019
093d3ff1 2020IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d55e5bfc 2021
093d3ff1
RD
2022wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
2023 : wxTimer(owner, id)
2024{
2025 if (owner == NULL) SetOwner(this);
2026}
d55e5bfc 2027
d55e5bfc 2028
093d3ff1
RD
2029SWIGINTERN PyObject *
2030SWIG_FromCharPtr(const char* cptr)
2031{
2032 if (cptr) {
2033 size_t size = strlen(cptr);
2034 if (size > INT_MAX) {
7449af73 2035 return SWIG_NewPointerObj(const_cast<char* >(cptr),
093d3ff1
RD
2036 SWIG_TypeQuery("char *"), 0);
2037 } else {
2038 if (size != 0) {
2039 return PyString_FromStringAndSize(cptr, size);
2040 } else {
2041 return PyString_FromString(cptr);
2042 }
c32bde28 2043 }
093d3ff1
RD
2044 }
2045 Py_INCREF(Py_None);
2046 return Py_None;
2047}
2048
2049
7449af73 2050SWIGINTERNINLINE int
093d3ff1
RD
2051 SWIG_CheckUnsignedLongInRange(unsigned long value,
2052 unsigned long max_value,
2053 const char *errmsg)
2054{
2055 if (value > max_value) {
2056 if (errmsg) {
2057 PyErr_Format(PyExc_OverflowError,
2058 "value %lu is greater than '%s' minimum %lu",
2059 value, errmsg, max_value);
d55e5bfc 2060 }
c32bde28 2061 return 0;
093d3ff1
RD
2062 }
2063 return 1;
2064 }
2065
2066
2067#if UINT_MAX != ULONG_MAX
2068SWIGINTERN int
2069 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2070{
2071 const char* errmsg = val ? "unsigned int" : (char*)0;
2072 unsigned long v;
2073 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2074 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
7449af73 2075 if (val) *val = static_cast<unsigned int >(v);
093d3ff1
RD
2076 return 1;
2077 }
2078 } else {
2079 PyErr_Clear();
2080 }
2081 if (val) {
2082 SWIG_type_error(errmsg, obj);
2083 }
2084 return 0;
2085}
2086#else
7449af73 2087SWIGINTERNINLINE unsigned int
093d3ff1
RD
2088 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2089{
2090 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
d55e5bfc 2091}
093d3ff1 2092#endif
d55e5bfc
RD
2093
2094
7449af73 2095SWIGINTERNINLINE unsigned int
093d3ff1 2096SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2097{
093d3ff1
RD
2098 unsigned int v;
2099 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c32bde28 2100 /*
093d3ff1 2101 this is needed to make valgrind/purify happier.
c32bde28 2102 */
093d3ff1 2103 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2104 }
c32bde28
RD
2105 return v;
2106}
2107
2108
7449af73 2109SWIGINTERNINLINE int
093d3ff1 2110SWIG_Check_unsigned_SS_int(PyObject* obj)
c32bde28 2111{
093d3ff1 2112 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2113}
2114
7449af73 2115static wxString wxLog_TimeStamp(){
093d3ff1
RD
2116 wxString msg;
2117 wxLog::TimeStamp(&msg);
2118 return msg;
d55e5bfc 2119 }
093d3ff1 2120static void wxLog_Destroy(wxLog *self){ delete self; }
7e08d4ef 2121// Make some wrappers that double any % signs so they are 'escaped'
093d3ff1
RD
2122 void wxPyLogFatalError(const wxString& msg)
2123 {
2124 wxString m(msg);
2125 m.Replace(wxT("%"), wxT("%%"));
2126 wxLogFatalError(m);
2127 }
2128
2129 void wxPyLogError(const wxString& msg)
2130 {
2131 wxString m(msg);
2132 m.Replace(wxT("%"), wxT("%%"));
2133 wxLogError(m);
2134 }
d55e5bfc 2135
093d3ff1
RD
2136 void wxPyLogWarning(const wxString& msg)
2137 {
2138 wxString m(msg);
2139 m.Replace(wxT("%"), wxT("%%"));
2140 wxLogWarning(m);
2141 }
d55e5bfc 2142
093d3ff1
RD
2143 void wxPyLogMessage(const wxString& msg)
2144 {
2145 wxString m(msg);
2146 m.Replace(wxT("%"), wxT("%%"));
2147 wxLogMessage(m);
2148 }
d55e5bfc 2149
093d3ff1
RD
2150 void wxPyLogInfo(const wxString& msg)
2151 {
2152 wxString m(msg);
2153 m.Replace(wxT("%"), wxT("%%"));
2154 wxLogInfo(m);
2155 }
d55e5bfc 2156
093d3ff1
RD
2157 void wxPyLogDebug(const wxString& msg)
2158 {
2159 wxString m(msg);
2160 m.Replace(wxT("%"), wxT("%%"));
2161 wxLogDebug(m);
2162 }
d55e5bfc 2163
093d3ff1
RD
2164 void wxPyLogVerbose(const wxString& msg)
2165 {
2166 wxString m(msg);
2167 m.Replace(wxT("%"), wxT("%%"));
2168 wxLogVerbose(m);
2169 }
d55e5bfc 2170
093d3ff1
RD
2171 void wxPyLogStatus(const wxString& msg)
2172 {
2173 wxString m(msg);
2174 m.Replace(wxT("%"), wxT("%%"));
2175 wxLogStatus(m);
2176 }
d55e5bfc 2177
093d3ff1
RD
2178 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2179 {
2180 wxString m(msg);
2181 m.Replace(wxT("%"), wxT("%%"));
2182 wxLogStatus(pFrame, m);
2183 }
d55e5bfc 2184
093d3ff1
RD
2185 void wxPyLogSysError(const wxString& msg)
2186 {
2187 wxString m(msg);
2188 m.Replace(wxT("%"), wxT("%%"));
2189 wxLogSysError(m);
2190 }
d55e5bfc 2191
093d3ff1
RD
2192 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2193 {
2194 wxString m(msg);
2195 m.Replace(wxT("%"), wxT("%%"));
2196 wxLogGeneric(level, m);
2197 }
a07a67e6 2198
093d3ff1
RD
2199 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2200 {
2201 wxString m(msg);
2202 m.Replace(wxT("%"), wxT("%%"));
2203 wxLogTrace(mask, m);
d55e5bfc 2204 }
093d3ff1
RD
2205
2206 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2207 {
2208 wxString m(msg);
2209 m.Replace(wxT("%"), wxT("%%"));
2210 wxLogTrace(mask, m);
d55e5bfc 2211 }
093d3ff1 2212
d55e5bfc
RD
2213
2214
093d3ff1
RD
2215// A wxLog class that can be derived from in wxPython
2216class wxPyLog : public wxLog {
d55e5bfc 2217public:
093d3ff1 2218 wxPyLog() : wxLog() {}
d55e5bfc 2219
093d3ff1
RD
2220 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2221 bool found;
5a446332 2222 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2223 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2224 PyObject* s = wx2PyString(szString);
2225 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2226 Py_DECREF(s);
d55e5bfc 2227 }
093d3ff1
RD
2228 wxPyEndBlockThreads(blocked);
2229 if (! found)
2230 wxLog::DoLog(level, szString, t);
d55e5bfc 2231 }
d55e5bfc 2232
093d3ff1
RD
2233 virtual void DoLogString(const wxChar *szString, time_t t) {
2234 bool found;
5a446332 2235 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2236 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2237 PyObject* s = wx2PyString(szString);
2238 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2239 Py_DECREF(s);
d55e5bfc 2240 }
093d3ff1
RD
2241 wxPyEndBlockThreads(blocked);
2242 if (! found)
2243 wxLog::DoLogString(szString, t);
2244 }
d55e5bfc 2245
b06b3e70 2246 DEC_PYCALLBACK_VOID_(Flush);
d55e5bfc
RD
2247 PYPRIVATE;
2248};
b06b3e70 2249IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush);
d55e5bfc 2250
d55e5bfc
RD
2251
2252
093d3ff1
RD
2253
2254IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d55e5bfc 2255
d55e5bfc 2256
093d3ff1 2257#include <wx/joystick.h>
d55e5bfc 2258
d55e5bfc 2259
093d3ff1
RD
2260#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2261// A C++ stub class for wxJoystick for platforms that don't have it.
2262class wxJoystick : public wxObject {
2263public:
2264 wxJoystick(int joystick = wxJOYSTICK1) {
5a446332 2265 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2266 PyErr_SetString(PyExc_NotImplementedError,
2267 "wxJoystick is not available on this platform.");
2268 wxPyEndBlockThreads(blocked);
d55e5bfc 2269 }
093d3ff1
RD
2270 wxPoint GetPosition() { return wxPoint(-1,-1); }
2271 int GetZPosition() { return -1; }
2272 int GetButtonState() { return -1; }
2273 int GetPOVPosition() { return -1; }
2274 int GetPOVCTSPosition() { return -1; }
2275 int GetRudderPosition() { return -1; }
2276 int GetUPosition() { return -1; }
2277 int GetVPosition() { return -1; }
2278 int GetMovementThreshold() { return -1; }
2279 void SetMovementThreshold(int threshold) {}
d55e5bfc 2280
093d3ff1
RD
2281 bool IsOk(void) { return false; }
2282 int GetNumberJoysticks() { return -1; }
2283 int GetManufacturerId() { return -1; }
2284 int GetProductId() { return -1; }
2285 wxString GetProductName() { return wxEmptyString; }
2286 int GetXMin() { return -1; }
2287 int GetYMin() { return -1; }
2288 int GetZMin() { return -1; }
2289 int GetXMax() { return -1; }
2290 int GetYMax() { return -1; }
2291 int GetZMax() { return -1; }
2292 int GetNumberButtons() { return -1; }
2293 int GetNumberAxes() { return -1; }
2294 int GetMaxButtons() { return -1; }
2295 int GetMaxAxes() { return -1; }
2296 int GetPollingMin() { return -1; }
2297 int GetPollingMax() { return -1; }
2298 int GetRudderMin() { return -1; }
2299 int GetRudderMax() { return -1; }
2300 int GetUMin() { return -1; }
2301 int GetUMax() { return -1; }
2302 int GetVMin() { return -1; }
2303 int GetVMax() { return -1; }
d55e5bfc 2304
093d3ff1
RD
2305 bool HasRudder() { return false; }
2306 bool HasZ() { return false; }
2307 bool HasU() { return false; }
2308 bool HasV() { return false; }
2309 bool HasPOV() { return false; }
2310 bool HasPOV4Dir() { return false; }
2311 bool HasPOVCTS() { return false; }
d55e5bfc 2312
093d3ff1
RD
2313 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2314 bool ReleaseCapture() { return false; }
2315};
2316#endif
d55e5bfc 2317
6923d0a9 2318
093d3ff1 2319#include <wx/sound.h>
6923d0a9 2320
6923d0a9 2321
093d3ff1
RD
2322#if !wxUSE_SOUND
2323// A C++ stub class for wxWave for platforms that don't have it.
2324class wxSound : public wxObject
6923d0a9
RD
2325{
2326public:
093d3ff1 2327 wxSound() {
5a446332 2328 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2329 PyErr_SetString(PyExc_NotImplementedError,
2330 "wxSound is not available on this platform.");
2331 wxPyEndBlockThreads(blocked);
2332 }
2333 wxSound(const wxString&/*, bool*/) {
5a446332 2334 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2335 PyErr_SetString(PyExc_NotImplementedError,
2336 "wxSound is not available on this platform.");
2337 wxPyEndBlockThreads(blocked);
2338 }
2339 wxSound(int, const wxByte*) {
5a446332 2340 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2341 PyErr_SetString(PyExc_NotImplementedError,
2342 "wxSound is not available on this platform.");
2343 wxPyEndBlockThreads(blocked);
2344 }
6923d0a9 2345
093d3ff1 2346 ~wxSound() {};
6923d0a9 2347
093d3ff1
RD
2348 bool Create(const wxString&/*, bool*/) { return false; }
2349 bool Create(int, const wxByte*) { return false; };
2350 bool IsOk() { return false; };
2351 bool Play(unsigned) const { return false; }
2352 static bool Play(const wxString&, unsigned) { return false; }
2353 static void Stop() {}
6923d0a9 2354};
093d3ff1 2355
6923d0a9
RD
2356#endif
2357
093d3ff1
RD
2358static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2359 if (fileName.Length() == 0)
2360 return new wxSound;
2361 else
2362 return new wxSound(fileName);
2363 }
2364static wxSound *new_wxSound(PyObject *data){
2365 unsigned char* buffer; int size;
2366 wxSound *sound = NULL;
2367
5a446332 2368 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2369 if (!PyArg_Parse(data, "t#", &buffer, &size))
2370 goto done;
2371 sound = new wxSound(size, buffer);
2372 done:
d55e5bfc 2373 wxPyEndBlockThreads(blocked);
093d3ff1 2374 return sound;
d55e5bfc 2375 }
093d3ff1
RD
2376static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2377 #ifndef __WXMAC__
2378 unsigned char* buffer;
2379 int size;
2380 bool rv = false;
c1cb24a4 2381
5a446332 2382 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2383 if (!PyArg_Parse(data, "t#", &buffer, &size))
2384 goto done;
2385 rv = self->Create(size, buffer);
2386 done:
2387 wxPyEndBlockThreads(blocked);
2388 return rv;
2389 #else
5a446332 2390 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2391 PyErr_SetString(PyExc_NotImplementedError,
2392 "Create from data is not available on this platform.");
2393 wxPyEndBlockThreads(blocked);
2394 return false;
2395 #endif
2396 }
c1cb24a4 2397
093d3ff1
RD
2398#include <wx/mimetype.h>
2399
2400static PyObject *wxFileType_GetMimeType(wxFileType *self){
2401 wxString str;
2402 if (self->GetMimeType(&str))
2403 return wx2PyString(str);
2404 else
2405 RETURN_NONE();
8fb0e70a 2406 }
093d3ff1
RD
2407static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2408 wxArrayString arr;
2409 if (self->GetMimeTypes(arr))
2410 return wxArrayString2PyList_helper(arr);
2411 else
2412 RETURN_NONE();
2413 }
2414static PyObject *wxFileType_GetExtensions(wxFileType *self){
2415 wxArrayString arr;
2416 if (self->GetExtensions(arr))
2417 return wxArrayString2PyList_helper(arr);
2418 else
2419 RETURN_NONE();
2420 }
2421static wxIcon *wxFileType_GetIcon(wxFileType *self){
2422 wxIconLocation loc;
2423 if (self->GetIcon(&loc))
2424 return new wxIcon(loc);
2425 else
2426 return NULL;
2427 }
2428static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2429 wxIconLocation loc;
2430 if (self->GetIcon(&loc)) {
2431 wxString iconFile = loc.GetFileName();
2432 int iconIndex = -1;
d55e5bfc 2433
093d3ff1 2434 iconIndex = loc.GetIndex();
d55e5bfc 2435
093d3ff1 2436 // Make a tuple and put the values in it
5a446332 2437 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2438 PyObject* tuple = PyTuple_New(3);
2439 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2440 wxT("wxIcon"), true));
2441 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2442 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2443 wxPyEndBlockThreads(blocked);
2444 return tuple;
2445 }
2446 else
2447 RETURN_NONE();
2448 }
2449static PyObject *wxFileType_GetDescription(wxFileType *self){
2450 wxString str;
2451 if (self->GetDescription(&str))
2452 return wx2PyString(str);
2453 else
2454 RETURN_NONE();
2455 }
2456static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2457 wxString str;
2458 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2459 return wx2PyString(str);
2460 else
2461 RETURN_NONE();
2462 }
2463static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2464 wxString str;
2465 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2466 return wx2PyString(str);
2467 else
2468 RETURN_NONE();
2469 }
2470static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2471 wxArrayString verbs;
2472 wxArrayString commands;
2473 if (self->GetAllCommands(&verbs, &commands,
2474 wxFileType::MessageParameters(filename, mimetype))) {
5a446332 2475 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2476 PyObject* tuple = PyTuple_New(2);
2477 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2478 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2479 wxPyEndBlockThreads(blocked);
2480 return tuple;
2481 }
2482 else
2483 RETURN_NONE();
2484 }
7449af73 2485static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
093d3ff1
RD
2486 return wxFileType::ExpandCommand(command,
2487 wxFileType::MessageParameters(filename, mimetype));
2488 }
2489static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2490 wxArrayString arr;
2491 self->EnumAllFileTypes(arr);
2492 return wxArrayString2PyList_helper(arr);
2493 }
d55e5bfc 2494
093d3ff1 2495#include <wx/artprov.h>
d55e5bfc 2496
093d3ff1
RD
2497 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2498 static const wxString wxPyART_MENU(wxART_MENU);
2499 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2500 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2501 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2502 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2503 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2504 static const wxString wxPyART_OTHER(wxART_OTHER);
2505 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2506 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2507 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2508 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2509 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2510 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2511 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2512 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2513 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2514 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2515 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2516 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2517 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2518 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
68350608
RD
2519 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2520 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
093d3ff1
RD
2521 static const wxString wxPyART_PRINT(wxART_PRINT);
2522 static const wxString wxPyART_HELP(wxART_HELP);
2523 static const wxString wxPyART_TIP(wxART_TIP);
2524 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2525 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2526 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2527 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2528 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2529 static const wxString wxPyART_CDROM(wxART_CDROM);
2530 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2531 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2532 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2533 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2534 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2535 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2536 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2537 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2538 static const wxString wxPyART_ERROR(wxART_ERROR);
2539 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2540 static const wxString wxPyART_WARNING(wxART_WARNING);
2541 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2542 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
68350608
RD
2543 static const wxString wxPyART_COPY(wxART_COPY);
2544 static const wxString wxPyART_CUT(wxART_CUT);
2545 static const wxString wxPyART_PASTE(wxART_PASTE);
2546 static const wxString wxPyART_DELETE(wxART_DELETE);
a187dc0b 2547 static const wxString wxPyART_NEW(wxART_NEW);
68350608
RD
2548 static const wxString wxPyART_UNDO(wxART_UNDO);
2549 static const wxString wxPyART_REDO(wxART_REDO);
2550 static const wxString wxPyART_QUIT(wxART_QUIT);
2551 static const wxString wxPyART_FIND(wxART_FIND);
2552 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
093d3ff1
RD
2553 // Python aware wxArtProvider
2554class wxPyArtProvider : public wxArtProvider {
2555public:
d55e5bfc 2556
093d3ff1
RD
2557 virtual wxBitmap CreateBitmap(const wxArtID& id,
2558 const wxArtClient& client,
2559 const wxSize& size) {
2560 wxBitmap rval = wxNullBitmap;
5a446332 2561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2562 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2563 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2564 PyObject* ro;
2565 wxBitmap* ptr;
2566 PyObject* s1, *s2;
2567 s1 = wx2PyString(id);
2568 s2 = wx2PyString(client);
2569 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2570 Py_DECREF(so);
2571 Py_DECREF(s1);
2572 Py_DECREF(s2);
2573 if (ro) {
2574 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2575 rval = *ptr;
2576 Py_DECREF(ro);
2577 }
2578 }
2579 wxPyEndBlockThreads(blocked);
2580 return rval;
d55e5bfc 2581 }
d55e5bfc 2582
093d3ff1
RD
2583 PYPRIVATE;
2584};
d55e5bfc 2585
093d3ff1 2586static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d55e5bfc
RD
2587
2588
d55e5bfc 2589
093d3ff1
RD
2590 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2591 PyObject* ret = PyTuple_New(3);
2592 if (ret) {
2593 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2594 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2595 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2596 }
2597 return ret;
2598 }
d55e5bfc 2599
093d3ff1
RD
2600static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2601 bool cont;
2602 long index = 0;
2603 wxString value;
7e63a440 2604
093d3ff1
RD
2605 cont = self->GetFirstGroup(value, index);
2606 return __EnumerationHelper(cont, value, index);
2607 }
2608static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2609 bool cont;
2610 wxString value;
7e63a440 2611
093d3ff1
RD
2612 cont = self->GetNextGroup(value, index);
2613 return __EnumerationHelper(cont, value, index);
2614 }
2615static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2616 bool cont;
2617 long index = 0;
2618 wxString value;
7e63a440 2619
093d3ff1
RD
2620 cont = self->GetFirstEntry(value, index);
2621 return __EnumerationHelper(cont, value, index);
2622 }
2623static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2624 bool cont;
2625 wxString value;
d55e5bfc 2626
093d3ff1
RD
2627 cont = self->GetNextEntry(value, index);
2628 return __EnumerationHelper(cont, value, index);
2629 }
2630static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2631 long rv;
2632 self->Read(key, &rv, defaultVal);
2633 return rv;
2634 }
d55e5bfc 2635
093d3ff1
RD
2636SWIGINTERN int
2637SWIG_AsVal_double(PyObject *obj, double* val)
2638{
2639 if (PyNumber_Check(obj)) {
2640 if (val) *val = PyFloat_AsDouble(obj);
2641 return 1;
d55e5bfc 2642 }
093d3ff1 2643 else {
7e08d4ef 2644 SWIG_Python_TypeError("number", obj);
d55e5bfc 2645 }
093d3ff1 2646 return 0;
d55e5bfc
RD
2647}
2648
2649
7449af73 2650SWIGINTERNINLINE double
093d3ff1
RD
2651SWIG_As_double(PyObject* obj)
2652{
2653 double v;
2654 if (!SWIG_AsVal_double(obj, &v)) {
2655 /*
2656 this is needed to make valgrind/purify happier.
2657 */
2658 memset((void*)&v, 0, sizeof(double));
2659 }
2660 return v;
d55e5bfc
RD
2661}
2662
093d3ff1 2663
7449af73 2664SWIGINTERNINLINE int
093d3ff1
RD
2665SWIG_Check_double(PyObject* obj)
2666{
2667 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
2668}
2669
093d3ff1
RD
2670static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2671 double rv;
2672 self->Read(key, &rv, defaultVal);
2673 return rv;
2674 }
d55e5bfc 2675
7e08d4ef 2676 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2677#define SWIG_From_double PyFloat_FromDouble
2678/*@@*/
d55e5bfc 2679
093d3ff1
RD
2680static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2681 bool rv;
2682 self->Read(key, &rv, defaultVal);
2683 return rv;
2684 }
d55e5bfc 2685
093d3ff1 2686#include <wx/datetime.h>
d55e5bfc 2687
fef4c27a
RD
2688 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2689 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d55e5bfc 2690
093d3ff1 2691#define LOCAL_TZ wxDateTime::Local
d55e5bfc 2692
7449af73 2693static PyObject *wxDateTime_GetAmPmStrings(){
b9d6a5f3
RD
2694 wxString am;
2695 wxString pm;
2696 wxDateTime::GetAmPmStrings(&am, &pm);
5a446332 2697 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
2698 PyObject* tup = PyTuple_New(2);
2699 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2700 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2701 wxPyEndBlockThreads(blocked);
2702 return tup;
2703 }
093d3ff1
RD
2704
2705#if UINT_MAX < LONG_MAX
7e08d4ef 2706/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2707#define SWIG_From_unsigned_SS_int SWIG_From_long
2708/*@@*/
d55e5bfc 2709#else
7e08d4ef 2710/*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
093d3ff1
RD
2711#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2712/*@@*/
d55e5bfc 2713#endif
d55e5bfc 2714
093d3ff1
RD
2715static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2716static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2717static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2718static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2719static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2720static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2721 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2722 return (*self < *other);
2723 }
2724static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2725 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2726 return (*self <= *other);
2727 }
2728static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2729 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2730 return (*self > *other);
2731 }
2732static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2733 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2734 return (*self >= *other);
2735 }
2736static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2737 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2738 return (*self == *other);
2739 }
2740static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2741 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2742 return (*self != *other);
2743 }
2744static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2745 const wxChar* rv;
2746 const wxChar* _date = date;
2747 rv = self->ParseRfc822Date(_date);
2748 if (rv == NULL) return -1;
2749 return rv - _date;
2750 }
fef4c27a 2751static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
093d3ff1
RD
2752 const wxChar* rv;
2753 const wxChar* _date = date;
2754 rv = self->ParseFormat(_date, format, dateDef);
2755 if (rv == NULL) return -1;
2756 return rv - _date;
2757 }
2758static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2759 const wxChar* rv;
2760 const wxChar* _datetime = datetime;
2761 rv = self->ParseDateTime(_datetime);
2762 if (rv == NULL) return -1;
2763 return rv - _datetime;
2764 }
2765static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2766 const wxChar* rv;
2767 const wxChar* _date = date;
2768 rv = self->ParseDate(_date);
2769 if (rv == NULL) return -1;
2770 return rv - _date;
2771 }
2772static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2773 const wxChar* rv;
2774 const wxChar* _time = time;
2775 rv = self->ParseTime(_time);
2776 if (rv == NULL) return -1;
2777 return rv - _time;
2778 }
2779static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2780static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2781static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2782static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2783static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2784static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2785static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2786static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2787static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2788static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2789static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2790static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2791static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2792static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2793static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2794static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc 2795
093d3ff1 2796#include <wx/dataobj.h>
d55e5bfc 2797
093d3ff1
RD
2798static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2799 size_t count = self->GetFormatCount(dir);
2800 wxDataFormat* formats = new wxDataFormat[count];
2801 self->GetAllFormats(formats, dir);
d55e5bfc 2802
5a446332 2803 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2804 PyObject* list = PyList_New(count);
2805 for (size_t i=0; i<count; i++) {
2806 wxDataFormat* format = new wxDataFormat(formats[i]);
2807 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
9d7dfdff 2808 PyList_SET_ITEM(list, i, obj); // PyList_SET_ITEM steals a reference
093d3ff1
RD
2809 }
2810 wxPyEndBlockThreads(blocked);
2811 delete [] formats;
2812 return list;
2813 }
2814static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2815 PyObject* rval = NULL;
2816 size_t size = self->GetDataSize(format);
5a446332 2817 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2818 if (size) {
2819 char* buf = new char[size];
2820 if (self->GetDataHere(format, buf))
2821 rval = PyString_FromStringAndSize(buf, size);
2822 delete [] buf;
2823 }
2824 if (! rval) {
2825 rval = Py_None;
2826 Py_INCREF(rval);
2827 }
2828 wxPyEndBlockThreads(blocked);
2829 return rval;
2830 }
2831static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2832 bool rval;
5a446332 2833 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2834 if (PyString_Check(data)) {
2835 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2836 }
2837 else {
2838 // raise a TypeError if not a string
2839 PyErr_SetString(PyExc_TypeError, "String expected.");
2840 rval = false;
2841 }
2842 wxPyEndBlockThreads(blocked);
2843 return rval;
2844 }
2845static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2846 PyObject* rval = NULL;
2847 size_t size = self->GetDataSize();
5a446332 2848 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2849 if (size) {
2850 char* buf = new char[size];
2851 if (self->GetDataHere(buf))
2852 rval = PyString_FromStringAndSize(buf, size);
2853 delete [] buf;
2854 }
2855 if (! rval) {
2856 rval = Py_None;
2857 Py_INCREF(rval);
2858 }
2859 wxPyEndBlockThreads(blocked);
2860 return rval;
2861 }
2862static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2863 bool rval;
5a446332 2864 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2865 if (PyString_Check(data)) {
2866 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2867 }
2868 else {
2869 // raise a TypeError if not a string
2870 PyErr_SetString(PyExc_TypeError, "String expected.");
2871 rval = false;
2872 }
2873 wxPyEndBlockThreads(blocked);
2874 return rval;
2875 }
2876 // Create a new class for wxPython to use
2877class wxPyDataObjectSimple : public wxDataObjectSimple {
2878public:
2879 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2880 : wxDataObjectSimple(format) {}
d55e5bfc 2881
093d3ff1
RD
2882 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2883 bool GetDataHere(void *buf) const;
2884 bool SetData(size_t len, const void *buf) const;
2885 PYPRIVATE;
2886};
d55e5bfc 2887
093d3ff1 2888IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
d55e5bfc 2889
093d3ff1
RD
2890bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2891 // We need to get the data for this object and write it to buf. I think
2892 // the best way to do this for wxPython is to have the Python method
2893 // return either a string or None and then act appropriately with the
2894 // C++ version.
d55e5bfc 2895
093d3ff1 2896 bool rval = false;
5a446332 2897 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2898 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2899 PyObject* ro;
2900 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2901 if (ro) {
2902 rval = (ro != Py_None && PyString_Check(ro));
2903 if (rval)
2904 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2905 Py_DECREF(ro);
2906 }
d55e5bfc 2907 }
093d3ff1
RD
2908 wxPyEndBlockThreads(blocked);
2909 return rval;
d55e5bfc
RD
2910}
2911
093d3ff1
RD
2912bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2913 // For this one we simply need to make a string from buf and len
2914 // and send it to the Python method.
2915 bool rval = false;
5a446332 2916 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2917 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2918 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2919 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2920 Py_DECREF(data);
d55e5bfc 2921 }
093d3ff1
RD
2922 wxPyEndBlockThreads(blocked);
2923 return rval;
d55e5bfc
RD
2924}
2925
093d3ff1
RD
2926 // Create a new class for wxPython to use
2927class wxPyTextDataObject : public wxTextDataObject {
2928public:
2929 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2930 : wxTextDataObject(text) {}
2931
2932 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2933 DEC_PYCALLBACK_STRING__const(GetText);
2934 DEC_PYCALLBACK__STRING(SetText);
2935 PYPRIVATE;
2936};
d55e5bfc 2937
093d3ff1
RD
2938IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2939IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2940IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2941
2942
2943 // Create a new class for wxPython to use
2944class wxPyBitmapDataObject : public wxBitmapDataObject {
2945public:
2946 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2947 : wxBitmapDataObject(bitmap) {}
2948
2949 wxBitmap GetBitmap() const;
2950 void SetBitmap(const wxBitmap& bitmap);
2951 PYPRIVATE;
2952};
2953
2954wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2955 wxBitmap* rval = &wxNullBitmap;
5a446332 2956 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2957 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2958 PyObject* ro;
2959 wxBitmap* ptr;
2960 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2961 if (ro) {
2962 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2963 rval = ptr;
2964 Py_DECREF(ro);
2965 }
2966 }
2967 wxPyEndBlockThreads(blocked);
2968 return *rval;
2969}
2970
2971void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
5a446332 2972 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2973 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2974 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2975 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2976 Py_DECREF(bo);
2977 }
2978 wxPyEndBlockThreads(blocked);
2979}
2980
fef4c27a
RD
2981static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2982 return new wxCustomDataObject(wxDataFormat(formatName));
2983 }
093d3ff1
RD
2984static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2985 bool rval;
5a446332 2986 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
2987 if (PyString_Check(data)) {
2988 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2989 }
2990 else {
2991 // raise a TypeError if not a string
2992 PyErr_SetString(PyExc_TypeError, "String expected.");
2993 rval = false;
2994 }
2995 wxPyEndBlockThreads(blocked);
2996 return rval;
2997 }
2998static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
2999 PyObject* obj;
5a446332 3000 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
3001 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
3002 wxPyEndBlockThreads(blocked);
3003 return obj;
3004 }
3005
3006#include <wx/metafile.h>
3007
3008
3009IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
3010
3011
3012IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
3013IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
3014IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
3015IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
3016IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
3017
3018
3019class wxPyTextDropTarget : public wxTextDropTarget {
3020public:
3021 wxPyTextDropTarget() {}
3022
3023 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
3024
3025 DEC_PYCALLBACK__(OnLeave);
3026 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
3027 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
3028 DEC_PYCALLBACK_DR_2WXCDR(OnData);
3029 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
3030
3031 PYPRIVATE;
3032};
3033
3034IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
3035IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
3036IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
3037IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
3038IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
3039IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
3040
3041
3042
3043class wxPyFileDropTarget : public wxFileDropTarget {
3044public:
3045 wxPyFileDropTarget() {}
3046
3047 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
3048
3049 DEC_PYCALLBACK__(OnLeave);
3050 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnData);
3053 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
3054
3055 PYPRIVATE;
3056};
3057
3058bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
3059 const wxArrayString& filenames) {
3060 bool rval = false;
5a446332 3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
3062 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
3063 PyObject* list = wxArrayString2PyList_helper(filenames);
3064 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
3065 Py_DECREF(list);
3066 }
3067 wxPyEndBlockThreads(blocked);
3068 return rval;
3069}
3070
3071
3072
3073IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
3074IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
3075IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
3076IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
3077IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
3078
3079
3080
3081
3082static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
3083
3084#include <wx/display.h>
3085
3086static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
3087static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
3088
3089// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3090#if !wxUSE_DISPLAY
3091#include <wx/dynarray.h>
3092#include <wx/vidmode.h>
3093
7449af73 3094 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
093d3ff1
RD
3095#include "wx/arrimpl.cpp"
3096WX_DEFINE_OBJARRAY(wxArrayVideoModes);
3097const wxVideoMode wxDefaultVideoMode;
3098
3099class wxDisplay
3100{
3101public:
3102 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
3103 ~wxDisplay() {}
3104
3105 static size_t GetCount()
3106 { wxPyRaiseNotImplemented(); return 0; }
3107
3108 static int GetFromPoint(const wxPoint& pt)
3109 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
3110 static int GetFromWindow(wxWindow *window)
3111 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
3112
3113 virtual bool IsOk() const { return false; }
3114 virtual wxRect GetGeometry() const { wxRect r; return r; }
3115 virtual wxString GetName() const { return wxEmptyString; }
3116 bool IsPrimary() const { return false; }
3117
3118 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
3119 { wxArrayVideoModes a; return a; }
3120
3121 virtual wxVideoMode GetCurrentMode() const
3122 { return wxDefaultVideoMode; }
3123
3124 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
3125 { return false; }
3126
3127 void ResetMode() {}
3128};
3129#endif
3130
3131static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
3132 PyObject* pyList = NULL;
3133 wxArrayVideoModes arr = self->GetModes(mode);
5a446332 3134 wxPyBlock_t blocked = wxPyBeginBlockThreads();
093d3ff1
RD
3135 pyList = PyList_New(0);
3136 for (int i=0; i < arr.GetCount(); i++) {
3137 wxVideoMode* m = new wxVideoMode(arr.Item(i));
3138 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
3139 PyList_Append(pyList, pyObj);
3140 Py_DECREF(pyObj);
3141 }
3142 wxPyEndBlockThreads(blocked);
3143 return pyList;
3144 }
3145
3146#include <wx/stdpaths.h>
3147
7449af73 3148static wxStandardPaths *wxStandardPaths_Get(){
093d3ff1
RD
3149 return (wxStandardPaths*) &wxStandardPaths::Get();
3150 }
3151static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
3152static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
3153#ifdef __cplusplus
3154extern "C" {
3155#endif
3156static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3157 PyObject *resultobj = NULL;
093d3ff1
RD
3158 wxSystemColour arg1 ;
3159 wxColour result;
d55e5bfc
RD
3160 PyObject * obj0 = 0 ;
3161 char *kwnames[] = {
093d3ff1 3162 (char *) "index", NULL
d55e5bfc
RD
3163 };
3164
093d3ff1
RD
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
3166 {
7449af73 3167 arg1 = static_cast<wxSystemColour >(SWIG_As_int(obj0));
093d3ff1
RD
3168 if (SWIG_arg_fail(1)) SWIG_fail;
3169 }
d55e5bfc 3170 {
093d3ff1 3171 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3173 result = wxSystemSettings::GetColour(arg1);
d55e5bfc
RD
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
093d3ff1
RD
3178 {
3179 wxColour * resultptr;
7449af73 3180 resultptr = new wxColour(static_cast<wxColour & >(result));
093d3ff1
RD
3181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3182 }
d55e5bfc
RD
3183 return resultobj;
3184 fail:
3185 return NULL;
3186}
3187
3188
093d3ff1 3189static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3190 PyObject *resultobj = NULL;
093d3ff1
RD
3191 wxSystemFont arg1 ;
3192 wxFont result;
3193 PyObject * obj0 = 0 ;
d55e5bfc 3194 char *kwnames[] = {
093d3ff1 3195 (char *) "index", NULL
d55e5bfc
RD
3196 };
3197
093d3ff1 3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d55e5bfc 3199 {
7449af73 3200 arg1 = static_cast<wxSystemFont >(SWIG_As_int(obj0));
093d3ff1
RD
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 }
3203 {
3204 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3206 result = wxSystemSettings::GetFont(arg1);
d55e5bfc
RD
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
093d3ff1
RD
3211 {
3212 wxFont * resultptr;
7449af73 3213 resultptr = new wxFont(static_cast<wxFont & >(result));
093d3ff1
RD
3214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3215 }
3216 return resultobj;
3217 fail:
3218 return NULL;
d55e5bfc
RD
3219}
3220
3221
093d3ff1 3222static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3223 PyObject *resultobj = NULL;
093d3ff1 3224 wxSystemMetric arg1 ;
6932ae68 3225 wxWindow *arg2 = (wxWindow *) NULL ;
093d3ff1 3226 int result;
d1f3a348 3227 PyObject * obj0 = 0 ;
6932ae68 3228 PyObject * obj1 = 0 ;
d1f3a348 3229 char *kwnames[] = {
6932ae68 3230 (char *) "index",(char *) "win", NULL
d1f3a348
RD
3231 };
3232
6932ae68 3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
d1f3a348 3234 {
7449af73 3235 arg1 = static_cast<wxSystemMetric >(SWIG_As_int(obj0));
093d3ff1
RD
3236 if (SWIG_arg_fail(1)) SWIG_fail;
3237 }
6932ae68
RD
3238 if (obj1) {
3239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3240 if (SWIG_arg_fail(2)) SWIG_fail;
3241 }
093d3ff1
RD
3242 {
3243 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3245 result = (int)wxSystemSettings::GetMetric(arg1,arg2);
d1f3a348
RD
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 {
7449af73 3251 resultobj = SWIG_From_int(static_cast<int >(result));
d1f3a348
RD
3252 }
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
093d3ff1 3259static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3260 PyObject *resultobj = NULL;
093d3ff1 3261 wxSystemFeature arg1 ;
d1f3a348 3262 bool result;
d1f3a348 3263 PyObject * obj0 = 0 ;
d1f3a348 3264 char *kwnames[] = {
093d3ff1 3265 (char *) "index", NULL
d1f3a348
RD
3266 };
3267
093d3ff1 3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
d1f3a348 3269 {
7449af73 3270 arg1 = static_cast<wxSystemFeature >(SWIG_As_int(obj0));
093d3ff1 3271 if (SWIG_arg_fail(1)) SWIG_fail;
d1f3a348
RD
3272 }
3273 {
093d3ff1 3274 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3276 result = (bool)wxSystemSettings::HasFeature(arg1);
d1f3a348
RD
3277
3278 wxPyEndAllowThreads(__tstate);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 {
3282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3283 }
d1f3a348
RD
3284 return resultobj;
3285 fail:
d1f3a348
RD
3286 return NULL;
3287}
3288
3289
093d3ff1 3290static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3291 PyObject *resultobj = NULL;
093d3ff1 3292 wxSystemScreenType result;
d1f3a348 3293 char *kwnames[] = {
093d3ff1 3294 NULL
d1f3a348
RD
3295 };
3296
093d3ff1 3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
d1f3a348 3298 {
093d3ff1 3299 if (!wxPyCheckForApp()) SWIG_fail;
d1f3a348 3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3301 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
d1f3a348
RD
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) SWIG_fail;
3305 }
093d3ff1 3306 resultobj = SWIG_From_int((result));
d1f3a348
RD
3307 return resultobj;
3308 fail:
3309 return NULL;
3310}
3311
3312
093d3ff1 3313static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3314 PyObject *resultobj = NULL;
093d3ff1
RD
3315 wxSystemScreenType arg1 ;
3316 PyObject * obj0 = 0 ;
d55e5bfc 3317 char *kwnames[] = {
093d3ff1 3318 (char *) "screen", NULL
d55e5bfc
RD
3319 };
3320
093d3ff1
RD
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3322 {
7449af73 3323 arg1 = static_cast<wxSystemScreenType >(SWIG_As_int(obj0));
093d3ff1
RD
3324 if (SWIG_arg_fail(1)) SWIG_fail;
3325 }
d55e5bfc 3326 {
0439c23b 3327 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 3329 wxSystemSettings::SetScreenType(arg1);
d55e5bfc
RD
3330
3331 wxPyEndAllowThreads(__tstate);
110da5b0 3332 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3333 }
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338}
3339
3340
093d3ff1
RD
3341static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3342 PyObject *obj;
3343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3344 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3345 Py_INCREF(obj);
3346 return Py_BuildValue((char *)"");
3347}
3348static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3349 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3350 return 1;
3351}
3352
3353
3354static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
7449af73 3355 PyObject *pyobj = NULL;
d55e5bfc 3356
d55e5bfc 3357 {
093d3ff1
RD
3358#if wxUSE_UNICODE
3359 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3360#else
3361 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3362#endif
d55e5bfc 3363 }
093d3ff1 3364 return pyobj;
d55e5bfc
RD
3365}
3366
3367
093d3ff1 3368static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3369 PyObject *resultobj = NULL;
093d3ff1 3370 wxSystemOptions *result;
d55e5bfc 3371 char *kwnames[] = {
093d3ff1 3372 NULL
d55e5bfc
RD
3373 };
3374
093d3ff1 3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d55e5bfc
RD
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3378 result = (wxSystemOptions *)new wxSystemOptions();
d55e5bfc
RD
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
093d3ff1 3383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d55e5bfc
RD
3384 return resultobj;
3385 fail:
3386 return NULL;
3387}
3388
3389
093d3ff1 3390static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3391 PyObject *resultobj = NULL;
093d3ff1
RD
3392 wxString *arg1 = 0 ;
3393 wxString *arg2 = 0 ;
3394 bool temp1 = false ;
3395 bool temp2 = false ;
3396 PyObject * obj0 = 0 ;
3397 PyObject * obj1 = 0 ;
d55e5bfc 3398 char *kwnames[] = {
093d3ff1 3399 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3400 };
3401
093d3ff1
RD
3402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3403 {
3404 arg1 = wxString_in_helper(obj0);
3405 if (arg1 == NULL) SWIG_fail;
3406 temp1 = true;
3407 }
3408 {
3409 arg2 = wxString_in_helper(obj1);
3410 if (arg2 == NULL) SWIG_fail;
3411 temp2 = true;
3412 }
d55e5bfc
RD
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3415 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
3416
3417 wxPyEndAllowThreads(__tstate);
110da5b0 3418 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3419 }
3420 Py_INCREF(Py_None); resultobj = Py_None;
093d3ff1
RD
3421 {
3422 if (temp1)
3423 delete arg1;
3424 }
3425 {
3426 if (temp2)
3427 delete arg2;
3428 }
d55e5bfc
RD
3429 return resultobj;
3430 fail:
093d3ff1
RD
3431 {
3432 if (temp1)
3433 delete arg1;
3434 }
3435 {
3436 if (temp2)
3437 delete arg2;
3438 }
d55e5bfc
RD
3439 return NULL;
3440}
3441
3442
093d3ff1 3443static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3444 PyObject *resultobj = NULL;
093d3ff1
RD
3445 wxString *arg1 = 0 ;
3446 int arg2 ;
3447 bool temp1 = false ;
3448 PyObject * obj0 = 0 ;
3449 PyObject * obj1 = 0 ;
d55e5bfc 3450 char *kwnames[] = {
093d3ff1 3451 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3452 };
3453
093d3ff1
RD
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3455 {
3456 arg1 = wxString_in_helper(obj0);
3457 if (arg1 == NULL) SWIG_fail;
3458 temp1 = true;
3459 }
3460 {
7449af73 3461 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
3462 if (SWIG_arg_fail(2)) SWIG_fail;
3463 }
d55e5bfc
RD
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3466 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d55e5bfc
RD
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
093d3ff1 3471 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 3472 {
093d3ff1
RD
3473 if (temp1)
3474 delete arg1;
d55e5bfc
RD
3475 }
3476 return resultobj;
3477 fail:
093d3ff1
RD
3478 {
3479 if (temp1)
3480 delete arg1;
3481 }
d55e5bfc
RD
3482 return NULL;
3483}
3484
3485
093d3ff1 3486static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3487 PyObject *resultobj = NULL;
093d3ff1 3488 wxString *arg1 = 0 ;
d55e5bfc 3489 wxString result;
093d3ff1
RD
3490 bool temp1 = false ;
3491 PyObject * obj0 = 0 ;
d55e5bfc 3492 char *kwnames[] = {
093d3ff1 3493 (char *) "name", NULL
d55e5bfc
RD
3494 };
3495
093d3ff1
RD
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3497 {
3498 arg1 = wxString_in_helper(obj0);
3499 if (arg1 == NULL) SWIG_fail;
3500 temp1 = true;
3501 }
d55e5bfc
RD
3502 {
3503 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3504 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d55e5bfc
RD
3505
3506 wxPyEndAllowThreads(__tstate);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 {
3510#if wxUSE_UNICODE
3511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3512#else
3513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3514#endif
3515 }
093d3ff1
RD
3516 {
3517 if (temp1)
3518 delete arg1;
3519 }
d55e5bfc
RD
3520 return resultobj;
3521 fail:
093d3ff1
RD
3522 {
3523 if (temp1)
3524 delete arg1;
3525 }
d55e5bfc
RD
3526 return NULL;
3527}
3528
3529
093d3ff1 3530static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3531 PyObject *resultobj = NULL;
093d3ff1
RD
3532 wxString *arg1 = 0 ;
3533 int result;
ae8162c8 3534 bool temp1 = false ;
d55e5bfc
RD
3535 PyObject * obj0 = 0 ;
3536 char *kwnames[] = {
093d3ff1 3537 (char *) "name", NULL
d55e5bfc
RD
3538 };
3539
093d3ff1
RD
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3541 {
3542 arg1 = wxString_in_helper(obj0);
3543 if (arg1 == NULL) SWIG_fail;
3544 temp1 = true;
d55e5bfc
RD
3545 }
3546 {
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3548 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d55e5bfc
RD
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 {
7449af73 3554 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
3555 }
3556 {
3557 if (temp1)
3558 delete arg1;
3559 }
3560 return resultobj;
3561 fail:
3562 {
3563 if (temp1)
3564 delete arg1;
3565 }
3566 return NULL;
3567}
3568
3569
093d3ff1 3570static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3571 PyObject *resultobj = NULL;
093d3ff1
RD
3572 wxString *arg1 = 0 ;
3573 bool result;
3574 bool temp1 = false ;
3575 PyObject * obj0 = 0 ;
d55e5bfc 3576 char *kwnames[] = {
093d3ff1 3577 (char *) "name", NULL
d55e5bfc
RD
3578 };
3579
093d3ff1
RD
3580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3581 {
3582 arg1 = wxString_in_helper(obj0);
3583 if (arg1 == NULL) SWIG_fail;
3584 temp1 = true;
3585 }
d55e5bfc
RD
3586 {
3587 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3588 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d55e5bfc
RD
3589
3590 wxPyEndAllowThreads(__tstate);
3591 if (PyErr_Occurred()) SWIG_fail;
3592 }
093d3ff1
RD
3593 {
3594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3595 }
3596 {
3597 if (temp1)
3598 delete arg1;
3599 }
d55e5bfc
RD
3600 return resultobj;
3601 fail:
093d3ff1
RD
3602 {
3603 if (temp1)
3604 delete arg1;
3605 }
d55e5bfc
RD
3606 return NULL;
3607}
3608
3609
396fb509 3610static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3611 PyObject *resultobj = NULL;
396fb509
RD
3612 wxString *arg1 = 0 ;
3613 bool result;
3614 bool temp1 = false ;
3615 PyObject * obj0 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "name", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
3621 {
3622 arg1 = wxString_in_helper(obj0);
3623 if (arg1 == NULL) SWIG_fail;
3624 temp1 = true;
3625 }
3626 {
3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
3628 result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
3629
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 {
3634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3635 }
3636 {
3637 if (temp1)
3638 delete arg1;
3639 }
3640 return resultobj;
3641 fail:
3642 {
3643 if (temp1)
3644 delete arg1;
3645 }
3646 return NULL;
3647}
3648
3649
093d3ff1
RD
3650static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3651 PyObject *obj;
3652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3653 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3654 Py_INCREF(obj);
3655 return Py_BuildValue((char *)"");
3656}
3657static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3658 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3659 return 1;
3660}
3661
3662
3663static PyObject *_wrap_FileSelectorPromptStr_get(void) {
7449af73 3664 PyObject *pyobj = NULL;
093d3ff1
RD
3665
3666 {
3667#if wxUSE_UNICODE
3668 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3669#else
3670 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3671#endif
3672 }
3673 return pyobj;
3674}
3675
3676
3677static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3678 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3679 return 1;
3680}
3681
3682
3683static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
7449af73 3684 PyObject *pyobj = NULL;
093d3ff1
RD
3685
3686 {
3687#if wxUSE_UNICODE
3688 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3689#else
3690 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3691#endif
3692 }
3693 return pyobj;
3694}
3695
3696
3697static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3698 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3699 return 1;
3700}
3701
3702
3703static PyObject *_wrap_DirSelectorPromptStr_get(void) {
7449af73 3704 PyObject *pyobj = NULL;
093d3ff1
RD
3705
3706 {
3707#if wxUSE_UNICODE
3708 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3709#else
3710 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3711#endif
3712 }
3713 return pyobj;
3714}
3715
3716
3717static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3718 PyObject *resultobj = NULL;
093d3ff1 3719 long result;
d55e5bfc
RD
3720 char *kwnames[] = {
3721 NULL
3722 };
3723
093d3ff1 3724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d55e5bfc
RD
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3727 result = (long)wxNewId();
d55e5bfc
RD
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) SWIG_fail;
3731 }
093d3ff1 3732 {
7449af73 3733 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 3734 }
d55e5bfc
RD
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
093d3ff1 3741static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3742 PyObject *resultobj = NULL;
093d3ff1
RD
3743 long arg1 ;
3744 PyObject * obj0 = 0 ;
d55e5bfc 3745 char *kwnames[] = {
093d3ff1 3746 (char *) "id", NULL
d55e5bfc
RD
3747 };
3748
093d3ff1
RD
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3750 {
7449af73 3751 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
3752 if (SWIG_arg_fail(1)) SWIG_fail;
3753 }
d55e5bfc
RD
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3756 wxRegisterId(arg1);
d55e5bfc
RD
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
093d3ff1 3761 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3762 return resultobj;
3763 fail:
3764 return NULL;
3765}
3766
3767
093d3ff1 3768static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3769 PyObject *resultobj = NULL;
d55e5bfc
RD
3770 long result;
3771 char *kwnames[] = {
3772 NULL
3773 };
3774
093d3ff1 3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d55e5bfc
RD
3776 {
3777 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3778 result = (long)wxGetCurrentId();
d55e5bfc
RD
3779
3780 wxPyEndAllowThreads(__tstate);
3781 if (PyErr_Occurred()) SWIG_fail;
3782 }
093d3ff1 3783 {
7449af73 3784 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 3785 }
d55e5bfc
RD
3786 return resultobj;
3787 fail:
3788 return NULL;
3789}
3790
3791
093d3ff1 3792static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3793 PyObject *resultobj = NULL;
d55e5bfc
RD
3794 int arg1 ;
3795 bool result;
3796 PyObject * obj0 = 0 ;
3797 char *kwnames[] = {
093d3ff1 3798 (char *) "id", NULL
d55e5bfc
RD
3799 };
3800
093d3ff1
RD
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3802 {
7449af73 3803 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3804 if (SWIG_arg_fail(1)) SWIG_fail;
3805 }
d55e5bfc
RD
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3808 result = (bool)wxIsStockID(arg1);
d55e5bfc
RD
3809
3810 wxPyEndAllowThreads(__tstate);
110da5b0 3811 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3812 }
3813 {
3814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3815 }
3816 return resultobj;
3817 fail:
3818 return NULL;
3819}
3820
3821
093d3ff1 3822static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3823 PyObject *resultobj = NULL;
d55e5bfc 3824 int arg1 ;
093d3ff1
RD
3825 wxString *arg2 = 0 ;
3826 bool result;
3827 bool temp2 = false ;
d55e5bfc 3828 PyObject * obj0 = 0 ;
093d3ff1 3829 PyObject * obj1 = 0 ;
d55e5bfc 3830 char *kwnames[] = {
093d3ff1 3831 (char *) "id",(char *) "label", NULL
d55e5bfc
RD
3832 };
3833
093d3ff1
RD
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3835 {
7449af73 3836 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3837 if (SWIG_arg_fail(1)) SWIG_fail;
3838 }
3839 {
3840 arg2 = wxString_in_helper(obj1);
3841 if (arg2 == NULL) SWIG_fail;
3842 temp2 = true;
3843 }
d55e5bfc
RD
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3846 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d55e5bfc
RD
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
093d3ff1
RD
3851 {
3852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3853 }
3854 {
3855 if (temp2)
3856 delete arg2;
3857 }
d55e5bfc
RD
3858 return resultobj;
3859 fail:
093d3ff1
RD
3860 {
3861 if (temp2)
3862 delete arg2;
3863 }
d55e5bfc
RD
3864 return NULL;
3865}
3866
3867
093d3ff1 3868static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3869 PyObject *resultobj = NULL;
093d3ff1 3870 int arg1 ;
fef4c27a
RD
3871 bool arg2 = (bool) true ;
3872 wxString arg3 = (wxString) wxPyEmptyString ;
093d3ff1 3873 wxString result;
d55e5bfc 3874 PyObject * obj0 = 0 ;
fef4c27a
RD
3875 PyObject * obj1 = 0 ;
3876 PyObject * obj2 = 0 ;
d55e5bfc 3877 char *kwnames[] = {
fef4c27a 3878 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d55e5bfc
RD
3879 };
3880
fef4c27a 3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 3882 {
7449af73 3883 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
3884 if (SWIG_arg_fail(1)) SWIG_fail;
3885 }
fef4c27a
RD
3886 if (obj1) {
3887 {
7449af73 3888 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
fef4c27a
RD
3889 if (SWIG_arg_fail(2)) SWIG_fail;
3890 }
3891 }
3892 if (obj2) {
3893 {
3894 wxString* sptr = wxString_in_helper(obj2);
3895 if (sptr == NULL) SWIG_fail;
3896 arg3 = *sptr;
3897 delete sptr;
3898 }
3899 }
d55e5bfc
RD
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3902 result = wxGetStockLabel(arg1,arg2,arg3);
bf26d883
RD
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
093d3ff1
RD
3907 {
3908#if wxUSE_UNICODE
3909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3910#else
3911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3912#endif
3913 }
bf26d883
RD
3914 return resultobj;
3915 fail:
3916 return NULL;
3917}
3918
3919
093d3ff1 3920static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3921 PyObject *resultobj = NULL;
bf26d883 3922 char *kwnames[] = {
093d3ff1 3923 NULL
bf26d883
RD
3924 };
3925
093d3ff1 3926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
bf26d883 3927 {
093d3ff1 3928 if (!wxPyCheckForApp()) SWIG_fail;
bf26d883 3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3930 wxBell();
d55e5bfc
RD
3931
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 Py_INCREF(Py_None); resultobj = Py_None;
3936 return resultobj;
3937 fail:
3938 return NULL;
3939}
3940
3941
093d3ff1 3942static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3943 PyObject *resultobj = NULL;
d55e5bfc 3944 char *kwnames[] = {
093d3ff1 3945 NULL
d55e5bfc
RD
3946 };
3947
093d3ff1 3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d55e5bfc 3949 {
093d3ff1 3950 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3952 wxEndBusyCursor();
d55e5bfc
RD
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 Py_INCREF(Py_None); resultobj = Py_None;
3958 return resultobj;
3959 fail:
3960 return NULL;
3961}
3962
3963
093d3ff1 3964static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3965 PyObject *resultobj = NULL;
093d3ff1
RD
3966 bool arg1 = (bool) true ;
3967 long result;
d55e5bfc
RD
3968 PyObject * obj0 = 0 ;
3969 char *kwnames[] = {
093d3ff1 3970 (char *) "resetTimer", NULL
d55e5bfc
RD
3971 };
3972
093d3ff1
RD
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3974 if (obj0) {
3975 {
7449af73 3976 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
3977 if (SWIG_arg_fail(1)) SWIG_fail;
3978 }
d55e5bfc
RD
3979 }
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3982 result = (long)wxGetElapsedTime(arg1);
d55e5bfc
RD
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 {
7449af73 3988 resultobj = SWIG_From_long(static_cast<long >(result));
d55e5bfc 3989 }
093d3ff1
RD
3990 return resultobj;
3991 fail:
d55e5bfc
RD
3992 return NULL;
3993}
3994
3995
093d3ff1 3996static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 3997 PyObject *resultobj = NULL;
093d3ff1 3998 bool result;
d55e5bfc
RD
3999 char *kwnames[] = {
4000 NULL
4001 };
4002
093d3ff1 4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
d55e5bfc
RD
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4006 result = (bool)wxIsBusy();
d55e5bfc
RD
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 {
093d3ff1 4012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4013 }
4014 return resultobj;
4015 fail:
4016 return NULL;
4017}
4018
4019
093d3ff1 4020static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4021 PyObject *resultobj = NULL;
d55e5bfc
RD
4022 wxString result;
4023 char *kwnames[] = {
4024 NULL
4025 };
4026
093d3ff1 4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d55e5bfc
RD
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4030 result = wxNow();
d55e5bfc
RD
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 {
4036#if wxUSE_UNICODE
4037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4038#else
4039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4040#endif
4041 }
4042 return resultobj;
4043 fail:
4044 return NULL;
4045}
4046
4047
093d3ff1 4048static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4049 PyObject *resultobj = NULL;
093d3ff1
RD
4050 wxString const &arg1_defvalue = wxPyEmptyString ;
4051 wxString *arg1 = (wxString *) &arg1_defvalue ;
4052 bool result;
4053 bool temp1 = false ;
4054 PyObject * obj0 = 0 ;
d55e5bfc 4055 char *kwnames[] = {
093d3ff1 4056 (char *) "command", NULL
d55e5bfc
RD
4057 };
4058
093d3ff1
RD
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
4060 if (obj0) {
4061 {
4062 arg1 = wxString_in_helper(obj0);
4063 if (arg1 == NULL) SWIG_fail;
4064 temp1 = true;
4065 }
4066 }
d55e5bfc
RD
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4069 result = (bool)wxShell((wxString const &)*arg1);
d55e5bfc
RD
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 {
093d3ff1
RD
4075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4076 }
4077 {
4078 if (temp1)
4079 delete arg1;
d55e5bfc
RD
4080 }
4081 return resultobj;
4082 fail:
093d3ff1
RD
4083 {
4084 if (temp1)
4085 delete arg1;
4086 }
d55e5bfc
RD
4087 return NULL;
4088}
4089
4090
093d3ff1 4091static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4092 PyObject *resultobj = NULL;
d55e5bfc
RD
4093 char *kwnames[] = {
4094 NULL
4095 };
4096
093d3ff1 4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d55e5bfc
RD
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4100 wxStartTimer();
d55e5bfc
RD
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
093d3ff1
RD
4105 Py_INCREF(Py_None); resultobj = Py_None;
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
4112static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4113 PyObject *resultobj = NULL;
093d3ff1
RD
4114 int *arg1 = (int *) 0 ;
4115 int *arg2 = (int *) 0 ;
4116 int result;
4117 int temp1 ;
4118 int res1 = 0 ;
4119 int temp2 ;
4120 int res2 = 0 ;
4121 char *kwnames[] = {
4122 NULL
4123 };
4124
4125 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4126 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
d55e5bfc 4128 {
093d3ff1
RD
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (int)wxGetOsVersion(arg1,arg2);
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4134 }
093d3ff1 4135 {
7449af73 4136 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
4137 }
4138 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4139 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4140 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4141 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4142 return resultobj;
4143 fail:
4144 return NULL;
4145}
4146
4147
093d3ff1 4148static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4149 PyObject *resultobj = NULL;
d55e5bfc
RD
4150 wxString result;
4151 char *kwnames[] = {
4152 NULL
4153 };
4154
093d3ff1 4155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d55e5bfc
RD
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4158 result = wxGetOsDescription();
d55e5bfc
RD
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 {
4164#if wxUSE_UNICODE
4165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4166#else
4167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4168#endif
4169 }
4170 return resultobj;
4171 fail:
4172 return NULL;
4173}
4174
4175
093d3ff1 4176static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4177 PyObject *resultobj = NULL;
2f91e3df 4178 wxMemorySize result;
d55e5bfc
RD
4179 char *kwnames[] = {
4180 NULL
4181 };
4182
093d3ff1 4183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d55e5bfc
RD
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f91e3df 4186 result = wxGetFreeMemory();
d55e5bfc
RD
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 {
2f91e3df 4192 wxMemorySize * resultptr;
7449af73 4193 resultptr = new wxMemorySize(static_cast<wxMemorySize & >(result));
2f91e3df 4194 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1);
d55e5bfc
RD
4195 }
4196 return resultobj;
4197 fail:
4198 return NULL;
4199}
4200
4201
093d3ff1 4202static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4203 PyObject *resultobj = NULL;
093d3ff1
RD
4204 wxShutdownFlags arg1 ;
4205 bool result;
d55e5bfc
RD
4206 PyObject * obj0 = 0 ;
4207 char *kwnames[] = {
093d3ff1 4208 (char *) "wFlags", NULL
d55e5bfc
RD
4209 };
4210
093d3ff1
RD
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4212 {
7449af73 4213 arg1 = static_cast<wxShutdownFlags >(SWIG_As_int(obj0));
093d3ff1 4214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4215 }
4216 {
093d3ff1 4217 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 4219 result = (bool)wxShutdown(arg1);
d55e5bfc
RD
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 {
093d3ff1 4225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4226 }
4227 return resultobj;
4228 fail:
d55e5bfc
RD
4229 return NULL;
4230}
4231
4232
093d3ff1 4233static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4234 PyObject *resultobj = NULL;
093d3ff1
RD
4235 int arg1 ;
4236 PyObject * obj0 = 0 ;
d55e5bfc 4237 char *kwnames[] = {
093d3ff1 4238 (char *) "secs", NULL
d55e5bfc
RD
4239 };
4240
093d3ff1
RD
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4242 {
7449af73 4243 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
4244 if (SWIG_arg_fail(1)) SWIG_fail;
4245 }
d55e5bfc
RD
4246 {
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4248 wxSleep(arg1);
d55e5bfc
RD
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) SWIG_fail;
4252 }
093d3ff1 4253 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4254 return resultobj;
4255 fail:
4256 return NULL;
4257}
4258
4259
093d3ff1 4260static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4261 PyObject *resultobj = NULL;
093d3ff1
RD
4262 unsigned long arg1 ;
4263 PyObject * obj0 = 0 ;
d55e5bfc 4264 char *kwnames[] = {
093d3ff1 4265 (char *) "milliseconds", NULL
d55e5bfc
RD
4266 };
4267
093d3ff1
RD
4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4269 {
7449af73 4270 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
4271 if (SWIG_arg_fail(1)) SWIG_fail;
4272 }
d55e5bfc
RD
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4275 wxMilliSleep(arg1);
d55e5bfc
RD
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 Py_INCREF(Py_None); resultobj = Py_None;
4281 return resultobj;
4282 fail:
4283 return NULL;
4284}
4285
4286
093d3ff1 4287static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4288 PyObject *resultobj = NULL;
093d3ff1 4289 unsigned long arg1 ;
d55e5bfc 4290 PyObject * obj0 = 0 ;
d55e5bfc 4291 char *kwnames[] = {
093d3ff1 4292 (char *) "microseconds", NULL
d55e5bfc
RD
4293 };
4294
093d3ff1
RD
4295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4296 {
7449af73 4297 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1 4298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4299 }
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4302 wxMicroSleep(arg1);
d55e5bfc
RD
4303
4304 wxPyEndAllowThreads(__tstate);
110da5b0 4305 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4306 }
093d3ff1 4307 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4308 return resultobj;
4309 fail:
093d3ff1
RD
4310 return NULL;
4311}
4312
4313
4314static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4315 PyObject *resultobj = NULL;
093d3ff1
RD
4316 bool arg1 ;
4317 PyObject * obj0 = 0 ;
4318 char *kwnames[] = {
4319 (char *) "enable", NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
d55e5bfc 4323 {
7449af73 4324 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1 4325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4326 }
4327 {
093d3ff1
RD
4328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4329 wxEnableTopLevelWindows(arg1);
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4333 }
093d3ff1
RD
4334 Py_INCREF(Py_None); resultobj = Py_None;
4335 return resultobj;
4336 fail:
d55e5bfc
RD
4337 return NULL;
4338}
4339
4340
093d3ff1 4341static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4342 PyObject *resultobj = NULL;
d55e5bfc 4343 wxString *arg1 = 0 ;
d55e5bfc 4344 wxString result;
ae8162c8 4345 bool temp1 = false ;
d55e5bfc 4346 PyObject * obj0 = 0 ;
d55e5bfc 4347 char *kwnames[] = {
093d3ff1 4348 (char *) "in", NULL
d55e5bfc
RD
4349 };
4350
093d3ff1 4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4352 {
4353 arg1 = wxString_in_helper(obj0);
4354 if (arg1 == NULL) SWIG_fail;
ae8162c8 4355 temp1 = true;
d55e5bfc
RD
4356 }
4357 {
d55e5bfc 4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4359 result = wxStripMenuCodes((wxString const &)*arg1);
d55e5bfc
RD
4360
4361 wxPyEndAllowThreads(__tstate);
110da5b0 4362 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4363 }
4364 {
4365#if wxUSE_UNICODE
4366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4367#else
4368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4369#endif
4370 }
4371 {
4372 if (temp1)
4373 delete arg1;
4374 }
d55e5bfc
RD
4375 return resultobj;
4376 fail:
4377 {
4378 if (temp1)
4379 delete arg1;
4380 }
d55e5bfc
RD
4381 return NULL;
4382}
4383
4384
093d3ff1 4385static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4386 PyObject *resultobj = NULL;
d55e5bfc 4387 wxString result;
d55e5bfc 4388 char *kwnames[] = {
093d3ff1 4389 NULL
d55e5bfc
RD
4390 };
4391
093d3ff1 4392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d55e5bfc
RD
4393 {
4394 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4395 result = wxGetEmailAddress();
d55e5bfc
RD
4396
4397 wxPyEndAllowThreads(__tstate);
110da5b0 4398 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4399 }
4400 {
4401#if wxUSE_UNICODE
4402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4403#else
4404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4405#endif
4406 }
d55e5bfc
RD
4407 return resultobj;
4408 fail:
093d3ff1
RD
4409 return NULL;
4410}
4411
4412
4413static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4414 PyObject *resultobj = NULL;
093d3ff1
RD
4415 wxString result;
4416 char *kwnames[] = {
4417 NULL
4418 };
4419
4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d55e5bfc 4421 {
093d3ff1
RD
4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
4423 result = wxGetHostName();
4424
4425 wxPyEndAllowThreads(__tstate);
4426 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4427 }
4428 {
093d3ff1
RD
4429#if wxUSE_UNICODE
4430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4431#else
4432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4433#endif
d55e5bfc 4434 }
093d3ff1
RD
4435 return resultobj;
4436 fail:
d55e5bfc
RD
4437 return NULL;
4438}
4439
4440
093d3ff1 4441static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4442 PyObject *resultobj = NULL;
d55e5bfc 4443 wxString result;
093d3ff1
RD
4444 char *kwnames[] = {
4445 NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 result = wxGetFullHostName();
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 {
4457#if wxUSE_UNICODE
4458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4459#else
4460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4461#endif
4462 }
4463 return resultobj;
4464 fail:
4465 return NULL;
4466}
4467
4468
4469static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4470 PyObject *resultobj = NULL;
093d3ff1
RD
4471 wxString result;
4472 char *kwnames[] = {
4473 NULL
4474 };
4475
4476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
4477 {
4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4479 result = wxGetUserId();
4480
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 {
4485#if wxUSE_UNICODE
4486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4487#else
4488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4489#endif
4490 }
4491 return resultobj;
4492 fail:
4493 return NULL;
4494}
4495
4496
4497static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4498 PyObject *resultobj = NULL;
093d3ff1
RD
4499 wxString result;
4500 char *kwnames[] = {
4501 NULL
4502 };
4503
4504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = wxGetUserName();
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 {
4513#if wxUSE_UNICODE
4514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4515#else
4516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4517#endif
4518 }
4519 return resultobj;
4520 fail:
4521 return NULL;
4522}
4523
4524
4525static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4526 PyObject *resultobj = NULL;
093d3ff1
RD
4527 wxString result;
4528 char *kwnames[] = {
4529 NULL
4530 };
4531
4532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 result = wxGetHomeDir();
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 {
4541#if wxUSE_UNICODE
4542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4543#else
4544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4545#endif
4546 }
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
4553static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4554 PyObject *resultobj = NULL;
093d3ff1
RD
4555 wxString const &arg1_defvalue = wxPyEmptyString ;
4556 wxString *arg1 = (wxString *) &arg1_defvalue ;
4557 wxString result;
4558 bool temp1 = false ;
d55e5bfc 4559 PyObject * obj0 = 0 ;
d55e5bfc 4560 char *kwnames[] = {
093d3ff1 4561 (char *) "user", NULL
d55e5bfc
RD
4562 };
4563
093d3ff1 4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4565 if (obj0) {
4566 {
4567 arg1 = wxString_in_helper(obj0);
4568 if (arg1 == NULL) SWIG_fail;
ae8162c8 4569 temp1 = true;
d55e5bfc
RD
4570 }
4571 }
d55e5bfc
RD
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4574 result = wxGetUserHome((wxString const &)*arg1);
d55e5bfc
RD
4575
4576 wxPyEndAllowThreads(__tstate);
110da5b0 4577 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4578 }
4579 {
4580#if wxUSE_UNICODE
4581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4582#else
4583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4584#endif
4585 }
4586 {
4587 if (temp1)
4588 delete arg1;
4589 }
d55e5bfc
RD
4590 return resultobj;
4591 fail:
4592 {
4593 if (temp1)
4594 delete arg1;
4595 }
093d3ff1
RD
4596 return NULL;
4597}
4598
4599
4600static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4601 PyObject *resultobj = NULL;
093d3ff1
RD
4602 unsigned long result;
4603 char *kwnames[] = {
4604 NULL
4605 };
4606
4607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (unsigned long)wxGetProcessId();
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
d55e5bfc 4615 {
7449af73 4616 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
d55e5bfc 4617 }
093d3ff1
RD
4618 return resultobj;
4619 fail:
d55e5bfc
RD
4620 return NULL;
4621}
4622
4623
093d3ff1 4624static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4625 PyObject *resultobj = NULL;
093d3ff1
RD
4626 char *kwnames[] = {
4627 NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 wxTrap();
4634
4635 wxPyEndAllowThreads(__tstate);
4636 if (PyErr_Occurred()) SWIG_fail;
4637 }
4638 Py_INCREF(Py_None); resultobj = Py_None;
4639 return resultobj;
4640 fail:
4641 return NULL;
4642}
4643
4644
4645static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4646 PyObject *resultobj = NULL;
093d3ff1
RD
4647 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4648 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
4649 wxString const &arg2_defvalue = wxPyEmptyString ;
4650 wxString *arg2 = (wxString *) &arg2_defvalue ;
4651 wxString const &arg3_defvalue = wxPyEmptyString ;
4652 wxString *arg3 = (wxString *) &arg3_defvalue ;
093d3ff1
RD
4653 wxString const &arg4_defvalue = wxPyEmptyString ;
4654 wxString *arg4 = (wxString *) &arg4_defvalue ;
4655 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4656 wxString *arg5 = (wxString *) &arg5_defvalue ;
4657 int arg6 = (int) 0 ;
4658 wxWindow *arg7 = (wxWindow *) NULL ;
4659 int arg8 = (int) -1 ;
4660 int arg9 = (int) -1 ;
d55e5bfc 4661 wxString result;
ae8162c8
RD
4662 bool temp1 = false ;
4663 bool temp2 = false ;
4664 bool temp3 = false ;
093d3ff1
RD
4665 bool temp4 = false ;
4666 bool temp5 = false ;
d55e5bfc
RD
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 PyObject * obj3 = 0 ;
4671 PyObject * obj4 = 0 ;
4672 PyObject * obj5 = 0 ;
4673 PyObject * obj6 = 0 ;
093d3ff1
RD
4674 PyObject * obj7 = 0 ;
4675 PyObject * obj8 = 0 ;
d55e5bfc 4676 char *kwnames[] = {
093d3ff1 4677 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
4678 };
4679
093d3ff1
RD
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4681 if (obj0) {
4682 {
4683 arg1 = wxString_in_helper(obj0);
4684 if (arg1 == NULL) SWIG_fail;
4685 temp1 = true;
4686 }
d55e5bfc
RD
4687 }
4688 if (obj1) {
4689 {
4690 arg2 = wxString_in_helper(obj1);
4691 if (arg2 == NULL) SWIG_fail;
ae8162c8 4692 temp2 = true;
d55e5bfc
RD
4693 }
4694 }
4695 if (obj2) {
4696 {
4697 arg3 = wxString_in_helper(obj2);
4698 if (arg3 == NULL) SWIG_fail;
ae8162c8 4699 temp3 = true;
d55e5bfc
RD
4700 }
4701 }
4702 if (obj3) {
093d3ff1
RD
4703 {
4704 arg4 = wxString_in_helper(obj3);
4705 if (arg4 == NULL) SWIG_fail;
4706 temp4 = true;
4707 }
d55e5bfc
RD
4708 }
4709 if (obj4) {
093d3ff1
RD
4710 {
4711 arg5 = wxString_in_helper(obj4);
4712 if (arg5 == NULL) SWIG_fail;
4713 temp5 = true;
4714 }
d55e5bfc
RD
4715 }
4716 if (obj5) {
093d3ff1 4717 {
7449af73 4718 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
4719 if (SWIG_arg_fail(6)) SWIG_fail;
4720 }
d55e5bfc
RD
4721 }
4722 if (obj6) {
093d3ff1
RD
4723 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(7)) SWIG_fail;
4725 }
4726 if (obj7) {
4727 {
7449af73 4728 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
4729 if (SWIG_arg_fail(8)) SWIG_fail;
4730 }
4731 }
4732 if (obj8) {
4733 {
7449af73 4734 arg9 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
4735 if (SWIG_arg_fail(9)) SWIG_fail;
4736 }
d55e5bfc
RD
4737 }
4738 {
0439c23b 4739 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4741 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d55e5bfc
RD
4742
4743 wxPyEndAllowThreads(__tstate);
110da5b0 4744 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4745 }
4746 {
4747#if wxUSE_UNICODE
4748 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4749#else
4750 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4751#endif
4752 }
4753 {
4754 if (temp1)
4755 delete arg1;
4756 }
4757 {
4758 if (temp2)
4759 delete arg2;
4760 }
4761 {
4762 if (temp3)
4763 delete arg3;
4764 }
d55e5bfc 4765 {
093d3ff1
RD
4766 if (temp4)
4767 delete arg4;
4768 }
4769 {
4770 if (temp5)
4771 delete arg5;
4772 }
4773 return resultobj;
4774 fail:
4775 {
4776 if (temp1)
4777 delete arg1;
d55e5bfc
RD
4778 }
4779 {
4780 if (temp2)
4781 delete arg2;
4782 }
4783 {
4784 if (temp3)
4785 delete arg3;
4786 }
093d3ff1
RD
4787 {
4788 if (temp4)
4789 delete arg4;
4790 }
4791 {
4792 if (temp5)
4793 delete arg5;
4794 }
d55e5bfc
RD
4795 return NULL;
4796}
4797
4798
093d3ff1 4799static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4800 PyObject *resultobj = NULL;
d55e5bfc 4801 wxString *arg1 = 0 ;
093d3ff1 4802 wxString *arg2 = 0 ;
d55e5bfc
RD
4803 wxString const &arg3_defvalue = wxPyEmptyString ;
4804 wxString *arg3 = (wxString *) &arg3_defvalue ;
4805 wxWindow *arg4 = (wxWindow *) NULL ;
4806 wxString result;
ae8162c8
RD
4807 bool temp1 = false ;
4808 bool temp2 = false ;
4809 bool temp3 = false ;
d55e5bfc
RD
4810 PyObject * obj0 = 0 ;
4811 PyObject * obj1 = 0 ;
4812 PyObject * obj2 = 0 ;
4813 PyObject * obj3 = 0 ;
4814 char *kwnames[] = {
093d3ff1 4815 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4816 };
4817
093d3ff1 4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4819 {
4820 arg1 = wxString_in_helper(obj0);
4821 if (arg1 == NULL) SWIG_fail;
ae8162c8 4822 temp1 = true;
d55e5bfc 4823 }
093d3ff1
RD
4824 {
4825 arg2 = wxString_in_helper(obj1);
4826 if (arg2 == NULL) SWIG_fail;
4827 temp2 = true;
d55e5bfc
RD
4828 }
4829 if (obj2) {
4830 {
4831 arg3 = wxString_in_helper(obj2);
4832 if (arg3 == NULL) SWIG_fail;
ae8162c8 4833 temp3 = true;
d55e5bfc
RD
4834 }
4835 }
4836 if (obj3) {
093d3ff1
RD
4837 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4838 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4839 }
4840 {
0439c23b 4841 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4842 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4843 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4844
4845 wxPyEndAllowThreads(__tstate);
110da5b0 4846 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4847 }
4848 {
4849#if wxUSE_UNICODE
4850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4851#else
4852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4853#endif
4854 }
4855 {
4856 if (temp1)
4857 delete arg1;
4858 }
4859 {
4860 if (temp2)
4861 delete arg2;
4862 }
4863 {
4864 if (temp3)
4865 delete arg3;
4866 }
4867 return resultobj;
4868 fail:
4869 {
4870 if (temp1)
4871 delete arg1;
4872 }
4873 {
4874 if (temp2)
4875 delete arg2;
4876 }
4877 {
4878 if (temp3)
4879 delete arg3;
4880 }
4881 return NULL;
4882}
4883
4884
093d3ff1 4885static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4886 PyObject *resultobj = NULL;
d55e5bfc
RD
4887 wxString *arg1 = 0 ;
4888 wxString *arg2 = 0 ;
093d3ff1
RD
4889 wxString const &arg3_defvalue = wxPyEmptyString ;
4890 wxString *arg3 = (wxString *) &arg3_defvalue ;
4891 wxWindow *arg4 = (wxWindow *) NULL ;
d55e5bfc 4892 wxString result;
ae8162c8
RD
4893 bool temp1 = false ;
4894 bool temp2 = false ;
093d3ff1 4895 bool temp3 = false ;
d55e5bfc
RD
4896 PyObject * obj0 = 0 ;
4897 PyObject * obj1 = 0 ;
4898 PyObject * obj2 = 0 ;
4899 PyObject * obj3 = 0 ;
d55e5bfc 4900 char *kwnames[] = {
093d3ff1 4901 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4902 };
4903
093d3ff1 4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4905 {
4906 arg1 = wxString_in_helper(obj0);
4907 if (arg1 == NULL) SWIG_fail;
ae8162c8 4908 temp1 = true;
d55e5bfc
RD
4909 }
4910 {
4911 arg2 = wxString_in_helper(obj1);
4912 if (arg2 == NULL) SWIG_fail;
ae8162c8 4913 temp2 = true;
d55e5bfc 4914 }
093d3ff1
RD
4915 if (obj2) {
4916 {
4917 arg3 = wxString_in_helper(obj2);
4918 if (arg3 == NULL) SWIG_fail;
4919 temp3 = true;
4920 }
d55e5bfc
RD
4921 }
4922 if (obj3) {
093d3ff1
RD
4923 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4924 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4925 }
4926 {
0439c23b 4927 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 4929 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4930
4931 wxPyEndAllowThreads(__tstate);
110da5b0 4932 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4933 }
4934 {
4935#if wxUSE_UNICODE
4936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4937#else
4938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4939#endif
4940 }
4941 {
4942 if (temp1)
4943 delete arg1;
4944 }
4945 {
4946 if (temp2)
4947 delete arg2;
4948 }
4949 {
093d3ff1
RD
4950 if (temp3)
4951 delete arg3;
d55e5bfc
RD
4952 }
4953 return resultobj;
4954 fail:
4955 {
4956 if (temp1)
4957 delete arg1;
4958 }
4959 {
4960 if (temp2)
4961 delete arg2;
4962 }
4963 {
093d3ff1
RD
4964 if (temp3)
4965 delete arg3;
d55e5bfc
RD
4966 }
4967 return NULL;
4968}
4969
4970
093d3ff1 4971static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 4972 PyObject *resultobj = NULL;
093d3ff1
RD
4973 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4974 wxString *arg1 = (wxString *) &arg1_defvalue ;
4975 wxString const &arg2_defvalue = wxPyEmptyString ;
4976 wxString *arg2 = (wxString *) &arg2_defvalue ;
4977 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
d55e5bfc 4980 wxWindow *arg5 = (wxWindow *) NULL ;
093d3ff1 4981 wxString result;
ae8162c8
RD
4982 bool temp1 = false ;
4983 bool temp2 = false ;
093d3ff1 4984 wxPoint temp4 ;
d55e5bfc
RD
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj1 = 0 ;
4987 PyObject * obj2 = 0 ;
4988 PyObject * obj3 = 0 ;
4989 PyObject * obj4 = 0 ;
d55e5bfc 4990 char *kwnames[] = {
093d3ff1 4991 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
d55e5bfc
RD
4992 };
4993
093d3ff1
RD
4994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4995 if (obj0) {
4996 {
4997 arg1 = wxString_in_helper(obj0);
4998 if (arg1 == NULL) SWIG_fail;
4999 temp1 = true;
5000 }
d55e5bfc 5001 }
093d3ff1
RD
5002 if (obj1) {
5003 {
5004 arg2 = wxString_in_helper(obj1);
5005 if (arg2 == NULL) SWIG_fail;
5006 temp2 = true;
5007 }
d55e5bfc 5008 }
093d3ff1
RD
5009 if (obj2) {
5010 {
7449af73 5011 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
5012 if (SWIG_arg_fail(3)) SWIG_fail;
5013 }
d55e5bfc
RD
5014 }
5015 if (obj3) {
093d3ff1
RD
5016 {
5017 arg4 = &temp4;
5018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5019 }
d55e5bfc
RD
5020 }
5021 if (obj4) {
093d3ff1
RD
5022 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5023 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
5024 }
5025 {
0439c23b 5026 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5028 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
d55e5bfc
RD
5029
5030 wxPyEndAllowThreads(__tstate);
110da5b0 5031 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5032 }
093d3ff1
RD
5033 {
5034#if wxUSE_UNICODE
5035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5036#else
5037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5038#endif
5039 }
d55e5bfc
RD
5040 {
5041 if (temp1)
5042 delete arg1;
5043 }
5044 {
5045 if (temp2)
5046 delete arg2;
5047 }
d55e5bfc
RD
5048 return resultobj;
5049 fail:
5050 {
5051 if (temp1)
5052 delete arg1;
5053 }
5054 {
5055 if (temp2)
5056 delete arg2;
5057 }
d55e5bfc
RD
5058 return NULL;
5059}
5060
5061
093d3ff1 5062static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5063 PyObject *resultobj = NULL;
d55e5bfc
RD
5064 wxString *arg1 = 0 ;
5065 wxString const &arg2_defvalue = wxPyEmptyString ;
5066 wxString *arg2 = (wxString *) &arg2_defvalue ;
093d3ff1
RD
5067 wxString const &arg3_defvalue = wxPyEmptyString ;
5068 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5069 wxWindow *arg4 = (wxWindow *) NULL ;
5070 int arg5 = (int) -1 ;
5071 int arg6 = (int) -1 ;
093d3ff1
RD
5072 bool arg7 = (bool) true ;
5073 wxString result;
ae8162c8
RD
5074 bool temp1 = false ;
5075 bool temp2 = false ;
093d3ff1 5076 bool temp3 = false ;
d55e5bfc
RD
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 PyObject * obj2 = 0 ;
5080 PyObject * obj3 = 0 ;
5081 PyObject * obj4 = 0 ;
5082 PyObject * obj5 = 0 ;
093d3ff1 5083 PyObject * obj6 = 0 ;
d55e5bfc 5084 char *kwnames[] = {
093d3ff1 5085 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d55e5bfc
RD
5086 };
5087
093d3ff1 5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5089 {
5090 arg1 = wxString_in_helper(obj0);
5091 if (arg1 == NULL) SWIG_fail;
ae8162c8 5092 temp1 = true;
d55e5bfc
RD
5093 }
5094 if (obj1) {
5095 {
5096 arg2 = wxString_in_helper(obj1);
5097 if (arg2 == NULL) SWIG_fail;
ae8162c8 5098 temp2 = true;
d55e5bfc
RD
5099 }
5100 }
5101 if (obj2) {
093d3ff1
RD
5102 {
5103 arg3 = wxString_in_helper(obj2);
5104 if (arg3 == NULL) SWIG_fail;
5105 temp3 = true;
5106 }
d55e5bfc
RD
5107 }
5108 if (obj3) {
093d3ff1
RD
5109 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5110 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
5111 }
5112 if (obj4) {
093d3ff1 5113 {
7449af73 5114 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5115 if (SWIG_arg_fail(5)) SWIG_fail;
5116 }
d55e5bfc
RD
5117 }
5118 if (obj5) {
093d3ff1 5119 {
7449af73 5120 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5121 if (SWIG_arg_fail(6)) SWIG_fail;
5122 }
5123 }
5124 if (obj6) {
5125 {
7449af73 5126 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
5127 if (SWIG_arg_fail(7)) SWIG_fail;
5128 }
d55e5bfc
RD
5129 }
5130 {
0439c23b 5131 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5133 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
5134
5135 wxPyEndAllowThreads(__tstate);
110da5b0 5136 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5137 }
093d3ff1
RD
5138 {
5139#if wxUSE_UNICODE
5140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5141#else
5142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5143#endif
5144 }
d55e5bfc
RD
5145 {
5146 if (temp1)
5147 delete arg1;
5148 }
5149 {
5150 if (temp2)
5151 delete arg2;
5152 }
093d3ff1
RD
5153 {
5154 if (temp3)
5155 delete arg3;
5156 }
d55e5bfc
RD
5157 return resultobj;
5158 fail:
5159 {
5160 if (temp1)
5161 delete arg1;
5162 }
5163 {
5164 if (temp2)
5165 delete arg2;
5166 }
093d3ff1
RD
5167 {
5168 if (temp3)
5169 delete arg3;
5170 }
d55e5bfc
RD
5171 return NULL;
5172}
5173
5174
093d3ff1 5175static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5176 PyObject *resultobj = NULL;
d55e5bfc 5177 wxString *arg1 = 0 ;
093d3ff1
RD
5178 wxString const &arg2_defvalue = wxPyEmptyString ;
5179 wxString *arg2 = (wxString *) &arg2_defvalue ;
5180 wxString const &arg3_defvalue = wxPyEmptyString ;
5181 wxString *arg3 = (wxString *) &arg3_defvalue ;
5182 wxWindow *arg4 = (wxWindow *) NULL ;
5183 wxString result;
ae8162c8
RD
5184 bool temp1 = false ;
5185 bool temp2 = false ;
5186 bool temp3 = false ;
d55e5bfc
RD
5187 PyObject * obj0 = 0 ;
5188 PyObject * obj1 = 0 ;
5189 PyObject * obj2 = 0 ;
5190 PyObject * obj3 = 0 ;
d55e5bfc 5191 char *kwnames[] = {
093d3ff1 5192 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d55e5bfc
RD
5193 };
5194
093d3ff1 5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
5196 {
5197 arg1 = wxString_in_helper(obj0);
5198 if (arg1 == NULL) SWIG_fail;
ae8162c8 5199 temp1 = true;
d55e5bfc 5200 }
093d3ff1
RD
5201 if (obj1) {
5202 {
5203 arg2 = wxString_in_helper(obj1);
5204 if (arg2 == NULL) SWIG_fail;
5205 temp2 = true;
5206 }
d55e5bfc 5207 }
093d3ff1 5208 if (obj2) {
d55e5bfc 5209 {
093d3ff1
RD
5210 arg3 = wxString_in_helper(obj2);
5211 if (arg3 == NULL) SWIG_fail;
5212 temp3 = true;
d55e5bfc
RD
5213 }
5214 }
093d3ff1
RD
5215 if (obj3) {
5216 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5217 if (SWIG_arg_fail(4)) SWIG_fail;
5218 }
d55e5bfc 5219 {
0439c23b 5220 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5222 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
5223
5224 wxPyEndAllowThreads(__tstate);
110da5b0 5225 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5226 }
093d3ff1
RD
5227 {
5228#if wxUSE_UNICODE
5229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5230#else
5231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5232#endif
5233 }
d55e5bfc
RD
5234 {
5235 if (temp1)
5236 delete arg1;
5237 }
5238 {
5239 if (temp2)
5240 delete arg2;
5241 }
5242 {
5243 if (temp3)
5244 delete arg3;
5245 }
5246 return resultobj;
5247 fail:
5248 {
5249 if (temp1)
5250 delete arg1;
5251 }
5252 {
5253 if (temp2)
5254 delete arg2;
5255 }
5256 {
5257 if (temp3)
5258 delete arg3;
5259 }
5260 return NULL;
5261}
5262
5263
093d3ff1 5264static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5265 PyObject *resultobj = NULL;
093d3ff1
RD
5266 wxString *arg1 = 0 ;
5267 wxString *arg2 = 0 ;
5268 int arg3 ;
5269 wxString *arg4 = (wxString *) 0 ;
5270 wxWindow *arg5 = (wxWindow *) NULL ;
5271 int arg6 = (int) -1 ;
5272 int arg7 = (int) -1 ;
5273 bool arg8 = (bool) true ;
5274 int arg9 = (int) 150 ;
5275 int arg10 = (int) 200 ;
5276 wxString result;
5277 bool temp1 = false ;
5278 bool temp2 = false ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 PyObject * obj2 = 0 ;
5282 PyObject * obj3 = 0 ;
5283 PyObject * obj4 = 0 ;
5284 PyObject * obj5 = 0 ;
5285 PyObject * obj6 = 0 ;
5286 PyObject * obj7 = 0 ;
5287 PyObject * obj8 = 0 ;
d55e5bfc 5288 char *kwnames[] = {
093d3ff1 5289 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5290 };
5291
093d3ff1
RD
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5293 {
5294 arg1 = wxString_in_helper(obj0);
5295 if (arg1 == NULL) SWIG_fail;
5296 temp1 = true;
5297 }
5298 {
5299 arg2 = wxString_in_helper(obj1);
5300 if (arg2 == NULL) SWIG_fail;
5301 temp2 = true;
5302 }
5303 {
5304 arg3 = PyList_Size(obj2);
5305 arg4 = wxString_LIST_helper(obj2);
5306 if (arg4 == NULL) SWIG_fail;
5307 }
5308 if (obj3) {
5309 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5310 if (SWIG_arg_fail(5)) SWIG_fail;
5311 }
5312 if (obj4) {
5313 {
7449af73 5314 arg6 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5315 if (SWIG_arg_fail(6)) SWIG_fail;
5316 }
5317 }
5318 if (obj5) {
5319 {
7449af73 5320 arg7 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5321 if (SWIG_arg_fail(7)) SWIG_fail;
5322 }
5323 }
5324 if (obj6) {
5325 {
7449af73 5326 arg8 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
5327 if (SWIG_arg_fail(8)) SWIG_fail;
5328 }
5329 }
5330 if (obj7) {
5331 {
7449af73 5332 arg9 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
5333 if (SWIG_arg_fail(9)) SWIG_fail;
5334 }
5335 }
5336 if (obj8) {
5337 {
7449af73 5338 arg10 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
5339 if (SWIG_arg_fail(10)) SWIG_fail;
5340 }
5341 }
d55e5bfc 5342 {
0439c23b 5343 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5345 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5346
5347 wxPyEndAllowThreads(__tstate);
110da5b0 5348 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5349 }
5350 {
093d3ff1
RD
5351#if wxUSE_UNICODE
5352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5353#else
5354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5355#endif
5356 }
5357 {
5358 if (temp1)
5359 delete arg1;
5360 }
5361 {
5362 if (temp2)
5363 delete arg2;
5364 }
5365 {
5366 if (arg4) delete [] arg4;
d55e5bfc
RD
5367 }
5368 return resultobj;
5369 fail:
093d3ff1
RD
5370 {
5371 if (temp1)
5372 delete arg1;
5373 }
5374 {
5375 if (temp2)
5376 delete arg2;
5377 }
5378 {
5379 if (arg4) delete [] arg4;
5380 }
d55e5bfc
RD
5381 return NULL;
5382}
5383
5384
093d3ff1 5385static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5386 PyObject *resultobj = NULL;
093d3ff1
RD
5387 wxString *arg1 = 0 ;
5388 wxString *arg2 = 0 ;
5389 int arg3 ;
5390 wxString *arg4 = (wxString *) 0 ;
5391 wxWindow *arg5 = (wxWindow *) NULL ;
5392 int arg6 = (int) -1 ;
5393 int arg7 = (int) -1 ;
5394 bool arg8 = (bool) true ;
5395 int arg9 = (int) 150 ;
5396 int arg10 = (int) 200 ;
d55e5bfc 5397 int result;
093d3ff1
RD
5398 bool temp1 = false ;
5399 bool temp2 = false ;
5400 PyObject * obj0 = 0 ;
5401 PyObject * obj1 = 0 ;
5402 PyObject * obj2 = 0 ;
5403 PyObject * obj3 = 0 ;
5404 PyObject * obj4 = 0 ;
5405 PyObject * obj5 = 0 ;
5406 PyObject * obj6 = 0 ;
5407 PyObject * obj7 = 0 ;
5408 PyObject * obj8 = 0 ;
d55e5bfc 5409 char *kwnames[] = {
093d3ff1 5410 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5411 };
5412
093d3ff1
RD
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5414 {
5415 arg1 = wxString_in_helper(obj0);
5416 if (arg1 == NULL) SWIG_fail;
5417 temp1 = true;
5418 }
5419 {
5420 arg2 = wxString_in_helper(obj1);
5421 if (arg2 == NULL) SWIG_fail;
5422 temp2 = true;
5423 }
5424 {
5425 arg3 = PyList_Size(obj2);
5426 arg4 = wxString_LIST_helper(obj2);
5427 if (arg4 == NULL) SWIG_fail;
5428 }
5429 if (obj3) {
5430 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5431 if (SWIG_arg_fail(5)) SWIG_fail;
5432 }
5433 if (obj4) {
5434 {
7449af73 5435 arg6 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5436 if (SWIG_arg_fail(6)) SWIG_fail;
5437 }
5438 }
5439 if (obj5) {
5440 {
7449af73 5441 arg7 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5442 if (SWIG_arg_fail(7)) SWIG_fail;
5443 }
5444 }
5445 if (obj6) {
5446 {
7449af73 5447 arg8 = static_cast<bool >(SWIG_As_bool(obj6));
093d3ff1
RD
5448 if (SWIG_arg_fail(8)) SWIG_fail;
5449 }
5450 }
5451 if (obj7) {
5452 {
7449af73 5453 arg9 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
5454 if (SWIG_arg_fail(9)) SWIG_fail;
5455 }
5456 }
5457 if (obj8) {
5458 {
7449af73 5459 arg10 = static_cast<int >(SWIG_As_int(obj8));
093d3ff1
RD
5460 if (SWIG_arg_fail(10)) SWIG_fail;
5461 }
5462 }
d55e5bfc 5463 {
0439c23b 5464 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5466 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5467
5468 wxPyEndAllowThreads(__tstate);
110da5b0 5469 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5470 }
093d3ff1 5471 {
7449af73 5472 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
5473 }
5474 {
5475 if (temp1)
5476 delete arg1;
5477 }
5478 {
5479 if (temp2)
5480 delete arg2;
5481 }
5482 {
5483 if (arg4) delete [] arg4;
5484 }
d55e5bfc
RD
5485 return resultobj;
5486 fail:
093d3ff1
RD
5487 {
5488 if (temp1)
5489 delete arg1;
5490 }
5491 {
5492 if (temp2)
5493 delete arg2;
5494 }
5495 {
5496 if (arg4) delete [] arg4;
5497 }
d55e5bfc
RD
5498 return NULL;
5499}
5500
5501
093d3ff1 5502static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5503 PyObject *resultobj = NULL;
093d3ff1
RD
5504 wxString *arg1 = 0 ;
5505 wxString const &arg2_defvalue = wxPyEmptyString ;
5506 wxString *arg2 = (wxString *) &arg2_defvalue ;
5507 int arg3 = (int) wxOK|wxCENTRE ;
5508 wxWindow *arg4 = (wxWindow *) NULL ;
5509 int arg5 = (int) -1 ;
5510 int arg6 = (int) -1 ;
d55e5bfc 5511 int result;
093d3ff1
RD
5512 bool temp1 = false ;
5513 bool temp2 = false ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 PyObject * obj2 = 0 ;
5517 PyObject * obj3 = 0 ;
5518 PyObject * obj4 = 0 ;
5519 PyObject * obj5 = 0 ;
d55e5bfc 5520 char *kwnames[] = {
093d3ff1 5521 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
5522 };
5523
093d3ff1 5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc 5525 {
093d3ff1
RD
5526 arg1 = wxString_in_helper(obj0);
5527 if (arg1 == NULL) SWIG_fail;
5528 temp1 = true;
5529 }
5530 if (obj1) {
5531 {
5532 arg2 = wxString_in_helper(obj1);
5533 if (arg2 == NULL) SWIG_fail;
5534 temp2 = true;
5535 }
5536 }
5537 if (obj2) {
5538 {
7449af73 5539 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
5540 if (SWIG_arg_fail(3)) SWIG_fail;
5541 }
5542 }
5543 if (obj3) {
5544 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5545 if (SWIG_arg_fail(4)) SWIG_fail;
5546 }
5547 if (obj4) {
5548 {
7449af73 5549 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
5550 if (SWIG_arg_fail(5)) SWIG_fail;
5551 }
5552 }
5553 if (obj5) {
5554 {
7449af73 5555 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
5556 if (SWIG_arg_fail(6)) SWIG_fail;
5557 }
5558 }
5559 {
5560 if (!wxPyCheckForApp()) SWIG_fail;
5561 PyThreadState* __tstate = wxPyBeginAllowThreads();
5562 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5563
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 {
7449af73 5568 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
5569 }
5570 {
5571 if (temp1)
5572 delete arg1;
5573 }
5574 {
5575 if (temp2)
5576 delete arg2;
5577 }
5578 return resultobj;
5579 fail:
5580 {
5581 if (temp1)
5582 delete arg1;
5583 }
5584 {
5585 if (temp2)
5586 delete arg2;
5587 }
5588 return NULL;
5589}
5590
5591
093d3ff1 5592static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5593 PyObject *resultobj = NULL;
093d3ff1
RD
5594 bool result;
5595 char *kwnames[] = {
5596 NULL
5597 };
5598
5599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5600 {
5601 if (!wxPyCheckForApp()) SWIG_fail;
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 result = (bool)wxColourDisplay();
5604
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 {
5609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5610 }
5611 return resultobj;
5612 fail:
5613 return NULL;
5614}
5615
5616
5617static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5618 PyObject *resultobj = NULL;
093d3ff1
RD
5619 int result;
5620 char *kwnames[] = {
5621 NULL
5622 };
5623
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5625 {
5626 if (!wxPyCheckForApp()) SWIG_fail;
5627 PyThreadState* __tstate = wxPyBeginAllowThreads();
5628 result = (int)wxDisplayDepth();
5629
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 {
7449af73 5634 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1
RD
5635 }
5636 return resultobj;
5637 fail:
5638 return NULL;
5639}
5640
5641
5642static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5643 PyObject *resultobj = NULL;
093d3ff1
RD
5644 int result;
5645 char *kwnames[] = {
5646 NULL
5647 };
5648
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5650 {
5651 if (!wxPyCheckForApp()) SWIG_fail;
5652 PyThreadState* __tstate = wxPyBeginAllowThreads();
5653 result = (int)wxGetDisplayDepth();
5654
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 {
7449af73 5659 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc 5660 }
d55e5bfc
RD
5661 return resultobj;
5662 fail:
5663 return NULL;
5664}
5665
5666
c32bde28 5667static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5668 PyObject *resultobj = NULL;
d55e5bfc
RD
5669 int *arg1 = (int *) 0 ;
5670 int *arg2 = (int *) 0 ;
5671 int temp1 ;
c32bde28 5672 int res1 = 0 ;
d55e5bfc 5673 int temp2 ;
c32bde28 5674 int res2 = 0 ;
d55e5bfc
RD
5675 char *kwnames[] = {
5676 NULL
5677 };
5678
c32bde28
RD
5679 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5680 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5682 {
0439c23b 5683 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 wxDisplaySize(arg1,arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
110da5b0 5688 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5689 }
5690 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5691 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5692 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5693 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5694 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5695 return resultobj;
5696 fail:
5697 return NULL;
5698}
5699
5700
c32bde28 5701static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5702 PyObject *resultobj = NULL;
d55e5bfc
RD
5703 wxSize result;
5704 char *kwnames[] = {
5705 NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5709 {
0439c23b 5710 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 result = wxGetDisplaySize();
5713
5714 wxPyEndAllowThreads(__tstate);
110da5b0 5715 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5716 }
5717 {
5718 wxSize * resultptr;
7449af73 5719 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
5720 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5721 }
5722 return resultobj;
5723 fail:
5724 return NULL;
5725}
5726
5727
c32bde28 5728static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5729 PyObject *resultobj = NULL;
d55e5bfc
RD
5730 int *arg1 = (int *) 0 ;
5731 int *arg2 = (int *) 0 ;
5732 int temp1 ;
c32bde28 5733 int res1 = 0 ;
d55e5bfc 5734 int temp2 ;
c32bde28 5735 int res2 = 0 ;
d55e5bfc
RD
5736 char *kwnames[] = {
5737 NULL
5738 };
5739
c32bde28
RD
5740 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5741 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5743 {
0439c23b 5744 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 wxDisplaySizeMM(arg1,arg2);
5747
5748 wxPyEndAllowThreads(__tstate);
110da5b0 5749 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5750 }
5751 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5752 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5753 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5754 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5755 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5756 return resultobj;
5757 fail:
5758 return NULL;
5759}
5760
5761
c32bde28 5762static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5763 PyObject *resultobj = NULL;
d55e5bfc
RD
5764 wxSize result;
5765 char *kwnames[] = {
5766 NULL
5767 };
5768
5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5770 {
0439c23b 5771 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 result = wxGetDisplaySizeMM();
5774
5775 wxPyEndAllowThreads(__tstate);
110da5b0 5776 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5777 }
5778 {
5779 wxSize * resultptr;
7449af73 5780 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
5781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5782 }
5783 return resultobj;
5784 fail:
5785 return NULL;
5786}
5787
5788
c32bde28 5789static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5790 PyObject *resultobj = NULL;
d55e5bfc
RD
5791 int *arg1 = (int *) 0 ;
5792 int *arg2 = (int *) 0 ;
5793 int *arg3 = (int *) 0 ;
5794 int *arg4 = (int *) 0 ;
5795 int temp1 ;
c32bde28 5796 int res1 = 0 ;
d55e5bfc 5797 int temp2 ;
c32bde28 5798 int res2 = 0 ;
d55e5bfc 5799 int temp3 ;
c32bde28 5800 int res3 = 0 ;
d55e5bfc 5801 int temp4 ;
c32bde28 5802 int res4 = 0 ;
d55e5bfc
RD
5803 char *kwnames[] = {
5804 NULL
5805 };
5806
c32bde28
RD
5807 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5808 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5809 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5810 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5812 {
0439c23b 5813 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5816
5817 wxPyEndAllowThreads(__tstate);
110da5b0 5818 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5819 }
5820 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
5821 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5822 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5823 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5824 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5825 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5826 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5827 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5828 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5829 return resultobj;
5830 fail:
5831 return NULL;
5832}
5833
5834
c32bde28 5835static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5836 PyObject *resultobj = NULL;
d55e5bfc
RD
5837 wxRect result;
5838 char *kwnames[] = {
5839 NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5843 {
0439c23b 5844 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = wxGetClientDisplayRect();
5847
5848 wxPyEndAllowThreads(__tstate);
110da5b0 5849 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5850 }
5851 {
5852 wxRect * resultptr;
7449af73 5853 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
5854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5855 }
5856 return resultobj;
5857 fail:
5858 return NULL;
5859}
5860
5861
c32bde28 5862static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 5863 PyObject *resultobj = NULL;
d55e5bfc
RD
5864 wxCursor *arg1 = 0 ;
5865 PyObject * obj0 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "cursor", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
093d3ff1 5871 {
7449af73
RD
5872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5873 if (SWIG_arg_fail(1)) SWIG_fail;
5874 if (arg1 == NULL) {
5875 SWIG_null_ref("wxCursor");
5876 }
5877 if (SWIG_arg_fail(1)) SWIG_fail;
5878 }
5879 {
5880 if (!wxPyCheckForApp()) SWIG_fail;
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 wxSetCursor(*arg1);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 Py_INCREF(Py_None); resultobj = Py_None;
5888 return resultobj;
5889 fail:
5890 return NULL;
5891}
5892
5893
5894static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj = NULL;
5896 void *result;
5897 char *kwnames[] = {
5898 NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail;
5902 {
5903 if (!wxPyCheckForApp()) SWIG_fail;
5904 PyThreadState* __tstate = wxPyBeginAllowThreads();
5905 result = (void *)wxGetXDisplay();
5906
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
5911 return resultobj;
5912 fail:
5913 return NULL;
5914}
5915
5916
5917static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5918 PyObject *resultobj = NULL;
5919 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5920 PyObject * obj0 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "cursor", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5926 if (obj0) {
5927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5928 if (SWIG_arg_fail(1)) SWIG_fail;
5929 }
5930 {
5931 if (!wxPyCheckForApp()) SWIG_fail;
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 wxBeginBusyCursor(arg1);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 Py_INCREF(Py_None); resultobj = Py_None;
5939 return resultobj;
5940 fail:
5941 return NULL;
5942}
5943
5944
5945static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj = NULL;
5947 wxPoint result;
5948 char *kwnames[] = {
5949 NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
5953 {
5954 if (!wxPyCheckForApp()) SWIG_fail;
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = wxGetMousePosition();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 {
5962 wxPoint * resultptr;
5963 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5964 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
5965 }
5966 return resultobj;
5967 fail:
5968 return NULL;
5969}
5970
5971
5972static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj = NULL;
5974 wxWindow *result;
5975 char *kwnames[] = {
5976 NULL
5977 };
5978
5979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail;
5980 {
5981 if (!wxPyCheckForApp()) SWIG_fail;
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 result = (wxWindow *)FindWindowAtPointer();
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 {
5989 resultobj = wxPyMake_wxObject(result, 0);
5990 }
5991 return resultobj;
5992 fail:
5993 return NULL;
5994}
5995
5996
5997static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5998 PyObject *resultobj = NULL;
5999 wxWindow *result;
6000 char *kwnames[] = {
6001 NULL
6002 };
6003
6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
6005 {
6006 if (!wxPyCheckForApp()) SWIG_fail;
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 result = (wxWindow *)wxGetActiveWindow();
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 {
6014 resultobj = wxPyMake_wxObject(result, 0);
6015 }
6016 return resultobj;
6017 fail:
6018 return NULL;
6019}
6020
6021
6022static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj = NULL;
6024 wxPoint *arg1 = 0 ;
6025 wxWindow *result;
6026 wxPoint temp1 ;
6027 PyObject * obj0 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "pt", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
6033 {
6034 arg1 = &temp1;
6035 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6036 }
6037 {
6038 if (!wxPyCheckForApp()) SWIG_fail;
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 {
6046 resultobj = wxPyMake_wxObject(result, 0);
6047 }
6048 return resultobj;
6049 fail:
6050 return NULL;
6051}
6052
6053
6054static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj = NULL;
6056 wxPoint *arg1 = 0 ;
6057 wxWindow *result;
6058 wxPoint temp1 ;
6059 PyObject * obj0 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "pt", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
6065 {
6066 arg1 = &temp1;
6067 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6068 }
6069 {
6070 if (!wxPyCheckForApp()) SWIG_fail;
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
6077 {
6078 resultobj = wxPyMake_wxObject(result, 0);
6079 }
6080 return resultobj;
6081 fail:
6082 return NULL;
6083}
6084
6085
6086static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
6087 PyObject *resultobj = NULL;
6088 wxWindow *arg1 = (wxWindow *) 0 ;
6089 wxWindow *result;
6090 PyObject * obj0 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "win", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
6096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6097 if (SWIG_arg_fail(1)) SWIG_fail;
6098 {
6099 if (!wxPyCheckForApp()) SWIG_fail;
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 result = (wxWindow *)wxGetTopLevelParent(arg1);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 {
6107 resultobj = wxPyMake_wxObject(result, 0);
6108 }
6109 return resultobj;
6110 fail:
6111 return NULL;
6112}
6113
6114
6115static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj = NULL;
6117 wxString *arg1 = 0 ;
6118 bool result;
6119 bool temp1 = false ;
6120 PyObject * obj0 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "url", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
6126 {
6127 arg1 = wxString_in_helper(obj0);
6128 if (arg1 == NULL) SWIG_fail;
6129 temp1 = true;
6130 }
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
6134
6135 wxPyEndAllowThreads(__tstate);
6136 if (PyErr_Occurred()) SWIG_fail;
6137 }
6138 {
6139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6140 }
6141 {
6142 if (temp1)
6143 delete arg1;
6144 }
6145 return resultobj;
6146 fail:
6147 {
6148 if (temp1)
6149 delete arg1;
6150 }
6151 return NULL;
6152}
6153
6154
6155static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj = NULL;
6157 wxKeyCode arg1 ;
6158 bool result;
6159 PyObject * obj0 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "key", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
6165 {
6166 arg1 = static_cast<wxKeyCode >(SWIG_As_int(obj0));
6167 if (SWIG_arg_fail(1)) SWIG_fail;
6168 }
6169 {
6170 if (!wxPyCheckForApp()) SWIG_fail;
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (bool)wxGetKeyState(arg1);
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 {
6178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6179 }
6180 return resultobj;
6181 fail:
6182 return NULL;
6183}
6184
6185
6186static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj = NULL;
6188 wxMouseState *result;
6189 char *kwnames[] = {
6190 NULL
6191 };
6192
6193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail;
6194 {
6195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6196 result = (wxMouseState *)new wxMouseState();
6197
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1);
6202 return resultobj;
6203 fail:
6204 return NULL;
6205}
6206
6207
6208static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj = NULL;
6210 wxMouseState *arg1 = (wxMouseState *) 0 ;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail;
6217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 delete arg1;
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 Py_INCREF(Py_None); resultobj = Py_None;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230}
6231
6232
6233static PyObject *_wrap_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj = NULL;
6235 wxMouseState *arg1 = (wxMouseState *) 0 ;
6236 int result;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail;
6243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6244 if (SWIG_arg_fail(1)) SWIG_fail;
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (int)(arg1)->GetX();
6248
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 {
6253 resultobj = SWIG_From_int(static_cast<int >(result));
6254 }
6255 return resultobj;
6256 fail:
6257 return NULL;
6258}
6259
6260
6261static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6262 PyObject *resultobj = NULL;
6263 wxMouseState *arg1 = (wxMouseState *) 0 ;
6264 int result;
6265 PyObject * obj0 = 0 ;
6266 char *kwnames[] = {
6267 (char *) "self", NULL
6268 };
6269
6270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail;
6271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6272 if (SWIG_arg_fail(1)) SWIG_fail;
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 result = (int)(arg1)->GetY();
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 {
6281 resultobj = SWIG_From_int(static_cast<int >(result));
6282 }
6283 return resultobj;
6284 fail:
6285 return NULL;
6286}
6287
6288
6289static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj = NULL;
6291 wxMouseState *arg1 = (wxMouseState *) 0 ;
6292 bool result;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail;
6299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6300 if (SWIG_arg_fail(1)) SWIG_fail;
6301 {
6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
6303 result = (bool)(arg1)->LeftDown();
6304
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 {
6309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6310 }
6311 return resultobj;
6312 fail:
6313 return NULL;
6314}
6315
6316
6317static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj = NULL;
6319 wxMouseState *arg1 = (wxMouseState *) 0 ;
6320 bool result;
6321 PyObject * obj0 = 0 ;
6322 char *kwnames[] = {
6323 (char *) "self", NULL
6324 };
6325
6326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail;
6327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6328 if (SWIG_arg_fail(1)) SWIG_fail;
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 result = (bool)(arg1)->MiddleDown();
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 {
6337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6338 }
6339 return resultobj;
6340 fail:
6341 return NULL;
6342}
6343
6344
6345static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
6346 PyObject *resultobj = NULL;
6347 wxMouseState *arg1 = (wxMouseState *) 0 ;
6348 bool result;
6349 PyObject * obj0 = 0 ;
6350 char *kwnames[] = {
6351 (char *) "self", NULL
6352 };
6353
6354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail;
6355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6356 if (SWIG_arg_fail(1)) SWIG_fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (bool)(arg1)->RightDown();
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6366 }
6367 return resultobj;
6368 fail:
6369 return NULL;
6370}
6371
6372
6373static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj = NULL;
6375 wxMouseState *arg1 = (wxMouseState *) 0 ;
6376 bool result;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail;
6383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6384 if (SWIG_arg_fail(1)) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (bool)(arg1)->ControlDown();
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj = NULL;
6403 wxMouseState *arg1 = (wxMouseState *) 0 ;
6404 bool result;
6405 PyObject * obj0 = 0 ;
6406 char *kwnames[] = {
6407 (char *) "self", NULL
6408 };
6409
6410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail;
6411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6412 if (SWIG_arg_fail(1)) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 result = (bool)(arg1)->ShiftDown();
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 {
6421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6422 }
6423 return resultobj;
6424 fail:
6425 return NULL;
6426}
6427
6428
6429static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj = NULL;
6431 wxMouseState *arg1 = (wxMouseState *) 0 ;
6432 bool result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail;
6439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6440 if (SWIG_arg_fail(1)) SWIG_fail;
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (bool)(arg1)->AltDown();
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6450 }
6451 return resultobj;
6452 fail:
6453 return NULL;
6454}
6455
6456
6457static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj = NULL;
6459 wxMouseState *arg1 = (wxMouseState *) 0 ;
6460 bool result;
6461 PyObject * obj0 = 0 ;
6462 char *kwnames[] = {
6463 (char *) "self", NULL
6464 };
6465
6466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail;
6467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6468 if (SWIG_arg_fail(1)) SWIG_fail;
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 result = (bool)(arg1)->MetaDown();
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 {
6477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6478 }
6479 return resultobj;
6480 fail:
6481 return NULL;
6482}
6483
6484
6485static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj = NULL;
6487 wxMouseState *arg1 = (wxMouseState *) 0 ;
6488 bool result;
6489 PyObject * obj0 = 0 ;
6490 char *kwnames[] = {
6491 (char *) "self", NULL
6492 };
6493
6494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail;
6495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6496 if (SWIG_arg_fail(1)) SWIG_fail;
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (bool)(arg1)->CmdDown();
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 {
6505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6506 }
6507 return resultobj;
6508 fail:
6509 return NULL;
6510}
6511
6512
6513static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj = NULL;
6515 wxMouseState *arg1 = (wxMouseState *) 0 ;
6516 int arg2 ;
6517 PyObject * obj0 = 0 ;
6518 PyObject * obj1 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "self",(char *) "x", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail;
6524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6525 if (SWIG_arg_fail(1)) SWIG_fail;
6526 {
6527 arg2 = static_cast<int >(SWIG_As_int(obj1));
6528 if (SWIG_arg_fail(2)) SWIG_fail;
6529 }
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 (arg1)->SetX(arg2);
6533
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 Py_INCREF(Py_None); resultobj = Py_None;
6538 return resultobj;
6539 fail:
6540 return NULL;
6541}
6542
6543
6544static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
6545 PyObject *resultobj = NULL;
6546 wxMouseState *arg1 = (wxMouseState *) 0 ;
6547 int arg2 ;
6548 PyObject * obj0 = 0 ;
6549 PyObject * obj1 = 0 ;
6550 char *kwnames[] = {
6551 (char *) "self",(char *) "y", NULL
6552 };
6553
6554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail;
6555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6556 if (SWIG_arg_fail(1)) SWIG_fail;
6557 {
6558 arg2 = static_cast<int >(SWIG_As_int(obj1));
6559 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6563 (arg1)->SetY(arg2);
d55e5bfc
RD
6564
6565 wxPyEndAllowThreads(__tstate);
110da5b0 6566 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 return resultobj;
6570 fail:
6571 return NULL;
6572}
6573
6574
7449af73
RD
6575static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj = NULL;
6577 wxMouseState *arg1 = (wxMouseState *) 0 ;
6578 bool arg2 ;
6579 PyObject * obj0 = 0 ;
6580 PyObject * obj1 = 0 ;
a97cefba 6581 char *kwnames[] = {
7449af73 6582 (char *) "self",(char *) "down", NULL
a97cefba
RD
6583 };
6584
7449af73
RD
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail;
6586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6587 if (SWIG_arg_fail(1)) SWIG_fail;
6588 {
6589 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6590 if (SWIG_arg_fail(2)) SWIG_fail;
6591 }
a97cefba 6592 {
a97cefba 6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6594 (arg1)->SetLeftDown(arg2);
a97cefba
RD
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
7449af73 6599 Py_INCREF(Py_None); resultobj = Py_None;
a97cefba
RD
6600 return resultobj;
6601 fail:
6602 return NULL;
6603}
6604
6605
7449af73
RD
6606static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj = NULL;
6608 wxMouseState *arg1 = (wxMouseState *) 0 ;
6609 bool arg2 ;
d55e5bfc 6610 PyObject * obj0 = 0 ;
7449af73 6611 PyObject * obj1 = 0 ;
d55e5bfc 6612 char *kwnames[] = {
7449af73 6613 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6614 };
6615
7449af73
RD
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail;
6617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6618 if (SWIG_arg_fail(1)) SWIG_fail;
6619 {
6620 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6621 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6625 (arg1)->SetMiddleDown(arg2);
d55e5bfc
RD
6626
6627 wxPyEndAllowThreads(__tstate);
110da5b0 6628 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6629 }
6630 Py_INCREF(Py_None); resultobj = Py_None;
6631 return resultobj;
6632 fail:
6633 return NULL;
6634}
6635
6636
7449af73
RD
6637static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj = NULL;
6639 wxMouseState *arg1 = (wxMouseState *) 0 ;
6640 bool arg2 ;
6641 PyObject * obj0 = 0 ;
6642 PyObject * obj1 = 0 ;
d55e5bfc 6643 char *kwnames[] = {
7449af73 6644 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6645 };
6646
7449af73
RD
6647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail;
6648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6649 if (SWIG_arg_fail(1)) SWIG_fail;
6650 {
6651 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6652 if (SWIG_arg_fail(2)) SWIG_fail;
6653 }
d55e5bfc
RD
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6656 (arg1)->SetRightDown(arg2);
d55e5bfc
RD
6657
6658 wxPyEndAllowThreads(__tstate);
110da5b0 6659 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6660 }
7449af73 6661 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6662 return resultobj;
6663 fail:
6664 return NULL;
6665}
6666
6667
7449af73
RD
6668static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj = NULL;
6670 wxMouseState *arg1 = (wxMouseState *) 0 ;
6671 bool arg2 ;
d55e5bfc 6672 PyObject * obj0 = 0 ;
7449af73 6673 PyObject * obj1 = 0 ;
d55e5bfc 6674 char *kwnames[] = {
7449af73 6675 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6676 };
6677
7449af73
RD
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail;
6679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6681 {
7449af73
RD
6682 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6683 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6684 }
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6687 (arg1)->SetControlDown(arg2);
d55e5bfc
RD
6688
6689 wxPyEndAllowThreads(__tstate);
110da5b0 6690 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6691 }
7449af73 6692 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6693 return resultobj;
6694 fail:
6695 return NULL;
6696}
6697
6698
7449af73
RD
6699static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj = NULL;
6701 wxMouseState *arg1 = (wxMouseState *) 0 ;
6702 bool arg2 ;
d55e5bfc 6703 PyObject * obj0 = 0 ;
7449af73 6704 PyObject * obj1 = 0 ;
d55e5bfc 6705 char *kwnames[] = {
7449af73 6706 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6707 };
6708
7449af73
RD
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail;
6710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6712 {
7449af73
RD
6713 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6714 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6715 }
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6718 (arg1)->SetShiftDown(arg2);
d55e5bfc
RD
6719
6720 wxPyEndAllowThreads(__tstate);
110da5b0 6721 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6722 }
7449af73 6723 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6724 return resultobj;
6725 fail:
6726 return NULL;
6727}
6728
6729
7449af73
RD
6730static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj = NULL;
6732 wxMouseState *arg1 = (wxMouseState *) 0 ;
6733 bool arg2 ;
d55e5bfc 6734 PyObject * obj0 = 0 ;
7449af73 6735 PyObject * obj1 = 0 ;
d55e5bfc 6736 char *kwnames[] = {
7449af73 6737 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6738 };
6739
7449af73
RD
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail;
6741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
093d3ff1 6742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6743 {
7449af73
RD
6744 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6745 if (SWIG_arg_fail(2)) SWIG_fail;
6746 }
6747 {
d55e5bfc 6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6749 (arg1)->SetAltDown(arg2);
d55e5bfc
RD
6750
6751 wxPyEndAllowThreads(__tstate);
110da5b0 6752 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6753 }
7449af73 6754 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6755 return resultobj;
6756 fail:
6757 return NULL;
6758}
6759
6760
7449af73
RD
6761static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj = NULL;
6763 wxMouseState *arg1 = (wxMouseState *) 0 ;
6764 bool arg2 ;
d04418a7 6765 PyObject * obj0 = 0 ;
7449af73 6766 PyObject * obj1 = 0 ;
d04418a7 6767 char *kwnames[] = {
7449af73 6768 (char *) "self",(char *) "down", NULL
d04418a7
RD
6769 };
6770
7449af73
RD
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail;
6772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6773 if (SWIG_arg_fail(1)) SWIG_fail;
d04418a7 6774 {
7449af73
RD
6775 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6776 if (SWIG_arg_fail(2)) SWIG_fail;
d04418a7
RD
6777 }
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6780 (arg1)->SetMetaDown(arg2);
d04418a7
RD
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
7449af73 6785 Py_INCREF(Py_None); resultobj = Py_None;
d04418a7
RD
6786 return resultobj;
6787 fail:
d04418a7
RD
6788 return NULL;
6789}
6790
6791
7449af73
RD
6792static PyObject * MouseState_swigregister(PyObject *, PyObject *args) {
6793 PyObject *obj;
6794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6795 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj);
6796 Py_INCREF(obj);
6797 return Py_BuildValue((char *)"");
6798}
6799static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6800 PyObject *resultobj = NULL;
6801 wxMouseState result;
d55e5bfc 6802 char *kwnames[] = {
7449af73 6803 NULL
d55e5bfc
RD
6804 };
6805
7449af73 6806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail;
d55e5bfc
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 6809 result = wxGetMouseState();
d55e5bfc
RD
6810
6811 wxPyEndAllowThreads(__tstate);
110da5b0 6812 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6813 }
6814 {
7449af73
RD
6815 wxMouseState * resultptr;
6816 resultptr = new wxMouseState(static_cast<wxMouseState & >(result));
6817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1);
d55e5bfc
RD
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822}
6823
6824
c32bde28 6825static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6826 PyObject *resultobj = NULL;
d55e5bfc
RD
6827 char *kwnames[] = {
6828 NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6832 {
0439c23b 6833 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 wxWakeUpMainThread();
6836
6837 wxPyEndAllowThreads(__tstate);
110da5b0 6838 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6839 }
6840 Py_INCREF(Py_None); resultobj = Py_None;
6841 return resultobj;
6842 fail:
6843 return NULL;
6844}
6845
6846
c32bde28 6847static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6848 PyObject *resultobj = NULL;
d55e5bfc
RD
6849 char *kwnames[] = {
6850 NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6854 {
0439c23b 6855 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 wxMutexGuiEnter();
6858
6859 wxPyEndAllowThreads(__tstate);
110da5b0 6860 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6861 }
6862 Py_INCREF(Py_None); resultobj = Py_None;
6863 return resultobj;
6864 fail:
6865 return NULL;
6866}
6867
6868
c32bde28 6869static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6870 PyObject *resultobj = NULL;
d55e5bfc
RD
6871 char *kwnames[] = {
6872 NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6876 {
0439c23b 6877 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 wxMutexGuiLeave();
6880
6881 wxPyEndAllowThreads(__tstate);
110da5b0 6882 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6883 }
6884 Py_INCREF(Py_None); resultobj = Py_None;
6885 return resultobj;
6886 fail:
6887 return NULL;
6888}
6889
6890
c32bde28 6891static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6892 PyObject *resultobj = NULL;
d55e5bfc
RD
6893 wxMutexGuiLocker *result;
6894 char *kwnames[] = {
6895 NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6899 {
0439c23b 6900 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6903
6904 wxPyEndAllowThreads(__tstate);
110da5b0 6905 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6906 }
6907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6908 return resultobj;
6909 fail:
6910 return NULL;
6911}
6912
6913
c32bde28 6914static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6915 PyObject *resultobj = NULL;
d55e5bfc
RD
6916 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6917 PyObject * obj0 = 0 ;
6918 char *kwnames[] = {
6919 (char *) "self", NULL
6920 };
6921
6922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
6923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6924 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 delete arg1;
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 Py_INCREF(Py_None); resultobj = Py_None;
6933 return resultobj;
6934 fail:
6935 return NULL;
6936}
6937
6938
c32bde28 6939static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6940 PyObject *obj;
6941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6942 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6943 Py_INCREF(obj);
6944 return Py_BuildValue((char *)"");
6945}
c32bde28 6946static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6947 PyObject *resultobj = NULL;
d55e5bfc
RD
6948 bool result;
6949 char *kwnames[] = {
6950 NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = (bool)wxThread_IsMain();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6963 }
6964 return resultobj;
6965 fail:
6966 return NULL;
6967}
6968
6969
c32bde28 6970static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 6971 PyObject *resultobj = NULL;
d55e5bfc
RD
6972 wxString *arg1 = 0 ;
6973 wxToolTip *result;
ae8162c8 6974 bool temp1 = false ;
d55e5bfc
RD
6975 PyObject * obj0 = 0 ;
6976 char *kwnames[] = {
6977 (char *) "tip", NULL
6978 };
6979
6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6981 {
6982 arg1 = wxString_in_helper(obj0);
6983 if (arg1 == NULL) SWIG_fail;
ae8162c8 6984 temp1 = true;
d55e5bfc
RD
6985 }
6986 {
0439c23b 6987 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6990
6991 wxPyEndAllowThreads(__tstate);
110da5b0 6992 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6993 }
7e08d4ef 6994 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolTip, 1);
d55e5bfc
RD
6995 {
6996 if (temp1)
6997 delete arg1;
6998 }
6999 return resultobj;
7000 fail:
7001 {
7002 if (temp1)
7003 delete arg1;
7004 }
7005 return NULL;
7006}
7007
7008
7e08d4ef
RD
7009static PyObject *_wrap_delete_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj = NULL;
7011 wxToolTip *arg1 = (wxToolTip *) 0 ;
7012 PyObject * obj0 = 0 ;
7013 char *kwnames[] = {
7014 (char *) "self", NULL
7015 };
7016
7017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ToolTip",kwnames,&obj0)) goto fail;
7018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7019 if (SWIG_arg_fail(1)) SWIG_fail;
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 delete arg1;
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 Py_INCREF(Py_None); resultobj = Py_None;
7028 return resultobj;
7029 fail:
7030 return NULL;
7031}
7032
7033
c32bde28 7034static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7035 PyObject *resultobj = NULL;
d55e5bfc
RD
7036 wxToolTip *arg1 = (wxToolTip *) 0 ;
7037 wxString *arg2 = 0 ;
ae8162c8 7038 bool temp2 = false ;
d55e5bfc
RD
7039 PyObject * obj0 = 0 ;
7040 PyObject * obj1 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "tip", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7047 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7048 {
7049 arg2 = wxString_in_helper(obj1);
7050 if (arg2 == NULL) SWIG_fail;
ae8162c8 7051 temp2 = true;
d55e5bfc
RD
7052 }
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 (arg1)->SetTip((wxString const &)*arg2);
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 Py_INCREF(Py_None); resultobj = Py_None;
7061 {
7062 if (temp2)
7063 delete arg2;
7064 }
7065 return resultobj;
7066 fail:
7067 {
7068 if (temp2)
7069 delete arg2;
7070 }
7071 return NULL;
7072}
7073
7074
c32bde28 7075static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7076 PyObject *resultobj = NULL;
d55e5bfc
RD
7077 wxToolTip *arg1 = (wxToolTip *) 0 ;
7078 wxString result;
7079 PyObject * obj0 = 0 ;
7080 char *kwnames[] = {
7081 (char *) "self", NULL
7082 };
7083
7084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
7085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 result = (arg1)->GetTip();
7090
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095#if wxUSE_UNICODE
7096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7097#else
7098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7099#endif
7100 }
7101 return resultobj;
7102 fail:
7103 return NULL;
7104}
7105
7106
c32bde28 7107static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7108 PyObject *resultobj = NULL;
d55e5bfc
RD
7109 wxToolTip *arg1 = (wxToolTip *) 0 ;
7110 wxWindow *result;
7111 PyObject * obj0 = 0 ;
7112 char *kwnames[] = {
7113 (char *) "self", NULL
7114 };
7115
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
7117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 result = (wxWindow *)(arg1)->GetWindow();
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 {
412d302d 7127 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7128 }
7129 return resultobj;
7130 fail:
7131 return NULL;
7132}
7133
7134
c32bde28 7135static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7136 PyObject *resultobj = NULL;
d55e5bfc
RD
7137 bool arg1 ;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "flag", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
093d3ff1 7144 {
7449af73 7145 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
7146 if (SWIG_arg_fail(1)) SWIG_fail;
7147 }
d55e5bfc
RD
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 wxToolTip::Enable(arg1);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 Py_INCREF(Py_None); resultobj = Py_None;
7156 return resultobj;
7157 fail:
7158 return NULL;
7159}
7160
7161
c32bde28 7162static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7163 PyObject *resultobj = NULL;
d55e5bfc
RD
7164 long arg1 ;
7165 PyObject * obj0 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "milliseconds", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
093d3ff1 7171 {
7449af73 7172 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
7173 if (SWIG_arg_fail(1)) SWIG_fail;
7174 }
d55e5bfc
RD
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 wxToolTip::SetDelay(arg1);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 Py_INCREF(Py_None); resultobj = Py_None;
7183 return resultobj;
7184 fail:
7185 return NULL;
7186}
7187
7188
c32bde28 7189static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7190 PyObject *obj;
7191 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7192 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
7193 Py_INCREF(obj);
7194 return Py_BuildValue((char *)"");
7195}
c32bde28 7196static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7197 PyObject *resultobj = NULL;
d55e5bfc
RD
7198 wxWindow *arg1 = (wxWindow *) 0 ;
7199 wxSize *arg2 = 0 ;
7200 wxCaret *result;
7201 wxSize temp2 ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "window",(char *) "size", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7211 {
7212 arg2 = &temp2;
7213 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7214 }
7215 {
0439c23b 7216 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
7219
7220 wxPyEndAllowThreads(__tstate);
110da5b0 7221 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7222 }
7223 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
7224 return resultobj;
7225 fail:
7226 return NULL;
7227}
7228
7229
7e08d4ef
RD
7230static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj = NULL;
7232 wxCaret *arg1 = (wxCaret *) 0 ;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
7239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7240 if (SWIG_arg_fail(1)) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 delete arg1;
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 Py_INCREF(Py_None); resultobj = Py_None;
7249 return resultobj;
7250 fail:
7251 return NULL;
7252}
7253
7254
091fdbfa 7255static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7256 PyObject *resultobj = NULL;
d55e5bfc
RD
7257 wxCaret *arg1 = (wxCaret *) 0 ;
7258 PyObject * obj0 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self", NULL
7261 };
7262
091fdbfa 7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
7264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7265 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7268 wxCaret_Destroy(arg1);
d55e5bfc
RD
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 Py_INCREF(Py_None); resultobj = Py_None;
7274 return resultobj;
7275 fail:
7276 return NULL;
7277}
7278
7279
c32bde28 7280static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7281 PyObject *resultobj = NULL;
d55e5bfc
RD
7282 wxCaret *arg1 = (wxCaret *) 0 ;
7283 bool result;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
7290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7291 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = (bool)(arg1)->IsOk();
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 {
7300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7301 }
7302 return resultobj;
7303 fail:
7304 return NULL;
7305}
7306
7307
c32bde28 7308static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7309 PyObject *resultobj = NULL;
d55e5bfc
RD
7310 wxCaret *arg1 = (wxCaret *) 0 ;
7311 bool result;
7312 PyObject * obj0 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
093d3ff1
RD
7318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7319 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (bool)(arg1)->IsVisible();
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 {
7328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7329 }
7330 return resultobj;
7331 fail:
7332 return NULL;
7333}
7334
7335
c32bde28 7336static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7337 PyObject *resultobj = NULL;
d55e5bfc
RD
7338 wxCaret *arg1 = (wxCaret *) 0 ;
7339 wxPoint result;
7340 PyObject * obj0 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
7346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (arg1)->GetPosition();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 {
7356 wxPoint * resultptr;
7449af73 7357 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
7358 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
7359 }
7360 return resultobj;
7361 fail:
7362 return NULL;
7363}
7364
7365
c32bde28 7366static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7367 PyObject *resultobj = NULL;
d55e5bfc
RD
7368 wxCaret *arg1 = (wxCaret *) 0 ;
7369 int *arg2 = (int *) 0 ;
7370 int *arg3 = (int *) 0 ;
7371 int temp2 ;
c32bde28 7372 int res2 = 0 ;
d55e5bfc 7373 int temp3 ;
c32bde28 7374 int res3 = 0 ;
d55e5bfc
RD
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self", NULL
7378 };
7379
c32bde28
RD
7380 arg2 = &temp2; res2 = SWIG_NEWOBJ;
7381 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
7383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 (arg1)->GetPosition(arg2,arg3);
7388
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
7393 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
7394 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
7395 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7396 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
7397 return resultobj;
7398 fail:
7399 return NULL;
7400}
7401
7402
c32bde28 7403static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7404 PyObject *resultobj = NULL;
d55e5bfc
RD
7405 wxCaret *arg1 = (wxCaret *) 0 ;
7406 wxSize result;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
7413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = (arg1)->GetSize();
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 {
7423 wxSize * resultptr;
7449af73 7424 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
7425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7426 }
7427 return resultobj;
7428 fail:
7429 return NULL;
7430}
7431
7432
c32bde28 7433static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7434 PyObject *resultobj = NULL;
d55e5bfc
RD
7435 wxCaret *arg1 = (wxCaret *) 0 ;
7436 int *arg2 = (int *) 0 ;
7437 int *arg3 = (int *) 0 ;
7438 int temp2 ;
c32bde28 7439 int res2 = 0 ;
d55e5bfc 7440 int temp3 ;
c32bde28 7441 int res3 = 0 ;
d55e5bfc
RD
7442 PyObject * obj0 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self", NULL
7445 };
7446
c32bde28
RD
7447 arg2 = &temp2; res2 = SWIG_NEWOBJ;
7448 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
093d3ff1
RD
7450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 (arg1)->GetSize(arg2,arg3);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
7460 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
7461 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
7462 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7463 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
c32bde28 7470static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7471 PyObject *resultobj = NULL;
d55e5bfc
RD
7472 wxCaret *arg1 = (wxCaret *) 0 ;
7473 wxWindow *result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
7480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 result = (wxWindow *)(arg1)->GetWindow();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 {
412d302d 7490 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7491 }
7492 return resultobj;
7493 fail:
7494 return NULL;
7495}
7496
7497
c32bde28 7498static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7499 PyObject *resultobj = NULL;
d55e5bfc
RD
7500 wxCaret *arg1 = (wxCaret *) 0 ;
7501 int arg2 ;
7502 int arg3 ;
7503 PyObject * obj0 = 0 ;
7504 PyObject * obj1 = 0 ;
7505 PyObject * obj2 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self",(char *) "x",(char *) "y", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7512 if (SWIG_arg_fail(1)) SWIG_fail;
7513 {
7449af73 7514 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7515 if (SWIG_arg_fail(2)) SWIG_fail;
7516 }
7517 {
7449af73 7518 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7519 if (SWIG_arg_fail(3)) SWIG_fail;
7520 }
d55e5bfc
RD
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 (arg1)->Move(arg2,arg3);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 Py_INCREF(Py_None); resultobj = Py_None;
7529 return resultobj;
7530 fail:
7531 return NULL;
7532}
7533
7534
c32bde28 7535static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7536 PyObject *resultobj = NULL;
d55e5bfc
RD
7537 wxCaret *arg1 = (wxCaret *) 0 ;
7538 wxPoint *arg2 = 0 ;
7539 wxPoint temp2 ;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self",(char *) "pt", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7548 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7549 {
7550 arg2 = &temp2;
7551 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7552 }
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 (arg1)->Move((wxPoint const &)*arg2);
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 Py_INCREF(Py_None); resultobj = Py_None;
7561 return resultobj;
7562 fail:
7563 return NULL;
7564}
7565
7566
c32bde28 7567static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7568 PyObject *resultobj = NULL;
d55e5bfc
RD
7569 wxCaret *arg1 = (wxCaret *) 0 ;
7570 int arg2 ;
7571 int arg3 ;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 PyObject * obj2 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self",(char *) "width",(char *) "height", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7581 if (SWIG_arg_fail(1)) SWIG_fail;
7582 {
7449af73 7583 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7584 if (SWIG_arg_fail(2)) SWIG_fail;
7585 }
7586 {
7449af73 7587 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
7588 if (SWIG_arg_fail(3)) SWIG_fail;
7589 }
d55e5bfc
RD
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 (arg1)->SetSize(arg2,arg3);
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 Py_INCREF(Py_None); resultobj = Py_None;
7598 return resultobj;
7599 fail:
7600 return NULL;
7601}
7602
7603
c32bde28 7604static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7605 PyObject *resultobj = NULL;
d55e5bfc
RD
7606 wxCaret *arg1 = (wxCaret *) 0 ;
7607 wxSize *arg2 = 0 ;
7608 wxSize temp2 ;
7609 PyObject * obj0 = 0 ;
7610 PyObject * obj1 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self",(char *) "size", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7618 {
7619 arg2 = &temp2;
7620 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7621 }
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->SetSize((wxSize const &)*arg2);
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633}
7634
7635
c32bde28 7636static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7637 PyObject *resultobj = NULL;
d55e5bfc 7638 wxCaret *arg1 = (wxCaret *) 0 ;
ae8162c8 7639 int arg2 = (int) true ;
d55e5bfc
RD
7640 PyObject * obj0 = 0 ;
7641 PyObject * obj1 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self",(char *) "show", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7649 if (obj1) {
093d3ff1 7650 {
7449af73 7651 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
7652 if (SWIG_arg_fail(2)) SWIG_fail;
7653 }
d55e5bfc
RD
7654 }
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 (arg1)->Show(arg2);
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 Py_INCREF(Py_None); resultobj = Py_None;
7663 return resultobj;
7664 fail:
7665 return NULL;
7666}
7667
7668
c32bde28 7669static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7670 PyObject *resultobj = NULL;
d55e5bfc
RD
7671 wxCaret *arg1 = (wxCaret *) 0 ;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
093d3ff1
RD
7678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->Hide();
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 Py_INCREF(Py_None); resultobj = Py_None;
7688 return resultobj;
7689 fail:
7690 return NULL;
7691}
7692
7693
c32bde28 7694static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7695 PyObject *resultobj = NULL;
d55e5bfc
RD
7696 int result;
7697 char *kwnames[] = {
7698 NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7704 result = (int)wxCaret::GetBlinkTime();
d55e5bfc
RD
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
093d3ff1 7709 {
7449af73 7710 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 7711 }
d55e5bfc
RD
7712 return resultobj;
7713 fail:
7714 return NULL;
7715}
7716
7717
c32bde28 7718static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7719 PyObject *resultobj = NULL;
d55e5bfc
RD
7720 int arg1 ;
7721 PyObject * obj0 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "milliseconds", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
093d3ff1 7727 {
7449af73 7728 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
7729 if (SWIG_arg_fail(1)) SWIG_fail;
7730 }
d55e5bfc
RD
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7733 wxCaret::SetBlinkTime(arg1);
d55e5bfc
RD
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
091fdbfa
RD
7745static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
7746 PyObject *obj;
7747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7748 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
7749 Py_INCREF(obj);
7750 return Py_BuildValue((char *)"");
7751}
c32bde28 7752static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7753 PyObject *resultobj = NULL;
d55e5bfc
RD
7754 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
7755 wxBusyCursor *result;
7756 PyObject * obj0 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "cursor", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
7762 if (obj0) {
093d3ff1
RD
7763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7765 }
7766 {
0439c23b 7767 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 result = (wxBusyCursor *)new wxBusyCursor(arg1);
7770
7771 wxPyEndAllowThreads(__tstate);
110da5b0 7772 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7773 }
7774 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
7775 return resultobj;
7776 fail:
7777 return NULL;
7778}
7779
7780
c32bde28 7781static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7782 PyObject *resultobj = NULL;
d55e5bfc
RD
7783 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
7784 PyObject * obj0 = 0 ;
7785 char *kwnames[] = {
7786 (char *) "self", NULL
7787 };
7788
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
093d3ff1
RD
7790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 delete arg1;
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 return resultobj;
7801 fail:
7802 return NULL;
7803}
7804
7805
c32bde28 7806static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7807 PyObject *obj;
7808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7809 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
7810 Py_INCREF(obj);
7811 return Py_BuildValue((char *)"");
7812}
c32bde28 7813static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7814 PyObject *resultobj = NULL;
d55e5bfc
RD
7815 wxWindow *arg1 = (wxWindow *) NULL ;
7816 wxWindowDisabler *result;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "winToSkip", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
7823 if (obj0) {
093d3ff1
RD
7824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7826 }
7827 {
0439c23b 7828 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
7831
7832 wxPyEndAllowThreads(__tstate);
110da5b0 7833 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7834 }
7835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
7836 return resultobj;
7837 fail:
7838 return NULL;
7839}
7840
7841
c32bde28 7842static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7843 PyObject *resultobj = NULL;
d55e5bfc
RD
7844 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
7845 PyObject * obj0 = 0 ;
7846 char *kwnames[] = {
7847 (char *) "self", NULL
7848 };
7849
7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
093d3ff1
RD
7851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
7852 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7853 {
7854 PyThreadState* __tstate = wxPyBeginAllowThreads();
7855 delete arg1;
7856
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 Py_INCREF(Py_None); resultobj = Py_None;
7861 return resultobj;
7862 fail:
7863 return NULL;
7864}
7865
7866
c32bde28 7867static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7868 PyObject *obj;
7869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
7871 Py_INCREF(obj);
7872 return Py_BuildValue((char *)"");
7873}
c32bde28 7874static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7875 PyObject *resultobj = NULL;
d55e5bfc
RD
7876 wxString *arg1 = 0 ;
7877 wxBusyInfo *result;
ae8162c8 7878 bool temp1 = false ;
d55e5bfc
RD
7879 PyObject * obj0 = 0 ;
7880 char *kwnames[] = {
7881 (char *) "message", NULL
7882 };
7883
7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7885 {
7886 arg1 = wxString_in_helper(obj0);
7887 if (arg1 == NULL) SWIG_fail;
ae8162c8 7888 temp1 = true;
d55e5bfc
RD
7889 }
7890 {
0439c23b 7891 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7894
7895 wxPyEndAllowThreads(__tstate);
110da5b0 7896 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7897 }
7898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7899 {
7900 if (temp1)
7901 delete arg1;
7902 }
7903 return resultobj;
7904 fail:
7905 {
7906 if (temp1)
7907 delete arg1;
7908 }
7909 return NULL;
7910}
7911
7912
c32bde28 7913static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7914 PyObject *resultobj = NULL;
d55e5bfc
RD
7915 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7916 PyObject * obj0 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
7922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 delete arg1;
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 Py_INCREF(Py_None); resultobj = Py_None;
7932 return resultobj;
7933 fail:
7934 return NULL;
7935}
7936
7937
c32bde28 7938static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7939 PyObject *obj;
7940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7942 Py_INCREF(obj);
7943 return Py_BuildValue((char *)"");
7944}
c32bde28 7945static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7946 PyObject *resultobj = NULL;
d55e5bfc
RD
7947 wxStopWatch *result;
7948 char *kwnames[] = {
7949 NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 result = (wxStopWatch *)new wxStopWatch();
7956
7957 wxPyEndAllowThreads(__tstate);
7958 if (PyErr_Occurred()) SWIG_fail;
7959 }
7960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7961 return resultobj;
7962 fail:
7963 return NULL;
7964}
7965
7966
c32bde28 7967static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 7968 PyObject *resultobj = NULL;
d55e5bfc
RD
7969 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7970 long arg2 = (long) 0 ;
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
7973 char *kwnames[] = {
7974 (char *) "self",(char *) "t0", NULL
7975 };
7976
7977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7980 if (obj1) {
093d3ff1 7981 {
7449af73 7982 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
7983 if (SWIG_arg_fail(2)) SWIG_fail;
7984 }
d55e5bfc
RD
7985 }
7986 {
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 (arg1)->Start(arg2);
7989
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 Py_INCREF(Py_None); resultobj = Py_None;
7994 return resultobj;
7995 fail:
7996 return NULL;
7997}
7998
7999
c32bde28 8000static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8001 PyObject *resultobj = NULL;
d55e5bfc
RD
8002 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8003 PyObject * obj0 = 0 ;
8004 char *kwnames[] = {
8005 (char *) "self", NULL
8006 };
8007
8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
093d3ff1
RD
8009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 (arg1)->Pause();
8014
8015 wxPyEndAllowThreads(__tstate);
8016 if (PyErr_Occurred()) SWIG_fail;
8017 }
8018 Py_INCREF(Py_None); resultobj = Py_None;
8019 return resultobj;
8020 fail:
8021 return NULL;
8022}
8023
8024
c32bde28 8025static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8026 PyObject *resultobj = NULL;
d55e5bfc
RD
8027 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8028 PyObject * obj0 = 0 ;
8029 char *kwnames[] = {
8030 (char *) "self", NULL
8031 };
8032
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
093d3ff1
RD
8034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8035 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 (arg1)->Resume();
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 Py_INCREF(Py_None); resultobj = Py_None;
8044 return resultobj;
8045 fail:
8046 return NULL;
8047}
8048
8049
c32bde28 8050static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8051 PyObject *resultobj = NULL;
d55e5bfc
RD
8052 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8053 long result;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "self", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
093d3ff1
RD
8060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = (long)((wxStopWatch const *)arg1)->Time();
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
093d3ff1 8069 {
7449af73 8070 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 8071 }
d55e5bfc
RD
8072 return resultobj;
8073 fail:
8074 return NULL;
8075}
8076
8077
c32bde28 8078static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8079 PyObject *obj;
8080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8081 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
8082 Py_INCREF(obj);
8083 return Py_BuildValue((char *)"");
8084}
c32bde28 8085static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8086 PyObject *resultobj = NULL;
d55e5bfc 8087 int arg1 = (int) 9 ;
4cf4100f 8088 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
8089 wxFileHistory *result;
8090 PyObject * obj0 = 0 ;
4cf4100f 8091 PyObject * obj1 = 0 ;
d55e5bfc 8092 char *kwnames[] = {
4cf4100f 8093 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
8094 };
8095
4cf4100f 8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 8097 if (obj0) {
093d3ff1 8098 {
7449af73 8099 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
8100 if (SWIG_arg_fail(1)) SWIG_fail;
8101 }
d55e5bfc 8102 }
4cf4100f 8103 if (obj1) {
093d3ff1 8104 {
7449af73 8105 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8106 if (SWIG_arg_fail(2)) SWIG_fail;
8107 }
4cf4100f 8108 }
d55e5bfc
RD
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 8111 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
8117 return resultobj;
8118 fail:
8119 return NULL;
8120}
8121
8122
c32bde28 8123static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8124 PyObject *resultobj = NULL;
d55e5bfc
RD
8125 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8126 PyObject * obj0 = 0 ;
8127 char *kwnames[] = {
8128 (char *) "self", NULL
8129 };
8130
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
093d3ff1
RD
8132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 delete arg1;
8137
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 Py_INCREF(Py_None); resultobj = Py_None;
8142 return resultobj;
8143 fail:
8144 return NULL;
8145}
8146
8147
c32bde28 8148static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8149 PyObject *resultobj = NULL;
d55e5bfc
RD
8150 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8151 wxString *arg2 = 0 ;
ae8162c8 8152 bool temp2 = false ;
d55e5bfc
RD
8153 PyObject * obj0 = 0 ;
8154 PyObject * obj1 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "file", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8162 {
8163 arg2 = wxString_in_helper(obj1);
8164 if (arg2 == NULL) SWIG_fail;
ae8162c8 8165 temp2 = true;
d55e5bfc
RD
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 (arg1)->AddFileToHistory((wxString const &)*arg2);
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 Py_INCREF(Py_None); resultobj = Py_None;
8175 {
8176 if (temp2)
8177 delete arg2;
8178 }
8179 return resultobj;
8180 fail:
8181 {
8182 if (temp2)
8183 delete arg2;
8184 }
8185 return NULL;
8186}
8187
8188
c32bde28 8189static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8190 PyObject *resultobj = NULL;
d55e5bfc
RD
8191 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8192 int arg2 ;
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj1 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self",(char *) "i", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8201 if (SWIG_arg_fail(1)) SWIG_fail;
8202 {
7449af73 8203 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8204 if (SWIG_arg_fail(2)) SWIG_fail;
8205 }
d55e5bfc
RD
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 (arg1)->RemoveFileFromHistory(arg2);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 Py_INCREF(Py_None); resultobj = Py_None;
8214 return resultobj;
8215 fail:
8216 return NULL;
8217}
8218
8219
c32bde28 8220static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8221 PyObject *resultobj = NULL;
d55e5bfc
RD
8222 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8223 int result;
8224 PyObject * obj0 = 0 ;
8225 char *kwnames[] = {
8226 (char *) "self", NULL
8227 };
8228
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
093d3ff1
RD
8230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8231 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
093d3ff1 8239 {
7449af73 8240 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8241 }
d55e5bfc
RD
8242 return resultobj;
8243 fail:
8244 return NULL;
8245}
8246
8247
c32bde28 8248static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8249 PyObject *resultobj = NULL;
d55e5bfc
RD
8250 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8251 wxMenu *arg2 = (wxMenu *) 0 ;
8252 PyObject * obj0 = 0 ;
8253 PyObject * obj1 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self",(char *) "menu", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail;
8261 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8262 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 (arg1)->UseMenu(arg2);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 Py_INCREF(Py_None); resultobj = Py_None;
8271 return resultobj;
8272 fail:
8273 return NULL;
8274}
8275
8276
c32bde28 8277static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8278 PyObject *resultobj = NULL;
d55e5bfc
RD
8279 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8280 wxMenu *arg2 = (wxMenu *) 0 ;
8281 PyObject * obj0 = 0 ;
8282 PyObject * obj1 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self",(char *) "menu", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8289 if (SWIG_arg_fail(1)) SWIG_fail;
8290 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8291 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8292 {
8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
8294 (arg1)->RemoveMenu(arg2);
8295
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 Py_INCREF(Py_None); resultobj = Py_None;
8300 return resultobj;
8301 fail:
8302 return NULL;
8303}
8304
8305
c32bde28 8306static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8307 PyObject *resultobj = NULL;
d55e5bfc
RD
8308 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8309 wxConfigBase *arg2 = 0 ;
8310 PyObject * obj0 = 0 ;
8311 PyObject * obj1 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "self",(char *) "config", NULL
8314 };
8315
8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8318 if (SWIG_arg_fail(1)) SWIG_fail;
8319 {
8320 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8321 if (SWIG_arg_fail(2)) SWIG_fail;
8322 if (arg2 == NULL) {
8323 SWIG_null_ref("wxConfigBase");
8324 }
8325 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8326 }
8327 {
8328 PyThreadState* __tstate = wxPyBeginAllowThreads();
8329 (arg1)->Load(*arg2);
8330
8331 wxPyEndAllowThreads(__tstate);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 }
8334 Py_INCREF(Py_None); resultobj = Py_None;
8335 return resultobj;
8336 fail:
8337 return NULL;
8338}
8339
8340
c32bde28 8341static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8342 PyObject *resultobj = NULL;
d55e5bfc
RD
8343 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8344 wxConfigBase *arg2 = 0 ;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self",(char *) "config", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8353 if (SWIG_arg_fail(1)) SWIG_fail;
8354 {
8355 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8356 if (SWIG_arg_fail(2)) SWIG_fail;
8357 if (arg2 == NULL) {
8358 SWIG_null_ref("wxConfigBase");
8359 }
8360 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 (arg1)->Save(*arg2);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 Py_INCREF(Py_None); resultobj = Py_None;
8370 return resultobj;
8371 fail:
8372 return NULL;
8373}
8374
8375
c32bde28 8376static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8377 PyObject *resultobj = NULL;
d55e5bfc
RD
8378 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8379 PyObject * obj0 = 0 ;
8380 char *kwnames[] = {
8381 (char *) "self", NULL
8382 };
8383
8384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
093d3ff1
RD
8385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8387 {
8388 PyThreadState* __tstate = wxPyBeginAllowThreads();
8389 (arg1)->AddFilesToMenu();
8390
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 Py_INCREF(Py_None); resultobj = Py_None;
8395 return resultobj;
8396 fail:
8397 return NULL;
8398}
8399
8400
c32bde28 8401static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8402 PyObject *resultobj = NULL;
d55e5bfc
RD
8403 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8404 wxMenu *arg2 = (wxMenu *) 0 ;
8405 PyObject * obj0 = 0 ;
8406 PyObject * obj1 = 0 ;
8407 char *kwnames[] = {
8408 (char *) "self",(char *) "menu", NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8413 if (SWIG_arg_fail(1)) SWIG_fail;
8414 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8415 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 (arg1)->AddFilesToMenu(arg2);
8419
8420 wxPyEndAllowThreads(__tstate);
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 Py_INCREF(Py_None); resultobj = Py_None;
8424 return resultobj;
8425 fail:
8426 return NULL;
8427}
8428
8429
c32bde28 8430static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8431 PyObject *resultobj = NULL;
d55e5bfc
RD
8432 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8433 int arg2 ;
8434 wxString result;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437 char *kwnames[] = {
8438 (char *) "self",(char *) "i", NULL
8439 };
8440
8441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail;
8444 {
7449af73 8445 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
8446 if (SWIG_arg_fail(2)) SWIG_fail;
8447 }
d55e5bfc
RD
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 {
8456#if wxUSE_UNICODE
8457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8458#else
8459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8460#endif
8461 }
8462 return resultobj;
8463 fail:
8464 return NULL;
8465}
8466
8467
c32bde28 8468static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8469 PyObject *resultobj = NULL;
d55e5bfc
RD
8470 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8471 int result;
8472 PyObject * obj0 = 0 ;
8473 char *kwnames[] = {
8474 (char *) "self", NULL
8475 };
8476
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
8478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (int)((wxFileHistory const *)arg1)->GetCount();
8483
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
093d3ff1 8487 {
7449af73 8488 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 8489 }
d55e5bfc
RD
8490 return resultobj;
8491 fail:
8492 return NULL;
8493}
8494
8495
c32bde28 8496static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8497 PyObject *obj;
8498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8499 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
8500 Py_INCREF(obj);
8501 return Py_BuildValue((char *)"");
8502}
c32bde28 8503static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8504 PyObject *resultobj = NULL;
d55e5bfc
RD
8505 wxString *arg1 = 0 ;
8506 wxString const &arg2_defvalue = wxPyEmptyString ;
8507 wxString *arg2 = (wxString *) &arg2_defvalue ;
8508 wxSingleInstanceChecker *result;
ae8162c8
RD
8509 bool temp1 = false ;
8510 bool temp2 = false ;
d55e5bfc
RD
8511 PyObject * obj0 = 0 ;
8512 PyObject * obj1 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "name",(char *) "path", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
8518 {
8519 arg1 = wxString_in_helper(obj0);
8520 if (arg1 == NULL) SWIG_fail;
ae8162c8 8521 temp1 = true;
d55e5bfc
RD
8522 }
8523 if (obj1) {
8524 {
8525 arg2 = wxString_in_helper(obj1);
8526 if (arg2 == NULL) SWIG_fail;
ae8162c8 8527 temp2 = true;
d55e5bfc
RD
8528 }
8529 }
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
8538 {
8539 if (temp1)
8540 delete arg1;
8541 }
8542 {
8543 if (temp2)
8544 delete arg2;
8545 }
8546 return resultobj;
8547 fail:
8548 {
8549 if (temp1)
8550 delete arg1;
8551 }
8552 {
8553 if (temp2)
8554 delete arg2;
8555 }
8556 return NULL;
8557}
8558
8559
c32bde28 8560static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8561 PyObject *resultobj = NULL;
d55e5bfc
RD
8562 wxSingleInstanceChecker *result;
8563 char *kwnames[] = {
8564 NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
8576 return resultobj;
8577 fail:
8578 return NULL;
8579}
8580
8581
c32bde28 8582static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8583 PyObject *resultobj = NULL;
d55e5bfc
RD
8584 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8585 PyObject * obj0 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self", NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
093d3ff1
RD
8591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 delete arg1;
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 Py_INCREF(Py_None); resultobj = Py_None;
8601 return resultobj;
8602 fail:
8603 return NULL;
8604}
8605
8606
c32bde28 8607static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8608 PyObject *resultobj = NULL;
d55e5bfc
RD
8609 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8610 wxString *arg2 = 0 ;
8611 wxString const &arg3_defvalue = wxPyEmptyString ;
8612 wxString *arg3 = (wxString *) &arg3_defvalue ;
8613 bool result;
ae8162c8
RD
8614 bool temp2 = false ;
8615 bool temp3 = false ;
d55e5bfc
RD
8616 PyObject * obj0 = 0 ;
8617 PyObject * obj1 = 0 ;
8618 PyObject * obj2 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "name",(char *) "path", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8626 {
8627 arg2 = wxString_in_helper(obj1);
8628 if (arg2 == NULL) SWIG_fail;
ae8162c8 8629 temp2 = true;
d55e5bfc
RD
8630 }
8631 if (obj2) {
8632 {
8633 arg3 = wxString_in_helper(obj2);
8634 if (arg3 == NULL) SWIG_fail;
ae8162c8 8635 temp3 = true;
d55e5bfc
RD
8636 }
8637 }
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 {
8646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8647 }
8648 {
8649 if (temp2)
8650 delete arg2;
8651 }
8652 {
8653 if (temp3)
8654 delete arg3;
8655 }
8656 return resultobj;
8657 fail:
8658 {
8659 if (temp2)
8660 delete arg2;
8661 }
8662 {
8663 if (temp3)
8664 delete arg3;
8665 }
8666 return NULL;
8667}
8668
8669
c32bde28 8670static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8671 PyObject *resultobj = NULL;
d55e5bfc
RD
8672 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8673 bool result;
8674 PyObject * obj0 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
8680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 {
8690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8691 }
8692 return resultobj;
8693 fail:
8694 return NULL;
8695}
8696
8697
c32bde28 8698static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8699 PyObject *obj;
8700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8701 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
8702 Py_INCREF(obj);
8703 return Py_BuildValue((char *)"");
8704}
68350608 8705static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8706 PyObject *resultobj = NULL;
68350608
RD
8707 wxWindow *arg1 = (wxWindow *) 0 ;
8708 wxDC *arg2 = 0 ;
8709 bool result;
8710 PyObject * obj0 = 0 ;
8711 PyObject * obj1 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "window",(char *) "dc", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
8717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8718 if (SWIG_arg_fail(1)) SWIG_fail;
8719 {
8720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8721 if (SWIG_arg_fail(2)) SWIG_fail;
8722 if (arg2 == NULL) {
8723 SWIG_null_ref("wxDC");
8724 }
8725 if (SWIG_arg_fail(2)) SWIG_fail;
8726 }
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
8730
8731 wxPyEndAllowThreads(__tstate);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 }
8734 {
8735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8736 }
8737 return resultobj;
8738 fail:
8739 return NULL;
8740}
8741
8742
c32bde28 8743static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8744 PyObject *resultobj = NULL;
d55e5bfc
RD
8745 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8746 PyObject * obj0 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
8752 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8753 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 delete arg1;
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765}
8766
8767
c32bde28 8768static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8769 PyObject *resultobj = NULL;
d55e5bfc
RD
8770 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8771 wxString result;
8772 PyObject * obj0 = 0 ;
8773 char *kwnames[] = {
8774 (char *) "self", NULL
8775 };
8776
8777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (arg1)->GetTip();
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 {
8788#if wxUSE_UNICODE
8789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8790#else
8791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8792#endif
8793 }
8794 return resultobj;
8795 fail:
8796 return NULL;
8797}
8798
8799
c32bde28 8800static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8801 PyObject *resultobj = NULL;
d55e5bfc
RD
8802 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8803 size_t result;
8804 PyObject * obj0 = 0 ;
8805 char *kwnames[] = {
8806 (char *) "self", NULL
8807 };
8808
8809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
093d3ff1
RD
8810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 result = (size_t)(arg1)->GetCurrentTip();
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
093d3ff1 8819 {
7449af73 8820 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 8821 }
d55e5bfc
RD
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
c32bde28 8828static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8829 PyObject *resultobj = NULL;
d55e5bfc
RD
8830 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8831 wxString *arg2 = 0 ;
8832 wxString result;
ae8162c8 8833 bool temp2 = false ;
d55e5bfc
RD
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "tip", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
8841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8843 {
8844 arg2 = wxString_in_helper(obj1);
8845 if (arg2 == NULL) SWIG_fail;
ae8162c8 8846 temp2 = true;
d55e5bfc
RD
8847 }
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 result = (arg1)->PreprocessTip((wxString const &)*arg2);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 {
8856#if wxUSE_UNICODE
8857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8858#else
8859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8860#endif
8861 }
8862 {
8863 if (temp2)
8864 delete arg2;
8865 }
8866 return resultobj;
8867 fail:
8868 {
8869 if (temp2)
8870 delete arg2;
8871 }
8872 return NULL;
8873}
8874
8875
c32bde28 8876static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8877 PyObject *obj;
8878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8879 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8880 Py_INCREF(obj);
8881 return Py_BuildValue((char *)"");
8882}
c32bde28 8883static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8884 PyObject *resultobj = NULL;
d55e5bfc
RD
8885 size_t arg1 ;
8886 wxPyTipProvider *result;
8887 PyObject * obj0 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "currentTip", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
093d3ff1 8893 {
7449af73 8894 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
8895 if (SWIG_arg_fail(1)) SWIG_fail;
8896 }
d55e5bfc
RD
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8905 return resultobj;
8906 fail:
8907 return NULL;
8908}
8909
8910
c32bde28 8911static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8912 PyObject *resultobj = NULL;
d55e5bfc
RD
8913 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8914 PyObject *arg2 = (PyObject *) 0 ;
8915 PyObject *arg3 = (PyObject *) 0 ;
8916 PyObject * obj0 = 0 ;
8917 PyObject * obj1 = 0 ;
8918 PyObject * obj2 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "self",(char *) "_class", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8926 arg2 = obj1;
8927 arg3 = obj2;
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->_setCallbackInfo(arg2,arg3);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
c32bde28 8942static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8943 PyObject *obj;
8944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8945 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8946 Py_INCREF(obj);
8947 return Py_BuildValue((char *)"");
8948}
c32bde28 8949static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8950 PyObject *resultobj = NULL;
d55e5bfc
RD
8951 wxWindow *arg1 = (wxWindow *) 0 ;
8952 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
ae8162c8 8953 bool arg3 = (bool) true ;
d55e5bfc
RD
8954 bool result;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 PyObject * obj2 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
8963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8964 if (SWIG_arg_fail(1)) SWIG_fail;
8965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8966 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8967 if (obj2) {
093d3ff1 8968 {
7449af73 8969 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
8970 if (SWIG_arg_fail(3)) SWIG_fail;
8971 }
d55e5bfc
RD
8972 }
8973 {
0439c23b 8974 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 result = (bool)wxShowTip(arg1,arg2,arg3);
8977
8978 wxPyEndAllowThreads(__tstate);
110da5b0 8979 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8980 }
8981 {
8982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8983 }
8984 return resultobj;
8985 fail:
8986 return NULL;
8987}
8988
8989
c32bde28 8990static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 8991 PyObject *resultobj = NULL;
d55e5bfc
RD
8992 wxString *arg1 = 0 ;
8993 size_t arg2 ;
8994 wxTipProvider *result;
ae8162c8 8995 bool temp1 = false ;
d55e5bfc
RD
8996 PyObject * obj0 = 0 ;
8997 PyObject * obj1 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "filename",(char *) "currentTip", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
9003 {
9004 arg1 = wxString_in_helper(obj0);
9005 if (arg1 == NULL) SWIG_fail;
ae8162c8 9006 temp1 = true;
d55e5bfc 9007 }
093d3ff1 9008 {
7449af73 9009 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
093d3ff1
RD
9010 if (SWIG_arg_fail(2)) SWIG_fail;
9011 }
d55e5bfc 9012 {
0439c23b 9013 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
9016
9017 wxPyEndAllowThreads(__tstate);
110da5b0 9018 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9019 }
9020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
9021 {
9022 if (temp1)
9023 delete arg1;
9024 }
9025 return resultobj;
9026 fail:
9027 {
9028 if (temp1)
9029 delete arg1;
9030 }
9031 return NULL;
9032}
9033
9034
c32bde28 9035static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9036 PyObject *resultobj = NULL;
d55e5bfc
RD
9037 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9038 int arg2 = (int) -1 ;
9039 wxPyTimer *result;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "owner",(char *) "id", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
9047 if (obj0) {
093d3ff1
RD
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9050 }
9051 if (obj1) {
093d3ff1 9052 {
7449af73 9053 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9054 if (SWIG_arg_fail(2)) SWIG_fail;
9055 }
d55e5bfc
RD
9056 }
9057 {
0439c23b 9058 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
9061
9062 wxPyEndAllowThreads(__tstate);
110da5b0 9063 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9064 }
9065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069}
9070
9071
c32bde28 9072static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9073 PyObject *resultobj = NULL;
d55e5bfc
RD
9074 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9075 PyObject * obj0 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
093d3ff1
RD
9081 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9082 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 delete arg1;
9086
9087 wxPyEndAllowThreads(__tstate);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 Py_INCREF(Py_None); resultobj = Py_None;
9091 return resultobj;
9092 fail:
9093 return NULL;
9094}
9095
9096
c32bde28 9097static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9098 PyObject *resultobj = NULL;
d55e5bfc
RD
9099 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9100 PyObject *arg2 = (PyObject *) 0 ;
9101 PyObject *arg3 = (PyObject *) 0 ;
9102 int arg4 = (int) 1 ;
9103 PyObject * obj0 = 0 ;
9104 PyObject * obj1 = 0 ;
9105 PyObject * obj2 = 0 ;
9106 PyObject * obj3 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
9112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9114 arg2 = obj1;
9115 arg3 = obj2;
9116 if (obj3) {
093d3ff1 9117 {
7449af73 9118 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
9119 if (SWIG_arg_fail(4)) SWIG_fail;
9120 }
d55e5bfc
RD
9121 }
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 Py_INCREF(Py_None); resultobj = Py_None;
9130 return resultobj;
9131 fail:
9132 return NULL;
9133}
9134
9135
c32bde28 9136static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9137 PyObject *resultobj = NULL;
d55e5bfc
RD
9138 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9139 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
9140 int arg3 = (int) -1 ;
9141 PyObject * obj0 = 0 ;
9142 PyObject * obj1 = 0 ;
9143 PyObject * obj2 = 0 ;
9144 char *kwnames[] = {
9145 (char *) "self",(char *) "owner",(char *) "id", NULL
9146 };
9147
9148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9150 if (SWIG_arg_fail(1)) SWIG_fail;
9151 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
9152 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9153 if (obj2) {
093d3ff1 9154 {
7449af73 9155 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
9156 if (SWIG_arg_fail(3)) SWIG_fail;
9157 }
d55e5bfc
RD
9158 }
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 (arg1)->SetOwner(arg2,arg3);
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 Py_INCREF(Py_None); resultobj = Py_None;
9167 return resultobj;
9168 fail:
9169 return NULL;
9170}
9171
9172
c32bde28 9173static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9174 PyObject *resultobj = NULL;
1a6bba1e
RD
9175 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9176 wxEvtHandler *result;
9177 PyObject * obj0 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
093d3ff1
RD
9183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9184 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
9185 {
9186 PyThreadState* __tstate = wxPyBeginAllowThreads();
9187 result = (wxEvtHandler *)(arg1)->GetOwner();
9188
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 {
412d302d 9193 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
9194 }
9195 return resultobj;
9196 fail:
9197 return NULL;
9198}
9199
9200
c32bde28 9201static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9202 PyObject *resultobj = NULL;
d55e5bfc
RD
9203 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9204 int arg2 = (int) -1 ;
ae8162c8 9205 bool arg3 = (bool) false ;
d55e5bfc
RD
9206 bool result;
9207 PyObject * obj0 = 0 ;
9208 PyObject * obj1 = 0 ;
9209 PyObject * obj2 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9217 if (obj1) {
093d3ff1 9218 {
7449af73 9219 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9220 if (SWIG_arg_fail(2)) SWIG_fail;
9221 }
d55e5bfc
RD
9222 }
9223 if (obj2) {
093d3ff1 9224 {
7449af73 9225 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9226 if (SWIG_arg_fail(3)) SWIG_fail;
9227 }
d55e5bfc
RD
9228 }
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 result = (bool)(arg1)->Start(arg2,arg3);
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 {
9237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9238 }
9239 return resultobj;
9240 fail:
9241 return NULL;
9242}
9243
9244
c32bde28 9245static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9246 PyObject *resultobj = NULL;
d55e5bfc
RD
9247 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9248 PyObject * obj0 = 0 ;
9249 char *kwnames[] = {
9250 (char *) "self", NULL
9251 };
9252
9253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
093d3ff1
RD
9254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 (arg1)->Stop();
9259
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 Py_INCREF(Py_None); resultobj = Py_None;
9264 return resultobj;
9265 fail:
9266 return NULL;
9267}
9268
9269
b06b3e70
RD
9270static PyObject *_wrap_Timer_Notify(PyObject *, PyObject *args, PyObject *kwargs) {
9271 PyObject *resultobj = NULL;
9272 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9273 PyObject * obj0 = 0 ;
9274 char *kwnames[] = {
9275 (char *) "self", NULL
9276 };
9277
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
9279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail;
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 (arg1)->Notify();
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 Py_INCREF(Py_None); resultobj = Py_None;
9289 return resultobj;
9290 fail:
9291 return NULL;
9292}
9293
9294
c32bde28 9295static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9296 PyObject *resultobj = NULL;
d55e5bfc
RD
9297 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9298 bool result;
9299 PyObject * obj0 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
093d3ff1
RD
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 {
9315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9316 }
9317 return resultobj;
9318 fail:
9319 return NULL;
9320}
9321
9322
c32bde28 9323static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9324 PyObject *resultobj = NULL;
d55e5bfc
RD
9325 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9326 int result;
9327 PyObject * obj0 = 0 ;
9328 char *kwnames[] = {
9329 (char *) "self", NULL
9330 };
9331
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
9333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 result = (int)((wxPyTimer const *)arg1)->GetInterval();
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
093d3ff1 9342 {
7449af73 9343 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9344 }
d55e5bfc
RD
9345 return resultobj;
9346 fail:
9347 return NULL;
9348}
9349
9350
c32bde28 9351static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9352 PyObject *resultobj = NULL;
d55e5bfc
RD
9353 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9354 bool result;
9355 PyObject * obj0 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
093d3ff1
RD
9361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 {
9371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9372 }
9373 return resultobj;
9374 fail:
9375 return NULL;
9376}
9377
9378
c32bde28 9379static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9380 PyObject *resultobj = NULL;
d55e5bfc
RD
9381 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9382 int result;
9383 PyObject * obj0 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
9389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 result = (int)((wxPyTimer const *)arg1)->GetId();
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
093d3ff1 9398 {
7449af73 9399 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9400 }
d55e5bfc
RD
9401 return resultobj;
9402 fail:
9403 return NULL;
9404}
9405
9406
c32bde28 9407static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9408 PyObject *obj;
9409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9410 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
9411 Py_INCREF(obj);
9412 return Py_BuildValue((char *)"");
9413}
c32bde28 9414static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9415 PyObject *resultobj = NULL;
d55e5bfc
RD
9416 int arg1 = (int) 0 ;
9417 int arg2 = (int) 0 ;
9418 wxTimerEvent *result;
9419 PyObject * obj0 = 0 ;
9420 PyObject * obj1 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "timerid",(char *) "interval", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
9426 if (obj0) {
093d3ff1 9427 {
7449af73 9428 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
9429 if (SWIG_arg_fail(1)) SWIG_fail;
9430 }
d55e5bfc
RD
9431 }
9432 if (obj1) {
093d3ff1 9433 {
7449af73 9434 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9435 if (SWIG_arg_fail(2)) SWIG_fail;
9436 }
d55e5bfc
RD
9437 }
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
9441
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
9446 return resultobj;
9447 fail:
9448 return NULL;
9449}
9450
9451
c32bde28 9452static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9453 PyObject *resultobj = NULL;
d55e5bfc
RD
9454 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
9455 int result;
9456 PyObject * obj0 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
093d3ff1
RD
9462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
9463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
9466 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
9467
9468 wxPyEndAllowThreads(__tstate);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
093d3ff1 9471 {
7449af73 9472 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 9473 }
d55e5bfc
RD
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
c32bde28 9480static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9481 PyObject *obj;
9482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9483 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
9484 Py_INCREF(obj);
9485 return Py_BuildValue((char *)"");
9486}
c32bde28 9487static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
7449af73 9488 PyObject *resultobj = NULL;
d55e5bfc
RD
9489 wxTimer *arg1 = 0 ;
9490 wxTimerRunner *result;
9491 PyObject * obj0 = 0 ;
9492
9493 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
093d3ff1
RD
9494 {
9495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
9496 if (SWIG_arg_fail(1)) SWIG_fail;
9497 if (arg1 == NULL) {
9498 SWIG_null_ref("wxTimer");
9499 }
9500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9501 }
9502 {
0439c23b 9503 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
9506
9507 wxPyEndAllowThreads(__tstate);
110da5b0 9508 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9509 }
9510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
c32bde28 9517static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
7449af73 9518 PyObject *resultobj = NULL;
d55e5bfc
RD
9519 wxTimer *arg1 = 0 ;
9520 int arg2 ;
ae8162c8 9521 bool arg3 = (bool) false ;
d55e5bfc
RD
9522 wxTimerRunner *result;
9523 PyObject * obj0 = 0 ;
9524 PyObject * obj1 = 0 ;
9525 PyObject * obj2 = 0 ;
9526
9527 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9528 {
9529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
9530 if (SWIG_arg_fail(1)) SWIG_fail;
9531 if (arg1 == NULL) {
9532 SWIG_null_ref("wxTimer");
9533 }
9534 if (SWIG_arg_fail(1)) SWIG_fail;
9535 }
9536 {
7449af73 9537 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9538 if (SWIG_arg_fail(2)) SWIG_fail;
9539 }
d55e5bfc 9540 if (obj2) {
093d3ff1 9541 {
7449af73 9542 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9543 if (SWIG_arg_fail(3)) SWIG_fail;
9544 }
d55e5bfc
RD
9545 }
9546 {
0439c23b 9547 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
9550
9551 wxPyEndAllowThreads(__tstate);
110da5b0 9552 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9553 }
9554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
9555 return resultobj;
9556 fail:
9557 return NULL;
9558}
9559
9560
9561static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
9562 int argc;
9563 PyObject *argv[4];
9564 int ii;
9565
9566 argc = PyObject_Length(args);
9567 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
9568 argv[ii] = PyTuple_GetItem(args,ii);
9569 }
9570 if (argc == 1) {
9571 int _v;
9572 {
093d3ff1 9573 void *ptr = 0;
d55e5bfc
RD
9574 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
9575 _v = 0;
9576 PyErr_Clear();
9577 } else {
093d3ff1 9578 _v = (ptr != 0);
d55e5bfc
RD
9579 }
9580 }
9581 if (_v) {
9582 return _wrap_new_TimerRunner__SWIG_0(self,args);
9583 }
9584 }
9585 if ((argc >= 2) && (argc <= 3)) {
9586 int _v;
9587 {
093d3ff1 9588 void *ptr = 0;
d55e5bfc
RD
9589 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
9590 _v = 0;
9591 PyErr_Clear();
9592 } else {
093d3ff1 9593 _v = (ptr != 0);
d55e5bfc
RD
9594 }
9595 }
9596 if (_v) {
c32bde28 9597 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
9598 if (_v) {
9599 if (argc <= 2) {
9600 return _wrap_new_TimerRunner__SWIG_1(self,args);
9601 }
c32bde28 9602 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
9603 if (_v) {
9604 return _wrap_new_TimerRunner__SWIG_1(self,args);
9605 }
9606 }
9607 }
9608 }
9609
093d3ff1 9610 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d55e5bfc
RD
9611 return NULL;
9612}
9613
9614
c32bde28 9615static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9616 PyObject *resultobj = NULL;
d55e5bfc
RD
9617 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
093d3ff1
RD
9624 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
9625 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9626 {
9627 PyThreadState* __tstate = wxPyBeginAllowThreads();
9628 delete arg1;
9629
9630 wxPyEndAllowThreads(__tstate);
9631 if (PyErr_Occurred()) SWIG_fail;
9632 }
9633 Py_INCREF(Py_None); resultobj = Py_None;
9634 return resultobj;
9635 fail:
9636 return NULL;
9637}
9638
9639
c32bde28 9640static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9641 PyObject *resultobj = NULL;
d55e5bfc
RD
9642 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
9643 int arg2 ;
ae8162c8 9644 bool arg3 = (bool) false ;
d55e5bfc
RD
9645 PyObject * obj0 = 0 ;
9646 PyObject * obj1 = 0 ;
9647 PyObject * obj2 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
9653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
9654 if (SWIG_arg_fail(1)) SWIG_fail;
9655 {
7449af73 9656 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
9657 if (SWIG_arg_fail(2)) SWIG_fail;
9658 }
d55e5bfc 9659 if (obj2) {
093d3ff1 9660 {
7449af73 9661 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
9662 if (SWIG_arg_fail(3)) SWIG_fail;
9663 }
d55e5bfc
RD
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 (arg1)->Start(arg2,arg3);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
c32bde28 9679static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9680 PyObject *obj;
9681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9682 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
9683 Py_INCREF(obj);
9684 return Py_BuildValue((char *)"");
9685}
c32bde28 9686static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9687 PyObject *resultobj = NULL;
d55e5bfc
RD
9688 wxLog *result;
9689 char *kwnames[] = {
9690 NULL
9691 };
9692
9693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (wxLog *)new wxLog();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
7e08d4ef
RD
9708static PyObject *_wrap_delete_Log(PyObject *, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj = NULL;
9710 wxLog *arg1 = (wxLog *) 0 ;
9711 PyObject * obj0 = 0 ;
9712 char *kwnames[] = {
9713 (char *) "self", NULL
9714 };
9715
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Log",kwnames,&obj0)) goto fail;
9717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9718 if (SWIG_arg_fail(1)) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 delete arg1;
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 Py_INCREF(Py_None); resultobj = Py_None;
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
c32bde28 9733static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9734 PyObject *resultobj = NULL;
d55e5bfc
RD
9735 bool result;
9736 char *kwnames[] = {
9737 NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (bool)wxLog::IsEnabled();
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 }
9751 return resultobj;
9752 fail:
9753 return NULL;
9754}
9755
9756
c32bde28 9757static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9758 PyObject *resultobj = NULL;
ae8162c8 9759 bool arg1 = (bool) true ;
d55e5bfc
RD
9760 bool result;
9761 PyObject * obj0 = 0 ;
9762 char *kwnames[] = {
9763 (char *) "doIt", NULL
9764 };
9765
9766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
9767 if (obj0) {
093d3ff1 9768 {
7449af73 9769 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
9770 if (SWIG_arg_fail(1)) SWIG_fail;
9771 }
d55e5bfc
RD
9772 }
9773 {
9774 PyThreadState* __tstate = wxPyBeginAllowThreads();
9775 result = (bool)wxLog::EnableLogging(arg1);
9776
9777 wxPyEndAllowThreads(__tstate);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 {
9781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9782 }
9783 return resultobj;
9784 fail:
9785 return NULL;
9786}
9787
9788
c32bde28 9789static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9790 PyObject *resultobj = NULL;
d55e5bfc
RD
9791 wxLogLevel arg1 ;
9792 wxChar *arg2 = (wxChar *) 0 ;
9793 time_t arg3 ;
9794 PyObject * obj0 = 0 ;
9795 PyObject * obj1 = 0 ;
9796 PyObject * obj2 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "level",(char *) "szString",(char *) "t", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 9802 {
7449af73 9803 arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
9804 if (SWIG_arg_fail(1)) SWIG_fail;
9805 }
9806 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9807 if (SWIG_arg_fail(2)) SWIG_fail;
9808 {
7449af73 9809 arg3 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2));
093d3ff1
RD
9810 if (SWIG_arg_fail(3)) SWIG_fail;
9811 }
d55e5bfc
RD
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 Py_INCREF(Py_None); resultobj = Py_None;
9820 return resultobj;
9821 fail:
9822 return NULL;
9823}
9824
9825
c32bde28 9826static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9827 PyObject *resultobj = NULL;
d55e5bfc
RD
9828 wxLog *arg1 = (wxLog *) 0 ;
9829 PyObject * obj0 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
9835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 (arg1)->Flush();
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 Py_INCREF(Py_None); resultobj = Py_None;
9845 return resultobj;
9846 fail:
9847 return NULL;
9848}
9849
9850
c32bde28 9851static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9852 PyObject *resultobj = NULL;
d55e5bfc
RD
9853 char *kwnames[] = {
9854 NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 wxLog::FlushActive();
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 Py_INCREF(Py_None); resultobj = Py_None;
9866 return resultobj;
9867 fail:
9868 return NULL;
9869}
9870
9871
c32bde28 9872static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9873 PyObject *resultobj = NULL;
d55e5bfc
RD
9874 wxLog *result;
9875 char *kwnames[] = {
9876 NULL
9877 };
9878
9879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (wxLog *)wxLog::GetActiveTarget();
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9888 return resultobj;
9889 fail:
9890 return NULL;
9891}
9892
9893
c32bde28 9894static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9895 PyObject *resultobj = NULL;
d55e5bfc
RD
9896 wxLog *arg1 = (wxLog *) 0 ;
9897 wxLog *result;
9898 PyObject * obj0 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "pLogger", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7e08d4ef 9904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 9905 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9906 {
9907 PyThreadState* __tstate = wxPyBeginAllowThreads();
9908 result = (wxLog *)wxLog::SetActiveTarget(arg1);
9909
9910 wxPyEndAllowThreads(__tstate);
9911 if (PyErr_Occurred()) SWIG_fail;
9912 }
7e08d4ef 9913 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d55e5bfc
RD
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
c32bde28 9920static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9921 PyObject *resultobj = NULL;
d55e5bfc
RD
9922 char *kwnames[] = {
9923 NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9927 {
9928 PyThreadState* __tstate = wxPyBeginAllowThreads();
9929 wxLog::Suspend();
9930
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 Py_INCREF(Py_None); resultobj = Py_None;
9935 return resultobj;
9936 fail:
9937 return NULL;
9938}
9939
9940
c32bde28 9941static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9942 PyObject *resultobj = NULL;
d55e5bfc
RD
9943 char *kwnames[] = {
9944 NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 wxLog::Resume();
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 Py_INCREF(Py_None); resultobj = Py_None;
9956 return resultobj;
9957 fail:
9958 return NULL;
9959}
9960
9961
c32bde28 9962static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9963 PyObject *resultobj = NULL;
ae8162c8 9964 bool arg1 = (bool) true ;
d55e5bfc
RD
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "bVerbose", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9971 if (obj0) {
093d3ff1 9972 {
7449af73 9973 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
9974 if (SWIG_arg_fail(1)) SWIG_fail;
9975 }
d55e5bfc
RD
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 wxLog::SetVerbose(arg1);
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 Py_INCREF(Py_None); resultobj = Py_None;
9985 return resultobj;
9986 fail:
9987 return NULL;
9988}
9989
9990
c32bde28 9991static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 9992 PyObject *resultobj = NULL;
d55e5bfc
RD
9993 wxLogLevel arg1 ;
9994 PyObject * obj0 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "logLevel", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
093d3ff1 10000 {
7449af73 10001 arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
10002 if (SWIG_arg_fail(1)) SWIG_fail;
10003 }
d55e5bfc
RD
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 wxLog::SetLogLevel(arg1);
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 Py_INCREF(Py_None); resultobj = Py_None;
10012 return resultobj;
10013 fail:
10014 return NULL;
10015}
10016
10017
c32bde28 10018static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10019 PyObject *resultobj = NULL;
d55e5bfc
RD
10020 char *kwnames[] = {
10021 NULL
10022 };
10023
10024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
10025 {
10026 PyThreadState* __tstate = wxPyBeginAllowThreads();
10027 wxLog::DontCreateOnDemand();
10028
10029 wxPyEndAllowThreads(__tstate);
10030 if (PyErr_Occurred()) SWIG_fail;
10031 }
10032 Py_INCREF(Py_None); resultobj = Py_None;
10033 return resultobj;
10034 fail:
10035 return NULL;
10036}
10037
10038
c32bde28 10039static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10040 PyObject *resultobj = NULL;
d55e5bfc
RD
10041 wxTraceMask arg1 ;
10042 PyObject * obj0 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "ulMask", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
093d3ff1 10048 {
7449af73 10049 arg1 = static_cast<wxTraceMask >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
10050 if (SWIG_arg_fail(1)) SWIG_fail;
10051 }
d55e5bfc
RD
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 wxLog::SetTraceMask(arg1);
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 Py_INCREF(Py_None); resultobj = Py_None;
10060 return resultobj;
10061 fail:
10062 return NULL;
10063}
10064
10065
c32bde28 10066static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10067 PyObject *resultobj = NULL;
d55e5bfc 10068 wxString *arg1 = 0 ;
ae8162c8 10069 bool temp1 = false ;
d55e5bfc
RD
10070 PyObject * obj0 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "str", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
10076 {
10077 arg1 = wxString_in_helper(obj0);
10078 if (arg1 == NULL) SWIG_fail;
ae8162c8 10079 temp1 = true;
d55e5bfc
RD
10080 }
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 wxLog::AddTraceMask((wxString const &)*arg1);
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 Py_INCREF(Py_None); resultobj = Py_None;
10089 {
10090 if (temp1)
10091 delete arg1;
10092 }
10093 return resultobj;
10094 fail:
10095 {
10096 if (temp1)
10097 delete arg1;
10098 }
10099 return NULL;
10100}
10101
10102
c32bde28 10103static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10104 PyObject *resultobj = NULL;
d55e5bfc 10105 wxString *arg1 = 0 ;
ae8162c8 10106 bool temp1 = false ;
d55e5bfc
RD
10107 PyObject * obj0 = 0 ;
10108 char *kwnames[] = {
10109 (char *) "str", NULL
10110 };
10111
10112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
10113 {
10114 arg1 = wxString_in_helper(obj0);
10115 if (arg1 == NULL) SWIG_fail;
ae8162c8 10116 temp1 = true;
d55e5bfc
RD
10117 }
10118 {
10119 PyThreadState* __tstate = wxPyBeginAllowThreads();
10120 wxLog::RemoveTraceMask((wxString const &)*arg1);
10121
10122 wxPyEndAllowThreads(__tstate);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 }
10125 Py_INCREF(Py_None); resultobj = Py_None;
10126 {
10127 if (temp1)
10128 delete arg1;
10129 }
10130 return resultobj;
10131 fail:
10132 {
10133 if (temp1)
10134 delete arg1;
10135 }
10136 return NULL;
10137}
10138
10139
c32bde28 10140static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10141 PyObject *resultobj = NULL;
d55e5bfc
RD
10142 char *kwnames[] = {
10143 NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 wxLog::ClearTraceMasks();
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 Py_INCREF(Py_None); resultobj = Py_None;
10155 return resultobj;
10156 fail:
10157 return NULL;
10158}
10159
10160
c32bde28 10161static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10162 PyObject *resultobj = NULL;
d55e5bfc
RD
10163 wxArrayString *result;
10164 char *kwnames[] = {
10165 NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
10169 {
10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
10171 {
10172 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
10173 result = (wxArrayString *) &_result_ref;
10174 }
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 {
10180 resultobj = wxArrayString2PyList_helper(*result);
10181 }
10182 return resultobj;
10183 fail:
10184 return NULL;
10185}
10186
10187
c32bde28 10188static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10189 PyObject *resultobj = NULL;
d55e5bfc
RD
10190 wxChar *arg1 = (wxChar *) 0 ;
10191 PyObject * obj0 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "ts", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
093d3ff1
RD
10197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
10198 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 wxLog::SetTimestamp((wxChar const *)arg1);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 return resultobj;
10208 fail:
10209 return NULL;
10210}
10211
10212
c32bde28 10213static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10214 PyObject *resultobj = NULL;
d55e5bfc
RD
10215 bool result;
10216 char *kwnames[] = {
10217 NULL
10218 };
10219
10220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 result = (bool)wxLog::GetVerbose();
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 {
10229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10230 }
10231 return resultobj;
10232 fail:
10233 return NULL;
10234}
10235
10236
c32bde28 10237static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10238 PyObject *resultobj = NULL;
d55e5bfc
RD
10239 wxTraceMask result;
10240 char *kwnames[] = {
10241 NULL
10242 };
10243
10244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 result = (wxTraceMask)wxLog::GetTraceMask();
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
093d3ff1 10252 {
7449af73 10253 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10254 }
d55e5bfc
RD
10255 return resultobj;
10256 fail:
10257 return NULL;
10258}
10259
10260
c32bde28 10261static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10262 PyObject *resultobj = NULL;
d55e5bfc
RD
10263 wxChar *arg1 = (wxChar *) 0 ;
10264 bool result;
10265 PyObject * obj0 = 0 ;
10266 char *kwnames[] = {
10267 (char *) "mask", NULL
10268 };
10269
10270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
093d3ff1
RD
10271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
10272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
10276
10277 wxPyEndAllowThreads(__tstate);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10282 }
10283 return resultobj;
10284 fail:
10285 return NULL;
10286}
10287
10288
c32bde28 10289static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10290 PyObject *resultobj = NULL;
d55e5bfc
RD
10291 wxLogLevel result;
10292 char *kwnames[] = {
10293 NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (wxLogLevel)wxLog::GetLogLevel();
10300
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
093d3ff1 10304 {
7449af73 10305 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10306 }
d55e5bfc
RD
10307 return resultobj;
10308 fail:
10309 return NULL;
10310}
10311
10312
c32bde28 10313static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10314 PyObject *resultobj = NULL;
d55e5bfc
RD
10315 wxChar *result;
10316 char *kwnames[] = {
10317 NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 result = (wxChar *)wxLog::GetTimestamp();
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
10329 return resultobj;
10330 fail:
10331 return NULL;
10332}
10333
10334
c32bde28 10335static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10336 PyObject *resultobj = NULL;
d55e5bfc
RD
10337 wxString result;
10338 char *kwnames[] = {
10339 NULL
10340 };
10341
10342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 10345 result = wxLog_TimeStamp();
d55e5bfc
RD
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 {
10351#if wxUSE_UNICODE
10352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10353#else
10354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10355#endif
10356 }
10357 return resultobj;
10358 fail:
10359 return NULL;
10360}
10361
10362
c32bde28 10363static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10364 PyObject *resultobj = NULL;
d55e5bfc
RD
10365 wxLog *arg1 = (wxLog *) 0 ;
10366 PyObject * obj0 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
10372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 wxLog_Destroy(arg1);
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 Py_INCREF(Py_None); resultobj = Py_None;
10382 return resultobj;
10383 fail:
10384 return NULL;
10385}
10386
10387
c32bde28 10388static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10389 PyObject *obj;
10390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10391 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
10392 Py_INCREF(obj);
10393 return Py_BuildValue((char *)"");
10394}
c32bde28 10395static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10396 PyObject *resultobj = NULL;
d55e5bfc
RD
10397 wxLogStderr *result;
10398 char *kwnames[] = {
10399 NULL
10400 };
10401
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
10403 {
10404 PyThreadState* __tstate = wxPyBeginAllowThreads();
10405 result = (wxLogStderr *)new wxLogStderr();
10406
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
10411 return resultobj;
10412 fail:
10413 return NULL;
10414}
10415
10416
c32bde28 10417static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10418 PyObject *obj;
10419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10420 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
10421 Py_INCREF(obj);
10422 return Py_BuildValue((char *)"");
10423}
c32bde28 10424static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10425 PyObject *resultobj = NULL;
d55e5bfc
RD
10426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10427 wxLogTextCtrl *result;
10428 PyObject * obj0 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "pTextCtrl", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
10434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
10444 return resultobj;
10445 fail:
10446 return NULL;
10447}
10448
10449
c32bde28 10450static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10451 PyObject *obj;
10452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10453 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
10454 Py_INCREF(obj);
10455 return Py_BuildValue((char *)"");
10456}
c32bde28 10457static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10458 PyObject *resultobj = NULL;
d55e5bfc
RD
10459 wxLogGui *result;
10460 char *kwnames[] = {
10461 NULL
10462 };
10463
10464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (wxLogGui *)new wxLogGui();
10468
10469 wxPyEndAllowThreads(__tstate);
10470 if (PyErr_Occurred()) SWIG_fail;
10471 }
10472 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
10473 return resultobj;
10474 fail:
10475 return NULL;
10476}
10477
10478
c32bde28 10479static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10480 PyObject *obj;
10481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10482 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
10483 Py_INCREF(obj);
10484 return Py_BuildValue((char *)"");
10485}
c32bde28 10486static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10487 PyObject *resultobj = NULL;
d55e5bfc
RD
10488 wxFrame *arg1 = (wxFrame *) 0 ;
10489 wxString *arg2 = 0 ;
ae8162c8
RD
10490 bool arg3 = (bool) true ;
10491 bool arg4 = (bool) true ;
d55e5bfc 10492 wxLogWindow *result;
ae8162c8 10493 bool temp2 = false ;
d55e5bfc
RD
10494 PyObject * obj0 = 0 ;
10495 PyObject * obj1 = 0 ;
10496 PyObject * obj2 = 0 ;
10497 PyObject * obj3 = 0 ;
10498 char *kwnames[] = {
10499 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10500 };
10501
10502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
10503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10504 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10505 {
10506 arg2 = wxString_in_helper(obj1);
10507 if (arg2 == NULL) SWIG_fail;
ae8162c8 10508 temp2 = true;
d55e5bfc
RD
10509 }
10510 if (obj2) {
093d3ff1 10511 {
7449af73 10512 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
10513 if (SWIG_arg_fail(3)) SWIG_fail;
10514 }
d55e5bfc
RD
10515 }
10516 if (obj3) {
093d3ff1 10517 {
7449af73 10518 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
10519 if (SWIG_arg_fail(4)) SWIG_fail;
10520 }
d55e5bfc
RD
10521 }
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
10530 {
10531 if (temp2)
10532 delete arg2;
10533 }
10534 return resultobj;
10535 fail:
10536 {
10537 if (temp2)
10538 delete arg2;
10539 }
10540 return NULL;
10541}
10542
10543
c32bde28 10544static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10545 PyObject *resultobj = NULL;
d55e5bfc 10546 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
ae8162c8 10547 bool arg2 = (bool) true ;
d55e5bfc
RD
10548 PyObject * obj0 = 0 ;
10549 PyObject * obj1 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self",(char *) "bShow", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10556 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10557 if (obj1) {
093d3ff1 10558 {
7449af73 10559 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
10560 if (SWIG_arg_fail(2)) SWIG_fail;
10561 }
d55e5bfc
RD
10562 }
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 (arg1)->Show(arg2);
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 Py_INCREF(Py_None); resultobj = Py_None;
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
c32bde28 10577static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10578 PyObject *resultobj = NULL;
d55e5bfc
RD
10579 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10580 wxFrame *result;
10581 PyObject * obj0 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
093d3ff1
RD
10587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10588 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 {
7e08d4ef 10597 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
10598 }
10599 return resultobj;
10600 fail:
10601 return NULL;
10602}
10603
10604
c32bde28 10605static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10606 PyObject *resultobj = NULL;
d55e5bfc
RD
10607 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10608 wxLog *result;
10609 PyObject * obj0 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
10615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
10625 return resultobj;
10626 fail:
10627 return NULL;
10628}
10629
10630
c32bde28 10631static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10632 PyObject *resultobj = NULL;
d55e5bfc
RD
10633 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10634 bool result;
10635 PyObject * obj0 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
10641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10643 {
10644 PyThreadState* __tstate = wxPyBeginAllowThreads();
10645 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
10646
10647 wxPyEndAllowThreads(__tstate);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 }
10650 {
10651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10652 }
10653 return resultobj;
10654 fail:
10655 return NULL;
10656}
10657
10658
c32bde28 10659static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10660 PyObject *resultobj = NULL;
d55e5bfc
RD
10661 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10662 bool arg2 ;
10663 PyObject * obj0 = 0 ;
10664 PyObject * obj1 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "bDoPass", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10670 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10671 if (SWIG_arg_fail(1)) SWIG_fail;
10672 {
7449af73 10673 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
10674 if (SWIG_arg_fail(2)) SWIG_fail;
10675 }
d55e5bfc
RD
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 (arg1)->PassMessages(arg2);
10679
10680 wxPyEndAllowThreads(__tstate);
10681 if (PyErr_Occurred()) SWIG_fail;
10682 }
10683 Py_INCREF(Py_None); resultobj = Py_None;
10684 return resultobj;
10685 fail:
10686 return NULL;
10687}
10688
10689
c32bde28 10690static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10691 PyObject *obj;
10692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10693 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
10694 Py_INCREF(obj);
10695 return Py_BuildValue((char *)"");
10696}
c32bde28 10697static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10698 PyObject *resultobj = NULL;
d55e5bfc
RD
10699 wxLog *arg1 = (wxLog *) 0 ;
10700 wxLogChain *result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "logger", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
093d3ff1
RD
10707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10709 {
10710 PyThreadState* __tstate = wxPyBeginAllowThreads();
10711 result = (wxLogChain *)new wxLogChain(arg1);
10712
10713 wxPyEndAllowThreads(__tstate);
10714 if (PyErr_Occurred()) SWIG_fail;
10715 }
10716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
10717 return resultobj;
10718 fail:
10719 return NULL;
10720}
10721
10722
c32bde28 10723static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10724 PyObject *resultobj = NULL;
d55e5bfc
RD
10725 wxLogChain *arg1 = (wxLogChain *) 0 ;
10726 wxLog *arg2 = (wxLog *) 0 ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "logger", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10735 if (SWIG_arg_fail(1)) SWIG_fail;
10736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10737 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 (arg1)->SetLog(arg2);
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 Py_INCREF(Py_None); resultobj = Py_None;
10746 return resultobj;
10747 fail:
10748 return NULL;
10749}
10750
10751
c32bde28 10752static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10753 PyObject *resultobj = NULL;
d55e5bfc
RD
10754 wxLogChain *arg1 = (wxLogChain *) 0 ;
10755 bool arg2 ;
10756 PyObject * obj0 = 0 ;
10757 PyObject * obj1 = 0 ;
10758 char *kwnames[] = {
10759 (char *) "self",(char *) "bDoPass", NULL
10760 };
10761
10762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
10763 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10764 if (SWIG_arg_fail(1)) SWIG_fail;
10765 {
7449af73 10766 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
10767 if (SWIG_arg_fail(2)) SWIG_fail;
10768 }
d55e5bfc
RD
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 (arg1)->PassMessages(arg2);
10772
10773 wxPyEndAllowThreads(__tstate);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 }
10776 Py_INCREF(Py_None); resultobj = Py_None;
10777 return resultobj;
10778 fail:
10779 return NULL;
10780}
10781
10782
c32bde28 10783static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10784 PyObject *resultobj = NULL;
d55e5bfc
RD
10785 wxLogChain *arg1 = (wxLogChain *) 0 ;
10786 bool result;
10787 PyObject * obj0 = 0 ;
10788 char *kwnames[] = {
10789 (char *) "self", NULL
10790 };
10791
10792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
093d3ff1
RD
10793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 result = (bool)(arg1)->IsPassingMessages();
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 {
10803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10804 }
10805 return resultobj;
10806 fail:
10807 return NULL;
10808}
10809
10810
c32bde28 10811static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10812 PyObject *resultobj = NULL;
d55e5bfc
RD
10813 wxLogChain *arg1 = (wxLogChain *) 0 ;
10814 wxLog *result;
10815 PyObject * obj0 = 0 ;
10816 char *kwnames[] = {
10817 (char *) "self", NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
093d3ff1
RD
10821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10822 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (wxLog *)(arg1)->GetOldLog();
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
10831 return resultobj;
10832 fail:
10833 return NULL;
10834}
10835
10836
c32bde28 10837static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10838 PyObject *obj;
10839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10840 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
10841 Py_INCREF(obj);
10842 return Py_BuildValue((char *)"");
10843}
be9b1dca 10844static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10845 PyObject *resultobj = NULL;
be9b1dca
RD
10846 wxLogBuffer *result;
10847 char *kwnames[] = {
10848 NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (wxLogBuffer *)new wxLogBuffer();
10855
10856 wxPyEndAllowThreads(__tstate);
10857 if (PyErr_Occurred()) SWIG_fail;
10858 }
10859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
10860 return resultobj;
10861 fail:
10862 return NULL;
10863}
10864
10865
10866static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10867 PyObject *resultobj = NULL;
be9b1dca
RD
10868 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10869 wxString *result;
10870 PyObject * obj0 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
10876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10877 if (SWIG_arg_fail(1)) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 {
10881 wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
10882 result = (wxString *) &_result_ref;
10883 }
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 {
10889#if wxUSE_UNICODE
10890 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10891#else
10892 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10893#endif
10894 }
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
10901static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10902 PyObject *resultobj = NULL;
be9b1dca
RD
10903 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10904 PyObject * obj0 = 0 ;
10905 char *kwnames[] = {
10906 (char *) "self", NULL
10907 };
10908
10909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
10910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10911 if (SWIG_arg_fail(1)) SWIG_fail;
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 (arg1)->Flush();
10915
10916 wxPyEndAllowThreads(__tstate);
10917 if (PyErr_Occurred()) SWIG_fail;
10918 }
10919 Py_INCREF(Py_None); resultobj = Py_None;
10920 return resultobj;
10921 fail:
10922 return NULL;
10923}
10924
10925
10926static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
10927 PyObject *obj;
10928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10929 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
10930 Py_INCREF(obj);
10931 return Py_BuildValue((char *)"");
10932}
c32bde28 10933static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10934 PyObject *resultobj = NULL;
d55e5bfc
RD
10935 unsigned long result;
10936 char *kwnames[] = {
10937 NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
10941 {
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (unsigned long)wxSysErrorCode();
10944
10945 wxPyEndAllowThreads(__tstate);
10946 if (PyErr_Occurred()) SWIG_fail;
10947 }
093d3ff1 10948 {
7449af73 10949 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 10950 }
d55e5bfc
RD
10951 return resultobj;
10952 fail:
10953 return NULL;
10954}
10955
10956
c32bde28 10957static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10958 PyObject *resultobj = NULL;
d55e5bfc
RD
10959 unsigned long arg1 = (unsigned long) 0 ;
10960 wxString result;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "nErrCode", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
10967 if (obj0) {
093d3ff1 10968 {
7449af73 10969 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
10970 if (SWIG_arg_fail(1)) SWIG_fail;
10971 }
d55e5bfc
RD
10972 }
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = wxSysErrorMsg(arg1);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 {
10981#if wxUSE_UNICODE
10982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10983#else
10984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10985#endif
10986 }
10987 return resultobj;
10988 fail:
10989 return NULL;
10990}
10991
10992
c32bde28 10993static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 10994 PyObject *resultobj = NULL;
d55e5bfc 10995 wxString *arg1 = 0 ;
ae8162c8 10996 bool temp1 = false ;
d55e5bfc
RD
10997 PyObject * obj0 = 0 ;
10998 char *kwnames[] = {
10999 (char *) "msg", NULL
11000 };
11001
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
11003 {
11004 arg1 = wxString_in_helper(obj0);
11005 if (arg1 == NULL) SWIG_fail;
ae8162c8 11006 temp1 = true;
d55e5bfc
RD
11007 }
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11010 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 Py_INCREF(Py_None); resultobj = Py_None;
11016 {
11017 if (temp1)
11018 delete arg1;
11019 }
11020 return resultobj;
11021 fail:
11022 {
11023 if (temp1)
11024 delete arg1;
11025 }
11026 return NULL;
11027}
11028
11029
c32bde28 11030static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11031 PyObject *resultobj = NULL;
d55e5bfc 11032 wxString *arg1 = 0 ;
ae8162c8 11033 bool temp1 = false ;
d55e5bfc
RD
11034 PyObject * obj0 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "msg", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
11040 {
11041 arg1 = wxString_in_helper(obj0);
11042 if (arg1 == NULL) SWIG_fail;
ae8162c8 11043 temp1 = true;
d55e5bfc
RD
11044 }
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11047 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 Py_INCREF(Py_None); resultobj = Py_None;
11053 {
11054 if (temp1)
11055 delete arg1;
11056 }
11057 return resultobj;
11058 fail:
11059 {
11060 if (temp1)
11061 delete arg1;
11062 }
11063 return NULL;
11064}
11065
11066
c32bde28 11067static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11068 PyObject *resultobj = NULL;
d55e5bfc 11069 wxString *arg1 = 0 ;
ae8162c8 11070 bool temp1 = false ;
d55e5bfc
RD
11071 PyObject * obj0 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "msg", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
11077 {
11078 arg1 = wxString_in_helper(obj0);
11079 if (arg1 == NULL) SWIG_fail;
ae8162c8 11080 temp1 = true;
d55e5bfc
RD
11081 }
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11084 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 Py_INCREF(Py_None); resultobj = Py_None;
11090 {
11091 if (temp1)
11092 delete arg1;
11093 }
11094 return resultobj;
11095 fail:
11096 {
11097 if (temp1)
11098 delete arg1;
11099 }
11100 return NULL;
11101}
11102
11103
c32bde28 11104static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11105 PyObject *resultobj = NULL;
d55e5bfc 11106 wxString *arg1 = 0 ;
ae8162c8 11107 bool temp1 = false ;
d55e5bfc
RD
11108 PyObject * obj0 = 0 ;
11109 char *kwnames[] = {
11110 (char *) "msg", NULL
11111 };
11112
11113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
11114 {
11115 arg1 = wxString_in_helper(obj0);
11116 if (arg1 == NULL) SWIG_fail;
ae8162c8 11117 temp1 = true;
d55e5bfc
RD
11118 }
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11121 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 Py_INCREF(Py_None); resultobj = Py_None;
11127 {
11128 if (temp1)
11129 delete arg1;
11130 }
11131 return resultobj;
11132 fail:
11133 {
11134 if (temp1)
11135 delete arg1;
11136 }
11137 return NULL;
11138}
11139
11140
c32bde28 11141static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11142 PyObject *resultobj = NULL;
d55e5bfc 11143 wxString *arg1 = 0 ;
ae8162c8 11144 bool temp1 = false ;
d55e5bfc
RD
11145 PyObject * obj0 = 0 ;
11146 char *kwnames[] = {
11147 (char *) "msg", NULL
11148 };
11149
11150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
11151 {
11152 arg1 = wxString_in_helper(obj0);
11153 if (arg1 == NULL) SWIG_fail;
ae8162c8 11154 temp1 = true;
d55e5bfc
RD
11155 }
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11158 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 Py_INCREF(Py_None); resultobj = Py_None;
11164 {
11165 if (temp1)
11166 delete arg1;
11167 }
11168 return resultobj;
11169 fail:
11170 {
11171 if (temp1)
11172 delete arg1;
11173 }
11174 return NULL;
11175}
11176
11177
c32bde28 11178static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11179 PyObject *resultobj = NULL;
d55e5bfc 11180 wxString *arg1 = 0 ;
ae8162c8 11181 bool temp1 = false ;
d55e5bfc
RD
11182 PyObject * obj0 = 0 ;
11183 char *kwnames[] = {
11184 (char *) "msg", NULL
11185 };
11186
11187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
11188 {
11189 arg1 = wxString_in_helper(obj0);
11190 if (arg1 == NULL) SWIG_fail;
ae8162c8 11191 temp1 = true;
d55e5bfc
RD
11192 }
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11195 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 Py_INCREF(Py_None); resultobj = Py_None;
11201 {
11202 if (temp1)
11203 delete arg1;
11204 }
11205 return resultobj;
11206 fail:
11207 {
11208 if (temp1)
11209 delete arg1;
11210 }
11211 return NULL;
11212}
11213
11214
c32bde28 11215static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11216 PyObject *resultobj = NULL;
d55e5bfc 11217 wxString *arg1 = 0 ;
ae8162c8 11218 bool temp1 = false ;
d55e5bfc
RD
11219 PyObject * obj0 = 0 ;
11220 char *kwnames[] = {
11221 (char *) "msg", NULL
11222 };
11223
11224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
11225 {
11226 arg1 = wxString_in_helper(obj0);
11227 if (arg1 == NULL) SWIG_fail;
ae8162c8 11228 temp1 = true;
d55e5bfc
RD
11229 }
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11232 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 Py_INCREF(Py_None); resultobj = Py_None;
11238 {
11239 if (temp1)
11240 delete arg1;
11241 }
11242 return resultobj;
11243 fail:
11244 {
11245 if (temp1)
11246 delete arg1;
11247 }
11248 return NULL;
11249}
11250
11251
c32bde28 11252static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11253 PyObject *resultobj = NULL;
d55e5bfc 11254 wxString *arg1 = 0 ;
ae8162c8 11255 bool temp1 = false ;
d55e5bfc
RD
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "msg", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
11262 {
11263 arg1 = wxString_in_helper(obj0);
11264 if (arg1 == NULL) SWIG_fail;
ae8162c8 11265 temp1 = true;
d55e5bfc
RD
11266 }
11267 {
11268 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11269 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
11270
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 Py_INCREF(Py_None); resultobj = Py_None;
11275 {
11276 if (temp1)
11277 delete arg1;
11278 }
11279 return resultobj;
11280 fail:
11281 {
11282 if (temp1)
11283 delete arg1;
11284 }
11285 return NULL;
11286}
11287
11288
c32bde28 11289static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11290 PyObject *resultobj = NULL;
d55e5bfc
RD
11291 wxFrame *arg1 = (wxFrame *) 0 ;
11292 wxString *arg2 = 0 ;
ae8162c8 11293 bool temp2 = false ;
d55e5bfc
RD
11294 PyObject * obj0 = 0 ;
11295 PyObject * obj1 = 0 ;
11296 char *kwnames[] = {
11297 (char *) "pFrame",(char *) "msg", NULL
11298 };
11299
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
11301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
11302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11303 {
11304 arg2 = wxString_in_helper(obj1);
11305 if (arg2 == NULL) SWIG_fail;
ae8162c8 11306 temp2 = true;
d55e5bfc
RD
11307 }
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11310 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) SWIG_fail;
11314 }
11315 Py_INCREF(Py_None); resultobj = Py_None;
11316 {
11317 if (temp2)
11318 delete arg2;
11319 }
11320 return resultobj;
11321 fail:
11322 {
11323 if (temp2)
11324 delete arg2;
11325 }
11326 return NULL;
11327}
11328
11329
c32bde28 11330static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11331 PyObject *resultobj = NULL;
d55e5bfc 11332 wxString *arg1 = 0 ;
ae8162c8 11333 bool temp1 = false ;
d55e5bfc
RD
11334 PyObject * obj0 = 0 ;
11335 char *kwnames[] = {
11336 (char *) "msg", NULL
11337 };
11338
11339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
11340 {
11341 arg1 = wxString_in_helper(obj0);
11342 if (arg1 == NULL) SWIG_fail;
ae8162c8 11343 temp1 = true;
d55e5bfc
RD
11344 }
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11347 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 Py_INCREF(Py_None); resultobj = Py_None;
11353 {
11354 if (temp1)
11355 delete arg1;
11356 }
11357 return resultobj;
11358 fail:
11359 {
11360 if (temp1)
11361 delete arg1;
11362 }
11363 return NULL;
11364}
11365
11366
f78cc896 11367static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11368 PyObject *resultobj = NULL;
f78cc896
RD
11369 unsigned long arg1 ;
11370 wxString *arg2 = 0 ;
11371 bool temp2 = false ;
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "level",(char *) "msg", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 11379 {
7449af73 11380 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
11381 if (SWIG_arg_fail(1)) SWIG_fail;
11382 }
f78cc896
RD
11383 {
11384 arg2 = wxString_in_helper(obj1);
11385 if (arg2 == NULL) SWIG_fail;
11386 temp2 = true;
11387 }
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 wxPyLogGeneric(arg1,(wxString const &)*arg2);
11391
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 Py_INCREF(Py_None); resultobj = Py_None;
11396 {
11397 if (temp2)
11398 delete arg2;
11399 }
11400 return resultobj;
11401 fail:
11402 {
11403 if (temp2)
11404 delete arg2;
11405 }
11406 return NULL;
11407}
11408
11409
c32bde28 11410static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
7449af73 11411 PyObject *resultobj = NULL;
d55e5bfc
RD
11412 unsigned long arg1 ;
11413 wxString *arg2 = 0 ;
ae8162c8 11414 bool temp2 = false ;
d55e5bfc
RD
11415 PyObject * obj0 = 0 ;
11416 PyObject * obj1 = 0 ;
11417
11418 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
093d3ff1 11419 {
7449af73 11420 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
11421 if (SWIG_arg_fail(1)) SWIG_fail;
11422 }
d55e5bfc
RD
11423 {
11424 arg2 = wxString_in_helper(obj1);
11425 if (arg2 == NULL) SWIG_fail;
ae8162c8 11426 temp2 = true;
d55e5bfc
RD
11427 }
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11430 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 }
11435 Py_INCREF(Py_None); resultobj = Py_None;
11436 {
11437 if (temp2)
11438 delete arg2;
11439 }
11440 return resultobj;
11441 fail:
11442 {
11443 if (temp2)
11444 delete arg2;
11445 }
11446 return NULL;
11447}
11448
11449
c32bde28 11450static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
7449af73 11451 PyObject *resultobj = NULL;
d55e5bfc
RD
11452 wxString *arg1 = 0 ;
11453 wxString *arg2 = 0 ;
ae8162c8
RD
11454 bool temp1 = false ;
11455 bool temp2 = false ;
d55e5bfc
RD
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458
11459 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
11460 {
11461 arg1 = wxString_in_helper(obj0);
11462 if (arg1 == NULL) SWIG_fail;
ae8162c8 11463 temp1 = true;
d55e5bfc
RD
11464 }
11465 {
11466 arg2 = wxString_in_helper(obj1);
11467 if (arg2 == NULL) SWIG_fail;
ae8162c8 11468 temp2 = true;
d55e5bfc
RD
11469 }
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11472 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 Py_INCREF(Py_None); resultobj = Py_None;
11478 {
11479 if (temp1)
11480 delete arg1;
11481 }
11482 {
11483 if (temp2)
11484 delete arg2;
11485 }
11486 return resultobj;
11487 fail:
11488 {
11489 if (temp1)
11490 delete arg1;
11491 }
11492 {
11493 if (temp2)
11494 delete arg2;
11495 }
11496 return NULL;
11497}
11498
11499
11500static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
11501 int argc;
11502 PyObject *argv[3];
11503 int ii;
11504
11505 argc = PyObject_Length(args);
11506 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11507 argv[ii] = PyTuple_GetItem(args,ii);
11508 }
11509 if (argc == 2) {
11510 int _v;
11511 {
11512 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11513 }
11514 if (_v) {
11515 {
11516 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11517 }
11518 if (_v) {
11519 return _wrap_LogTrace__SWIG_1(self,args);
11520 }
11521 }
11522 }
11523 if (argc == 2) {
11524 int _v;
c32bde28 11525 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
11526 if (_v) {
11527 {
11528 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11529 }
11530 if (_v) {
11531 return _wrap_LogTrace__SWIG_0(self,args);
11532 }
11533 }
11534 }
11535
093d3ff1 11536 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
d55e5bfc
RD
11537 return NULL;
11538}
11539
11540
c32bde28 11541static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11542 PyObject *resultobj = NULL;
d55e5bfc
RD
11543 wxString *arg1 = 0 ;
11544 wxString *arg2 = 0 ;
ae8162c8
RD
11545 bool temp1 = false ;
11546 bool temp2 = false ;
d55e5bfc
RD
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "title",(char *) "text", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
11554 {
11555 arg1 = wxString_in_helper(obj0);
11556 if (arg1 == NULL) SWIG_fail;
ae8162c8 11557 temp1 = true;
d55e5bfc
RD
11558 }
11559 {
11560 arg2 = wxString_in_helper(obj1);
11561 if (arg2 == NULL) SWIG_fail;
ae8162c8 11562 temp2 = true;
d55e5bfc
RD
11563 }
11564 {
11565 PyThreadState* __tstate = wxPyBeginAllowThreads();
11566 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
11567
11568 wxPyEndAllowThreads(__tstate);
11569 if (PyErr_Occurred()) SWIG_fail;
11570 }
11571 Py_INCREF(Py_None); resultobj = Py_None;
11572 {
11573 if (temp1)
11574 delete arg1;
11575 }
11576 {
11577 if (temp2)
11578 delete arg2;
11579 }
11580 return resultobj;
11581 fail:
11582 {
11583 if (temp1)
11584 delete arg1;
11585 }
11586 {
11587 if (temp2)
11588 delete arg2;
11589 }
11590 return NULL;
11591}
11592
11593
c32bde28 11594static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11595 PyObject *resultobj = NULL;
d55e5bfc
RD
11596 wxLogNull *result;
11597 char *kwnames[] = {
11598 NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (wxLogNull *)new wxLogNull();
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
c32bde28 11616static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11617 PyObject *resultobj = NULL;
d55e5bfc
RD
11618 wxLogNull *arg1 = (wxLogNull *) 0 ;
11619 PyObject * obj0 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "self", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
11625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
11626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 delete arg1;
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 Py_INCREF(Py_None); resultobj = Py_None;
11635 return resultobj;
11636 fail:
11637 return NULL;
11638}
11639
11640
c32bde28 11641static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11642 PyObject *obj;
11643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11644 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
11645 Py_INCREF(obj);
11646 return Py_BuildValue((char *)"");
11647}
c32bde28 11648static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11649 PyObject *resultobj = NULL;
d55e5bfc
RD
11650 wxPyLog *result;
11651 char *kwnames[] = {
11652 NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (wxPyLog *)new wxPyLog();
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
c32bde28 11670static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11671 PyObject *resultobj = NULL;
d55e5bfc
RD
11672 wxPyLog *arg1 = (wxPyLog *) 0 ;
11673 PyObject *arg2 = (PyObject *) 0 ;
11674 PyObject *arg3 = (PyObject *) 0 ;
11675 PyObject * obj0 = 0 ;
11676 PyObject * obj1 = 0 ;
11677 PyObject * obj2 = 0 ;
11678 char *kwnames[] = {
11679 (char *) "self",(char *) "self",(char *) "_class", NULL
11680 };
11681
11682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
11684 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11685 arg2 = obj1;
11686 arg3 = obj2;
11687 {
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 (arg1)->_setCallbackInfo(arg2,arg3);
11690
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 Py_INCREF(Py_None); resultobj = Py_None;
11695 return resultobj;
11696 fail:
11697 return NULL;
11698}
11699
11700
c32bde28 11701static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11702 PyObject *obj;
11703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11704 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
11705 Py_INCREF(obj);
11706 return Py_BuildValue((char *)"");
11707}
c32bde28 11708static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11709 PyObject *resultobj = NULL;
d55e5bfc 11710 int arg1 ;
093d3ff1 11711 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70 11712 int arg3 = (int) wxKILL_NOCHILDREN ;
093d3ff1 11713 wxKillError result;
d55e5bfc
RD
11714 PyObject * obj0 = 0 ;
11715 PyObject * obj1 = 0 ;
c9c2cf70 11716 PyObject * obj2 = 0 ;
d55e5bfc 11717 char *kwnames[] = {
c9c2cf70 11718 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d55e5bfc
RD
11719 };
11720
c9c2cf70 11721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 11722 {
7449af73 11723 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11724 if (SWIG_arg_fail(1)) SWIG_fail;
11725 }
d55e5bfc 11726 if (obj1) {
093d3ff1 11727 {
7449af73 11728 arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
093d3ff1
RD
11729 if (SWIG_arg_fail(2)) SWIG_fail;
11730 }
d55e5bfc 11731 }
c9c2cf70 11732 if (obj2) {
093d3ff1 11733 {
7449af73 11734 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11735 if (SWIG_arg_fail(3)) SWIG_fail;
11736 }
c9c2cf70 11737 }
d55e5bfc
RD
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 11740 result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3);
d55e5bfc
RD
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
093d3ff1 11745 resultobj = SWIG_From_int((result));
d55e5bfc
RD
11746 return resultobj;
11747 fail:
11748 return NULL;
11749}
11750
11751
c32bde28 11752static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11753 PyObject *resultobj = NULL;
d55e5bfc
RD
11754 int arg1 ;
11755 bool result;
11756 PyObject * obj0 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "pid", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
093d3ff1 11762 {
7449af73 11763 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
11764 if (SWIG_arg_fail(1)) SWIG_fail;
11765 }
d55e5bfc
RD
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (bool)wxPyProcess::Exists(arg1);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 {
11774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11775 }
11776 return resultobj;
11777 fail:
11778 return NULL;
11779}
11780
11781
c32bde28 11782static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11783 PyObject *resultobj = NULL;
d55e5bfc
RD
11784 wxString *arg1 = 0 ;
11785 int arg2 = (int) wxEXEC_ASYNC ;
11786 wxPyProcess *result;
ae8162c8 11787 bool temp1 = false ;
d55e5bfc
RD
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "cmd",(char *) "flags", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
11795 {
11796 arg1 = wxString_in_helper(obj0);
11797 if (arg1 == NULL) SWIG_fail;
ae8162c8 11798 temp1 = true;
d55e5bfc
RD
11799 }
11800 if (obj1) {
093d3ff1 11801 {
7449af73 11802 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11803 if (SWIG_arg_fail(2)) SWIG_fail;
11804 }
d55e5bfc
RD
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
11814 {
11815 if (temp1)
11816 delete arg1;
11817 }
11818 return resultobj;
11819 fail:
11820 {
11821 if (temp1)
11822 delete arg1;
11823 }
11824 return NULL;
11825}
11826
11827
c32bde28 11828static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11829 PyObject *resultobj = NULL;
d55e5bfc
RD
11830 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
11831 int arg2 = (int) -1 ;
11832 wxPyProcess *result;
11833 PyObject * obj0 = 0 ;
11834 PyObject * obj1 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "parent",(char *) "id", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
11840 if (obj0) {
093d3ff1
RD
11841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
11842 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11843 }
11844 if (obj1) {
093d3ff1 11845 {
7449af73 11846 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11847 if (SWIG_arg_fail(2)) SWIG_fail;
11848 }
d55e5bfc
RD
11849 }
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
11858 return resultobj;
11859 fail:
11860 return NULL;
11861}
11862
11863
c32bde28 11864static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11865 PyObject *resultobj = NULL;
d55e5bfc
RD
11866 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11867 PyObject *arg2 = (PyObject *) 0 ;
11868 PyObject *arg3 = (PyObject *) 0 ;
11869 PyObject * obj0 = 0 ;
11870 PyObject * obj1 = 0 ;
11871 PyObject * obj2 = 0 ;
11872 char *kwnames[] = {
11873 (char *) "self",(char *) "self",(char *) "_class", NULL
11874 };
11875
11876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11879 arg2 = obj1;
11880 arg3 = obj2;
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->_setCallbackInfo(arg2,arg3);
11884
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 Py_INCREF(Py_None); resultobj = Py_None;
11889 return resultobj;
11890 fail:
11891 return NULL;
11892}
11893
11894
b06b3e70 11895static PyObject *_wrap_Process_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11896 PyObject *resultobj = NULL;
d55e5bfc
RD
11897 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11898 int arg2 ;
11899 int arg3 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 PyObject * obj2 = 0 ;
11903 char *kwnames[] = {
11904 (char *) "self",(char *) "pid",(char *) "status", NULL
11905 };
11906
b06b3e70 11907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
11908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11909 if (SWIG_arg_fail(1)) SWIG_fail;
11910 {
7449af73 11911 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
11912 if (SWIG_arg_fail(2)) SWIG_fail;
11913 }
11914 {
7449af73 11915 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
11916 if (SWIG_arg_fail(3)) SWIG_fail;
11917 }
d55e5bfc
RD
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 11920 (arg1)->OnTerminate(arg2,arg3);
d55e5bfc
RD
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 return resultobj;
11927 fail:
11928 return NULL;
11929}
11930
11931
c32bde28 11932static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11933 PyObject *resultobj = NULL;
d55e5bfc
RD
11934 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11935 PyObject * obj0 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "self", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
093d3ff1
RD
11941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11942 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 (arg1)->Redirect();
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 Py_INCREF(Py_None); resultobj = Py_None;
11951 return resultobj;
11952 fail:
11953 return NULL;
11954}
11955
11956
c32bde28 11957static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11958 PyObject *resultobj = NULL;
d55e5bfc
RD
11959 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11960 bool result;
11961 PyObject * obj0 = 0 ;
11962 char *kwnames[] = {
11963 (char *) "self", NULL
11964 };
11965
11966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
093d3ff1
RD
11967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
11971 result = (bool)(arg1)->IsRedirected();
11972
11973 wxPyEndAllowThreads(__tstate);
11974 if (PyErr_Occurred()) SWIG_fail;
11975 }
11976 {
11977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11978 }
11979 return resultobj;
11980 fail:
11981 return NULL;
11982}
11983
11984
c32bde28 11985static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 11986 PyObject *resultobj = NULL;
d55e5bfc
RD
11987 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11988 PyObject * obj0 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
093d3ff1
RD
11994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 (arg1)->Detach();
11999
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 Py_INCREF(Py_None); resultobj = Py_None;
12004 return resultobj;
12005 fail:
12006 return NULL;
12007}
12008
12009
c32bde28 12010static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12011 PyObject *resultobj = NULL;
d55e5bfc
RD
12012 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12013 wxInputStream *result;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
12020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12021 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 result = (wxInputStream *)(arg1)->GetInputStream();
12025
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 {
12030 wxPyInputStream * _ptr = NULL;
12031
12032 if (result) {
12033 _ptr = new wxPyInputStream(result);
12034 }
fc71d09b 12035 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
12036 }
12037 return resultobj;
12038 fail:
12039 return NULL;
12040}
12041
12042
c32bde28 12043static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12044 PyObject *resultobj = NULL;
d55e5bfc
RD
12045 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12046 wxInputStream *result;
12047 PyObject * obj0 = 0 ;
12048 char *kwnames[] = {
12049 (char *) "self", NULL
12050 };
12051
12052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
12053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 result = (wxInputStream *)(arg1)->GetErrorStream();
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 {
12063 wxPyInputStream * _ptr = NULL;
12064
12065 if (result) {
12066 _ptr = new wxPyInputStream(result);
12067 }
fc71d09b 12068 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
12069 }
12070 return resultobj;
12071 fail:
12072 return NULL;
12073}
12074
12075
c32bde28 12076static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12077 PyObject *resultobj = NULL;
d55e5bfc
RD
12078 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12079 wxOutputStream *result;
12080 PyObject * obj0 = 0 ;
12081 char *kwnames[] = {
12082 (char *) "self", NULL
12083 };
12084
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
093d3ff1
RD
12086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 result = (wxOutputStream *)(arg1)->GetOutputStream();
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
12096 return resultobj;
12097 fail:
12098 return NULL;
12099}
12100
12101
c32bde28 12102static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12103 PyObject *resultobj = NULL;
d55e5bfc
RD
12104 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12105 PyObject * obj0 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "self", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
093d3ff1
RD
12111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12112 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 (arg1)->CloseOutput();
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 Py_INCREF(Py_None); resultobj = Py_None;
12121 return resultobj;
12122 fail:
12123 return NULL;
12124}
12125
12126
c32bde28 12127static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12128 PyObject *resultobj = NULL;
d55e5bfc
RD
12129 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12130 bool result;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
12137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12138 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 {
12147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12148 }
12149 return resultobj;
12150 fail:
12151 return NULL;
12152}
12153
12154
c32bde28 12155static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12156 PyObject *resultobj = NULL;
d55e5bfc
RD
12157 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12158 bool result;
12159 PyObject * obj0 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self", NULL
12162 };
12163
12164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
12165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 {
12175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12176 }
12177 return resultobj;
12178 fail:
12179 return NULL;
12180}
12181
12182
c32bde28 12183static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12184 PyObject *resultobj = NULL;
d55e5bfc
RD
12185 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12186 bool result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
093d3ff1
RD
12193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 {
12203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12204 }
12205 return resultobj;
12206 fail:
12207 return NULL;
12208}
12209
12210
c32bde28 12211static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12212 PyObject *obj;
12213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12214 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
12215 Py_INCREF(obj);
12216 return Py_BuildValue((char *)"");
12217}
c32bde28 12218static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12219 PyObject *resultobj = NULL;
d55e5bfc
RD
12220 int arg1 = (int) 0 ;
12221 int arg2 = (int) 0 ;
12222 int arg3 = (int) 0 ;
12223 wxProcessEvent *result;
12224 PyObject * obj0 = 0 ;
12225 PyObject * obj1 = 0 ;
12226 PyObject * obj2 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
12232 if (obj0) {
093d3ff1 12233 {
7449af73 12234 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
12235 if (SWIG_arg_fail(1)) SWIG_fail;
12236 }
d55e5bfc
RD
12237 }
12238 if (obj1) {
093d3ff1 12239 {
7449af73 12240 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12241 if (SWIG_arg_fail(2)) SWIG_fail;
12242 }
d55e5bfc
RD
12243 }
12244 if (obj2) {
093d3ff1 12245 {
7449af73 12246 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12247 if (SWIG_arg_fail(3)) SWIG_fail;
12248 }
d55e5bfc
RD
12249 }
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
12258 return resultobj;
12259 fail:
12260 return NULL;
12261}
12262
12263
c32bde28 12264static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12265 PyObject *resultobj = NULL;
d55e5bfc
RD
12266 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12267 int result;
12268 PyObject * obj0 = 0 ;
12269 char *kwnames[] = {
12270 (char *) "self", NULL
12271 };
12272
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
093d3ff1
RD
12274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12275 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12276 {
12277 PyThreadState* __tstate = wxPyBeginAllowThreads();
12278 result = (int)(arg1)->GetPid();
12279
12280 wxPyEndAllowThreads(__tstate);
12281 if (PyErr_Occurred()) SWIG_fail;
12282 }
093d3ff1 12283 {
7449af73 12284 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12285 }
d55e5bfc
RD
12286 return resultobj;
12287 fail:
12288 return NULL;
12289}
12290
12291
c32bde28 12292static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12293 PyObject *resultobj = NULL;
d55e5bfc
RD
12294 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12295 int result;
12296 PyObject * obj0 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
093d3ff1
RD
12302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12303 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (int)(arg1)->GetExitCode();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
093d3ff1 12311 {
7449af73 12312 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12313 }
d55e5bfc
RD
12314 return resultobj;
12315 fail:
12316 return NULL;
12317}
12318
12319
c32bde28 12320static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12321 PyObject *resultobj = NULL;
d55e5bfc
RD
12322 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12323 int arg2 ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 char *kwnames[] = {
12327 (char *) "self",(char *) "m_pid", NULL
12328 };
12329
12330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12332 if (SWIG_arg_fail(1)) SWIG_fail;
12333 {
7449af73 12334 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12335 if (SWIG_arg_fail(2)) SWIG_fail;
12336 }
d55e5bfc
RD
12337 if (arg1) (arg1)->m_pid = arg2;
12338
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 return resultobj;
12341 fail:
12342 return NULL;
12343}
12344
12345
c32bde28 12346static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12347 PyObject *resultobj = NULL;
d55e5bfc
RD
12348 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12349 int result;
12350 PyObject * obj0 = 0 ;
12351 char *kwnames[] = {
12352 (char *) "self", NULL
12353 };
12354
12355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
12356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12358 result = (int) ((arg1)->m_pid);
12359
093d3ff1 12360 {
7449af73 12361 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12362 }
d55e5bfc
RD
12363 return resultobj;
12364 fail:
12365 return NULL;
12366}
12367
12368
c32bde28 12369static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12370 PyObject *resultobj = NULL;
d55e5bfc
RD
12371 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12372 int arg2 ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self",(char *) "m_exitcode", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12381 if (SWIG_arg_fail(1)) SWIG_fail;
12382 {
7449af73 12383 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12384 if (SWIG_arg_fail(2)) SWIG_fail;
12385 }
d55e5bfc
RD
12386 if (arg1) (arg1)->m_exitcode = arg2;
12387
12388 Py_INCREF(Py_None); resultobj = Py_None;
12389 return resultobj;
12390 fail:
12391 return NULL;
12392}
12393
12394
c32bde28 12395static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12396 PyObject *resultobj = NULL;
d55e5bfc
RD
12397 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12398 int result;
12399 PyObject * obj0 = 0 ;
12400 char *kwnames[] = {
12401 (char *) "self", NULL
12402 };
12403
12404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
12405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12406 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12407 result = (int) ((arg1)->m_exitcode);
12408
093d3ff1 12409 {
7449af73 12410 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12411 }
d55e5bfc
RD
12412 return resultobj;
12413 fail:
12414 return NULL;
12415}
12416
12417
c32bde28 12418static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12419 PyObject *obj;
12420 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12421 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
12422 Py_INCREF(obj);
12423 return Py_BuildValue((char *)"");
12424}
c32bde28 12425static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12426 PyObject *resultobj = NULL;
d55e5bfc
RD
12427 wxString *arg1 = 0 ;
12428 int arg2 = (int) wxEXEC_ASYNC ;
12429 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
12430 long result;
ae8162c8 12431 bool temp1 = false ;
d55e5bfc
RD
12432 PyObject * obj0 = 0 ;
12433 PyObject * obj1 = 0 ;
12434 PyObject * obj2 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "command",(char *) "flags",(char *) "process", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
12440 {
12441 arg1 = wxString_in_helper(obj0);
12442 if (arg1 == NULL) SWIG_fail;
ae8162c8 12443 temp1 = true;
d55e5bfc
RD
12444 }
12445 if (obj1) {
093d3ff1 12446 {
7449af73 12447 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12448 if (SWIG_arg_fail(2)) SWIG_fail;
12449 }
d55e5bfc
RD
12450 }
12451 if (obj2) {
093d3ff1
RD
12452 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12453 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
12454 }
12455 {
0439c23b 12456 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12457 PyThreadState* __tstate = wxPyBeginAllowThreads();
12458 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
12459
12460 wxPyEndAllowThreads(__tstate);
110da5b0 12461 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12462 }
093d3ff1 12463 {
7449af73 12464 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 12465 }
d55e5bfc
RD
12466 {
12467 if (temp1)
12468 delete arg1;
12469 }
12470 return resultobj;
12471 fail:
12472 {
12473 if (temp1)
12474 delete arg1;
12475 }
12476 return NULL;
12477}
12478
12479
c9c2cf70 12480static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12481 PyObject *resultobj = NULL;
c9c2cf70 12482 long arg1 ;
093d3ff1 12483 wxSignal arg2 = (wxSignal) wxSIGTERM ;
c9c2cf70
RD
12484 wxKillError *arg3 = (wxKillError *) 0 ;
12485 int arg4 = (int) wxKILL_NOCHILDREN ;
12486 int result;
12487 wxKillError temp3 ;
12488 PyObject * obj0 = 0 ;
12489 PyObject * obj1 = 0 ;
12490 PyObject * obj2 = 0 ;
12491 char *kwnames[] = {
12492 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12493 };
12494
12495 {
12496 arg3 = &temp3;
12497 }
12498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 12499 {
7449af73 12500 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
12501 if (SWIG_arg_fail(1)) SWIG_fail;
12502 }
c9c2cf70 12503 if (obj1) {
093d3ff1 12504 {
7449af73 12505 arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
093d3ff1
RD
12506 if (SWIG_arg_fail(2)) SWIG_fail;
12507 }
c9c2cf70
RD
12508 }
12509 if (obj2) {
093d3ff1 12510 {
7449af73 12511 arg4 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
12512 if (SWIG_arg_fail(4)) SWIG_fail;
12513 }
c9c2cf70
RD
12514 }
12515 {
12516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 12517 result = (int)wxKill(arg1,arg2,arg3,arg4);
c9c2cf70
RD
12518
12519 wxPyEndAllowThreads(__tstate);
12520 if (PyErr_Occurred()) SWIG_fail;
12521 }
093d3ff1 12522 {
7449af73 12523 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12524 }
c9c2cf70
RD
12525 {
12526 PyObject* o;
12527 o = PyInt_FromLong((long) (*arg3));
7e08d4ef 12528
c9c2cf70 12529 resultobj = t_output_helper(resultobj, o);
7e08d4ef
RD
12530
12531
12532
c9c2cf70
RD
12533 }
12534 return resultobj;
12535 fail:
12536 return NULL;
12537}
12538
12539
c32bde28 12540static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12541 PyObject *resultobj = NULL;
d55e5bfc
RD
12542 int arg1 = (int) wxJOYSTICK1 ;
12543 wxJoystick *result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "joystick", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
12550 if (obj0) {
093d3ff1 12551 {
7449af73 12552 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
12553 if (SWIG_arg_fail(1)) SWIG_fail;
12554 }
d55e5bfc
RD
12555 }
12556 {
0439c23b 12557 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (wxJoystick *)new wxJoystick(arg1);
12560
12561 wxPyEndAllowThreads(__tstate);
110da5b0 12562 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12563 }
12564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
12565 return resultobj;
12566 fail:
12567 return NULL;
12568}
12569
12570
c32bde28 12571static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12572 PyObject *resultobj = NULL;
d55e5bfc
RD
12573 wxJoystick *arg1 = (wxJoystick *) 0 ;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
12580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 delete arg1;
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593}
12594
12595
c32bde28 12596static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12597 PyObject *resultobj = NULL;
d55e5bfc
RD
12598 wxJoystick *arg1 = (wxJoystick *) 0 ;
12599 wxPoint result;
12600 PyObject * obj0 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "self", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 result = (arg1)->GetPosition();
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 {
12616 wxPoint * resultptr;
7449af73 12617 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12619 }
12620 return resultobj;
12621 fail:
12622 return NULL;
12623}
12624
12625
c32bde28 12626static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12627 PyObject *resultobj = NULL;
d55e5bfc
RD
12628 wxJoystick *arg1 = (wxJoystick *) 0 ;
12629 int result;
12630 PyObject * obj0 = 0 ;
12631 char *kwnames[] = {
12632 (char *) "self", NULL
12633 };
12634
12635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (int)(arg1)->GetZPosition();
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
093d3ff1 12645 {
7449af73 12646 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12647 }
d55e5bfc
RD
12648 return resultobj;
12649 fail:
12650 return NULL;
12651}
12652
12653
c32bde28 12654static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12655 PyObject *resultobj = NULL;
d55e5bfc
RD
12656 wxJoystick *arg1 = (wxJoystick *) 0 ;
12657 int result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
12664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 result = (int)(arg1)->GetButtonState();
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
093d3ff1 12673 {
7449af73 12674 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12675 }
d55e5bfc
RD
12676 return resultobj;
12677 fail:
12678 return NULL;
12679}
12680
12681
c32bde28 12682static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12683 PyObject *resultobj = NULL;
d55e5bfc
RD
12684 wxJoystick *arg1 = (wxJoystick *) 0 ;
12685 int result;
12686 PyObject * obj0 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 result = (int)(arg1)->GetPOVPosition();
12697
12698 wxPyEndAllowThreads(__tstate);
12699 if (PyErr_Occurred()) SWIG_fail;
12700 }
093d3ff1 12701 {
7449af73 12702 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12703 }
d55e5bfc
RD
12704 return resultobj;
12705 fail:
12706 return NULL;
12707}
12708
12709
c32bde28 12710static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12711 PyObject *resultobj = NULL;
d55e5bfc
RD
12712 wxJoystick *arg1 = (wxJoystick *) 0 ;
12713 int result;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 result = (int)(arg1)->GetPOVCTSPosition();
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
093d3ff1 12729 {
7449af73 12730 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12731 }
d55e5bfc
RD
12732 return resultobj;
12733 fail:
12734 return NULL;
12735}
12736
12737
c32bde28 12738static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12739 PyObject *resultobj = NULL;
d55e5bfc
RD
12740 wxJoystick *arg1 = (wxJoystick *) 0 ;
12741 int result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 result = (int)(arg1)->GetRudderPosition();
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
093d3ff1 12757 {
7449af73 12758 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12759 }
d55e5bfc
RD
12760 return resultobj;
12761 fail:
12762 return NULL;
12763}
12764
12765
c32bde28 12766static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12767 PyObject *resultobj = NULL;
d55e5bfc
RD
12768 wxJoystick *arg1 = (wxJoystick *) 0 ;
12769 int result;
12770 PyObject * obj0 = 0 ;
12771 char *kwnames[] = {
12772 (char *) "self", NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12777 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 result = (int)(arg1)->GetUPosition();
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
093d3ff1 12785 {
7449af73 12786 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12787 }
d55e5bfc
RD
12788 return resultobj;
12789 fail:
12790 return NULL;
12791}
12792
12793
c32bde28 12794static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12795 PyObject *resultobj = NULL;
d55e5bfc
RD
12796 wxJoystick *arg1 = (wxJoystick *) 0 ;
12797 int result;
12798 PyObject * obj0 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
12804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (int)(arg1)->GetVPosition();
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
093d3ff1 12813 {
7449af73 12814 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12815 }
d55e5bfc
RD
12816 return resultobj;
12817 fail:
12818 return NULL;
12819}
12820
12821
c32bde28 12822static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12823 PyObject *resultobj = NULL;
d55e5bfc
RD
12824 wxJoystick *arg1 = (wxJoystick *) 0 ;
12825 int result;
12826 PyObject * obj0 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
093d3ff1
RD
12832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12833 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (int)(arg1)->GetMovementThreshold();
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
093d3ff1 12841 {
7449af73 12842 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12843 }
d55e5bfc
RD
12844 return resultobj;
12845 fail:
12846 return NULL;
12847}
12848
12849
c32bde28 12850static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12851 PyObject *resultobj = NULL;
d55e5bfc
RD
12852 wxJoystick *arg1 = (wxJoystick *) 0 ;
12853 int arg2 ;
12854 PyObject * obj0 = 0 ;
12855 PyObject * obj1 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self",(char *) "threshold", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
12861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12862 if (SWIG_arg_fail(1)) SWIG_fail;
12863 {
7449af73 12864 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
12865 if (SWIG_arg_fail(2)) SWIG_fail;
12866 }
d55e5bfc
RD
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 (arg1)->SetMovementThreshold(arg2);
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 Py_INCREF(Py_None); resultobj = Py_None;
12875 return resultobj;
12876 fail:
12877 return NULL;
12878}
12879
12880
c32bde28 12881static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12882 PyObject *resultobj = NULL;
d55e5bfc
RD
12883 wxJoystick *arg1 = (wxJoystick *) 0 ;
12884 bool result;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
12891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12893 {
12894 PyThreadState* __tstate = wxPyBeginAllowThreads();
12895 result = (bool)(arg1)->IsOk();
12896
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 {
12901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12902 }
12903 return resultobj;
12904 fail:
12905 return NULL;
12906}
12907
12908
c32bde28 12909static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12910 PyObject *resultobj = NULL;
d55e5bfc
RD
12911 wxJoystick *arg1 = (wxJoystick *) 0 ;
12912 int result;
12913 PyObject * obj0 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
093d3ff1
RD
12919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12920 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (int)(arg1)->GetNumberJoysticks();
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
093d3ff1 12928 {
7449af73 12929 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12930 }
d55e5bfc
RD
12931 return resultobj;
12932 fail:
12933 return NULL;
12934}
12935
12936
c32bde28 12937static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12938 PyObject *resultobj = NULL;
d55e5bfc
RD
12939 wxJoystick *arg1 = (wxJoystick *) 0 ;
12940 int result;
12941 PyObject * obj0 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (int)(arg1)->GetManufacturerId();
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
093d3ff1 12956 {
7449af73 12957 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12958 }
d55e5bfc
RD
12959 return resultobj;
12960 fail:
12961 return NULL;
12962}
12963
12964
c32bde28 12965static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12966 PyObject *resultobj = NULL;
d55e5bfc
RD
12967 wxJoystick *arg1 = (wxJoystick *) 0 ;
12968 int result;
12969 PyObject * obj0 = 0 ;
12970 char *kwnames[] = {
12971 (char *) "self", NULL
12972 };
12973
12974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
093d3ff1
RD
12975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12976 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (int)(arg1)->GetProductId();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
093d3ff1 12984 {
7449af73 12985 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 12986 }
d55e5bfc
RD
12987 return resultobj;
12988 fail:
12989 return NULL;
12990}
12991
12992
c32bde28 12993static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 12994 PyObject *resultobj = NULL;
d55e5bfc
RD
12995 wxJoystick *arg1 = (wxJoystick *) 0 ;
12996 wxString result;
12997 PyObject * obj0 = 0 ;
12998 char *kwnames[] = {
12999 (char *) "self", NULL
13000 };
13001
13002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
093d3ff1
RD
13003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13004 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (arg1)->GetProductName();
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 {
13013#if wxUSE_UNICODE
13014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13015#else
13016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13017#endif
13018 }
13019 return resultobj;
13020 fail:
13021 return NULL;
13022}
13023
13024
c32bde28 13025static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13026 PyObject *resultobj = NULL;
d55e5bfc
RD
13027 wxJoystick *arg1 = (wxJoystick *) 0 ;
13028 int result;
13029 PyObject * obj0 = 0 ;
13030 char *kwnames[] = {
13031 (char *) "self", NULL
13032 };
13033
13034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13036 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13037 {
13038 PyThreadState* __tstate = wxPyBeginAllowThreads();
13039 result = (int)(arg1)->GetXMin();
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
093d3ff1 13044 {
7449af73 13045 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13046 }
d55e5bfc
RD
13047 return resultobj;
13048 fail:
13049 return NULL;
13050}
13051
13052
c32bde28 13053static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13054 PyObject *resultobj = NULL;
d55e5bfc
RD
13055 wxJoystick *arg1 = (wxJoystick *) 0 ;
13056 int result;
13057 PyObject * obj0 = 0 ;
13058 char *kwnames[] = {
13059 (char *) "self", NULL
13060 };
13061
13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13065 {
13066 PyThreadState* __tstate = wxPyBeginAllowThreads();
13067 result = (int)(arg1)->GetYMin();
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
093d3ff1 13072 {
7449af73 13073 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13074 }
d55e5bfc
RD
13075 return resultobj;
13076 fail:
13077 return NULL;
13078}
13079
13080
c32bde28 13081static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13082 PyObject *resultobj = NULL;
d55e5bfc
RD
13083 wxJoystick *arg1 = (wxJoystick *) 0 ;
13084 int result;
13085 PyObject * obj0 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13092 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 result = (int)(arg1)->GetZMin();
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
093d3ff1 13100 {
7449af73 13101 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13102 }
d55e5bfc
RD
13103 return resultobj;
13104 fail:
13105 return NULL;
13106}
13107
13108
c32bde28 13109static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13110 PyObject *resultobj = NULL;
d55e5bfc
RD
13111 wxJoystick *arg1 = (wxJoystick *) 0 ;
13112 int result;
13113 PyObject * obj0 = 0 ;
13114 char *kwnames[] = {
13115 (char *) "self", NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 result = (int)(arg1)->GetXMax();
13124
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
093d3ff1 13128 {
7449af73 13129 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13130 }
d55e5bfc
RD
13131 return resultobj;
13132 fail:
13133 return NULL;
13134}
13135
13136
c32bde28 13137static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13138 PyObject *resultobj = NULL;
d55e5bfc
RD
13139 wxJoystick *arg1 = (wxJoystick *) 0 ;
13140 int result;
13141 PyObject * obj0 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "self", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13148 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (int)(arg1)->GetYMax();
13152
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
093d3ff1 13156 {
7449af73 13157 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13158 }
d55e5bfc
RD
13159 return resultobj;
13160 fail:
13161 return NULL;
13162}
13163
13164
c32bde28 13165static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13166 PyObject *resultobj = NULL;
d55e5bfc
RD
13167 wxJoystick *arg1 = (wxJoystick *) 0 ;
13168 int result;
13169 PyObject * obj0 = 0 ;
13170 char *kwnames[] = {
13171 (char *) "self", NULL
13172 };
13173
13174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (int)(arg1)->GetZMax();
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
093d3ff1 13184 {
7449af73 13185 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13186 }
d55e5bfc
RD
13187 return resultobj;
13188 fail:
13189 return NULL;
13190}
13191
13192
c32bde28 13193static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13194 PyObject *resultobj = NULL;
d55e5bfc
RD
13195 wxJoystick *arg1 = (wxJoystick *) 0 ;
13196 int result;
13197 PyObject * obj0 = 0 ;
13198 char *kwnames[] = {
13199 (char *) "self", NULL
13200 };
13201
13202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
13203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (int)(arg1)->GetNumberButtons();
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
093d3ff1 13212 {
7449af73 13213 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13214 }
d55e5bfc
RD
13215 return resultobj;
13216 fail:
13217 return NULL;
13218}
13219
13220
c32bde28 13221static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13222 PyObject *resultobj = NULL;
d55e5bfc
RD
13223 wxJoystick *arg1 = (wxJoystick *) 0 ;
13224 int result;
13225 PyObject * obj0 = 0 ;
13226 char *kwnames[] = {
13227 (char *) "self", NULL
13228 };
13229
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
13231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13233 {
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 result = (int)(arg1)->GetNumberAxes();
13236
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
093d3ff1 13240 {
7449af73 13241 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13242 }
d55e5bfc
RD
13243 return resultobj;
13244 fail:
13245 return NULL;
13246}
13247
13248
c32bde28 13249static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13250 PyObject *resultobj = NULL;
d55e5bfc
RD
13251 wxJoystick *arg1 = (wxJoystick *) 0 ;
13252 int result;
13253 PyObject * obj0 = 0 ;
13254 char *kwnames[] = {
13255 (char *) "self", NULL
13256 };
13257
13258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
093d3ff1
RD
13259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13260 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 result = (int)(arg1)->GetMaxButtons();
13264
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
093d3ff1 13268 {
7449af73 13269 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13270 }
d55e5bfc
RD
13271 return resultobj;
13272 fail:
13273 return NULL;
13274}
13275
13276
c32bde28 13277static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13278 PyObject *resultobj = NULL;
d55e5bfc
RD
13279 wxJoystick *arg1 = (wxJoystick *) 0 ;
13280 int result;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
093d3ff1
RD
13287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13288 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 result = (int)(arg1)->GetMaxAxes();
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
093d3ff1 13296 {
7449af73 13297 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13298 }
d55e5bfc
RD
13299 return resultobj;
13300 fail:
13301 return NULL;
13302}
13303
13304
c32bde28 13305static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13306 PyObject *resultobj = NULL;
d55e5bfc
RD
13307 wxJoystick *arg1 = (wxJoystick *) 0 ;
13308 int result;
13309 PyObject * obj0 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13316 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 result = (int)(arg1)->GetPollingMin();
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
093d3ff1 13324 {
7449af73 13325 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13326 }
d55e5bfc
RD
13327 return resultobj;
13328 fail:
13329 return NULL;
13330}
13331
13332
c32bde28 13333static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13334 PyObject *resultobj = NULL;
d55e5bfc
RD
13335 wxJoystick *arg1 = (wxJoystick *) 0 ;
13336 int result;
13337 PyObject * obj0 = 0 ;
13338 char *kwnames[] = {
13339 (char *) "self", NULL
13340 };
13341
13342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 result = (int)(arg1)->GetPollingMax();
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
093d3ff1 13352 {
7449af73 13353 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13354 }
d55e5bfc
RD
13355 return resultobj;
13356 fail:
13357 return NULL;
13358}
13359
13360
c32bde28 13361static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13362 PyObject *resultobj = NULL;
d55e5bfc
RD
13363 wxJoystick *arg1 = (wxJoystick *) 0 ;
13364 int result;
13365 PyObject * obj0 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "self", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 result = (int)(arg1)->GetRudderMin();
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
093d3ff1 13380 {
7449af73 13381 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13382 }
d55e5bfc
RD
13383 return resultobj;
13384 fail:
13385 return NULL;
13386}
13387
13388
c32bde28 13389static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13390 PyObject *resultobj = NULL;
d55e5bfc
RD
13391 wxJoystick *arg1 = (wxJoystick *) 0 ;
13392 int result;
13393 PyObject * obj0 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 result = (int)(arg1)->GetRudderMax();
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
093d3ff1 13408 {
7449af73 13409 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13410 }
d55e5bfc
RD
13411 return resultobj;
13412 fail:
13413 return NULL;
13414}
13415
13416
c32bde28 13417static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13418 PyObject *resultobj = NULL;
d55e5bfc
RD
13419 wxJoystick *arg1 = (wxJoystick *) 0 ;
13420 int result;
13421 PyObject * obj0 = 0 ;
13422 char *kwnames[] = {
13423 (char *) "self", NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 result = (int)(arg1)->GetUMin();
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
093d3ff1 13436 {
7449af73 13437 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13438 }
d55e5bfc
RD
13439 return resultobj;
13440 fail:
13441 return NULL;
13442}
13443
13444
c32bde28 13445static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13446 PyObject *resultobj = NULL;
d55e5bfc
RD
13447 wxJoystick *arg1 = (wxJoystick *) 0 ;
13448 int result;
13449 PyObject * obj0 = 0 ;
13450 char *kwnames[] = {
13451 (char *) "self", NULL
13452 };
13453
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13456 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13457 {
13458 PyThreadState* __tstate = wxPyBeginAllowThreads();
13459 result = (int)(arg1)->GetUMax();
13460
13461 wxPyEndAllowThreads(__tstate);
13462 if (PyErr_Occurred()) SWIG_fail;
13463 }
093d3ff1 13464 {
7449af73 13465 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13466 }
d55e5bfc
RD
13467 return resultobj;
13468 fail:
13469 return NULL;
13470}
13471
13472
c32bde28 13473static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13474 PyObject *resultobj = NULL;
d55e5bfc
RD
13475 wxJoystick *arg1 = (wxJoystick *) 0 ;
13476 int result;
13477 PyObject * obj0 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
093d3ff1
RD
13483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13484 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 result = (int)(arg1)->GetVMin();
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
093d3ff1 13492 {
7449af73 13493 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13494 }
d55e5bfc
RD
13495 return resultobj;
13496 fail:
13497 return NULL;
13498}
13499
13500
c32bde28 13501static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13502 PyObject *resultobj = NULL;
d55e5bfc
RD
13503 wxJoystick *arg1 = (wxJoystick *) 0 ;
13504 int result;
13505 PyObject * obj0 = 0 ;
13506 char *kwnames[] = {
13507 (char *) "self", NULL
13508 };
13509
13510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
093d3ff1
RD
13511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13512 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (int)(arg1)->GetVMax();
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
093d3ff1 13520 {
7449af73 13521 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13522 }
d55e5bfc
RD
13523 return resultobj;
13524 fail:
13525 return NULL;
13526}
13527
13528
c32bde28 13529static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13530 PyObject *resultobj = NULL;
d55e5bfc
RD
13531 wxJoystick *arg1 = (wxJoystick *) 0 ;
13532 bool result;
13533 PyObject * obj0 = 0 ;
13534 char *kwnames[] = {
13535 (char *) "self", NULL
13536 };
13537
13538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
093d3ff1
RD
13539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13540 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 result = (bool)(arg1)->HasRudder();
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 {
13549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13550 }
13551 return resultobj;
13552 fail:
13553 return NULL;
13554}
13555
13556
c32bde28 13557static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13558 PyObject *resultobj = NULL;
d55e5bfc
RD
13559 wxJoystick *arg1 = (wxJoystick *) 0 ;
13560 bool result;
13561 PyObject * obj0 = 0 ;
13562 char *kwnames[] = {
13563 (char *) "self", NULL
13564 };
13565
13566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
093d3ff1
RD
13567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13569 {
13570 PyThreadState* __tstate = wxPyBeginAllowThreads();
13571 result = (bool)(arg1)->HasZ();
13572
13573 wxPyEndAllowThreads(__tstate);
13574 if (PyErr_Occurred()) SWIG_fail;
13575 }
13576 {
13577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13578 }
13579 return resultobj;
13580 fail:
13581 return NULL;
13582}
13583
13584
c32bde28 13585static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13586 PyObject *resultobj = NULL;
d55e5bfc
RD
13587 wxJoystick *arg1 = (wxJoystick *) 0 ;
13588 bool result;
13589 PyObject * obj0 = 0 ;
13590 char *kwnames[] = {
13591 (char *) "self", NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
093d3ff1
RD
13595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 result = (bool)(arg1)->HasU();
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 {
13605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13606 }
13607 return resultobj;
13608 fail:
13609 return NULL;
13610}
13611
13612
c32bde28 13613static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13614 PyObject *resultobj = NULL;
d55e5bfc
RD
13615 wxJoystick *arg1 = (wxJoystick *) 0 ;
13616 bool result;
13617 PyObject * obj0 = 0 ;
13618 char *kwnames[] = {
13619 (char *) "self", NULL
13620 };
13621
13622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
093d3ff1
RD
13623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13624 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (bool)(arg1)->HasV();
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 {
13633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13634 }
13635 return resultobj;
13636 fail:
13637 return NULL;
13638}
13639
13640
c32bde28 13641static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13642 PyObject *resultobj = NULL;
d55e5bfc
RD
13643 wxJoystick *arg1 = (wxJoystick *) 0 ;
13644 bool result;
13645 PyObject * obj0 = 0 ;
13646 char *kwnames[] = {
13647 (char *) "self", NULL
13648 };
13649
13650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
093d3ff1
RD
13651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13653 {
13654 PyThreadState* __tstate = wxPyBeginAllowThreads();
13655 result = (bool)(arg1)->HasPOV();
13656
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 {
13661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13662 }
13663 return resultobj;
13664 fail:
13665 return NULL;
13666}
13667
13668
c32bde28 13669static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13670 PyObject *resultobj = NULL;
d55e5bfc
RD
13671 wxJoystick *arg1 = (wxJoystick *) 0 ;
13672 bool result;
13673 PyObject * obj0 = 0 ;
13674 char *kwnames[] = {
13675 (char *) "self", NULL
13676 };
13677
13678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
093d3ff1
RD
13679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (bool)(arg1)->HasPOV4Dir();
13684
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 {
13689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13690 }
13691 return resultobj;
13692 fail:
13693 return NULL;
13694}
13695
13696
c32bde28 13697static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13698 PyObject *resultobj = NULL;
d55e5bfc
RD
13699 wxJoystick *arg1 = (wxJoystick *) 0 ;
13700 bool result;
13701 PyObject * obj0 = 0 ;
13702 char *kwnames[] = {
13703 (char *) "self", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
093d3ff1
RD
13707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13708 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13709 {
13710 PyThreadState* __tstate = wxPyBeginAllowThreads();
13711 result = (bool)(arg1)->HasPOVCTS();
13712
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 {
13717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13718 }
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
c32bde28 13725static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13726 PyObject *resultobj = NULL;
d55e5bfc
RD
13727 wxJoystick *arg1 = (wxJoystick *) 0 ;
13728 wxWindow *arg2 = (wxWindow *) 0 ;
13729 int arg3 = (int) 0 ;
13730 bool result;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 PyObject * obj2 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
13739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13740 if (SWIG_arg_fail(1)) SWIG_fail;
13741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13742 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13743 if (obj2) {
093d3ff1 13744 {
7449af73 13745 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13746 if (SWIG_arg_fail(3)) SWIG_fail;
13747 }
d55e5bfc
RD
13748 }
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (bool)(arg1)->SetCapture(arg2,arg3);
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 {
13757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13758 }
13759 return resultobj;
13760 fail:
13761 return NULL;
13762}
13763
13764
c32bde28 13765static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13766 PyObject *resultobj = NULL;
d55e5bfc
RD
13767 wxJoystick *arg1 = (wxJoystick *) 0 ;
13768 bool result;
13769 PyObject * obj0 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
093d3ff1
RD
13775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13776 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (bool)(arg1)->ReleaseCapture();
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 {
13785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13786 }
13787 return resultobj;
13788 fail:
13789 return NULL;
13790}
13791
13792
c32bde28 13793static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13794 PyObject *obj;
13795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
13797 Py_INCREF(obj);
13798 return Py_BuildValue((char *)"");
13799}
c32bde28 13800static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13801 PyObject *resultobj = NULL;
d55e5bfc
RD
13802 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13803 int arg2 = (int) 0 ;
13804 int arg3 = (int) wxJOYSTICK1 ;
13805 int arg4 = (int) 0 ;
13806 wxJoystickEvent *result;
13807 PyObject * obj0 = 0 ;
13808 PyObject * obj1 = 0 ;
13809 PyObject * obj2 = 0 ;
13810 PyObject * obj3 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13816 if (obj0) {
093d3ff1 13817 {
7449af73 13818 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
093d3ff1
RD
13819 if (SWIG_arg_fail(1)) SWIG_fail;
13820 }
d55e5bfc
RD
13821 }
13822 if (obj1) {
093d3ff1 13823 {
7449af73 13824 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
13825 if (SWIG_arg_fail(2)) SWIG_fail;
13826 }
d55e5bfc
RD
13827 }
13828 if (obj2) {
093d3ff1 13829 {
7449af73 13830 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
13831 if (SWIG_arg_fail(3)) SWIG_fail;
13832 }
d55e5bfc
RD
13833 }
13834 if (obj3) {
093d3ff1 13835 {
7449af73 13836 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
13837 if (SWIG_arg_fail(4)) SWIG_fail;
13838 }
d55e5bfc
RD
13839 }
13840 {
13841 PyThreadState* __tstate = wxPyBeginAllowThreads();
13842 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
13843
13844 wxPyEndAllowThreads(__tstate);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
13848 return resultobj;
13849 fail:
13850 return NULL;
13851}
13852
13853
c32bde28 13854static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13855 PyObject *resultobj = NULL;
d55e5bfc
RD
13856 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13857 wxPoint result;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13866 {
13867 PyThreadState* __tstate = wxPyBeginAllowThreads();
13868 result = ((wxJoystickEvent const *)arg1)->GetPosition();
13869
13870 wxPyEndAllowThreads(__tstate);
13871 if (PyErr_Occurred()) SWIG_fail;
13872 }
13873 {
13874 wxPoint * resultptr;
7449af73 13875 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
13876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
13877 }
13878 return resultobj;
13879 fail:
13880 return NULL;
13881}
13882
13883
c32bde28 13884static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13885 PyObject *resultobj = NULL;
d55e5bfc
RD
13886 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13887 int result;
13888 PyObject * obj0 = 0 ;
13889 char *kwnames[] = {
13890 (char *) "self", NULL
13891 };
13892
13893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
093d3ff1
RD
13894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13896 {
13897 PyThreadState* __tstate = wxPyBeginAllowThreads();
13898 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
13899
13900 wxPyEndAllowThreads(__tstate);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
093d3ff1 13903 {
7449af73 13904 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13905 }
d55e5bfc
RD
13906 return resultobj;
13907 fail:
13908 return NULL;
13909}
13910
13911
c32bde28 13912static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13913 PyObject *resultobj = NULL;
d55e5bfc
RD
13914 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13915 int result;
13916 PyObject * obj0 = 0 ;
13917 char *kwnames[] = {
13918 (char *) "self", NULL
13919 };
13920
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
093d3ff1
RD
13922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
093d3ff1 13931 {
7449af73 13932 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13933 }
d55e5bfc
RD
13934 return resultobj;
13935 fail:
13936 return NULL;
13937}
13938
13939
c32bde28 13940static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13941 PyObject *resultobj = NULL;
d55e5bfc
RD
13942 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13943 int result;
13944 PyObject * obj0 = 0 ;
13945 char *kwnames[] = {
13946 (char *) "self", NULL
13947 };
13948
13949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
093d3ff1
RD
13950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13951 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13952 {
13953 PyThreadState* __tstate = wxPyBeginAllowThreads();
13954 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
13955
13956 wxPyEndAllowThreads(__tstate);
13957 if (PyErr_Occurred()) SWIG_fail;
13958 }
093d3ff1 13959 {
7449af73 13960 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13961 }
d55e5bfc
RD
13962 return resultobj;
13963 fail:
13964 return NULL;
13965}
13966
13967
c32bde28 13968static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13969 PyObject *resultobj = NULL;
d55e5bfc
RD
13970 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13971 int result;
13972 PyObject * obj0 = 0 ;
13973 char *kwnames[] = {
13974 (char *) "self", NULL
13975 };
13976
13977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
093d3ff1
RD
13978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13979 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
093d3ff1 13987 {
7449af73 13988 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 13989 }
d55e5bfc
RD
13990 return resultobj;
13991 fail:
13992 return NULL;
13993}
13994
13995
c32bde28 13996static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 13997 PyObject *resultobj = NULL;
d55e5bfc
RD
13998 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13999 int arg2 ;
14000 PyObject * obj0 = 0 ;
14001 PyObject * obj1 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self",(char *) "stick", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14008 if (SWIG_arg_fail(1)) SWIG_fail;
14009 {
7449af73 14010 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14011 if (SWIG_arg_fail(2)) SWIG_fail;
14012 }
d55e5bfc
RD
14013 {
14014 PyThreadState* __tstate = wxPyBeginAllowThreads();
14015 (arg1)->SetJoystick(arg2);
14016
14017 wxPyEndAllowThreads(__tstate);
14018 if (PyErr_Occurred()) SWIG_fail;
14019 }
14020 Py_INCREF(Py_None); resultobj = Py_None;
14021 return resultobj;
14022 fail:
14023 return NULL;
14024}
14025
14026
c32bde28 14027static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14028 PyObject *resultobj = NULL;
d55e5bfc
RD
14029 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14030 int arg2 ;
14031 PyObject * obj0 = 0 ;
14032 PyObject * obj1 = 0 ;
14033 char *kwnames[] = {
14034 (char *) "self",(char *) "state", NULL
14035 };
14036
14037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14039 if (SWIG_arg_fail(1)) SWIG_fail;
14040 {
7449af73 14041 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14042 if (SWIG_arg_fail(2)) SWIG_fail;
14043 }
d55e5bfc
RD
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 (arg1)->SetButtonState(arg2);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 Py_INCREF(Py_None); resultobj = Py_None;
14052 return resultobj;
14053 fail:
14054 return NULL;
14055}
14056
14057
c32bde28 14058static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14059 PyObject *resultobj = NULL;
d55e5bfc
RD
14060 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14061 int arg2 ;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj1 = 0 ;
14064 char *kwnames[] = {
14065 (char *) "self",(char *) "change", NULL
14066 };
14067
14068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail;
14071 {
7449af73 14072 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14073 if (SWIG_arg_fail(2)) SWIG_fail;
14074 }
d55e5bfc
RD
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 (arg1)->SetButtonChange(arg2);
14078
14079 wxPyEndAllowThreads(__tstate);
14080 if (PyErr_Occurred()) SWIG_fail;
14081 }
14082 Py_INCREF(Py_None); resultobj = Py_None;
14083 return resultobj;
14084 fail:
14085 return NULL;
14086}
14087
14088
c32bde28 14089static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14090 PyObject *resultobj = NULL;
d55e5bfc
RD
14091 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14092 wxPoint *arg2 = 0 ;
14093 wxPoint temp2 ;
14094 PyObject * obj0 = 0 ;
14095 PyObject * obj1 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "pos", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14103 {
14104 arg2 = &temp2;
14105 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14106 }
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->SetPosition((wxPoint const &)*arg2);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 return resultobj;
14116 fail:
14117 return NULL;
14118}
14119
14120
c32bde28 14121static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14122 PyObject *resultobj = NULL;
d55e5bfc
RD
14123 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14124 int arg2 ;
14125 PyObject * obj0 = 0 ;
14126 PyObject * obj1 = 0 ;
14127 char *kwnames[] = {
14128 (char *) "self",(char *) "zPos", NULL
14129 };
14130
14131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14133 if (SWIG_arg_fail(1)) SWIG_fail;
14134 {
7449af73 14135 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14136 if (SWIG_arg_fail(2)) SWIG_fail;
14137 }
d55e5bfc
RD
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 (arg1)->SetZPosition(arg2);
14141
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 Py_INCREF(Py_None); resultobj = Py_None;
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
c32bde28 14152static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14153 PyObject *resultobj = NULL;
d55e5bfc
RD
14154 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14155 bool result;
14156 PyObject * obj0 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
14162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14163 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 {
14172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14173 }
14174 return resultobj;
14175 fail:
14176 return NULL;
14177}
14178
14179
c32bde28 14180static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14181 PyObject *resultobj = NULL;
d55e5bfc
RD
14182 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14183 bool result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
14190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
14199 {
14200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14201 }
14202 return resultobj;
14203 fail:
14204 return NULL;
14205}
14206
14207
c32bde28 14208static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14209 PyObject *resultobj = NULL;
d55e5bfc
RD
14210 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14211 bool result;
14212 PyObject * obj0 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
093d3ff1
RD
14218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14229 }
14230 return resultobj;
14231 fail:
14232 return NULL;
14233}
14234
14235
c32bde28 14236static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14237 PyObject *resultobj = NULL;
d55e5bfc
RD
14238 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14239 int arg2 = (int) wxJOY_BUTTON_ANY ;
14240 bool result;
14241 PyObject * obj0 = 0 ;
14242 PyObject * obj1 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self",(char *) "but", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14249 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14250 if (obj1) {
093d3ff1 14251 {
7449af73 14252 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14253 if (SWIG_arg_fail(2)) SWIG_fail;
14254 }
d55e5bfc
RD
14255 }
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
14259
14260 wxPyEndAllowThreads(__tstate);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 {
14264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14265 }
14266 return resultobj;
14267 fail:
14268 return NULL;
14269}
14270
14271
c32bde28 14272static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14273 PyObject *resultobj = NULL;
d55e5bfc
RD
14274 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14275 int arg2 = (int) wxJOY_BUTTON_ANY ;
14276 bool result;
14277 PyObject * obj0 = 0 ;
14278 PyObject * obj1 = 0 ;
14279 char *kwnames[] = {
14280 (char *) "self",(char *) "but", NULL
14281 };
14282
14283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14286 if (obj1) {
093d3ff1 14287 {
7449af73 14288 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14289 if (SWIG_arg_fail(2)) SWIG_fail;
14290 }
d55e5bfc
RD
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 {
14300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14301 }
14302 return resultobj;
14303 fail:
14304 return NULL;
14305}
14306
14307
c32bde28 14308static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14309 PyObject *resultobj = NULL;
d55e5bfc
RD
14310 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14311 int arg2 = (int) wxJOY_BUTTON_ANY ;
14312 bool result;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self",(char *) "but", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14322 if (obj1) {
093d3ff1 14323 {
7449af73 14324 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
14325 if (SWIG_arg_fail(2)) SWIG_fail;
14326 }
d55e5bfc
RD
14327 }
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14337 }
14338 return resultobj;
14339 fail:
14340 return NULL;
14341}
14342
14343
c32bde28 14344static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14345 PyObject *obj;
14346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14347 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
14348 Py_INCREF(obj);
14349 return Py_BuildValue((char *)"");
14350}
c32bde28 14351static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14352 PyObject *resultobj = NULL;
b1f29bf7
RD
14353 wxString const &arg1_defvalue = wxPyEmptyString ;
14354 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 14355 wxSound *result;
ae8162c8 14356 bool temp1 = false ;
d55e5bfc 14357 PyObject * obj0 = 0 ;
b1f29bf7
RD
14358 char *kwnames[] = {
14359 (char *) "fileName", NULL
14360 };
d55e5bfc 14361
b1f29bf7
RD
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
14363 if (obj0) {
14364 {
14365 arg1 = wxString_in_helper(obj0);
14366 if (arg1 == NULL) SWIG_fail;
ae8162c8 14367 temp1 = true;
b1f29bf7 14368 }
d55e5bfc
RD
14369 }
14370 {
0439c23b 14371 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14372 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14373 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
14374
14375 wxPyEndAllowThreads(__tstate);
110da5b0 14376 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14377 }
14378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
14379 {
14380 if (temp1)
14381 delete arg1;
14382 }
14383 return resultobj;
14384 fail:
14385 {
14386 if (temp1)
14387 delete arg1;
14388 }
14389 return NULL;
14390}
14391
14392
c32bde28 14393static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14394 PyObject *resultobj = NULL;
b1f29bf7 14395 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
14396 wxSound *result;
14397 PyObject * obj0 = 0 ;
b1f29bf7
RD
14398 char *kwnames[] = {
14399 (char *) "data", NULL
14400 };
d55e5bfc 14401
b1f29bf7
RD
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
14403 arg1 = obj0;
d55e5bfc 14404 {
0439c23b 14405 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14407 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
14408
14409 wxPyEndAllowThreads(__tstate);
110da5b0 14410 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14411 }
14412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
14413 return resultobj;
14414 fail:
14415 return NULL;
14416}
14417
14418
c32bde28 14419static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14420 PyObject *resultobj = NULL;
d55e5bfc
RD
14421 wxSound *arg1 = (wxSound *) 0 ;
14422 PyObject * obj0 = 0 ;
14423 char *kwnames[] = {
14424 (char *) "self", NULL
14425 };
14426
14427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
093d3ff1
RD
14428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 delete arg1;
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 Py_INCREF(Py_None); resultobj = Py_None;
14438 return resultobj;
14439 fail:
14440 return NULL;
14441}
14442
14443
c32bde28 14444static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14445 PyObject *resultobj = NULL;
d55e5bfc
RD
14446 wxSound *arg1 = (wxSound *) 0 ;
14447 wxString *arg2 = 0 ;
d55e5bfc 14448 bool result;
ae8162c8 14449 bool temp2 = false ;
d55e5bfc
RD
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj1 = 0 ;
b1f29bf7
RD
14452 char *kwnames[] = {
14453 (char *) "self",(char *) "fileName", NULL
14454 };
d55e5bfc 14455
b1f29bf7 14456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14459 {
14460 arg2 = wxString_in_helper(obj1);
14461 if (arg2 == NULL) SWIG_fail;
ae8162c8 14462 temp2 = true;
d55e5bfc 14463 }
d55e5bfc
RD
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14466 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 {
14472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14473 }
14474 {
14475 if (temp2)
14476 delete arg2;
14477 }
14478 return resultobj;
14479 fail:
14480 {
14481 if (temp2)
14482 delete arg2;
14483 }
14484 return NULL;
14485}
14486
14487
c32bde28 14488static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14489 PyObject *resultobj = NULL;
d55e5bfc 14490 wxSound *arg1 = (wxSound *) 0 ;
b1f29bf7 14491 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
14492 bool result;
14493 PyObject * obj0 = 0 ;
14494 PyObject * obj1 = 0 ;
b1f29bf7
RD
14495 char *kwnames[] = {
14496 (char *) "self",(char *) "data", NULL
14497 };
d55e5bfc 14498
b1f29bf7 14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14501 if (SWIG_arg_fail(1)) SWIG_fail;
b1f29bf7 14502 arg2 = obj1;
d55e5bfc
RD
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1f29bf7 14505 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 {
14511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14512 }
14513 return resultobj;
14514 fail:
14515 return NULL;
14516}
14517
14518
c32bde28 14519static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14520 PyObject *resultobj = NULL;
d55e5bfc
RD
14521 wxSound *arg1 = (wxSound *) 0 ;
14522 bool result;
14523 PyObject * obj0 = 0 ;
14524 char *kwnames[] = {
14525 (char *) "self", NULL
14526 };
14527
14528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
14529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14531 {
14532 PyThreadState* __tstate = wxPyBeginAllowThreads();
14533 result = (bool)(arg1)->IsOk();
14534
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 {
14539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14540 }
14541 return resultobj;
14542 fail:
14543 return NULL;
14544}
14545
14546
c32bde28 14547static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14548 PyObject *resultobj = NULL;
d55e5bfc
RD
14549 wxSound *arg1 = (wxSound *) 0 ;
14550 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
14551 bool result;
14552 PyObject * obj0 = 0 ;
14553 PyObject * obj1 = 0 ;
b1f29bf7
RD
14554 char *kwnames[] = {
14555 (char *) "self",(char *) "flags", NULL
14556 };
d55e5bfc 14557
b1f29bf7 14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14560 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14561 if (obj1) {
093d3ff1 14562 {
7449af73 14563 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
14564 if (SWIG_arg_fail(2)) SWIG_fail;
14565 }
d55e5bfc
RD
14566 }
14567 {
0439c23b 14568 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (bool)((wxSound const *)arg1)->Play(arg2);
14571
14572 wxPyEndAllowThreads(__tstate);
110da5b0 14573 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14574 }
14575 {
14576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14577 }
14578 return resultobj;
14579 fail:
14580 return NULL;
14581}
14582
14583
c32bde28 14584static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14585 PyObject *resultobj = NULL;
d55e5bfc
RD
14586 wxString *arg1 = 0 ;
14587 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
14588 bool result;
ae8162c8 14589 bool temp1 = false ;
d55e5bfc
RD
14590 PyObject * obj0 = 0 ;
14591 PyObject * obj1 = 0 ;
b1f29bf7
RD
14592 char *kwnames[] = {
14593 (char *) "filename",(char *) "flags", NULL
14594 };
d55e5bfc 14595
b1f29bf7 14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
14597 {
14598 arg1 = wxString_in_helper(obj0);
14599 if (arg1 == NULL) SWIG_fail;
ae8162c8 14600 temp1 = true;
d55e5bfc
RD
14601 }
14602 if (obj1) {
093d3ff1 14603 {
7449af73 14604 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
14605 if (SWIG_arg_fail(2)) SWIG_fail;
14606 }
d55e5bfc
RD
14607 }
14608 {
0439c23b 14609 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
14612
14613 wxPyEndAllowThreads(__tstate);
110da5b0 14614 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14615 }
14616 {
14617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14618 }
14619 {
14620 if (temp1)
14621 delete arg1;
14622 }
14623 return resultobj;
14624 fail:
14625 {
14626 if (temp1)
14627 delete arg1;
14628 }
14629 return NULL;
14630}
14631
14632
c32bde28 14633static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14634 PyObject *resultobj = NULL;
d55e5bfc
RD
14635 char *kwnames[] = {
14636 NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
14640 {
0439c23b 14641 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14642 PyThreadState* __tstate = wxPyBeginAllowThreads();
14643 wxSound::Stop();
14644
14645 wxPyEndAllowThreads(__tstate);
110da5b0 14646 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14647 }
14648 Py_INCREF(Py_None); resultobj = Py_None;
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
c32bde28 14655static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14656 PyObject *obj;
14657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14658 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
14659 Py_INCREF(obj);
14660 return Py_BuildValue((char *)"");
14661}
c32bde28 14662static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14663 PyObject *resultobj = NULL;
d55e5bfc
RD
14664 wxString *arg1 = 0 ;
14665 wxString *arg2 = 0 ;
14666 wxString *arg3 = 0 ;
14667 wxString *arg4 = 0 ;
14668 wxFileTypeInfo *result;
ae8162c8
RD
14669 bool temp1 = false ;
14670 bool temp2 = false ;
14671 bool temp3 = false ;
14672 bool temp4 = false ;
d55e5bfc
RD
14673 PyObject * obj0 = 0 ;
14674 PyObject * obj1 = 0 ;
14675 PyObject * obj2 = 0 ;
14676 PyObject * obj3 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14682 {
14683 arg1 = wxString_in_helper(obj0);
14684 if (arg1 == NULL) SWIG_fail;
ae8162c8 14685 temp1 = true;
d55e5bfc
RD
14686 }
14687 {
14688 arg2 = wxString_in_helper(obj1);
14689 if (arg2 == NULL) SWIG_fail;
ae8162c8 14690 temp2 = true;
d55e5bfc
RD
14691 }
14692 {
14693 arg3 = wxString_in_helper(obj2);
14694 if (arg3 == NULL) SWIG_fail;
ae8162c8 14695 temp3 = true;
d55e5bfc
RD
14696 }
14697 {
14698 arg4 = wxString_in_helper(obj3);
14699 if (arg4 == NULL) SWIG_fail;
ae8162c8 14700 temp4 = true;
d55e5bfc
RD
14701 }
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14710 {
14711 if (temp1)
14712 delete arg1;
14713 }
14714 {
14715 if (temp2)
14716 delete arg2;
14717 }
14718 {
14719 if (temp3)
14720 delete arg3;
14721 }
14722 {
14723 if (temp4)
14724 delete arg4;
14725 }
14726 return resultobj;
14727 fail:
14728 {
14729 if (temp1)
14730 delete arg1;
14731 }
14732 {
14733 if (temp2)
14734 delete arg2;
14735 }
14736 {
14737 if (temp3)
14738 delete arg3;
14739 }
14740 {
14741 if (temp4)
14742 delete arg4;
14743 }
14744 return NULL;
14745}
14746
14747
c32bde28 14748static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14749 PyObject *resultobj = NULL;
d55e5bfc
RD
14750 wxArrayString *arg1 = 0 ;
14751 wxFileTypeInfo *result;
ae8162c8 14752 bool temp1 = false ;
d55e5bfc
RD
14753 PyObject * obj0 = 0 ;
14754 char *kwnames[] = {
14755 (char *) "sArray", NULL
14756 };
14757
14758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
14759 {
14760 if (! PySequence_Check(obj0)) {
14761 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14762 SWIG_fail;
14763 }
14764 arg1 = new wxArrayString;
ae8162c8 14765 temp1 = true;
d55e5bfc
RD
14766 int i, len=PySequence_Length(obj0);
14767 for (i=0; i<len; i++) {
14768 PyObject* item = PySequence_GetItem(obj0, i);
71237536 14769 wxString* s = wxString_in_helper(item);
d55e5bfc 14770 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
14771 arg1->Add(*s);
14772 delete s;
d55e5bfc 14773 Py_DECREF(item);
d55e5bfc
RD
14774 }
14775 }
14776 {
14777 PyThreadState* __tstate = wxPyBeginAllowThreads();
14778 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
14779
14780 wxPyEndAllowThreads(__tstate);
14781 if (PyErr_Occurred()) SWIG_fail;
14782 }
14783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14784 {
14785 if (temp1) delete arg1;
14786 }
14787 return resultobj;
14788 fail:
14789 {
14790 if (temp1) delete arg1;
14791 }
14792 return NULL;
14793}
14794
14795
c32bde28 14796static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14797 PyObject *resultobj = NULL;
d55e5bfc
RD
14798 wxFileTypeInfo *result;
14799 char *kwnames[] = {
14800 NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 result = (wxFileTypeInfo *)new wxFileTypeInfo();
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14812 return resultobj;
14813 fail:
14814 return NULL;
14815}
14816
14817
c32bde28 14818static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14819 PyObject *resultobj = NULL;
d55e5bfc
RD
14820 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14821 bool result;
14822 PyObject * obj0 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
14828 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14829 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14830 {
14831 PyThreadState* __tstate = wxPyBeginAllowThreads();
14832 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
14833
14834 wxPyEndAllowThreads(__tstate);
14835 if (PyErr_Occurred()) SWIG_fail;
14836 }
14837 {
14838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14839 }
14840 return resultobj;
14841 fail:
14842 return NULL;
14843}
14844
14845
c32bde28 14846static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14847 PyObject *resultobj = NULL;
d55e5bfc
RD
14848 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14849 wxString *arg2 = 0 ;
14850 int arg3 = (int) 0 ;
ae8162c8 14851 bool temp2 = false ;
d55e5bfc
RD
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj1 = 0 ;
14854 PyObject * obj2 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
14860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14862 {
14863 arg2 = wxString_in_helper(obj1);
14864 if (arg2 == NULL) SWIG_fail;
ae8162c8 14865 temp2 = true;
d55e5bfc
RD
14866 }
14867 if (obj2) {
093d3ff1 14868 {
7449af73 14869 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
14870 if (SWIG_arg_fail(3)) SWIG_fail;
14871 }
d55e5bfc
RD
14872 }
14873 {
14874 PyThreadState* __tstate = wxPyBeginAllowThreads();
14875 (arg1)->SetIcon((wxString const &)*arg2,arg3);
14876
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 Py_INCREF(Py_None); resultobj = Py_None;
14881 {
14882 if (temp2)
14883 delete arg2;
14884 }
14885 return resultobj;
14886 fail:
14887 {
14888 if (temp2)
14889 delete arg2;
14890 }
14891 return NULL;
14892}
14893
14894
c32bde28 14895static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14896 PyObject *resultobj = NULL;
d55e5bfc
RD
14897 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14898 wxString *arg2 = 0 ;
ae8162c8 14899 bool temp2 = false ;
d55e5bfc
RD
14900 PyObject * obj0 = 0 ;
14901 PyObject * obj1 = 0 ;
14902 char *kwnames[] = {
14903 (char *) "self",(char *) "shortDesc", NULL
14904 };
14905
14906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
14907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14908 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14909 {
14910 arg2 = wxString_in_helper(obj1);
14911 if (arg2 == NULL) SWIG_fail;
ae8162c8 14912 temp2 = true;
d55e5bfc
RD
14913 }
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 (arg1)->SetShortDesc((wxString const &)*arg2);
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 Py_INCREF(Py_None); resultobj = Py_None;
14922 {
14923 if (temp2)
14924 delete arg2;
14925 }
14926 return resultobj;
14927 fail:
14928 {
14929 if (temp2)
14930 delete arg2;
14931 }
14932 return NULL;
14933}
14934
14935
c32bde28 14936static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14937 PyObject *resultobj = NULL;
d55e5bfc
RD
14938 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14939 wxString *result;
14940 PyObject * obj0 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
14946 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14947 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 {
14951 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
14952 result = (wxString *) &_result_ref;
14953 }
14954
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 {
14959#if wxUSE_UNICODE
14960 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14961#else
14962 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14963#endif
14964 }
14965 return resultobj;
14966 fail:
14967 return NULL;
14968}
14969
14970
c32bde28 14971static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 14972 PyObject *resultobj = NULL;
d55e5bfc
RD
14973 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14974 wxString *result;
14975 PyObject * obj0 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "self", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
14981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14982 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 {
14986 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
14987 result = (wxString *) &_result_ref;
14988 }
14989
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
14993 {
14994#if wxUSE_UNICODE
14995 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14996#else
14997 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14998#endif
14999 }
15000 return resultobj;
15001 fail:
15002 return NULL;
15003}
15004
15005
c32bde28 15006static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15007 PyObject *resultobj = NULL;
d55e5bfc
RD
15008 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15009 wxString *result;
15010 PyObject * obj0 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
093d3ff1
RD
15016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 {
15021 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
15022 result = (wxString *) &_result_ref;
15023 }
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 {
15029#if wxUSE_UNICODE
15030 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15031#else
15032 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15033#endif
15034 }
15035 return resultobj;
15036 fail:
15037 return NULL;
15038}
15039
15040
c32bde28 15041static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15042 PyObject *resultobj = NULL;
d55e5bfc
RD
15043 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15044 wxString *result;
15045 PyObject * obj0 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
093d3ff1
RD
15051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 {
15056 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
15057 result = (wxString *) &_result_ref;
15058 }
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 {
15064#if wxUSE_UNICODE
15065 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15066#else
15067 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15068#endif
15069 }
15070 return resultobj;
15071 fail:
15072 return NULL;
15073}
15074
15075
c32bde28 15076static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15077 PyObject *resultobj = NULL;
d55e5bfc
RD
15078 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15079 wxString *result;
15080 PyObject * obj0 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
15086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 {
15091 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
15092 result = (wxString *) &_result_ref;
15093 }
15094
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 {
15099#if wxUSE_UNICODE
15100 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15101#else
15102 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15103#endif
15104 }
15105 return resultobj;
15106 fail:
15107 return NULL;
15108}
15109
15110
c32bde28 15111static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15112 PyObject *resultobj = NULL;
d55e5bfc
RD
15113 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15114 wxArrayString *result;
15115 PyObject * obj0 = 0 ;
15116 char *kwnames[] = {
15117 (char *) "self", NULL
15118 };
15119
15120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
15121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 {
15126 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
15127 result = (wxArrayString *) &_result_ref;
15128 }
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = wxArrayString2PyList_helper(*result);
15135 }
15136 return resultobj;
15137 fail:
15138 return NULL;
15139}
15140
15141
c32bde28 15142static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15143 PyObject *resultobj = NULL;
d55e5bfc
RD
15144 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15145 int result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
15152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15153 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
093d3ff1 15161 {
7449af73 15162 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15163 }
d55e5bfc
RD
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
c32bde28 15170static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15171 PyObject *resultobj = NULL;
d55e5bfc
RD
15172 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15173 wxString *result;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
093d3ff1
RD
15180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15181 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 {
15185 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
15186 result = (wxString *) &_result_ref;
15187 }
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 {
15193#if wxUSE_UNICODE
15194 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15195#else
15196 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15197#endif
15198 }
15199 return resultobj;
15200 fail:
15201 return NULL;
15202}
15203
15204
c32bde28 15205static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15206 PyObject *resultobj = NULL;
d55e5bfc
RD
15207 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15208 int result;
15209 PyObject * obj0 = 0 ;
15210 char *kwnames[] = {
15211 (char *) "self", NULL
15212 };
15213
15214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
093d3ff1
RD
15215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
15220
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
093d3ff1 15224 {
7449af73 15225 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 15226 }
d55e5bfc
RD
15227 return resultobj;
15228 fail:
15229 return NULL;
15230}
15231
15232
c32bde28 15233static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15234 PyObject *obj;
15235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15236 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
15237 Py_INCREF(obj);
15238 return Py_BuildValue((char *)"");
15239}
c32bde28 15240static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15241 PyObject *resultobj = NULL;
d55e5bfc
RD
15242 wxFileTypeInfo *arg1 = 0 ;
15243 wxFileType *result;
15244 PyObject * obj0 = 0 ;
15245 char *kwnames[] = {
15246 (char *) "ftInfo", NULL
15247 };
15248
15249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15250 {
15251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15252 if (SWIG_arg_fail(1)) SWIG_fail;
15253 if (arg1 == NULL) {
15254 SWIG_null_ref("wxFileTypeInfo");
15255 }
15256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15257 }
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15266 return resultobj;
15267 fail:
15268 return NULL;
15269}
15270
15271
c32bde28 15272static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15273 PyObject *resultobj = NULL;
d55e5bfc
RD
15274 wxFileType *arg1 = (wxFileType *) 0 ;
15275 PyObject * obj0 = 0 ;
15276 char *kwnames[] = {
15277 (char *) "self", NULL
15278 };
15279
15280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 delete arg1;
15286
15287 wxPyEndAllowThreads(__tstate);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 Py_INCREF(Py_None); resultobj = Py_None;
15291 return resultobj;
15292 fail:
15293 return NULL;
15294}
15295
15296
c32bde28 15297static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15298 PyObject *resultobj = NULL;
d55e5bfc
RD
15299 wxFileType *arg1 = (wxFileType *) 0 ;
15300 PyObject *result;
15301 PyObject * obj0 = 0 ;
15302 char *kwnames[] = {
15303 (char *) "self", NULL
15304 };
15305
15306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
093d3ff1
RD
15307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (PyObject *)wxFileType_GetMimeType(arg1);
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 resultobj = result;
15317 return resultobj;
15318 fail:
15319 return NULL;
15320}
15321
15322
c32bde28 15323static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15324 PyObject *resultobj = NULL;
d55e5bfc
RD
15325 wxFileType *arg1 = (wxFileType *) 0 ;
15326 PyObject *result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
15333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15334 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
15338
15339 wxPyEndAllowThreads(__tstate);
15340 if (PyErr_Occurred()) SWIG_fail;
15341 }
15342 resultobj = result;
15343 return resultobj;
15344 fail:
15345 return NULL;
15346}
15347
15348
c32bde28 15349static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15350 PyObject *resultobj = NULL;
d55e5bfc
RD
15351 wxFileType *arg1 = (wxFileType *) 0 ;
15352 PyObject *result;
15353 PyObject * obj0 = 0 ;
15354 char *kwnames[] = {
15355 (char *) "self", NULL
15356 };
15357
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
093d3ff1
RD
15359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15361 {
15362 PyThreadState* __tstate = wxPyBeginAllowThreads();
15363 result = (PyObject *)wxFileType_GetExtensions(arg1);
15364
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = result;
15369 return resultobj;
15370 fail:
15371 return NULL;
15372}
15373
15374
c32bde28 15375static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15376 PyObject *resultobj = NULL;
d55e5bfc
RD
15377 wxFileType *arg1 = (wxFileType *) 0 ;
15378 wxIcon *result;
15379 PyObject * obj0 = 0 ;
15380 char *kwnames[] = {
15381 (char *) "self", NULL
15382 };
15383
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
093d3ff1
RD
15385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 result = (wxIcon *)wxFileType_GetIcon(arg1);
15390
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
15395 return resultobj;
15396 fail:
15397 return NULL;
15398}
15399
15400
c32bde28 15401static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15402 PyObject *resultobj = NULL;
d55e5bfc
RD
15403 wxFileType *arg1 = (wxFileType *) 0 ;
15404 PyObject *result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
093d3ff1
RD
15411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (PyObject *)wxFileType_GetIconInfo(arg1);
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 resultobj = result;
15421 return resultobj;
15422 fail:
15423 return NULL;
15424}
15425
15426
c32bde28 15427static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15428 PyObject *resultobj = NULL;
d55e5bfc
RD
15429 wxFileType *arg1 = (wxFileType *) 0 ;
15430 PyObject *result;
15431 PyObject * obj0 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
093d3ff1
RD
15437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15438 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 result = (PyObject *)wxFileType_GetDescription(arg1);
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = result;
15447 return resultobj;
15448 fail:
15449 return NULL;
15450}
15451
15452
c32bde28 15453static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15454 PyObject *resultobj = NULL;
d55e5bfc
RD
15455 wxFileType *arg1 = (wxFileType *) 0 ;
15456 wxString *arg2 = 0 ;
15457 wxString const &arg3_defvalue = wxPyEmptyString ;
15458 wxString *arg3 = (wxString *) &arg3_defvalue ;
15459 PyObject *result;
ae8162c8
RD
15460 bool temp2 = false ;
15461 bool temp3 = false ;
d55e5bfc
RD
15462 PyObject * obj0 = 0 ;
15463 PyObject * obj1 = 0 ;
15464 PyObject * obj2 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15472 {
15473 arg2 = wxString_in_helper(obj1);
15474 if (arg2 == NULL) SWIG_fail;
ae8162c8 15475 temp2 = true;
d55e5bfc
RD
15476 }
15477 if (obj2) {
15478 {
15479 arg3 = wxString_in_helper(obj2);
15480 if (arg3 == NULL) SWIG_fail;
ae8162c8 15481 temp3 = true;
d55e5bfc
RD
15482 }
15483 }
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = result;
15492 {
15493 if (temp2)
15494 delete arg2;
15495 }
15496 {
15497 if (temp3)
15498 delete arg3;
15499 }
15500 return resultobj;
15501 fail:
15502 {
15503 if (temp2)
15504 delete arg2;
15505 }
15506 {
15507 if (temp3)
15508 delete arg3;
15509 }
15510 return NULL;
15511}
15512
15513
c32bde28 15514static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15515 PyObject *resultobj = NULL;
d55e5bfc
RD
15516 wxFileType *arg1 = (wxFileType *) 0 ;
15517 wxString *arg2 = 0 ;
15518 wxString const &arg3_defvalue = wxPyEmptyString ;
15519 wxString *arg3 = (wxString *) &arg3_defvalue ;
15520 PyObject *result;
ae8162c8
RD
15521 bool temp2 = false ;
15522 bool temp3 = false ;
d55e5bfc
RD
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 PyObject * obj2 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15533 {
15534 arg2 = wxString_in_helper(obj1);
15535 if (arg2 == NULL) SWIG_fail;
ae8162c8 15536 temp2 = true;
d55e5bfc
RD
15537 }
15538 if (obj2) {
15539 {
15540 arg3 = wxString_in_helper(obj2);
15541 if (arg3 == NULL) SWIG_fail;
ae8162c8 15542 temp3 = true;
d55e5bfc
RD
15543 }
15544 }
15545 {
15546 PyThreadState* __tstate = wxPyBeginAllowThreads();
15547 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15548
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 resultobj = result;
15553 {
15554 if (temp2)
15555 delete arg2;
15556 }
15557 {
15558 if (temp3)
15559 delete arg3;
15560 }
15561 return resultobj;
15562 fail:
15563 {
15564 if (temp2)
15565 delete arg2;
15566 }
15567 {
15568 if (temp3)
15569 delete arg3;
15570 }
15571 return NULL;
15572}
15573
15574
c32bde28 15575static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15576 PyObject *resultobj = NULL;
d55e5bfc
RD
15577 wxFileType *arg1 = (wxFileType *) 0 ;
15578 wxString *arg2 = 0 ;
15579 wxString const &arg3_defvalue = wxPyEmptyString ;
15580 wxString *arg3 = (wxString *) &arg3_defvalue ;
15581 PyObject *result;
ae8162c8
RD
15582 bool temp2 = false ;
15583 bool temp3 = false ;
d55e5bfc
RD
15584 PyObject * obj0 = 0 ;
15585 PyObject * obj1 = 0 ;
15586 PyObject * obj2 = 0 ;
15587 char *kwnames[] = {
15588 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15589 };
15590
15591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15593 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15594 {
15595 arg2 = wxString_in_helper(obj1);
15596 if (arg2 == NULL) SWIG_fail;
ae8162c8 15597 temp2 = true;
d55e5bfc
RD
15598 }
15599 if (obj2) {
15600 {
15601 arg3 = wxString_in_helper(obj2);
15602 if (arg3 == NULL) SWIG_fail;
ae8162c8 15603 temp3 = true;
d55e5bfc
RD
15604 }
15605 }
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 resultobj = result;
15614 {
15615 if (temp2)
15616 delete arg2;
15617 }
15618 {
15619 if (temp3)
15620 delete arg3;
15621 }
15622 return resultobj;
15623 fail:
15624 {
15625 if (temp2)
15626 delete arg2;
15627 }
15628 {
15629 if (temp3)
15630 delete arg3;
15631 }
15632 return NULL;
15633}
15634
15635
c32bde28 15636static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15637 PyObject *resultobj = NULL;
d55e5bfc
RD
15638 wxFileType *arg1 = (wxFileType *) 0 ;
15639 wxString *arg2 = 0 ;
15640 wxString *arg3 = 0 ;
ae8162c8 15641 bool arg4 = (bool) true ;
d55e5bfc 15642 bool result;
ae8162c8
RD
15643 bool temp2 = false ;
15644 bool temp3 = false ;
d55e5bfc
RD
15645 PyObject * obj0 = 0 ;
15646 PyObject * obj1 = 0 ;
15647 PyObject * obj2 = 0 ;
15648 PyObject * obj3 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15651 };
15652
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
15654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15655 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15656 {
15657 arg2 = wxString_in_helper(obj1);
15658 if (arg2 == NULL) SWIG_fail;
ae8162c8 15659 temp2 = true;
d55e5bfc
RD
15660 }
15661 {
15662 arg3 = wxString_in_helper(obj2);
15663 if (arg3 == NULL) SWIG_fail;
ae8162c8 15664 temp3 = true;
d55e5bfc
RD
15665 }
15666 if (obj3) {
093d3ff1 15667 {
7449af73 15668 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
093d3ff1
RD
15669 if (SWIG_arg_fail(4)) SWIG_fail;
15670 }
d55e5bfc
RD
15671 }
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
15675
15676 wxPyEndAllowThreads(__tstate);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 {
15680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15681 }
15682 {
15683 if (temp2)
15684 delete arg2;
15685 }
15686 {
15687 if (temp3)
15688 delete arg3;
15689 }
15690 return resultobj;
15691 fail:
15692 {
15693 if (temp2)
15694 delete arg2;
15695 }
15696 {
15697 if (temp3)
15698 delete arg3;
15699 }
15700 return NULL;
15701}
15702
15703
c32bde28 15704static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15705 PyObject *resultobj = NULL;
d55e5bfc
RD
15706 wxFileType *arg1 = (wxFileType *) 0 ;
15707 wxString const &arg2_defvalue = wxPyEmptyString ;
15708 wxString *arg2 = (wxString *) &arg2_defvalue ;
15709 int arg3 = (int) 0 ;
15710 bool result;
ae8162c8 15711 bool temp2 = false ;
d55e5bfc
RD
15712 PyObject * obj0 = 0 ;
15713 PyObject * obj1 = 0 ;
15714 PyObject * obj2 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self",(char *) "cmd",(char *) "index", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15721 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15722 if (obj1) {
15723 {
15724 arg2 = wxString_in_helper(obj1);
15725 if (arg2 == NULL) SWIG_fail;
ae8162c8 15726 temp2 = true;
d55e5bfc
RD
15727 }
15728 }
15729 if (obj2) {
093d3ff1 15730 {
7449af73 15731 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
15732 if (SWIG_arg_fail(3)) SWIG_fail;
15733 }
d55e5bfc
RD
15734 }
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15744 }
15745 {
15746 if (temp2)
15747 delete arg2;
15748 }
15749 return resultobj;
15750 fail:
15751 {
15752 if (temp2)
15753 delete arg2;
15754 }
15755 return NULL;
15756}
15757
15758
c32bde28 15759static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15760 PyObject *resultobj = NULL;
d55e5bfc
RD
15761 wxFileType *arg1 = (wxFileType *) 0 ;
15762 bool result;
15763 PyObject * obj0 = 0 ;
15764 char *kwnames[] = {
15765 (char *) "self", NULL
15766 };
15767
15768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
093d3ff1
RD
15769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15770 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 result = (bool)(arg1)->Unassociate();
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 {
15779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15780 }
15781 return resultobj;
15782 fail:
15783 return NULL;
15784}
15785
15786
c32bde28 15787static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15788 PyObject *resultobj = NULL;
d55e5bfc
RD
15789 wxString *arg1 = 0 ;
15790 wxString *arg2 = 0 ;
15791 wxString const &arg3_defvalue = wxPyEmptyString ;
15792 wxString *arg3 = (wxString *) &arg3_defvalue ;
15793 wxString result;
ae8162c8
RD
15794 bool temp1 = false ;
15795 bool temp2 = false ;
15796 bool temp3 = false ;
d55e5bfc
RD
15797 PyObject * obj0 = 0 ;
15798 PyObject * obj1 = 0 ;
15799 PyObject * obj2 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15805 {
15806 arg1 = wxString_in_helper(obj0);
15807 if (arg1 == NULL) SWIG_fail;
ae8162c8 15808 temp1 = true;
d55e5bfc
RD
15809 }
15810 {
15811 arg2 = wxString_in_helper(obj1);
15812 if (arg2 == NULL) SWIG_fail;
ae8162c8 15813 temp2 = true;
d55e5bfc
RD
15814 }
15815 if (obj2) {
15816 {
15817 arg3 = wxString_in_helper(obj2);
15818 if (arg3 == NULL) SWIG_fail;
ae8162c8 15819 temp3 = true;
d55e5bfc
RD
15820 }
15821 }
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 15824 result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 {
15830#if wxUSE_UNICODE
15831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15832#else
15833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15834#endif
15835 }
15836 {
15837 if (temp1)
15838 delete arg1;
15839 }
15840 {
15841 if (temp2)
15842 delete arg2;
15843 }
15844 {
15845 if (temp3)
15846 delete arg3;
15847 }
15848 return resultobj;
15849 fail:
15850 {
15851 if (temp1)
15852 delete arg1;
15853 }
15854 {
15855 if (temp2)
15856 delete arg2;
15857 }
15858 {
15859 if (temp3)
15860 delete arg3;
15861 }
15862 return NULL;
15863}
15864
15865
c32bde28 15866static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15867 PyObject *obj;
15868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
15870 Py_INCREF(obj);
15871 return Py_BuildValue((char *)"");
15872}
c32bde28 15873static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
15874 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
15875 return 1;
15876}
15877
15878
093d3ff1 15879static PyObject *_wrap_TheMimeTypesManager_get(void) {
7449af73 15880 PyObject *pyobj = NULL;
d55e5bfc
RD
15881
15882 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
15883 return pyobj;
15884}
15885
15886
c32bde28 15887static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15888 PyObject *resultobj = NULL;
d55e5bfc
RD
15889 wxString *arg1 = 0 ;
15890 wxString *arg2 = 0 ;
15891 bool result;
ae8162c8
RD
15892 bool temp1 = false ;
15893 bool temp2 = false ;
d55e5bfc
RD
15894 PyObject * obj0 = 0 ;
15895 PyObject * obj1 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "mimeType",(char *) "wildcard", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
15901 {
15902 arg1 = wxString_in_helper(obj0);
15903 if (arg1 == NULL) SWIG_fail;
ae8162c8 15904 temp1 = true;
d55e5bfc
RD
15905 }
15906 {
15907 arg2 = wxString_in_helper(obj1);
15908 if (arg2 == NULL) SWIG_fail;
ae8162c8 15909 temp2 = true;
d55e5bfc
RD
15910 }
15911 {
15912 PyThreadState* __tstate = wxPyBeginAllowThreads();
15913 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
15914
15915 wxPyEndAllowThreads(__tstate);
15916 if (PyErr_Occurred()) SWIG_fail;
15917 }
15918 {
15919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15920 }
15921 {
15922 if (temp1)
15923 delete arg1;
15924 }
15925 {
15926 if (temp2)
15927 delete arg2;
15928 }
15929 return resultobj;
15930 fail:
15931 {
15932 if (temp1)
15933 delete arg1;
15934 }
15935 {
15936 if (temp2)
15937 delete arg2;
15938 }
15939 return NULL;
15940}
15941
15942
c32bde28 15943static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15944 PyObject *resultobj = NULL;
d55e5bfc
RD
15945 wxMimeTypesManager *result;
15946 char *kwnames[] = {
15947 NULL
15948 };
15949
15950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (wxMimeTypesManager *)new wxMimeTypesManager();
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
15959 return resultobj;
15960 fail:
15961 return NULL;
15962}
15963
15964
c32bde28 15965static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 15966 PyObject *resultobj = NULL;
d55e5bfc
RD
15967 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15968 int arg2 = (int) wxMAILCAP_ALL ;
15969 wxString const &arg3_defvalue = wxPyEmptyString ;
15970 wxString *arg3 = (wxString *) &arg3_defvalue ;
ae8162c8 15971 bool temp3 = false ;
d55e5bfc
RD
15972 PyObject * obj0 = 0 ;
15973 PyObject * obj1 = 0 ;
15974 PyObject * obj2 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
15980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15982 if (obj1) {
093d3ff1 15983 {
7449af73 15984 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
15985 if (SWIG_arg_fail(2)) SWIG_fail;
15986 }
d55e5bfc
RD
15987 }
15988 if (obj2) {
15989 {
15990 arg3 = wxString_in_helper(obj2);
15991 if (arg3 == NULL) SWIG_fail;
ae8162c8 15992 temp3 = true;
d55e5bfc
RD
15993 }
15994 }
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 (arg1)->Initialize(arg2,(wxString const &)*arg3);
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 Py_INCREF(Py_None); resultobj = Py_None;
16003 {
16004 if (temp3)
16005 delete arg3;
16006 }
16007 return resultobj;
16008 fail:
16009 {
16010 if (temp3)
16011 delete arg3;
16012 }
16013 return NULL;
16014}
16015
16016
c32bde28 16017static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16018 PyObject *resultobj = NULL;
d55e5bfc
RD
16019 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
093d3ff1
RD
16026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 (arg1)->ClearData();
16031
16032 wxPyEndAllowThreads(__tstate);
16033 if (PyErr_Occurred()) SWIG_fail;
16034 }
16035 Py_INCREF(Py_None); resultobj = Py_None;
16036 return resultobj;
16037 fail:
16038 return NULL;
16039}
16040
16041
c32bde28 16042static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16043 PyObject *resultobj = NULL;
d55e5bfc
RD
16044 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16045 wxString *arg2 = 0 ;
16046 wxFileType *result;
ae8162c8 16047 bool temp2 = false ;
d55e5bfc
RD
16048 PyObject * obj0 = 0 ;
16049 PyObject * obj1 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self",(char *) "ext", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16057 {
16058 arg2 = wxString_in_helper(obj1);
16059 if (arg2 == NULL) SWIG_fail;
ae8162c8 16060 temp2 = true;
d55e5bfc
RD
16061 }
16062 {
16063 PyThreadState* __tstate = wxPyBeginAllowThreads();
16064 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
16065
16066 wxPyEndAllowThreads(__tstate);
16067 if (PyErr_Occurred()) SWIG_fail;
16068 }
16069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16070 {
16071 if (temp2)
16072 delete arg2;
16073 }
16074 return resultobj;
16075 fail:
16076 {
16077 if (temp2)
16078 delete arg2;
16079 }
16080 return NULL;
16081}
16082
16083
c32bde28 16084static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16085 PyObject *resultobj = NULL;
d55e5bfc
RD
16086 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16087 wxString *arg2 = 0 ;
16088 wxFileType *result;
ae8162c8 16089 bool temp2 = false ;
d55e5bfc
RD
16090 PyObject * obj0 = 0 ;
16091 PyObject * obj1 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self",(char *) "mimeType", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16099 {
16100 arg2 = wxString_in_helper(obj1);
16101 if (arg2 == NULL) SWIG_fail;
ae8162c8 16102 temp2 = true;
d55e5bfc
RD
16103 }
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16112 {
16113 if (temp2)
16114 delete arg2;
16115 }
16116 return resultobj;
16117 fail:
16118 {
16119 if (temp2)
16120 delete arg2;
16121 }
16122 return NULL;
16123}
16124
16125
c32bde28 16126static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16127 PyObject *resultobj = NULL;
d55e5bfc
RD
16128 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16129 wxString *arg2 = 0 ;
ae8162c8 16130 bool arg3 = (bool) false ;
d55e5bfc 16131 bool result;
ae8162c8 16132 bool temp2 = false ;
d55e5bfc
RD
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 PyObject * obj2 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
16141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16143 {
16144 arg2 = wxString_in_helper(obj1);
16145 if (arg2 == NULL) SWIG_fail;
ae8162c8 16146 temp2 = true;
d55e5bfc
RD
16147 }
16148 if (obj2) {
093d3ff1 16149 {
7449af73 16150 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
16151 if (SWIG_arg_fail(3)) SWIG_fail;
16152 }
d55e5bfc
RD
16153 }
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16163 }
16164 {
16165 if (temp2)
16166 delete arg2;
16167 }
16168 return resultobj;
16169 fail:
16170 {
16171 if (temp2)
16172 delete arg2;
16173 }
16174 return NULL;
16175}
16176
16177
c32bde28 16178static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16179 PyObject *resultobj = NULL;
d55e5bfc
RD
16180 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16181 wxString *arg2 = 0 ;
16182 bool result;
ae8162c8 16183 bool temp2 = false ;
d55e5bfc
RD
16184 PyObject * obj0 = 0 ;
16185 PyObject * obj1 = 0 ;
16186 char *kwnames[] = {
16187 (char *) "self",(char *) "filename", NULL
16188 };
16189
16190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16193 {
16194 arg2 = wxString_in_helper(obj1);
16195 if (arg2 == NULL) SWIG_fail;
ae8162c8 16196 temp2 = true;
d55e5bfc
RD
16197 }
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 {
16206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16207 }
16208 {
16209 if (temp2)
16210 delete arg2;
16211 }
16212 return resultobj;
16213 fail:
16214 {
16215 if (temp2)
16216 delete arg2;
16217 }
16218 return NULL;
16219}
16220
16221
c32bde28 16222static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16223 PyObject *resultobj = NULL;
d55e5bfc
RD
16224 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16225 PyObject *result;
16226 PyObject * obj0 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
093d3ff1
RD
16232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16234 {
16235 PyThreadState* __tstate = wxPyBeginAllowThreads();
16236 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
16237
16238 wxPyEndAllowThreads(__tstate);
16239 if (PyErr_Occurred()) SWIG_fail;
16240 }
16241 resultobj = result;
16242 return resultobj;
16243 fail:
16244 return NULL;
16245}
16246
16247
c32bde28 16248static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16249 PyObject *resultobj = NULL;
d55e5bfc
RD
16250 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16251 wxFileTypeInfo *arg2 = 0 ;
16252 PyObject * obj0 = 0 ;
16253 PyObject * obj1 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self",(char *) "ft", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16260 if (SWIG_arg_fail(1)) SWIG_fail;
16261 {
16262 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
16263 if (SWIG_arg_fail(2)) SWIG_fail;
16264 if (arg2 == NULL) {
16265 SWIG_null_ref("wxFileTypeInfo");
16266 }
16267 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16268 }
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 Py_INCREF(Py_None); resultobj = Py_None;
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
c32bde28 16283static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16284 PyObject *resultobj = NULL;
d55e5bfc
RD
16285 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16286 wxFileTypeInfo *arg2 = 0 ;
16287 wxFileType *result;
16288 PyObject * obj0 = 0 ;
16289 PyObject * obj1 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self",(char *) "ftInfo", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16296 if (SWIG_arg_fail(1)) SWIG_fail;
16297 {
16298 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
16299 if (SWIG_arg_fail(2)) SWIG_fail;
16300 if (arg2 == NULL) {
16301 SWIG_null_ref("wxFileTypeInfo");
16302 }
16303 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16304 }
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16313 return resultobj;
16314 fail:
16315 return NULL;
16316}
16317
16318
c32bde28 16319static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16320 PyObject *resultobj = NULL;
d55e5bfc
RD
16321 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16322 wxFileType *arg2 = (wxFileType *) 0 ;
16323 bool result;
16324 PyObject * obj0 = 0 ;
16325 PyObject * obj1 = 0 ;
16326 char *kwnames[] = {
16327 (char *) "self",(char *) "ft", NULL
16328 };
16329
16330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
16331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16332 if (SWIG_arg_fail(1)) SWIG_fail;
16333 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
16334 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 result = (bool)(arg1)->Unassociate(arg2);
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16344 }
16345 return resultobj;
16346 fail:
16347 return NULL;
16348}
16349
16350
c32bde28 16351static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 16352 PyObject *resultobj = NULL;
d55e5bfc
RD
16353 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16354 PyObject * obj0 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
093d3ff1
RD
16360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16361 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16362 {
16363 PyThreadState* __tstate = wxPyBeginAllowThreads();
16364 delete arg1;
16365
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 Py_INCREF(Py_None); resultobj = Py_None;
16370 return resultobj;
16371 fail:
16372 return NULL;
16373}
16374
16375
c32bde28 16376static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16377 PyObject *obj;
16378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16379 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
16380 Py_INCREF(obj);
16381 return Py_BuildValue((char *)"");
16382}
c32bde28 16383static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
16384 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
16385 return 1;
16386}
16387
16388
093d3ff1 16389static PyObject *_wrap_ART_TOOLBAR_get(void) {
7449af73 16390 PyObject *pyobj = NULL;
d55e5bfc
RD
16391
16392 {
16393#if wxUSE_UNICODE
16394 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
16395#else
16396 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
16397#endif
16398 }
16399 return pyobj;
16400}
16401
16402
c32bde28 16403static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
16404 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
16405 return 1;
16406}
16407
16408
093d3ff1 16409static PyObject *_wrap_ART_MENU_get(void) {
7449af73 16410 PyObject *pyobj = NULL;
d55e5bfc
RD
16411
16412 {
16413#if wxUSE_UNICODE
16414 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
16415#else
16416 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
16417#endif
16418 }
16419 return pyobj;
16420}
16421
16422
c32bde28 16423static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
16424 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
16425 return 1;
16426}
16427
16428
093d3ff1 16429static PyObject *_wrap_ART_FRAME_ICON_get(void) {
7449af73 16430 PyObject *pyobj = NULL;
d55e5bfc
RD
16431
16432 {
16433#if wxUSE_UNICODE
16434 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
16435#else
16436 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
16437#endif
16438 }
16439 return pyobj;
16440}
16441
16442
c32bde28 16443static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
16444 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
16445 return 1;
16446}
16447
16448
093d3ff1 16449static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
7449af73 16450 PyObject *pyobj = NULL;
d55e5bfc
RD
16451
16452 {
16453#if wxUSE_UNICODE
16454 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
16455#else
16456 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
16457#endif
16458 }
16459 return pyobj;
16460}
16461
16462
c32bde28 16463static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
16464 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
16465 return 1;
16466}
16467
16468
093d3ff1 16469static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
7449af73 16470 PyObject *pyobj = NULL;
d55e5bfc
RD
16471
16472 {
16473#if wxUSE_UNICODE
16474 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
16475#else
16476 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
16477#endif
16478 }
16479 return pyobj;
16480}
16481
16482
c32bde28 16483static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
16484 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
16485 return 1;
16486}
16487
16488
093d3ff1 16489static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
7449af73 16490 PyObject *pyobj = NULL;
d55e5bfc
RD
16491
16492 {
16493#if wxUSE_UNICODE
16494 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
16495#else
16496 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
16497#endif
16498 }
16499 return pyobj;
16500}
16501
16502
c32bde28 16503static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
16504 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
16505 return 1;
16506}
16507
16508
093d3ff1 16509static PyObject *_wrap_ART_BUTTON_get(void) {
7449af73 16510 PyObject *pyobj = NULL;
4cf4100f
RD
16511
16512 {
16513#if wxUSE_UNICODE
16514 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
16515#else
16516 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
16517#endif
16518 }
16519 return pyobj;
16520}
16521
16522
c32bde28 16523static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
16524 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
16525 return 1;
16526}
16527
16528
093d3ff1 16529static PyObject *_wrap_ART_OTHER_get(void) {
7449af73 16530 PyObject *pyobj = NULL;
d55e5bfc
RD
16531
16532 {
16533#if wxUSE_UNICODE
16534 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
16535#else
16536 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
16537#endif
16538 }
16539 return pyobj;
16540}
16541
16542
c32bde28 16543static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
16544 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
16545 return 1;
16546}
16547
16548
093d3ff1 16549static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
7449af73 16550 PyObject *pyobj = NULL;
d55e5bfc
RD
16551
16552 {
16553#if wxUSE_UNICODE
16554 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
16555#else
16556 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
16557#endif
16558 }
16559 return pyobj;
16560}
16561
16562
c32bde28 16563static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
16564 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
16565 return 1;
16566}
16567
16568
093d3ff1 16569static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
7449af73 16570 PyObject *pyobj = NULL;
d55e5bfc
RD
16571
16572 {
16573#if wxUSE_UNICODE
16574 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
16575#else
16576 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
16577#endif
16578 }
16579 return pyobj;
16580}
16581
16582
c32bde28 16583static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
16584 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
16585 return 1;
16586}
16587
16588
093d3ff1 16589static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
7449af73 16590 PyObject *pyobj = NULL;
d55e5bfc
RD
16591
16592 {
16593#if wxUSE_UNICODE
16594 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
16595#else
16596 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
16597#endif
16598 }
16599 return pyobj;
16600}
16601
16602
c32bde28 16603static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
16604 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
16605 return 1;
16606}
16607
16608
093d3ff1 16609static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
7449af73 16610 PyObject *pyobj = NULL;
d55e5bfc
RD
16611
16612 {
16613#if wxUSE_UNICODE
16614 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
16615#else
16616 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
16617#endif
16618 }
16619 return pyobj;
16620}
16621
16622
c32bde28 16623static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
16624 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
16625 return 1;
16626}
16627
16628
093d3ff1 16629static PyObject *_wrap_ART_HELP_BOOK_get(void) {
7449af73 16630 PyObject *pyobj = NULL;
d55e5bfc
RD
16631
16632 {
16633#if wxUSE_UNICODE
16634 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
16635#else
16636 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
16637#endif
16638 }
16639 return pyobj;
16640}
16641
16642
c32bde28 16643static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
16644 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
16645 return 1;
16646}
16647
16648
093d3ff1 16649static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
7449af73 16650 PyObject *pyobj = NULL;
d55e5bfc
RD
16651
16652 {
16653#if wxUSE_UNICODE
16654 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
16655#else
16656 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
16657#endif
16658 }
16659 return pyobj;
16660}
16661
16662
c32bde28 16663static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
16664 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
16665 return 1;
16666}
16667
16668
093d3ff1 16669static PyObject *_wrap_ART_HELP_PAGE_get(void) {
7449af73 16670 PyObject *pyobj = NULL;
d55e5bfc
RD
16671
16672 {
16673#if wxUSE_UNICODE
16674 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
16675#else
16676 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
16677#endif
16678 }
16679 return pyobj;
16680}
16681
16682
c32bde28 16683static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
16684 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
16685 return 1;
16686}
16687
16688
093d3ff1 16689static PyObject *_wrap_ART_GO_BACK_get(void) {
7449af73 16690 PyObject *pyobj = NULL;
d55e5bfc
RD
16691
16692 {
16693#if wxUSE_UNICODE
16694 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
16695#else
16696 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
16697#endif
16698 }
16699 return pyobj;
16700}
16701
16702
c32bde28 16703static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
16704 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
16705 return 1;
16706}
16707
16708
093d3ff1 16709static PyObject *_wrap_ART_GO_FORWARD_get(void) {
7449af73 16710 PyObject *pyobj = NULL;
d55e5bfc
RD
16711
16712 {
16713#if wxUSE_UNICODE
16714 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
16715#else
16716 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
16717#endif
16718 }
16719 return pyobj;
16720}
16721
16722
c32bde28 16723static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
16724 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
16725 return 1;
16726}
16727
16728
093d3ff1 16729static PyObject *_wrap_ART_GO_UP_get(void) {
7449af73 16730 PyObject *pyobj = NULL;
d55e5bfc
RD
16731
16732 {
16733#if wxUSE_UNICODE
16734 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
16735#else
16736 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
16737#endif
16738 }
16739 return pyobj;
16740}
16741
16742
c32bde28 16743static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
16744 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
16745 return 1;
16746}
16747
16748
093d3ff1 16749static PyObject *_wrap_ART_GO_DOWN_get(void) {
7449af73 16750 PyObject *pyobj = NULL;
d55e5bfc
RD
16751
16752 {
16753#if wxUSE_UNICODE
16754 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
16755#else
16756 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
16757#endif
16758 }
16759 return pyobj;
16760}
16761
16762
c32bde28 16763static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
16764 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
16765 return 1;
16766}
16767
16768
093d3ff1 16769static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
7449af73 16770 PyObject *pyobj = NULL;
d55e5bfc
RD
16771
16772 {
16773#if wxUSE_UNICODE
16774 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
16775#else
16776 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
16777#endif
16778 }
16779 return pyobj;
16780}
16781
16782
c32bde28 16783static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
16784 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
16785 return 1;
16786}
16787
16788
093d3ff1 16789static PyObject *_wrap_ART_GO_HOME_get(void) {
7449af73 16790 PyObject *pyobj = NULL;
d55e5bfc
RD
16791
16792 {
16793#if wxUSE_UNICODE
16794 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
16795#else
16796 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
16797#endif
16798 }
16799 return pyobj;
16800}
16801
16802
c32bde28 16803static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
16804 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
16805 return 1;
16806}
16807
16808
093d3ff1 16809static PyObject *_wrap_ART_FILE_OPEN_get(void) {
7449af73 16810 PyObject *pyobj = NULL;
d55e5bfc
RD
16811
16812 {
16813#if wxUSE_UNICODE
16814 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16815#else
16816 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16817#endif
16818 }
16819 return pyobj;
16820}
16821
16822
68350608
RD
16823static int _wrap_ART_FILE_SAVE_set(PyObject *) {
16824 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
16825 return 1;
16826}
16827
16828
16829static PyObject *_wrap_ART_FILE_SAVE_get(void) {
7449af73 16830 PyObject *pyobj = NULL;
68350608
RD
16831
16832 {
16833#if wxUSE_UNICODE
16834 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16835#else
16836 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16837#endif
16838 }
16839 return pyobj;
16840}
16841
16842
16843static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
16844 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
16845 return 1;
16846}
16847
16848
16849static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
7449af73 16850 PyObject *pyobj = NULL;
68350608
RD
16851
16852 {
16853#if wxUSE_UNICODE
16854 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16855#else
16856 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16857#endif
16858 }
16859 return pyobj;
16860}
16861
16862
c32bde28 16863static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
16864 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
16865 return 1;
16866}
16867
16868
093d3ff1 16869static PyObject *_wrap_ART_PRINT_get(void) {
7449af73 16870 PyObject *pyobj = NULL;
d55e5bfc
RD
16871
16872 {
16873#if wxUSE_UNICODE
16874 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16875#else
16876 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16877#endif
16878 }
16879 return pyobj;
16880}
16881
16882
c32bde28 16883static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
16884 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
16885 return 1;
16886}
16887
16888
093d3ff1 16889static PyObject *_wrap_ART_HELP_get(void) {
7449af73 16890 PyObject *pyobj = NULL;
d55e5bfc
RD
16891
16892 {
16893#if wxUSE_UNICODE
16894 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16895#else
16896 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16897#endif
16898 }
16899 return pyobj;
16900}
16901
16902
c32bde28 16903static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
16904 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
16905 return 1;
16906}
16907
16908
093d3ff1 16909static PyObject *_wrap_ART_TIP_get(void) {
7449af73 16910 PyObject *pyobj = NULL;
d55e5bfc
RD
16911
16912 {
16913#if wxUSE_UNICODE
16914 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16915#else
16916 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16917#endif
16918 }
16919 return pyobj;
16920}
16921
16922
c32bde28 16923static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
16924 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
16925 return 1;
16926}
16927
16928
093d3ff1 16929static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
7449af73 16930 PyObject *pyobj = NULL;
d55e5bfc
RD
16931
16932 {
16933#if wxUSE_UNICODE
16934 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16935#else
16936 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16937#endif
16938 }
16939 return pyobj;
16940}
16941
16942
c32bde28 16943static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
16944 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
16945 return 1;
16946}
16947
16948
093d3ff1 16949static PyObject *_wrap_ART_LIST_VIEW_get(void) {
7449af73 16950 PyObject *pyobj = NULL;
d55e5bfc
RD
16951
16952 {
16953#if wxUSE_UNICODE
16954 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16955#else
16956 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16957#endif
16958 }
16959 return pyobj;
16960}
16961
16962
c32bde28 16963static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
16964 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
16965 return 1;
16966}
16967
16968
093d3ff1 16969static PyObject *_wrap_ART_NEW_DIR_get(void) {
7449af73 16970 PyObject *pyobj = NULL;
d55e5bfc
RD
16971
16972 {
16973#if wxUSE_UNICODE
16974 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16975#else
16976 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16977#endif
16978 }
16979 return pyobj;
16980}
16981
16982
f78cc896
RD
16983static int _wrap_ART_HARDDISK_set(PyObject *) {
16984 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
16985 return 1;
16986}
16987
16988
093d3ff1 16989static PyObject *_wrap_ART_HARDDISK_get(void) {
7449af73 16990 PyObject *pyobj = NULL;
f78cc896
RD
16991
16992 {
16993#if wxUSE_UNICODE
16994 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16995#else
16996 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16997#endif
16998 }
16999 return pyobj;
17000}
17001
17002
17003static int _wrap_ART_FLOPPY_set(PyObject *) {
17004 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
17005 return 1;
17006}
17007
17008
093d3ff1 17009static PyObject *_wrap_ART_FLOPPY_get(void) {
7449af73 17010 PyObject *pyobj = NULL;
f78cc896
RD
17011
17012 {
17013#if wxUSE_UNICODE
17014 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
17015#else
17016 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
17017#endif
17018 }
17019 return pyobj;
17020}
17021
17022
17023static int _wrap_ART_CDROM_set(PyObject *) {
17024 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
17025 return 1;
17026}
17027
17028
093d3ff1 17029static PyObject *_wrap_ART_CDROM_get(void) {
7449af73 17030 PyObject *pyobj = NULL;
f78cc896
RD
17031
17032 {
17033#if wxUSE_UNICODE
17034 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
17035#else
17036 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
17037#endif
17038 }
17039 return pyobj;
17040}
17041
17042
17043static int _wrap_ART_REMOVABLE_set(PyObject *) {
17044 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
17045 return 1;
17046}
17047
17048
093d3ff1 17049static PyObject *_wrap_ART_REMOVABLE_get(void) {
7449af73 17050 PyObject *pyobj = NULL;
f78cc896
RD
17051
17052 {
17053#if wxUSE_UNICODE
17054 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
17055#else
17056 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
17057#endif
17058 }
17059 return pyobj;
17060}
17061
17062
c32bde28 17063static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
17064 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
17065 return 1;
17066}
17067
17068
093d3ff1 17069static PyObject *_wrap_ART_FOLDER_get(void) {
7449af73 17070 PyObject *pyobj = NULL;
d55e5bfc
RD
17071
17072 {
17073#if wxUSE_UNICODE
17074 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
17075#else
17076 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
17077#endif
17078 }
17079 return pyobj;
17080}
17081
17082
f78cc896
RD
17083static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
17084 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
17085 return 1;
17086}
17087
17088
093d3ff1 17089static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
7449af73 17090 PyObject *pyobj = NULL;
f78cc896
RD
17091
17092 {
17093#if wxUSE_UNICODE
17094 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
17095#else
17096 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
17097#endif
17098 }
17099 return pyobj;
17100}
17101
17102
c32bde28 17103static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
17104 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
17105 return 1;
17106}
17107
17108
093d3ff1 17109static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
7449af73 17110 PyObject *pyobj = NULL;
d55e5bfc
RD
17111
17112 {
17113#if wxUSE_UNICODE
17114 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
17115#else
17116 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
17117#endif
17118 }
17119 return pyobj;
17120}
17121
17122
c32bde28 17123static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
17124 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
17125 return 1;
17126}
17127
17128
093d3ff1 17129static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
7449af73 17130 PyObject *pyobj = NULL;
d55e5bfc
RD
17131
17132 {
17133#if wxUSE_UNICODE
17134 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
17135#else
17136 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
17137#endif
17138 }
17139 return pyobj;
17140}
17141
17142
c32bde28 17143static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
17144 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
17145 return 1;
17146}
17147
17148
093d3ff1 17149static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
7449af73 17150 PyObject *pyobj = NULL;
d55e5bfc
RD
17151
17152 {
17153#if wxUSE_UNICODE
17154 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
17155#else
17156 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
17157#endif
17158 }
17159 return pyobj;
17160}
17161
17162
c32bde28 17163static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
17164 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
17165 return 1;
17166}
17167
17168
093d3ff1 17169static PyObject *_wrap_ART_TICK_MARK_get(void) {
7449af73 17170 PyObject *pyobj = NULL;
d55e5bfc
RD
17171
17172 {
17173#if wxUSE_UNICODE
17174 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
17175#else
17176 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
17177#endif
17178 }
17179 return pyobj;
17180}
17181
17182
c32bde28 17183static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
17184 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
17185 return 1;
17186}
17187
17188
093d3ff1 17189static PyObject *_wrap_ART_CROSS_MARK_get(void) {
7449af73 17190 PyObject *pyobj = NULL;
d55e5bfc
RD
17191
17192 {
17193#if wxUSE_UNICODE
17194 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
17195#else
17196 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
17197#endif
17198 }
17199 return pyobj;
17200}
17201
17202
c32bde28 17203static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
17204 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
17205 return 1;
17206}
17207
17208
093d3ff1 17209static PyObject *_wrap_ART_ERROR_get(void) {
7449af73 17210 PyObject *pyobj = NULL;
d55e5bfc
RD
17211
17212 {
17213#if wxUSE_UNICODE
17214 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
17215#else
17216 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
17217#endif
17218 }
17219 return pyobj;
17220}
17221
17222
c32bde28 17223static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
17224 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
17225 return 1;
17226}
17227
17228
093d3ff1 17229static PyObject *_wrap_ART_QUESTION_get(void) {
7449af73 17230 PyObject *pyobj = NULL;
d55e5bfc
RD
17231
17232 {
17233#if wxUSE_UNICODE
17234 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
17235#else
17236 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
17237#endif
17238 }
17239 return pyobj;
17240}
17241
17242
c32bde28 17243static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
17244 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
17245 return 1;
17246}
17247
17248
093d3ff1 17249static PyObject *_wrap_ART_WARNING_get(void) {
7449af73 17250 PyObject *pyobj = NULL;
d55e5bfc
RD
17251
17252 {
17253#if wxUSE_UNICODE
17254 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
17255#else
17256 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
17257#endif
17258 }
17259 return pyobj;
17260}
17261
17262
c32bde28 17263static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
17264 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
17265 return 1;
17266}
17267
17268
093d3ff1 17269static PyObject *_wrap_ART_INFORMATION_get(void) {
7449af73 17270 PyObject *pyobj = NULL;
d55e5bfc
RD
17271
17272 {
17273#if wxUSE_UNICODE
17274 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
17275#else
17276 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
17277#endif
17278 }
17279 return pyobj;
17280}
17281
17282
c32bde28 17283static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
17284 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
17285 return 1;
17286}
17287
17288
093d3ff1 17289static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
7449af73 17290 PyObject *pyobj = NULL;
d55e5bfc
RD
17291
17292 {
17293#if wxUSE_UNICODE
17294 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
17295#else
17296 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
17297#endif
17298 }
17299 return pyobj;
17300}
17301
17302
68350608
RD
17303static int _wrap_ART_COPY_set(PyObject *) {
17304 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
17305 return 1;
17306}
17307
17308
17309static PyObject *_wrap_ART_COPY_get(void) {
7449af73 17310 PyObject *pyobj = NULL;
68350608
RD
17311
17312 {
17313#if wxUSE_UNICODE
17314 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
17315#else
17316 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
17317#endif
17318 }
17319 return pyobj;
17320}
17321
17322
17323static int _wrap_ART_CUT_set(PyObject *) {
17324 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
17325 return 1;
17326}
17327
17328
17329static PyObject *_wrap_ART_CUT_get(void) {
7449af73 17330 PyObject *pyobj = NULL;
68350608
RD
17331
17332 {
17333#if wxUSE_UNICODE
17334 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
17335#else
17336 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
17337#endif
17338 }
17339 return pyobj;
17340}
17341
17342
17343static int _wrap_ART_PASTE_set(PyObject *) {
17344 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
17345 return 1;
17346}
17347
17348
17349static PyObject *_wrap_ART_PASTE_get(void) {
7449af73 17350 PyObject *pyobj = NULL;
68350608
RD
17351
17352 {
17353#if wxUSE_UNICODE
17354 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
17355#else
17356 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
17357#endif
17358 }
17359 return pyobj;
17360}
17361
17362
17363static int _wrap_ART_DELETE_set(PyObject *) {
17364 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
17365 return 1;
17366}
17367
17368
17369static PyObject *_wrap_ART_DELETE_get(void) {
7449af73 17370 PyObject *pyobj = NULL;
68350608
RD
17371
17372 {
17373#if wxUSE_UNICODE
17374 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
17375#else
17376 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
17377#endif
17378 }
17379 return pyobj;
17380}
17381
17382
a187dc0b
RD
17383static int _wrap_ART_NEW_set(PyObject *) {
17384 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
17385 return 1;
17386}
17387
17388
17389static PyObject *_wrap_ART_NEW_get(void) {
7449af73 17390 PyObject *pyobj = NULL;
a187dc0b
RD
17391
17392 {
17393#if wxUSE_UNICODE
17394 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
17395#else
17396 pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
17397#endif
17398 }
17399 return pyobj;
17400}
17401
17402
68350608
RD
17403static int _wrap_ART_UNDO_set(PyObject *) {
17404 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
17405 return 1;
17406}
17407
17408
17409static PyObject *_wrap_ART_UNDO_get(void) {
7449af73 17410 PyObject *pyobj = NULL;
68350608
RD
17411
17412 {
17413#if wxUSE_UNICODE
17414 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
17415#else
17416 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
17417#endif
17418 }
17419 return pyobj;
17420}
17421
17422
17423static int _wrap_ART_REDO_set(PyObject *) {
17424 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
17425 return 1;
17426}
17427
17428
17429static PyObject *_wrap_ART_REDO_get(void) {
7449af73 17430 PyObject *pyobj = NULL;
68350608
RD
17431
17432 {
17433#if wxUSE_UNICODE
17434 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
17435#else
17436 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
17437#endif
17438 }
17439 return pyobj;
17440}
17441
17442
17443static int _wrap_ART_QUIT_set(PyObject *) {
17444 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
17445 return 1;
17446}
17447
17448
17449static PyObject *_wrap_ART_QUIT_get(void) {
7449af73 17450 PyObject *pyobj = NULL;
68350608
RD
17451
17452 {
17453#if wxUSE_UNICODE
17454 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
17455#else
17456 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
17457#endif
17458 }
17459 return pyobj;
17460}
17461
17462
17463static int _wrap_ART_FIND_set(PyObject *) {
17464 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
17465 return 1;
17466}
17467
17468
17469static PyObject *_wrap_ART_FIND_get(void) {
7449af73 17470 PyObject *pyobj = NULL;
68350608
RD
17471
17472 {
17473#if wxUSE_UNICODE
17474 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
17475#else
17476 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
17477#endif
17478 }
17479 return pyobj;
17480}
17481
17482
17483static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
17484 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
17485 return 1;
17486}
17487
17488
17489static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
7449af73 17490 PyObject *pyobj = NULL;
68350608
RD
17491
17492 {
17493#if wxUSE_UNICODE
17494 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
17495#else
17496 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
17497#endif
17498 }
17499 return pyobj;
17500}
17501
17502
c32bde28 17503static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17504 PyObject *resultobj = NULL;
d55e5bfc
RD
17505 wxPyArtProvider *result;
17506 char *kwnames[] = {
17507 NULL
17508 };
17509
17510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
17511 {
0439c23b 17512 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17513 PyThreadState* __tstate = wxPyBeginAllowThreads();
17514 result = (wxPyArtProvider *)new wxPyArtProvider();
17515
17516 wxPyEndAllowThreads(__tstate);
110da5b0 17517 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17518 }
17519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
17520 return resultobj;
17521 fail:
17522 return NULL;
17523}
17524
17525
7e08d4ef
RD
17526static PyObject *_wrap_delete_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
17527 PyObject *resultobj = NULL;
17528 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17529 PyObject * obj0 = 0 ;
17530 char *kwnames[] = {
17531 (char *) "self", NULL
17532 };
17533
17534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
17535 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17536 if (SWIG_arg_fail(1)) SWIG_fail;
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 delete arg1;
17540
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 Py_INCREF(Py_None); resultobj = Py_None;
17545 return resultobj;
17546 fail:
17547 return NULL;
17548}
17549
17550
c32bde28 17551static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17552 PyObject *resultobj = NULL;
d55e5bfc
RD
17553 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17554 PyObject *arg2 = (PyObject *) 0 ;
17555 PyObject *arg3 = (PyObject *) 0 ;
17556 PyObject * obj0 = 0 ;
17557 PyObject * obj1 = 0 ;
17558 PyObject * obj2 = 0 ;
17559 char *kwnames[] = {
17560 (char *) "self",(char *) "self",(char *) "_class", NULL
17561 };
17562
17563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
17564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17566 arg2 = obj1;
17567 arg3 = obj2;
17568 {
17569 PyThreadState* __tstate = wxPyBeginAllowThreads();
17570 (arg1)->_setCallbackInfo(arg2,arg3);
17571
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 Py_INCREF(Py_None); resultobj = Py_None;
17576 return resultobj;
17577 fail:
17578 return NULL;
17579}
17580
17581
c32bde28 17582static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17583 PyObject *resultobj = NULL;
d55e5bfc
RD
17584 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17585 PyObject * obj0 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "provider", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
7e08d4ef 17591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 17592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 wxPyArtProvider::PushProvider(arg1);
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
17600 Py_INCREF(Py_None); resultobj = Py_None;
17601 return resultobj;
17602 fail:
17603 return NULL;
17604}
17605
17606
c32bde28 17607static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17608 PyObject *resultobj = NULL;
d55e5bfc
RD
17609 bool result;
17610 char *kwnames[] = {
17611 NULL
17612 };
17613
17614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
17615 {
17616 PyThreadState* __tstate = wxPyBeginAllowThreads();
17617 result = (bool)wxPyArtProvider::PopProvider();
17618
17619 wxPyEndAllowThreads(__tstate);
17620 if (PyErr_Occurred()) SWIG_fail;
17621 }
17622 {
17623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17624 }
17625 return resultobj;
17626 fail:
17627 return NULL;
17628}
17629
17630
c32bde28 17631static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17632 PyObject *resultobj = NULL;
d55e5bfc
RD
17633 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17634 bool result;
17635 PyObject * obj0 = 0 ;
17636 char *kwnames[] = {
17637 (char *) "provider", NULL
17638 };
17639
17640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
093d3ff1
RD
17641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 {
17651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17652 }
17653 return resultobj;
17654 fail:
17655 return NULL;
17656}
17657
17658
c32bde28 17659static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17660 PyObject *resultobj = NULL;
d55e5bfc
RD
17661 wxString *arg1 = 0 ;
17662 wxString const &arg2_defvalue = wxPyART_OTHER ;
17663 wxString *arg2 = (wxString *) &arg2_defvalue ;
17664 wxSize const &arg3_defvalue = wxDefaultSize ;
17665 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
17666 wxBitmap result;
ae8162c8
RD
17667 bool temp1 = false ;
17668 bool temp2 = false ;
d55e5bfc
RD
17669 wxSize temp3 ;
17670 PyObject * obj0 = 0 ;
17671 PyObject * obj1 = 0 ;
17672 PyObject * obj2 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "id",(char *) "client",(char *) "size", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
17678 {
17679 arg1 = wxString_in_helper(obj0);
17680 if (arg1 == NULL) SWIG_fail;
ae8162c8 17681 temp1 = true;
d55e5bfc
RD
17682 }
17683 if (obj1) {
17684 {
17685 arg2 = wxString_in_helper(obj1);
17686 if (arg2 == NULL) SWIG_fail;
ae8162c8 17687 temp2 = true;
d55e5bfc
RD
17688 }
17689 }
17690 if (obj2) {
17691 {
17692 arg3 = &temp3;
17693 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
17694 }
17695 }
17696 {
0439c23b 17697 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
17700
17701 wxPyEndAllowThreads(__tstate);
110da5b0 17702 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17703 }
17704 {
17705 wxBitmap * resultptr;
7449af73 17706 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
17707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
17708 }
17709 {
17710 if (temp1)
17711 delete arg1;
17712 }
17713 {
17714 if (temp2)
17715 delete arg2;
17716 }
17717 return resultobj;
17718 fail:
17719 {
17720 if (temp1)
17721 delete arg1;
17722 }
17723 {
17724 if (temp2)
17725 delete arg2;
17726 }
17727 return NULL;
17728}
17729
17730
c32bde28 17731static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17732 PyObject *resultobj = NULL;
d55e5bfc
RD
17733 wxString *arg1 = 0 ;
17734 wxString const &arg2_defvalue = wxPyART_OTHER ;
17735 wxString *arg2 = (wxString *) &arg2_defvalue ;
17736 wxSize const &arg3_defvalue = wxDefaultSize ;
17737 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
17738 wxIcon result;
ae8162c8
RD
17739 bool temp1 = false ;
17740 bool temp2 = false ;
d55e5bfc
RD
17741 wxSize temp3 ;
17742 PyObject * obj0 = 0 ;
17743 PyObject * obj1 = 0 ;
17744 PyObject * obj2 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "id",(char *) "client",(char *) "size", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
17750 {
17751 arg1 = wxString_in_helper(obj0);
17752 if (arg1 == NULL) SWIG_fail;
ae8162c8 17753 temp1 = true;
d55e5bfc
RD
17754 }
17755 if (obj1) {
17756 {
17757 arg2 = wxString_in_helper(obj1);
17758 if (arg2 == NULL) SWIG_fail;
ae8162c8 17759 temp2 = true;
d55e5bfc
RD
17760 }
17761 }
17762 if (obj2) {
17763 {
17764 arg3 = &temp3;
17765 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
17766 }
17767 }
17768 {
0439c23b 17769 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
17772
17773 wxPyEndAllowThreads(__tstate);
110da5b0 17774 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17775 }
17776 {
17777 wxIcon * resultptr;
7449af73 17778 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
17779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
17780 }
17781 {
17782 if (temp1)
17783 delete arg1;
17784 }
17785 {
17786 if (temp2)
17787 delete arg2;
17788 }
17789 return resultobj;
17790 fail:
17791 {
17792 if (temp1)
17793 delete arg1;
17794 }
17795 {
17796 if (temp2)
17797 delete arg2;
17798 }
17799 return NULL;
17800}
17801
17802
0c549c5f 17803static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17804 PyObject *resultobj = NULL;
9c874b48
RD
17805 wxString *arg1 = 0 ;
17806 bool arg2 = (bool) false ;
17807 wxSize result;
17808 bool temp1 = false ;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "client",(char *) "platform_dependent", NULL
17813 };
17814
0c549c5f 17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
9c874b48
RD
17816 {
17817 arg1 = wxString_in_helper(obj0);
17818 if (arg1 == NULL) SWIG_fail;
17819 temp1 = true;
17820 }
17821 if (obj1) {
17822 {
7449af73 17823 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9c874b48
RD
17824 if (SWIG_arg_fail(2)) SWIG_fail;
17825 }
17826 }
17827 {
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
0c549c5f 17829 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
9c874b48
RD
17830
17831 wxPyEndAllowThreads(__tstate);
17832 if (PyErr_Occurred()) SWIG_fail;
17833 }
17834 {
17835 wxSize * resultptr;
7449af73 17836 resultptr = new wxSize(static_cast<wxSize & >(result));
9c874b48
RD
17837 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17838 }
17839 {
17840 if (temp1)
17841 delete arg1;
17842 }
17843 return resultobj;
17844 fail:
17845 {
17846 if (temp1)
17847 delete arg1;
17848 }
17849 return NULL;
17850}
17851
17852
c32bde28 17853static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17854 PyObject *resultobj = NULL;
d55e5bfc
RD
17855 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17856 PyObject * obj0 = 0 ;
17857 char *kwnames[] = {
17858 (char *) "self", NULL
17859 };
17860
17861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
093d3ff1
RD
17862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 wxPyArtProvider_Destroy(arg1);
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 Py_INCREF(Py_None); resultobj = Py_None;
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
c32bde28 17878static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17879 PyObject *obj;
17880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17881 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
17882 Py_INCREF(obj);
17883 return Py_BuildValue((char *)"");
17884}
c32bde28 17885static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17886 PyObject *resultobj = NULL;
d55e5bfc
RD
17887 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17888 PyObject * obj0 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
093d3ff1
RD
17894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17896 {
17897 PyThreadState* __tstate = wxPyBeginAllowThreads();
17898 delete arg1;
17899
17900 wxPyEndAllowThreads(__tstate);
17901 if (PyErr_Occurred()) SWIG_fail;
17902 }
17903 Py_INCREF(Py_None); resultobj = Py_None;
17904 return resultobj;
17905 fail:
17906 return NULL;
17907}
17908
17909
c32bde28 17910static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17911 PyObject *resultobj = NULL;
d55e5bfc
RD
17912 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17913 wxConfigBase *result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "config", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
5ba5649b 17920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
093d3ff1 17921 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 result = (wxConfigBase *)wxConfigBase::Set(arg1);
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17930 return resultobj;
17931 fail:
17932 return NULL;
17933}
17934
17935
c32bde28 17936static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17937 PyObject *resultobj = NULL;
ae8162c8 17938 bool arg1 = (bool) true ;
d55e5bfc
RD
17939 wxConfigBase *result;
17940 PyObject * obj0 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "createOnDemand", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
17946 if (obj0) {
093d3ff1 17947 {
7449af73 17948 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
093d3ff1
RD
17949 if (SWIG_arg_fail(1)) SWIG_fail;
17950 }
d55e5bfc
RD
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 result = (wxConfigBase *)wxConfigBase::Get(arg1);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17960 return resultobj;
17961 fail:
17962 return NULL;
17963}
17964
17965
c32bde28 17966static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17967 PyObject *resultobj = NULL;
d55e5bfc
RD
17968 wxConfigBase *result;
17969 char *kwnames[] = {
17970 NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 result = (wxConfigBase *)wxConfigBase::Create();
17977
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17982 return resultobj;
17983 fail:
17984 return NULL;
17985}
17986
17987
c32bde28 17988static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 17989 PyObject *resultobj = NULL;
d55e5bfc
RD
17990 char *kwnames[] = {
17991 NULL
17992 };
17993
17994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 wxConfigBase::DontCreateOnDemand();
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 Py_INCREF(Py_None); resultobj = Py_None;
18003 return resultobj;
18004 fail:
18005 return NULL;
18006}
18007
18008
c32bde28 18009static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18010 PyObject *resultobj = NULL;
d55e5bfc
RD
18011 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18012 wxString *arg2 = 0 ;
ae8162c8 18013 bool temp2 = false ;
d55e5bfc
RD
18014 PyObject * obj0 = 0 ;
18015 PyObject * obj1 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "path", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18022 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18023 {
18024 arg2 = wxString_in_helper(obj1);
18025 if (arg2 == NULL) SWIG_fail;
ae8162c8 18026 temp2 = true;
d55e5bfc
RD
18027 }
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 (arg1)->SetPath((wxString const &)*arg2);
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 Py_INCREF(Py_None); resultobj = Py_None;
18036 {
18037 if (temp2)
18038 delete arg2;
18039 }
18040 return resultobj;
18041 fail:
18042 {
18043 if (temp2)
18044 delete arg2;
18045 }
18046 return NULL;
18047}
18048
18049
c32bde28 18050static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18051 PyObject *resultobj = NULL;
d55e5bfc
RD
18052 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18053 wxString *result;
18054 PyObject * obj0 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
093d3ff1
RD
18060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18061 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 {
18065 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
18066 result = (wxString *) &_result_ref;
18067 }
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 {
18073#if wxUSE_UNICODE
18074 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18075#else
18076 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18077#endif
18078 }
18079 return resultobj;
18080 fail:
18081 return NULL;
18082}
18083
18084
c32bde28 18085static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18086 PyObject *resultobj = NULL;
d55e5bfc
RD
18087 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18088 PyObject *result;
18089 PyObject * obj0 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
093d3ff1
RD
18095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 resultobj = result;
18105 return resultobj;
18106 fail:
18107 return NULL;
18108}
18109
18110
c32bde28 18111static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18112 PyObject *resultobj = NULL;
d55e5bfc
RD
18113 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18114 long arg2 ;
18115 PyObject *result;
18116 PyObject * obj0 = 0 ;
18117 PyObject * obj1 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self",(char *) "index", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18124 if (SWIG_arg_fail(1)) SWIG_fail;
18125 {
7449af73 18126 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
18127 if (SWIG_arg_fail(2)) SWIG_fail;
18128 }
d55e5bfc
RD
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 resultobj = result;
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
c32bde28 18143static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18144 PyObject *resultobj = NULL;
d55e5bfc
RD
18145 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18146 PyObject *result;
18147 PyObject * obj0 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
093d3ff1
RD
18153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
18162 resultobj = result;
18163 return resultobj;
18164 fail:
18165 return NULL;
18166}
18167
18168
c32bde28 18169static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18170 PyObject *resultobj = NULL;
d55e5bfc
RD
18171 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18172 long arg2 ;
18173 PyObject *result;
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self",(char *) "index", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail;
18183 {
7449af73 18184 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
18185 if (SWIG_arg_fail(2)) SWIG_fail;
18186 }
d55e5bfc
RD
18187 {
18188 PyThreadState* __tstate = wxPyBeginAllowThreads();
18189 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
18190
18191 wxPyEndAllowThreads(__tstate);
18192 if (PyErr_Occurred()) SWIG_fail;
18193 }
18194 resultobj = result;
18195 return resultobj;
18196 fail:
18197 return NULL;
18198}
18199
18200
c32bde28 18201static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18202 PyObject *resultobj = NULL;
d55e5bfc 18203 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18204 bool arg2 = (bool) false ;
d55e5bfc
RD
18205 size_t result;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 char *kwnames[] = {
18209 (char *) "self",(char *) "recursive", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18215 if (obj1) {
093d3ff1 18216 {
7449af73 18217 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18218 if (SWIG_arg_fail(2)) SWIG_fail;
18219 }
d55e5bfc
RD
18220 }
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
093d3ff1 18228 {
7449af73 18229 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 18230 }
d55e5bfc
RD
18231 return resultobj;
18232 fail:
18233 return NULL;
18234}
18235
18236
c32bde28 18237static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18238 PyObject *resultobj = NULL;
d55e5bfc 18239 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18240 bool arg2 = (bool) false ;
d55e5bfc
RD
18241 size_t result;
18242 PyObject * obj0 = 0 ;
18243 PyObject * obj1 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self",(char *) "recursive", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18249 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18250 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18251 if (obj1) {
093d3ff1 18252 {
7449af73 18253 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18254 if (SWIG_arg_fail(2)) SWIG_fail;
18255 }
d55e5bfc
RD
18256 }
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
093d3ff1 18264 {
7449af73 18265 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 18266 }
d55e5bfc
RD
18267 return resultobj;
18268 fail:
18269 return NULL;
18270}
18271
18272
c32bde28 18273static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18274 PyObject *resultobj = NULL;
d55e5bfc
RD
18275 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18276 wxString *arg2 = 0 ;
18277 bool result;
ae8162c8 18278 bool temp2 = false ;
d55e5bfc
RD
18279 PyObject * obj0 = 0 ;
18280 PyObject * obj1 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self",(char *) "name", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18288 {
18289 arg2 = wxString_in_helper(obj1);
18290 if (arg2 == NULL) SWIG_fail;
ae8162c8 18291 temp2 = true;
d55e5bfc
RD
18292 }
18293 {
18294 PyThreadState* __tstate = wxPyBeginAllowThreads();
18295 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
18296
18297 wxPyEndAllowThreads(__tstate);
18298 if (PyErr_Occurred()) SWIG_fail;
18299 }
18300 {
18301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18302 }
18303 {
18304 if (temp2)
18305 delete arg2;
18306 }
18307 return resultobj;
18308 fail:
18309 {
18310 if (temp2)
18311 delete arg2;
18312 }
18313 return NULL;
18314}
18315
18316
c32bde28 18317static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18318 PyObject *resultobj = NULL;
d55e5bfc
RD
18319 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18320 wxString *arg2 = 0 ;
18321 bool result;
ae8162c8 18322 bool temp2 = false ;
d55e5bfc
RD
18323 PyObject * obj0 = 0 ;
18324 PyObject * obj1 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self",(char *) "name", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18331 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18332 {
18333 arg2 = wxString_in_helper(obj1);
18334 if (arg2 == NULL) SWIG_fail;
ae8162c8 18335 temp2 = true;
d55e5bfc
RD
18336 }
18337 {
18338 PyThreadState* __tstate = wxPyBeginAllowThreads();
18339 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
18340
18341 wxPyEndAllowThreads(__tstate);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 }
18344 {
18345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18346 }
18347 {
18348 if (temp2)
18349 delete arg2;
18350 }
18351 return resultobj;
18352 fail:
18353 {
18354 if (temp2)
18355 delete arg2;
18356 }
18357 return NULL;
18358}
18359
18360
c32bde28 18361static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18362 PyObject *resultobj = NULL;
d55e5bfc
RD
18363 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18364 wxString *arg2 = 0 ;
18365 bool result;
ae8162c8 18366 bool temp2 = false ;
d55e5bfc
RD
18367 PyObject * obj0 = 0 ;
18368 PyObject * obj1 = 0 ;
18369 char *kwnames[] = {
18370 (char *) "self",(char *) "name", NULL
18371 };
18372
18373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18376 {
18377 arg2 = wxString_in_helper(obj1);
18378 if (arg2 == NULL) SWIG_fail;
ae8162c8 18379 temp2 = true;
d55e5bfc
RD
18380 }
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 {
18389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18390 }
18391 {
18392 if (temp2)
18393 delete arg2;
18394 }
18395 return resultobj;
18396 fail:
18397 {
18398 if (temp2)
18399 delete arg2;
18400 }
18401 return NULL;
18402}
18403
18404
c32bde28 18405static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18406 PyObject *resultobj = NULL;
d55e5bfc
RD
18407 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18408 wxString *arg2 = 0 ;
093d3ff1 18409 wxConfigBase::EntryType result;
ae8162c8 18410 bool temp2 = false ;
d55e5bfc
RD
18411 PyObject * obj0 = 0 ;
18412 PyObject * obj1 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self",(char *) "name", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18420 {
18421 arg2 = wxString_in_helper(obj1);
18422 if (arg2 == NULL) SWIG_fail;
ae8162c8 18423 temp2 = true;
d55e5bfc
RD
18424 }
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 18427 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d55e5bfc
RD
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
093d3ff1 18432 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18433 {
18434 if (temp2)
18435 delete arg2;
18436 }
18437 return resultobj;
18438 fail:
18439 {
18440 if (temp2)
18441 delete arg2;
18442 }
18443 return NULL;
18444}
18445
18446
c32bde28 18447static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18448 PyObject *resultobj = NULL;
d55e5bfc
RD
18449 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18450 wxString *arg2 = 0 ;
18451 wxString const &arg3_defvalue = wxPyEmptyString ;
18452 wxString *arg3 = (wxString *) &arg3_defvalue ;
18453 wxString result;
ae8162c8
RD
18454 bool temp2 = false ;
18455 bool temp3 = false ;
d55e5bfc
RD
18456 PyObject * obj0 = 0 ;
18457 PyObject * obj1 = 0 ;
18458 PyObject * obj2 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18466 {
18467 arg2 = wxString_in_helper(obj1);
18468 if (arg2 == NULL) SWIG_fail;
ae8162c8 18469 temp2 = true;
d55e5bfc
RD
18470 }
18471 if (obj2) {
18472 {
18473 arg3 = wxString_in_helper(obj2);
18474 if (arg3 == NULL) SWIG_fail;
ae8162c8 18475 temp3 = true;
d55e5bfc
RD
18476 }
18477 }
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 {
18486#if wxUSE_UNICODE
18487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18488#else
18489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18490#endif
18491 }
18492 {
18493 if (temp2)
18494 delete arg2;
18495 }
18496 {
18497 if (temp3)
18498 delete arg3;
18499 }
18500 return resultobj;
18501 fail:
18502 {
18503 if (temp2)
18504 delete arg2;
18505 }
18506 {
18507 if (temp3)
18508 delete arg3;
18509 }
18510 return NULL;
18511}
18512
18513
c32bde28 18514static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18515 PyObject *resultobj = NULL;
d55e5bfc
RD
18516 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18517 wxString *arg2 = 0 ;
18518 long arg3 = (long) 0 ;
18519 long result;
ae8162c8 18520 bool temp2 = false ;
d55e5bfc
RD
18521 PyObject * obj0 = 0 ;
18522 PyObject * obj1 = 0 ;
18523 PyObject * obj2 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18531 {
18532 arg2 = wxString_in_helper(obj1);
18533 if (arg2 == NULL) SWIG_fail;
ae8162c8 18534 temp2 = true;
d55e5bfc
RD
18535 }
18536 if (obj2) {
093d3ff1 18537 {
7449af73 18538 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
18539 if (SWIG_arg_fail(3)) SWIG_fail;
18540 }
d55e5bfc
RD
18541 }
18542 {
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
18545
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
093d3ff1 18549 {
7449af73 18550 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 18551 }
d55e5bfc
RD
18552 {
18553 if (temp2)
18554 delete arg2;
18555 }
18556 return resultobj;
18557 fail:
18558 {
18559 if (temp2)
18560 delete arg2;
18561 }
18562 return NULL;
18563}
18564
18565
c32bde28 18566static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18567 PyObject *resultobj = NULL;
d55e5bfc
RD
18568 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18569 wxString *arg2 = 0 ;
18570 double arg3 = (double) 0.0 ;
18571 double result;
ae8162c8 18572 bool temp2 = false ;
d55e5bfc
RD
18573 PyObject * obj0 = 0 ;
18574 PyObject * obj1 = 0 ;
18575 PyObject * obj2 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18583 {
18584 arg2 = wxString_in_helper(obj1);
18585 if (arg2 == NULL) SWIG_fail;
ae8162c8 18586 temp2 = true;
d55e5bfc
RD
18587 }
18588 if (obj2) {
093d3ff1 18589 {
7449af73 18590 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
18591 if (SWIG_arg_fail(3)) SWIG_fail;
18592 }
d55e5bfc
RD
18593 }
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
093d3ff1 18601 {
7449af73 18602 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 18603 }
d55e5bfc
RD
18604 {
18605 if (temp2)
18606 delete arg2;
18607 }
18608 return resultobj;
18609 fail:
18610 {
18611 if (temp2)
18612 delete arg2;
18613 }
18614 return NULL;
18615}
18616
18617
c32bde28 18618static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18619 PyObject *resultobj = NULL;
d55e5bfc
RD
18620 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18621 wxString *arg2 = 0 ;
ae8162c8 18622 bool arg3 = (bool) false ;
d55e5bfc 18623 bool result;
ae8162c8 18624 bool temp2 = false ;
d55e5bfc
RD
18625 PyObject * obj0 = 0 ;
18626 PyObject * obj1 = 0 ;
18627 PyObject * obj2 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18634 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18635 {
18636 arg2 = wxString_in_helper(obj1);
18637 if (arg2 == NULL) SWIG_fail;
ae8162c8 18638 temp2 = true;
d55e5bfc
RD
18639 }
18640 if (obj2) {
093d3ff1 18641 {
7449af73 18642 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
18643 if (SWIG_arg_fail(3)) SWIG_fail;
18644 }
d55e5bfc
RD
18645 }
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 {
18654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18655 }
18656 {
18657 if (temp2)
18658 delete arg2;
18659 }
18660 return resultobj;
18661 fail:
18662 {
18663 if (temp2)
18664 delete arg2;
18665 }
18666 return NULL;
18667}
18668
18669
c32bde28 18670static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18671 PyObject *resultobj = NULL;
d55e5bfc
RD
18672 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18673 wxString *arg2 = 0 ;
18674 wxString *arg3 = 0 ;
18675 bool result;
ae8162c8
RD
18676 bool temp2 = false ;
18677 bool temp3 = false ;
d55e5bfc
RD
18678 PyObject * obj0 = 0 ;
18679 PyObject * obj1 = 0 ;
18680 PyObject * obj2 = 0 ;
18681 char *kwnames[] = {
18682 (char *) "self",(char *) "key",(char *) "value", NULL
18683 };
18684
18685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18688 {
18689 arg2 = wxString_in_helper(obj1);
18690 if (arg2 == NULL) SWIG_fail;
ae8162c8 18691 temp2 = true;
d55e5bfc
RD
18692 }
18693 {
18694 arg3 = wxString_in_helper(obj2);
18695 if (arg3 == NULL) SWIG_fail;
ae8162c8 18696 temp3 = true;
d55e5bfc
RD
18697 }
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
18705 {
18706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18707 }
18708 {
18709 if (temp2)
18710 delete arg2;
18711 }
18712 {
18713 if (temp3)
18714 delete arg3;
18715 }
18716 return resultobj;
18717 fail:
18718 {
18719 if (temp2)
18720 delete arg2;
18721 }
18722 {
18723 if (temp3)
18724 delete arg3;
18725 }
18726 return NULL;
18727}
18728
18729
c32bde28 18730static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18731 PyObject *resultobj = NULL;
d55e5bfc
RD
18732 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18733 wxString *arg2 = 0 ;
18734 long arg3 ;
18735 bool result;
ae8162c8 18736 bool temp2 = false ;
d55e5bfc
RD
18737 PyObject * obj0 = 0 ;
18738 PyObject * obj1 = 0 ;
18739 PyObject * obj2 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "key",(char *) "value", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18747 {
18748 arg2 = wxString_in_helper(obj1);
18749 if (arg2 == NULL) SWIG_fail;
ae8162c8 18750 temp2 = true;
d55e5bfc 18751 }
093d3ff1 18752 {
7449af73 18753 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
18754 if (SWIG_arg_fail(3)) SWIG_fail;
18755 }
d55e5bfc
RD
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 {
18764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18765 }
18766 {
18767 if (temp2)
18768 delete arg2;
18769 }
18770 return resultobj;
18771 fail:
18772 {
18773 if (temp2)
18774 delete arg2;
18775 }
18776 return NULL;
18777}
18778
18779
c32bde28 18780static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18781 PyObject *resultobj = NULL;
d55e5bfc
RD
18782 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18783 wxString *arg2 = 0 ;
18784 double arg3 ;
18785 bool result;
ae8162c8 18786 bool temp2 = false ;
d55e5bfc
RD
18787 PyObject * obj0 = 0 ;
18788 PyObject * obj1 = 0 ;
18789 PyObject * obj2 = 0 ;
18790 char *kwnames[] = {
18791 (char *) "self",(char *) "key",(char *) "value", NULL
18792 };
18793
18794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18797 {
18798 arg2 = wxString_in_helper(obj1);
18799 if (arg2 == NULL) SWIG_fail;
ae8162c8 18800 temp2 = true;
d55e5bfc 18801 }
093d3ff1 18802 {
7449af73 18803 arg3 = static_cast<double >(SWIG_As_double(obj2));
093d3ff1
RD
18804 if (SWIG_arg_fail(3)) SWIG_fail;
18805 }
d55e5bfc
RD
18806 {
18807 PyThreadState* __tstate = wxPyBeginAllowThreads();
18808 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18809
18810 wxPyEndAllowThreads(__tstate);
18811 if (PyErr_Occurred()) SWIG_fail;
18812 }
18813 {
18814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18815 }
18816 {
18817 if (temp2)
18818 delete arg2;
18819 }
18820 return resultobj;
18821 fail:
18822 {
18823 if (temp2)
18824 delete arg2;
18825 }
18826 return NULL;
18827}
18828
18829
c32bde28 18830static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18831 PyObject *resultobj = NULL;
d55e5bfc
RD
18832 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18833 wxString *arg2 = 0 ;
18834 bool arg3 ;
18835 bool result;
ae8162c8 18836 bool temp2 = false ;
d55e5bfc
RD
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 PyObject * obj2 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "self",(char *) "key",(char *) "value", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18847 {
18848 arg2 = wxString_in_helper(obj1);
18849 if (arg2 == NULL) SWIG_fail;
ae8162c8 18850 temp2 = true;
d55e5bfc 18851 }
093d3ff1 18852 {
7449af73 18853 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
18854 if (SWIG_arg_fail(3)) SWIG_fail;
18855 }
d55e5bfc
RD
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 {
18864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18865 }
18866 {
18867 if (temp2)
18868 delete arg2;
18869 }
18870 return resultobj;
18871 fail:
18872 {
18873 if (temp2)
18874 delete arg2;
18875 }
18876 return NULL;
18877}
18878
18879
c32bde28 18880static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18881 PyObject *resultobj = NULL;
d55e5bfc 18882 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 18883 bool arg2 = (bool) false ;
d55e5bfc
RD
18884 bool result;
18885 PyObject * obj0 = 0 ;
18886 PyObject * obj1 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self",(char *) "currentOnly", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
18892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18893 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18894 if (obj1) {
093d3ff1 18895 {
7449af73 18896 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
18897 if (SWIG_arg_fail(2)) SWIG_fail;
18898 }
d55e5bfc
RD
18899 }
18900 {
18901 PyThreadState* __tstate = wxPyBeginAllowThreads();
18902 result = (bool)(arg1)->Flush(arg2);
18903
18904 wxPyEndAllowThreads(__tstate);
18905 if (PyErr_Occurred()) SWIG_fail;
18906 }
18907 {
18908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18909 }
18910 return resultobj;
18911 fail:
18912 return NULL;
18913}
18914
18915
c32bde28 18916static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18917 PyObject *resultobj = NULL;
d55e5bfc
RD
18918 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18919 wxString *arg2 = 0 ;
18920 wxString *arg3 = 0 ;
18921 bool result;
ae8162c8
RD
18922 bool temp2 = false ;
18923 bool temp3 = false ;
d55e5bfc
RD
18924 PyObject * obj0 = 0 ;
18925 PyObject * obj1 = 0 ;
18926 PyObject * obj2 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18934 {
18935 arg2 = wxString_in_helper(obj1);
18936 if (arg2 == NULL) SWIG_fail;
ae8162c8 18937 temp2 = true;
d55e5bfc
RD
18938 }
18939 {
18940 arg3 = wxString_in_helper(obj2);
18941 if (arg3 == NULL) SWIG_fail;
ae8162c8 18942 temp3 = true;
d55e5bfc
RD
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 {
18952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18953 }
18954 {
18955 if (temp2)
18956 delete arg2;
18957 }
18958 {
18959 if (temp3)
18960 delete arg3;
18961 }
18962 return resultobj;
18963 fail:
18964 {
18965 if (temp2)
18966 delete arg2;
18967 }
18968 {
18969 if (temp3)
18970 delete arg3;
18971 }
18972 return NULL;
18973}
18974
18975
c32bde28 18976static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 18977 PyObject *resultobj = NULL;
d55e5bfc
RD
18978 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18979 wxString *arg2 = 0 ;
18980 wxString *arg3 = 0 ;
18981 bool result;
ae8162c8
RD
18982 bool temp2 = false ;
18983 bool temp3 = false ;
d55e5bfc
RD
18984 PyObject * obj0 = 0 ;
18985 PyObject * obj1 = 0 ;
18986 PyObject * obj2 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
18992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18994 {
18995 arg2 = wxString_in_helper(obj1);
18996 if (arg2 == NULL) SWIG_fail;
ae8162c8 18997 temp2 = true;
d55e5bfc
RD
18998 }
18999 {
19000 arg3 = wxString_in_helper(obj2);
19001 if (arg3 == NULL) SWIG_fail;
ae8162c8 19002 temp3 = true;
d55e5bfc
RD
19003 }
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 {
19012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19013 }
19014 {
19015 if (temp2)
19016 delete arg2;
19017 }
19018 {
19019 if (temp3)
19020 delete arg3;
19021 }
19022 return resultobj;
19023 fail:
19024 {
19025 if (temp2)
19026 delete arg2;
19027 }
19028 {
19029 if (temp3)
19030 delete arg3;
19031 }
19032 return NULL;
19033}
19034
19035
c32bde28 19036static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19037 PyObject *resultobj = NULL;
d55e5bfc
RD
19038 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19039 wxString *arg2 = 0 ;
ae8162c8 19040 bool arg3 = (bool) true ;
d55e5bfc 19041 bool result;
ae8162c8 19042 bool temp2 = false ;
d55e5bfc
RD
19043 PyObject * obj0 = 0 ;
19044 PyObject * obj1 = 0 ;
19045 PyObject * obj2 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
19051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19052 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19053 {
19054 arg2 = wxString_in_helper(obj1);
19055 if (arg2 == NULL) SWIG_fail;
ae8162c8 19056 temp2 = true;
d55e5bfc
RD
19057 }
19058 if (obj2) {
093d3ff1 19059 {
7449af73 19060 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
19061 if (SWIG_arg_fail(3)) SWIG_fail;
19062 }
d55e5bfc
RD
19063 }
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 {
19072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19073 }
19074 {
19075 if (temp2)
19076 delete arg2;
19077 }
19078 return resultobj;
19079 fail:
19080 {
19081 if (temp2)
19082 delete arg2;
19083 }
19084 return NULL;
19085}
19086
19087
c32bde28 19088static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19089 PyObject *resultobj = NULL;
d55e5bfc
RD
19090 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19091 wxString *arg2 = 0 ;
19092 bool result;
ae8162c8 19093 bool temp2 = false ;
d55e5bfc
RD
19094 PyObject * obj0 = 0 ;
19095 PyObject * obj1 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self",(char *) "key", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19103 {
19104 arg2 = wxString_in_helper(obj1);
19105 if (arg2 == NULL) SWIG_fail;
ae8162c8 19106 temp2 = true;
d55e5bfc
RD
19107 }
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 {
19116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19117 }
19118 {
19119 if (temp2)
19120 delete arg2;
19121 }
19122 return resultobj;
19123 fail:
19124 {
19125 if (temp2)
19126 delete arg2;
19127 }
19128 return NULL;
19129}
19130
19131
c32bde28 19132static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19133 PyObject *resultobj = NULL;
d55e5bfc
RD
19134 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19135 bool result;
19136 PyObject * obj0 = 0 ;
19137 char *kwnames[] = {
19138 (char *) "self", NULL
19139 };
19140
19141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
19142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19143 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 result = (bool)(arg1)->DeleteAll();
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 {
19152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19153 }
19154 return resultobj;
19155 fail:
19156 return NULL;
19157}
19158
19159
c32bde28 19160static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19161 PyObject *resultobj = NULL;
d55e5bfc 19162 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 19163 bool arg2 = (bool) true ;
d55e5bfc
RD
19164 PyObject * obj0 = 0 ;
19165 PyObject * obj1 = 0 ;
19166 char *kwnames[] = {
19167 (char *) "self",(char *) "doIt", NULL
19168 };
19169
19170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 19173 if (obj1) {
093d3ff1 19174 {
7449af73 19175 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19176 if (SWIG_arg_fail(2)) SWIG_fail;
19177 }
d55e5bfc
RD
19178 }
19179 {
19180 PyThreadState* __tstate = wxPyBeginAllowThreads();
19181 (arg1)->SetExpandEnvVars(arg2);
19182
19183 wxPyEndAllowThreads(__tstate);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 }
19186 Py_INCREF(Py_None); resultobj = Py_None;
19187 return resultobj;
19188 fail:
19189 return NULL;
19190}
19191
19192
c32bde28 19193static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19194 PyObject *resultobj = NULL;
d55e5bfc
RD
19195 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19196 bool result;
19197 PyObject * obj0 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
093d3ff1
RD
19203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19205 {
19206 PyThreadState* __tstate = wxPyBeginAllowThreads();
19207 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
19208
19209 wxPyEndAllowThreads(__tstate);
19210 if (PyErr_Occurred()) SWIG_fail;
19211 }
19212 {
19213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19214 }
19215 return resultobj;
19216 fail:
19217 return NULL;
19218}
19219
19220
c32bde28 19221static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19222 PyObject *resultobj = NULL;
d55e5bfc 19223 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
ae8162c8 19224 bool arg2 = (bool) true ;
d55e5bfc
RD
19225 PyObject * obj0 = 0 ;
19226 PyObject * obj1 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "doIt", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 19234 if (obj1) {
093d3ff1 19235 {
7449af73 19236 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
19237 if (SWIG_arg_fail(2)) SWIG_fail;
19238 }
d55e5bfc
RD
19239 }
19240 {
19241 PyThreadState* __tstate = wxPyBeginAllowThreads();
19242 (arg1)->SetRecordDefaults(arg2);
19243
19244 wxPyEndAllowThreads(__tstate);
19245 if (PyErr_Occurred()) SWIG_fail;
19246 }
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251}
19252
19253
c32bde28 19254static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19255 PyObject *resultobj = NULL;
d55e5bfc
RD
19256 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19257 bool result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
093d3ff1
RD
19264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19266 {
19267 PyThreadState* __tstate = wxPyBeginAllowThreads();
19268 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
19269
19270 wxPyEndAllowThreads(__tstate);
19271 if (PyErr_Occurred()) SWIG_fail;
19272 }
19273 {
19274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19275 }
19276 return resultobj;
19277 fail:
19278 return NULL;
19279}
19280
19281
c32bde28 19282static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19283 PyObject *resultobj = NULL;
d55e5bfc
RD
19284 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19285 wxString *arg2 = 0 ;
19286 wxString result;
ae8162c8 19287 bool temp2 = false ;
d55e5bfc
RD
19288 PyObject * obj0 = 0 ;
19289 PyObject * obj1 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "self",(char *) "str", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19296 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19297 {
19298 arg2 = wxString_in_helper(obj1);
19299 if (arg2 == NULL) SWIG_fail;
ae8162c8 19300 temp2 = true;
d55e5bfc
RD
19301 }
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 {
19310#if wxUSE_UNICODE
19311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19312#else
19313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19314#endif
19315 }
19316 {
19317 if (temp2)
19318 delete arg2;
19319 }
19320 return resultobj;
19321 fail:
19322 {
19323 if (temp2)
19324 delete arg2;
19325 }
19326 return NULL;
19327}
19328
19329
c32bde28 19330static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19331 PyObject *resultobj = NULL;
d55e5bfc
RD
19332 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19333 wxString result;
19334 PyObject * obj0 = 0 ;
19335 char *kwnames[] = {
19336 (char *) "self", NULL
19337 };
19338
19339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
093d3ff1
RD
19340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19341 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19342 {
19343 PyThreadState* __tstate = wxPyBeginAllowThreads();
19344 result = ((wxConfigBase const *)arg1)->GetAppName();
19345
19346 wxPyEndAllowThreads(__tstate);
19347 if (PyErr_Occurred()) SWIG_fail;
19348 }
19349 {
19350#if wxUSE_UNICODE
19351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19352#else
19353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19354#endif
19355 }
19356 return resultobj;
19357 fail:
19358 return NULL;
19359}
19360
19361
c32bde28 19362static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19363 PyObject *resultobj = NULL;
d55e5bfc
RD
19364 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19365 wxString result;
19366 PyObject * obj0 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
093d3ff1
RD
19372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19373 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 result = ((wxConfigBase const *)arg1)->GetVendorName();
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 {
19382#if wxUSE_UNICODE
19383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19384#else
19385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19386#endif
19387 }
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
c32bde28 19394static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19395 PyObject *resultobj = NULL;
d55e5bfc
RD
19396 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19397 wxString *arg2 = 0 ;
ae8162c8 19398 bool temp2 = false ;
d55e5bfc
RD
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "appName", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19408 {
19409 arg2 = wxString_in_helper(obj1);
19410 if (arg2 == NULL) SWIG_fail;
ae8162c8 19411 temp2 = true;
d55e5bfc
RD
19412 }
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 (arg1)->SetAppName((wxString const &)*arg2);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 Py_INCREF(Py_None); resultobj = Py_None;
19421 {
19422 if (temp2)
19423 delete arg2;
19424 }
19425 return resultobj;
19426 fail:
19427 {
19428 if (temp2)
19429 delete arg2;
19430 }
19431 return NULL;
19432}
19433
19434
c32bde28 19435static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19436 PyObject *resultobj = NULL;
d55e5bfc
RD
19437 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19438 wxString *arg2 = 0 ;
ae8162c8 19439 bool temp2 = false ;
d55e5bfc
RD
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self",(char *) "vendorName", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19449 {
19450 arg2 = wxString_in_helper(obj1);
19451 if (arg2 == NULL) SWIG_fail;
ae8162c8 19452 temp2 = true;
d55e5bfc
RD
19453 }
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 (arg1)->SetVendorName((wxString const &)*arg2);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 Py_INCREF(Py_None); resultobj = Py_None;
19462 {
19463 if (temp2)
19464 delete arg2;
19465 }
19466 return resultobj;
19467 fail:
19468 {
19469 if (temp2)
19470 delete arg2;
19471 }
19472 return NULL;
19473}
19474
19475
c32bde28 19476static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19477 PyObject *resultobj = NULL;
d55e5bfc
RD
19478 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19479 long arg2 ;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj1 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self",(char *) "style", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19488 if (SWIG_arg_fail(1)) SWIG_fail;
19489 {
7449af73 19490 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
19491 if (SWIG_arg_fail(2)) SWIG_fail;
19492 }
d55e5bfc
RD
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 (arg1)->SetStyle(arg2);
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 Py_INCREF(Py_None); resultobj = Py_None;
19501 return resultobj;
19502 fail:
19503 return NULL;
19504}
19505
19506
c32bde28 19507static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19508 PyObject *resultobj = NULL;
d55e5bfc
RD
19509 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19510 long result;
19511 PyObject * obj0 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
093d3ff1
RD
19517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19518 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 result = (long)((wxConfigBase const *)arg1)->GetStyle();
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
093d3ff1 19526 {
7449af73 19527 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 19528 }
d55e5bfc
RD
19529 return resultobj;
19530 fail:
19531 return NULL;
19532}
19533
19534
c32bde28 19535static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19536 PyObject *obj;
19537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19538 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
19539 Py_INCREF(obj);
19540 return Py_BuildValue((char *)"");
19541}
c32bde28 19542static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19543 PyObject *resultobj = NULL;
d55e5bfc
RD
19544 wxString const &arg1_defvalue = wxPyEmptyString ;
19545 wxString *arg1 = (wxString *) &arg1_defvalue ;
19546 wxString const &arg2_defvalue = wxPyEmptyString ;
19547 wxString *arg2 = (wxString *) &arg2_defvalue ;
19548 wxString const &arg3_defvalue = wxPyEmptyString ;
19549 wxString *arg3 = (wxString *) &arg3_defvalue ;
19550 wxString const &arg4_defvalue = wxPyEmptyString ;
19551 wxString *arg4 = (wxString *) &arg4_defvalue ;
19552 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
19553 wxConfig *result;
ae8162c8
RD
19554 bool temp1 = false ;
19555 bool temp2 = false ;
19556 bool temp3 = false ;
19557 bool temp4 = false ;
d55e5bfc
RD
19558 PyObject * obj0 = 0 ;
19559 PyObject * obj1 = 0 ;
19560 PyObject * obj2 = 0 ;
19561 PyObject * obj3 = 0 ;
19562 PyObject * obj4 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19568 if (obj0) {
19569 {
19570 arg1 = wxString_in_helper(obj0);
19571 if (arg1 == NULL) SWIG_fail;
ae8162c8 19572 temp1 = true;
d55e5bfc
RD
19573 }
19574 }
19575 if (obj1) {
19576 {
19577 arg2 = wxString_in_helper(obj1);
19578 if (arg2 == NULL) SWIG_fail;
ae8162c8 19579 temp2 = true;
d55e5bfc
RD
19580 }
19581 }
19582 if (obj2) {
19583 {
19584 arg3 = wxString_in_helper(obj2);
19585 if (arg3 == NULL) SWIG_fail;
ae8162c8 19586 temp3 = true;
d55e5bfc
RD
19587 }
19588 }
19589 if (obj3) {
19590 {
19591 arg4 = wxString_in_helper(obj3);
19592 if (arg4 == NULL) SWIG_fail;
ae8162c8 19593 temp4 = true;
d55e5bfc
RD
19594 }
19595 }
19596 if (obj4) {
093d3ff1 19597 {
7449af73 19598 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19599 if (SWIG_arg_fail(5)) SWIG_fail;
19600 }
d55e5bfc
RD
19601 }
19602 {
19603 PyThreadState* __tstate = wxPyBeginAllowThreads();
19604 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
19605
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
19610 {
19611 if (temp1)
19612 delete arg1;
19613 }
19614 {
19615 if (temp2)
19616 delete arg2;
19617 }
19618 {
19619 if (temp3)
19620 delete arg3;
19621 }
19622 {
19623 if (temp4)
19624 delete arg4;
19625 }
19626 return resultobj;
19627 fail:
19628 {
19629 if (temp1)
19630 delete arg1;
19631 }
19632 {
19633 if (temp2)
19634 delete arg2;
19635 }
19636 {
19637 if (temp3)
19638 delete arg3;
19639 }
19640 {
19641 if (temp4)
19642 delete arg4;
19643 }
19644 return NULL;
19645}
19646
19647
c32bde28 19648static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19649 PyObject *resultobj = NULL;
d55e5bfc
RD
19650 wxConfig *arg1 = (wxConfig *) 0 ;
19651 PyObject * obj0 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
093d3ff1
RD
19657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
19658 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 delete arg1;
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 Py_INCREF(Py_None); resultobj = Py_None;
19667 return resultobj;
19668 fail:
19669 return NULL;
19670}
19671
19672
c32bde28 19673static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19674 PyObject *obj;
19675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19676 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
19677 Py_INCREF(obj);
19678 return Py_BuildValue((char *)"");
19679}
c32bde28 19680static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19681 PyObject *resultobj = NULL;
d55e5bfc
RD
19682 wxString const &arg1_defvalue = wxPyEmptyString ;
19683 wxString *arg1 = (wxString *) &arg1_defvalue ;
19684 wxString const &arg2_defvalue = wxPyEmptyString ;
19685 wxString *arg2 = (wxString *) &arg2_defvalue ;
19686 wxString const &arg3_defvalue = wxPyEmptyString ;
19687 wxString *arg3 = (wxString *) &arg3_defvalue ;
19688 wxString const &arg4_defvalue = wxPyEmptyString ;
19689 wxString *arg4 = (wxString *) &arg4_defvalue ;
19690 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
19691 wxFileConfig *result;
ae8162c8
RD
19692 bool temp1 = false ;
19693 bool temp2 = false ;
19694 bool temp3 = false ;
19695 bool temp4 = false ;
d55e5bfc
RD
19696 PyObject * obj0 = 0 ;
19697 PyObject * obj1 = 0 ;
19698 PyObject * obj2 = 0 ;
19699 PyObject * obj3 = 0 ;
19700 PyObject * obj4 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19706 if (obj0) {
19707 {
19708 arg1 = wxString_in_helper(obj0);
19709 if (arg1 == NULL) SWIG_fail;
ae8162c8 19710 temp1 = true;
d55e5bfc
RD
19711 }
19712 }
19713 if (obj1) {
19714 {
19715 arg2 = wxString_in_helper(obj1);
19716 if (arg2 == NULL) SWIG_fail;
ae8162c8 19717 temp2 = true;
d55e5bfc
RD
19718 }
19719 }
19720 if (obj2) {
19721 {
19722 arg3 = wxString_in_helper(obj2);
19723 if (arg3 == NULL) SWIG_fail;
ae8162c8 19724 temp3 = true;
d55e5bfc
RD
19725 }
19726 }
19727 if (obj3) {
19728 {
19729 arg4 = wxString_in_helper(obj3);
19730 if (arg4 == NULL) SWIG_fail;
ae8162c8 19731 temp4 = true;
d55e5bfc
RD
19732 }
19733 }
19734 if (obj4) {
093d3ff1 19735 {
7449af73 19736 arg5 = static_cast<long >(SWIG_As_long(obj4));
093d3ff1
RD
19737 if (SWIG_arg_fail(5)) SWIG_fail;
19738 }
d55e5bfc
RD
19739 }
19740 {
19741 PyThreadState* __tstate = wxPyBeginAllowThreads();
19742 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
19743
19744 wxPyEndAllowThreads(__tstate);
19745 if (PyErr_Occurred()) SWIG_fail;
19746 }
19747 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
19748 {
19749 if (temp1)
19750 delete arg1;
19751 }
19752 {
19753 if (temp2)
19754 delete arg2;
19755 }
19756 {
19757 if (temp3)
19758 delete arg3;
19759 }
19760 {
19761 if (temp4)
19762 delete arg4;
19763 }
19764 return resultobj;
19765 fail:
19766 {
19767 if (temp1)
19768 delete arg1;
19769 }
19770 {
19771 if (temp2)
19772 delete arg2;
19773 }
19774 {
19775 if (temp3)
19776 delete arg3;
19777 }
19778 {
19779 if (temp4)
19780 delete arg4;
19781 }
19782 return NULL;
19783}
19784
19785
c32bde28 19786static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19787 PyObject *resultobj = NULL;
d55e5bfc
RD
19788 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
19789 PyObject * obj0 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
093d3ff1
RD
19795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 delete arg1;
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 Py_INCREF(Py_None); resultobj = Py_None;
19805 return resultobj;
19806 fail:
19807 return NULL;
19808}
19809
19810
c32bde28 19811static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19812 PyObject *obj;
19813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19814 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
19815 Py_INCREF(obj);
19816 return Py_BuildValue((char *)"");
19817}
c32bde28 19818static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19819 PyObject *resultobj = NULL;
d55e5bfc
RD
19820 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19821 wxString *arg2 = 0 ;
19822 wxConfigPathChanger *result;
ae8162c8 19823 bool temp2 = false ;
d55e5bfc
RD
19824 PyObject * obj0 = 0 ;
19825 PyObject * obj1 = 0 ;
19826 char *kwnames[] = {
19827 (char *) "config",(char *) "entry", NULL
19828 };
19829
19830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
19831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19832 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19833 {
19834 arg2 = wxString_in_helper(obj1);
19835 if (arg2 == NULL) SWIG_fail;
ae8162c8 19836 temp2 = true;
d55e5bfc
RD
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
19845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
19846 {
19847 if (temp2)
19848 delete arg2;
19849 }
19850 return resultobj;
19851 fail:
19852 {
19853 if (temp2)
19854 delete arg2;
19855 }
19856 return NULL;
19857}
19858
19859
c32bde28 19860static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19861 PyObject *resultobj = NULL;
d55e5bfc
RD
19862 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
093d3ff1
RD
19869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19870 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 delete arg1;
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 Py_INCREF(Py_None); resultobj = Py_None;
19879 return resultobj;
19880 fail:
19881 return NULL;
19882}
19883
19884
c32bde28 19885static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19886 PyObject *resultobj = NULL;
d55e5bfc
RD
19887 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19888 wxString *result;
19889 PyObject * obj0 = 0 ;
19890 char *kwnames[] = {
19891 (char *) "self", NULL
19892 };
19893
19894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
093d3ff1
RD
19895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19896 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 {
19900 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
19901 result = (wxString *) &_result_ref;
19902 }
19903
19904 wxPyEndAllowThreads(__tstate);
19905 if (PyErr_Occurred()) SWIG_fail;
19906 }
19907 {
19908#if wxUSE_UNICODE
19909 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19910#else
19911 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19912#endif
19913 }
19914 return resultobj;
19915 fail:
19916 return NULL;
19917}
19918
19919
c32bde28 19920static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19921 PyObject *obj;
19922 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19923 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
19924 Py_INCREF(obj);
19925 return Py_BuildValue((char *)"");
19926}
c32bde28 19927static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 19928 PyObject *resultobj = NULL;
d55e5bfc
RD
19929 wxString *arg1 = 0 ;
19930 wxString result;
ae8162c8 19931 bool temp1 = false ;
d55e5bfc
RD
19932 PyObject * obj0 = 0 ;
19933 char *kwnames[] = {
19934 (char *) "sz", NULL
19935 };
19936
19937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
19938 {
19939 arg1 = wxString_in_helper(obj0);
19940 if (arg1 == NULL) SWIG_fail;
ae8162c8 19941 temp1 = true;
d55e5bfc
RD
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = wxExpandEnvVars((wxString const &)*arg1);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951#if wxUSE_UNICODE
19952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19953#else
19954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19955#endif
19956 }
19957 {
19958 if (temp1)
19959 delete arg1;
19960 }
19961 return resultobj;
19962 fail:
19963 {
19964 if (temp1)
19965 delete arg1;
19966 }
19967 return NULL;
19968}
19969
19970
fef4c27a
RD
19971static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
19972 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
d55e5bfc
RD
19973 return 1;
19974}
19975
19976
fef4c27a 19977static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
7449af73 19978 PyObject *pyobj = NULL;
d55e5bfc
RD
19979
19980 {
19981#if wxUSE_UNICODE
fef4c27a 19982 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc 19983#else
fef4c27a 19984 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc
RD
19985#endif
19986 }
19987 return pyobj;
19988}
19989
19990
fef4c27a
RD
19991static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
19992 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
d55e5bfc
RD
19993 return 1;
19994}
19995
19996
fef4c27a 19997static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
7449af73 19998 PyObject *pyobj = NULL;
d55e5bfc
RD
19999
20000 {
20001#if wxUSE_UNICODE
fef4c27a 20002 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc 20003#else
fef4c27a 20004 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc
RD
20005#endif
20006 }
20007 return pyobj;
20008}
20009
20010
c32bde28 20011static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20012 PyObject *resultobj = NULL;
093d3ff1 20013 wxDateTime::Country arg1 ;
d55e5bfc
RD
20014 PyObject * obj0 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "country", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
093d3ff1 20020 {
7449af73 20021 arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
093d3ff1
RD
20022 if (SWIG_arg_fail(1)) SWIG_fail;
20023 }
d55e5bfc
RD
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20026 wxDateTime::SetCountry(arg1);
d55e5bfc
RD
20027
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 Py_INCREF(Py_None); resultobj = Py_None;
20032 return resultobj;
20033 fail:
20034 return NULL;
20035}
20036
20037
c32bde28 20038static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20039 PyObject *resultobj = NULL;
093d3ff1 20040 wxDateTime::Country result;
d55e5bfc
RD
20041 char *kwnames[] = {
20042 NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 20048 result = (wxDateTime::Country)wxDateTime::GetCountry();
d55e5bfc
RD
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
093d3ff1 20053 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20054 return resultobj;
20055 fail:
20056 return NULL;
20057}
20058
20059
c32bde28 20060static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20061 PyObject *resultobj = NULL;
093d3ff1 20062 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20063 bool result;
20064 PyObject * obj0 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "country", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
20070 if (obj0) {
093d3ff1 20071 {
7449af73 20072 arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
093d3ff1
RD
20073 if (SWIG_arg_fail(1)) SWIG_fail;
20074 }
d55e5bfc
RD
20075 }
20076 {
20077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20078 result = (bool)wxDateTime::IsWestEuropeanCountry(arg1);
d55e5bfc
RD
20079
20080 wxPyEndAllowThreads(__tstate);
20081 if (PyErr_Occurred()) SWIG_fail;
20082 }
20083 {
20084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20085 }
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
c32bde28 20092static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20093 PyObject *resultobj = NULL;
093d3ff1 20094 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20095 int result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "cal", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
20102 if (obj0) {
093d3ff1 20103 {
7449af73 20104 arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
093d3ff1
RD
20105 if (SWIG_arg_fail(1)) SWIG_fail;
20106 }
d55e5bfc
RD
20107 }
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20110 result = (int)wxDateTime::GetCurrentYear(arg1);
d55e5bfc
RD
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
093d3ff1 20115 {
7449af73 20116 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20117 }
d55e5bfc
RD
20118 return resultobj;
20119 fail:
20120 return NULL;
20121}
20122
20123
c32bde28 20124static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20125 PyObject *resultobj = NULL;
d55e5bfc
RD
20126 int arg1 ;
20127 int result;
20128 PyObject * obj0 = 0 ;
20129 char *kwnames[] = {
20130 (char *) "year", NULL
20131 };
20132
20133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
093d3ff1 20134 {
7449af73 20135 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20136 if (SWIG_arg_fail(1)) SWIG_fail;
20137 }
d55e5bfc
RD
20138 {
20139 PyThreadState* __tstate = wxPyBeginAllowThreads();
20140 result = (int)wxDateTime::ConvertYearToBC(arg1);
20141
20142 wxPyEndAllowThreads(__tstate);
20143 if (PyErr_Occurred()) SWIG_fail;
20144 }
093d3ff1 20145 {
7449af73 20146 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20147 }
d55e5bfc
RD
20148 return resultobj;
20149 fail:
20150 return NULL;
20151}
20152
20153
c32bde28 20154static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20155 PyObject *resultobj = NULL;
093d3ff1
RD
20156 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
20157 wxDateTime::Month result;
d55e5bfc
RD
20158 PyObject * obj0 = 0 ;
20159 char *kwnames[] = {
20160 (char *) "cal", NULL
20161 };
20162
20163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
20164 if (obj0) {
093d3ff1 20165 {
7449af73 20166 arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
093d3ff1
RD
20167 if (SWIG_arg_fail(1)) SWIG_fail;
20168 }
d55e5bfc
RD
20169 }
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20172 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1);
d55e5bfc
RD
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
093d3ff1 20177 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20178 return resultobj;
20179 fail:
20180 return NULL;
20181}
20182
20183
c32bde28 20184static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20185 PyObject *resultobj = NULL;
d55e5bfc 20186 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20187 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20188 bool result;
20189 PyObject * obj0 = 0 ;
20190 PyObject * obj1 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "year",(char *) "cal", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
20196 if (obj0) {
093d3ff1 20197 {
7449af73 20198 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20199 if (SWIG_arg_fail(1)) SWIG_fail;
20200 }
d55e5bfc
RD
20201 }
20202 if (obj1) {
093d3ff1 20203 {
7449af73 20204 arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
093d3ff1
RD
20205 if (SWIG_arg_fail(2)) SWIG_fail;
20206 }
d55e5bfc
RD
20207 }
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20210 result = (bool)wxDateTime::IsLeapYear(arg1,arg2);
d55e5bfc
RD
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 {
20216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20217 }
20218 return resultobj;
20219 fail:
20220 return NULL;
20221}
20222
20223
c32bde28 20224static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20225 PyObject *resultobj = NULL;
d55e5bfc
RD
20226 int arg1 = (int) wxDateTime::Inv_Year ;
20227 int result;
20228 PyObject * obj0 = 0 ;
20229 char *kwnames[] = {
20230 (char *) "year", NULL
20231 };
20232
20233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
20234 if (obj0) {
093d3ff1 20235 {
7449af73 20236 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20237 if (SWIG_arg_fail(1)) SWIG_fail;
20238 }
d55e5bfc
RD
20239 }
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = (int)wxDateTime::GetCentury(arg1);
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
093d3ff1 20247 {
7449af73 20248 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20249 }
d55e5bfc
RD
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
c32bde28 20256static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20257 PyObject *resultobj = NULL;
d55e5bfc 20258 int arg1 ;
093d3ff1 20259 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20260 int result;
20261 PyObject * obj0 = 0 ;
20262 PyObject * obj1 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "year",(char *) "cal", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 20268 {
7449af73 20269 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20270 if (SWIG_arg_fail(1)) SWIG_fail;
20271 }
d55e5bfc 20272 if (obj1) {
093d3ff1 20273 {
7449af73 20274 arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
093d3ff1
RD
20275 if (SWIG_arg_fail(2)) SWIG_fail;
20276 }
d55e5bfc
RD
20277 }
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20280 result = (int)wxDateTime::GetNumberOfDays(arg1,arg2);
d55e5bfc
RD
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
093d3ff1 20285 {
7449af73 20286 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20287 }
d55e5bfc
RD
20288 return resultobj;
20289 fail:
20290 return NULL;
20291}
20292
20293
c32bde28 20294static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20295 PyObject *resultobj = NULL;
093d3ff1 20296 wxDateTime::Month arg1 ;
d55e5bfc 20297 int arg2 = (int) wxDateTime::Inv_Year ;
093d3ff1 20298 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20299 int result;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 PyObject * obj2 = 0 ;
20303 char *kwnames[] = {
20304 (char *) "month",(char *) "year",(char *) "cal", NULL
20305 };
20306
20307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 20308 {
7449af73 20309 arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
093d3ff1
RD
20310 if (SWIG_arg_fail(1)) SWIG_fail;
20311 }
d55e5bfc 20312 if (obj1) {
093d3ff1 20313 {
7449af73 20314 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20315 if (SWIG_arg_fail(2)) SWIG_fail;
20316 }
d55e5bfc
RD
20317 }
20318 if (obj2) {
093d3ff1 20319 {
7449af73 20320 arg3 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj2));
093d3ff1
RD
20321 if (SWIG_arg_fail(3)) SWIG_fail;
20322 }
d55e5bfc
RD
20323 }
20324 {
20325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20326 result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3);
d55e5bfc
RD
20327
20328 wxPyEndAllowThreads(__tstate);
20329 if (PyErr_Occurred()) SWIG_fail;
20330 }
093d3ff1 20331 {
7449af73 20332 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 20333 }
d55e5bfc
RD
20334 return resultobj;
20335 fail:
20336 return NULL;
20337}
20338
20339
c32bde28 20340static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20341 PyObject *resultobj = NULL;
093d3ff1
RD
20342 wxDateTime::Month arg1 ;
20343 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
20344 wxString result;
20345 PyObject * obj0 = 0 ;
20346 PyObject * obj1 = 0 ;
20347 char *kwnames[] = {
20348 (char *) "month",(char *) "flags", NULL
20349 };
20350
20351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 20352 {
7449af73 20353 arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
093d3ff1
RD
20354 if (SWIG_arg_fail(1)) SWIG_fail;
20355 }
d55e5bfc 20356 if (obj1) {
093d3ff1 20357 {
7449af73 20358 arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
093d3ff1
RD
20359 if (SWIG_arg_fail(2)) SWIG_fail;
20360 }
d55e5bfc
RD
20361 }
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20364 result = wxDateTime::GetMonthName(arg1,arg2);
d55e5bfc
RD
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 {
20370#if wxUSE_UNICODE
20371 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20372#else
20373 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20374#endif
20375 }
20376 return resultobj;
20377 fail:
20378 return NULL;
20379}
20380
20381
c32bde28 20382static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20383 PyObject *resultobj = NULL;
093d3ff1
RD
20384 wxDateTime::WeekDay arg1 ;
20385 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
20386 wxString result;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "weekday",(char *) "flags", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
093d3ff1 20394 {
7449af73 20395 arg1 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj0));
093d3ff1
RD
20396 if (SWIG_arg_fail(1)) SWIG_fail;
20397 }
d55e5bfc 20398 if (obj1) {
093d3ff1 20399 {
7449af73 20400 arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
093d3ff1
RD
20401 if (SWIG_arg_fail(2)) SWIG_fail;
20402 }
d55e5bfc
RD
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20406 result = wxDateTime::GetWeekDayName(arg1,arg2);
d55e5bfc
RD
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 {
20412#if wxUSE_UNICODE
20413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20414#else
20415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20416#endif
20417 }
20418 return resultobj;
20419 fail:
20420 return NULL;
20421}
20422
20423
c32bde28 20424static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20425 PyObject *resultobj = NULL;
b9d6a5f3 20426 PyObject *result;
d55e5bfc 20427 char *kwnames[] = {
b9d6a5f3 20428 NULL
d55e5bfc
RD
20429 };
20430
b9d6a5f3 20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d55e5bfc
RD
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20434 result = (PyObject *)wxDateTime_GetAmPmStrings();
d55e5bfc
RD
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
b9d6a5f3 20439 resultobj = result;
d55e5bfc
RD
20440 return resultobj;
20441 fail:
d55e5bfc
RD
20442 return NULL;
20443}
20444
20445
c32bde28 20446static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20447 PyObject *resultobj = NULL;
d55e5bfc 20448 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20449 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20450 bool result;
20451 PyObject * obj0 = 0 ;
20452 PyObject * obj1 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "year",(char *) "country", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
20458 if (obj0) {
093d3ff1 20459 {
7449af73 20460 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20461 if (SWIG_arg_fail(1)) SWIG_fail;
20462 }
d55e5bfc
RD
20463 }
20464 if (obj1) {
093d3ff1 20465 {
7449af73 20466 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
20467 if (SWIG_arg_fail(2)) SWIG_fail;
20468 }
d55e5bfc
RD
20469 }
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20472 result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2);
d55e5bfc
RD
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 {
20478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20479 }
20480 return resultobj;
20481 fail:
20482 return NULL;
20483}
20484
20485
c32bde28 20486static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20487 PyObject *resultobj = NULL;
d55e5bfc 20488 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20489 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20490 wxDateTime result;
20491 PyObject * obj0 = 0 ;
20492 PyObject * obj1 = 0 ;
20493 char *kwnames[] = {
20494 (char *) "year",(char *) "country", NULL
20495 };
20496
20497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
20498 if (obj0) {
093d3ff1 20499 {
7449af73 20500 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20501 if (SWIG_arg_fail(1)) SWIG_fail;
20502 }
d55e5bfc
RD
20503 }
20504 if (obj1) {
093d3ff1 20505 {
7449af73 20506 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
20507 if (SWIG_arg_fail(2)) SWIG_fail;
20508 }
d55e5bfc
RD
20509 }
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20512 result = wxDateTime::GetBeginDST(arg1,arg2);
d55e5bfc
RD
20513
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 {
20518 wxDateTime * resultptr;
7449af73 20519 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20520 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20521 }
20522 return resultobj;
20523 fail:
20524 return NULL;
20525}
20526
20527
c32bde28 20528static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20529 PyObject *resultobj = NULL;
d55e5bfc 20530 int arg1 = (int) wxDateTime::Inv_Year ;
093d3ff1 20531 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20532 wxDateTime result;
20533 PyObject * obj0 = 0 ;
20534 PyObject * obj1 = 0 ;
20535 char *kwnames[] = {
20536 (char *) "year",(char *) "country", NULL
20537 };
20538
20539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
20540 if (obj0) {
093d3ff1 20541 {
7449af73 20542 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20543 if (SWIG_arg_fail(1)) SWIG_fail;
20544 }
d55e5bfc
RD
20545 }
20546 if (obj1) {
093d3ff1 20547 {
7449af73 20548 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
20549 if (SWIG_arg_fail(2)) SWIG_fail;
20550 }
d55e5bfc
RD
20551 }
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20554 result = wxDateTime::GetEndDST(arg1,arg2);
d55e5bfc
RD
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 {
20560 wxDateTime * resultptr;
7449af73 20561 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20562 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20563 }
20564 return resultobj;
20565 fail:
20566 return NULL;
20567}
20568
20569
c32bde28 20570static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20571 PyObject *resultobj = NULL;
d55e5bfc
RD
20572 wxDateTime result;
20573 char *kwnames[] = {
20574 NULL
20575 };
20576
20577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = wxDateTime::Now();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 wxDateTime * resultptr;
7449af73 20587 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20589 }
20590 return resultobj;
20591 fail:
20592 return NULL;
20593}
20594
20595
c32bde28 20596static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20597 PyObject *resultobj = NULL;
d55e5bfc
RD
20598 wxDateTime result;
20599 char *kwnames[] = {
20600 NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 result = wxDateTime::UNow();
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 {
20612 wxDateTime * resultptr;
7449af73 20613 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20615 }
20616 return resultobj;
20617 fail:
20618 return NULL;
20619}
20620
20621
c32bde28 20622static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20623 PyObject *resultobj = NULL;
d55e5bfc
RD
20624 wxDateTime result;
20625 char *kwnames[] = {
20626 NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = wxDateTime::Today();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 {
20638 wxDateTime * resultptr;
7449af73 20639 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20641 }
20642 return resultobj;
20643 fail:
20644 return NULL;
20645}
20646
20647
c32bde28 20648static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20649 PyObject *resultobj = NULL;
d55e5bfc
RD
20650 wxDateTime *result;
20651 char *kwnames[] = {
20652 NULL
20653 };
20654
20655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (wxDateTime *)new wxDateTime();
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
20663 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20664 return resultobj;
20665 fail:
20666 return NULL;
20667}
20668
20669
c32bde28 20670static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20671 PyObject *resultobj = NULL;
d55e5bfc
RD
20672 time_t arg1 ;
20673 wxDateTime *result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "timet", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
093d3ff1 20680 {
7449af73 20681 arg1 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0));
093d3ff1
RD
20682 if (SWIG_arg_fail(1)) SWIG_fail;
20683 }
d55e5bfc
RD
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 result = (wxDateTime *)new wxDateTime(arg1);
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
c32bde28 20698static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20699 PyObject *resultobj = NULL;
d55e5bfc
RD
20700 double arg1 ;
20701 wxDateTime *result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "jdn", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
093d3ff1 20708 {
7449af73 20709 arg1 = static_cast<double >(SWIG_As_double(obj0));
093d3ff1
RD
20710 if (SWIG_arg_fail(1)) SWIG_fail;
20711 }
d55e5bfc
RD
20712 {
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 result = (wxDateTime *)new wxDateTime(arg1);
20715
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20720 return resultobj;
20721 fail:
20722 return NULL;
20723}
20724
20725
c32bde28 20726static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20727 PyObject *resultobj = NULL;
d55e5bfc
RD
20728 int arg1 ;
20729 int arg2 = (int) 0 ;
20730 int arg3 = (int) 0 ;
20731 int arg4 = (int) 0 ;
20732 wxDateTime *result;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 PyObject * obj2 = 0 ;
20736 PyObject * obj3 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1 20742 {
7449af73 20743 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20744 if (SWIG_arg_fail(1)) SWIG_fail;
20745 }
d55e5bfc 20746 if (obj1) {
093d3ff1 20747 {
7449af73 20748 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
20749 if (SWIG_arg_fail(2)) SWIG_fail;
20750 }
d55e5bfc
RD
20751 }
20752 if (obj2) {
093d3ff1 20753 {
7449af73 20754 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20755 if (SWIG_arg_fail(3)) SWIG_fail;
20756 }
d55e5bfc
RD
20757 }
20758 if (obj3) {
093d3ff1 20759 {
7449af73 20760 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20761 if (SWIG_arg_fail(4)) SWIG_fail;
20762 }
d55e5bfc
RD
20763 }
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20772 return resultobj;
20773 fail:
20774 return NULL;
20775}
20776
20777
c32bde28 20778static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20779 PyObject *resultobj = NULL;
d55e5bfc 20780 int arg1 ;
093d3ff1 20781 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20782 int arg3 = (int) wxDateTime::Inv_Year ;
20783 int arg4 = (int) 0 ;
20784 int arg5 = (int) 0 ;
20785 int arg6 = (int) 0 ;
20786 int arg7 = (int) 0 ;
20787 wxDateTime *result;
20788 PyObject * obj0 = 0 ;
20789 PyObject * obj1 = 0 ;
20790 PyObject * obj2 = 0 ;
20791 PyObject * obj3 = 0 ;
20792 PyObject * obj4 = 0 ;
20793 PyObject * obj5 = 0 ;
20794 PyObject * obj6 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1 20800 {
7449af73 20801 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
20802 if (SWIG_arg_fail(1)) SWIG_fail;
20803 }
d55e5bfc 20804 if (obj1) {
093d3ff1 20805 {
7449af73 20806 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
20807 if (SWIG_arg_fail(2)) SWIG_fail;
20808 }
d55e5bfc
RD
20809 }
20810 if (obj2) {
093d3ff1 20811 {
7449af73 20812 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
20813 if (SWIG_arg_fail(3)) SWIG_fail;
20814 }
d55e5bfc
RD
20815 }
20816 if (obj3) {
093d3ff1 20817 {
7449af73 20818 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
20819 if (SWIG_arg_fail(4)) SWIG_fail;
20820 }
d55e5bfc
RD
20821 }
20822 if (obj4) {
093d3ff1 20823 {
7449af73 20824 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
20825 if (SWIG_arg_fail(5)) SWIG_fail;
20826 }
d55e5bfc
RD
20827 }
20828 if (obj5) {
093d3ff1 20829 {
7449af73 20830 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
20831 if (SWIG_arg_fail(6)) SWIG_fail;
20832 }
d55e5bfc
RD
20833 }
20834 if (obj6) {
093d3ff1 20835 {
7449af73 20836 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
20837 if (SWIG_arg_fail(7)) SWIG_fail;
20838 }
d55e5bfc
RD
20839 }
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 20842 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
20843
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20848 return resultobj;
20849 fail:
20850 return NULL;
20851}
20852
20853
c32bde28 20854static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20855 PyObject *resultobj = NULL;
d55e5bfc
RD
20856 wxDateTime *arg1 = (wxDateTime *) 0 ;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
20863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 delete arg1;
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 Py_INCREF(Py_None); resultobj = Py_None;
20873 return resultobj;
20874 fail:
20875 return NULL;
20876}
20877
20878
c32bde28 20879static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20880 PyObject *resultobj = NULL;
d55e5bfc
RD
20881 wxDateTime *arg1 = (wxDateTime *) 0 ;
20882 wxDateTime *result;
20883 PyObject * obj0 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
093d3ff1
RD
20889 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20890 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 {
20894 wxDateTime &_result_ref = (arg1)->SetToCurrent();
20895 result = (wxDateTime *) &_result_ref;
20896 }
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20902 return resultobj;
20903 fail:
20904 return NULL;
20905}
20906
20907
c32bde28 20908static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20909 PyObject *resultobj = NULL;
d55e5bfc
RD
20910 wxDateTime *arg1 = (wxDateTime *) 0 ;
20911 time_t arg2 ;
20912 wxDateTime *result;
20913 PyObject * obj0 = 0 ;
20914 PyObject * obj1 = 0 ;
20915 char *kwnames[] = {
20916 (char *) "self",(char *) "timet", NULL
20917 };
20918
20919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20920 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20921 if (SWIG_arg_fail(1)) SWIG_fail;
20922 {
7449af73 20923 arg2 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1));
093d3ff1
RD
20924 if (SWIG_arg_fail(2)) SWIG_fail;
20925 }
d55e5bfc
RD
20926 {
20927 PyThreadState* __tstate = wxPyBeginAllowThreads();
20928 {
20929 wxDateTime &_result_ref = (arg1)->Set(arg2);
20930 result = (wxDateTime *) &_result_ref;
20931 }
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20937 return resultobj;
20938 fail:
20939 return NULL;
20940}
20941
20942
c32bde28 20943static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20944 PyObject *resultobj = NULL;
d55e5bfc
RD
20945 wxDateTime *arg1 = (wxDateTime *) 0 ;
20946 double arg2 ;
20947 wxDateTime *result;
20948 PyObject * obj0 = 0 ;
20949 PyObject * obj1 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "self",(char *) "jdn", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
20955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20956 if (SWIG_arg_fail(1)) SWIG_fail;
20957 {
7449af73 20958 arg2 = static_cast<double >(SWIG_As_double(obj1));
093d3ff1
RD
20959 if (SWIG_arg_fail(2)) SWIG_fail;
20960 }
d55e5bfc
RD
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 {
20964 wxDateTime &_result_ref = (arg1)->Set(arg2);
20965 result = (wxDateTime *) &_result_ref;
20966 }
20967
20968 wxPyEndAllowThreads(__tstate);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 }
20971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20972 return resultobj;
20973 fail:
20974 return NULL;
20975}
20976
20977
c32bde28 20978static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 20979 PyObject *resultobj = NULL;
d55e5bfc
RD
20980 wxDateTime *arg1 = (wxDateTime *) 0 ;
20981 int arg2 ;
20982 int arg3 = (int) 0 ;
20983 int arg4 = (int) 0 ;
20984 int arg5 = (int) 0 ;
20985 wxDateTime *result;
20986 PyObject * obj0 = 0 ;
20987 PyObject * obj1 = 0 ;
20988 PyObject * obj2 = 0 ;
20989 PyObject * obj3 = 0 ;
20990 PyObject * obj4 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
20996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20997 if (SWIG_arg_fail(1)) SWIG_fail;
20998 {
7449af73 20999 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1 21000 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 21001 }
093d3ff1
RD
21002 if (obj2) {
21003 {
7449af73 21004 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21005 if (SWIG_arg_fail(3)) SWIG_fail;
21006 }
21007 }
21008 if (obj3) {
21009 {
7449af73 21010 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21011 if (SWIG_arg_fail(4)) SWIG_fail;
21012 }
d55e5bfc
RD
21013 }
21014 if (obj4) {
093d3ff1 21015 {
7449af73 21016 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21017 if (SWIG_arg_fail(5)) SWIG_fail;
21018 }
d55e5bfc
RD
21019 }
21020 {
21021 PyThreadState* __tstate = wxPyBeginAllowThreads();
21022 {
21023 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
21024 result = (wxDateTime *) &_result_ref;
21025 }
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21031 return resultobj;
21032 fail:
21033 return NULL;
21034}
21035
21036
c32bde28 21037static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21038 PyObject *resultobj = NULL;
d55e5bfc
RD
21039 wxDateTime *arg1 = (wxDateTime *) 0 ;
21040 int arg2 ;
093d3ff1 21041 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21042 int arg4 = (int) wxDateTime::Inv_Year ;
21043 int arg5 = (int) 0 ;
21044 int arg6 = (int) 0 ;
21045 int arg7 = (int) 0 ;
21046 int arg8 = (int) 0 ;
21047 wxDateTime *result;
21048 PyObject * obj0 = 0 ;
21049 PyObject * obj1 = 0 ;
21050 PyObject * obj2 = 0 ;
21051 PyObject * obj3 = 0 ;
21052 PyObject * obj4 = 0 ;
21053 PyObject * obj5 = 0 ;
21054 PyObject * obj6 = 0 ;
21055 PyObject * obj7 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
21061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21062 if (SWIG_arg_fail(1)) SWIG_fail;
21063 {
7449af73 21064 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21065 if (SWIG_arg_fail(2)) SWIG_fail;
21066 }
d55e5bfc 21067 if (obj2) {
093d3ff1 21068 {
7449af73 21069 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
093d3ff1
RD
21070 if (SWIG_arg_fail(3)) SWIG_fail;
21071 }
d55e5bfc
RD
21072 }
21073 if (obj3) {
093d3ff1 21074 {
7449af73 21075 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21076 if (SWIG_arg_fail(4)) SWIG_fail;
21077 }
d55e5bfc
RD
21078 }
21079 if (obj4) {
093d3ff1 21080 {
7449af73 21081 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21082 if (SWIG_arg_fail(5)) SWIG_fail;
21083 }
d55e5bfc
RD
21084 }
21085 if (obj5) {
093d3ff1 21086 {
7449af73 21087 arg6 = static_cast<int >(SWIG_As_int(obj5));
093d3ff1
RD
21088 if (SWIG_arg_fail(6)) SWIG_fail;
21089 }
d55e5bfc
RD
21090 }
21091 if (obj6) {
093d3ff1 21092 {
7449af73 21093 arg7 = static_cast<int >(SWIG_As_int(obj6));
093d3ff1
RD
21094 if (SWIG_arg_fail(7)) SWIG_fail;
21095 }
d55e5bfc
RD
21096 }
21097 if (obj7) {
093d3ff1 21098 {
7449af73 21099 arg8 = static_cast<int >(SWIG_As_int(obj7));
093d3ff1
RD
21100 if (SWIG_arg_fail(8)) SWIG_fail;
21101 }
d55e5bfc
RD
21102 }
21103 {
21104 PyThreadState* __tstate = wxPyBeginAllowThreads();
21105 {
7449af73 21106 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
d55e5bfc
RD
21107 result = (wxDateTime *) &_result_ref;
21108 }
21109
21110 wxPyEndAllowThreads(__tstate);
21111 if (PyErr_Occurred()) SWIG_fail;
21112 }
21113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21114 return resultobj;
21115 fail:
21116 return NULL;
21117}
21118
21119
c32bde28 21120static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21121 PyObject *resultobj = NULL;
d55e5bfc
RD
21122 wxDateTime *arg1 = (wxDateTime *) 0 ;
21123 wxDateTime *result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
21130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 {
21135 wxDateTime &_result_ref = (arg1)->ResetTime();
21136 result = (wxDateTime *) &_result_ref;
21137 }
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21143 return resultobj;
21144 fail:
21145 return NULL;
21146}
21147
21148
c32bde28 21149static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21150 PyObject *resultobj = NULL;
d55e5bfc
RD
21151 wxDateTime *arg1 = (wxDateTime *) 0 ;
21152 int arg2 ;
21153 wxDateTime *result;
21154 PyObject * obj0 = 0 ;
21155 PyObject * obj1 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self",(char *) "year", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail;
21163 {
7449af73 21164 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21165 if (SWIG_arg_fail(2)) SWIG_fail;
21166 }
d55e5bfc
RD
21167 {
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 {
21170 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
21171 result = (wxDateTime *) &_result_ref;
21172 }
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21178 return resultobj;
21179 fail:
21180 return NULL;
21181}
21182
21183
c32bde28 21184static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21185 PyObject *resultobj = NULL;
d55e5bfc 21186 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21187 wxDateTime::Month arg2 ;
d55e5bfc
RD
21188 wxDateTime *result;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "month", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21197 if (SWIG_arg_fail(1)) SWIG_fail;
21198 {
7449af73 21199 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
21200 if (SWIG_arg_fail(2)) SWIG_fail;
21201 }
d55e5bfc
RD
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 {
7449af73 21205 wxDateTime &_result_ref = (arg1)->SetMonth(arg2);
d55e5bfc
RD
21206 result = (wxDateTime *) &_result_ref;
21207 }
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21213 return resultobj;
21214 fail:
21215 return NULL;
21216}
21217
21218
c32bde28 21219static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21220 PyObject *resultobj = NULL;
d55e5bfc
RD
21221 wxDateTime *arg1 = (wxDateTime *) 0 ;
21222 int arg2 ;
21223 wxDateTime *result;
21224 PyObject * obj0 = 0 ;
21225 PyObject * obj1 = 0 ;
21226 char *kwnames[] = {
21227 (char *) "self",(char *) "day", NULL
21228 };
21229
21230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21232 if (SWIG_arg_fail(1)) SWIG_fail;
21233 {
7449af73 21234 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21235 if (SWIG_arg_fail(2)) SWIG_fail;
21236 }
d55e5bfc
RD
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 {
21240 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
21241 result = (wxDateTime *) &_result_ref;
21242 }
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
21247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21248 return resultobj;
21249 fail:
21250 return NULL;
21251}
21252
21253
c32bde28 21254static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21255 PyObject *resultobj = NULL;
d55e5bfc
RD
21256 wxDateTime *arg1 = (wxDateTime *) 0 ;
21257 int arg2 ;
21258 wxDateTime *result;
21259 PyObject * obj0 = 0 ;
21260 PyObject * obj1 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self",(char *) "hour", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21267 if (SWIG_arg_fail(1)) SWIG_fail;
21268 {
7449af73 21269 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21270 if (SWIG_arg_fail(2)) SWIG_fail;
21271 }
d55e5bfc
RD
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 {
21275 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
21276 result = (wxDateTime *) &_result_ref;
21277 }
21278
21279 wxPyEndAllowThreads(__tstate);
21280 if (PyErr_Occurred()) SWIG_fail;
21281 }
21282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21283 return resultobj;
21284 fail:
21285 return NULL;
21286}
21287
21288
c32bde28 21289static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21290 PyObject *resultobj = NULL;
d55e5bfc
RD
21291 wxDateTime *arg1 = (wxDateTime *) 0 ;
21292 int arg2 ;
21293 wxDateTime *result;
21294 PyObject * obj0 = 0 ;
21295 PyObject * obj1 = 0 ;
21296 char *kwnames[] = {
21297 (char *) "self",(char *) "minute", NULL
21298 };
21299
21300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21302 if (SWIG_arg_fail(1)) SWIG_fail;
21303 {
7449af73 21304 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21305 if (SWIG_arg_fail(2)) SWIG_fail;
21306 }
d55e5bfc
RD
21307 {
21308 PyThreadState* __tstate = wxPyBeginAllowThreads();
21309 {
21310 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
21311 result = (wxDateTime *) &_result_ref;
21312 }
21313
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21318 return resultobj;
21319 fail:
21320 return NULL;
21321}
21322
21323
c32bde28 21324static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21325 PyObject *resultobj = NULL;
d55e5bfc
RD
21326 wxDateTime *arg1 = (wxDateTime *) 0 ;
21327 int arg2 ;
21328 wxDateTime *result;
21329 PyObject * obj0 = 0 ;
21330 PyObject * obj1 = 0 ;
21331 char *kwnames[] = {
21332 (char *) "self",(char *) "second", NULL
21333 };
21334
21335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21337 if (SWIG_arg_fail(1)) SWIG_fail;
21338 {
7449af73 21339 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21340 if (SWIG_arg_fail(2)) SWIG_fail;
21341 }
d55e5bfc
RD
21342 {
21343 PyThreadState* __tstate = wxPyBeginAllowThreads();
21344 {
21345 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
21346 result = (wxDateTime *) &_result_ref;
21347 }
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21353 return resultobj;
21354 fail:
21355 return NULL;
21356}
21357
21358
c32bde28 21359static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21360 PyObject *resultobj = NULL;
d55e5bfc
RD
21361 wxDateTime *arg1 = (wxDateTime *) 0 ;
21362 int arg2 ;
21363 wxDateTime *result;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "millisecond", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21372 if (SWIG_arg_fail(1)) SWIG_fail;
21373 {
7449af73 21374 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21375 if (SWIG_arg_fail(2)) SWIG_fail;
21376 }
d55e5bfc
RD
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 {
21380 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
21381 result = (wxDateTime *) &_result_ref;
21382 }
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
c32bde28 21394static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21395 PyObject *resultobj = NULL;
d55e5bfc 21396 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21397 wxDateTime::WeekDay arg2 ;
21398 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21399 wxDateTime *result;
21400 PyObject * obj0 = 0 ;
21401 PyObject * obj1 = 0 ;
21402 PyObject * obj2 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21409 if (SWIG_arg_fail(1)) SWIG_fail;
21410 {
7449af73 21411 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21412 if (SWIG_arg_fail(2)) SWIG_fail;
21413 }
d55e5bfc 21414 if (obj2) {
093d3ff1 21415 {
7449af73 21416 arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
093d3ff1
RD
21417 if (SWIG_arg_fail(3)) SWIG_fail;
21418 }
d55e5bfc
RD
21419 }
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 {
7449af73 21423 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3);
d55e5bfc
RD
21424 result = (wxDateTime *) &_result_ref;
21425 }
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21431 return resultobj;
21432 fail:
21433 return NULL;
21434}
21435
21436
c32bde28 21437static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21438 PyObject *resultobj = NULL;
d55e5bfc 21439 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21440 wxDateTime::WeekDay arg2 ;
21441 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21442 wxDateTime result;
21443 PyObject * obj0 = 0 ;
21444 PyObject * obj1 = 0 ;
21445 PyObject * obj2 = 0 ;
21446 char *kwnames[] = {
21447 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21448 };
21449
21450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21452 if (SWIG_arg_fail(1)) SWIG_fail;
21453 {
7449af73 21454 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21455 if (SWIG_arg_fail(2)) SWIG_fail;
21456 }
d55e5bfc 21457 if (obj2) {
093d3ff1 21458 {
7449af73 21459 arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
093d3ff1
RD
21460 if (SWIG_arg_fail(3)) SWIG_fail;
21461 }
d55e5bfc
RD
21462 }
21463 {
21464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21465 result = (arg1)->GetWeekDayInSameWeek(arg2,arg3);
d55e5bfc
RD
21466
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 {
21471 wxDateTime * resultptr;
7449af73 21472 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21473 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21474 }
21475 return resultobj;
21476 fail:
21477 return NULL;
21478}
21479
21480
c32bde28 21481static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21482 PyObject *resultobj = NULL;
d55e5bfc 21483 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21484 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21485 wxDateTime *result;
21486 PyObject * obj0 = 0 ;
21487 PyObject * obj1 = 0 ;
21488 char *kwnames[] = {
21489 (char *) "self",(char *) "weekday", NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21494 if (SWIG_arg_fail(1)) SWIG_fail;
21495 {
7449af73 21496 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21497 if (SWIG_arg_fail(2)) SWIG_fail;
21498 }
d55e5bfc
RD
21499 {
21500 PyThreadState* __tstate = wxPyBeginAllowThreads();
21501 {
7449af73 21502 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2);
d55e5bfc
RD
21503 result = (wxDateTime *) &_result_ref;
21504 }
21505
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21510 return resultobj;
21511 fail:
21512 return NULL;
21513}
21514
21515
c32bde28 21516static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21517 PyObject *resultobj = NULL;
d55e5bfc 21518 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21519 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21520 wxDateTime result;
21521 PyObject * obj0 = 0 ;
21522 PyObject * obj1 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self",(char *) "weekday", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21529 if (SWIG_arg_fail(1)) SWIG_fail;
21530 {
7449af73 21531 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21532 if (SWIG_arg_fail(2)) SWIG_fail;
21533 }
d55e5bfc
RD
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21536 result = (arg1)->GetNextWeekDay(arg2);
d55e5bfc
RD
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 {
21542 wxDateTime * resultptr;
7449af73 21543 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21544 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21545 }
21546 return resultobj;
21547 fail:
21548 return NULL;
21549}
21550
21551
c32bde28 21552static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21553 PyObject *resultobj = NULL;
d55e5bfc 21554 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21555 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21556 wxDateTime *result;
21557 PyObject * obj0 = 0 ;
21558 PyObject * obj1 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self",(char *) "weekday", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21565 if (SWIG_arg_fail(1)) SWIG_fail;
21566 {
7449af73 21567 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21568 if (SWIG_arg_fail(2)) SWIG_fail;
21569 }
d55e5bfc
RD
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 {
7449af73 21573 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2);
d55e5bfc
RD
21574 result = (wxDateTime *) &_result_ref;
21575 }
21576
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21581 return resultobj;
21582 fail:
21583 return NULL;
21584}
21585
21586
c32bde28 21587static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21588 PyObject *resultobj = NULL;
d55e5bfc 21589 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21590 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21591 wxDateTime result;
21592 PyObject * obj0 = 0 ;
21593 PyObject * obj1 = 0 ;
21594 char *kwnames[] = {
21595 (char *) "self",(char *) "weekday", NULL
21596 };
21597
21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
21599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21600 if (SWIG_arg_fail(1)) SWIG_fail;
21601 {
7449af73 21602 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21603 if (SWIG_arg_fail(2)) SWIG_fail;
21604 }
d55e5bfc
RD
21605 {
21606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21607 result = (arg1)->GetPrevWeekDay(arg2);
d55e5bfc
RD
21608
21609 wxPyEndAllowThreads(__tstate);
21610 if (PyErr_Occurred()) SWIG_fail;
21611 }
21612 {
21613 wxDateTime * resultptr;
7449af73 21614 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21616 }
21617 return resultobj;
21618 fail:
21619 return NULL;
21620}
21621
21622
c32bde28 21623static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21624 PyObject *resultobj = NULL;
d55e5bfc 21625 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21626 wxDateTime::WeekDay arg2 ;
d55e5bfc 21627 int arg3 = (int) 1 ;
093d3ff1 21628 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21629 int arg5 = (int) wxDateTime::Inv_Year ;
21630 bool result;
21631 PyObject * obj0 = 0 ;
21632 PyObject * obj1 = 0 ;
21633 PyObject * obj2 = 0 ;
21634 PyObject * obj3 = 0 ;
21635 PyObject * obj4 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
21641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21642 if (SWIG_arg_fail(1)) SWIG_fail;
21643 {
7449af73 21644 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21645 if (SWIG_arg_fail(2)) SWIG_fail;
21646 }
d55e5bfc 21647 if (obj2) {
093d3ff1 21648 {
7449af73 21649 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21650 if (SWIG_arg_fail(3)) SWIG_fail;
21651 }
d55e5bfc
RD
21652 }
21653 if (obj3) {
093d3ff1 21654 {
7449af73 21655 arg4 = static_cast<wxDateTime::Month >(SWIG_As_int(obj3));
093d3ff1
RD
21656 if (SWIG_arg_fail(4)) SWIG_fail;
21657 }
d55e5bfc
RD
21658 }
21659 if (obj4) {
093d3ff1 21660 {
7449af73 21661 arg5 = static_cast<int >(SWIG_As_int(obj4));
093d3ff1
RD
21662 if (SWIG_arg_fail(5)) SWIG_fail;
21663 }
d55e5bfc
RD
21664 }
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21667 result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5);
d55e5bfc
RD
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 {
21673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21674 }
21675 return resultobj;
21676 fail:
21677 return NULL;
21678}
21679
21680
c32bde28 21681static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21682 PyObject *resultobj = NULL;
d55e5bfc 21683 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21684 wxDateTime::WeekDay arg2 ;
21685 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21686 int arg4 = (int) wxDateTime::Inv_Year ;
21687 bool result;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690 PyObject * obj2 = 0 ;
21691 PyObject * obj3 = 0 ;
21692 char *kwnames[] = {
21693 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21694 };
21695
21696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21698 if (SWIG_arg_fail(1)) SWIG_fail;
21699 {
7449af73 21700 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21701 if (SWIG_arg_fail(2)) SWIG_fail;
21702 }
d55e5bfc 21703 if (obj2) {
093d3ff1 21704 {
7449af73 21705 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
093d3ff1
RD
21706 if (SWIG_arg_fail(3)) SWIG_fail;
21707 }
d55e5bfc
RD
21708 }
21709 if (obj3) {
093d3ff1 21710 {
7449af73 21711 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21712 if (SWIG_arg_fail(4)) SWIG_fail;
21713 }
d55e5bfc
RD
21714 }
21715 {
21716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21717 result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4);
d55e5bfc
RD
21718
21719 wxPyEndAllowThreads(__tstate);
21720 if (PyErr_Occurred()) SWIG_fail;
21721 }
21722 {
21723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21724 }
21725 return resultobj;
21726 fail:
21727 return NULL;
21728}
21729
21730
c32bde28 21731static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21732 PyObject *resultobj = NULL;
d55e5bfc 21733 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1
RD
21734 wxDateTime::WeekDay arg2 ;
21735 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21736 int arg4 = (int) wxDateTime::Inv_Year ;
21737 wxDateTime result;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 PyObject * obj2 = 0 ;
21741 PyObject * obj3 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21748 if (SWIG_arg_fail(1)) SWIG_fail;
21749 {
7449af73 21750 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
093d3ff1
RD
21751 if (SWIG_arg_fail(2)) SWIG_fail;
21752 }
d55e5bfc 21753 if (obj2) {
093d3ff1 21754 {
7449af73 21755 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
093d3ff1
RD
21756 if (SWIG_arg_fail(3)) SWIG_fail;
21757 }
d55e5bfc
RD
21758 }
21759 if (obj3) {
093d3ff1 21760 {
7449af73 21761 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
21762 if (SWIG_arg_fail(4)) SWIG_fail;
21763 }
d55e5bfc
RD
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21767 result = (arg1)->GetLastWeekDay(arg2,arg3,arg4);
d55e5bfc
RD
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 {
21773 wxDateTime * resultptr;
7449af73 21774 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21776 }
21777 return resultobj;
21778 fail:
21779 return NULL;
21780}
21781
21782
c32bde28 21783static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21784 PyObject *resultobj = NULL;
d55e5bfc
RD
21785 wxDateTime *arg1 = (wxDateTime *) 0 ;
21786 int arg2 ;
093d3ff1
RD
21787 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21788 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21789 bool result;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 PyObject * obj2 = 0 ;
21793 PyObject * obj3 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21800 if (SWIG_arg_fail(1)) SWIG_fail;
21801 {
7449af73 21802 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21803 if (SWIG_arg_fail(2)) SWIG_fail;
21804 }
d55e5bfc 21805 if (obj2) {
093d3ff1 21806 {
7449af73 21807 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
093d3ff1
RD
21808 if (SWIG_arg_fail(3)) SWIG_fail;
21809 }
d55e5bfc
RD
21810 }
21811 if (obj3) {
093d3ff1 21812 {
7449af73 21813 arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
093d3ff1
RD
21814 if (SWIG_arg_fail(4)) SWIG_fail;
21815 }
d55e5bfc
RD
21816 }
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21819 result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4);
d55e5bfc
RD
21820
21821 wxPyEndAllowThreads(__tstate);
21822 if (PyErr_Occurred()) SWIG_fail;
21823 }
21824 {
21825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21826 }
21827 return resultobj;
21828 fail:
21829 return NULL;
21830}
21831
21832
c32bde28 21833static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21834 PyObject *resultobj = NULL;
d55e5bfc
RD
21835 wxDateTime *arg1 = (wxDateTime *) 0 ;
21836 int arg2 ;
093d3ff1
RD
21837 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21838 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21839 wxDateTime result;
21840 PyObject * obj0 = 0 ;
21841 PyObject * obj1 = 0 ;
21842 PyObject * obj2 = 0 ;
21843 PyObject * obj3 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
21849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail;
21851 {
7449af73 21852 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21853 if (SWIG_arg_fail(2)) SWIG_fail;
21854 }
d55e5bfc 21855 if (obj2) {
093d3ff1 21856 {
7449af73 21857 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
093d3ff1
RD
21858 if (SWIG_arg_fail(3)) SWIG_fail;
21859 }
d55e5bfc
RD
21860 }
21861 if (obj3) {
093d3ff1 21862 {
7449af73 21863 arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
093d3ff1
RD
21864 if (SWIG_arg_fail(4)) SWIG_fail;
21865 }
d55e5bfc
RD
21866 }
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21869 result = (arg1)->GetWeek(arg2,arg3,arg4);
d55e5bfc
RD
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 {
21875 wxDateTime * resultptr;
7449af73 21876 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21878 }
21879 return resultobj;
21880 fail:
21881 return NULL;
21882}
21883
21884
7e63a440 21885static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21886 PyObject *resultobj = NULL;
7e63a440
RD
21887 int arg1 ;
21888 int arg2 ;
093d3ff1 21889 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
7e63a440
RD
21890 wxDateTime result;
21891 PyObject * obj0 = 0 ;
21892 PyObject * obj1 = 0 ;
21893 PyObject * obj2 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1 21899 {
7449af73 21900 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
21901 if (SWIG_arg_fail(1)) SWIG_fail;
21902 }
21903 {
7449af73 21904 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
21905 if (SWIG_arg_fail(2)) SWIG_fail;
21906 }
7e63a440 21907 if (obj2) {
093d3ff1 21908 {
7449af73 21909 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
093d3ff1
RD
21910 if (SWIG_arg_fail(3)) SWIG_fail;
21911 }
7e63a440
RD
21912 }
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 21915 result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3);
7e63a440
RD
21916
21917 wxPyEndAllowThreads(__tstate);
21918 if (PyErr_Occurred()) SWIG_fail;
21919 }
21920 {
21921 wxDateTime * resultptr;
7449af73 21922 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
7e63a440
RD
21923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21924 }
21925 return resultobj;
21926 fail:
21927 return NULL;
21928}
21929
21930
c32bde28 21931static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21932 PyObject *resultobj = NULL;
d55e5bfc 21933 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21934 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21935 int arg3 = (int) wxDateTime::Inv_Year ;
21936 wxDateTime *result;
21937 PyObject * obj0 = 0 ;
21938 PyObject * obj1 = 0 ;
21939 PyObject * obj2 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self",(char *) "month",(char *) "year", NULL
21942 };
21943
21944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21947 if (obj1) {
093d3ff1 21948 {
7449af73 21949 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
21950 if (SWIG_arg_fail(2)) SWIG_fail;
21951 }
d55e5bfc
RD
21952 }
21953 if (obj2) {
093d3ff1 21954 {
7449af73 21955 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
21956 if (SWIG_arg_fail(3)) SWIG_fail;
21957 }
d55e5bfc
RD
21958 }
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 {
7449af73 21962 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3);
d55e5bfc
RD
21963 result = (wxDateTime *) &_result_ref;
21964 }
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21970 return resultobj;
21971 fail:
21972 return NULL;
21973}
21974
21975
c32bde28 21976static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 21977 PyObject *resultobj = NULL;
d55e5bfc 21978 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 21979 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21980 int arg3 = (int) wxDateTime::Inv_Year ;
21981 wxDateTime result;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 PyObject * obj2 = 0 ;
21985 char *kwnames[] = {
21986 (char *) "self",(char *) "month",(char *) "year", NULL
21987 };
21988
21989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
21990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21992 if (obj1) {
093d3ff1 21993 {
7449af73 21994 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
093d3ff1
RD
21995 if (SWIG_arg_fail(2)) SWIG_fail;
21996 }
d55e5bfc
RD
21997 }
21998 if (obj2) {
093d3ff1 21999 {
7449af73 22000 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
22001 if (SWIG_arg_fail(3)) SWIG_fail;
22002 }
d55e5bfc
RD
22003 }
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22006 result = (arg1)->GetLastMonthDay(arg2,arg3);
d55e5bfc
RD
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 {
22012 wxDateTime * resultptr;
7449af73 22013 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22015 }
22016 return resultobj;
22017 fail:
22018 return NULL;
22019}
22020
22021
c32bde28 22022static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22023 PyObject *resultobj = NULL;
d55e5bfc
RD
22024 wxDateTime *arg1 = (wxDateTime *) 0 ;
22025 int arg2 ;
22026 wxDateTime *result;
22027 PyObject * obj0 = 0 ;
22028 PyObject * obj1 = 0 ;
22029 char *kwnames[] = {
22030 (char *) "self",(char *) "yday", NULL
22031 };
22032
22033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail;
22036 {
7449af73 22037 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22038 if (SWIG_arg_fail(2)) SWIG_fail;
22039 }
d55e5bfc
RD
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 {
22043 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
22044 result = (wxDateTime *) &_result_ref;
22045 }
22046
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22051 return resultobj;
22052 fail:
22053 return NULL;
22054}
22055
22056
c32bde28 22057static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22058 PyObject *resultobj = NULL;
d55e5bfc
RD
22059 wxDateTime *arg1 = (wxDateTime *) 0 ;
22060 int arg2 ;
22061 wxDateTime result;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 char *kwnames[] = {
22065 (char *) "self",(char *) "yday", NULL
22066 };
22067
22068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22070 if (SWIG_arg_fail(1)) SWIG_fail;
22071 {
7449af73 22072 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
22073 if (SWIG_arg_fail(2)) SWIG_fail;
22074 }
d55e5bfc
RD
22075 {
22076 PyThreadState* __tstate = wxPyBeginAllowThreads();
22077 result = (arg1)->GetYearDay(arg2);
22078
22079 wxPyEndAllowThreads(__tstate);
22080 if (PyErr_Occurred()) SWIG_fail;
22081 }
22082 {
22083 wxDateTime * resultptr;
7449af73 22084 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22085 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22086 }
22087 return resultobj;
22088 fail:
22089 return NULL;
22090}
22091
22092
c32bde28 22093static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22094 PyObject *resultobj = NULL;
d55e5bfc
RD
22095 wxDateTime *arg1 = (wxDateTime *) 0 ;
22096 double result;
22097 PyObject * obj0 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
22103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22105 {
22106 PyThreadState* __tstate = wxPyBeginAllowThreads();
22107 result = (double)(arg1)->GetJulianDayNumber();
22108
22109 wxPyEndAllowThreads(__tstate);
22110 if (PyErr_Occurred()) SWIG_fail;
22111 }
093d3ff1 22112 {
7449af73 22113 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22114 }
d55e5bfc
RD
22115 return resultobj;
22116 fail:
22117 return NULL;
22118}
22119
22120
c32bde28 22121static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22122 PyObject *resultobj = NULL;
d55e5bfc
RD
22123 wxDateTime *arg1 = (wxDateTime *) 0 ;
22124 double result;
22125 PyObject * obj0 = 0 ;
22126 char *kwnames[] = {
22127 (char *) "self", NULL
22128 };
22129
22130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
093d3ff1
RD
22131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22132 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22133 {
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 result = (double)(arg1)->GetJDN();
22136
22137 wxPyEndAllowThreads(__tstate);
22138 if (PyErr_Occurred()) SWIG_fail;
22139 }
093d3ff1 22140 {
7449af73 22141 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22142 }
d55e5bfc
RD
22143 return resultobj;
22144 fail:
22145 return NULL;
22146}
22147
22148
c32bde28 22149static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22150 PyObject *resultobj = NULL;
d55e5bfc
RD
22151 wxDateTime *arg1 = (wxDateTime *) 0 ;
22152 double result;
22153 PyObject * obj0 = 0 ;
22154 char *kwnames[] = {
22155 (char *) "self", NULL
22156 };
22157
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
093d3ff1
RD
22159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
093d3ff1 22168 {
7449af73 22169 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22170 }
d55e5bfc
RD
22171 return resultobj;
22172 fail:
22173 return NULL;
22174}
22175
22176
c32bde28 22177static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22178 PyObject *resultobj = NULL;
d55e5bfc
RD
22179 wxDateTime *arg1 = (wxDateTime *) 0 ;
22180 double result;
22181 PyObject * obj0 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "self", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
093d3ff1
RD
22187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22188 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = (double)(arg1)->GetMJD();
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
093d3ff1 22196 {
7449af73 22197 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22198 }
d55e5bfc
RD
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
c32bde28 22205static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22206 PyObject *resultobj = NULL;
d55e5bfc
RD
22207 wxDateTime *arg1 = (wxDateTime *) 0 ;
22208 double result;
22209 PyObject * obj0 = 0 ;
22210 char *kwnames[] = {
22211 (char *) "self", NULL
22212 };
22213
22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
093d3ff1
RD
22215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22217 {
22218 PyThreadState* __tstate = wxPyBeginAllowThreads();
22219 result = (double)(arg1)->GetRataDie();
22220
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
093d3ff1 22224 {
7449af73 22225 resultobj = SWIG_From_double(static_cast<double >(result));
093d3ff1 22226 }
d55e5bfc
RD
22227 return resultobj;
22228 fail:
22229 return NULL;
22230}
22231
22232
c32bde28 22233static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22234 PyObject *resultobj = NULL;
d55e5bfc
RD
22235 wxDateTime *arg1 = (wxDateTime *) 0 ;
22236 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 22237 bool arg3 = (bool) false ;
d55e5bfc 22238 wxDateTime result;
ae8162c8 22239 bool temp2 = false ;
d55e5bfc
RD
22240 PyObject * obj0 = 0 ;
22241 PyObject * obj1 = 0 ;
22242 PyObject * obj2 = 0 ;
22243 char *kwnames[] = {
22244 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22245 };
22246
22247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22249 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22250 {
22251 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22252 temp2 = true;
d55e5bfc
RD
22253 }
22254 if (obj2) {
093d3ff1 22255 {
7449af73 22256 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
22257 if (SWIG_arg_fail(3)) SWIG_fail;
22258 }
d55e5bfc
RD
22259 }
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 {
22268 wxDateTime * resultptr;
7449af73 22269 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22270 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22271 }
22272 {
22273 if (temp2) delete arg2;
22274 }
22275 return resultobj;
22276 fail:
22277 {
22278 if (temp2) delete arg2;
22279 }
22280 return NULL;
22281}
22282
22283
c32bde28 22284static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22285 PyObject *resultobj = NULL;
d55e5bfc
RD
22286 wxDateTime *arg1 = (wxDateTime *) 0 ;
22287 wxDateTime::TimeZone *arg2 = 0 ;
ae8162c8 22288 bool arg3 = (bool) false ;
d55e5bfc 22289 wxDateTime *result;
ae8162c8 22290 bool temp2 = false ;
d55e5bfc
RD
22291 PyObject * obj0 = 0 ;
22292 PyObject * obj1 = 0 ;
22293 PyObject * obj2 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
22299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22301 {
22302 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22303 temp2 = true;
d55e5bfc
RD
22304 }
22305 if (obj2) {
093d3ff1 22306 {
7449af73 22307 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
22308 if (SWIG_arg_fail(3)) SWIG_fail;
22309 }
d55e5bfc
RD
22310 }
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 {
22314 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22315 result = (wxDateTime *) &_result_ref;
22316 }
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22322 {
22323 if (temp2) delete arg2;
22324 }
22325 return resultobj;
22326 fail:
22327 {
22328 if (temp2) delete arg2;
22329 }
22330 return NULL;
22331}
22332
22333
9d7dfdff 22334static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22335 PyObject *resultobj = NULL;
9d7dfdff
RD
22336 wxDateTime *arg1 = (wxDateTime *) 0 ;
22337 wxDateTime::TimeZone *arg2 = 0 ;
22338 bool arg3 = (bool) false ;
22339 wxDateTime result;
22340 bool temp2 = false ;
22341 PyObject * obj0 = 0 ;
22342 PyObject * obj1 = 0 ;
22343 PyObject * obj2 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_FromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
22349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22350 if (SWIG_arg_fail(1)) SWIG_fail;
22351 {
22352 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
22353 temp2 = true;
22354 }
22355 if (obj2) {
22356 {
7449af73 22357 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9d7dfdff
RD
22358 if (SWIG_arg_fail(3)) SWIG_fail;
22359 }
22360 }
22361 {
22362 PyThreadState* __tstate = wxPyBeginAllowThreads();
22363 result = ((wxDateTime const *)arg1)->FromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22364
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 {
22369 wxDateTime * resultptr;
7449af73 22370 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
9d7dfdff
RD
22371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22372 }
22373 {
22374 if (temp2) delete arg2;
22375 }
22376 return resultobj;
22377 fail:
22378 {
22379 if (temp2) delete arg2;
22380 }
22381 return NULL;
22382}
22383
22384
22385static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22386 PyObject *resultobj = NULL;
9d7dfdff
RD
22387 wxDateTime *arg1 = (wxDateTime *) 0 ;
22388 wxDateTime::TimeZone *arg2 = 0 ;
22389 bool arg3 = (bool) false ;
22390 wxDateTime *result;
22391 bool temp2 = false ;
22392 PyObject * obj0 = 0 ;
22393 PyObject * obj1 = 0 ;
22394 PyObject * obj2 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
22400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail;
22402 {
22403 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
22404 temp2 = true;
22405 }
22406 if (obj2) {
22407 {
7449af73 22408 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9d7dfdff
RD
22409 if (SWIG_arg_fail(3)) SWIG_fail;
22410 }
22411 }
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 {
22415 wxDateTime &_result_ref = (arg1)->MakeFromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22416 result = (wxDateTime *) &_result_ref;
22417 }
22418
22419 wxPyEndAllowThreads(__tstate);
22420 if (PyErr_Occurred()) SWIG_fail;
22421 }
22422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22423 {
22424 if (temp2) delete arg2;
22425 }
22426 return resultobj;
22427 fail:
22428 {
22429 if (temp2) delete arg2;
22430 }
22431 return NULL;
22432}
22433
22434
22435static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22436 PyObject *resultobj = NULL;
9d7dfdff
RD
22437 wxDateTime *arg1 = (wxDateTime *) 0 ;
22438 bool arg2 = (bool) false ;
22439 wxDateTime result;
22440 PyObject * obj0 = 0 ;
22441 PyObject * obj1 = 0 ;
22442 char *kwnames[] = {
22443 (char *) "self",(char *) "noDST", NULL
22444 };
22445
22446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToUTC",kwnames,&obj0,&obj1)) goto fail;
22447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22448 if (SWIG_arg_fail(1)) SWIG_fail;
22449 if (obj1) {
22450 {
7449af73 22451 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22452 if (SWIG_arg_fail(2)) SWIG_fail;
22453 }
22454 }
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = ((wxDateTime const *)arg1)->ToUTC(arg2);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 {
22463 wxDateTime * resultptr;
7449af73 22464 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
9d7dfdff
RD
22465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22466 }
22467 return resultobj;
22468 fail:
22469 return NULL;
22470}
22471
22472
22473static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22474 PyObject *resultobj = NULL;
9d7dfdff
RD
22475 wxDateTime *arg1 = (wxDateTime *) 0 ;
22476 bool arg2 = (bool) false ;
22477 wxDateTime *result;
22478 PyObject * obj0 = 0 ;
22479 PyObject * obj1 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self",(char *) "noDST", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeUTC",kwnames,&obj0,&obj1)) goto fail;
22485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail;
22487 if (obj1) {
22488 {
7449af73 22489 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22490 if (SWIG_arg_fail(2)) SWIG_fail;
22491 }
22492 }
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 {
22496 wxDateTime &_result_ref = (arg1)->MakeUTC(arg2);
22497 result = (wxDateTime *) &_result_ref;
22498 }
22499
22500 wxPyEndAllowThreads(__tstate);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 }
22503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22504 return resultobj;
22505 fail:
22506 return NULL;
22507}
22508
22509
c32bde28 22510static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22511 PyObject *resultobj = NULL;
d55e5bfc 22512 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 22513 bool arg2 = (bool) false ;
d55e5bfc
RD
22514 wxDateTime result;
22515 PyObject * obj0 = 0 ;
22516 PyObject * obj1 = 0 ;
22517 char *kwnames[] = {
22518 (char *) "self",(char *) "noDST", NULL
22519 };
22520
22521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22523 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22524 if (obj1) {
093d3ff1 22525 {
7449af73 22526 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22527 if (SWIG_arg_fail(2)) SWIG_fail;
22528 }
d55e5bfc
RD
22529 }
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9d7dfdff 22532 result = ((wxDateTime const *)arg1)->ToGMT(arg2);
d55e5bfc
RD
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 {
22538 wxDateTime * resultptr;
7449af73 22539 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22540 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22541 }
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
c32bde28 22548static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22549 PyObject *resultobj = NULL;
d55e5bfc 22550 wxDateTime *arg1 = (wxDateTime *) 0 ;
ae8162c8 22551 bool arg2 = (bool) false ;
d55e5bfc
RD
22552 wxDateTime *result;
22553 PyObject * obj0 = 0 ;
22554 PyObject * obj1 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self",(char *) "noDST", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22562 if (obj1) {
093d3ff1 22563 {
7449af73 22564 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
22565 if (SWIG_arg_fail(2)) SWIG_fail;
22566 }
d55e5bfc
RD
22567 }
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 {
22571 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
22572 result = (wxDateTime *) &_result_ref;
22573 }
22574
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22579 return resultobj;
22580 fail:
22581 return NULL;
22582}
22583
22584
9d7dfdff 22585static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22586 PyObject *resultobj = NULL;
9d7dfdff
RD
22587 wxDateTime *arg1 = (wxDateTime *) 0 ;
22588 bool arg2 = (bool) false ;
22589 wxDateTime result;
22590 PyObject * obj0 = 0 ;
22591 PyObject * obj1 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self",(char *) "noDST", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_FromUTC",kwnames,&obj0,&obj1)) goto fail;
22597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22598 if (SWIG_arg_fail(1)) SWIG_fail;
22599 if (obj1) {
22600 {
7449af73 22601 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22602 if (SWIG_arg_fail(2)) SWIG_fail;
22603 }
22604 }
22605 {
22606 PyThreadState* __tstate = wxPyBeginAllowThreads();
22607 result = ((wxDateTime const *)arg1)->FromUTC(arg2);
22608
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 {
22613 wxDateTime * resultptr;
7449af73 22614 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
9d7dfdff
RD
22615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22616 }
22617 return resultobj;
22618 fail:
22619 return NULL;
22620}
22621
22622
22623static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22624 PyObject *resultobj = NULL;
9d7dfdff
RD
22625 wxDateTime *arg1 = (wxDateTime *) 0 ;
22626 bool arg2 = (bool) false ;
22627 wxDateTime *result;
22628 PyObject * obj0 = 0 ;
22629 PyObject * obj1 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self",(char *) "noDST", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeFromUTC",kwnames,&obj0,&obj1)) goto fail;
22635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22636 if (SWIG_arg_fail(1)) SWIG_fail;
22637 if (obj1) {
22638 {
7449af73 22639 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9d7dfdff
RD
22640 if (SWIG_arg_fail(2)) SWIG_fail;
22641 }
22642 }
22643 {
22644 PyThreadState* __tstate = wxPyBeginAllowThreads();
22645 {
22646 wxDateTime &_result_ref = (arg1)->MakeFromUTC(arg2);
22647 result = (wxDateTime *) &_result_ref;
22648 }
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22654 return resultobj;
22655 fail:
22656 return NULL;
22657}
22658
22659
c32bde28 22660static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22661 PyObject *resultobj = NULL;
d55e5bfc 22662 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 22663 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
22664 int result;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "country", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22674 if (obj1) {
093d3ff1 22675 {
7449af73 22676 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
22677 if (SWIG_arg_fail(2)) SWIG_fail;
22678 }
d55e5bfc
RD
22679 }
22680 {
22681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 22682 result = (int)(arg1)->IsDST(arg2);
d55e5bfc
RD
22683
22684 wxPyEndAllowThreads(__tstate);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
093d3ff1 22687 {
7449af73 22688 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22689 }
d55e5bfc
RD
22690 return resultobj;
22691 fail:
22692 return NULL;
22693}
22694
22695
c32bde28 22696static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22697 PyObject *resultobj = NULL;
d55e5bfc
RD
22698 wxDateTime *arg1 = (wxDateTime *) 0 ;
22699 bool result;
22700 PyObject * obj0 = 0 ;
22701 char *kwnames[] = {
22702 (char *) "self", NULL
22703 };
22704
22705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
093d3ff1
RD
22706 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22707 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (bool)((wxDateTime const *)arg1)->IsValid();
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 {
22716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22717 }
22718 return resultobj;
22719 fail:
22720 return NULL;
22721}
22722
22723
c32bde28 22724static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22725 PyObject *resultobj = NULL;
d55e5bfc
RD
22726 wxDateTime *arg1 = (wxDateTime *) 0 ;
22727 time_t result;
22728 PyObject * obj0 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
093d3ff1
RD
22734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
093d3ff1 22743 {
7449af73 22744 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
093d3ff1 22745 }
d55e5bfc
RD
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
c32bde28 22752static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22753 PyObject *resultobj = NULL;
d55e5bfc
RD
22754 wxDateTime *arg1 = (wxDateTime *) 0 ;
22755 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22756 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22757 int result;
ae8162c8 22758 bool temp2 = false ;
d55e5bfc
RD
22759 PyObject * obj0 = 0 ;
22760 PyObject * obj1 = 0 ;
22761 char *kwnames[] = {
22762 (char *) "self",(char *) "tz", NULL
22763 };
22764
22765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22767 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22768 if (obj1) {
22769 {
22770 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22771 temp2 = true;
d55e5bfc
RD
22772 }
22773 }
22774 {
22775 PyThreadState* __tstate = wxPyBeginAllowThreads();
22776 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
22777
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
093d3ff1 22781 {
7449af73 22782 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22783 }
d55e5bfc
RD
22784 {
22785 if (temp2) delete arg2;
22786 }
22787 return resultobj;
22788 fail:
22789 {
22790 if (temp2) delete arg2;
22791 }
22792 return NULL;
22793}
22794
22795
c32bde28 22796static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22797 PyObject *resultobj = NULL;
d55e5bfc
RD
22798 wxDateTime *arg1 = (wxDateTime *) 0 ;
22799 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22800 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 22801 wxDateTime::Month result;
ae8162c8 22802 bool temp2 = false ;
d55e5bfc
RD
22803 PyObject * obj0 = 0 ;
22804 PyObject * obj1 = 0 ;
22805 char *kwnames[] = {
22806 (char *) "self",(char *) "tz", NULL
22807 };
22808
22809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22811 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22812 if (obj1) {
22813 {
22814 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22815 temp2 = true;
d55e5bfc
RD
22816 }
22817 }
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22820 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
22821
22822 wxPyEndAllowThreads(__tstate);
22823 if (PyErr_Occurred()) SWIG_fail;
22824 }
093d3ff1 22825 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22826 {
22827 if (temp2) delete arg2;
22828 }
22829 return resultobj;
22830 fail:
22831 {
22832 if (temp2) delete arg2;
22833 }
22834 return NULL;
22835}
22836
22837
c32bde28 22838static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22839 PyObject *resultobj = NULL;
d55e5bfc
RD
22840 wxDateTime *arg1 = (wxDateTime *) 0 ;
22841 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22842 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22843 int result;
ae8162c8 22844 bool temp2 = false ;
d55e5bfc
RD
22845 PyObject * obj0 = 0 ;
22846 PyObject * obj1 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self",(char *) "tz", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22854 if (obj1) {
22855 {
22856 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22857 temp2 = true;
d55e5bfc
RD
22858 }
22859 }
22860 {
22861 PyThreadState* __tstate = wxPyBeginAllowThreads();
22862 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
22863
22864 wxPyEndAllowThreads(__tstate);
22865 if (PyErr_Occurred()) SWIG_fail;
22866 }
093d3ff1 22867 {
7449af73 22868 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22869 }
d55e5bfc
RD
22870 {
22871 if (temp2) delete arg2;
22872 }
22873 return resultobj;
22874 fail:
22875 {
22876 if (temp2) delete arg2;
22877 }
22878 return NULL;
22879}
22880
22881
c32bde28 22882static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22883 PyObject *resultobj = NULL;
d55e5bfc
RD
22884 wxDateTime *arg1 = (wxDateTime *) 0 ;
22885 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22886 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
093d3ff1 22887 wxDateTime::WeekDay result;
ae8162c8 22888 bool temp2 = false ;
d55e5bfc
RD
22889 PyObject * obj0 = 0 ;
22890 PyObject * obj1 = 0 ;
22891 char *kwnames[] = {
22892 (char *) "self",(char *) "tz", NULL
22893 };
22894
22895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22898 if (obj1) {
22899 {
22900 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22901 temp2 = true;
d55e5bfc
RD
22902 }
22903 }
22904 {
22905 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22906 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
22907
22908 wxPyEndAllowThreads(__tstate);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 }
093d3ff1 22911 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22912 {
22913 if (temp2) delete arg2;
22914 }
22915 return resultobj;
22916 fail:
22917 {
22918 if (temp2) delete arg2;
22919 }
22920 return NULL;
22921}
22922
22923
c32bde28 22924static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22925 PyObject *resultobj = NULL;
d55e5bfc
RD
22926 wxDateTime *arg1 = (wxDateTime *) 0 ;
22927 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22928 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22929 int result;
ae8162c8 22930 bool temp2 = false ;
d55e5bfc
RD
22931 PyObject * obj0 = 0 ;
22932 PyObject * obj1 = 0 ;
22933 char *kwnames[] = {
22934 (char *) "self",(char *) "tz", NULL
22935 };
22936
22937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22938 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22939 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22940 if (obj1) {
22941 {
22942 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22943 temp2 = true;
d55e5bfc
RD
22944 }
22945 }
22946 {
22947 PyThreadState* __tstate = wxPyBeginAllowThreads();
22948 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
22949
22950 wxPyEndAllowThreads(__tstate);
22951 if (PyErr_Occurred()) SWIG_fail;
22952 }
093d3ff1 22953 {
7449af73 22954 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22955 }
d55e5bfc
RD
22956 {
22957 if (temp2) delete arg2;
22958 }
22959 return resultobj;
22960 fail:
22961 {
22962 if (temp2) delete arg2;
22963 }
22964 return NULL;
22965}
22966
22967
c32bde28 22968static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 22969 PyObject *resultobj = NULL;
d55e5bfc
RD
22970 wxDateTime *arg1 = (wxDateTime *) 0 ;
22971 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22972 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22973 int result;
ae8162c8 22974 bool temp2 = false ;
d55e5bfc
RD
22975 PyObject * obj0 = 0 ;
22976 PyObject * obj1 = 0 ;
22977 char *kwnames[] = {
22978 (char *) "self",(char *) "tz", NULL
22979 };
22980
22981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
22982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22984 if (obj1) {
22985 {
22986 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 22987 temp2 = true;
d55e5bfc
RD
22988 }
22989 }
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
093d3ff1 22997 {
7449af73 22998 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 22999 }
d55e5bfc
RD
23000 {
23001 if (temp2) delete arg2;
23002 }
23003 return resultobj;
23004 fail:
23005 {
23006 if (temp2) delete arg2;
23007 }
23008 return NULL;
23009}
23010
23011
c32bde28 23012static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23013 PyObject *resultobj = NULL;
d55e5bfc
RD
23014 wxDateTime *arg1 = (wxDateTime *) 0 ;
23015 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23016 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23017 int result;
ae8162c8 23018 bool temp2 = false ;
d55e5bfc
RD
23019 PyObject * obj0 = 0 ;
23020 PyObject * obj1 = 0 ;
23021 char *kwnames[] = {
23022 (char *) "self",(char *) "tz", NULL
23023 };
23024
23025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23027 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23028 if (obj1) {
23029 {
23030 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 23031 temp2 = true;
d55e5bfc
RD
23032 }
23033 }
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
093d3ff1 23041 {
7449af73 23042 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23043 }
d55e5bfc
RD
23044 {
23045 if (temp2) delete arg2;
23046 }
23047 return resultobj;
23048 fail:
23049 {
23050 if (temp2) delete arg2;
23051 }
23052 return NULL;
23053}
23054
23055
c32bde28 23056static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23057 PyObject *resultobj = NULL;
d55e5bfc
RD
23058 wxDateTime *arg1 = (wxDateTime *) 0 ;
23059 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23060 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23061 int result;
ae8162c8 23062 bool temp2 = false ;
d55e5bfc
RD
23063 PyObject * obj0 = 0 ;
23064 PyObject * obj1 = 0 ;
23065 char *kwnames[] = {
23066 (char *) "self",(char *) "tz", NULL
23067 };
23068
23069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23071 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23072 if (obj1) {
23073 {
23074 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 23075 temp2 = true;
d55e5bfc
RD
23076 }
23077 }
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
093d3ff1 23085 {
7449af73 23086 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23087 }
d55e5bfc
RD
23088 {
23089 if (temp2) delete arg2;
23090 }
23091 return resultobj;
23092 fail:
23093 {
23094 if (temp2) delete arg2;
23095 }
23096 return NULL;
23097}
23098
23099
c32bde28 23100static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23101 PyObject *resultobj = NULL;
d55e5bfc
RD
23102 wxDateTime *arg1 = (wxDateTime *) 0 ;
23103 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23104 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23105 int result;
ae8162c8 23106 bool temp2 = false ;
d55e5bfc
RD
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "tz", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23116 if (obj1) {
23117 {
23118 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
ae8162c8 23119 temp2 = true;
d55e5bfc
RD
23120 }
23121 }
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
093d3ff1 23129 {
7449af73 23130 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23131 }
d55e5bfc
RD
23132 {
23133 if (temp2) delete arg2;
23134 }
23135 return resultobj;
23136 fail:
23137 {
23138 if (temp2) delete arg2;
23139 }
23140 return NULL;
23141}
23142
23143
c32bde28 23144static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23145 PyObject *resultobj = NULL;
d55e5bfc 23146 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 23147 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
23148 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23149 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23150 int result;
ae8162c8 23151 bool temp3 = false ;
d55e5bfc
RD
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 PyObject * obj2 = 0 ;
23155 char *kwnames[] = {
23156 (char *) "self",(char *) "flags",(char *) "tz", NULL
23157 };
23158
23159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23160 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23161 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23162 if (obj1) {
093d3ff1 23163 {
7449af73 23164 arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
093d3ff1
RD
23165 if (SWIG_arg_fail(2)) SWIG_fail;
23166 }
d55e5bfc
RD
23167 }
23168 if (obj2) {
23169 {
23170 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23171 temp3 = true;
d55e5bfc
RD
23172 }
23173 }
23174 {
23175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23176 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3);
d55e5bfc
RD
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
093d3ff1 23181 {
7449af73 23182 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23183 }
d55e5bfc
RD
23184 {
23185 if (temp3) delete arg3;
23186 }
23187 return resultobj;
23188 fail:
23189 {
23190 if (temp3) delete arg3;
23191 }
23192 return NULL;
23193}
23194
23195
c32bde28 23196static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23197 PyObject *resultobj = NULL;
d55e5bfc 23198 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 23199 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
23200 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23201 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23202 int result;
ae8162c8 23203 bool temp3 = false ;
d55e5bfc
RD
23204 PyObject * obj0 = 0 ;
23205 PyObject * obj1 = 0 ;
23206 PyObject * obj2 = 0 ;
23207 char *kwnames[] = {
23208 (char *) "self",(char *) "flags",(char *) "tz", NULL
23209 };
23210
23211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23214 if (obj1) {
093d3ff1 23215 {
7449af73 23216 arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
093d3ff1
RD
23217 if (SWIG_arg_fail(2)) SWIG_fail;
23218 }
d55e5bfc
RD
23219 }
23220 if (obj2) {
23221 {
23222 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 23223 temp3 = true;
d55e5bfc
RD
23224 }
23225 }
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23228 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3);
d55e5bfc
RD
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
093d3ff1 23233 {
7449af73 23234 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 23235 }
d55e5bfc
RD
23236 {
23237 if (temp3) delete arg3;
23238 }
23239 return resultobj;
23240 fail:
23241 {
23242 if (temp3) delete arg3;
23243 }
23244 return NULL;
23245}
23246
23247
c32bde28 23248static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23249 PyObject *resultobj = NULL;
d55e5bfc 23250 wxDateTime *arg1 = (wxDateTime *) 0 ;
093d3ff1 23251 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
23252 bool result;
23253 PyObject * obj0 = 0 ;
23254 PyObject * obj1 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self",(char *) "country", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23260 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23262 if (obj1) {
093d3ff1 23263 {
7449af73 23264 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
093d3ff1
RD
23265 if (SWIG_arg_fail(2)) SWIG_fail;
23266 }
d55e5bfc
RD
23267 }
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 23270 result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2);
d55e5bfc
RD
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 {
23276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23277 }
23278 return resultobj;
23279 fail:
23280 return NULL;
23281}
23282
23283
c32bde28 23284static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23285 PyObject *resultobj = NULL;
d55e5bfc
RD
23286 wxDateTime *arg1 = (wxDateTime *) 0 ;
23287 wxDateTime *arg2 = 0 ;
23288 bool result;
23289 PyObject * obj0 = 0 ;
23290 PyObject * obj1 = 0 ;
23291 char *kwnames[] = {
23292 (char *) "self",(char *) "datetime", NULL
23293 };
23294
23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail;
23298 {
23299 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23300 if (SWIG_arg_fail(2)) SWIG_fail;
23301 if (arg2 == NULL) {
23302 SWIG_null_ref("wxDateTime");
23303 }
23304 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23305 }
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23315 }
23316 return resultobj;
23317 fail:
23318 return NULL;
23319}
23320
23321
c32bde28 23322static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23323 PyObject *resultobj = NULL;
d55e5bfc
RD
23324 wxDateTime *arg1 = (wxDateTime *) 0 ;
23325 wxDateTime *arg2 = 0 ;
23326 bool result;
23327 PyObject * obj0 = 0 ;
23328 PyObject * obj1 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self",(char *) "datetime", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail;
23336 {
23337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23338 if (SWIG_arg_fail(2)) SWIG_fail;
23339 if (arg2 == NULL) {
23340 SWIG_null_ref("wxDateTime");
23341 }
23342 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23343 }
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 {
23352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23353 }
23354 return resultobj;
23355 fail:
23356 return NULL;
23357}
23358
23359
c32bde28 23360static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23361 PyObject *resultobj = NULL;
d55e5bfc
RD
23362 wxDateTime *arg1 = (wxDateTime *) 0 ;
23363 wxDateTime *arg2 = 0 ;
23364 bool result;
23365 PyObject * obj0 = 0 ;
23366 PyObject * obj1 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self",(char *) "datetime", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23373 if (SWIG_arg_fail(1)) SWIG_fail;
23374 {
23375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23376 if (SWIG_arg_fail(2)) SWIG_fail;
23377 if (arg2 == NULL) {
23378 SWIG_null_ref("wxDateTime");
23379 }
23380 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23381 }
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 {
23390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23391 }
23392 return resultobj;
23393 fail:
23394 return NULL;
23395}
23396
23397
c32bde28 23398static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23399 PyObject *resultobj = NULL;
d55e5bfc
RD
23400 wxDateTime *arg1 = (wxDateTime *) 0 ;
23401 wxDateTime *arg2 = 0 ;
23402 wxDateTime *arg3 = 0 ;
23403 bool result;
23404 PyObject * obj0 = 0 ;
23405 PyObject * obj1 = 0 ;
23406 PyObject * obj2 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self",(char *) "t1",(char *) "t2", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23413 if (SWIG_arg_fail(1)) SWIG_fail;
23414 {
23415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23416 if (SWIG_arg_fail(2)) SWIG_fail;
23417 if (arg2 == NULL) {
23418 SWIG_null_ref("wxDateTime");
23419 }
23420 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23421 }
093d3ff1
RD
23422 {
23423 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23424 if (SWIG_arg_fail(3)) SWIG_fail;
23425 if (arg3 == NULL) {
23426 SWIG_null_ref("wxDateTime");
23427 }
23428 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23429 }
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 {
23438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23439 }
23440 return resultobj;
23441 fail:
23442 return NULL;
23443}
23444
23445
c32bde28 23446static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23447 PyObject *resultobj = NULL;
d55e5bfc
RD
23448 wxDateTime *arg1 = (wxDateTime *) 0 ;
23449 wxDateTime *arg2 = 0 ;
23450 wxDateTime *arg3 = 0 ;
23451 bool result;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 PyObject * obj2 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self",(char *) "t1",(char *) "t2", NULL
23457 };
23458
23459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail;
23462 {
23463 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23464 if (SWIG_arg_fail(2)) SWIG_fail;
23465 if (arg2 == NULL) {
23466 SWIG_null_ref("wxDateTime");
23467 }
23468 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23469 }
093d3ff1
RD
23470 {
23471 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23472 if (SWIG_arg_fail(3)) SWIG_fail;
23473 if (arg3 == NULL) {
23474 SWIG_null_ref("wxDateTime");
23475 }
23476 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23477 }
23478 {
23479 PyThreadState* __tstate = wxPyBeginAllowThreads();
23480 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
23481
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 {
23486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23487 }
23488 return resultobj;
23489 fail:
23490 return NULL;
23491}
23492
23493
c32bde28 23494static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23495 PyObject *resultobj = NULL;
d55e5bfc
RD
23496 wxDateTime *arg1 = (wxDateTime *) 0 ;
23497 wxDateTime *arg2 = 0 ;
23498 bool result;
23499 PyObject * obj0 = 0 ;
23500 PyObject * obj1 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self",(char *) "dt", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23507 if (SWIG_arg_fail(1)) SWIG_fail;
23508 {
23509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23510 if (SWIG_arg_fail(2)) SWIG_fail;
23511 if (arg2 == NULL) {
23512 SWIG_null_ref("wxDateTime");
23513 }
23514 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23515 }
23516 {
23517 PyThreadState* __tstate = wxPyBeginAllowThreads();
23518 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
23519
23520 wxPyEndAllowThreads(__tstate);
23521 if (PyErr_Occurred()) SWIG_fail;
23522 }
23523 {
23524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23525 }
23526 return resultobj;
23527 fail:
23528 return NULL;
23529}
23530
23531
c32bde28 23532static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23533 PyObject *resultobj = NULL;
d55e5bfc
RD
23534 wxDateTime *arg1 = (wxDateTime *) 0 ;
23535 wxDateTime *arg2 = 0 ;
23536 bool result;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 char *kwnames[] = {
23540 (char *) "self",(char *) "dt", NULL
23541 };
23542
23543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23545 if (SWIG_arg_fail(1)) SWIG_fail;
23546 {
23547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23548 if (SWIG_arg_fail(2)) SWIG_fail;
23549 if (arg2 == NULL) {
23550 SWIG_null_ref("wxDateTime");
23551 }
23552 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23553 }
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 {
23562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23563 }
23564 return resultobj;
23565 fail:
23566 return NULL;
23567}
23568
23569
c32bde28 23570static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23571 PyObject *resultobj = NULL;
d55e5bfc
RD
23572 wxDateTime *arg1 = (wxDateTime *) 0 ;
23573 wxDateTime *arg2 = 0 ;
23574 wxTimeSpan *arg3 = 0 ;
23575 bool result;
23576 PyObject * obj0 = 0 ;
23577 PyObject * obj1 = 0 ;
23578 PyObject * obj2 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self",(char *) "dt",(char *) "ts", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
23584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail;
23586 {
23587 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23588 if (SWIG_arg_fail(2)) SWIG_fail;
23589 if (arg2 == NULL) {
23590 SWIG_null_ref("wxDateTime");
23591 }
23592 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23593 }
093d3ff1
RD
23594 {
23595 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23596 if (SWIG_arg_fail(3)) SWIG_fail;
23597 if (arg3 == NULL) {
23598 SWIG_null_ref("wxTimeSpan");
23599 }
23600 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23601 }
23602 {
23603 PyThreadState* __tstate = wxPyBeginAllowThreads();
23604 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
23605
23606 wxPyEndAllowThreads(__tstate);
23607 if (PyErr_Occurred()) SWIG_fail;
23608 }
23609 {
23610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23611 }
23612 return resultobj;
23613 fail:
23614 return NULL;
23615}
23616
23617
c32bde28 23618static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23619 PyObject *resultobj = NULL;
d55e5bfc
RD
23620 wxDateTime *arg1 = (wxDateTime *) 0 ;
23621 wxTimeSpan *arg2 = 0 ;
23622 wxDateTime *result;
23623 PyObject * obj0 = 0 ;
23624 PyObject * obj1 = 0 ;
23625 char *kwnames[] = {
23626 (char *) "self",(char *) "diff", NULL
23627 };
23628
23629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail;
23632 {
23633 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23634 if (SWIG_arg_fail(2)) SWIG_fail;
23635 if (arg2 == NULL) {
23636 SWIG_null_ref("wxTimeSpan");
23637 }
23638 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23639 }
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 {
23643 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
23644 result = (wxDateTime *) &_result_ref;
23645 }
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
c32bde28 23657static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23658 PyObject *resultobj = NULL;
d55e5bfc
RD
23659 wxDateTime *arg1 = (wxDateTime *) 0 ;
23660 wxDateSpan *arg2 = 0 ;
23661 wxDateTime *result;
23662 PyObject * obj0 = 0 ;
23663 PyObject * obj1 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self",(char *) "diff", NULL
23666 };
23667
23668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail;
23671 {
23672 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23673 if (SWIG_arg_fail(2)) SWIG_fail;
23674 if (arg2 == NULL) {
23675 SWIG_null_ref("wxDateSpan");
23676 }
23677 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23678 }
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 {
23682 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23683 result = (wxDateTime *) &_result_ref;
23684 }
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23690 return resultobj;
23691 fail:
23692 return NULL;
23693}
23694
23695
c32bde28 23696static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23697 PyObject *resultobj = NULL;
d55e5bfc
RD
23698 wxDateTime *arg1 = (wxDateTime *) 0 ;
23699 wxTimeSpan *arg2 = 0 ;
23700 wxDateTime *result;
23701 PyObject * obj0 = 0 ;
23702 PyObject * obj1 = 0 ;
23703 char *kwnames[] = {
23704 (char *) "self",(char *) "diff", NULL
23705 };
23706
23707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail;
23710 {
23711 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23712 if (SWIG_arg_fail(2)) SWIG_fail;
23713 if (arg2 == NULL) {
23714 SWIG_null_ref("wxTimeSpan");
23715 }
23716 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23717 }
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 {
23721 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
23722 result = (wxDateTime *) &_result_ref;
23723 }
23724
23725 wxPyEndAllowThreads(__tstate);
23726 if (PyErr_Occurred()) SWIG_fail;
23727 }
23728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23729 return resultobj;
23730 fail:
23731 return NULL;
23732}
23733
23734
c32bde28 23735static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23736 PyObject *resultobj = NULL;
d55e5bfc
RD
23737 wxDateTime *arg1 = (wxDateTime *) 0 ;
23738 wxDateSpan *arg2 = 0 ;
23739 wxDateTime *result;
23740 PyObject * obj0 = 0 ;
23741 PyObject * obj1 = 0 ;
23742 char *kwnames[] = {
23743 (char *) "self",(char *) "diff", NULL
23744 };
23745
23746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23748 if (SWIG_arg_fail(1)) SWIG_fail;
23749 {
23750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23751 if (SWIG_arg_fail(2)) SWIG_fail;
23752 if (arg2 == NULL) {
23753 SWIG_null_ref("wxDateSpan");
23754 }
23755 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23756 }
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 {
23760 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23761 result = (wxDateTime *) &_result_ref;
23762 }
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23768 return resultobj;
23769 fail:
23770 return NULL;
23771}
23772
23773
c32bde28 23774static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 23775 PyObject *resultobj = NULL;
d55e5bfc
RD
23776 wxDateTime *arg1 = (wxDateTime *) 0 ;
23777 wxDateTime *arg2 = 0 ;
23778 wxTimeSpan result;
23779 PyObject * obj0 = 0 ;
23780 PyObject * obj1 = 0 ;
23781 char *kwnames[] = {
23782 (char *) "self",(char *) "dt", NULL
23783 };
23784
23785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
23786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail;
23788 {
23789 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23790 if (SWIG_arg_fail(2)) SWIG_fail;
23791 if (arg2 == NULL) {
23792 SWIG_null_ref("wxDateTime");
23793 }
23794 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23795 }
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
23799
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 {
23804 wxTimeSpan * resultptr;
7449af73 23805 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
23806 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23807 }
23808 return resultobj;
23809 fail:
23810 return NULL;
23811}
23812
23813
c32bde28 23814static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
7449af73 23815 PyObject *resultobj = NULL;
d55e5bfc
RD
23816 wxDateTime *arg1 = (wxDateTime *) 0 ;
23817 wxTimeSpan *arg2 = 0 ;
23818 wxDateTime *result;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821
23822 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23824 if (SWIG_arg_fail(1)) SWIG_fail;
23825 {
23826 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23827 if (SWIG_arg_fail(2)) SWIG_fail;
23828 if (arg2 == NULL) {
23829 SWIG_null_ref("wxTimeSpan");
23830 }
23831 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23832 }
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 {
23836 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
23837 result = (wxDateTime *) &_result_ref;
23838 }
23839
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
c32bde28 23843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23844 return resultobj;
23845 fail:
23846 return NULL;
23847}
23848
23849
c32bde28 23850static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
7449af73 23851 PyObject *resultobj = NULL;
d55e5bfc
RD
23852 wxDateTime *arg1 = (wxDateTime *) 0 ;
23853 wxDateSpan *arg2 = 0 ;
23854 wxDateTime *result;
23855 PyObject * obj0 = 0 ;
23856 PyObject * obj1 = 0 ;
23857
23858 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23859 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23860 if (SWIG_arg_fail(1)) SWIG_fail;
23861 {
23862 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23863 if (SWIG_arg_fail(2)) SWIG_fail;
23864 if (arg2 == NULL) {
23865 SWIG_null_ref("wxDateSpan");
23866 }
23867 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23868 }
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 {
23872 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23873 result = (wxDateTime *) &_result_ref;
23874 }
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
c32bde28 23879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23880 return resultobj;
23881 fail:
23882 return NULL;
23883}
23884
23885
23886static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
23887 int argc;
23888 PyObject *argv[3];
23889 int ii;
23890
23891 argc = PyObject_Length(args);
23892 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23893 argv[ii] = PyTuple_GetItem(args,ii);
23894 }
23895 if (argc == 2) {
23896 int _v;
23897 {
23898 void *ptr;
23899 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23900 _v = 0;
23901 PyErr_Clear();
23902 } else {
23903 _v = 1;
23904 }
23905 }
23906 if (_v) {
23907 {
093d3ff1 23908 void *ptr = 0;
d55e5bfc
RD
23909 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23910 _v = 0;
23911 PyErr_Clear();
23912 } else {
093d3ff1 23913 _v = (ptr != 0);
d55e5bfc
RD
23914 }
23915 }
23916 if (_v) {
23917 return _wrap_DateTime___iadd____SWIG_0(self,args);
23918 }
23919 }
23920 }
23921 if (argc == 2) {
23922 int _v;
23923 {
23924 void *ptr;
23925 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23926 _v = 0;
23927 PyErr_Clear();
23928 } else {
23929 _v = 1;
23930 }
23931 }
23932 if (_v) {
23933 {
093d3ff1 23934 void *ptr = 0;
d55e5bfc
RD
23935 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23936 _v = 0;
23937 PyErr_Clear();
23938 } else {
093d3ff1 23939 _v = (ptr != 0);
d55e5bfc
RD
23940 }
23941 }
23942 if (_v) {
23943 return _wrap_DateTime___iadd____SWIG_1(self,args);
23944 }
23945 }
23946 }
23947
093d3ff1 23948 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d55e5bfc
RD
23949 return NULL;
23950}
23951
23952
c32bde28 23953static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
7449af73 23954 PyObject *resultobj = NULL;
d55e5bfc
RD
23955 wxDateTime *arg1 = (wxDateTime *) 0 ;
23956 wxTimeSpan *arg2 = 0 ;
23957 wxDateTime *result;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj1 = 0 ;
23960
23961 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23963 if (SWIG_arg_fail(1)) SWIG_fail;
23964 {
23965 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23966 if (SWIG_arg_fail(2)) SWIG_fail;
23967 if (arg2 == NULL) {
23968 SWIG_null_ref("wxTimeSpan");
23969 }
23970 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23971 }
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 {
23975 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
23976 result = (wxDateTime *) &_result_ref;
23977 }
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
c32bde28 23982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23983 return resultobj;
23984 fail:
23985 return NULL;
23986}
23987
23988
c32bde28 23989static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
7449af73 23990 PyObject *resultobj = NULL;
d55e5bfc
RD
23991 wxDateTime *arg1 = (wxDateTime *) 0 ;
23992 wxDateSpan *arg2 = 0 ;
23993 wxDateTime *result;
23994 PyObject * obj0 = 0 ;
23995 PyObject * obj1 = 0 ;
23996
23997 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
23998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23999 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 24000 {
093d3ff1
RD
24001 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24002 if (SWIG_arg_fail(2)) SWIG_fail;
24003 if (arg2 == NULL) {
24004 SWIG_null_ref("wxDateSpan");
24005 }
24006 if (SWIG_arg_fail(2)) SWIG_fail;
24007 }
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
24010 {
24011 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
24012 result = (wxDateTime *) &_result_ref;
24013 }
24014
24015 wxPyEndAllowThreads(__tstate);
24016 if (PyErr_Occurred()) SWIG_fail;
24017 }
c32bde28 24018 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
24019 return resultobj;
24020 fail:
24021 return NULL;
24022}
24023
24024
24025static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
24026 int argc;
24027 PyObject *argv[3];
24028 int ii;
24029
24030 argc = PyObject_Length(args);
24031 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24032 argv[ii] = PyTuple_GetItem(args,ii);
24033 }
24034 if (argc == 2) {
24035 int _v;
24036 {
24037 void *ptr;
24038 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24039 _v = 0;
24040 PyErr_Clear();
24041 } else {
24042 _v = 1;
24043 }
24044 }
24045 if (_v) {
24046 {
093d3ff1 24047 void *ptr = 0;
d55e5bfc
RD
24048 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24049 _v = 0;
24050 PyErr_Clear();
24051 } else {
093d3ff1 24052 _v = (ptr != 0);
d55e5bfc
RD
24053 }
24054 }
24055 if (_v) {
24056 return _wrap_DateTime___isub____SWIG_0(self,args);
24057 }
24058 }
24059 }
24060 if (argc == 2) {
24061 int _v;
24062 {
24063 void *ptr;
24064 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24065 _v = 0;
24066 PyErr_Clear();
24067 } else {
24068 _v = 1;
24069 }
24070 }
24071 if (_v) {
24072 {
093d3ff1 24073 void *ptr = 0;
d55e5bfc
RD
24074 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24075 _v = 0;
24076 PyErr_Clear();
24077 } else {
093d3ff1 24078 _v = (ptr != 0);
d55e5bfc
RD
24079 }
24080 }
24081 if (_v) {
24082 return _wrap_DateTime___isub____SWIG_1(self,args);
24083 }
24084 }
24085 }
24086
093d3ff1 24087 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d55e5bfc
RD
24088 return NULL;
24089}
24090
24091
c32bde28 24092static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
7449af73 24093 PyObject *resultobj = NULL;
d55e5bfc
RD
24094 wxDateTime *arg1 = (wxDateTime *) 0 ;
24095 wxTimeSpan *arg2 = 0 ;
24096 wxDateTime result;
24097 PyObject * obj0 = 0 ;
24098 PyObject * obj1 = 0 ;
24099
24100 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail;
24103 {
24104 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24105 if (SWIG_arg_fail(2)) SWIG_fail;
24106 if (arg2 == NULL) {
24107 SWIG_null_ref("wxTimeSpan");
24108 }
24109 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24110 }
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 {
24119 wxDateTime * resultptr;
7449af73 24120 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24122 }
24123 return resultobj;
24124 fail:
24125 return NULL;
24126}
24127
24128
c32bde28 24129static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
7449af73 24130 PyObject *resultobj = NULL;
d55e5bfc
RD
24131 wxDateTime *arg1 = (wxDateTime *) 0 ;
24132 wxDateSpan *arg2 = 0 ;
24133 wxDateTime result;
24134 PyObject * obj0 = 0 ;
24135 PyObject * obj1 = 0 ;
24136
24137 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24139 if (SWIG_arg_fail(1)) SWIG_fail;
24140 {
24141 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24142 if (SWIG_arg_fail(2)) SWIG_fail;
24143 if (arg2 == NULL) {
24144 SWIG_null_ref("wxDateSpan");
24145 }
24146 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24147 }
24148 {
24149 PyThreadState* __tstate = wxPyBeginAllowThreads();
24150 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
24151
24152 wxPyEndAllowThreads(__tstate);
24153 if (PyErr_Occurred()) SWIG_fail;
24154 }
24155 {
24156 wxDateTime * resultptr;
7449af73 24157 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24159 }
24160 return resultobj;
24161 fail:
24162 return NULL;
24163}
24164
24165
24166static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
24167 int argc;
24168 PyObject *argv[3];
24169 int ii;
24170
24171 argc = PyObject_Length(args);
24172 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24173 argv[ii] = PyTuple_GetItem(args,ii);
24174 }
24175 if (argc == 2) {
24176 int _v;
24177 {
24178 void *ptr;
24179 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24180 _v = 0;
24181 PyErr_Clear();
24182 } else {
24183 _v = 1;
24184 }
24185 }
24186 if (_v) {
24187 {
093d3ff1 24188 void *ptr = 0;
d55e5bfc
RD
24189 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24190 _v = 0;
24191 PyErr_Clear();
24192 } else {
093d3ff1 24193 _v = (ptr != 0);
d55e5bfc
RD
24194 }
24195 }
24196 if (_v) {
24197 return _wrap_DateTime___add____SWIG_0(self,args);
24198 }
24199 }
24200 }
24201 if (argc == 2) {
24202 int _v;
24203 {
24204 void *ptr;
24205 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24206 _v = 0;
24207 PyErr_Clear();
24208 } else {
24209 _v = 1;
24210 }
24211 }
24212 if (_v) {
24213 {
093d3ff1 24214 void *ptr = 0;
d55e5bfc
RD
24215 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24216 _v = 0;
24217 PyErr_Clear();
24218 } else {
093d3ff1 24219 _v = (ptr != 0);
d55e5bfc
RD
24220 }
24221 }
24222 if (_v) {
24223 return _wrap_DateTime___add____SWIG_1(self,args);
24224 }
24225 }
24226 }
24227
093d3ff1
RD
24228 Py_INCREF(Py_NotImplemented);
24229 return Py_NotImplemented;
d55e5bfc
RD
24230}
24231
24232
c32bde28 24233static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
7449af73 24234 PyObject *resultobj = NULL;
d55e5bfc
RD
24235 wxDateTime *arg1 = (wxDateTime *) 0 ;
24236 wxDateTime *arg2 = 0 ;
24237 wxTimeSpan result;
24238 PyObject * obj0 = 0 ;
24239 PyObject * obj1 = 0 ;
24240
24241 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24243 if (SWIG_arg_fail(1)) SWIG_fail;
24244 {
24245 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24246 if (SWIG_arg_fail(2)) SWIG_fail;
24247 if (arg2 == NULL) {
24248 SWIG_null_ref("wxDateTime");
24249 }
24250 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24251 }
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 wxTimeSpan * resultptr;
7449af73 24261 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
24262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24263 }
24264 return resultobj;
24265 fail:
24266 return NULL;
24267}
24268
24269
c32bde28 24270static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
7449af73 24271 PyObject *resultobj = NULL;
d55e5bfc
RD
24272 wxDateTime *arg1 = (wxDateTime *) 0 ;
24273 wxTimeSpan *arg2 = 0 ;
24274 wxDateTime result;
24275 PyObject * obj0 = 0 ;
24276 PyObject * obj1 = 0 ;
24277
24278 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24280 if (SWIG_arg_fail(1)) SWIG_fail;
24281 {
24282 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24283 if (SWIG_arg_fail(2)) SWIG_fail;
24284 if (arg2 == NULL) {
24285 SWIG_null_ref("wxTimeSpan");
24286 }
24287 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24288 }
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 {
24297 wxDateTime * resultptr;
7449af73 24298 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24299 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24300 }
24301 return resultobj;
24302 fail:
24303 return NULL;
24304}
24305
24306
c32bde28 24307static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
7449af73 24308 PyObject *resultobj = NULL;
d55e5bfc
RD
24309 wxDateTime *arg1 = (wxDateTime *) 0 ;
24310 wxDateSpan *arg2 = 0 ;
24311 wxDateTime result;
24312 PyObject * obj0 = 0 ;
24313 PyObject * obj1 = 0 ;
24314
24315 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
093d3ff1
RD
24316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24317 if (SWIG_arg_fail(1)) SWIG_fail;
24318 {
24319 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24320 if (SWIG_arg_fail(2)) SWIG_fail;
24321 if (arg2 == NULL) {
24322 SWIG_null_ref("wxDateSpan");
24323 }
24324 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24325 }
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 {
24334 wxDateTime * resultptr;
7449af73 24335 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24336 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24337 }
24338 return resultobj;
24339 fail:
24340 return NULL;
24341}
24342
24343
24344static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
24345 int argc;
24346 PyObject *argv[3];
24347 int ii;
24348
24349 argc = PyObject_Length(args);
24350 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24351 argv[ii] = PyTuple_GetItem(args,ii);
24352 }
24353 if (argc == 2) {
24354 int _v;
24355 {
24356 void *ptr;
24357 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24358 _v = 0;
24359 PyErr_Clear();
24360 } else {
24361 _v = 1;
24362 }
24363 }
24364 if (_v) {
24365 {
093d3ff1 24366 void *ptr = 0;
d55e5bfc
RD
24367 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24368 _v = 0;
24369 PyErr_Clear();
24370 } else {
093d3ff1 24371 _v = (ptr != 0);
d55e5bfc
RD
24372 }
24373 }
24374 if (_v) {
24375 return _wrap_DateTime___sub____SWIG_0(self,args);
24376 }
24377 }
24378 }
24379 if (argc == 2) {
24380 int _v;
24381 {
24382 void *ptr;
24383 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24384 _v = 0;
24385 PyErr_Clear();
24386 } else {
24387 _v = 1;
24388 }
24389 }
24390 if (_v) {
24391 {
093d3ff1 24392 void *ptr = 0;
d55e5bfc
RD
24393 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24394 _v = 0;
24395 PyErr_Clear();
24396 } else {
093d3ff1 24397 _v = (ptr != 0);
d55e5bfc
RD
24398 }
24399 }
24400 if (_v) {
24401 return _wrap_DateTime___sub____SWIG_1(self,args);
24402 }
24403 }
24404 }
24405 if (argc == 2) {
24406 int _v;
24407 {
24408 void *ptr;
24409 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24410 _v = 0;
24411 PyErr_Clear();
24412 } else {
24413 _v = 1;
24414 }
24415 }
24416 if (_v) {
24417 {
093d3ff1 24418 void *ptr = 0;
d55e5bfc
RD
24419 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24420 _v = 0;
24421 PyErr_Clear();
24422 } else {
093d3ff1 24423 _v = (ptr != 0);
d55e5bfc
RD
24424 }
24425 }
24426 if (_v) {
24427 return _wrap_DateTime___sub____SWIG_2(self,args);
24428 }
24429 }
24430 }
24431
093d3ff1
RD
24432 Py_INCREF(Py_NotImplemented);
24433 return Py_NotImplemented;
d55e5bfc
RD
24434}
24435
24436
fef4c27a 24437static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24438 PyObject *resultobj = NULL;
d55e5bfc
RD
24439 wxDateTime *arg1 = (wxDateTime *) 0 ;
24440 wxDateTime *arg2 = (wxDateTime *) 0 ;
24441 bool result;
24442 PyObject * obj0 = 0 ;
24443 PyObject * obj1 = 0 ;
fef4c27a
RD
24444 char *kwnames[] = {
24445 (char *) "self",(char *) "other", NULL
24446 };
d55e5bfc 24447
fef4c27a 24448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24450 if (SWIG_arg_fail(1)) SWIG_fail;
24451 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24452 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 {
24461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24462 }
24463 return resultobj;
24464 fail:
24465 return NULL;
24466}
24467
24468
fef4c27a 24469static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24470 PyObject *resultobj = NULL;
d55e5bfc
RD
24471 wxDateTime *arg1 = (wxDateTime *) 0 ;
24472 wxDateTime *arg2 = (wxDateTime *) 0 ;
24473 bool result;
24474 PyObject * obj0 = 0 ;
24475 PyObject * obj1 = 0 ;
fef4c27a
RD
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "other", NULL
24478 };
d55e5bfc 24479
fef4c27a 24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24482 if (SWIG_arg_fail(1)) SWIG_fail;
24483 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24484 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 {
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 }
24495 return resultobj;
24496 fail:
24497 return NULL;
24498}
24499
24500
fef4c27a 24501static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24502 PyObject *resultobj = NULL;
d55e5bfc
RD
24503 wxDateTime *arg1 = (wxDateTime *) 0 ;
24504 wxDateTime *arg2 = (wxDateTime *) 0 ;
24505 bool result;
24506 PyObject * obj0 = 0 ;
24507 PyObject * obj1 = 0 ;
fef4c27a
RD
24508 char *kwnames[] = {
24509 (char *) "self",(char *) "other", NULL
24510 };
d55e5bfc 24511
fef4c27a 24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24514 if (SWIG_arg_fail(1)) SWIG_fail;
24515 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24516 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
24520
24521 wxPyEndAllowThreads(__tstate);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 }
24524 {
24525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24526 }
24527 return resultobj;
24528 fail:
24529 return NULL;
24530}
24531
24532
fef4c27a 24533static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24534 PyObject *resultobj = NULL;
d55e5bfc
RD
24535 wxDateTime *arg1 = (wxDateTime *) 0 ;
24536 wxDateTime *arg2 = (wxDateTime *) 0 ;
24537 bool result;
24538 PyObject * obj0 = 0 ;
24539 PyObject * obj1 = 0 ;
fef4c27a
RD
24540 char *kwnames[] = {
24541 (char *) "self",(char *) "other", NULL
24542 };
d55e5bfc 24543
fef4c27a 24544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24546 if (SWIG_arg_fail(1)) SWIG_fail;
24547 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24548 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
24552
24553 wxPyEndAllowThreads(__tstate);
24554 if (PyErr_Occurred()) SWIG_fail;
24555 }
24556 {
24557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24558 }
24559 return resultobj;
24560 fail:
24561 return NULL;
24562}
24563
24564
fef4c27a 24565static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24566 PyObject *resultobj = NULL;
d55e5bfc
RD
24567 wxDateTime *arg1 = (wxDateTime *) 0 ;
24568 wxDateTime *arg2 = (wxDateTime *) 0 ;
24569 bool result;
24570 PyObject * obj0 = 0 ;
24571 PyObject * obj1 = 0 ;
fef4c27a
RD
24572 char *kwnames[] = {
24573 (char *) "self",(char *) "other", NULL
24574 };
d55e5bfc 24575
fef4c27a 24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24578 if (SWIG_arg_fail(1)) SWIG_fail;
24579 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24580 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 {
24589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24590 }
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
fef4c27a 24597static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24598 PyObject *resultobj = NULL;
d55e5bfc
RD
24599 wxDateTime *arg1 = (wxDateTime *) 0 ;
24600 wxDateTime *arg2 = (wxDateTime *) 0 ;
24601 bool result;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
fef4c27a
RD
24604 char *kwnames[] = {
24605 (char *) "self",(char *) "other", NULL
24606 };
d55e5bfc 24607
fef4c27a 24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail;
24611 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24612 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
24616
24617 wxPyEndAllowThreads(__tstate);
24618 if (PyErr_Occurred()) SWIG_fail;
24619 }
24620 {
24621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24622 }
24623 return resultobj;
24624 fail:
24625 return NULL;
24626}
24627
24628
c32bde28 24629static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24630 PyObject *resultobj = NULL;
d55e5bfc
RD
24631 wxDateTime *arg1 = (wxDateTime *) 0 ;
24632 wxString *arg2 = 0 ;
24633 int result;
ae8162c8 24634 bool temp2 = false ;
d55e5bfc
RD
24635 PyObject * obj0 = 0 ;
24636 PyObject * obj1 = 0 ;
24637 char *kwnames[] = {
24638 (char *) "self",(char *) "date", NULL
24639 };
24640
24641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24643 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24644 {
24645 arg2 = wxString_in_helper(obj1);
24646 if (arg2 == NULL) SWIG_fail;
ae8162c8 24647 temp2 = true;
d55e5bfc
RD
24648 }
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
24652
24653 wxPyEndAllowThreads(__tstate);
24654 if (PyErr_Occurred()) SWIG_fail;
24655 }
093d3ff1 24656 {
7449af73 24657 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24658 }
d55e5bfc
RD
24659 {
24660 if (temp2)
24661 delete arg2;
24662 }
24663 return resultobj;
24664 fail:
24665 {
24666 if (temp2)
24667 delete arg2;
24668 }
24669 return NULL;
24670}
24671
24672
c32bde28 24673static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24674 PyObject *resultobj = NULL;
d55e5bfc
RD
24675 wxDateTime *arg1 = (wxDateTime *) 0 ;
24676 wxString *arg2 = 0 ;
fef4c27a 24677 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
24678 wxString *arg3 = (wxString *) &arg3_defvalue ;
24679 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
24680 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
24681 int result;
ae8162c8
RD
24682 bool temp2 = false ;
24683 bool temp3 = false ;
d55e5bfc
RD
24684 PyObject * obj0 = 0 ;
24685 PyObject * obj1 = 0 ;
24686 PyObject * obj2 = 0 ;
24687 PyObject * obj3 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
24693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24694 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24695 {
24696 arg2 = wxString_in_helper(obj1);
24697 if (arg2 == NULL) SWIG_fail;
ae8162c8 24698 temp2 = true;
d55e5bfc
RD
24699 }
24700 if (obj2) {
24701 {
24702 arg3 = wxString_in_helper(obj2);
24703 if (arg3 == NULL) SWIG_fail;
ae8162c8 24704 temp3 = true;
d55e5bfc
RD
24705 }
24706 }
24707 if (obj3) {
093d3ff1
RD
24708 {
24709 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24710 if (SWIG_arg_fail(4)) SWIG_fail;
24711 if (arg4 == NULL) {
24712 SWIG_null_ref("wxDateTime");
24713 }
24714 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
24715 }
24716 }
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
093d3ff1 24724 {
7449af73 24725 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24726 }
d55e5bfc
RD
24727 {
24728 if (temp2)
24729 delete arg2;
24730 }
24731 {
24732 if (temp3)
24733 delete arg3;
24734 }
24735 return resultobj;
24736 fail:
24737 {
24738 if (temp2)
24739 delete arg2;
24740 }
24741 {
24742 if (temp3)
24743 delete arg3;
24744 }
24745 return NULL;
24746}
24747
24748
c32bde28 24749static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24750 PyObject *resultobj = NULL;
d55e5bfc
RD
24751 wxDateTime *arg1 = (wxDateTime *) 0 ;
24752 wxString *arg2 = 0 ;
24753 int result;
ae8162c8 24754 bool temp2 = false ;
d55e5bfc
RD
24755 PyObject * obj0 = 0 ;
24756 PyObject * obj1 = 0 ;
24757 char *kwnames[] = {
24758 (char *) "self",(char *) "datetime", NULL
24759 };
24760
24761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24763 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24764 {
24765 arg2 = wxString_in_helper(obj1);
24766 if (arg2 == NULL) SWIG_fail;
ae8162c8 24767 temp2 = true;
d55e5bfc
RD
24768 }
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
093d3ff1 24776 {
7449af73 24777 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24778 }
d55e5bfc
RD
24779 {
24780 if (temp2)
24781 delete arg2;
24782 }
24783 return resultobj;
24784 fail:
24785 {
24786 if (temp2)
24787 delete arg2;
24788 }
24789 return NULL;
24790}
24791
24792
c32bde28 24793static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24794 PyObject *resultobj = NULL;
d55e5bfc
RD
24795 wxDateTime *arg1 = (wxDateTime *) 0 ;
24796 wxString *arg2 = 0 ;
24797 int result;
ae8162c8 24798 bool temp2 = false ;
d55e5bfc
RD
24799 PyObject * obj0 = 0 ;
24800 PyObject * obj1 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self",(char *) "date", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24808 {
24809 arg2 = wxString_in_helper(obj1);
24810 if (arg2 == NULL) SWIG_fail;
ae8162c8 24811 temp2 = true;
d55e5bfc
RD
24812 }
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
093d3ff1 24820 {
7449af73 24821 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24822 }
d55e5bfc
RD
24823 {
24824 if (temp2)
24825 delete arg2;
24826 }
24827 return resultobj;
24828 fail:
24829 {
24830 if (temp2)
24831 delete arg2;
24832 }
24833 return NULL;
24834}
24835
24836
c32bde28 24837static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24838 PyObject *resultobj = NULL;
d55e5bfc
RD
24839 wxDateTime *arg1 = (wxDateTime *) 0 ;
24840 wxString *arg2 = 0 ;
24841 int result;
ae8162c8 24842 bool temp2 = false ;
d55e5bfc
RD
24843 PyObject * obj0 = 0 ;
24844 PyObject * obj1 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "time", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
24850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24852 {
24853 arg2 = wxString_in_helper(obj1);
24854 if (arg2 == NULL) SWIG_fail;
ae8162c8 24855 temp2 = true;
d55e5bfc
RD
24856 }
24857 {
24858 PyThreadState* __tstate = wxPyBeginAllowThreads();
24859 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
24860
24861 wxPyEndAllowThreads(__tstate);
24862 if (PyErr_Occurred()) SWIG_fail;
24863 }
093d3ff1 24864 {
7449af73 24865 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 24866 }
d55e5bfc
RD
24867 {
24868 if (temp2)
24869 delete arg2;
24870 }
24871 return resultobj;
24872 fail:
24873 {
24874 if (temp2)
24875 delete arg2;
24876 }
24877 return NULL;
24878}
24879
24880
c32bde28 24881static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24882 PyObject *resultobj = NULL;
d55e5bfc 24883 wxDateTime *arg1 = (wxDateTime *) 0 ;
fef4c27a 24884 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
24885 wxString *arg2 = (wxString *) &arg2_defvalue ;
24886 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
24887 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
24888 wxString result;
ae8162c8
RD
24889 bool temp2 = false ;
24890 bool temp3 = false ;
d55e5bfc
RD
24891 PyObject * obj0 = 0 ;
24892 PyObject * obj1 = 0 ;
24893 PyObject * obj2 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self",(char *) "format",(char *) "tz", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
24899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24901 if (obj1) {
24902 {
24903 arg2 = wxString_in_helper(obj1);
24904 if (arg2 == NULL) SWIG_fail;
ae8162c8 24905 temp2 = true;
d55e5bfc
RD
24906 }
24907 }
24908 if (obj2) {
24909 {
24910 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
ae8162c8 24911 temp3 = true;
d55e5bfc
RD
24912 }
24913 }
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 {
24922#if wxUSE_UNICODE
24923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24924#else
24925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24926#endif
24927 }
24928 {
24929 if (temp2)
24930 delete arg2;
24931 }
24932 {
24933 if (temp3) delete arg3;
24934 }
24935 return resultobj;
24936 fail:
24937 {
24938 if (temp2)
24939 delete arg2;
24940 }
24941 {
24942 if (temp3) delete arg3;
24943 }
24944 return NULL;
24945}
24946
24947
c32bde28 24948static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24949 PyObject *resultobj = NULL;
d55e5bfc
RD
24950 wxDateTime *arg1 = (wxDateTime *) 0 ;
24951 wxString result;
24952 PyObject * obj0 = 0 ;
24953 char *kwnames[] = {
24954 (char *) "self", NULL
24955 };
24956
24957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
093d3ff1
RD
24958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 result = ((wxDateTime const *)arg1)->FormatDate();
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 {
24968#if wxUSE_UNICODE
24969 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24970#else
24971 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24972#endif
24973 }
24974 return resultobj;
24975 fail:
24976 return NULL;
24977}
24978
24979
c32bde28 24980static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 24981 PyObject *resultobj = NULL;
d55e5bfc
RD
24982 wxDateTime *arg1 = (wxDateTime *) 0 ;
24983 wxString result;
24984 PyObject * obj0 = 0 ;
24985 char *kwnames[] = {
24986 (char *) "self", NULL
24987 };
24988
24989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
24990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 result = ((wxDateTime const *)arg1)->FormatTime();
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 {
25000#if wxUSE_UNICODE
25001 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25002#else
25003 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25004#endif
25005 }
25006 return resultobj;
25007 fail:
25008 return NULL;
25009}
25010
25011
c32bde28 25012static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25013 PyObject *resultobj = NULL;
d55e5bfc
RD
25014 wxDateTime *arg1 = (wxDateTime *) 0 ;
25015 wxString result;
25016 PyObject * obj0 = 0 ;
25017 char *kwnames[] = {
25018 (char *) "self", NULL
25019 };
25020
25021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
093d3ff1
RD
25022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
25023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = ((wxDateTime const *)arg1)->FormatISODate();
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 {
25032#if wxUSE_UNICODE
25033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25034#else
25035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25036#endif
25037 }
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
c32bde28 25044static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25045 PyObject *resultobj = NULL;
d55e5bfc
RD
25046 wxDateTime *arg1 = (wxDateTime *) 0 ;
25047 wxString result;
25048 PyObject * obj0 = 0 ;
25049 char *kwnames[] = {
25050 (char *) "self", NULL
25051 };
25052
25053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
093d3ff1
RD
25054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
25055 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 result = ((wxDateTime const *)arg1)->FormatISOTime();
25059
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 {
25064#if wxUSE_UNICODE
25065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25066#else
25067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25068#endif
25069 }
25070 return resultobj;
25071 fail:
25072 return NULL;
25073}
25074
25075
c32bde28 25076static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25077 PyObject *obj;
25078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25079 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
25080 Py_INCREF(obj);
25081 return Py_BuildValue((char *)"");
25082}
c32bde28 25083static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25084 PyObject *resultobj = NULL;
d55e5bfc
RD
25085 long arg1 ;
25086 wxTimeSpan result;
25087 PyObject * obj0 = 0 ;
25088 char *kwnames[] = {
25089 (char *) "sec", NULL
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
093d3ff1 25093 {
7449af73 25094 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25095 if (SWIG_arg_fail(1)) SWIG_fail;
25096 }
d55e5bfc
RD
25097 {
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 result = wxTimeSpan::Seconds(arg1);
25100
25101 wxPyEndAllowThreads(__tstate);
25102 if (PyErr_Occurred()) SWIG_fail;
25103 }
25104 {
25105 wxTimeSpan * resultptr;
7449af73 25106 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25108 }
25109 return resultobj;
25110 fail:
25111 return NULL;
25112}
25113
25114
c32bde28 25115static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25116 PyObject *resultobj = NULL;
d55e5bfc
RD
25117 wxTimeSpan result;
25118 char *kwnames[] = {
25119 NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
25123 {
25124 PyThreadState* __tstate = wxPyBeginAllowThreads();
25125 result = wxTimeSpan::Second();
25126
25127 wxPyEndAllowThreads(__tstate);
25128 if (PyErr_Occurred()) SWIG_fail;
25129 }
25130 {
25131 wxTimeSpan * resultptr;
7449af73 25132 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25134 }
25135 return resultobj;
25136 fail:
25137 return NULL;
25138}
25139
25140
c32bde28 25141static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25142 PyObject *resultobj = NULL;
d55e5bfc
RD
25143 long arg1 ;
25144 wxTimeSpan result;
25145 PyObject * obj0 = 0 ;
25146 char *kwnames[] = {
25147 (char *) "min", NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
093d3ff1 25151 {
7449af73 25152 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25153 if (SWIG_arg_fail(1)) SWIG_fail;
25154 }
d55e5bfc
RD
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = wxTimeSpan::Minutes(arg1);
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 {
25163 wxTimeSpan * resultptr;
7449af73 25164 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25165 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25166 }
25167 return resultobj;
25168 fail:
25169 return NULL;
25170}
25171
25172
c32bde28 25173static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25174 PyObject *resultobj = NULL;
d55e5bfc
RD
25175 wxTimeSpan result;
25176 char *kwnames[] = {
25177 NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
25181 {
25182 PyThreadState* __tstate = wxPyBeginAllowThreads();
25183 result = wxTimeSpan::Minute();
25184
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 {
25189 wxTimeSpan * resultptr;
7449af73 25190 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25192 }
25193 return resultobj;
25194 fail:
25195 return NULL;
25196}
25197
25198
c32bde28 25199static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25200 PyObject *resultobj = NULL;
d55e5bfc
RD
25201 long arg1 ;
25202 wxTimeSpan result;
25203 PyObject * obj0 = 0 ;
25204 char *kwnames[] = {
25205 (char *) "hours", NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
093d3ff1 25209 {
7449af73 25210 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25211 if (SWIG_arg_fail(1)) SWIG_fail;
25212 }
d55e5bfc
RD
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = wxTimeSpan::Hours(arg1);
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 {
25221 wxTimeSpan * resultptr;
7449af73 25222 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25223 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25224 }
25225 return resultobj;
25226 fail:
25227 return NULL;
25228}
25229
25230
c32bde28 25231static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25232 PyObject *resultobj = NULL;
d55e5bfc
RD
25233 wxTimeSpan result;
25234 char *kwnames[] = {
25235 NULL
25236 };
25237
25238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = wxTimeSpan::Hour();
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 {
25247 wxTimeSpan * resultptr;
7449af73 25248 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25249 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254}
25255
25256
c32bde28 25257static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25258 PyObject *resultobj = NULL;
d55e5bfc
RD
25259 long arg1 ;
25260 wxTimeSpan result;
25261 PyObject * obj0 = 0 ;
25262 char *kwnames[] = {
25263 (char *) "days", NULL
25264 };
25265
25266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1 25267 {
7449af73 25268 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25269 if (SWIG_arg_fail(1)) SWIG_fail;
25270 }
d55e5bfc
RD
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 result = wxTimeSpan::Days(arg1);
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 {
25279 wxTimeSpan * resultptr;
7449af73 25280 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25282 }
25283 return resultobj;
25284 fail:
25285 return NULL;
25286}
25287
25288
c32bde28 25289static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25290 PyObject *resultobj = NULL;
d55e5bfc
RD
25291 wxTimeSpan result;
25292 char *kwnames[] = {
25293 NULL
25294 };
25295
25296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = wxTimeSpan::Day();
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 {
25305 wxTimeSpan * resultptr;
7449af73 25306 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25308 }
25309 return resultobj;
25310 fail:
25311 return NULL;
25312}
25313
25314
c32bde28 25315static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25316 PyObject *resultobj = NULL;
d55e5bfc
RD
25317 long arg1 ;
25318 wxTimeSpan result;
25319 PyObject * obj0 = 0 ;
25320 char *kwnames[] = {
25321 (char *) "days", NULL
25322 };
25323
25324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1 25325 {
7449af73 25326 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25327 if (SWIG_arg_fail(1)) SWIG_fail;
25328 }
d55e5bfc
RD
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 result = wxTimeSpan::Weeks(arg1);
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 {
25337 wxTimeSpan * resultptr;
7449af73 25338 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25340 }
25341 return resultobj;
25342 fail:
25343 return NULL;
25344}
25345
25346
c32bde28 25347static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25348 PyObject *resultobj = NULL;
d55e5bfc
RD
25349 wxTimeSpan result;
25350 char *kwnames[] = {
25351 NULL
25352 };
25353
25354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 result = wxTimeSpan::Week();
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 {
25363 wxTimeSpan * resultptr;
7449af73 25364 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25366 }
25367 return resultobj;
25368 fail:
25369 return NULL;
25370}
25371
25372
c32bde28 25373static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25374 PyObject *resultobj = NULL;
d55e5bfc
RD
25375 long arg1 = (long) 0 ;
25376 long arg2 = (long) 0 ;
25377 long arg3 = (long) 0 ;
25378 long arg4 = (long) 0 ;
25379 wxTimeSpan *result;
25380 PyObject * obj0 = 0 ;
25381 PyObject * obj1 = 0 ;
25382 PyObject * obj2 = 0 ;
25383 PyObject * obj3 = 0 ;
25384 char *kwnames[] = {
25385 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25386 };
25387
25388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25389 if (obj0) {
093d3ff1 25390 {
7449af73 25391 arg1 = static_cast<long >(SWIG_As_long(obj0));
093d3ff1
RD
25392 if (SWIG_arg_fail(1)) SWIG_fail;
25393 }
d55e5bfc
RD
25394 }
25395 if (obj1) {
093d3ff1 25396 {
7449af73 25397 arg2 = static_cast<long >(SWIG_As_long(obj1));
093d3ff1
RD
25398 if (SWIG_arg_fail(2)) SWIG_fail;
25399 }
d55e5bfc
RD
25400 }
25401 if (obj2) {
093d3ff1 25402 {
7449af73 25403 arg3 = static_cast<long >(SWIG_As_long(obj2));
093d3ff1
RD
25404 if (SWIG_arg_fail(3)) SWIG_fail;
25405 }
d55e5bfc
RD
25406 }
25407 if (obj3) {
093d3ff1 25408 {
7449af73 25409 arg4 = static_cast<long >(SWIG_As_long(obj3));
093d3ff1
RD
25410 if (SWIG_arg_fail(4)) SWIG_fail;
25411 }
d55e5bfc
RD
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
25421 return resultobj;
25422 fail:
25423 return NULL;
25424}
25425
25426
c32bde28 25427static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25428 PyObject *resultobj = NULL;
d55e5bfc
RD
25429 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25430 PyObject * obj0 = 0 ;
25431 char *kwnames[] = {
25432 (char *) "self", NULL
25433 };
25434
25435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
25436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 delete arg1;
25441
25442 wxPyEndAllowThreads(__tstate);
25443 if (PyErr_Occurred()) SWIG_fail;
25444 }
25445 Py_INCREF(Py_None); resultobj = Py_None;
25446 return resultobj;
25447 fail:
25448 return NULL;
25449}
25450
25451
c32bde28 25452static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25453 PyObject *resultobj = NULL;
d55e5bfc
RD
25454 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25455 wxTimeSpan *arg2 = 0 ;
25456 wxTimeSpan *result;
25457 PyObject * obj0 = 0 ;
25458 PyObject * obj1 = 0 ;
25459 char *kwnames[] = {
25460 (char *) "self",(char *) "diff", NULL
25461 };
25462
25463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25465 if (SWIG_arg_fail(1)) SWIG_fail;
25466 {
25467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25468 if (SWIG_arg_fail(2)) SWIG_fail;
25469 if (arg2 == NULL) {
25470 SWIG_null_ref("wxTimeSpan");
25471 }
25472 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25473 }
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 {
25477 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
25478 result = (wxTimeSpan *) &_result_ref;
25479 }
25480
25481 wxPyEndAllowThreads(__tstate);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25485 return resultobj;
25486 fail:
25487 return NULL;
25488}
25489
25490
c32bde28 25491static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25492 PyObject *resultobj = NULL;
d55e5bfc
RD
25493 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25494 wxTimeSpan *arg2 = 0 ;
25495 wxTimeSpan *result;
25496 PyObject * obj0 = 0 ;
25497 PyObject * obj1 = 0 ;
25498 char *kwnames[] = {
25499 (char *) "self",(char *) "diff", NULL
25500 };
25501
25502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25503 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25504 if (SWIG_arg_fail(1)) SWIG_fail;
25505 {
25506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25507 if (SWIG_arg_fail(2)) SWIG_fail;
25508 if (arg2 == NULL) {
25509 SWIG_null_ref("wxTimeSpan");
25510 }
25511 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25512 }
25513 {
25514 PyThreadState* __tstate = wxPyBeginAllowThreads();
25515 {
25516 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
25517 result = (wxTimeSpan *) &_result_ref;
25518 }
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25524 return resultobj;
25525 fail:
25526 return NULL;
25527}
25528
25529
c32bde28 25530static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25531 PyObject *resultobj = NULL;
d55e5bfc
RD
25532 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25533 int arg2 ;
25534 wxTimeSpan *result;
25535 PyObject * obj0 = 0 ;
25536 PyObject * obj1 = 0 ;
25537 char *kwnames[] = {
25538 (char *) "self",(char *) "n", NULL
25539 };
25540
25541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25543 if (SWIG_arg_fail(1)) SWIG_fail;
25544 {
7449af73 25545 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25546 if (SWIG_arg_fail(2)) SWIG_fail;
25547 }
d55e5bfc
RD
25548 {
25549 PyThreadState* __tstate = wxPyBeginAllowThreads();
25550 {
25551 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
25552 result = (wxTimeSpan *) &_result_ref;
25553 }
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25559 return resultobj;
25560 fail:
25561 return NULL;
25562}
25563
25564
c32bde28 25565static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25566 PyObject *resultobj = NULL;
d55e5bfc
RD
25567 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25568 wxTimeSpan *result;
25569 PyObject * obj0 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
25575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25576 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25577 {
25578 PyThreadState* __tstate = wxPyBeginAllowThreads();
25579 {
25580 wxTimeSpan &_result_ref = (arg1)->Neg();
25581 result = (wxTimeSpan *) &_result_ref;
25582 }
25583
25584 wxPyEndAllowThreads(__tstate);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25588 return resultobj;
25589 fail:
25590 return NULL;
25591}
25592
25593
c32bde28 25594static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25595 PyObject *resultobj = NULL;
d55e5bfc
RD
25596 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25597 wxTimeSpan result;
25598 PyObject * obj0 = 0 ;
25599 char *kwnames[] = {
25600 (char *) "self", NULL
25601 };
25602
25603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
093d3ff1
RD
25604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25605 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25606 {
25607 PyThreadState* __tstate = wxPyBeginAllowThreads();
25608 result = ((wxTimeSpan const *)arg1)->Abs();
25609
25610 wxPyEndAllowThreads(__tstate);
25611 if (PyErr_Occurred()) SWIG_fail;
25612 }
25613 {
25614 wxTimeSpan * resultptr;
7449af73 25615 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25617 }
25618 return resultobj;
25619 fail:
25620 return NULL;
25621}
25622
25623
c32bde28 25624static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25625 PyObject *resultobj = NULL;
d55e5bfc
RD
25626 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25627 wxTimeSpan *arg2 = 0 ;
25628 wxTimeSpan *result;
25629 PyObject * obj0 = 0 ;
25630 PyObject * obj1 = 0 ;
25631 char *kwnames[] = {
25632 (char *) "self",(char *) "diff", NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25637 if (SWIG_arg_fail(1)) SWIG_fail;
25638 {
25639 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25640 if (SWIG_arg_fail(2)) SWIG_fail;
25641 if (arg2 == NULL) {
25642 SWIG_null_ref("wxTimeSpan");
25643 }
25644 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25645 }
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 {
25649 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
25650 result = (wxTimeSpan *) &_result_ref;
25651 }
25652
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
c32bde28 25656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
c32bde28 25663static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25664 PyObject *resultobj = NULL;
d55e5bfc
RD
25665 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25666 wxTimeSpan *arg2 = 0 ;
25667 wxTimeSpan *result;
25668 PyObject * obj0 = 0 ;
25669 PyObject * obj1 = 0 ;
25670 char *kwnames[] = {
25671 (char *) "self",(char *) "diff", NULL
25672 };
25673
25674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25676 if (SWIG_arg_fail(1)) SWIG_fail;
25677 {
25678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25679 if (SWIG_arg_fail(2)) SWIG_fail;
25680 if (arg2 == NULL) {
25681 SWIG_null_ref("wxTimeSpan");
25682 }
25683 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25684 }
25685 {
25686 PyThreadState* __tstate = wxPyBeginAllowThreads();
25687 {
25688 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
25689 result = (wxTimeSpan *) &_result_ref;
25690 }
25691
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
c32bde28 25695 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25696 return resultobj;
25697 fail:
25698 return NULL;
25699}
25700
25701
c32bde28 25702static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25703 PyObject *resultobj = NULL;
d55e5bfc
RD
25704 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25705 int arg2 ;
25706 wxTimeSpan *result;
25707 PyObject * obj0 = 0 ;
25708 PyObject * obj1 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "n", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25715 if (SWIG_arg_fail(1)) SWIG_fail;
25716 {
7449af73 25717 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25718 if (SWIG_arg_fail(2)) SWIG_fail;
25719 }
d55e5bfc
RD
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 {
25723 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
25724 result = (wxTimeSpan *) &_result_ref;
25725 }
25726
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
c32bde28 25730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25731 return resultobj;
25732 fail:
25733 return NULL;
25734}
25735
25736
c32bde28 25737static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25738 PyObject *resultobj = NULL;
d55e5bfc
RD
25739 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25740 wxTimeSpan *result;
25741 PyObject * obj0 = 0 ;
25742 char *kwnames[] = {
25743 (char *) "self", NULL
25744 };
25745
25746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
25747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 {
25752 wxTimeSpan &_result_ref = (arg1)->operator -();
25753 result = (wxTimeSpan *) &_result_ref;
25754 }
25755
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25760 return resultobj;
25761 fail:
25762 return NULL;
25763}
25764
25765
c32bde28 25766static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25767 PyObject *resultobj = NULL;
d55e5bfc
RD
25768 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25769 wxTimeSpan *arg2 = 0 ;
25770 wxTimeSpan result;
25771 PyObject * obj0 = 0 ;
25772 PyObject * obj1 = 0 ;
25773 char *kwnames[] = {
25774 (char *) "self",(char *) "other", NULL
25775 };
25776
25777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25779 if (SWIG_arg_fail(1)) SWIG_fail;
25780 {
25781 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25782 if (SWIG_arg_fail(2)) SWIG_fail;
25783 if (arg2 == NULL) {
25784 SWIG_null_ref("wxTimeSpan");
25785 }
25786 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25787 }
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 {
25796 wxTimeSpan * resultptr;
7449af73 25797 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25799 }
25800 return resultobj;
25801 fail:
25802 return NULL;
25803}
25804
25805
c32bde28 25806static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25807 PyObject *resultobj = NULL;
d55e5bfc
RD
25808 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25809 wxTimeSpan *arg2 = 0 ;
25810 wxTimeSpan result;
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj1 = 0 ;
25813 char *kwnames[] = {
25814 (char *) "self",(char *) "other", NULL
25815 };
25816
25817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25819 if (SWIG_arg_fail(1)) SWIG_fail;
25820 {
25821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25822 if (SWIG_arg_fail(2)) SWIG_fail;
25823 if (arg2 == NULL) {
25824 SWIG_null_ref("wxTimeSpan");
25825 }
25826 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25827 }
25828 {
25829 PyThreadState* __tstate = wxPyBeginAllowThreads();
25830 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
25831
25832 wxPyEndAllowThreads(__tstate);
25833 if (PyErr_Occurred()) SWIG_fail;
25834 }
25835 {
25836 wxTimeSpan * resultptr;
7449af73 25837 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25839 }
25840 return resultobj;
25841 fail:
25842 return NULL;
25843}
25844
25845
c32bde28 25846static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25847 PyObject *resultobj = NULL;
d55e5bfc
RD
25848 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25849 int arg2 ;
25850 wxTimeSpan result;
25851 PyObject * obj0 = 0 ;
25852 PyObject * obj1 = 0 ;
25853 char *kwnames[] = {
25854 (char *) "self",(char *) "n", NULL
25855 };
25856
25857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25859 if (SWIG_arg_fail(1)) SWIG_fail;
25860 {
7449af73 25861 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25862 if (SWIG_arg_fail(2)) SWIG_fail;
25863 }
d55e5bfc
RD
25864 {
25865 PyThreadState* __tstate = wxPyBeginAllowThreads();
25866 result = wxTimeSpan___mul__(arg1,arg2);
25867
25868 wxPyEndAllowThreads(__tstate);
25869 if (PyErr_Occurred()) SWIG_fail;
25870 }
25871 {
25872 wxTimeSpan * resultptr;
7449af73 25873 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25875 }
25876 return resultobj;
25877 fail:
25878 return NULL;
25879}
25880
25881
c32bde28 25882static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25883 PyObject *resultobj = NULL;
d55e5bfc
RD
25884 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25885 int arg2 ;
25886 wxTimeSpan result;
25887 PyObject * obj0 = 0 ;
25888 PyObject * obj1 = 0 ;
25889 char *kwnames[] = {
25890 (char *) "self",(char *) "n", NULL
25891 };
25892
25893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25895 if (SWIG_arg_fail(1)) SWIG_fail;
25896 {
7449af73 25897 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
25898 if (SWIG_arg_fail(2)) SWIG_fail;
25899 }
d55e5bfc
RD
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = wxTimeSpan___rmul__(arg1,arg2);
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 {
25908 wxTimeSpan * resultptr;
7449af73 25909 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25910 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25911 }
25912 return resultobj;
25913 fail:
25914 return NULL;
25915}
25916
25917
c32bde28 25918static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25919 PyObject *resultobj = NULL;
d55e5bfc
RD
25920 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25921 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25922 bool result;
25923 PyObject * obj0 = 0 ;
25924 PyObject * obj1 = 0 ;
25925 char *kwnames[] = {
25926 (char *) "self",(char *) "other", NULL
25927 };
25928
25929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25930 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail;
25932 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25933 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25934 {
25935 PyThreadState* __tstate = wxPyBeginAllowThreads();
25936 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
25937
25938 wxPyEndAllowThreads(__tstate);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 {
25942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25943 }
25944 return resultobj;
25945 fail:
25946 return NULL;
25947}
25948
25949
c32bde28 25950static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25951 PyObject *resultobj = NULL;
d55e5bfc
RD
25952 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25953 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25954 bool result;
25955 PyObject * obj0 = 0 ;
25956 PyObject * obj1 = 0 ;
25957 char *kwnames[] = {
25958 (char *) "self",(char *) "other", NULL
25959 };
25960
25961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25963 if (SWIG_arg_fail(1)) SWIG_fail;
25964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25966 {
25967 PyThreadState* __tstate = wxPyBeginAllowThreads();
25968 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
25969
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
25973 {
25974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25975 }
25976 return resultobj;
25977 fail:
25978 return NULL;
25979}
25980
25981
c32bde28 25982static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 25983 PyObject *resultobj = NULL;
d55e5bfc
RD
25984 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25985 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25986 bool result;
25987 PyObject * obj0 = 0 ;
25988 PyObject * obj1 = 0 ;
25989 char *kwnames[] = {
25990 (char *) "self",(char *) "other", NULL
25991 };
25992
25993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
25994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail;
25996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25997 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25998 {
25999 PyThreadState* __tstate = wxPyBeginAllowThreads();
26000 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
26001
26002 wxPyEndAllowThreads(__tstate);
26003 if (PyErr_Occurred()) SWIG_fail;
26004 }
26005 {
26006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26007 }
26008 return resultobj;
26009 fail:
26010 return NULL;
26011}
26012
26013
c32bde28 26014static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26015 PyObject *resultobj = NULL;
d55e5bfc
RD
26016 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26017 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26018 bool result;
26019 PyObject * obj0 = 0 ;
26020 PyObject * obj1 = 0 ;
26021 char *kwnames[] = {
26022 (char *) "self",(char *) "other", NULL
26023 };
26024
26025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26027 if (SWIG_arg_fail(1)) SWIG_fail;
26028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26029 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26030 {
26031 PyThreadState* __tstate = wxPyBeginAllowThreads();
26032 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
26033
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
26037 {
26038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26039 }
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
c32bde28 26046static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26047 PyObject *resultobj = NULL;
d55e5bfc
RD
26048 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26049 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26050 bool result;
26051 PyObject * obj0 = 0 ;
26052 PyObject * obj1 = 0 ;
26053 char *kwnames[] = {
26054 (char *) "self",(char *) "other", NULL
26055 };
26056
26057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26059 if (SWIG_arg_fail(1)) SWIG_fail;
26060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26061 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
26065
26066 wxPyEndAllowThreads(__tstate);
26067 if (PyErr_Occurred()) SWIG_fail;
26068 }
26069 {
26070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26071 }
26072 return resultobj;
26073 fail:
26074 return NULL;
26075}
26076
26077
c32bde28 26078static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26079 PyObject *resultobj = NULL;
d55e5bfc
RD
26080 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26081 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26082 bool result;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 char *kwnames[] = {
26086 (char *) "self",(char *) "other", NULL
26087 };
26088
26089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26091 if (SWIG_arg_fail(1)) SWIG_fail;
26092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26093 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26094 {
26095 PyThreadState* __tstate = wxPyBeginAllowThreads();
26096 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
26097
26098 wxPyEndAllowThreads(__tstate);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 }
26101 {
26102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26103 }
26104 return resultobj;
26105 fail:
26106 return NULL;
26107}
26108
26109
c32bde28 26110static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26111 PyObject *resultobj = NULL;
d55e5bfc
RD
26112 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26113 bool result;
26114 PyObject * obj0 = 0 ;
26115 char *kwnames[] = {
26116 (char *) "self", NULL
26117 };
26118
26119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
093d3ff1
RD
26120 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26121 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
26125
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 {
26130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26131 }
26132 return resultobj;
26133 fail:
26134 return NULL;
26135}
26136
26137
c32bde28 26138static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26139 PyObject *resultobj = NULL;
d55e5bfc
RD
26140 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26141 bool result;
26142 PyObject * obj0 = 0 ;
26143 char *kwnames[] = {
26144 (char *) "self", NULL
26145 };
26146
26147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
093d3ff1
RD
26148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26149 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26150 {
26151 PyThreadState* __tstate = wxPyBeginAllowThreads();
26152 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
26153
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
26157 {
26158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26159 }
26160 return resultobj;
26161 fail:
26162 return NULL;
26163}
26164
26165
c32bde28 26166static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26167 PyObject *resultobj = NULL;
d55e5bfc
RD
26168 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26169 bool result;
26170 PyObject * obj0 = 0 ;
26171 char *kwnames[] = {
26172 (char *) "self", NULL
26173 };
26174
26175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
093d3ff1
RD
26176 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26178 {
26179 PyThreadState* __tstate = wxPyBeginAllowThreads();
26180 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
26181
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
26185 {
26186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26187 }
26188 return resultobj;
26189 fail:
26190 return NULL;
26191}
26192
26193
c32bde28 26194static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26195 PyObject *resultobj = NULL;
d55e5bfc
RD
26196 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26197 wxTimeSpan *arg2 = 0 ;
26198 bool result;
26199 PyObject * obj0 = 0 ;
26200 PyObject * obj1 = 0 ;
26201 char *kwnames[] = {
26202 (char *) "self",(char *) "ts", NULL
26203 };
26204
26205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26207 if (SWIG_arg_fail(1)) SWIG_fail;
26208 {
26209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26210 if (SWIG_arg_fail(2)) SWIG_fail;
26211 if (arg2 == NULL) {
26212 SWIG_null_ref("wxTimeSpan");
26213 }
26214 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26215 }
26216 {
26217 PyThreadState* __tstate = wxPyBeginAllowThreads();
26218 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
26219
26220 wxPyEndAllowThreads(__tstate);
26221 if (PyErr_Occurred()) SWIG_fail;
26222 }
26223 {
26224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26225 }
26226 return resultobj;
26227 fail:
26228 return NULL;
26229}
26230
26231
c32bde28 26232static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26233 PyObject *resultobj = NULL;
d55e5bfc
RD
26234 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26235 wxTimeSpan *arg2 = 0 ;
26236 bool result;
26237 PyObject * obj0 = 0 ;
26238 PyObject * obj1 = 0 ;
26239 char *kwnames[] = {
26240 (char *) "self",(char *) "ts", NULL
26241 };
26242
26243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26245 if (SWIG_arg_fail(1)) SWIG_fail;
26246 {
26247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26248 if (SWIG_arg_fail(2)) SWIG_fail;
26249 if (arg2 == NULL) {
26250 SWIG_null_ref("wxTimeSpan");
26251 }
26252 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26253 }
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
26257
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 {
26262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26263 }
26264 return resultobj;
26265 fail:
26266 return NULL;
26267}
26268
26269
c32bde28 26270static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26271 PyObject *resultobj = NULL;
d55e5bfc
RD
26272 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26273 wxTimeSpan *arg2 = 0 ;
26274 bool result;
26275 PyObject * obj0 = 0 ;
26276 PyObject * obj1 = 0 ;
26277 char *kwnames[] = {
26278 (char *) "self",(char *) "t", NULL
26279 };
26280
26281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26283 if (SWIG_arg_fail(1)) SWIG_fail;
26284 {
26285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail;
26287 if (arg2 == NULL) {
26288 SWIG_null_ref("wxTimeSpan");
26289 }
26290 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26291 }
26292 {
26293 PyThreadState* __tstate = wxPyBeginAllowThreads();
26294 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
26295
26296 wxPyEndAllowThreads(__tstate);
26297 if (PyErr_Occurred()) SWIG_fail;
26298 }
26299 {
26300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26301 }
26302 return resultobj;
26303 fail:
26304 return NULL;
26305}
26306
26307
c32bde28 26308static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26309 PyObject *resultobj = NULL;
d55e5bfc
RD
26310 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26311 int result;
26312 PyObject * obj0 = 0 ;
26313 char *kwnames[] = {
26314 (char *) "self", NULL
26315 };
26316
26317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
26318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26320 {
26321 PyThreadState* __tstate = wxPyBeginAllowThreads();
26322 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
26323
26324 wxPyEndAllowThreads(__tstate);
26325 if (PyErr_Occurred()) SWIG_fail;
26326 }
093d3ff1 26327 {
7449af73 26328 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26329 }
d55e5bfc
RD
26330 return resultobj;
26331 fail:
26332 return NULL;
26333}
26334
26335
c32bde28 26336static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26337 PyObject *resultobj = NULL;
d55e5bfc
RD
26338 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26339 int result;
26340 PyObject * obj0 = 0 ;
26341 char *kwnames[] = {
26342 (char *) "self", NULL
26343 };
26344
26345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
26346 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26347 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 result = (int)((wxTimeSpan const *)arg1)->GetDays();
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
093d3ff1 26355 {
7449af73 26356 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26357 }
d55e5bfc
RD
26358 return resultobj;
26359 fail:
26360 return NULL;
26361}
26362
26363
c32bde28 26364static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26365 PyObject *resultobj = NULL;
d55e5bfc
RD
26366 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26367 int result;
26368 PyObject * obj0 = 0 ;
26369 char *kwnames[] = {
26370 (char *) "self", NULL
26371 };
26372
26373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
093d3ff1
RD
26374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 result = (int)((wxTimeSpan const *)arg1)->GetHours();
26379
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
093d3ff1 26383 {
7449af73 26384 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26385 }
d55e5bfc
RD
26386 return resultobj;
26387 fail:
26388 return NULL;
26389}
26390
26391
c32bde28 26392static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26393 PyObject *resultobj = NULL;
d55e5bfc
RD
26394 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26395 int result;
26396 PyObject * obj0 = 0 ;
26397 char *kwnames[] = {
26398 (char *) "self", NULL
26399 };
26400
26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
093d3ff1
RD
26402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26403 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
26407
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
093d3ff1 26411 {
7449af73 26412 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 26413 }
d55e5bfc
RD
26414 return resultobj;
26415 fail:
26416 return NULL;
26417}
26418
26419
c32bde28 26420static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26421 PyObject *resultobj = NULL;
d55e5bfc
RD
26422 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26423 wxLongLong result;
26424 PyObject * obj0 = 0 ;
26425 char *kwnames[] = {
26426 (char *) "self", NULL
26427 };
26428
26429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
26430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26432 {
26433 PyThreadState* __tstate = wxPyBeginAllowThreads();
26434 result = ((wxTimeSpan const *)arg1)->GetSeconds();
26435
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 {
26440 PyObject *hi, *lo, *shifter, *shifted;
26441 hi = PyLong_FromLong( (&result)->GetHi() );
26442 lo = PyLong_FromLong( (&result)->GetLo() );
26443 shifter = PyLong_FromLong(32);
26444 shifted = PyNumber_Lshift(hi, shifter);
26445 resultobj = PyNumber_Or(shifted, lo);
26446 Py_DECREF(hi);
26447 Py_DECREF(lo);
26448 Py_DECREF(shifter);
26449 Py_DECREF(shifted);
26450 }
26451 return resultobj;
26452 fail:
26453 return NULL;
26454}
26455
26456
c32bde28 26457static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26458 PyObject *resultobj = NULL;
d55e5bfc
RD
26459 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26460 wxLongLong result;
26461 PyObject * obj0 = 0 ;
26462 char *kwnames[] = {
26463 (char *) "self", NULL
26464 };
26465
26466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
093d3ff1
RD
26467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 {
26477 PyObject *hi, *lo, *shifter, *shifted;
26478 hi = PyLong_FromLong( (&result)->GetHi() );
26479 lo = PyLong_FromLong( (&result)->GetLo() );
26480 shifter = PyLong_FromLong(32);
26481 shifted = PyNumber_Lshift(hi, shifter);
26482 resultobj = PyNumber_Or(shifted, lo);
26483 Py_DECREF(hi);
26484 Py_DECREF(lo);
26485 Py_DECREF(shifter);
26486 Py_DECREF(shifted);
26487 }
26488 return resultobj;
26489 fail:
26490 return NULL;
26491}
26492
26493
c32bde28 26494static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26495 PyObject *resultobj = NULL;
d55e5bfc 26496 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
fef4c27a 26497 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d55e5bfc
RD
26498 wxString *arg2 = (wxString *) &arg2_defvalue ;
26499 wxString result;
ae8162c8 26500 bool temp2 = false ;
d55e5bfc
RD
26501 PyObject * obj0 = 0 ;
26502 PyObject * obj1 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self",(char *) "format", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26510 if (obj1) {
26511 {
26512 arg2 = wxString_in_helper(obj1);
26513 if (arg2 == NULL) SWIG_fail;
ae8162c8 26514 temp2 = true;
d55e5bfc
RD
26515 }
26516 }
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
26520
26521 wxPyEndAllowThreads(__tstate);
26522 if (PyErr_Occurred()) SWIG_fail;
26523 }
26524 {
26525#if wxUSE_UNICODE
26526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26527#else
26528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26529#endif
26530 }
26531 {
26532 if (temp2)
26533 delete arg2;
26534 }
26535 return resultobj;
26536 fail:
26537 {
26538 if (temp2)
26539 delete arg2;
26540 }
26541 return NULL;
26542}
26543
26544
c32bde28 26545static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26546 PyObject *obj;
26547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26548 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
26549 Py_INCREF(obj);
26550 return Py_BuildValue((char *)"");
26551}
c32bde28 26552static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26553 PyObject *resultobj = NULL;
d55e5bfc
RD
26554 int arg1 = (int) 0 ;
26555 int arg2 = (int) 0 ;
26556 int arg3 = (int) 0 ;
26557 int arg4 = (int) 0 ;
26558 wxDateSpan *result;
26559 PyObject * obj0 = 0 ;
26560 PyObject * obj1 = 0 ;
26561 PyObject * obj2 = 0 ;
26562 PyObject * obj3 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26568 if (obj0) {
093d3ff1 26569 {
7449af73 26570 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26571 if (SWIG_arg_fail(1)) SWIG_fail;
26572 }
d55e5bfc
RD
26573 }
26574 if (obj1) {
093d3ff1 26575 {
7449af73 26576 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26577 if (SWIG_arg_fail(2)) SWIG_fail;
26578 }
d55e5bfc
RD
26579 }
26580 if (obj2) {
093d3ff1 26581 {
7449af73 26582 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
26583 if (SWIG_arg_fail(3)) SWIG_fail;
26584 }
d55e5bfc
RD
26585 }
26586 if (obj3) {
093d3ff1 26587 {
7449af73 26588 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
26589 if (SWIG_arg_fail(4)) SWIG_fail;
26590 }
d55e5bfc
RD
26591 }
26592 {
26593 PyThreadState* __tstate = wxPyBeginAllowThreads();
26594 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
26595
26596 wxPyEndAllowThreads(__tstate);
26597 if (PyErr_Occurred()) SWIG_fail;
26598 }
26599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
26600 return resultobj;
26601 fail:
26602 return NULL;
26603}
26604
26605
c32bde28 26606static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26607 PyObject *resultobj = NULL;
d55e5bfc
RD
26608 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26609 PyObject * obj0 = 0 ;
26610 char *kwnames[] = {
26611 (char *) "self", NULL
26612 };
26613
26614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
093d3ff1
RD
26615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 delete arg1;
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 Py_INCREF(Py_None); resultobj = Py_None;
26625 return resultobj;
26626 fail:
26627 return NULL;
26628}
26629
26630
c32bde28 26631static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26632 PyObject *resultobj = NULL;
d55e5bfc
RD
26633 int arg1 ;
26634 wxDateSpan result;
26635 PyObject * obj0 = 0 ;
26636 char *kwnames[] = {
26637 (char *) "days", NULL
26638 };
26639
26640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
093d3ff1 26641 {
7449af73 26642 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26643 if (SWIG_arg_fail(1)) SWIG_fail;
26644 }
d55e5bfc
RD
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 result = wxDateSpan::Days(arg1);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 {
26653 wxDateSpan * resultptr;
7449af73 26654 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26656 }
26657 return resultobj;
26658 fail:
26659 return NULL;
26660}
26661
26662
c32bde28 26663static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26664 PyObject *resultobj = NULL;
d55e5bfc
RD
26665 wxDateSpan result;
26666 char *kwnames[] = {
26667 NULL
26668 };
26669
26670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
26673 result = wxDateSpan::Day();
26674
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 {
26679 wxDateSpan * resultptr;
7449af73 26680 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26681 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26682 }
26683 return resultobj;
26684 fail:
26685 return NULL;
26686}
26687
26688
c32bde28 26689static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26690 PyObject *resultobj = NULL;
d55e5bfc
RD
26691 int arg1 ;
26692 wxDateSpan result;
26693 PyObject * obj0 = 0 ;
26694 char *kwnames[] = {
26695 (char *) "weeks", NULL
26696 };
26697
26698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
093d3ff1 26699 {
7449af73 26700 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26701 if (SWIG_arg_fail(1)) SWIG_fail;
26702 }
d55e5bfc
RD
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 result = wxDateSpan::Weeks(arg1);
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 {
26711 wxDateSpan * resultptr;
7449af73 26712 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26714 }
26715 return resultobj;
26716 fail:
26717 return NULL;
26718}
26719
26720
c32bde28 26721static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26722 PyObject *resultobj = NULL;
d55e5bfc
RD
26723 wxDateSpan result;
26724 char *kwnames[] = {
26725 NULL
26726 };
26727
26728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
26729 {
26730 PyThreadState* __tstate = wxPyBeginAllowThreads();
26731 result = wxDateSpan::Week();
26732
26733 wxPyEndAllowThreads(__tstate);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 }
26736 {
26737 wxDateSpan * resultptr;
7449af73 26738 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26740 }
26741 return resultobj;
26742 fail:
26743 return NULL;
26744}
26745
26746
c32bde28 26747static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26748 PyObject *resultobj = NULL;
d55e5bfc
RD
26749 int arg1 ;
26750 wxDateSpan result;
26751 PyObject * obj0 = 0 ;
26752 char *kwnames[] = {
26753 (char *) "mon", NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
093d3ff1 26757 {
7449af73 26758 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26759 if (SWIG_arg_fail(1)) SWIG_fail;
26760 }
d55e5bfc
RD
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 result = wxDateSpan::Months(arg1);
26764
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 {
26769 wxDateSpan * resultptr;
7449af73 26770 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26771 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26772 }
26773 return resultobj;
26774 fail:
26775 return NULL;
26776}
26777
26778
c32bde28 26779static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26780 PyObject *resultobj = NULL;
d55e5bfc
RD
26781 wxDateSpan result;
26782 char *kwnames[] = {
26783 NULL
26784 };
26785
26786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 result = wxDateSpan::Month();
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
26794 {
26795 wxDateSpan * resultptr;
7449af73 26796 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26797 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26798 }
26799 return resultobj;
26800 fail:
26801 return NULL;
26802}
26803
26804
c32bde28 26805static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26806 PyObject *resultobj = NULL;
d55e5bfc
RD
26807 int arg1 ;
26808 wxDateSpan result;
26809 PyObject * obj0 = 0 ;
26810 char *kwnames[] = {
26811 (char *) "years", NULL
26812 };
26813
26814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
093d3ff1 26815 {
7449af73 26816 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
26817 if (SWIG_arg_fail(1)) SWIG_fail;
26818 }
d55e5bfc
RD
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 result = wxDateSpan::Years(arg1);
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 {
26827 wxDateSpan * resultptr;
7449af73 26828 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26829 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26830 }
26831 return resultobj;
26832 fail:
26833 return NULL;
26834}
26835
26836
c32bde28 26837static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26838 PyObject *resultobj = NULL;
d55e5bfc
RD
26839 wxDateSpan result;
26840 char *kwnames[] = {
26841 NULL
26842 };
26843
26844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = wxDateSpan::Year();
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 {
26853 wxDateSpan * resultptr;
7449af73 26854 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26855 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26856 }
26857 return resultobj;
26858 fail:
26859 return NULL;
26860}
26861
26862
c32bde28 26863static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26864 PyObject *resultobj = NULL;
d55e5bfc
RD
26865 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26866 int arg2 ;
26867 wxDateSpan *result;
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char *kwnames[] = {
26871 (char *) "self",(char *) "n", NULL
26872 };
26873
26874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26876 if (SWIG_arg_fail(1)) SWIG_fail;
26877 {
7449af73 26878 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26879 if (SWIG_arg_fail(2)) SWIG_fail;
26880 }
d55e5bfc
RD
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
26883 {
26884 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
26885 result = (wxDateSpan *) &_result_ref;
26886 }
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26892 return resultobj;
26893 fail:
26894 return NULL;
26895}
26896
26897
c32bde28 26898static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26899 PyObject *resultobj = NULL;
d55e5bfc
RD
26900 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26901 int arg2 ;
26902 wxDateSpan *result;
26903 PyObject * obj0 = 0 ;
26904 PyObject * obj1 = 0 ;
26905 char *kwnames[] = {
26906 (char *) "self",(char *) "n", NULL
26907 };
26908
26909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26911 if (SWIG_arg_fail(1)) SWIG_fail;
26912 {
7449af73 26913 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26914 if (SWIG_arg_fail(2)) SWIG_fail;
26915 }
d55e5bfc
RD
26916 {
26917 PyThreadState* __tstate = wxPyBeginAllowThreads();
26918 {
26919 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
26920 result = (wxDateSpan *) &_result_ref;
26921 }
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26927 return resultobj;
26928 fail:
26929 return NULL;
26930}
26931
26932
c32bde28 26933static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26934 PyObject *resultobj = NULL;
d55e5bfc
RD
26935 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26936 int arg2 ;
26937 wxDateSpan *result;
26938 PyObject * obj0 = 0 ;
26939 PyObject * obj1 = 0 ;
26940 char *kwnames[] = {
26941 (char *) "self",(char *) "n", NULL
26942 };
26943
26944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26946 if (SWIG_arg_fail(1)) SWIG_fail;
26947 {
7449af73 26948 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26949 if (SWIG_arg_fail(2)) SWIG_fail;
26950 }
d55e5bfc
RD
26951 {
26952 PyThreadState* __tstate = wxPyBeginAllowThreads();
26953 {
26954 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
26955 result = (wxDateSpan *) &_result_ref;
26956 }
26957
26958 wxPyEndAllowThreads(__tstate);
26959 if (PyErr_Occurred()) SWIG_fail;
26960 }
26961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26962 return resultobj;
26963 fail:
26964 return NULL;
26965}
26966
26967
c32bde28 26968static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 26969 PyObject *resultobj = NULL;
d55e5bfc
RD
26970 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26971 int arg2 ;
26972 wxDateSpan *result;
26973 PyObject * obj0 = 0 ;
26974 PyObject * obj1 = 0 ;
26975 char *kwnames[] = {
26976 (char *) "self",(char *) "n", NULL
26977 };
26978
26979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
26980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail;
26982 {
7449af73 26983 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
26984 if (SWIG_arg_fail(2)) SWIG_fail;
26985 }
d55e5bfc
RD
26986 {
26987 PyThreadState* __tstate = wxPyBeginAllowThreads();
26988 {
26989 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
26990 result = (wxDateSpan *) &_result_ref;
26991 }
26992
26993 wxPyEndAllowThreads(__tstate);
26994 if (PyErr_Occurred()) SWIG_fail;
26995 }
26996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26997 return resultobj;
26998 fail:
26999 return NULL;
27000}
27001
27002
c32bde28 27003static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27004 PyObject *resultobj = NULL;
d55e5bfc
RD
27005 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27006 int result;
27007 PyObject * obj0 = 0 ;
27008 char *kwnames[] = {
27009 (char *) "self", NULL
27010 };
27011
27012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
093d3ff1
RD
27013 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27014 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27015 {
27016 PyThreadState* __tstate = wxPyBeginAllowThreads();
27017 result = (int)((wxDateSpan const *)arg1)->GetYears();
27018
27019 wxPyEndAllowThreads(__tstate);
27020 if (PyErr_Occurred()) SWIG_fail;
27021 }
093d3ff1 27022 {
7449af73 27023 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27024 }
d55e5bfc
RD
27025 return resultobj;
27026 fail:
27027 return NULL;
27028}
27029
27030
c32bde28 27031static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27032 PyObject *resultobj = NULL;
d55e5bfc
RD
27033 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27034 int result;
27035 PyObject * obj0 = 0 ;
27036 char *kwnames[] = {
27037 (char *) "self", NULL
27038 };
27039
27040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
093d3ff1
RD
27041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27042 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 result = (int)((wxDateSpan const *)arg1)->GetMonths();
27046
27047 wxPyEndAllowThreads(__tstate);
27048 if (PyErr_Occurred()) SWIG_fail;
27049 }
093d3ff1 27050 {
7449af73 27051 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27052 }
d55e5bfc
RD
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
c32bde28 27059static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27060 PyObject *resultobj = NULL;
d55e5bfc
RD
27061 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27062 int result;
27063 PyObject * obj0 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self", NULL
27066 };
27067
27068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
093d3ff1
RD
27069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27070 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
27074
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
093d3ff1 27078 {
7449af73 27079 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27080 }
d55e5bfc
RD
27081 return resultobj;
27082 fail:
27083 return NULL;
27084}
27085
27086
c32bde28 27087static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27088 PyObject *resultobj = NULL;
d55e5bfc
RD
27089 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27090 int result;
27091 PyObject * obj0 = 0 ;
27092 char *kwnames[] = {
27093 (char *) "self", NULL
27094 };
27095
27096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
27097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27099 {
27100 PyThreadState* __tstate = wxPyBeginAllowThreads();
27101 result = (int)((wxDateSpan const *)arg1)->GetDays();
27102
27103 wxPyEndAllowThreads(__tstate);
27104 if (PyErr_Occurred()) SWIG_fail;
27105 }
093d3ff1 27106 {
7449af73 27107 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27108 }
d55e5bfc
RD
27109 return resultobj;
27110 fail:
27111 return NULL;
27112}
27113
27114
c32bde28 27115static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27116 PyObject *resultobj = NULL;
d55e5bfc
RD
27117 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27118 int result;
27119 PyObject * obj0 = 0 ;
27120 char *kwnames[] = {
27121 (char *) "self", NULL
27122 };
27123
27124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
093d3ff1
RD
27125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27126 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
27130
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
093d3ff1 27134 {
7449af73 27135 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 27136 }
d55e5bfc
RD
27137 return resultobj;
27138 fail:
27139 return NULL;
27140}
27141
27142
c32bde28 27143static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27144 PyObject *resultobj = NULL;
d55e5bfc
RD
27145 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27146 wxDateSpan *arg2 = 0 ;
27147 wxDateSpan *result;
27148 PyObject * obj0 = 0 ;
27149 PyObject * obj1 = 0 ;
27150 char *kwnames[] = {
27151 (char *) "self",(char *) "other", NULL
27152 };
27153
27154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27156 if (SWIG_arg_fail(1)) SWIG_fail;
27157 {
27158 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27159 if (SWIG_arg_fail(2)) SWIG_fail;
27160 if (arg2 == NULL) {
27161 SWIG_null_ref("wxDateSpan");
27162 }
27163 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27164 }
27165 {
27166 PyThreadState* __tstate = wxPyBeginAllowThreads();
27167 {
27168 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
27169 result = (wxDateSpan *) &_result_ref;
27170 }
27171
27172 wxPyEndAllowThreads(__tstate);
27173 if (PyErr_Occurred()) SWIG_fail;
27174 }
27175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27176 return resultobj;
27177 fail:
27178 return NULL;
27179}
27180
27181
c32bde28 27182static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27183 PyObject *resultobj = NULL;
d55e5bfc
RD
27184 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27185 wxDateSpan *arg2 = 0 ;
27186 wxDateSpan *result;
27187 PyObject * obj0 = 0 ;
27188 PyObject * obj1 = 0 ;
27189 char *kwnames[] = {
27190 (char *) "self",(char *) "other", NULL
27191 };
27192
27193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27195 if (SWIG_arg_fail(1)) SWIG_fail;
27196 {
27197 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27198 if (SWIG_arg_fail(2)) SWIG_fail;
27199 if (arg2 == NULL) {
27200 SWIG_null_ref("wxDateSpan");
27201 }
27202 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27203 }
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 {
27207 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
27208 result = (wxDateSpan *) &_result_ref;
27209 }
27210
27211 wxPyEndAllowThreads(__tstate);
27212 if (PyErr_Occurred()) SWIG_fail;
27213 }
27214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27215 return resultobj;
27216 fail:
27217 return NULL;
27218}
27219
27220
c32bde28 27221static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27222 PyObject *resultobj = NULL;
d55e5bfc
RD
27223 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27224 wxDateSpan *result;
27225 PyObject * obj0 = 0 ;
27226 char *kwnames[] = {
27227 (char *) "self", NULL
27228 };
27229
27230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
093d3ff1
RD
27231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27232 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27233 {
27234 PyThreadState* __tstate = wxPyBeginAllowThreads();
27235 {
27236 wxDateSpan &_result_ref = (arg1)->Neg();
27237 result = (wxDateSpan *) &_result_ref;
27238 }
27239
27240 wxPyEndAllowThreads(__tstate);
27241 if (PyErr_Occurred()) SWIG_fail;
27242 }
27243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27244 return resultobj;
27245 fail:
27246 return NULL;
27247}
27248
27249
c32bde28 27250static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27251 PyObject *resultobj = NULL;
d55e5bfc
RD
27252 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27253 int arg2 ;
27254 wxDateSpan *result;
27255 PyObject * obj0 = 0 ;
27256 PyObject * obj1 = 0 ;
27257 char *kwnames[] = {
27258 (char *) "self",(char *) "factor", NULL
27259 };
27260
27261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27263 if (SWIG_arg_fail(1)) SWIG_fail;
27264 {
7449af73 27265 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27266 if (SWIG_arg_fail(2)) SWIG_fail;
27267 }
d55e5bfc
RD
27268 {
27269 PyThreadState* __tstate = wxPyBeginAllowThreads();
27270 {
27271 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
27272 result = (wxDateSpan *) &_result_ref;
27273 }
27274
27275 wxPyEndAllowThreads(__tstate);
27276 if (PyErr_Occurred()) SWIG_fail;
27277 }
27278 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27279 return resultobj;
27280 fail:
27281 return NULL;
27282}
27283
27284
c32bde28 27285static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27286 PyObject *resultobj = NULL;
d55e5bfc
RD
27287 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27288 wxDateSpan *arg2 = 0 ;
27289 wxDateSpan *result;
27290 PyObject * obj0 = 0 ;
27291 PyObject * obj1 = 0 ;
27292 char *kwnames[] = {
27293 (char *) "self",(char *) "other", NULL
27294 };
27295
27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27298 if (SWIG_arg_fail(1)) SWIG_fail;
27299 {
27300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27301 if (SWIG_arg_fail(2)) SWIG_fail;
27302 if (arg2 == NULL) {
27303 SWIG_null_ref("wxDateSpan");
27304 }
27305 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27306 }
27307 {
27308 PyThreadState* __tstate = wxPyBeginAllowThreads();
27309 {
27310 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
27311 result = (wxDateSpan *) &_result_ref;
27312 }
27313
27314 wxPyEndAllowThreads(__tstate);
27315 if (PyErr_Occurred()) SWIG_fail;
27316 }
c32bde28 27317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27318 return resultobj;
27319 fail:
27320 return NULL;
27321}
27322
27323
c32bde28 27324static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27325 PyObject *resultobj = NULL;
d55e5bfc
RD
27326 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27327 wxDateSpan *arg2 = 0 ;
27328 wxDateSpan *result;
27329 PyObject * obj0 = 0 ;
27330 PyObject * obj1 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "self",(char *) "other", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27337 if (SWIG_arg_fail(1)) SWIG_fail;
27338 {
27339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27340 if (SWIG_arg_fail(2)) SWIG_fail;
27341 if (arg2 == NULL) {
27342 SWIG_null_ref("wxDateSpan");
27343 }
27344 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27345 }
27346 {
27347 PyThreadState* __tstate = wxPyBeginAllowThreads();
27348 {
27349 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
27350 result = (wxDateSpan *) &_result_ref;
27351 }
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
c32bde28 27356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27357 return resultobj;
27358 fail:
27359 return NULL;
27360}
27361
27362
c32bde28 27363static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27364 PyObject *resultobj = NULL;
d55e5bfc
RD
27365 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27366 wxDateSpan *result;
27367 PyObject * obj0 = 0 ;
27368 char *kwnames[] = {
27369 (char *) "self", NULL
27370 };
27371
27372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
093d3ff1
RD
27373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27375 {
27376 PyThreadState* __tstate = wxPyBeginAllowThreads();
27377 {
27378 wxDateSpan &_result_ref = (arg1)->operator -();
27379 result = (wxDateSpan *) &_result_ref;
27380 }
27381
27382 wxPyEndAllowThreads(__tstate);
27383 if (PyErr_Occurred()) SWIG_fail;
27384 }
27385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27386 return resultobj;
27387 fail:
27388 return NULL;
27389}
27390
27391
c32bde28 27392static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27393 PyObject *resultobj = NULL;
d55e5bfc
RD
27394 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27395 int arg2 ;
27396 wxDateSpan *result;
27397 PyObject * obj0 = 0 ;
27398 PyObject * obj1 = 0 ;
27399 char *kwnames[] = {
27400 (char *) "self",(char *) "factor", NULL
27401 };
27402
27403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27405 if (SWIG_arg_fail(1)) SWIG_fail;
27406 {
7449af73 27407 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27408 if (SWIG_arg_fail(2)) SWIG_fail;
27409 }
d55e5bfc
RD
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 {
27413 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
27414 result = (wxDateSpan *) &_result_ref;
27415 }
27416
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
c32bde28 27420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27421 return resultobj;
27422 fail:
27423 return NULL;
27424}
27425
27426
c32bde28 27427static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27428 PyObject *resultobj = NULL;
d55e5bfc
RD
27429 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27430 wxDateSpan *arg2 = 0 ;
27431 wxDateSpan result;
27432 PyObject * obj0 = 0 ;
27433 PyObject * obj1 = 0 ;
27434 char *kwnames[] = {
27435 (char *) "self",(char *) "other", NULL
27436 };
27437
27438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27440 if (SWIG_arg_fail(1)) SWIG_fail;
27441 {
27442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27443 if (SWIG_arg_fail(2)) SWIG_fail;
27444 if (arg2 == NULL) {
27445 SWIG_null_ref("wxDateSpan");
27446 }
27447 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27448 }
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
27452
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 {
27457 wxDateSpan * resultptr;
7449af73 27458 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27460 }
27461 return resultobj;
27462 fail:
27463 return NULL;
27464}
27465
27466
c32bde28 27467static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27468 PyObject *resultobj = NULL;
d55e5bfc
RD
27469 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27470 wxDateSpan *arg2 = 0 ;
27471 wxDateSpan result;
27472 PyObject * obj0 = 0 ;
27473 PyObject * obj1 = 0 ;
27474 char *kwnames[] = {
27475 (char *) "self",(char *) "other", NULL
27476 };
27477
27478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27480 if (SWIG_arg_fail(1)) SWIG_fail;
27481 {
27482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27483 if (SWIG_arg_fail(2)) SWIG_fail;
27484 if (arg2 == NULL) {
27485 SWIG_null_ref("wxDateSpan");
27486 }
27487 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27488 }
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 {
27497 wxDateSpan * resultptr;
7449af73 27498 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27500 }
27501 return resultobj;
27502 fail:
27503 return NULL;
27504}
27505
27506
c32bde28 27507static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27508 PyObject *resultobj = NULL;
d55e5bfc
RD
27509 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27510 int arg2 ;
27511 wxDateSpan result;
27512 PyObject * obj0 = 0 ;
27513 PyObject * obj1 = 0 ;
27514 char *kwnames[] = {
27515 (char *) "self",(char *) "n", NULL
27516 };
27517
27518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27520 if (SWIG_arg_fail(1)) SWIG_fail;
27521 {
7449af73 27522 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27523 if (SWIG_arg_fail(2)) SWIG_fail;
27524 }
d55e5bfc
RD
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 result = wxDateSpan___mul__(arg1,arg2);
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 {
27533 wxDateSpan * resultptr;
7449af73 27534 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27535 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27536 }
27537 return resultobj;
27538 fail:
27539 return NULL;
27540}
27541
27542
c32bde28 27543static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27544 PyObject *resultobj = NULL;
d55e5bfc
RD
27545 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27546 int arg2 ;
27547 wxDateSpan result;
27548 PyObject * obj0 = 0 ;
27549 PyObject * obj1 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "self",(char *) "n", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27556 if (SWIG_arg_fail(1)) SWIG_fail;
27557 {
7449af73 27558 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
27559 if (SWIG_arg_fail(2)) SWIG_fail;
27560 }
d55e5bfc
RD
27561 {
27562 PyThreadState* __tstate = wxPyBeginAllowThreads();
27563 result = wxDateSpan___rmul__(arg1,arg2);
27564
27565 wxPyEndAllowThreads(__tstate);
27566 if (PyErr_Occurred()) SWIG_fail;
27567 }
27568 {
27569 wxDateSpan * resultptr;
7449af73 27570 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27572 }
27573 return resultobj;
27574 fail:
27575 return NULL;
27576}
27577
27578
c32bde28 27579static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27580 PyObject *resultobj = NULL;
d55e5bfc
RD
27581 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27582 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
27583 bool result;
27584 PyObject * obj0 = 0 ;
27585 PyObject * obj1 = 0 ;
27586 char *kwnames[] = {
27587 (char *) "self",(char *) "other", NULL
27588 };
27589
27590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail;
27593 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27594 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27595 {
27596 PyThreadState* __tstate = wxPyBeginAllowThreads();
27597 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
27598
27599 wxPyEndAllowThreads(__tstate);
27600 if (PyErr_Occurred()) SWIG_fail;
27601 }
27602 {
27603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27604 }
27605 return resultobj;
27606 fail:
27607 return NULL;
27608}
27609
27610
c32bde28 27611static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27612 PyObject *resultobj = NULL;
d55e5bfc
RD
27613 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27614 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
27615 bool result;
27616 PyObject * obj0 = 0 ;
27617 PyObject * obj1 = 0 ;
27618 char *kwnames[] = {
27619 (char *) "self",(char *) "other", NULL
27620 };
27621
27622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
27623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27624 if (SWIG_arg_fail(1)) SWIG_fail;
27625 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27626 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27627 {
27628 PyThreadState* __tstate = wxPyBeginAllowThreads();
27629 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
27630
27631 wxPyEndAllowThreads(__tstate);
27632 if (PyErr_Occurred()) SWIG_fail;
27633 }
27634 {
27635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27636 }
27637 return resultobj;
27638 fail:
27639 return NULL;
27640}
27641
27642
c32bde28 27643static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27644 PyObject *obj;
27645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27646 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
27647 Py_INCREF(obj);
27648 return Py_BuildValue((char *)"");
27649}
c32bde28 27650static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27651 PyObject *resultobj = NULL;
d55e5bfc
RD
27652 long result;
27653 char *kwnames[] = {
27654 NULL
27655 };
27656
27657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
27658 {
27659 PyThreadState* __tstate = wxPyBeginAllowThreads();
27660 result = (long)wxGetLocalTime();
27661
27662 wxPyEndAllowThreads(__tstate);
27663 if (PyErr_Occurred()) SWIG_fail;
27664 }
093d3ff1 27665 {
7449af73 27666 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27667 }
d55e5bfc
RD
27668 return resultobj;
27669 fail:
27670 return NULL;
27671}
27672
27673
c32bde28 27674static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27675 PyObject *resultobj = NULL;
d55e5bfc
RD
27676 long result;
27677 char *kwnames[] = {
27678 NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
27682 {
27683 PyThreadState* __tstate = wxPyBeginAllowThreads();
27684 result = (long)wxGetUTCTime();
27685
27686 wxPyEndAllowThreads(__tstate);
27687 if (PyErr_Occurred()) SWIG_fail;
27688 }
093d3ff1 27689 {
7449af73 27690 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27691 }
d55e5bfc
RD
27692 return resultobj;
27693 fail:
27694 return NULL;
27695}
27696
27697
c32bde28 27698static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27699 PyObject *resultobj = NULL;
d55e5bfc
RD
27700 long result;
27701 char *kwnames[] = {
27702 NULL
27703 };
27704
27705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
27706 {
27707 PyThreadState* __tstate = wxPyBeginAllowThreads();
27708 result = (long)wxGetCurrentTime();
27709
27710 wxPyEndAllowThreads(__tstate);
27711 if (PyErr_Occurred()) SWIG_fail;
27712 }
093d3ff1 27713 {
7449af73 27714 resultobj = SWIG_From_long(static_cast<long >(result));
093d3ff1 27715 }
d55e5bfc
RD
27716 return resultobj;
27717 fail:
27718 return NULL;
27719}
27720
27721
c32bde28 27722static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27723 PyObject *resultobj = NULL;
d55e5bfc
RD
27724 wxLongLong result;
27725 char *kwnames[] = {
27726 NULL
27727 };
27728
27729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
27730 {
27731 PyThreadState* __tstate = wxPyBeginAllowThreads();
27732 result = wxGetLocalTimeMillis();
27733
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 {
27738 PyObject *hi, *lo, *shifter, *shifted;
27739 hi = PyLong_FromLong( (&result)->GetHi() );
27740 lo = PyLong_FromLong( (&result)->GetLo() );
27741 shifter = PyLong_FromLong(32);
27742 shifted = PyNumber_Lshift(hi, shifter);
27743 resultobj = PyNumber_Or(shifted, lo);
27744 Py_DECREF(hi);
27745 Py_DECREF(lo);
27746 Py_DECREF(shifter);
27747 Py_DECREF(shifted);
27748 }
27749 return resultobj;
27750 fail:
27751 return NULL;
27752}
27753
27754
c32bde28 27755static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
27756 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
27757 return 1;
27758}
27759
27760
093d3ff1 27761static PyObject *_wrap_DefaultDateTime_get(void) {
7449af73 27762 PyObject *pyobj = NULL;
d55e5bfc
RD
27763
27764 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
27765 return pyobj;
27766}
27767
27768
c32bde28 27769static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27770 PyObject *resultobj = NULL;
093d3ff1 27771 wxDataFormatId arg1 ;
d55e5bfc
RD
27772 wxDataFormat *result;
27773 PyObject * obj0 = 0 ;
27774 char *kwnames[] = {
27775 (char *) "type", NULL
27776 };
27777
27778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1 27779 {
7449af73 27780 arg1 = static_cast<wxDataFormatId >(SWIG_As_int(obj0));
093d3ff1
RD
27781 if (SWIG_arg_fail(1)) SWIG_fail;
27782 }
d55e5bfc
RD
27783 {
27784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27785 result = (wxDataFormat *)new wxDataFormat(arg1);
d55e5bfc
RD
27786
27787 wxPyEndAllowThreads(__tstate);
27788 if (PyErr_Occurred()) SWIG_fail;
27789 }
27790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
27791 return resultobj;
27792 fail:
27793 return NULL;
27794}
27795
27796
c32bde28 27797static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27798 PyObject *resultobj = NULL;
d55e5bfc
RD
27799 wxString *arg1 = 0 ;
27800 wxDataFormat *result;
ae8162c8 27801 bool temp1 = false ;
d55e5bfc
RD
27802 PyObject * obj0 = 0 ;
27803 char *kwnames[] = {
27804 (char *) "format", NULL
27805 };
27806
27807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
27808 {
27809 arg1 = wxString_in_helper(obj0);
27810 if (arg1 == NULL) SWIG_fail;
ae8162c8 27811 temp1 = true;
d55e5bfc
RD
27812 }
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
27821 {
27822 if (temp1)
27823 delete arg1;
27824 }
27825 return resultobj;
27826 fail:
27827 {
27828 if (temp1)
27829 delete arg1;
27830 }
27831 return NULL;
27832}
27833
27834
c32bde28 27835static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 27836 PyObject *resultobj = NULL;
d55e5bfc
RD
27837 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27838 PyObject * obj0 = 0 ;
27839 char *kwnames[] = {
27840 (char *) "self", NULL
27841 };
27842
27843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
27844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27845 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27846 {
27847 PyThreadState* __tstate = wxPyBeginAllowThreads();
27848 delete arg1;
27849
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 Py_INCREF(Py_None); resultobj = Py_None;
27854 return resultobj;
27855 fail:
27856 return NULL;
27857}
27858
27859
c32bde28 27860static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
7449af73 27861 PyObject *resultobj = NULL;
d55e5bfc 27862 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27863 wxDataFormatId arg2 ;
d55e5bfc
RD
27864 bool result;
27865 PyObject * obj0 = 0 ;
27866 PyObject * obj1 = 0 ;
27867
27868 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27870 if (SWIG_arg_fail(1)) SWIG_fail;
27871 {
7449af73 27872 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
093d3ff1
RD
27873 if (SWIG_arg_fail(2)) SWIG_fail;
27874 }
d55e5bfc
RD
27875 {
27876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27877 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
d55e5bfc
RD
27878
27879 wxPyEndAllowThreads(__tstate);
27880 if (PyErr_Occurred()) SWIG_fail;
27881 }
27882 {
27883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27884 }
27885 return resultobj;
27886 fail:
27887 return NULL;
27888}
27889
27890
c32bde28 27891static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
7449af73 27892 PyObject *resultobj = NULL;
d55e5bfc 27893 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 27894 wxDataFormatId arg2 ;
d55e5bfc
RD
27895 bool result;
27896 PyObject * obj0 = 0 ;
27897 PyObject * obj1 = 0 ;
27898
27899 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27901 if (SWIG_arg_fail(1)) SWIG_fail;
27902 {
7449af73 27903 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
093d3ff1
RD
27904 if (SWIG_arg_fail(2)) SWIG_fail;
27905 }
d55e5bfc
RD
27906 {
27907 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 27908 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
d55e5bfc
RD
27909
27910 wxPyEndAllowThreads(__tstate);
27911 if (PyErr_Occurred()) SWIG_fail;
27912 }
27913 {
27914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27915 }
27916 return resultobj;
27917 fail:
27918 return NULL;
27919}
27920
27921
c32bde28 27922static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
7449af73 27923 PyObject *resultobj = NULL;
d55e5bfc
RD
27924 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27925 wxDataFormat *arg2 = 0 ;
27926 bool result;
27927 PyObject * obj0 = 0 ;
27928 PyObject * obj1 = 0 ;
27929
27930 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
093d3ff1
RD
27931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27932 if (SWIG_arg_fail(1)) SWIG_fail;
27933 {
27934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27935 if (SWIG_arg_fail(2)) SWIG_fail;
27936 if (arg2 == NULL) {
27937 SWIG_null_ref("wxDataFormat");
27938 }
27939 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27940 }
27941 {
27942 PyThreadState* __tstate = wxPyBeginAllowThreads();
27943 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
27944
27945 wxPyEndAllowThreads(__tstate);
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
27948 {
27949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27950 }
27951 return resultobj;
27952 fail:
27953 return NULL;
27954}
27955
27956
27957static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
27958 int argc;
27959 PyObject *argv[3];
27960 int ii;
27961
27962 argc = PyObject_Length(args);
27963 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27964 argv[ii] = PyTuple_GetItem(args,ii);
27965 }
27966 if (argc == 2) {
27967 int _v;
27968 {
27969 void *ptr;
27970 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27971 _v = 0;
27972 PyErr_Clear();
27973 } else {
27974 _v = 1;
27975 }
27976 }
27977 if (_v) {
27978 {
093d3ff1 27979 void *ptr = 0;
d55e5bfc
RD
27980 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27981 _v = 0;
27982 PyErr_Clear();
27983 } else {
093d3ff1 27984 _v = (ptr != 0);
d55e5bfc
RD
27985 }
27986 }
27987 if (_v) {
27988 return _wrap_DataFormat___eq____SWIG_1(self,args);
27989 }
27990 }
27991 }
27992 if (argc == 2) {
27993 int _v;
27994 {
27995 void *ptr;
27996 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27997 _v = 0;
27998 PyErr_Clear();
27999 } else {
28000 _v = 1;
28001 }
28002 }
28003 if (_v) {
c32bde28 28004 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
28005 if (_v) {
28006 return _wrap_DataFormat___eq____SWIG_0(self,args);
28007 }
28008 }
28009 }
28010
093d3ff1
RD
28011 Py_INCREF(Py_NotImplemented);
28012 return Py_NotImplemented;
d55e5bfc
RD
28013}
28014
28015
c32bde28 28016static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
7449af73 28017 PyObject *resultobj = NULL;
d55e5bfc
RD
28018 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28019 wxDataFormat *arg2 = 0 ;
28020 bool result;
28021 PyObject * obj0 = 0 ;
28022 PyObject * obj1 = 0 ;
28023
28024 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
093d3ff1
RD
28025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28026 if (SWIG_arg_fail(1)) SWIG_fail;
28027 {
28028 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28029 if (SWIG_arg_fail(2)) SWIG_fail;
28030 if (arg2 == NULL) {
28031 SWIG_null_ref("wxDataFormat");
28032 }
28033 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28034 }
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
28038
28039 wxPyEndAllowThreads(__tstate);
28040 if (PyErr_Occurred()) SWIG_fail;
28041 }
28042 {
28043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28044 }
28045 return resultobj;
28046 fail:
28047 return NULL;
28048}
28049
28050
28051static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
28052 int argc;
28053 PyObject *argv[3];
28054 int ii;
28055
28056 argc = PyObject_Length(args);
28057 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
28058 argv[ii] = PyTuple_GetItem(args,ii);
28059 }
28060 if (argc == 2) {
28061 int _v;
28062 {
28063 void *ptr;
28064 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28065 _v = 0;
28066 PyErr_Clear();
28067 } else {
28068 _v = 1;
28069 }
28070 }
28071 if (_v) {
28072 {
093d3ff1 28073 void *ptr = 0;
d55e5bfc
RD
28074 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28075 _v = 0;
28076 PyErr_Clear();
28077 } else {
093d3ff1 28078 _v = (ptr != 0);
d55e5bfc
RD
28079 }
28080 }
28081 if (_v) {
28082 return _wrap_DataFormat___ne____SWIG_1(self,args);
28083 }
28084 }
28085 }
28086 if (argc == 2) {
28087 int _v;
28088 {
28089 void *ptr;
28090 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28091 _v = 0;
28092 PyErr_Clear();
28093 } else {
28094 _v = 1;
28095 }
28096 }
28097 if (_v) {
c32bde28 28098 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
28099 if (_v) {
28100 return _wrap_DataFormat___ne____SWIG_0(self,args);
28101 }
28102 }
28103 }
28104
093d3ff1
RD
28105 Py_INCREF(Py_NotImplemented);
28106 return Py_NotImplemented;
d55e5bfc
RD
28107}
28108
28109
c32bde28 28110static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28111 PyObject *resultobj = NULL;
d55e5bfc 28112 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 28113 wxDataFormatId arg2 ;
d55e5bfc
RD
28114 PyObject * obj0 = 0 ;
28115 PyObject * obj1 = 0 ;
28116 char *kwnames[] = {
28117 (char *) "self",(char *) "format", NULL
28118 };
28119
28120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28122 if (SWIG_arg_fail(1)) SWIG_fail;
28123 {
7449af73 28124 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
093d3ff1
RD
28125 if (SWIG_arg_fail(2)) SWIG_fail;
28126 }
d55e5bfc
RD
28127 {
28128 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28129 (arg1)->SetType(arg2);
d55e5bfc
RD
28130
28131 wxPyEndAllowThreads(__tstate);
28132 if (PyErr_Occurred()) SWIG_fail;
28133 }
28134 Py_INCREF(Py_None); resultobj = Py_None;
28135 return resultobj;
28136 fail:
28137 return NULL;
28138}
28139
28140
c32bde28 28141static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28142 PyObject *resultobj = NULL;
d55e5bfc 28143 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
093d3ff1 28144 wxDataFormatId result;
d55e5bfc
RD
28145 PyObject * obj0 = 0 ;
28146 char *kwnames[] = {
28147 (char *) "self", NULL
28148 };
28149
28150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
093d3ff1
RD
28151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28152 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28153 {
28154 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28155 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d55e5bfc
RD
28156
28157 wxPyEndAllowThreads(__tstate);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 }
093d3ff1 28160 resultobj = SWIG_From_int((result));
d55e5bfc
RD
28161 return resultobj;
28162 fail:
28163 return NULL;
28164}
28165
28166
c32bde28 28167static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28168 PyObject *resultobj = NULL;
d55e5bfc
RD
28169 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28170 wxString result;
28171 PyObject * obj0 = 0 ;
28172 char *kwnames[] = {
28173 (char *) "self", NULL
28174 };
28175
28176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
093d3ff1
RD
28177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 result = ((wxDataFormat const *)arg1)->GetId();
28182
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 {
28187#if wxUSE_UNICODE
28188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28189#else
28190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28191#endif
28192 }
28193 return resultobj;
28194 fail:
28195 return NULL;
28196}
28197
28198
c32bde28 28199static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28200 PyObject *resultobj = NULL;
d55e5bfc
RD
28201 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28202 wxString *arg2 = 0 ;
ae8162c8 28203 bool temp2 = false ;
d55e5bfc
RD
28204 PyObject * obj0 = 0 ;
28205 PyObject * obj1 = 0 ;
28206 char *kwnames[] = {
28207 (char *) "self",(char *) "format", NULL
28208 };
28209
28210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28213 {
28214 arg2 = wxString_in_helper(obj1);
28215 if (arg2 == NULL) SWIG_fail;
ae8162c8 28216 temp2 = true;
d55e5bfc
RD
28217 }
28218 {
28219 PyThreadState* __tstate = wxPyBeginAllowThreads();
28220 (arg1)->SetId((wxString const &)*arg2);
28221
28222 wxPyEndAllowThreads(__tstate);
28223 if (PyErr_Occurred()) SWIG_fail;
28224 }
28225 Py_INCREF(Py_None); resultobj = Py_None;
28226 {
28227 if (temp2)
28228 delete arg2;
28229 }
28230 return resultobj;
28231 fail:
28232 {
28233 if (temp2)
28234 delete arg2;
28235 }
28236 return NULL;
28237}
28238
28239
c32bde28 28240static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28241 PyObject *obj;
28242 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28243 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
28244 Py_INCREF(obj);
28245 return Py_BuildValue((char *)"");
28246}
c32bde28 28247static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
28248 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
28249 return 1;
28250}
28251
28252
093d3ff1 28253static PyObject *_wrap_FormatInvalid_get(void) {
7449af73 28254 PyObject *pyobj = NULL;
d55e5bfc
RD
28255
28256 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
28257 return pyobj;
28258}
28259
28260
c32bde28 28261static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28262 PyObject *resultobj = NULL;
d55e5bfc
RD
28263 wxDataObject *arg1 = (wxDataObject *) 0 ;
28264 PyObject * obj0 = 0 ;
28265 char *kwnames[] = {
28266 (char *) "self", NULL
28267 };
28268
28269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
28270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28271 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28272 {
28273 PyThreadState* __tstate = wxPyBeginAllowThreads();
28274 delete arg1;
28275
28276 wxPyEndAllowThreads(__tstate);
28277 if (PyErr_Occurred()) SWIG_fail;
28278 }
28279 Py_INCREF(Py_None); resultobj = Py_None;
28280 return resultobj;
28281 fail:
28282 return NULL;
28283}
28284
28285
c32bde28 28286static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28287 PyObject *resultobj = NULL;
d55e5bfc 28288 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1
RD
28289 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
28290 SwigValueWrapper<wxDataFormat > result;
d55e5bfc
RD
28291 PyObject * obj0 = 0 ;
28292 PyObject * obj1 = 0 ;
28293 char *kwnames[] = {
28294 (char *) "self",(char *) "dir", NULL
28295 };
28296
28297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28299 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28300 if (obj1) {
093d3ff1 28301 {
7449af73 28302 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
093d3ff1
RD
28303 if (SWIG_arg_fail(2)) SWIG_fail;
28304 }
d55e5bfc
RD
28305 }
28306 {
28307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28308 result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2);
d55e5bfc
RD
28309
28310 wxPyEndAllowThreads(__tstate);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 }
28313 {
28314 wxDataFormat * resultptr;
7449af73 28315 resultptr = new wxDataFormat(static_cast<wxDataFormat & >(result));
d55e5bfc
RD
28316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
28317 }
28318 return resultobj;
28319 fail:
28320 return NULL;
28321}
28322
28323
c32bde28 28324static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28325 PyObject *resultobj = NULL;
d55e5bfc 28326 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 28327 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
28328 size_t result;
28329 PyObject * obj0 = 0 ;
28330 PyObject * obj1 = 0 ;
28331 char *kwnames[] = {
28332 (char *) "self",(char *) "dir", NULL
28333 };
28334
28335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28338 if (obj1) {
093d3ff1 28339 {
7449af73 28340 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
093d3ff1
RD
28341 if (SWIG_arg_fail(2)) SWIG_fail;
28342 }
d55e5bfc
RD
28343 }
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28346 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2);
d55e5bfc
RD
28347
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
093d3ff1 28351 {
7449af73 28352 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28353 }
d55e5bfc
RD
28354 return resultobj;
28355 fail:
28356 return NULL;
28357}
28358
28359
c32bde28 28360static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28361 PyObject *resultobj = NULL;
d55e5bfc
RD
28362 wxDataObject *arg1 = (wxDataObject *) 0 ;
28363 wxDataFormat *arg2 = 0 ;
093d3ff1 28364 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
28365 bool result;
28366 PyObject * obj0 = 0 ;
28367 PyObject * obj1 = 0 ;
28368 PyObject * obj2 = 0 ;
28369 char *kwnames[] = {
28370 (char *) "self",(char *) "format",(char *) "dir", NULL
28371 };
28372
28373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail;
28376 {
28377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28378 if (SWIG_arg_fail(2)) SWIG_fail;
28379 if (arg2 == NULL) {
28380 SWIG_null_ref("wxDataFormat");
28381 }
28382 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28383 }
28384 if (obj2) {
093d3ff1 28385 {
7449af73 28386 arg3 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj2));
093d3ff1
RD
28387 if (SWIG_arg_fail(3)) SWIG_fail;
28388 }
d55e5bfc
RD
28389 }
28390 {
28391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28392 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
28393
28394 wxPyEndAllowThreads(__tstate);
28395 if (PyErr_Occurred()) SWIG_fail;
28396 }
28397 {
28398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28399 }
28400 return resultobj;
28401 fail:
28402 return NULL;
28403}
28404
28405
c32bde28 28406static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28407 PyObject *resultobj = NULL;
d55e5bfc
RD
28408 wxDataObject *arg1 = (wxDataObject *) 0 ;
28409 wxDataFormat *arg2 = 0 ;
28410 size_t result;
28411 PyObject * obj0 = 0 ;
28412 PyObject * obj1 = 0 ;
28413 char *kwnames[] = {
28414 (char *) "self",(char *) "format", NULL
28415 };
28416
28417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28419 if (SWIG_arg_fail(1)) SWIG_fail;
28420 {
28421 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28422 if (SWIG_arg_fail(2)) SWIG_fail;
28423 if (arg2 == NULL) {
28424 SWIG_null_ref("wxDataFormat");
28425 }
28426 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28427 }
28428 {
28429 PyThreadState* __tstate = wxPyBeginAllowThreads();
28430 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
28431
28432 wxPyEndAllowThreads(__tstate);
28433 if (PyErr_Occurred()) SWIG_fail;
28434 }
093d3ff1 28435 {
7449af73 28436 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28437 }
d55e5bfc
RD
28438 return resultobj;
28439 fail:
28440 return NULL;
28441}
28442
28443
c32bde28 28444static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28445 PyObject *resultobj = NULL;
d55e5bfc 28446 wxDataObject *arg1 = (wxDataObject *) 0 ;
093d3ff1 28447 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
a07a67e6 28448 PyObject *result;
d55e5bfc
RD
28449 PyObject * obj0 = 0 ;
28450 PyObject * obj1 = 0 ;
d55e5bfc 28451 char *kwnames[] = {
a07a67e6 28452 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
28453 };
28454
a07a67e6 28455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28457 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6 28458 if (obj1) {
093d3ff1 28459 {
7449af73 28460 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
093d3ff1
RD
28461 if (SWIG_arg_fail(2)) SWIG_fail;
28462 }
d55e5bfc
RD
28463 }
28464 {
28465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 28466 result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2);
d55e5bfc
RD
28467
28468 wxPyEndAllowThreads(__tstate);
28469 if (PyErr_Occurred()) SWIG_fail;
28470 }
a07a67e6 28471 resultobj = result;
d55e5bfc
RD
28472 return resultobj;
28473 fail:
28474 return NULL;
28475}
28476
28477
c32bde28 28478static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28479 PyObject *resultobj = NULL;
d55e5bfc
RD
28480 wxDataObject *arg1 = (wxDataObject *) 0 ;
28481 wxDataFormat *arg2 = 0 ;
a07a67e6 28482 PyObject *result;
d55e5bfc
RD
28483 PyObject * obj0 = 0 ;
28484 PyObject * obj1 = 0 ;
d55e5bfc 28485 char *kwnames[] = {
a07a67e6 28486 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
28487 };
28488
a07a67e6 28489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28491 if (SWIG_arg_fail(1)) SWIG_fail;
28492 {
28493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28494 if (SWIG_arg_fail(2)) SWIG_fail;
28495 if (arg2 == NULL) {
28496 SWIG_null_ref("wxDataFormat");
28497 }
28498 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28499 }
d55e5bfc
RD
28500 {
28501 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 28502 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
28503
28504 wxPyEndAllowThreads(__tstate);
28505 if (PyErr_Occurred()) SWIG_fail;
28506 }
a07a67e6 28507 resultobj = result;
d55e5bfc
RD
28508 return resultobj;
28509 fail:
28510 return NULL;
28511}
28512
28513
c32bde28 28514static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28515 PyObject *resultobj = NULL;
d55e5bfc
RD
28516 wxDataObject *arg1 = (wxDataObject *) 0 ;
28517 wxDataFormat *arg2 = 0 ;
a07a67e6 28518 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
28519 bool result;
28520 PyObject * obj0 = 0 ;
28521 PyObject * obj1 = 0 ;
28522 PyObject * obj2 = 0 ;
d55e5bfc 28523 char *kwnames[] = {
a07a67e6 28524 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
28525 };
28526
a07a67e6 28527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28528 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28529 if (SWIG_arg_fail(1)) SWIG_fail;
28530 {
28531 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28532 if (SWIG_arg_fail(2)) SWIG_fail;
28533 if (arg2 == NULL) {
28534 SWIG_null_ref("wxDataFormat");
28535 }
28536 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28537 }
a07a67e6 28538 arg3 = obj2;
d55e5bfc
RD
28539 {
28540 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 28541 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
28542
28543 wxPyEndAllowThreads(__tstate);
28544 if (PyErr_Occurred()) SWIG_fail;
28545 }
28546 {
28547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28548 }
28549 return resultobj;
28550 fail:
28551 return NULL;
28552}
28553
28554
c32bde28 28555static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28556 PyObject *obj;
28557 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28558 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
28559 Py_INCREF(obj);
28560 return Py_BuildValue((char *)"");
28561}
c32bde28 28562static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28563 PyObject *resultobj = NULL;
d55e5bfc
RD
28564 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
28565 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
28566 wxDataObjectSimple *result;
28567 PyObject * obj0 = 0 ;
28568 char *kwnames[] = {
28569 (char *) "format", NULL
28570 };
28571
28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
28573 if (obj0) {
093d3ff1
RD
28574 {
28575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail;
28577 if (arg1 == NULL) {
28578 SWIG_null_ref("wxDataFormat");
28579 }
28580 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28581 }
28582 }
28583 {
28584 PyThreadState* __tstate = wxPyBeginAllowThreads();
28585 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
28586
28587 wxPyEndAllowThreads(__tstate);
28588 if (PyErr_Occurred()) SWIG_fail;
28589 }
28590 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
28591 return resultobj;
28592 fail:
28593 return NULL;
28594}
28595
28596
c32bde28 28597static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28598 PyObject *resultobj = NULL;
d55e5bfc
RD
28599 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28600 wxDataFormat *result;
28601 PyObject * obj0 = 0 ;
28602 char *kwnames[] = {
28603 (char *) "self", NULL
28604 };
28605
28606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
093d3ff1
RD
28607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28609 {
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 {
28612 wxDataFormat const &_result_ref = (arg1)->GetFormat();
28613 result = (wxDataFormat *) &_result_ref;
28614 }
28615
28616 wxPyEndAllowThreads(__tstate);
28617 if (PyErr_Occurred()) SWIG_fail;
28618 }
28619 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
28620 return resultobj;
28621 fail:
28622 return NULL;
28623}
28624
28625
c32bde28 28626static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28627 PyObject *resultobj = NULL;
d55e5bfc
RD
28628 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28629 wxDataFormat *arg2 = 0 ;
28630 PyObject * obj0 = 0 ;
28631 PyObject * obj1 = 0 ;
28632 char *kwnames[] = {
28633 (char *) "self",(char *) "format", NULL
28634 };
28635
28636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28638 if (SWIG_arg_fail(1)) SWIG_fail;
28639 {
28640 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28641 if (SWIG_arg_fail(2)) SWIG_fail;
28642 if (arg2 == NULL) {
28643 SWIG_null_ref("wxDataFormat");
28644 }
28645 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28646 }
28647 {
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 (arg1)->SetFormat((wxDataFormat const &)*arg2);
28650
28651 wxPyEndAllowThreads(__tstate);
28652 if (PyErr_Occurred()) SWIG_fail;
28653 }
28654 Py_INCREF(Py_None); resultobj = Py_None;
28655 return resultobj;
28656 fail:
28657 return NULL;
28658}
28659
28660
c32bde28 28661static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28662 PyObject *resultobj = NULL;
a07a67e6
RD
28663 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28664 size_t result;
28665 PyObject * obj0 = 0 ;
28666 char *kwnames[] = {
28667 (char *) "self", NULL
28668 };
28669
28670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
28671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28672 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
28673 {
28674 PyThreadState* __tstate = wxPyBeginAllowThreads();
28675 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
28676
28677 wxPyEndAllowThreads(__tstate);
28678 if (PyErr_Occurred()) SWIG_fail;
28679 }
093d3ff1 28680 {
7449af73 28681 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28682 }
a07a67e6
RD
28683 return resultobj;
28684 fail:
28685 return NULL;
28686}
28687
28688
c32bde28 28689static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28690 PyObject *resultobj = NULL;
a07a67e6
RD
28691 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28692 PyObject *result;
28693 PyObject * obj0 = 0 ;
28694 char *kwnames[] = {
28695 (char *) "self", NULL
28696 };
28697
28698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
093d3ff1
RD
28699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28700 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
28701 {
28702 PyThreadState* __tstate = wxPyBeginAllowThreads();
28703 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
28704
28705 wxPyEndAllowThreads(__tstate);
28706 if (PyErr_Occurred()) SWIG_fail;
28707 }
28708 resultobj = result;
28709 return resultobj;
28710 fail:
28711 return NULL;
28712}
28713
28714
c32bde28 28715static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28716 PyObject *resultobj = NULL;
a07a67e6
RD
28717 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28718 PyObject *arg2 = (PyObject *) 0 ;
28719 bool result;
28720 PyObject * obj0 = 0 ;
28721 PyObject * obj1 = 0 ;
28722 char *kwnames[] = {
28723 (char *) "self",(char *) "data", NULL
28724 };
28725
28726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
28727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28728 if (SWIG_arg_fail(1)) SWIG_fail;
a07a67e6
RD
28729 arg2 = obj1;
28730 {
28731 PyThreadState* __tstate = wxPyBeginAllowThreads();
28732 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
28733
28734 wxPyEndAllowThreads(__tstate);
28735 if (PyErr_Occurred()) SWIG_fail;
28736 }
28737 {
28738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28739 }
28740 return resultobj;
28741 fail:
28742 return NULL;
28743}
28744
28745
c32bde28 28746static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28747 PyObject *obj;
28748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28749 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
28750 Py_INCREF(obj);
28751 return Py_BuildValue((char *)"");
28752}
c32bde28 28753static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28754 PyObject *resultobj = NULL;
d55e5bfc
RD
28755 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
28756 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
28757 wxPyDataObjectSimple *result;
28758 PyObject * obj0 = 0 ;
28759 char *kwnames[] = {
28760 (char *) "format", NULL
28761 };
28762
28763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
28764 if (obj0) {
093d3ff1
RD
28765 {
28766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28767 if (SWIG_arg_fail(1)) SWIG_fail;
28768 if (arg1 == NULL) {
28769 SWIG_null_ref("wxDataFormat");
28770 }
28771 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28772 }
28773 }
28774 {
28775 PyThreadState* __tstate = wxPyBeginAllowThreads();
28776 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
28777
28778 wxPyEndAllowThreads(__tstate);
28779 if (PyErr_Occurred()) SWIG_fail;
28780 }
28781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
28782 return resultobj;
28783 fail:
28784 return NULL;
28785}
28786
28787
c32bde28 28788static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28789 PyObject *resultobj = NULL;
d55e5bfc
RD
28790 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
28791 PyObject *arg2 = (PyObject *) 0 ;
28792 PyObject *arg3 = (PyObject *) 0 ;
28793 PyObject * obj0 = 0 ;
28794 PyObject * obj1 = 0 ;
28795 PyObject * obj2 = 0 ;
28796 char *kwnames[] = {
28797 (char *) "self",(char *) "self",(char *) "_class", NULL
28798 };
28799
28800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28803 arg2 = obj1;
28804 arg3 = obj2;
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 (arg1)->_setCallbackInfo(arg2,arg3);
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 Py_INCREF(Py_None); resultobj = Py_None;
28813 return resultobj;
28814 fail:
28815 return NULL;
28816}
28817
28818
c32bde28 28819static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28820 PyObject *obj;
28821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28822 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
28823 Py_INCREF(obj);
28824 return Py_BuildValue((char *)"");
28825}
c32bde28 28826static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28827 PyObject *resultobj = NULL;
d55e5bfc
RD
28828 wxDataObjectComposite *result;
28829 char *kwnames[] = {
28830 NULL
28831 };
28832
28833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
28834 {
28835 PyThreadState* __tstate = wxPyBeginAllowThreads();
28836 result = (wxDataObjectComposite *)new wxDataObjectComposite();
28837
28838 wxPyEndAllowThreads(__tstate);
28839 if (PyErr_Occurred()) SWIG_fail;
28840 }
28841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
28842 return resultobj;
28843 fail:
28844 return NULL;
28845}
28846
28847
c32bde28 28848static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28849 PyObject *resultobj = NULL;
d55e5bfc
RD
28850 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
28851 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
ae8162c8 28852 bool arg3 = (bool) false ;
d55e5bfc
RD
28853 PyObject * obj0 = 0 ;
28854 PyObject * obj1 = 0 ;
28855 PyObject * obj2 = 0 ;
28856 char *kwnames[] = {
28857 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28858 };
28859
28860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
28861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
28862 if (SWIG_arg_fail(1)) SWIG_fail;
28863 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28864 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28865 if (obj2) {
093d3ff1 28866 {
7449af73 28867 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
093d3ff1
RD
28868 if (SWIG_arg_fail(3)) SWIG_fail;
28869 }
d55e5bfc
RD
28870 }
28871 {
28872 PyThreadState* __tstate = wxPyBeginAllowThreads();
28873 (arg1)->Add(arg2,arg3);
28874
28875 wxPyEndAllowThreads(__tstate);
28876 if (PyErr_Occurred()) SWIG_fail;
28877 }
28878 Py_INCREF(Py_None); resultobj = Py_None;
28879 return resultobj;
28880 fail:
28881 return NULL;
28882}
28883
28884
c32bde28 28885static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28886 PyObject *obj;
28887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28888 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
28889 Py_INCREF(obj);
28890 return Py_BuildValue((char *)"");
28891}
c32bde28 28892static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28893 PyObject *resultobj = NULL;
d55e5bfc
RD
28894 wxString const &arg1_defvalue = wxPyEmptyString ;
28895 wxString *arg1 = (wxString *) &arg1_defvalue ;
28896 wxTextDataObject *result;
ae8162c8 28897 bool temp1 = false ;
d55e5bfc
RD
28898 PyObject * obj0 = 0 ;
28899 char *kwnames[] = {
28900 (char *) "text", NULL
28901 };
28902
28903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
28904 if (obj0) {
28905 {
28906 arg1 = wxString_in_helper(obj0);
28907 if (arg1 == NULL) SWIG_fail;
ae8162c8 28908 temp1 = true;
d55e5bfc
RD
28909 }
28910 }
28911 {
28912 PyThreadState* __tstate = wxPyBeginAllowThreads();
28913 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
28914
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
28919 {
28920 if (temp1)
28921 delete arg1;
28922 }
28923 return resultobj;
28924 fail:
28925 {
28926 if (temp1)
28927 delete arg1;
28928 }
28929 return NULL;
28930}
28931
28932
c32bde28 28933static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28934 PyObject *resultobj = NULL;
d55e5bfc
RD
28935 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28936 size_t result;
28937 PyObject * obj0 = 0 ;
28938 char *kwnames[] = {
28939 (char *) "self", NULL
28940 };
28941
28942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
093d3ff1
RD
28943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28944 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28945 {
28946 PyThreadState* __tstate = wxPyBeginAllowThreads();
28947 result = (size_t)(arg1)->GetTextLength();
28948
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
093d3ff1 28952 {
7449af73 28953 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 28954 }
d55e5bfc
RD
28955 return resultobj;
28956 fail:
28957 return NULL;
28958}
28959
28960
c32bde28 28961static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28962 PyObject *resultobj = NULL;
d55e5bfc
RD
28963 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28964 wxString result;
28965 PyObject * obj0 = 0 ;
28966 char *kwnames[] = {
28967 (char *) "self", NULL
28968 };
28969
28970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
28971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28973 {
28974 PyThreadState* __tstate = wxPyBeginAllowThreads();
28975 result = (arg1)->GetText();
28976
28977 wxPyEndAllowThreads(__tstate);
28978 if (PyErr_Occurred()) SWIG_fail;
28979 }
28980 {
28981#if wxUSE_UNICODE
28982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28983#else
28984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28985#endif
28986 }
28987 return resultobj;
28988 fail:
28989 return NULL;
28990}
28991
28992
c32bde28 28993static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 28994 PyObject *resultobj = NULL;
d55e5bfc
RD
28995 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28996 wxString *arg2 = 0 ;
ae8162c8 28997 bool temp2 = false ;
d55e5bfc
RD
28998 PyObject * obj0 = 0 ;
28999 PyObject * obj1 = 0 ;
29000 char *kwnames[] = {
29001 (char *) "self",(char *) "text", NULL
29002 };
29003
29004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
29006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29007 {
29008 arg2 = wxString_in_helper(obj1);
29009 if (arg2 == NULL) SWIG_fail;
ae8162c8 29010 temp2 = true;
d55e5bfc
RD
29011 }
29012 {
29013 PyThreadState* __tstate = wxPyBeginAllowThreads();
29014 (arg1)->SetText((wxString const &)*arg2);
29015
29016 wxPyEndAllowThreads(__tstate);
29017 if (PyErr_Occurred()) SWIG_fail;
29018 }
29019 Py_INCREF(Py_None); resultobj = Py_None;
29020 {
29021 if (temp2)
29022 delete arg2;
29023 }
29024 return resultobj;
29025 fail:
29026 {
29027 if (temp2)
29028 delete arg2;
29029 }
29030 return NULL;
29031}
29032
29033
c32bde28 29034static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29035 PyObject *obj;
29036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29037 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
29038 Py_INCREF(obj);
29039 return Py_BuildValue((char *)"");
29040}
c32bde28 29041static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29042 PyObject *resultobj = NULL;
d55e5bfc
RD
29043 wxString const &arg1_defvalue = wxPyEmptyString ;
29044 wxString *arg1 = (wxString *) &arg1_defvalue ;
29045 wxPyTextDataObject *result;
ae8162c8 29046 bool temp1 = false ;
d55e5bfc
RD
29047 PyObject * obj0 = 0 ;
29048 char *kwnames[] = {
29049 (char *) "text", NULL
29050 };
29051
29052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
29053 if (obj0) {
29054 {
29055 arg1 = wxString_in_helper(obj0);
29056 if (arg1 == NULL) SWIG_fail;
ae8162c8 29057 temp1 = true;
d55e5bfc
RD
29058 }
29059 }
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
29063
29064 wxPyEndAllowThreads(__tstate);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 }
29067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
29068 {
29069 if (temp1)
29070 delete arg1;
29071 }
29072 return resultobj;
29073 fail:
29074 {
29075 if (temp1)
29076 delete arg1;
29077 }
29078 return NULL;
29079}
29080
29081
c32bde28 29082static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29083 PyObject *resultobj = NULL;
d55e5bfc
RD
29084 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
29085 PyObject *arg2 = (PyObject *) 0 ;
29086 PyObject *arg3 = (PyObject *) 0 ;
29087 PyObject * obj0 = 0 ;
29088 PyObject * obj1 = 0 ;
29089 PyObject * obj2 = 0 ;
29090 char *kwnames[] = {
29091 (char *) "self",(char *) "self",(char *) "_class", NULL
29092 };
29093
29094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
29096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29097 arg2 = obj1;
29098 arg3 = obj2;
29099 {
29100 PyThreadState* __tstate = wxPyBeginAllowThreads();
29101 (arg1)->_setCallbackInfo(arg2,arg3);
29102
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 Py_INCREF(Py_None); resultobj = Py_None;
29107 return resultobj;
29108 fail:
29109 return NULL;
29110}
29111
29112
c32bde28 29113static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29114 PyObject *obj;
29115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29116 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
29117 Py_INCREF(obj);
29118 return Py_BuildValue((char *)"");
29119}
c32bde28 29120static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29121 PyObject *resultobj = NULL;
d55e5bfc
RD
29122 wxBitmap const &arg1_defvalue = wxNullBitmap ;
29123 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
29124 wxBitmapDataObject *result;
29125 PyObject * obj0 = 0 ;
29126 char *kwnames[] = {
29127 (char *) "bitmap", NULL
29128 };
29129
29130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
29131 if (obj0) {
093d3ff1
RD
29132 {
29133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29134 if (SWIG_arg_fail(1)) SWIG_fail;
29135 if (arg1 == NULL) {
29136 SWIG_null_ref("wxBitmap");
29137 }
29138 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29139 }
29140 }
29141 {
29142 PyThreadState* __tstate = wxPyBeginAllowThreads();
29143 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
29144
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
29149 return resultobj;
29150 fail:
29151 return NULL;
29152}
29153
29154
c32bde28 29155static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29156 PyObject *resultobj = NULL;
d55e5bfc
RD
29157 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
29158 wxBitmap result;
29159 PyObject * obj0 = 0 ;
29160 char *kwnames[] = {
29161 (char *) "self", NULL
29162 };
29163
29164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
093d3ff1
RD
29165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29166 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 {
29175 wxBitmap * resultptr;
7449af73 29176 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
29177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
29178 }
29179 return resultobj;
29180 fail:
29181 return NULL;
29182}
29183
29184
c32bde28 29185static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29186 PyObject *resultobj = NULL;
d55e5bfc
RD
29187 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
29188 wxBitmap *arg2 = 0 ;
29189 PyObject * obj0 = 0 ;
29190 PyObject * obj1 = 0 ;
29191 char *kwnames[] = {
29192 (char *) "self",(char *) "bitmap", NULL
29193 };
29194
29195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29197 if (SWIG_arg_fail(1)) SWIG_fail;
29198 {
29199 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29200 if (SWIG_arg_fail(2)) SWIG_fail;
29201 if (arg2 == NULL) {
29202 SWIG_null_ref("wxBitmap");
29203 }
29204 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29205 }
29206 {
29207 PyThreadState* __tstate = wxPyBeginAllowThreads();
29208 (arg1)->SetBitmap((wxBitmap const &)*arg2);
29209
29210 wxPyEndAllowThreads(__tstate);
29211 if (PyErr_Occurred()) SWIG_fail;
29212 }
29213 Py_INCREF(Py_None); resultobj = Py_None;
29214 return resultobj;
29215 fail:
29216 return NULL;
29217}
29218
29219
c32bde28 29220static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29221 PyObject *obj;
29222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29223 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
29224 Py_INCREF(obj);
29225 return Py_BuildValue((char *)"");
29226}
c32bde28 29227static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29228 PyObject *resultobj = NULL;
d55e5bfc
RD
29229 wxBitmap const &arg1_defvalue = wxNullBitmap ;
29230 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
29231 wxPyBitmapDataObject *result;
29232 PyObject * obj0 = 0 ;
29233 char *kwnames[] = {
29234 (char *) "bitmap", NULL
29235 };
29236
29237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
29238 if (obj0) {
093d3ff1
RD
29239 {
29240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29241 if (SWIG_arg_fail(1)) SWIG_fail;
29242 if (arg1 == NULL) {
29243 SWIG_null_ref("wxBitmap");
29244 }
29245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29246 }
29247 }
29248 {
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
29250 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
29251
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
29256 return resultobj;
29257 fail:
29258 return NULL;
29259}
29260
29261
c32bde28 29262static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29263 PyObject *resultobj = NULL;
d55e5bfc
RD
29264 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
29265 PyObject *arg2 = (PyObject *) 0 ;
29266 PyObject *arg3 = (PyObject *) 0 ;
29267 PyObject * obj0 = 0 ;
29268 PyObject * obj1 = 0 ;
29269 PyObject * obj2 = 0 ;
29270 char *kwnames[] = {
29271 (char *) "self",(char *) "self",(char *) "_class", NULL
29272 };
29273
29274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
29275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29277 arg2 = obj1;
29278 arg3 = obj2;
29279 {
29280 PyThreadState* __tstate = wxPyBeginAllowThreads();
29281 (arg1)->_setCallbackInfo(arg2,arg3);
29282
29283 wxPyEndAllowThreads(__tstate);
29284 if (PyErr_Occurred()) SWIG_fail;
29285 }
29286 Py_INCREF(Py_None); resultobj = Py_None;
29287 return resultobj;
29288 fail:
29289 return NULL;
29290}
29291
29292
c32bde28 29293static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29294 PyObject *obj;
29295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29296 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
29297 Py_INCREF(obj);
29298 return Py_BuildValue((char *)"");
29299}
c32bde28 29300static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29301 PyObject *resultobj = NULL;
d55e5bfc
RD
29302 wxFileDataObject *result;
29303 char *kwnames[] = {
29304 NULL
29305 };
29306
29307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
29308 {
29309 PyThreadState* __tstate = wxPyBeginAllowThreads();
29310 result = (wxFileDataObject *)new wxFileDataObject();
29311
29312 wxPyEndAllowThreads(__tstate);
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
29315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
29316 return resultobj;
29317 fail:
29318 return NULL;
29319}
29320
29321
c32bde28 29322static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29323 PyObject *resultobj = NULL;
d55e5bfc
RD
29324 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
29325 wxArrayString *result;
29326 PyObject * obj0 = 0 ;
29327 char *kwnames[] = {
29328 (char *) "self", NULL
29329 };
29330
29331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
093d3ff1
RD
29332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
29333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29334 {
29335 PyThreadState* __tstate = wxPyBeginAllowThreads();
29336 {
29337 wxArrayString const &_result_ref = (arg1)->GetFilenames();
29338 result = (wxArrayString *) &_result_ref;
29339 }
29340
29341 wxPyEndAllowThreads(__tstate);
29342 if (PyErr_Occurred()) SWIG_fail;
29343 }
29344 {
29345 resultobj = wxArrayString2PyList_helper(*result);
29346 }
29347 return resultobj;
29348 fail:
29349 return NULL;
29350}
29351
29352
c32bde28 29353static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29354 PyObject *resultobj = NULL;
d55e5bfc
RD
29355 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
29356 wxString *arg2 = 0 ;
ae8162c8 29357 bool temp2 = false ;
d55e5bfc
RD
29358 PyObject * obj0 = 0 ;
29359 PyObject * obj1 = 0 ;
29360 char *kwnames[] = {
29361 (char *) "self",(char *) "filename", NULL
29362 };
29363
29364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
29366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29367 {
29368 arg2 = wxString_in_helper(obj1);
29369 if (arg2 == NULL) SWIG_fail;
ae8162c8 29370 temp2 = true;
d55e5bfc
RD
29371 }
29372 {
29373 PyThreadState* __tstate = wxPyBeginAllowThreads();
29374 (arg1)->AddFile((wxString const &)*arg2);
29375
29376 wxPyEndAllowThreads(__tstate);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 }
29379 Py_INCREF(Py_None); resultobj = Py_None;
29380 {
29381 if (temp2)
29382 delete arg2;
29383 }
29384 return resultobj;
29385 fail:
29386 {
29387 if (temp2)
29388 delete arg2;
29389 }
29390 return NULL;
29391}
29392
29393
c32bde28 29394static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29395 PyObject *obj;
29396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29397 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
29398 Py_INCREF(obj);
29399 return Py_BuildValue((char *)"");
29400}
fef4c27a 29401static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
7449af73 29402 PyObject *resultobj = NULL;
fef4c27a 29403 wxDataFormat *arg1 = 0 ;
d55e5bfc
RD
29404 wxCustomDataObject *result;
29405 PyObject * obj0 = 0 ;
d55e5bfc 29406
fef4c27a
RD
29407 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
29408 {
29409 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
29410 if (SWIG_arg_fail(1)) SWIG_fail;
29411 if (arg1 == NULL) {
29412 SWIG_null_ref("wxDataFormat");
d55e5bfc 29413 }
fef4c27a 29414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29415 }
29416 {
29417 PyThreadState* __tstate = wxPyBeginAllowThreads();
29418 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
29419
29420 wxPyEndAllowThreads(__tstate);
29421 if (PyErr_Occurred()) SWIG_fail;
29422 }
29423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29424 return resultobj;
29425 fail:
29426 return NULL;
29427}
29428
29429
fef4c27a 29430static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
7449af73 29431 PyObject *resultobj = NULL;
fef4c27a
RD
29432 wxString *arg1 = 0 ;
29433 wxCustomDataObject *result;
29434 bool temp1 = false ;
29435 PyObject * obj0 = 0 ;
29436
29437 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
29438 {
29439 arg1 = wxString_in_helper(obj0);
29440 if (arg1 == NULL) SWIG_fail;
29441 temp1 = true;
29442 }
29443 {
29444 PyThreadState* __tstate = wxPyBeginAllowThreads();
29445 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
29446
29447 wxPyEndAllowThreads(__tstate);
29448 if (PyErr_Occurred()) SWIG_fail;
29449 }
29450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29451 {
29452 if (temp1)
29453 delete arg1;
29454 }
29455 return resultobj;
29456 fail:
29457 {
29458 if (temp1)
29459 delete arg1;
29460 }
29461 return NULL;
29462}
29463
29464
29465static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
7449af73 29466 PyObject *resultobj = NULL;
fef4c27a
RD
29467 wxCustomDataObject *result;
29468
29469 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
29470 {
29471 PyThreadState* __tstate = wxPyBeginAllowThreads();
29472 result = (wxCustomDataObject *)new wxCustomDataObject();
29473
29474 wxPyEndAllowThreads(__tstate);
29475 if (PyErr_Occurred()) SWIG_fail;
29476 }
29477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29478 return resultobj;
29479 fail:
29480 return NULL;
29481}
29482
29483
29484static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
29485 int argc;
29486 PyObject *argv[2];
29487 int ii;
29488
29489 argc = PyObject_Length(args);
29490 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
29491 argv[ii] = PyTuple_GetItem(args,ii);
29492 }
29493 if (argc == 0) {
29494 return _wrap_new_CustomDataObject__SWIG_2(self,args);
29495 }
29496 if (argc == 1) {
29497 int _v;
29498 {
29499 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
29500 }
29501 if (_v) {
29502 return _wrap_new_CustomDataObject__SWIG_1(self,args);
29503 }
29504 }
29505 if (argc == 1) {
29506 int _v;
29507 {
29508 void *ptr = 0;
29509 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
29510 _v = 0;
29511 PyErr_Clear();
29512 } else {
29513 _v = (ptr != 0);
29514 }
29515 }
29516 if (_v) {
29517 return _wrap_new_CustomDataObject__SWIG_0(self,args);
29518 }
29519 }
29520
29521 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
29522 return NULL;
29523}
29524
29525
c32bde28 29526static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29527 PyObject *resultobj = NULL;
d55e5bfc
RD
29528 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29529 PyObject *arg2 = (PyObject *) 0 ;
29530 bool result;
29531 PyObject * obj0 = 0 ;
29532 PyObject * obj1 = 0 ;
29533 char *kwnames[] = {
29534 (char *) "self",(char *) "data", NULL
29535 };
29536
29537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29539 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29540 arg2 = obj1;
29541 {
29542 PyThreadState* __tstate = wxPyBeginAllowThreads();
29543 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
29544
29545 wxPyEndAllowThreads(__tstate);
29546 if (PyErr_Occurred()) SWIG_fail;
29547 }
29548 {
29549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29550 }
29551 return resultobj;
29552 fail:
29553 return NULL;
29554}
29555
29556
c32bde28 29557static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29558 PyObject *resultobj = NULL;
d55e5bfc
RD
29559 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29560 size_t result;
29561 PyObject * obj0 = 0 ;
29562 char *kwnames[] = {
29563 (char *) "self", NULL
29564 };
29565
29566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
093d3ff1
RD
29567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29569 {
29570 PyThreadState* __tstate = wxPyBeginAllowThreads();
29571 result = (size_t)(arg1)->GetSize();
29572
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
093d3ff1 29576 {
7449af73 29577 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 29578 }
d55e5bfc
RD
29579 return resultobj;
29580 fail:
29581 return NULL;
29582}
29583
29584
c32bde28 29585static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29586 PyObject *resultobj = NULL;
d55e5bfc
RD
29587 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29588 PyObject *result;
29589 PyObject * obj0 = 0 ;
29590 char *kwnames[] = {
29591 (char *) "self", NULL
29592 };
29593
29594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
29595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29597 {
29598 PyThreadState* __tstate = wxPyBeginAllowThreads();
29599 result = (PyObject *)wxCustomDataObject_GetData(arg1);
29600
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 resultobj = result;
29605 return resultobj;
29606 fail:
29607 return NULL;
29608}
29609
29610
c32bde28 29611static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29612 PyObject *obj;
29613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29614 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
29615 Py_INCREF(obj);
29616 return Py_BuildValue((char *)"");
29617}
c32bde28 29618static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29619 PyObject *resultobj = NULL;
d55e5bfc
RD
29620 wxURLDataObject *result;
29621 char *kwnames[] = {
29622 NULL
29623 };
29624
29625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
29626 {
29627 PyThreadState* __tstate = wxPyBeginAllowThreads();
29628 result = (wxURLDataObject *)new wxURLDataObject();
29629
29630 wxPyEndAllowThreads(__tstate);
29631 if (PyErr_Occurred()) SWIG_fail;
29632 }
29633 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
29634 return resultobj;
29635 fail:
29636 return NULL;
29637}
29638
29639
c32bde28 29640static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29641 PyObject *resultobj = NULL;
d55e5bfc
RD
29642 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
29643 wxString result;
29644 PyObject * obj0 = 0 ;
29645 char *kwnames[] = {
29646 (char *) "self", NULL
29647 };
29648
29649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
093d3ff1
RD
29650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
29651 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29652 {
29653 PyThreadState* __tstate = wxPyBeginAllowThreads();
29654 result = (arg1)->GetURL();
29655
29656 wxPyEndAllowThreads(__tstate);
29657 if (PyErr_Occurred()) SWIG_fail;
29658 }
29659 {
29660#if wxUSE_UNICODE
29661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29662#else
29663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29664#endif
29665 }
29666 return resultobj;
29667 fail:
29668 return NULL;
29669}
29670
29671
c32bde28 29672static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29673 PyObject *resultobj = NULL;
d55e5bfc
RD
29674 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
29675 wxString *arg2 = 0 ;
ae8162c8 29676 bool temp2 = false ;
d55e5bfc
RD
29677 PyObject * obj0 = 0 ;
29678 PyObject * obj1 = 0 ;
29679 char *kwnames[] = {
29680 (char *) "self",(char *) "url", NULL
29681 };
29682
29683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29684 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
29685 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29686 {
29687 arg2 = wxString_in_helper(obj1);
29688 if (arg2 == NULL) SWIG_fail;
ae8162c8 29689 temp2 = true;
d55e5bfc
RD
29690 }
29691 {
29692 PyThreadState* __tstate = wxPyBeginAllowThreads();
29693 (arg1)->SetURL((wxString const &)*arg2);
29694
29695 wxPyEndAllowThreads(__tstate);
29696 if (PyErr_Occurred()) SWIG_fail;
29697 }
29698 Py_INCREF(Py_None); resultobj = Py_None;
29699 {
29700 if (temp2)
29701 delete arg2;
29702 }
29703 return resultobj;
29704 fail:
29705 {
29706 if (temp2)
29707 delete arg2;
29708 }
29709 return NULL;
29710}
29711
29712
c32bde28 29713static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29714 PyObject *obj;
29715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29716 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
29717 Py_INCREF(obj);
29718 return Py_BuildValue((char *)"");
29719}
c32bde28 29720static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29721 PyObject *resultobj = NULL;
d55e5bfc
RD
29722 wxMetafileDataObject *result;
29723 char *kwnames[] = {
29724 NULL
29725 };
29726
29727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
29728 {
29729 PyThreadState* __tstate = wxPyBeginAllowThreads();
29730 result = (wxMetafileDataObject *)new wxMetafileDataObject();
29731
29732 wxPyEndAllowThreads(__tstate);
29733 if (PyErr_Occurred()) SWIG_fail;
29734 }
29735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
29736 return resultobj;
29737 fail:
29738 return NULL;
29739}
29740
29741
c32bde28 29742static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29743 PyObject *resultobj = NULL;
d55e5bfc
RD
29744 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
29745 wxMetafile *arg2 = 0 ;
29746 PyObject * obj0 = 0 ;
29747 PyObject * obj1 = 0 ;
29748 char *kwnames[] = {
29749 (char *) "self",(char *) "metafile", NULL
29750 };
29751
29752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29753 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
29754 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29755 {
093d3ff1
RD
29756 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
29757 if (SWIG_arg_fail(2)) SWIG_fail;
29758 if (arg2 == NULL) {
29759 SWIG_null_ref("wxMetafile");
29760 }
29761 if (SWIG_arg_fail(2)) SWIG_fail;
29762 }
29763 {
29764 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc
RD
29765 (arg1)->SetMetafile((wxMetafile const &)*arg2);
29766
29767 wxPyEndAllowThreads(__tstate);
29768 if (PyErr_Occurred()) SWIG_fail;
29769 }
29770 Py_INCREF(Py_None); resultobj = Py_None;
29771 return resultobj;
29772 fail:
29773 return NULL;
29774}
29775
29776
c32bde28 29777static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29778 PyObject *resultobj = NULL;
d55e5bfc
RD
29779 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
29780 wxMetafile result;
29781 PyObject * obj0 = 0 ;
29782 char *kwnames[] = {
29783 (char *) "self", NULL
29784 };
29785
29786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
093d3ff1
RD
29787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
29788 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29789 {
29790 PyThreadState* __tstate = wxPyBeginAllowThreads();
29791 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
29792
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 {
29797 wxMetafile * resultptr;
7449af73 29798 resultptr = new wxMetafile(static_cast<wxMetafile & >(result));
d55e5bfc
RD
29799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
29800 }
29801 return resultobj;
29802 fail:
29803 return NULL;
29804}
29805
29806
c32bde28 29807static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29808 PyObject *obj;
29809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29810 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
29811 Py_INCREF(obj);
29812 return Py_BuildValue((char *)"");
29813}
c32bde28 29814static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29815 PyObject *resultobj = NULL;
093d3ff1 29816 wxDragResult arg1 ;
d55e5bfc
RD
29817 bool result;
29818 PyObject * obj0 = 0 ;
29819 char *kwnames[] = {
29820 (char *) "res", NULL
29821 };
29822
29823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
093d3ff1 29824 {
7449af73 29825 arg1 = static_cast<wxDragResult >(SWIG_As_int(obj0));
093d3ff1
RD
29826 if (SWIG_arg_fail(1)) SWIG_fail;
29827 }
d55e5bfc
RD
29828 {
29829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 29830 result = (bool)wxIsDragResultOk(arg1);
d55e5bfc
RD
29831
29832 wxPyEndAllowThreads(__tstate);
29833 if (PyErr_Occurred()) SWIG_fail;
29834 }
29835 {
29836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29837 }
29838 return resultobj;
29839 fail:
29840 return NULL;
29841}
29842
29843
c32bde28 29844static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29845 PyObject *resultobj = NULL;
d55e5bfc
RD
29846 wxWindow *arg1 = (wxWindow *) 0 ;
29847 wxCursor const &arg2_defvalue = wxNullCursor ;
29848 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29849 wxCursor const &arg3_defvalue = wxNullCursor ;
29850 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
29851 wxCursor const &arg4_defvalue = wxNullCursor ;
29852 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
29853 wxPyDropSource *result;
29854 PyObject * obj0 = 0 ;
29855 PyObject * obj1 = 0 ;
29856 PyObject * obj2 = 0 ;
29857 PyObject * obj3 = 0 ;
29858 char *kwnames[] = {
29859 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29860 };
29861
29862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29865 if (obj1) {
093d3ff1
RD
29866 {
29867 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29868 if (SWIG_arg_fail(2)) SWIG_fail;
29869 if (arg2 == NULL) {
29870 SWIG_null_ref("wxCursor");
29871 }
29872 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29873 }
29874 }
29875 if (obj2) {
093d3ff1
RD
29876 {
29877 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29878 if (SWIG_arg_fail(3)) SWIG_fail;
29879 if (arg3 == NULL) {
29880 SWIG_null_ref("wxCursor");
29881 }
29882 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29883 }
29884 }
29885 if (obj3) {
093d3ff1
RD
29886 {
29887 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29888 if (SWIG_arg_fail(4)) SWIG_fail;
29889 if (arg4 == NULL) {
29890 SWIG_null_ref("wxCursor");
29891 }
29892 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
29893 }
29894 }
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
29898
29899 wxPyEndAllowThreads(__tstate);
29900 if (PyErr_Occurred()) SWIG_fail;
29901 }
29902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
29903 return resultobj;
29904 fail:
29905 return NULL;
29906}
29907
29908
c32bde28 29909static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29910 PyObject *resultobj = NULL;
d55e5bfc
RD
29911 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29912 PyObject *arg2 = (PyObject *) 0 ;
29913 PyObject *arg3 = (PyObject *) 0 ;
29914 int arg4 ;
29915 PyObject * obj0 = 0 ;
29916 PyObject * obj1 = 0 ;
29917 PyObject * obj2 = 0 ;
29918 PyObject * obj3 = 0 ;
29919 char *kwnames[] = {
29920 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29921 };
29922
29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
29924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29926 arg2 = obj1;
29927 arg3 = obj2;
093d3ff1 29928 {
7449af73 29929 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
29930 if (SWIG_arg_fail(4)) SWIG_fail;
29931 }
d55e5bfc
RD
29932 {
29933 PyThreadState* __tstate = wxPyBeginAllowThreads();
29934 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
29935
29936 wxPyEndAllowThreads(__tstate);
29937 if (PyErr_Occurred()) SWIG_fail;
29938 }
29939 Py_INCREF(Py_None); resultobj = Py_None;
29940 return resultobj;
29941 fail:
29942 return NULL;
29943}
29944
29945
c32bde28 29946static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29947 PyObject *resultobj = NULL;
d55e5bfc
RD
29948 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29949 PyObject * obj0 = 0 ;
29950 char *kwnames[] = {
29951 (char *) "self", NULL
29952 };
29953
29954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
093d3ff1
RD
29955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29957 {
29958 PyThreadState* __tstate = wxPyBeginAllowThreads();
29959 delete arg1;
29960
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
29964 Py_INCREF(Py_None); resultobj = Py_None;
29965 return resultobj;
29966 fail:
29967 return NULL;
29968}
29969
29970
c32bde28 29971static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 29972 PyObject *resultobj = NULL;
d55e5bfc
RD
29973 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29974 wxDataObject *arg2 = 0 ;
29975 PyObject * obj0 = 0 ;
29976 PyObject * obj1 = 0 ;
29977 char *kwnames[] = {
29978 (char *) "self",(char *) "data", NULL
29979 };
29980
29981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
29982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29983 if (SWIG_arg_fail(1)) SWIG_fail;
29984 {
29985 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
29986 if (SWIG_arg_fail(2)) SWIG_fail;
29987 if (arg2 == NULL) {
29988 SWIG_null_ref("wxDataObject");
29989 }
29990 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29991 }
29992 {
29993 PyThreadState* __tstate = wxPyBeginAllowThreads();
29994 (arg1)->SetData(*arg2);
29995
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 Py_INCREF(Py_None); resultobj = Py_None;
30000 return resultobj;
30001 fail:
30002 return NULL;
30003}
30004
30005
c32bde28 30006static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30007 PyObject *resultobj = NULL;
d55e5bfc
RD
30008 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
30009 wxDataObject *result;
30010 PyObject * obj0 = 0 ;
30011 char *kwnames[] = {
30012 (char *) "self", NULL
30013 };
30014
30015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
30016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30018 {
30019 PyThreadState* __tstate = wxPyBeginAllowThreads();
30020 result = (wxDataObject *)(arg1)->GetDataObject();
30021
30022 wxPyEndAllowThreads(__tstate);
30023 if (PyErr_Occurred()) SWIG_fail;
30024 }
30025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
30026 return resultobj;
30027 fail:
30028 return NULL;
30029}
30030
30031
c32bde28 30032static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30033 PyObject *resultobj = NULL;
d55e5bfc 30034 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 30035 wxDragResult arg2 ;
d55e5bfc
RD
30036 wxCursor *arg3 = 0 ;
30037 PyObject * obj0 = 0 ;
30038 PyObject * obj1 = 0 ;
30039 PyObject * obj2 = 0 ;
30040 char *kwnames[] = {
30041 (char *) "self",(char *) "res",(char *) "cursor", NULL
30042 };
30043
30044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30046 if (SWIG_arg_fail(1)) SWIG_fail;
30047 {
7449af73 30048 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
093d3ff1
RD
30049 if (SWIG_arg_fail(2)) SWIG_fail;
30050 }
30051 {
30052 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
30053 if (SWIG_arg_fail(3)) SWIG_fail;
30054 if (arg3 == NULL) {
30055 SWIG_null_ref("wxCursor");
30056 }
30057 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30058 }
30059 {
30060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30061 (arg1)->SetCursor(arg2,(wxCursor const &)*arg3);
d55e5bfc
RD
30062
30063 wxPyEndAllowThreads(__tstate);
30064 if (PyErr_Occurred()) SWIG_fail;
30065 }
30066 Py_INCREF(Py_None); resultobj = Py_None;
30067 return resultobj;
30068 fail:
30069 return NULL;
30070}
30071
30072
c32bde28 30073static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30074 PyObject *resultobj = NULL;
d55e5bfc
RD
30075 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
30076 int arg2 = (int) wxDrag_CopyOnly ;
093d3ff1 30077 wxDragResult result;
d55e5bfc
RD
30078 PyObject * obj0 = 0 ;
30079 PyObject * obj1 = 0 ;
30080 char *kwnames[] = {
30081 (char *) "self",(char *) "flags", NULL
30082 };
30083
30084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30086 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30087 if (obj1) {
093d3ff1 30088 {
7449af73 30089 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30090 if (SWIG_arg_fail(2)) SWIG_fail;
30091 }
d55e5bfc
RD
30092 }
30093 {
30094 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 30095 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d55e5bfc
RD
30096
30097 wxPyEndAllowThreads(__tstate);
30098 if (PyErr_Occurred()) SWIG_fail;
30099 }
093d3ff1 30100 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30101 return resultobj;
30102 fail:
30103 return NULL;
30104}
30105
30106
b06b3e70 30107static PyObject *_wrap_DropSource_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30108 PyObject *resultobj = NULL;
d55e5bfc 30109 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
093d3ff1 30110 wxDragResult arg2 ;
d55e5bfc
RD
30111 bool result;
30112 PyObject * obj0 = 0 ;
30113 PyObject * obj1 = 0 ;
30114 char *kwnames[] = {
30115 (char *) "self",(char *) "effect", NULL
30116 };
30117
b06b3e70 30118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30120 if (SWIG_arg_fail(1)) SWIG_fail;
30121 {
7449af73 30122 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
093d3ff1
RD
30123 if (SWIG_arg_fail(2)) SWIG_fail;
30124 }
d55e5bfc
RD
30125 {
30126 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30127 result = (bool)(arg1)->GiveFeedback(arg2);
d55e5bfc
RD
30128
30129 wxPyEndAllowThreads(__tstate);
30130 if (PyErr_Occurred()) SWIG_fail;
30131 }
30132 {
30133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30134 }
30135 return resultobj;
30136 fail:
30137 return NULL;
30138}
30139
30140
c32bde28 30141static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30142 PyObject *obj;
30143 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30144 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
30145 Py_INCREF(obj);
30146 return Py_BuildValue((char *)"");
30147}
c32bde28 30148static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30149 PyObject *resultobj = NULL;
d55e5bfc
RD
30150 wxDataObject *arg1 = (wxDataObject *) NULL ;
30151 wxPyDropTarget *result;
30152 PyObject * obj0 = 0 ;
30153 char *kwnames[] = {
30154 (char *) "dataObject", NULL
30155 };
30156
30157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
30158 if (obj0) {
093d3ff1
RD
30159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30160 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30161 }
30162 {
30163 PyThreadState* __tstate = wxPyBeginAllowThreads();
30164 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
30165
30166 wxPyEndAllowThreads(__tstate);
30167 if (PyErr_Occurred()) SWIG_fail;
30168 }
30169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
30170 return resultobj;
30171 fail:
30172 return NULL;
30173}
30174
30175
c32bde28 30176static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30177 PyObject *resultobj = NULL;
d55e5bfc
RD
30178 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30179 PyObject *arg2 = (PyObject *) 0 ;
30180 PyObject *arg3 = (PyObject *) 0 ;
30181 PyObject * obj0 = 0 ;
30182 PyObject * obj1 = 0 ;
30183 PyObject * obj2 = 0 ;
30184 char *kwnames[] = {
30185 (char *) "self",(char *) "self",(char *) "_class", NULL
30186 };
30187
30188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30190 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30191 arg2 = obj1;
30192 arg3 = obj2;
30193 {
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 (arg1)->_setCallbackInfo(arg2,arg3);
30196
30197 wxPyEndAllowThreads(__tstate);
30198 if (PyErr_Occurred()) SWIG_fail;
30199 }
30200 Py_INCREF(Py_None); resultobj = Py_None;
30201 return resultobj;
30202 fail:
30203 return NULL;
30204}
30205
30206
c32bde28 30207static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30208 PyObject *resultobj = NULL;
d55e5bfc
RD
30209 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30210 PyObject * obj0 = 0 ;
30211 char *kwnames[] = {
30212 (char *) "self", NULL
30213 };
30214
30215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
093d3ff1
RD
30216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30217 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30218 {
30219 PyThreadState* __tstate = wxPyBeginAllowThreads();
30220 delete arg1;
30221
30222 wxPyEndAllowThreads(__tstate);
30223 if (PyErr_Occurred()) SWIG_fail;
30224 }
30225 Py_INCREF(Py_None); resultobj = Py_None;
30226 return resultobj;
30227 fail:
30228 return NULL;
30229}
30230
30231
c32bde28 30232static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30233 PyObject *resultobj = NULL;
d55e5bfc
RD
30234 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30235 wxDataObject *result;
30236 PyObject * obj0 = 0 ;
30237 char *kwnames[] = {
30238 (char *) "self", NULL
30239 };
30240
30241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
093d3ff1
RD
30242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30243 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30244 {
30245 PyThreadState* __tstate = wxPyBeginAllowThreads();
30246 result = (wxDataObject *)(arg1)->GetDataObject();
30247
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
30252 return resultobj;
30253 fail:
30254 return NULL;
30255}
30256
30257
c32bde28 30258static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30259 PyObject *resultobj = NULL;
d55e5bfc
RD
30260 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30261 wxDataObject *arg2 = (wxDataObject *) 0 ;
30262 PyObject * obj0 = 0 ;
30263 PyObject * obj1 = 0 ;
30264 char *kwnames[] = {
30265 (char *) "self",(char *) "dataObject", NULL
30266 };
30267
30268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
30269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail;
30271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30272 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30273 {
30274 PyThreadState* __tstate = wxPyBeginAllowThreads();
30275 (arg1)->SetDataObject(arg2);
30276
30277 wxPyEndAllowThreads(__tstate);
30278 if (PyErr_Occurred()) SWIG_fail;
30279 }
30280 Py_INCREF(Py_None); resultobj = Py_None;
30281 return resultobj;
30282 fail:
30283 return NULL;
30284}
30285
30286
b06b3e70 30287static PyObject *_wrap_DropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30288 PyObject *resultobj = NULL;
d55e5bfc
RD
30289 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30290 int arg2 ;
30291 int arg3 ;
093d3ff1
RD
30292 wxDragResult arg4 ;
30293 wxDragResult result;
d55e5bfc
RD
30294 PyObject * obj0 = 0 ;
30295 PyObject * obj1 = 0 ;
30296 PyObject * obj2 = 0 ;
30297 PyObject * obj3 = 0 ;
30298 char *kwnames[] = {
30299 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30300 };
30301
b06b3e70 30302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30304 if (SWIG_arg_fail(1)) SWIG_fail;
30305 {
7449af73 30306 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30307 if (SWIG_arg_fail(2)) SWIG_fail;
30308 }
30309 {
7449af73 30310 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30311 if (SWIG_arg_fail(3)) SWIG_fail;
30312 }
30313 {
7449af73 30314 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30315 if (SWIG_arg_fail(4)) SWIG_fail;
30316 }
d55e5bfc
RD
30317 {
30318 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30319 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30320
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
093d3ff1 30324 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30325 return resultobj;
30326 fail:
30327 return NULL;
30328}
30329
30330
b06b3e70 30331static PyObject *_wrap_DropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30332 PyObject *resultobj = NULL;
d55e5bfc
RD
30333 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30334 int arg2 ;
30335 int arg3 ;
093d3ff1
RD
30336 wxDragResult arg4 ;
30337 wxDragResult result;
d55e5bfc
RD
30338 PyObject * obj0 = 0 ;
30339 PyObject * obj1 = 0 ;
30340 PyObject * obj2 = 0 ;
30341 PyObject * obj3 = 0 ;
30342 char *kwnames[] = {
30343 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30344 };
30345
b06b3e70 30346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30348 if (SWIG_arg_fail(1)) SWIG_fail;
30349 {
7449af73 30350 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30351 if (SWIG_arg_fail(2)) SWIG_fail;
30352 }
30353 {
7449af73 30354 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30355 if (SWIG_arg_fail(3)) SWIG_fail;
30356 }
30357 {
7449af73 30358 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30359 if (SWIG_arg_fail(4)) SWIG_fail;
30360 }
d55e5bfc
RD
30361 {
30362 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30363 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
30364
30365 wxPyEndAllowThreads(__tstate);
30366 if (PyErr_Occurred()) SWIG_fail;
30367 }
093d3ff1 30368 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30369 return resultobj;
30370 fail:
30371 return NULL;
30372}
30373
30374
b06b3e70 30375static PyObject *_wrap_DropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30376 PyObject *resultobj = NULL;
d55e5bfc
RD
30377 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30378 PyObject * obj0 = 0 ;
30379 char *kwnames[] = {
30380 (char *) "self", NULL
30381 };
30382
b06b3e70 30383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
30384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30386 {
30387 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30388 (arg1)->OnLeave();
d55e5bfc
RD
30389
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 Py_INCREF(Py_None); resultobj = Py_None;
30394 return resultobj;
30395 fail:
30396 return NULL;
30397}
30398
30399
b06b3e70 30400static PyObject *_wrap_DropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30401 PyObject *resultobj = NULL;
d55e5bfc
RD
30402 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30403 int arg2 ;
30404 int arg3 ;
30405 bool result;
30406 PyObject * obj0 = 0 ;
30407 PyObject * obj1 = 0 ;
30408 PyObject * obj2 = 0 ;
30409 char *kwnames[] = {
30410 (char *) "self",(char *) "x",(char *) "y", NULL
30411 };
30412
b06b3e70 30413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30415 if (SWIG_arg_fail(1)) SWIG_fail;
30416 {
7449af73 30417 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30418 if (SWIG_arg_fail(2)) SWIG_fail;
30419 }
30420 {
7449af73 30421 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30422 if (SWIG_arg_fail(3)) SWIG_fail;
30423 }
d55e5bfc
RD
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30426 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
30427
30428 wxPyEndAllowThreads(__tstate);
30429 if (PyErr_Occurred()) SWIG_fail;
30430 }
30431 {
30432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30433 }
30434 return resultobj;
30435 fail:
30436 return NULL;
30437}
30438
30439
c32bde28 30440static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30441 PyObject *resultobj = NULL;
d55e5bfc
RD
30442 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30443 bool result;
30444 PyObject * obj0 = 0 ;
30445 char *kwnames[] = {
30446 (char *) "self", NULL
30447 };
30448
30449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
093d3ff1
RD
30450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30452 {
30453 PyThreadState* __tstate = wxPyBeginAllowThreads();
30454 result = (bool)(arg1)->GetData();
30455
30456 wxPyEndAllowThreads(__tstate);
30457 if (PyErr_Occurred()) SWIG_fail;
30458 }
30459 {
30460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30461 }
30462 return resultobj;
30463 fail:
30464 return NULL;
30465}
30466
30467
0c549c5f 30468static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30469 PyObject *resultobj = NULL;
0c549c5f
RD
30470 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30471 wxDragResult arg2 ;
30472 PyObject * obj0 = 0 ;
30473 PyObject * obj1 = 0 ;
30474 char *kwnames[] = {
30475 (char *) "self",(char *) "action", NULL
30476 };
30477
30478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
30479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30480 if (SWIG_arg_fail(1)) SWIG_fail;
30481 {
7449af73 30482 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
0c549c5f
RD
30483 if (SWIG_arg_fail(2)) SWIG_fail;
30484 }
30485 {
30486 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 30487 (arg1)->SetDefaultAction(arg2);
0c549c5f
RD
30488
30489 wxPyEndAllowThreads(__tstate);
30490 if (PyErr_Occurred()) SWIG_fail;
30491 }
30492 Py_INCREF(Py_None); resultobj = Py_None;
30493 return resultobj;
30494 fail:
30495 return NULL;
30496}
30497
30498
30499static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30500 PyObject *resultobj = NULL;
0c549c5f
RD
30501 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30502 wxDragResult result;
30503 PyObject * obj0 = 0 ;
30504 char *kwnames[] = {
30505 (char *) "self", NULL
30506 };
30507
30508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
30509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30510 if (SWIG_arg_fail(1)) SWIG_fail;
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 result = (wxDragResult)(arg1)->GetDefaultAction();
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 resultobj = SWIG_From_int((result));
30519 return resultobj;
30520 fail:
30521 return NULL;
30522}
30523
30524
c32bde28 30525static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30526 PyObject *obj;
30527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30528 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
30529 Py_INCREF(obj);
30530 return Py_BuildValue((char *)"");
30531}
c32bde28 30532static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30533 PyObject *resultobj = NULL;
d55e5bfc
RD
30534 wxPyTextDropTarget *result;
30535 char *kwnames[] = {
30536 NULL
30537 };
30538
30539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
30543
30544 wxPyEndAllowThreads(__tstate);
30545 if (PyErr_Occurred()) SWIG_fail;
30546 }
30547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
30548 return resultobj;
30549 fail:
30550 return NULL;
30551}
30552
30553
c32bde28 30554static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30555 PyObject *resultobj = NULL;
d55e5bfc
RD
30556 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30557 PyObject *arg2 = (PyObject *) 0 ;
30558 PyObject *arg3 = (PyObject *) 0 ;
30559 PyObject * obj0 = 0 ;
30560 PyObject * obj1 = 0 ;
30561 PyObject * obj2 = 0 ;
30562 char *kwnames[] = {
30563 (char *) "self",(char *) "self",(char *) "_class", NULL
30564 };
30565
30566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30568 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30569 arg2 = obj1;
30570 arg3 = obj2;
30571 {
30572 PyThreadState* __tstate = wxPyBeginAllowThreads();
30573 (arg1)->_setCallbackInfo(arg2,arg3);
30574
30575 wxPyEndAllowThreads(__tstate);
30576 if (PyErr_Occurred()) SWIG_fail;
30577 }
30578 Py_INCREF(Py_None); resultobj = Py_None;
30579 return resultobj;
30580 fail:
30581 return NULL;
30582}
30583
30584
b06b3e70
RD
30585static PyObject *_wrap_TextDropTarget_OnDropText(PyObject *, PyObject *args, PyObject *kwargs) {
30586 PyObject *resultobj = NULL;
30587 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30588 int arg2 ;
30589 int arg3 ;
30590 wxString *arg4 = 0 ;
30591 bool result;
30592 bool temp4 = false ;
30593 PyObject * obj0 = 0 ;
30594 PyObject * obj1 = 0 ;
30595 PyObject * obj2 = 0 ;
30596 PyObject * obj3 = 0 ;
30597 char *kwnames[] = {
30598 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30599 };
30600
30601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30603 if (SWIG_arg_fail(1)) SWIG_fail;
30604 {
30605 arg2 = static_cast<int >(SWIG_As_int(obj1));
30606 if (SWIG_arg_fail(2)) SWIG_fail;
30607 }
30608 {
30609 arg3 = static_cast<int >(SWIG_As_int(obj2));
30610 if (SWIG_arg_fail(3)) SWIG_fail;
30611 }
30612 {
30613 arg4 = wxString_in_helper(obj3);
30614 if (arg4 == NULL) SWIG_fail;
30615 temp4 = true;
30616 }
30617 {
30618 PyThreadState* __tstate = wxPyBeginAllowThreads();
30619 result = (bool)(arg1)->OnDropText(arg2,arg3,(wxString const &)*arg4);
30620
30621 wxPyEndAllowThreads(__tstate);
30622 if (PyErr_Occurred()) SWIG_fail;
30623 }
30624 {
30625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30626 }
30627 {
30628 if (temp4)
30629 delete arg4;
30630 }
30631 return resultobj;
30632 fail:
30633 {
30634 if (temp4)
30635 delete arg4;
30636 }
30637 return NULL;
30638}
30639
30640
30641static PyObject *_wrap_TextDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30642 PyObject *resultobj = NULL;
d55e5bfc
RD
30643 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30644 int arg2 ;
30645 int arg3 ;
093d3ff1
RD
30646 wxDragResult arg4 ;
30647 wxDragResult result;
d55e5bfc
RD
30648 PyObject * obj0 = 0 ;
30649 PyObject * obj1 = 0 ;
30650 PyObject * obj2 = 0 ;
30651 PyObject * obj3 = 0 ;
30652 char *kwnames[] = {
30653 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30654 };
30655
b06b3e70 30656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30657 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30658 if (SWIG_arg_fail(1)) SWIG_fail;
30659 {
7449af73 30660 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30661 if (SWIG_arg_fail(2)) SWIG_fail;
30662 }
30663 {
7449af73 30664 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30665 if (SWIG_arg_fail(3)) SWIG_fail;
30666 }
30667 {
7449af73 30668 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30669 if (SWIG_arg_fail(4)) SWIG_fail;
30670 }
d55e5bfc
RD
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30673 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
093d3ff1 30678 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30679 return resultobj;
30680 fail:
30681 return NULL;
30682}
30683
30684
b06b3e70 30685static PyObject *_wrap_TextDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30686 PyObject *resultobj = NULL;
d55e5bfc
RD
30687 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30688 int arg2 ;
30689 int arg3 ;
093d3ff1
RD
30690 wxDragResult arg4 ;
30691 wxDragResult result;
d55e5bfc
RD
30692 PyObject * obj0 = 0 ;
30693 PyObject * obj1 = 0 ;
30694 PyObject * obj2 = 0 ;
30695 PyObject * obj3 = 0 ;
30696 char *kwnames[] = {
30697 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30698 };
30699
b06b3e70 30700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30702 if (SWIG_arg_fail(1)) SWIG_fail;
30703 {
7449af73 30704 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30705 if (SWIG_arg_fail(2)) SWIG_fail;
30706 }
30707 {
7449af73 30708 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30709 if (SWIG_arg_fail(3)) SWIG_fail;
30710 }
30711 {
7449af73 30712 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30713 if (SWIG_arg_fail(4)) SWIG_fail;
30714 }
d55e5bfc
RD
30715 {
30716 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30717 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
30718
30719 wxPyEndAllowThreads(__tstate);
30720 if (PyErr_Occurred()) SWIG_fail;
30721 }
093d3ff1 30722 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30723 return resultobj;
30724 fail:
30725 return NULL;
30726}
30727
30728
b06b3e70 30729static PyObject *_wrap_TextDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30730 PyObject *resultobj = NULL;
d55e5bfc
RD
30731 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30732 PyObject * obj0 = 0 ;
30733 char *kwnames[] = {
30734 (char *) "self", NULL
30735 };
30736
b06b3e70 30737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
30738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30739 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30740 {
30741 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30742 (arg1)->OnLeave();
d55e5bfc
RD
30743
30744 wxPyEndAllowThreads(__tstate);
30745 if (PyErr_Occurred()) SWIG_fail;
30746 }
30747 Py_INCREF(Py_None); resultobj = Py_None;
30748 return resultobj;
30749 fail:
30750 return NULL;
30751}
30752
30753
b06b3e70 30754static PyObject *_wrap_TextDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30755 PyObject *resultobj = NULL;
d55e5bfc
RD
30756 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30757 int arg2 ;
30758 int arg3 ;
30759 bool result;
30760 PyObject * obj0 = 0 ;
30761 PyObject * obj1 = 0 ;
30762 PyObject * obj2 = 0 ;
30763 char *kwnames[] = {
30764 (char *) "self",(char *) "x",(char *) "y", NULL
30765 };
30766
b06b3e70 30767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30769 if (SWIG_arg_fail(1)) SWIG_fail;
30770 {
7449af73 30771 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30772 if (SWIG_arg_fail(2)) SWIG_fail;
30773 }
30774 {
7449af73 30775 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30776 if (SWIG_arg_fail(3)) SWIG_fail;
30777 }
d55e5bfc
RD
30778 {
30779 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30780 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
30781
30782 wxPyEndAllowThreads(__tstate);
30783 if (PyErr_Occurred()) SWIG_fail;
30784 }
30785 {
30786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30787 }
30788 return resultobj;
30789 fail:
30790 return NULL;
30791}
30792
30793
b06b3e70 30794static PyObject *_wrap_TextDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30795 PyObject *resultobj = NULL;
d55e5bfc
RD
30796 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30797 int arg2 ;
30798 int arg3 ;
093d3ff1
RD
30799 wxDragResult arg4 ;
30800 wxDragResult result;
d55e5bfc
RD
30801 PyObject * obj0 = 0 ;
30802 PyObject * obj1 = 0 ;
30803 PyObject * obj2 = 0 ;
30804 PyObject * obj3 = 0 ;
30805 char *kwnames[] = {
30806 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30807 };
30808
b06b3e70 30809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30811 if (SWIG_arg_fail(1)) SWIG_fail;
30812 {
7449af73 30813 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30814 if (SWIG_arg_fail(2)) SWIG_fail;
30815 }
30816 {
7449af73 30817 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30818 if (SWIG_arg_fail(3)) SWIG_fail;
30819 }
30820 {
7449af73 30821 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30822 if (SWIG_arg_fail(4)) SWIG_fail;
30823 }
d55e5bfc
RD
30824 {
30825 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30826 result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
d55e5bfc
RD
30827
30828 wxPyEndAllowThreads(__tstate);
30829 if (PyErr_Occurred()) SWIG_fail;
30830 }
093d3ff1 30831 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30832 return resultobj;
30833 fail:
30834 return NULL;
30835}
30836
30837
c32bde28 30838static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30839 PyObject *obj;
30840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30841 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
30842 Py_INCREF(obj);
30843 return Py_BuildValue((char *)"");
30844}
c32bde28 30845static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30846 PyObject *resultobj = NULL;
d55e5bfc
RD
30847 wxPyFileDropTarget *result;
30848 char *kwnames[] = {
30849 NULL
30850 };
30851
30852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
30853 {
30854 PyThreadState* __tstate = wxPyBeginAllowThreads();
30855 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
30856
30857 wxPyEndAllowThreads(__tstate);
30858 if (PyErr_Occurred()) SWIG_fail;
30859 }
30860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
30861 return resultobj;
30862 fail:
30863 return NULL;
30864}
30865
30866
c32bde28 30867static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30868 PyObject *resultobj = NULL;
d55e5bfc
RD
30869 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30870 PyObject *arg2 = (PyObject *) 0 ;
30871 PyObject *arg3 = (PyObject *) 0 ;
30872 PyObject * obj0 = 0 ;
30873 PyObject * obj1 = 0 ;
30874 PyObject * obj2 = 0 ;
30875 char *kwnames[] = {
30876 (char *) "self",(char *) "self",(char *) "_class", NULL
30877 };
30878
30879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
30880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30881 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30882 arg2 = obj1;
30883 arg3 = obj2;
30884 {
30885 PyThreadState* __tstate = wxPyBeginAllowThreads();
30886 (arg1)->_setCallbackInfo(arg2,arg3);
30887
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 Py_INCREF(Py_None); resultobj = Py_None;
30892 return resultobj;
30893 fail:
30894 return NULL;
30895}
30896
30897
b06b3e70
RD
30898static PyObject *_wrap_FileDropTarget_OnDropFiles(PyObject *, PyObject *args, PyObject *kwargs) {
30899 PyObject *resultobj = NULL;
30900 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30901 int arg2 ;
30902 int arg3 ;
30903 wxArrayString *arg4 = 0 ;
30904 bool result;
30905 bool temp4 = false ;
30906 PyObject * obj0 = 0 ;
30907 PyObject * obj1 = 0 ;
30908 PyObject * obj2 = 0 ;
30909 PyObject * obj3 = 0 ;
30910 char *kwnames[] = {
30911 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30912 };
30913
30914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30916 if (SWIG_arg_fail(1)) SWIG_fail;
30917 {
30918 arg2 = static_cast<int >(SWIG_As_int(obj1));
30919 if (SWIG_arg_fail(2)) SWIG_fail;
30920 }
30921 {
30922 arg3 = static_cast<int >(SWIG_As_int(obj2));
30923 if (SWIG_arg_fail(3)) SWIG_fail;
30924 }
30925 {
30926 if (! PySequence_Check(obj3)) {
30927 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
30928 SWIG_fail;
30929 }
30930 arg4 = new wxArrayString;
30931 temp4 = true;
30932 int i, len=PySequence_Length(obj3);
30933 for (i=0; i<len; i++) {
30934 PyObject* item = PySequence_GetItem(obj3, i);
30935 wxString* s = wxString_in_helper(item);
30936 if (PyErr_Occurred()) SWIG_fail;
30937 arg4->Add(*s);
30938 delete s;
30939 Py_DECREF(item);
30940 }
30941 }
30942 {
30943 PyThreadState* __tstate = wxPyBeginAllowThreads();
30944 result = (bool)(arg1)->OnDropFiles(arg2,arg3,(wxArrayString const &)*arg4);
30945
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 {
30950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30951 }
30952 {
30953 if (temp4) delete arg4;
30954 }
30955 return resultobj;
30956 fail:
30957 {
30958 if (temp4) delete arg4;
30959 }
30960 return NULL;
30961}
30962
30963
30964static PyObject *_wrap_FileDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 30965 PyObject *resultobj = NULL;
d55e5bfc
RD
30966 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30967 int arg2 ;
30968 int arg3 ;
093d3ff1
RD
30969 wxDragResult arg4 ;
30970 wxDragResult result;
d55e5bfc
RD
30971 PyObject * obj0 = 0 ;
30972 PyObject * obj1 = 0 ;
30973 PyObject * obj2 = 0 ;
30974 PyObject * obj3 = 0 ;
30975 char *kwnames[] = {
30976 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30977 };
30978
b06b3e70 30979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
30980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail;
30982 {
7449af73 30983 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
30984 if (SWIG_arg_fail(2)) SWIG_fail;
30985 }
30986 {
7449af73 30987 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
30988 if (SWIG_arg_fail(3)) SWIG_fail;
30989 }
30990 {
7449af73 30991 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
30992 if (SWIG_arg_fail(4)) SWIG_fail;
30993 }
d55e5bfc
RD
30994 {
30995 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 30996 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30997
30998 wxPyEndAllowThreads(__tstate);
30999 if (PyErr_Occurred()) SWIG_fail;
31000 }
093d3ff1 31001 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31002 return resultobj;
31003 fail:
31004 return NULL;
31005}
31006
31007
b06b3e70 31008static PyObject *_wrap_FileDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31009 PyObject *resultobj = NULL;
d55e5bfc
RD
31010 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31011 int arg2 ;
31012 int arg3 ;
093d3ff1
RD
31013 wxDragResult arg4 ;
31014 wxDragResult result;
d55e5bfc
RD
31015 PyObject * obj0 = 0 ;
31016 PyObject * obj1 = 0 ;
31017 PyObject * obj2 = 0 ;
31018 PyObject * obj3 = 0 ;
31019 char *kwnames[] = {
31020 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31021 };
31022
b06b3e70 31023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31025 if (SWIG_arg_fail(1)) SWIG_fail;
31026 {
7449af73 31027 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31028 if (SWIG_arg_fail(2)) SWIG_fail;
31029 }
31030 {
7449af73 31031 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31032 if (SWIG_arg_fail(3)) SWIG_fail;
31033 }
31034 {
7449af73 31035 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
31036 if (SWIG_arg_fail(4)) SWIG_fail;
31037 }
d55e5bfc
RD
31038 {
31039 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31040 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
31041
31042 wxPyEndAllowThreads(__tstate);
31043 if (PyErr_Occurred()) SWIG_fail;
31044 }
093d3ff1 31045 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31046 return resultobj;
31047 fail:
31048 return NULL;
31049}
31050
31051
b06b3e70 31052static PyObject *_wrap_FileDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31053 PyObject *resultobj = NULL;
d55e5bfc
RD
31054 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31055 PyObject * obj0 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self", NULL
31058 };
31059
b06b3e70 31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_OnLeave",kwnames,&obj0)) goto fail;
093d3ff1
RD
31061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31063 {
31064 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31065 (arg1)->OnLeave();
d55e5bfc
RD
31066
31067 wxPyEndAllowThreads(__tstate);
31068 if (PyErr_Occurred()) SWIG_fail;
31069 }
31070 Py_INCREF(Py_None); resultobj = Py_None;
31071 return resultobj;
31072 fail:
31073 return NULL;
31074}
31075
31076
b06b3e70 31077static PyObject *_wrap_FileDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31078 PyObject *resultobj = NULL;
d55e5bfc
RD
31079 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31080 int arg2 ;
31081 int arg3 ;
31082 bool result;
31083 PyObject * obj0 = 0 ;
31084 PyObject * obj1 = 0 ;
31085 PyObject * obj2 = 0 ;
31086 char *kwnames[] = {
31087 (char *) "self",(char *) "x",(char *) "y", NULL
31088 };
31089
b06b3e70 31090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
31091 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail;
31093 {
7449af73 31094 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31095 if (SWIG_arg_fail(2)) SWIG_fail;
31096 }
31097 {
7449af73 31098 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31099 if (SWIG_arg_fail(3)) SWIG_fail;
31100 }
d55e5bfc
RD
31101 {
31102 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31103 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
31104
31105 wxPyEndAllowThreads(__tstate);
31106 if (PyErr_Occurred()) SWIG_fail;
31107 }
31108 {
31109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31110 }
31111 return resultobj;
31112 fail:
31113 return NULL;
31114}
31115
31116
b06b3e70 31117static PyObject *_wrap_FileDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31118 PyObject *resultobj = NULL;
d55e5bfc
RD
31119 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31120 int arg2 ;
31121 int arg3 ;
093d3ff1
RD
31122 wxDragResult arg4 ;
31123 wxDragResult result;
d55e5bfc
RD
31124 PyObject * obj0 = 0 ;
31125 PyObject * obj1 = 0 ;
31126 PyObject * obj2 = 0 ;
31127 PyObject * obj3 = 0 ;
31128 char *kwnames[] = {
31129 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31130 };
31131
b06b3e70 31132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
31133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31134 if (SWIG_arg_fail(1)) SWIG_fail;
31135 {
7449af73 31136 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31137 if (SWIG_arg_fail(2)) SWIG_fail;
31138 }
31139 {
7449af73 31140 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31141 if (SWIG_arg_fail(3)) SWIG_fail;
31142 }
31143 {
7449af73 31144 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
093d3ff1
RD
31145 if (SWIG_arg_fail(4)) SWIG_fail;
31146 }
d55e5bfc
RD
31147 {
31148 PyThreadState* __tstate = wxPyBeginAllowThreads();
b06b3e70 31149 result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
d55e5bfc
RD
31150
31151 wxPyEndAllowThreads(__tstate);
31152 if (PyErr_Occurred()) SWIG_fail;
31153 }
093d3ff1 31154 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31155 return resultobj;
31156 fail:
31157 return NULL;
31158}
31159
31160
c32bde28 31161static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31162 PyObject *obj;
31163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31164 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
31165 Py_INCREF(obj);
31166 return Py_BuildValue((char *)"");
31167}
c32bde28 31168static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31169 PyObject *resultobj = NULL;
d55e5bfc
RD
31170 wxClipboard *result;
31171 char *kwnames[] = {
31172 NULL
31173 };
31174
31175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
31176 {
31177 PyThreadState* __tstate = wxPyBeginAllowThreads();
31178 result = (wxClipboard *)new wxClipboard();
31179
31180 wxPyEndAllowThreads(__tstate);
31181 if (PyErr_Occurred()) SWIG_fail;
31182 }
31183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
31184 return resultobj;
31185 fail:
31186 return NULL;
31187}
31188
31189
c32bde28 31190static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31191 PyObject *resultobj = NULL;
d55e5bfc
RD
31192 wxClipboard *arg1 = (wxClipboard *) 0 ;
31193 PyObject * obj0 = 0 ;
31194 char *kwnames[] = {
31195 (char *) "self", NULL
31196 };
31197
31198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
093d3ff1
RD
31199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31201 {
31202 PyThreadState* __tstate = wxPyBeginAllowThreads();
31203 delete arg1;
31204
31205 wxPyEndAllowThreads(__tstate);
31206 if (PyErr_Occurred()) SWIG_fail;
31207 }
31208 Py_INCREF(Py_None); resultobj = Py_None;
31209 return resultobj;
31210 fail:
31211 return NULL;
31212}
31213
31214
c32bde28 31215static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31216 PyObject *resultobj = NULL;
d55e5bfc
RD
31217 wxClipboard *arg1 = (wxClipboard *) 0 ;
31218 bool result;
31219 PyObject * obj0 = 0 ;
31220 char *kwnames[] = {
31221 (char *) "self", NULL
31222 };
31223
31224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
093d3ff1
RD
31225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31227 {
31228 PyThreadState* __tstate = wxPyBeginAllowThreads();
31229 result = (bool)(arg1)->Open();
31230
31231 wxPyEndAllowThreads(__tstate);
31232 if (PyErr_Occurred()) SWIG_fail;
31233 }
31234 {
31235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31236 }
31237 return resultobj;
31238 fail:
31239 return NULL;
31240}
31241
31242
c32bde28 31243static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31244 PyObject *resultobj = NULL;
d55e5bfc
RD
31245 wxClipboard *arg1 = (wxClipboard *) 0 ;
31246 PyObject * obj0 = 0 ;
31247 char *kwnames[] = {
31248 (char *) "self", NULL
31249 };
31250
31251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
093d3ff1
RD
31252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 (arg1)->Close();
31257
31258 wxPyEndAllowThreads(__tstate);
31259 if (PyErr_Occurred()) SWIG_fail;
31260 }
31261 Py_INCREF(Py_None); resultobj = Py_None;
31262 return resultobj;
31263 fail:
31264 return NULL;
31265}
31266
31267
c32bde28 31268static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31269 PyObject *resultobj = NULL;
d55e5bfc
RD
31270 wxClipboard *arg1 = (wxClipboard *) 0 ;
31271 bool result;
31272 PyObject * obj0 = 0 ;
31273 char *kwnames[] = {
31274 (char *) "self", NULL
31275 };
31276
31277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
093d3ff1
RD
31278 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31279 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31280 {
31281 PyThreadState* __tstate = wxPyBeginAllowThreads();
31282 result = (bool)((wxClipboard const *)arg1)->IsOpened();
31283
31284 wxPyEndAllowThreads(__tstate);
31285 if (PyErr_Occurred()) SWIG_fail;
31286 }
31287 {
31288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31289 }
31290 return resultobj;
31291 fail:
31292 return NULL;
31293}
31294
31295
c32bde28 31296static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31297 PyObject *resultobj = NULL;
d55e5bfc
RD
31298 wxClipboard *arg1 = (wxClipboard *) 0 ;
31299 wxDataObject *arg2 = (wxDataObject *) 0 ;
31300 bool result;
31301 PyObject * obj0 = 0 ;
31302 PyObject * obj1 = 0 ;
31303 char *kwnames[] = {
31304 (char *) "self",(char *) "data", NULL
31305 };
31306
31307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31309 if (SWIG_arg_fail(1)) SWIG_fail;
31310 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31311 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31312 {
31313 PyThreadState* __tstate = wxPyBeginAllowThreads();
31314 result = (bool)(arg1)->AddData(arg2);
31315
31316 wxPyEndAllowThreads(__tstate);
31317 if (PyErr_Occurred()) SWIG_fail;
31318 }
31319 {
31320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31321 }
31322 return resultobj;
31323 fail:
31324 return NULL;
31325}
31326
31327
c32bde28 31328static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31329 PyObject *resultobj = NULL;
d55e5bfc
RD
31330 wxClipboard *arg1 = (wxClipboard *) 0 ;
31331 wxDataObject *arg2 = (wxDataObject *) 0 ;
31332 bool result;
31333 PyObject * obj0 = 0 ;
31334 PyObject * obj1 = 0 ;
31335 char *kwnames[] = {
31336 (char *) "self",(char *) "data", NULL
31337 };
31338
31339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31341 if (SWIG_arg_fail(1)) SWIG_fail;
31342 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31343 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 result = (bool)(arg1)->SetData(arg2);
31347
31348 wxPyEndAllowThreads(__tstate);
31349 if (PyErr_Occurred()) SWIG_fail;
31350 }
31351 {
31352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31353 }
31354 return resultobj;
31355 fail:
31356 return NULL;
31357}
31358
31359
c32bde28 31360static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31361 PyObject *resultobj = NULL;
d55e5bfc
RD
31362 wxClipboard *arg1 = (wxClipboard *) 0 ;
31363 wxDataFormat *arg2 = 0 ;
31364 bool result;
31365 PyObject * obj0 = 0 ;
31366 PyObject * obj1 = 0 ;
31367 char *kwnames[] = {
31368 (char *) "self",(char *) "format", NULL
31369 };
31370
31371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31373 if (SWIG_arg_fail(1)) SWIG_fail;
31374 {
31375 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
31376 if (SWIG_arg_fail(2)) SWIG_fail;
31377 if (arg2 == NULL) {
31378 SWIG_null_ref("wxDataFormat");
31379 }
31380 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31381 }
31382 {
31383 PyThreadState* __tstate = wxPyBeginAllowThreads();
31384 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
31385
31386 wxPyEndAllowThreads(__tstate);
31387 if (PyErr_Occurred()) SWIG_fail;
31388 }
31389 {
31390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31391 }
31392 return resultobj;
31393 fail:
31394 return NULL;
31395}
31396
31397
c32bde28 31398static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31399 PyObject *resultobj = NULL;
d55e5bfc
RD
31400 wxClipboard *arg1 = (wxClipboard *) 0 ;
31401 wxDataObject *arg2 = 0 ;
31402 bool result;
31403 PyObject * obj0 = 0 ;
31404 PyObject * obj1 = 0 ;
31405 char *kwnames[] = {
31406 (char *) "self",(char *) "data", NULL
31407 };
31408
31409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail;
31412 {
31413 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
31414 if (SWIG_arg_fail(2)) SWIG_fail;
31415 if (arg2 == NULL) {
31416 SWIG_null_ref("wxDataObject");
31417 }
31418 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31419 }
31420 {
31421 PyThreadState* __tstate = wxPyBeginAllowThreads();
31422 result = (bool)(arg1)->GetData(*arg2);
31423
31424 wxPyEndAllowThreads(__tstate);
31425 if (PyErr_Occurred()) SWIG_fail;
31426 }
31427 {
31428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31429 }
31430 return resultobj;
31431 fail:
31432 return NULL;
31433}
31434
31435
c32bde28 31436static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31437 PyObject *resultobj = NULL;
d55e5bfc
RD
31438 wxClipboard *arg1 = (wxClipboard *) 0 ;
31439 PyObject * obj0 = 0 ;
31440 char *kwnames[] = {
31441 (char *) "self", NULL
31442 };
31443
31444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
093d3ff1
RD
31445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31447 {
31448 PyThreadState* __tstate = wxPyBeginAllowThreads();
31449 (arg1)->Clear();
31450
31451 wxPyEndAllowThreads(__tstate);
31452 if (PyErr_Occurred()) SWIG_fail;
31453 }
31454 Py_INCREF(Py_None); resultobj = Py_None;
31455 return resultobj;
31456 fail:
31457 return NULL;
31458}
31459
31460
c32bde28 31461static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31462 PyObject *resultobj = NULL;
d55e5bfc
RD
31463 wxClipboard *arg1 = (wxClipboard *) 0 ;
31464 bool result;
31465 PyObject * obj0 = 0 ;
31466 char *kwnames[] = {
31467 (char *) "self", NULL
31468 };
31469
31470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
093d3ff1
RD
31471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31472 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31473 {
31474 PyThreadState* __tstate = wxPyBeginAllowThreads();
31475 result = (bool)(arg1)->Flush();
31476
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 {
31481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31482 }
31483 return resultobj;
31484 fail:
31485 return NULL;
31486}
31487
31488
c32bde28 31489static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31490 PyObject *resultobj = NULL;
d55e5bfc 31491 wxClipboard *arg1 = (wxClipboard *) 0 ;
ae8162c8 31492 bool arg2 = (bool) true ;
d55e5bfc
RD
31493 PyObject * obj0 = 0 ;
31494 PyObject * obj1 = 0 ;
31495 char *kwnames[] = {
31496 (char *) "self",(char *) "primary", NULL
31497 };
31498
31499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31501 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31502 if (obj1) {
093d3ff1 31503 {
7449af73 31504 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
093d3ff1
RD
31505 if (SWIG_arg_fail(2)) SWIG_fail;
31506 }
d55e5bfc
RD
31507 }
31508 {
31509 PyThreadState* __tstate = wxPyBeginAllowThreads();
31510 (arg1)->UsePrimarySelection(arg2);
31511
31512 wxPyEndAllowThreads(__tstate);
31513 if (PyErr_Occurred()) SWIG_fail;
31514 }
31515 Py_INCREF(Py_None); resultobj = Py_None;
31516 return resultobj;
31517 fail:
31518 return NULL;
31519}
31520
31521
c32bde28 31522static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31523 PyObject *resultobj = NULL;
a001823c
RD
31524 wxClipboard *result;
31525 char *kwnames[] = {
31526 NULL
31527 };
31528
31529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
31530 {
31531 PyThreadState* __tstate = wxPyBeginAllowThreads();
31532 result = (wxClipboard *)wxClipboard::Get();
31533
31534 wxPyEndAllowThreads(__tstate);
31535 if (PyErr_Occurred()) SWIG_fail;
31536 }
31537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
31538 return resultobj;
31539 fail:
31540 return NULL;
31541}
31542
31543
c32bde28 31544static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31545 PyObject *obj;
31546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31547 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
31548 Py_INCREF(obj);
31549 return Py_BuildValue((char *)"");
31550}
c32bde28 31551static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31552 PyObject *resultobj = NULL;
d55e5bfc
RD
31553 wxClipboard *arg1 = (wxClipboard *) NULL ;
31554 wxClipboardLocker *result;
31555 PyObject * obj0 = 0 ;
31556 char *kwnames[] = {
31557 (char *) "clipboard", NULL
31558 };
31559
31560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
31561 if (obj0) {
093d3ff1
RD
31562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31564 }
31565 {
31566 PyThreadState* __tstate = wxPyBeginAllowThreads();
31567 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
31568
31569 wxPyEndAllowThreads(__tstate);
31570 if (PyErr_Occurred()) SWIG_fail;
31571 }
31572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
31573 return resultobj;
31574 fail:
31575 return NULL;
31576}
31577
31578
c32bde28 31579static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31580 PyObject *resultobj = NULL;
d55e5bfc
RD
31581 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
31582 PyObject * obj0 = 0 ;
31583 char *kwnames[] = {
31584 (char *) "self", NULL
31585 };
31586
31587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
093d3ff1
RD
31588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
31589 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31590 {
31591 PyThreadState* __tstate = wxPyBeginAllowThreads();
31592 delete arg1;
31593
31594 wxPyEndAllowThreads(__tstate);
31595 if (PyErr_Occurred()) SWIG_fail;
31596 }
31597 Py_INCREF(Py_None); resultobj = Py_None;
31598 return resultobj;
31599 fail:
31600 return NULL;
31601}
31602
31603
c32bde28 31604static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31605 PyObject *resultobj = NULL;
d55e5bfc
RD
31606 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
31607 bool result;
31608 PyObject * obj0 = 0 ;
31609 char *kwnames[] = {
31610 (char *) "self", NULL
31611 };
31612
31613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
093d3ff1
RD
31614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
31615 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31616 {
31617 PyThreadState* __tstate = wxPyBeginAllowThreads();
31618 result = (bool)wxClipboardLocker___nonzero__(arg1);
31619
31620 wxPyEndAllowThreads(__tstate);
31621 if (PyErr_Occurred()) SWIG_fail;
31622 }
31623 {
31624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31625 }
31626 return resultobj;
31627 fail:
31628 return NULL;
31629}
31630
31631
c32bde28 31632static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31633 PyObject *obj;
31634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31635 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
31636 Py_INCREF(obj);
31637 return Py_BuildValue((char *)"");
31638}
c32bde28 31639static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31640 PyObject *resultobj = NULL;
d55e5bfc
RD
31641 int arg1 = (int) 0 ;
31642 int arg2 = (int) 0 ;
31643 int arg3 = (int) 0 ;
31644 int arg4 = (int) 0 ;
31645 wxVideoMode *result;
31646 PyObject * obj0 = 0 ;
31647 PyObject * obj1 = 0 ;
31648 PyObject * obj2 = 0 ;
31649 PyObject * obj3 = 0 ;
31650 char *kwnames[] = {
31651 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31652 };
31653
31654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31655 if (obj0) {
093d3ff1 31656 {
7449af73 31657 arg1 = static_cast<int >(SWIG_As_int(obj0));
093d3ff1
RD
31658 if (SWIG_arg_fail(1)) SWIG_fail;
31659 }
d55e5bfc
RD
31660 }
31661 if (obj1) {
093d3ff1 31662 {
7449af73 31663 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31664 if (SWIG_arg_fail(2)) SWIG_fail;
31665 }
d55e5bfc
RD
31666 }
31667 if (obj2) {
093d3ff1 31668 {
7449af73 31669 arg3 = static_cast<int >(SWIG_As_int(obj2));
093d3ff1
RD
31670 if (SWIG_arg_fail(3)) SWIG_fail;
31671 }
d55e5bfc
RD
31672 }
31673 if (obj3) {
093d3ff1 31674 {
7449af73 31675 arg4 = static_cast<int >(SWIG_As_int(obj3));
093d3ff1
RD
31676 if (SWIG_arg_fail(4)) SWIG_fail;
31677 }
d55e5bfc
RD
31678 }
31679 {
31680 PyThreadState* __tstate = wxPyBeginAllowThreads();
31681 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
31682
31683 wxPyEndAllowThreads(__tstate);
31684 if (PyErr_Occurred()) SWIG_fail;
31685 }
31686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
31687 return resultobj;
31688 fail:
31689 return NULL;
31690}
31691
31692
c32bde28 31693static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31694 PyObject *resultobj = NULL;
d55e5bfc
RD
31695 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31696 PyObject * obj0 = 0 ;
31697 char *kwnames[] = {
31698 (char *) "self", NULL
31699 };
31700
31701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
31702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31703 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31704 {
31705 PyThreadState* __tstate = wxPyBeginAllowThreads();
31706 delete arg1;
31707
31708 wxPyEndAllowThreads(__tstate);
31709 if (PyErr_Occurred()) SWIG_fail;
31710 }
31711 Py_INCREF(Py_None); resultobj = Py_None;
31712 return resultobj;
31713 fail:
31714 return NULL;
31715}
31716
31717
c32bde28 31718static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31719 PyObject *resultobj = NULL;
d55e5bfc
RD
31720 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31721 wxVideoMode *arg2 = 0 ;
31722 bool result;
31723 PyObject * obj0 = 0 ;
31724 PyObject * obj1 = 0 ;
31725 char *kwnames[] = {
31726 (char *) "self",(char *) "other", NULL
31727 };
31728
31729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31731 if (SWIG_arg_fail(1)) SWIG_fail;
31732 {
31733 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31734 if (SWIG_arg_fail(2)) SWIG_fail;
31735 if (arg2 == NULL) {
31736 SWIG_null_ref("wxVideoMode");
31737 }
31738 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31739 }
31740 {
31741 PyThreadState* __tstate = wxPyBeginAllowThreads();
31742 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
31743
31744 wxPyEndAllowThreads(__tstate);
31745 if (PyErr_Occurred()) SWIG_fail;
31746 }
31747 {
31748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31749 }
31750 return resultobj;
31751 fail:
31752 return NULL;
31753}
31754
31755
c32bde28 31756static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31757 PyObject *resultobj = NULL;
d55e5bfc
RD
31758 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31759 int result;
31760 PyObject * obj0 = 0 ;
31761 char *kwnames[] = {
31762 (char *) "self", NULL
31763 };
31764
31765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
31766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31768 {
31769 PyThreadState* __tstate = wxPyBeginAllowThreads();
31770 result = (int)((wxVideoMode const *)arg1)->GetWidth();
31771
31772 wxPyEndAllowThreads(__tstate);
31773 if (PyErr_Occurred()) SWIG_fail;
31774 }
093d3ff1 31775 {
7449af73 31776 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31777 }
d55e5bfc
RD
31778 return resultobj;
31779 fail:
31780 return NULL;
31781}
31782
31783
c32bde28 31784static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31785 PyObject *resultobj = NULL;
d55e5bfc
RD
31786 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31787 int result;
31788 PyObject * obj0 = 0 ;
31789 char *kwnames[] = {
31790 (char *) "self", NULL
31791 };
31792
31793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
093d3ff1
RD
31794 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31795 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31796 {
31797 PyThreadState* __tstate = wxPyBeginAllowThreads();
31798 result = (int)((wxVideoMode const *)arg1)->GetHeight();
31799
31800 wxPyEndAllowThreads(__tstate);
31801 if (PyErr_Occurred()) SWIG_fail;
31802 }
093d3ff1 31803 {
7449af73 31804 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31805 }
d55e5bfc
RD
31806 return resultobj;
31807 fail:
31808 return NULL;
31809}
31810
31811
c32bde28 31812static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31813 PyObject *resultobj = NULL;
d55e5bfc
RD
31814 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31815 int result;
31816 PyObject * obj0 = 0 ;
31817 char *kwnames[] = {
31818 (char *) "self", NULL
31819 };
31820
31821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
093d3ff1
RD
31822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31823 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31824 {
31825 PyThreadState* __tstate = wxPyBeginAllowThreads();
31826 result = (int)((wxVideoMode const *)arg1)->GetDepth();
31827
31828 wxPyEndAllowThreads(__tstate);
31829 if (PyErr_Occurred()) SWIG_fail;
31830 }
093d3ff1 31831 {
7449af73 31832 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31833 }
d55e5bfc
RD
31834 return resultobj;
31835 fail:
31836 return NULL;
31837}
31838
31839
c32bde28 31840static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31841 PyObject *resultobj = NULL;
d55e5bfc
RD
31842 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31843 bool result;
31844 PyObject * obj0 = 0 ;
31845 char *kwnames[] = {
31846 (char *) "self", NULL
31847 };
31848
31849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
31850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31851 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31852 {
31853 PyThreadState* __tstate = wxPyBeginAllowThreads();
31854 result = (bool)((wxVideoMode const *)arg1)->IsOk();
31855
31856 wxPyEndAllowThreads(__tstate);
31857 if (PyErr_Occurred()) SWIG_fail;
31858 }
31859 {
31860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31861 }
31862 return resultobj;
31863 fail:
31864 return NULL;
31865}
31866
31867
c32bde28 31868static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31869 PyObject *resultobj = NULL;
d55e5bfc
RD
31870 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31871 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
31872 bool result;
31873 PyObject * obj0 = 0 ;
31874 PyObject * obj1 = 0 ;
31875 char *kwnames[] = {
31876 (char *) "self",(char *) "other", NULL
31877 };
31878
31879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31881 if (SWIG_arg_fail(1)) SWIG_fail;
31882 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31883 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31884 {
31885 PyThreadState* __tstate = wxPyBeginAllowThreads();
31886 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
31887
31888 wxPyEndAllowThreads(__tstate);
31889 if (PyErr_Occurred()) SWIG_fail;
31890 }
31891 {
31892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31893 }
31894 return resultobj;
31895 fail:
31896 return NULL;
31897}
31898
31899
c32bde28 31900static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31901 PyObject *resultobj = NULL;
d55e5bfc
RD
31902 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31903 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
31904 bool result;
31905 PyObject * obj0 = 0 ;
31906 PyObject * obj1 = 0 ;
31907 char *kwnames[] = {
31908 (char *) "self",(char *) "other", NULL
31909 };
31910
31911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31913 if (SWIG_arg_fail(1)) SWIG_fail;
31914 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31915 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31916 {
31917 PyThreadState* __tstate = wxPyBeginAllowThreads();
31918 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
31919
31920 wxPyEndAllowThreads(__tstate);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 }
31923 {
31924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31925 }
31926 return resultobj;
31927 fail:
31928 return NULL;
31929}
31930
31931
c32bde28 31932static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31933 PyObject *resultobj = NULL;
d55e5bfc
RD
31934 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31935 int arg2 ;
31936 PyObject * obj0 = 0 ;
31937 PyObject * obj1 = 0 ;
31938 char *kwnames[] = {
31939 (char *) "self",(char *) "w", NULL
31940 };
31941
31942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31944 if (SWIG_arg_fail(1)) SWIG_fail;
31945 {
7449af73 31946 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31947 if (SWIG_arg_fail(2)) SWIG_fail;
31948 }
d55e5bfc
RD
31949 if (arg1) (arg1)->w = arg2;
31950
31951 Py_INCREF(Py_None); resultobj = Py_None;
31952 return resultobj;
31953 fail:
31954 return NULL;
31955}
31956
31957
c32bde28 31958static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31959 PyObject *resultobj = NULL;
d55e5bfc
RD
31960 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31961 int result;
31962 PyObject * obj0 = 0 ;
31963 char *kwnames[] = {
31964 (char *) "self", NULL
31965 };
31966
31967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
31968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31969 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31970 result = (int) ((arg1)->w);
31971
093d3ff1 31972 {
7449af73 31973 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 31974 }
d55e5bfc
RD
31975 return resultobj;
31976 fail:
31977 return NULL;
31978}
31979
31980
c32bde28 31981static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 31982 PyObject *resultobj = NULL;
d55e5bfc
RD
31983 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31984 int arg2 ;
31985 PyObject * obj0 = 0 ;
31986 PyObject * obj1 = 0 ;
31987 char *kwnames[] = {
31988 (char *) "self",(char *) "h", NULL
31989 };
31990
31991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
31992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31993 if (SWIG_arg_fail(1)) SWIG_fail;
31994 {
7449af73 31995 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
31996 if (SWIG_arg_fail(2)) SWIG_fail;
31997 }
d55e5bfc
RD
31998 if (arg1) (arg1)->h = arg2;
31999
32000 Py_INCREF(Py_None); resultobj = Py_None;
32001 return resultobj;
32002 fail:
32003 return NULL;
32004}
32005
32006
c32bde28 32007static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32008 PyObject *resultobj = NULL;
d55e5bfc
RD
32009 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32010 int result;
32011 PyObject * obj0 = 0 ;
32012 char *kwnames[] = {
32013 (char *) "self", NULL
32014 };
32015
32016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
32017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32019 result = (int) ((arg1)->h);
32020
093d3ff1 32021 {
7449af73 32022 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32023 }
d55e5bfc
RD
32024 return resultobj;
32025 fail:
32026 return NULL;
32027}
32028
32029
c32bde28 32030static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32031 PyObject *resultobj = NULL;
d55e5bfc
RD
32032 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32033 int arg2 ;
32034 PyObject * obj0 = 0 ;
32035 PyObject * obj1 = 0 ;
32036 char *kwnames[] = {
32037 (char *) "self",(char *) "bpp", NULL
32038 };
32039
32040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32042 if (SWIG_arg_fail(1)) SWIG_fail;
32043 {
7449af73 32044 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32045 if (SWIG_arg_fail(2)) SWIG_fail;
32046 }
d55e5bfc
RD
32047 if (arg1) (arg1)->bpp = arg2;
32048
32049 Py_INCREF(Py_None); resultobj = Py_None;
32050 return resultobj;
32051 fail:
32052 return NULL;
32053}
32054
32055
c32bde28 32056static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32057 PyObject *resultobj = NULL;
d55e5bfc
RD
32058 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32059 int result;
32060 PyObject * obj0 = 0 ;
32061 char *kwnames[] = {
32062 (char *) "self", NULL
32063 };
32064
32065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
32066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32067 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32068 result = (int) ((arg1)->bpp);
32069
093d3ff1 32070 {
7449af73 32071 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32072 }
d55e5bfc
RD
32073 return resultobj;
32074 fail:
32075 return NULL;
32076}
32077
32078
c32bde28 32079static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32080 PyObject *resultobj = NULL;
d55e5bfc
RD
32081 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32082 int arg2 ;
32083 PyObject * obj0 = 0 ;
32084 PyObject * obj1 = 0 ;
32085 char *kwnames[] = {
32086 (char *) "self",(char *) "refresh", NULL
32087 };
32088
32089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32091 if (SWIG_arg_fail(1)) SWIG_fail;
32092 {
7449af73 32093 arg2 = static_cast<int >(SWIG_As_int(obj1));
093d3ff1
RD
32094 if (SWIG_arg_fail(2)) SWIG_fail;
32095 }
d55e5bfc
RD
32096 if (arg1) (arg1)->refresh = arg2;
32097
32098 Py_INCREF(Py_None); resultobj = Py_None;
32099 return resultobj;
32100 fail:
32101 return NULL;
32102}
32103
32104
c32bde28 32105static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32106 PyObject *resultobj = NULL;
d55e5bfc
RD
32107 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32108 int result;
32109 PyObject * obj0 = 0 ;
32110 char *kwnames[] = {
32111 (char *) "self", NULL
32112 };
32113
32114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
093d3ff1
RD
32115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32116 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32117 result = (int) ((arg1)->refresh);
32118
093d3ff1 32119 {
7449af73 32120 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32121 }
d55e5bfc
RD
32122 return resultobj;
32123 fail:
32124 return NULL;
32125}
32126
32127
c32bde28 32128static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32129 PyObject *obj;
32130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32131 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
32132 Py_INCREF(obj);
32133 return Py_BuildValue((char *)"");
32134}
c32bde28 32135static int _wrap_DefaultVideoMode_set(PyObject *) {
d55e5bfc
RD
32136 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
32137 return 1;
32138}
32139
32140
093d3ff1 32141static PyObject *_wrap_DefaultVideoMode_get(void) {
7449af73 32142 PyObject *pyobj = NULL;
d55e5bfc
RD
32143
32144 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
32145 return pyobj;
32146}
32147
32148
c32bde28 32149static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32150 PyObject *resultobj = NULL;
d55e5bfc
RD
32151 size_t arg1 = (size_t) 0 ;
32152 wxDisplay *result;
32153 PyObject * obj0 = 0 ;
32154 char *kwnames[] = {
32155 (char *) "index", NULL
32156 };
32157
32158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
32159 if (obj0) {
093d3ff1 32160 {
7449af73 32161 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
093d3ff1
RD
32162 if (SWIG_arg_fail(1)) SWIG_fail;
32163 }
d55e5bfc
RD
32164 }
32165 {
32166 PyThreadState* __tstate = wxPyBeginAllowThreads();
32167 result = (wxDisplay *)new wxDisplay(arg1);
32168
32169 wxPyEndAllowThreads(__tstate);
32170 if (PyErr_Occurred()) SWIG_fail;
32171 }
32172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
32173 return resultobj;
32174 fail:
32175 return NULL;
32176}
32177
32178
c32bde28 32179static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32180 PyObject *resultobj = NULL;
d55e5bfc
RD
32181 wxDisplay *arg1 = (wxDisplay *) 0 ;
32182 PyObject * obj0 = 0 ;
32183 char *kwnames[] = {
32184 (char *) "self", NULL
32185 };
32186
32187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
093d3ff1
RD
32188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32190 {
32191 PyThreadState* __tstate = wxPyBeginAllowThreads();
32192 delete arg1;
32193
32194 wxPyEndAllowThreads(__tstate);
32195 if (PyErr_Occurred()) SWIG_fail;
32196 }
32197 Py_INCREF(Py_None); resultobj = Py_None;
32198 return resultobj;
32199 fail:
32200 return NULL;
32201}
32202
32203
c32bde28 32204static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32205 PyObject *resultobj = NULL;
d55e5bfc
RD
32206 size_t result;
32207 char *kwnames[] = {
32208 NULL
32209 };
32210
32211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
32212 {
32213 PyThreadState* __tstate = wxPyBeginAllowThreads();
32214 result = (size_t)wxDisplay::GetCount();
32215
32216 wxPyEndAllowThreads(__tstate);
32217 if (PyErr_Occurred()) SWIG_fail;
32218 }
093d3ff1 32219 {
7449af73 32220 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
093d3ff1 32221 }
d55e5bfc
RD
32222 return resultobj;
32223 fail:
32224 return NULL;
32225}
32226
32227
c32bde28 32228static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32229 PyObject *resultobj = NULL;
d55e5bfc
RD
32230 wxPoint *arg1 = 0 ;
32231 int result;
32232 wxPoint temp1 ;
32233 PyObject * obj0 = 0 ;
32234 char *kwnames[] = {
32235 (char *) "pt", NULL
32236 };
32237
32238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
32239 {
32240 arg1 = &temp1;
32241 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
32242 }
32243 {
32244 PyThreadState* __tstate = wxPyBeginAllowThreads();
32245 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
32246
32247 wxPyEndAllowThreads(__tstate);
32248 if (PyErr_Occurred()) SWIG_fail;
32249 }
093d3ff1 32250 {
7449af73 32251 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32252 }
d55e5bfc
RD
32253 return resultobj;
32254 fail:
32255 return NULL;
32256}
32257
32258
c32bde28 32259static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32260 PyObject *resultobj = NULL;
d55e5bfc
RD
32261 wxWindow *arg1 = (wxWindow *) 0 ;
32262 int result;
32263 PyObject * obj0 = 0 ;
32264 char *kwnames[] = {
32265 (char *) "window", NULL
32266 };
32267
32268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
32269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32271 {
32272 PyThreadState* __tstate = wxPyBeginAllowThreads();
32273 result = (int)wxDisplay::GetFromWindow(arg1);
32274
32275 wxPyEndAllowThreads(__tstate);
32276 if (PyErr_Occurred()) SWIG_fail;
32277 }
093d3ff1 32278 {
7449af73 32279 resultobj = SWIG_From_int(static_cast<int >(result));
093d3ff1 32280 }
d55e5bfc
RD
32281 return resultobj;
32282 fail:
32283 return NULL;
32284}
32285
32286
c32bde28 32287static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32288 PyObject *resultobj = NULL;
d55e5bfc
RD
32289 wxDisplay *arg1 = (wxDisplay *) 0 ;
32290 bool result;
32291 PyObject * obj0 = 0 ;
32292 char *kwnames[] = {
32293 (char *) "self", NULL
32294 };
32295
32296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
093d3ff1
RD
32297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32299 {
32300 PyThreadState* __tstate = wxPyBeginAllowThreads();
32301 result = (bool)((wxDisplay const *)arg1)->IsOk();
32302
32303 wxPyEndAllowThreads(__tstate);
32304 if (PyErr_Occurred()) SWIG_fail;
32305 }
32306 {
32307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32308 }
32309 return resultobj;
32310 fail:
32311 return NULL;
32312}
32313
32314
c32bde28 32315static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32316 PyObject *resultobj = NULL;
d55e5bfc
RD
32317 wxDisplay *arg1 = (wxDisplay *) 0 ;
32318 wxRect result;
32319 PyObject * obj0 = 0 ;
32320 char *kwnames[] = {
32321 (char *) "self", NULL
32322 };
32323
32324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
093d3ff1
RD
32325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32326 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 result = ((wxDisplay const *)arg1)->GetGeometry();
32330
32331 wxPyEndAllowThreads(__tstate);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 }
32334 {
32335 wxRect * resultptr;
7449af73 32336 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
32337 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
32338 }
32339 return resultobj;
32340 fail:
32341 return NULL;
32342}
32343
32344
c32bde28 32345static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32346 PyObject *resultobj = NULL;
d55e5bfc
RD
32347 wxDisplay *arg1 = (wxDisplay *) 0 ;
32348 wxString result;
32349 PyObject * obj0 = 0 ;
32350 char *kwnames[] = {
32351 (char *) "self", NULL
32352 };
32353
32354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
093d3ff1
RD
32355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32357 {
32358 PyThreadState* __tstate = wxPyBeginAllowThreads();
32359 result = ((wxDisplay const *)arg1)->GetName();
32360
32361 wxPyEndAllowThreads(__tstate);
32362 if (PyErr_Occurred()) SWIG_fail;
32363 }
32364 {
32365#if wxUSE_UNICODE
32366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32367#else
32368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32369#endif
32370 }
32371 return resultobj;
32372 fail:
32373 return NULL;
32374}
32375
32376
c32bde28 32377static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32378 PyObject *resultobj = NULL;
d55e5bfc
RD
32379 wxDisplay *arg1 = (wxDisplay *) 0 ;
32380 bool result;
32381 PyObject * obj0 = 0 ;
32382 char *kwnames[] = {
32383 (char *) "self", NULL
32384 };
32385
32386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
093d3ff1
RD
32387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32389 {
32390 PyThreadState* __tstate = wxPyBeginAllowThreads();
32391 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
32392
32393 wxPyEndAllowThreads(__tstate);
32394 if (PyErr_Occurred()) SWIG_fail;
32395 }
32396 {
32397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32398 }
32399 return resultobj;
32400 fail:
32401 return NULL;
32402}
32403
32404
c32bde28 32405static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32406 PyObject *resultobj = NULL;
d55e5bfc
RD
32407 wxDisplay *arg1 = (wxDisplay *) 0 ;
32408 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
32409 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
32410 PyObject *result;
32411 PyObject * obj0 = 0 ;
32412 PyObject * obj1 = 0 ;
32413 char *kwnames[] = {
32414 (char *) "self",(char *) "mode", NULL
32415 };
32416
32417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32419 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32420 if (obj1) {
093d3ff1
RD
32421 {
32422 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32423 if (SWIG_arg_fail(2)) SWIG_fail;
32424 if (arg2 == NULL) {
32425 SWIG_null_ref("wxVideoMode");
32426 }
32427 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32428 }
32429 }
32430 {
32431 PyThreadState* __tstate = wxPyBeginAllowThreads();
32432 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
32433
32434 wxPyEndAllowThreads(__tstate);
32435 if (PyErr_Occurred()) SWIG_fail;
32436 }
32437 resultobj = result;
32438 return resultobj;
32439 fail:
32440 return NULL;
32441}
32442
32443
c32bde28 32444static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32445 PyObject *resultobj = NULL;
d55e5bfc
RD
32446 wxDisplay *arg1 = (wxDisplay *) 0 ;
32447 wxVideoMode result;
32448 PyObject * obj0 = 0 ;
32449 char *kwnames[] = {
32450 (char *) "self", NULL
32451 };
32452
32453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
32454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32456 {
32457 PyThreadState* __tstate = wxPyBeginAllowThreads();
32458 result = ((wxDisplay const *)arg1)->GetCurrentMode();
32459
32460 wxPyEndAllowThreads(__tstate);
32461 if (PyErr_Occurred()) SWIG_fail;
32462 }
32463 {
32464 wxVideoMode * resultptr;
7449af73 32465 resultptr = new wxVideoMode(static_cast<wxVideoMode & >(result));
d55e5bfc
RD
32466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
32467 }
32468 return resultobj;
32469 fail:
32470 return NULL;
32471}
32472
32473
c32bde28 32474static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32475 PyObject *resultobj = NULL;
d55e5bfc
RD
32476 wxDisplay *arg1 = (wxDisplay *) 0 ;
32477 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
32478 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
32479 bool result;
32480 PyObject * obj0 = 0 ;
32481 PyObject * obj1 = 0 ;
32482 char *kwnames[] = {
32483 (char *) "self",(char *) "mode", NULL
32484 };
32485
32486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32489 if (obj1) {
093d3ff1
RD
32490 {
32491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32492 if (SWIG_arg_fail(2)) SWIG_fail;
32493 if (arg2 == NULL) {
32494 SWIG_null_ref("wxVideoMode");
32495 }
32496 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32497 }
32498 }
32499 {
32500 PyThreadState* __tstate = wxPyBeginAllowThreads();
32501 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
32502
32503 wxPyEndAllowThreads(__tstate);
32504 if (PyErr_Occurred()) SWIG_fail;
32505 }
32506 {
32507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32508 }
32509 return resultobj;
32510 fail:
32511 return NULL;
32512}
32513
32514
c32bde28 32515static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32516 PyObject *resultobj = NULL;
d55e5bfc
RD
32517 wxDisplay *arg1 = (wxDisplay *) 0 ;
32518 PyObject * obj0 = 0 ;
32519 char *kwnames[] = {
32520 (char *) "self", NULL
32521 };
32522
32523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
093d3ff1
RD
32524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32526 {
32527 PyThreadState* __tstate = wxPyBeginAllowThreads();
32528 (arg1)->ResetMode();
32529
32530 wxPyEndAllowThreads(__tstate);
32531 if (PyErr_Occurred()) SWIG_fail;
32532 }
32533 Py_INCREF(Py_None); resultobj = Py_None;
32534 return resultobj;
32535 fail:
32536 return NULL;
32537}
32538
32539
c32bde28 32540static PyObject * Display_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32541 PyObject *obj;
32542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32543 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
32544 Py_INCREF(obj);
32545 return Py_BuildValue((char *)"");
32546}
c1cb24a4 32547static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32548 PyObject *resultobj = NULL;
c1cb24a4
RD
32549 wxStandardPaths *result;
32550 char *kwnames[] = {
32551 NULL
32552 };
32553
32554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
32555 {
32556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449af73 32557 result = (wxStandardPaths *)wxStandardPaths_Get();
c1cb24a4
RD
32558
32559 wxPyEndAllowThreads(__tstate);
32560 if (PyErr_Occurred()) SWIG_fail;
32561 }
32562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
32563 return resultobj;
32564 fail:
32565 return NULL;
32566}
32567
32568
32569static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32570 PyObject *resultobj = NULL;
c1cb24a4
RD
32571 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32572 wxString result;
32573 PyObject * obj0 = 0 ;
32574 char *kwnames[] = {
32575 (char *) "self", NULL
32576 };
32577
32578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32581 {
32582 PyThreadState* __tstate = wxPyBeginAllowThreads();
32583 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
32584
32585 wxPyEndAllowThreads(__tstate);
32586 if (PyErr_Occurred()) SWIG_fail;
32587 }
32588 {
32589#if wxUSE_UNICODE
32590 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32591#else
32592 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32593#endif
32594 }
32595 return resultobj;
32596 fail:
32597 return NULL;
32598}
32599
32600
32601static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32602 PyObject *resultobj = NULL;
c1cb24a4
RD
32603 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32604 wxString result;
32605 PyObject * obj0 = 0 ;
32606 char *kwnames[] = {
32607 (char *) "self", NULL
32608 };
32609
32610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32612 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32613 {
32614 PyThreadState* __tstate = wxPyBeginAllowThreads();
32615 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
32616
32617 wxPyEndAllowThreads(__tstate);
32618 if (PyErr_Occurred()) SWIG_fail;
32619 }
32620 {
32621#if wxUSE_UNICODE
32622 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32623#else
32624 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32625#endif
32626 }
32627 return resultobj;
32628 fail:
32629 return NULL;
32630}
32631
32632
32633static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32634 PyObject *resultobj = NULL;
c1cb24a4
RD
32635 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32636 wxString result;
32637 PyObject * obj0 = 0 ;
32638 char *kwnames[] = {
32639 (char *) "self", NULL
32640 };
32641
32642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32644 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32645 {
32646 PyThreadState* __tstate = wxPyBeginAllowThreads();
32647 result = ((wxStandardPaths const *)arg1)->GetDataDir();
32648
32649 wxPyEndAllowThreads(__tstate);
32650 if (PyErr_Occurred()) SWIG_fail;
32651 }
32652 {
32653#if wxUSE_UNICODE
32654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32655#else
32656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32657#endif
32658 }
32659 return resultobj;
32660 fail:
32661 return NULL;
32662}
32663
32664
32665static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32666 PyObject *resultobj = NULL;
c1cb24a4
RD
32667 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32668 wxString result;
32669 PyObject * obj0 = 0 ;
32670 char *kwnames[] = {
32671 (char *) "self", NULL
32672 };
32673
32674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32676 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32677 {
32678 PyThreadState* __tstate = wxPyBeginAllowThreads();
32679 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
32680
32681 wxPyEndAllowThreads(__tstate);
32682 if (PyErr_Occurred()) SWIG_fail;
32683 }
32684 {
32685#if wxUSE_UNICODE
32686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32687#else
32688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32689#endif
32690 }
32691 return resultobj;
32692 fail:
32693 return NULL;
32694}
32695
32696
32697static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32698 PyObject *resultobj = NULL;
c1cb24a4
RD
32699 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32700 wxString result;
32701 PyObject * obj0 = 0 ;
32702 char *kwnames[] = {
32703 (char *) "self", NULL
32704 };
32705
32706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32708 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32709 {
32710 PyThreadState* __tstate = wxPyBeginAllowThreads();
32711 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
32712
32713 wxPyEndAllowThreads(__tstate);
32714 if (PyErr_Occurred()) SWIG_fail;
32715 }
32716 {
32717#if wxUSE_UNICODE
32718 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32719#else
32720 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32721#endif
32722 }
32723 return resultobj;
32724 fail:
32725 return NULL;
32726}
32727
32728
32729static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32730 PyObject *resultobj = NULL;
c1cb24a4
RD
32731 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32732 wxString result;
32733 PyObject * obj0 = 0 ;
32734 char *kwnames[] = {
32735 (char *) "self", NULL
32736 };
32737
32738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32740 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32741 {
32742 PyThreadState* __tstate = wxPyBeginAllowThreads();
32743 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
32744
32745 wxPyEndAllowThreads(__tstate);
32746 if (PyErr_Occurred()) SWIG_fail;
32747 }
32748 {
32749#if wxUSE_UNICODE
32750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32751#else
32752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32753#endif
32754 }
32755 return resultobj;
32756 fail:
32757 return NULL;
32758}
32759
32760
32761static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32762 PyObject *resultobj = NULL;
c1cb24a4
RD
32763 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32764 wxString result;
32765 PyObject * obj0 = 0 ;
32766 char *kwnames[] = {
32767 (char *) "self", NULL
32768 };
32769
32770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
093d3ff1
RD
32771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32772 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32773 {
32774 PyThreadState* __tstate = wxPyBeginAllowThreads();
32775 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
32776
32777 wxPyEndAllowThreads(__tstate);
32778 if (PyErr_Occurred()) SWIG_fail;
32779 }
32780 {
32781#if wxUSE_UNICODE
32782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32783#else
32784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32785#endif
32786 }
32787 return resultobj;
32788 fail:
32789 return NULL;
32790}
32791
32792
32793static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32794 PyObject *resultobj = NULL;
c1cb24a4
RD
32795 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32796 wxString *arg2 = 0 ;
32797 bool temp2 = false ;
32798 PyObject * obj0 = 0 ;
32799 PyObject * obj1 = 0 ;
32800 char *kwnames[] = {
32801 (char *) "self",(char *) "prefix", NULL
32802 };
32803
32804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
32805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32806 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32807 {
32808 arg2 = wxString_in_helper(obj1);
32809 if (arg2 == NULL) SWIG_fail;
32810 temp2 = true;
32811 }
32812 {
32813 PyThreadState* __tstate = wxPyBeginAllowThreads();
32814 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
32815
32816 wxPyEndAllowThreads(__tstate);
32817 if (PyErr_Occurred()) SWIG_fail;
32818 }
32819 Py_INCREF(Py_None); resultobj = Py_None;
32820 {
32821 if (temp2)
32822 delete arg2;
32823 }
32824 return resultobj;
32825 fail:
32826 {
32827 if (temp2)
32828 delete arg2;
32829 }
32830 return NULL;
32831}
32832
32833
32834static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
7449af73 32835 PyObject *resultobj = NULL;
c1cb24a4
RD
32836 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32837 wxString result;
32838 PyObject * obj0 = 0 ;
32839 char *kwnames[] = {
32840 (char *) "self", NULL
32841 };
32842
32843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
093d3ff1
RD
32844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32845 if (SWIG_arg_fail(1)) SWIG_fail;
c1cb24a4
RD
32846 {
32847 PyThreadState* __tstate = wxPyBeginAllowThreads();
32848 result = wxStandardPaths_GetInstallPrefix(arg1);
32849
32850 wxPyEndAllowThreads(__tstate);
32851 if (PyErr_Occurred()) SWIG_fail;
32852 }
32853 {
32854#if wxUSE_UNICODE
32855 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32856#else
32857 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32858#endif
32859 }
32860 return resultobj;
32861 fail:
32862 return NULL;
32863}
32864
32865
32866static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
32867 PyObject *obj;
32868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32869 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
32870 Py_INCREF(obj);
32871 return Py_BuildValue((char *)"");
32872}
d55e5bfc 32873static PyMethodDef SwigMethods[] = {
093d3ff1
RD
32874 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32875 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
32876 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
32877 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
32878 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
32879 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
32880 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
32881 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
32882 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
32883 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
32884 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
32885 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
32886 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
396fb509 32887 { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32888 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
32889 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
32890 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
32891 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
32892 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
32893 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
32894 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
32895 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
32896 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32897 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32898 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
32899 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
32900 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
32901 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
32902 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
32903 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
32904 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
32905 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
32906 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
32907 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
32908 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
32909 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
32910 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
32911 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
32912 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
32913 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
32914 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
32915 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
32916 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
32917 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
32918 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
32919 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
32920 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32921 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32922 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32923 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32924 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32925 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32926 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
32927 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32928 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32929 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
32930 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32931 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32932 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
32933 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
32934 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32935 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32936 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
32937 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
32938 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
a97cefba 32939 { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32940 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
7449af73
RD
32941 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
32942 { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32943 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32944 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32945 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32946 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
d04418a7 32947 { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 32948 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
7449af73
RD
32949 { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
32950 { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
32951 { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
32952 { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
32953 { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32954 { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
32955 { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
32956 { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
32957 { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32958 { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
32959 { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
32960 { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
32961 { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
32962 { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
32963 { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32964 { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
32965 { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL},
32966 { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
32967 { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32968 { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL},
32969 { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
32970 { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL},
32971 { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32972 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
32973 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32974 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32975 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32976 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32977 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
32978 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
32979 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 32980 { (char *)"delete_ToolTip", (PyCFunction) _wrap_delete_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32981 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
32982 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
32983 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32984 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
32985 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
32986 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
32987 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 32988 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 32989 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
32990 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32991 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32992 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32993 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
32994 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32995 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
32996 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32997 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
32998 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
32999 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
33000 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33001 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
33002 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33003 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
33004 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 33005 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
33006 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33007 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33008 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
33009 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
33010 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
33011 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
33012 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33013 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33014 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
33015 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
33016 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33017 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
33018 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
33019 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
33020 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
33021 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33022 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33023 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33024 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33025 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
33026 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33027 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33028 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
33029 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
33030 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33031 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33032 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
33033 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
33034 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
33035 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33036 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33037 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33038 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33039 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
33040 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 33041 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33042 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33043 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
33044 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
33045 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
33046 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
33047 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33048 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33049 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
33050 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
33051 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33052 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
33053 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
33054 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33055 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
33056 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
33057 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33058 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 33059 { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33060 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
33061 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
33062 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
33063 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
33064 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
33065 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33066 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
33067 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
33068 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
33069 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
33070 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33071 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
33072 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 33073 { (char *)"delete_Log", (PyCFunction) _wrap_delete_Log, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33074 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
33075 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
33076 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
33077 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33078 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
33079 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33080 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33081 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
33082 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
33083 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33084 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
33085 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
33086 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33087 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33088 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33089 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
33090 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
33091 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
33092 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33093 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33094 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33095 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
33096 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
33097 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
33098 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
33099 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
33100 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
33101 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
33102 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
33103 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
33104 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
33105 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
33106 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33107 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
33108 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33109 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
33110 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33111 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33112 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
33113 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
33114 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
33115 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33116 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33117 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
33118 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
be9b1dca
RD
33119 { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
33120 { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
33121 { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33122 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
33123 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
33124 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
33125 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
33126 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
33127 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
33128 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
33129 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33130 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
33131 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33132 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
33133 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33134 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
33135 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
33136 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
33137 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
33138 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
33139 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
33140 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
33141 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
33142 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33143 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
33144 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
33145 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
33146 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
33147 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
33148 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 33149 { (char *)"Process_OnTerminate", (PyCFunction) _wrap_Process_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33150 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
33151 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
33152 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
33153 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
33154 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
33155 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
33156 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
33157 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
33158 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
33159 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
33160 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
33161 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33162 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
33163 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
33164 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
33165 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
33166 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
33167 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
33168 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
33169 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
33170 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
33171 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
33172 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
33173 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33174 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33175 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33176 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33177 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33178 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33179 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33180 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33181 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
33182 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
33183 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33184 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
33185 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
33186 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
33187 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
33188 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
33189 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
33190 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
33191 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
33192 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
33193 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
33194 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
33195 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
33196 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
33197 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
33198 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
33199 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
33200 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
33201 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
33202 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
33203 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
33204 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
33205 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
33206 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
33207 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
33208 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
33209 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
33210 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
33211 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
33212 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
33213 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
33214 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
33215 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
093d3ff1
RD
33216 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33217 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33218 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33219 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33220 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
33221 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
33222 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
33223 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33224 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
33225 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33226 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33227 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
33228 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
33229 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
33230 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
33231 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
33232 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
33233 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
33234 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
33235 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
33236 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
33237 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33238 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
33239 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33240 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
33241 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
33242 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
33243 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
33244 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33245 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
33246 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33247 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
33248 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33249 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
33250 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33251 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33252 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33253 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
33254 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
33255 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
33256 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
33257 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
33258 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
33259 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
33260 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
33261 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
33262 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33263 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33264 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
33265 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33266 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33267 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
33268 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33269 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33270 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
33271 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33272 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33273 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
33274 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33275 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
33276 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
33277 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
33278 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
33279 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
33280 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
33281 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33282 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
33283 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33284 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33285 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
33286 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
33287 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
33288 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
33289 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
33290 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 33291 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33292 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33293 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33294 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33295 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33296 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33297 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f 33298 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33299 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
33300 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
33301 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
33302 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
33303 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33304 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33305 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
33306 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
33307 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
33308 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33309 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33310 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33311 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33312 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
33313 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
33314 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33315 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33316 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
33317 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
33318 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
33319 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
33320 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
33321 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
33322 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
33323 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
33324 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
33325 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
33326 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33327 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33328 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33329 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33330 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33331 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
33332 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33333 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33334 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
33335 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
33336 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33337 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
33338 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
33339 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
33340 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
33341 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
33342 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
33343 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
33344 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
33345 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
33346 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
33347 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
33348 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
33349 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
33350 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
33351 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
33352 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
33353 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
33354 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33355 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33356 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33357 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33358 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
33359 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
33360 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33361 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
33362 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
33363 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
33364 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33365 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
33366 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
33367 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
33368 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
33369 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
33370 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
33371 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
33372 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
33373 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
33374 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33375 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
33376 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33377 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
33378 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
33379 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33380 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
33381 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
33382 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33383 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
33384 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
33385 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
33386 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
33387 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33388 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
33389 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
33390 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
33391 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
33392 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
33393 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33394 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33395 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33396 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33397 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33398 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33399 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33400 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33401 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33402 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33403 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33404 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33405 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
33406 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
33407 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
33408 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
33409 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
33410 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33411 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
33412 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
33413 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
33414 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33415 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
33416 { (char *)"DateTime_FromTimezone", (PyCFunction) _wrap_DateTime_FromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33417 { (char *)"DateTime_MakeFromTimezone", (PyCFunction) _wrap_DateTime_MakeFromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33418 { (char *)"DateTime_ToUTC", (PyCFunction) _wrap_DateTime_ToUTC, METH_VARARGS | METH_KEYWORDS, NULL},
33419 { (char *)"DateTime_MakeUTC", (PyCFunction) _wrap_DateTime_MakeUTC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33420 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
33421 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
9d7dfdff
RD
33422 { (char *)"DateTime_FromUTC", (PyCFunction) _wrap_DateTime_FromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
33423 { (char *)"DateTime_MakeFromUTC", (PyCFunction) _wrap_DateTime_MakeFromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33424 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
33425 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
33426 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
33427 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
33428 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33429 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
33430 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33431 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
33432 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
33433 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
33434 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
33435 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33436 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33437 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33438 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
33439 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
33440 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
33441 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
33442 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
33443 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
33444 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
33445 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
33446 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
33447 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
33448 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
33449 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
33450 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
33451 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33452 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
33453 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
33454 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
33455 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
33456 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
33457 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
33458 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
33459 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
33460 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33461 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33462 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
33463 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33464 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33465 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
33466 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
33467 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
33468 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
33469 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
33470 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
33471 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
33472 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
33473 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
33474 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
33475 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
33476 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
33477 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
33478 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
33479 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
33480 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
33481 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
33482 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
33483 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33484 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33485 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33486 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33487 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
33488 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
33489 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
33490 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
33491 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
33492 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
33493 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
33494 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
33495 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
33496 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
33497 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
33498 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
33499 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
33500 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
33501 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
33502 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33503 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33504 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
33505 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
33506 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
33507 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
33508 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
33509 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
33510 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33511 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33512 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
33513 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
33514 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
33515 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
33516 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
33517 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
33518 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33519 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33520 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
33521 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
33522 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
33523 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
33524 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
33525 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
33526 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
33527 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
33528 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
33529 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
33530 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33531 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33532 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
33533 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
33534 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33535 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33536 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
33537 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33538 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33539 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
33540 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
33541 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
33542 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
33543 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
33544 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
33545 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
33546 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
33547 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
33548 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
33549 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33550 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33551 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
33552 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
33553 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
33554 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
33555 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
33556 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33557 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33558 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33559 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
33560 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
33561 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
33562 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
33563 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
33564 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
33565 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
33566 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33567 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33568 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
33569 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
33570 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
33571 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
33572 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
33573 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33574 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
33575 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
33576 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33577 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33578 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
33579 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
33580 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33581 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
33582 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
33583 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33584 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
33585 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
33586 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33587 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
33588 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33589 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
33590 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
33591 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
33592 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
33593 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33594 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33595 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
33596 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33597 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33598 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33599 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
33600 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33601 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33602 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
33603 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33604 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
33605 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
33606 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
fef4c27a 33607 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
093d3ff1
RD
33608 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33609 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33610 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
33611 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
33612 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33613 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
33614 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
33615 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
33616 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33617 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
33618 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
33619 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
33620 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
33621 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
33622 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33623 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
33624 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33625 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33626 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33627 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 33628 { (char *)"DropSource_GiveFeedback", (PyCFunction) _wrap_DropSource_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33629 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
33630 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33631 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33632 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33633 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33634 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
33635 { (char *)"DropTarget_OnEnter", (PyCFunction) _wrap_DropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33636 { (char *)"DropTarget_OnDragOver", (PyCFunction) _wrap_DropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33637 { (char *)"DropTarget_OnLeave", (PyCFunction) _wrap_DropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33638 { (char *)"DropTarget_OnDrop", (PyCFunction) _wrap_DropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 33639 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
0c549c5f
RD
33640 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
33641 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33642 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
33643 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33644 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
33645 { (char *)"TextDropTarget_OnDropText", (PyCFunction) _wrap_TextDropTarget_OnDropText, METH_VARARGS | METH_KEYWORDS, NULL},
33646 { (char *)"TextDropTarget_OnEnter", (PyCFunction) _wrap_TextDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33647 { (char *)"TextDropTarget_OnDragOver", (PyCFunction) _wrap_TextDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33648 { (char *)"TextDropTarget_OnLeave", (PyCFunction) _wrap_TextDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33649 { (char *)"TextDropTarget_OnDrop", (PyCFunction) _wrap_TextDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
33650 { (char *)"TextDropTarget_OnData", (PyCFunction) _wrap_TextDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33651 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
33652 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33653 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
33654 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction) _wrap_FileDropTarget_OnDropFiles, METH_VARARGS | METH_KEYWORDS, NULL},
33655 { (char *)"FileDropTarget_OnEnter", (PyCFunction) _wrap_FileDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33656 { (char *)"FileDropTarget_OnDragOver", (PyCFunction) _wrap_FileDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33657 { (char *)"FileDropTarget_OnLeave", (PyCFunction) _wrap_FileDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33658 { (char *)"FileDropTarget_OnDrop", (PyCFunction) _wrap_FileDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
33659 { (char *)"FileDropTarget_OnData", (PyCFunction) _wrap_FileDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
33660 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
33661 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
33662 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
33663 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
33664 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
33665 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
33666 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
33667 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33668 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
33669 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
33670 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
33671 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33672 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
33673 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33674 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
33675 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
33676 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
33677 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
33678 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
33679 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
33680 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
33681 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
33682 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
33683 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
33684 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
33685 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33686 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33687 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33688 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
33689 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
33690 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
33691 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
33692 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
33693 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
33694 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
33695 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
33696 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
33697 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
33698 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
33699 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
33700 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
33701 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33702 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33703 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
33704 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
33705 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
33706 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
33707 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
33708 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
33709 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
33710 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
33711 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33712 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
33713 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
33714 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33715 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33716 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33717 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33718 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
33719 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
33720 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
33721 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c32bde28 33722 { NULL, NULL, 0, NULL }
d55e5bfc
RD
33723};
33724
33725
33726/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33727
33728static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
33729 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
33730}
33731static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
33732 return (void *)((wxEvent *) ((wxMenuEvent *) x));
33733}
33734static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
33735 return (void *)((wxEvent *) ((wxCloseEvent *) x));
33736}
33737static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
33738 return (void *)((wxEvent *) ((wxMouseEvent *) x));
33739}
33740static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
33741 return (void *)((wxEvent *) ((wxEraseEvent *) x));
33742}
33743static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
33744 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
33745}
33746static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
33747 return (void *)((wxEvent *) ((wxTimerEvent *) x));
33748}
33749static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
33750 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
33751}
33752static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
33753 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
33754}
33755static void *_p_wxPyEventTo_p_wxEvent(void *x) {
33756 return (void *)((wxEvent *) ((wxPyEvent *) x));
33757}
33758static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
33759 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
33760}
33761static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
33762 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
33763}
33764static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
33765 return (void *)((wxEvent *) ((wxIdleEvent *) x));
33766}
33767static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
33768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
33769}
33770static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
33771 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
33772}
33773static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
33774 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
33775}
33776static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
33777 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
33778}
33779static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
33780 return (void *)((wxEvent *) ((wxActivateEvent *) x));
33781}
33782static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
33783 return (void *)((wxEvent *) ((wxSizeEvent *) x));
33784}
33785static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
33786 return (void *)((wxEvent *) ((wxMoveEvent *) x));
33787}
53aa7709
RD
33788static void *_p_wxDateEventTo_p_wxEvent(void *x) {
33789 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
33790}
d55e5bfc
RD
33791static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
33792 return (void *)((wxEvent *) ((wxPaintEvent *) x));
33793}
33794static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
33795 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
33796}
33797static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
33798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
33799}
33800static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
33801 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
33802}
33803static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
33804 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
33805}
33806static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
33807 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33808}
33809static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
33810 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
33811}
33812static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
33813 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
33814}
33815static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
33816 return (void *)((wxEvent *) ((wxFocusEvent *) x));
33817}
33818static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
33819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
33820}
33821static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
33822 return (void *)((wxEvent *) ((wxProcessEvent *) x));
33823}
33824static void *_p_wxShowEventTo_p_wxEvent(void *x) {
33825 return (void *)((wxEvent *) ((wxShowEvent *) x));
33826}
33827static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
33828 return (void *)((wxEvent *) ((wxCommandEvent *) x));
33829}
33830static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
33831 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
33832}
33833static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
33834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33835}
33836static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
33837 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
33838}
33839static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
33840 return (void *)((wxEvent *) ((wxKeyEvent *) x));
33841}
33842static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
33843 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
33844}
33845static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
33846 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
33847}
33848static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
33849 return (void *)((wxConfigBase *) ((wxConfig *) x));
33850}
33851static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
33852 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33853}
33854static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
33855 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
33856}
33857static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
33858 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
33859}
33860static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
33861 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
33862}
33863static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
33864 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
33865}
33866static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
33867 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
33868}
33869static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
33870 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
33871}
33872static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
33873 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
33874}
33875static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
33876 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33877}
33878static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
33879 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
33880}
33881static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
33882 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
33883}
33884static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
7449af73 33885 return (void *)((wxDataObject *) ((wxURLDataObject *) x));
d55e5bfc
RD
33886}
33887static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
33888 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
33889}
d55e5bfc
RD
33890static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
33891 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
33892}
33893static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
33894 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
33895}
33896static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
33897 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
33898}
33899static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
33900 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
33901}
33902static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
33903 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33904}
33905static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
33906 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
33907}
33908static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
33909 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
33910}
33911static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
33912 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
33913}
33914static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33915 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33916}
33917static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33918 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33919}
33920static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
33921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33922}
33923static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
33924 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
33925}
33926static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
33927 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
33928}
33929static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33930 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33931}
33932static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33933 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33934}
33935static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33937}
33938static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33939 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33940}
33941static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
33942 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
33943}
33944static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
33945 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
33946}
33947static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33948 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33949}
33950static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33951 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33952}
33953static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33954 return (void *)((wxObject *) ((wxSizerItem *) x));
33955}
33956static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33958}
33959static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33960 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33961}
33962static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33963 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33964}
33965static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33966 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33967}
33968static void *_p_wxSizerTo_p_wxObject(void *x) {
33969 return (void *)((wxObject *) ((wxSizer *) x));
33970}
33971static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33972 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33973}
33974static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
33975 return (void *)((wxObject *) ((wxFileHistory *) x));
33976}
33977static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33979}
33980static void *_p_wxEventTo_p_wxObject(void *x) {
33981 return (void *)((wxObject *) ((wxEvent *) x));
33982}
33983static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33984 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33985}
33986static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33987 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33988}
33989static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33990 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33991}
33992static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33993 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33994}
33995static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33996 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33997}
33998static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
33999 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
34000}
34001static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
34002 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
34003}
34004static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
34005 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34006}
34007static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
34008 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
34009}
34010static void *_p_wxControlTo_p_wxObject(void *x) {
34011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
34012}
34013static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
34014 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
34015}
34016static void *_p_wxTimerEventTo_p_wxObject(void *x) {
34017 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
34018}
34019static void *_p_wxFSFileTo_p_wxObject(void *x) {
34020 return (void *)((wxObject *) ((wxFSFile *) x));
34021}
34022static void *_p_wxClipboardTo_p_wxObject(void *x) {
34023 return (void *)((wxObject *) ((wxClipboard *) x));
34024}
34025static void *_p_wxPySizerTo_p_wxObject(void *x) {
34026 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
34027}
34028static void *_p_wxPyEventTo_p_wxObject(void *x) {
34029 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
34030}
34031static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
34032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
34033}
34034static void *_p_wxShowEventTo_p_wxObject(void *x) {
34035 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
34036}
34037static void *_p_wxToolTipTo_p_wxObject(void *x) {
34038 return (void *)((wxObject *) ((wxToolTip *) x));
34039}
34040static void *_p_wxMenuItemTo_p_wxObject(void *x) {
34041 return (void *)((wxObject *) ((wxMenuItem *) x));
34042}
53aa7709
RD
34043static void *_p_wxDateEventTo_p_wxObject(void *x) {
34044 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
34045}
d55e5bfc
RD
34046static void *_p_wxIdleEventTo_p_wxObject(void *x) {
34047 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
34048}
34049static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
34050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
34051}
34052static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
34053 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
34054}
34055static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
34056 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
34057}
34058static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
34059 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
34060}
34061static void *_p_wxSizeEventTo_p_wxObject(void *x) {
34062 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
34063}
34064static void *_p_wxMoveEventTo_p_wxObject(void *x) {
34065 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
34066}
34067static void *_p_wxActivateEventTo_p_wxObject(void *x) {
34068 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
34069}
d55e5bfc
RD
34070static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
34071 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
34072}
34073static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
34074 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
34075}
34076static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
34077 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
34078}
34079static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
34080 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
34081}
34082static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
34083 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
34084}
34085static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
34086 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
34087}
34088static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
34089 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
34090}
34091static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
34092 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
34093}
34094static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
34095 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
34096}
9d7dfdff
RD
34097static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
34098 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
34099}
d55e5bfc
RD
34100static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
34101 return (void *)((wxObject *) ((wxImageHandler *) x));
34102}
9d7dfdff
RD
34103static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
34104 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
34105}
d55e5bfc
RD
34106static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
34107 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
34108}
34109static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
34110 return (void *)((wxObject *) ((wxEvtHandler *) x));
34111}
51b83b37
RD
34112static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
34113 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
34114}
d55e5bfc
RD
34115static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
34116 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
34117}
34118static void *_p_wxImageTo_p_wxObject(void *x) {
34119 return (void *)((wxObject *) ((wxImage *) x));
34120}
34121static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
34122 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
34123}
34124static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
34125 return (void *)((wxObject *) ((wxSystemOptions *) x));
34126}
34127static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
34128 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
34129}
34130static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
34131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34132}
34133static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
34134 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
34135}
34136static void *_p_wxKeyEventTo_p_wxObject(void *x) {
34137 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
34138}
34139static void *_p_wxWindowTo_p_wxObject(void *x) {
34140 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
34141}
34142static void *_p_wxMenuTo_p_wxObject(void *x) {
34143 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
34144}
34145static void *_p_wxMenuBarTo_p_wxObject(void *x) {
34146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
34147}
34148static void *_p_wxPyProcessTo_p_wxObject(void *x) {
34149 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
34150}
34151static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34152 return (void *)((wxObject *) ((wxFileSystem *) x));
34153}
34154static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34155 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34156}
34157static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34158 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34159}
34160static void *_p_wxPyAppTo_p_wxObject(void *x) {
34161 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34162}
34163static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34164 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34165}
34166static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34167 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34168}
34169static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34170 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34171}
34172static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
34173 return (void *)((wxObject *) ((wxBusyInfo *) x));
34174}
34175static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34176 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34177}
34178static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34179 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34180}
34181static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34182 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34183}
34184static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34185 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34186}
34187static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34189}
34190static void *_p_wxProcessEventTo_p_wxObject(void *x) {
34191 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
34192}
34193static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34195}
34196static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34197 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34198}
34199static void *_p_wxValidatorTo_p_wxObject(void *x) {
34200 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34201}
34202static void *_p_wxPyTimerTo_p_wxObject(void *x) {
34203 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
34204}
be9b1dca
RD
34205static void *_p_wxLogBufferTo_p_wxLog(void *x) {
34206 return (void *)((wxLog *) ((wxLogBuffer *) x));
34207}
d55e5bfc
RD
34208static void *_p_wxLogStderrTo_p_wxLog(void *x) {
34209 return (void *)((wxLog *) ((wxLogStderr *) x));
34210}
34211static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
34212 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
34213}
34214static void *_p_wxLogWindowTo_p_wxLog(void *x) {
34215 return (void *)((wxLog *) ((wxLogWindow *) x));
34216}
34217static void *_p_wxLogChainTo_p_wxLog(void *x) {
34218 return (void *)((wxLog *) ((wxLogChain *) x));
34219}
34220static void *_p_wxLogGuiTo_p_wxLog(void *x) {
34221 return (void *)((wxLog *) ((wxLogGui *) x));
34222}
34223static void *_p_wxPyLogTo_p_wxLog(void *x) {
34224 return (void *)((wxLog *) ((wxPyLog *) x));
34225}
34226static void *_p_wxControlTo_p_wxWindow(void *x) {
34227 return (void *)((wxWindow *) ((wxControl *) x));
34228}
34229static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
34230 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
34231}
34232static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
34233 return (void *)((wxWindow *) ((wxMenuBar *) x));
34234}
34235static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
34236 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
34237}
34238static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
34239 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
34240}
7449af73
RD
34241static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
34242static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34243static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
34244static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34245static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34246static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34247static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
34248static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34249static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34250static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34251static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34252static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34253static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34254static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0};
34255static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34256static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34257static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
34258static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34259static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34260static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34261static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34262static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34263static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
34264static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34265static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34266static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34267static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34268static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34269static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34270static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34271static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34272static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34273static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34274static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34275static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
34276static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
34277static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
34278static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
34279static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34280static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34281static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
34282static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
34283static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
34284static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
34285static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34286static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34287static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34288static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
34289static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
34290static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
34291static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
34292static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
34293static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
34294static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34295static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34296static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34297static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34298static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34299static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34300static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34301static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
34302static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34303static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
34304static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0};
34305static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34306static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34307static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34308static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
34309static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34310static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34311static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
34312static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
34313static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
34314static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
34315static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
34316static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
34317static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34318static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34319static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34320static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34321static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34322static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
34323static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34324static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34325static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34326static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34327static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34328static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0};
34329static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34330static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34331static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34332static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34333static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34334static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34335static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34336static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34337static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34338static swig_type_info _swigt__p_wxMetafile = {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34339static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34340static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34341static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34342static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34343static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
34344static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34345static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
34346static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
34347static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34348static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34349static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
34350static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
34351static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
34352static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
34353static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34354static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
34355static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
34356static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
34357static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
34358static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
34359static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
34360static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
34361static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
34362static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
34363static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
34364static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
34365static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
34366static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
34367static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
34368static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
34369static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
34370static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34371static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34372static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
34373static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
34374static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34375static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34376static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34377static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34378static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34379static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34380static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34381static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34382static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34383static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34384static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34385static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34386static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34387static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34388static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34389static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34390static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
34391static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34392static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
34393static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0};
34394static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34395static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34396static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
34397static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34398static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34399static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34400static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34401static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34402static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34403static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34404static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34405static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34406static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34407static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34408static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34409static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34410static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34411static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34412static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34413static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34414
34415static swig_type_info *swig_type_initial[] = {
34416 &_swigt__p_char,
34417 &_swigt__p_form_ops_t,
34418 &_swigt__p_int,
34419 &_swigt__p_unsigned_char,
34420 &_swigt__p_unsigned_int,
34421 &_swigt__p_unsigned_long,
34422 &_swigt__p_void,
34423 &_swigt__p_wxANIHandler,
34424 &_swigt__p_wxAcceleratorTable,
34425 &_swigt__p_wxActivateEvent,
34426 &_swigt__p_wxArrayString,
34427 &_swigt__p_wxBMPHandler,
34428 &_swigt__p_wxBitmap,
34429 &_swigt__p_wxBitmapDataObject,
34430 &_swigt__p_wxBoxSizer,
34431 &_swigt__p_wxBusyCursor,
34432 &_swigt__p_wxBusyInfo,
34433 &_swigt__p_wxCURHandler,
34434 &_swigt__p_wxCaret,
34435 &_swigt__p_wxChar,
34436 &_swigt__p_wxChildFocusEvent,
34437 &_swigt__p_wxClipboard,
34438 &_swigt__p_wxClipboardLocker,
34439 &_swigt__p_wxCloseEvent,
34440 &_swigt__p_wxColour,
34441 &_swigt__p_wxCommandEvent,
34442 &_swigt__p_wxConfig,
34443 &_swigt__p_wxConfigBase,
34444 &_swigt__p_wxConfigPathChanger,
34445 &_swigt__p_wxContextMenuEvent,
34446 &_swigt__p_wxControl,
34447 &_swigt__p_wxControlWithItems,
34448 &_swigt__p_wxCursor,
34449 &_swigt__p_wxCustomDataObject,
34450 &_swigt__p_wxDC,
34451 &_swigt__p_wxDataFormat,
34452 &_swigt__p_wxDataObject,
34453 &_swigt__p_wxDataObjectComposite,
34454 &_swigt__p_wxDataObjectSimple,
34455 &_swigt__p_wxDateEvent,
34456 &_swigt__p_wxDateSpan,
34457 &_swigt__p_wxDateTime,
34458 &_swigt__p_wxDateTime__TimeZone,
34459 &_swigt__p_wxDisplay,
34460 &_swigt__p_wxDisplayChangedEvent,
34461 &_swigt__p_wxDropFilesEvent,
34462 &_swigt__p_wxDuplexMode,
34463 &_swigt__p_wxEraseEvent,
34464 &_swigt__p_wxEvent,
34465 &_swigt__p_wxEvtHandler,
34466 &_swigt__p_wxFSFile,
34467 &_swigt__p_wxFileConfig,
34468 &_swigt__p_wxFileDataObject,
34469 &_swigt__p_wxFileHistory,
34470 &_swigt__p_wxFileSystem,
34471 &_swigt__p_wxFileType,
34472 &_swigt__p_wxFileTypeInfo,
34473 &_swigt__p_wxFlexGridSizer,
34474 &_swigt__p_wxFocusEvent,
34475 &_swigt__p_wxFont,
34476 &_swigt__p_wxFrame,
34477 &_swigt__p_wxGBSizerItem,
34478 &_swigt__p_wxGIFHandler,
34479 &_swigt__p_wxGridBagSizer,
34480 &_swigt__p_wxGridSizer,
34481 &_swigt__p_wxICOHandler,
34482 &_swigt__p_wxIcon,
34483 &_swigt__p_wxIconizeEvent,
34484 &_swigt__p_wxIdleEvent,
34485 &_swigt__p_wxImage,
34486 &_swigt__p_wxImageHandler,
34487 &_swigt__p_wxIndividualLayoutConstraint,
34488 &_swigt__p_wxInitDialogEvent,
34489 &_swigt__p_wxJPEGHandler,
34490 &_swigt__p_wxJoystick,
34491 &_swigt__p_wxJoystickEvent,
34492 &_swigt__p_wxKeyEvent,
34493 &_swigt__p_wxKillError,
34494 &_swigt__p_wxLayoutConstraints,
34495 &_swigt__p_wxLog,
34496 &_swigt__p_wxLogBuffer,
34497 &_swigt__p_wxLogChain,
34498 &_swigt__p_wxLogGui,
34499 &_swigt__p_wxLogNull,
34500 &_swigt__p_wxLogStderr,
34501 &_swigt__p_wxLogTextCtrl,
34502 &_swigt__p_wxLogWindow,
34503 &_swigt__p_wxMaximizeEvent,
34504 &_swigt__p_wxMemorySize,
34505 &_swigt__p_wxMenu,
34506 &_swigt__p_wxMenuBar,
34507 &_swigt__p_wxMenuEvent,
34508 &_swigt__p_wxMenuItem,
34509 &_swigt__p_wxMetafile,
34510 &_swigt__p_wxMetafileDataObject,
34511 &_swigt__p_wxMimeTypesManager,
34512 &_swigt__p_wxMouseCaptureChangedEvent,
34513 &_swigt__p_wxMouseEvent,
34514 &_swigt__p_wxMouseState,
34515 &_swigt__p_wxMoveEvent,
34516 &_swigt__p_wxMutexGuiLocker,
34517 &_swigt__p_wxNavigationKeyEvent,
34518 &_swigt__p_wxNcPaintEvent,
34519 &_swigt__p_wxNotifyEvent,
34520 &_swigt__p_wxObject,
34521 &_swigt__p_wxOutputStream,
34522 &_swigt__p_wxPCXHandler,
34523 &_swigt__p_wxPNGHandler,
34524 &_swigt__p_wxPNMHandler,
34525 &_swigt__p_wxPaintEvent,
34526 &_swigt__p_wxPaletteChangedEvent,
34527 &_swigt__p_wxPaperSize,
34528 &_swigt__p_wxPoint,
34529 &_swigt__p_wxProcessEvent,
34530 &_swigt__p_wxPyApp,
34531 &_swigt__p_wxPyArtProvider,
34532 &_swigt__p_wxPyBitmapDataObject,
34533 &_swigt__p_wxPyCommandEvent,
34534 &_swigt__p_wxPyDataObjectSimple,
34535 &_swigt__p_wxPyDropSource,
34536 &_swigt__p_wxPyDropTarget,
34537 &_swigt__p_wxPyEvent,
34538 &_swigt__p_wxPyFileDropTarget,
34539 &_swigt__p_wxPyImageHandler,
34540 &_swigt__p_wxPyLog,
34541 &_swigt__p_wxPyProcess,
34542 &_swigt__p_wxPySizer,
34543 &_swigt__p_wxPyTextDataObject,
34544 &_swigt__p_wxPyTextDropTarget,
34545 &_swigt__p_wxPyTimer,
34546 &_swigt__p_wxPyTipProvider,
34547 &_swigt__p_wxPyValidator,
34548 &_swigt__p_wxQueryNewPaletteEvent,
34549 &_swigt__p_wxRect,
34550 &_swigt__p_wxScrollEvent,
34551 &_swigt__p_wxScrollWinEvent,
34552 &_swigt__p_wxSetCursorEvent,
34553 &_swigt__p_wxShowEvent,
34554 &_swigt__p_wxSingleInstanceChecker,
34555 &_swigt__p_wxSize,
34556 &_swigt__p_wxSizeEvent,
34557 &_swigt__p_wxSizer,
34558 &_swigt__p_wxSizerItem,
34559 &_swigt__p_wxSound,
34560 &_swigt__p_wxStandardPaths,
34561 &_swigt__p_wxStaticBoxSizer,
34562 &_swigt__p_wxStdDialogButtonSizer,
34563 &_swigt__p_wxStopWatch,
34564 &_swigt__p_wxString,
34565 &_swigt__p_wxSysColourChangedEvent,
34566 &_swigt__p_wxSystemOptions,
34567 &_swigt__p_wxSystemSettings,
34568 &_swigt__p_wxTIFFHandler,
34569 &_swigt__p_wxTextCtrl,
34570 &_swigt__p_wxTextDataObject,
34571 &_swigt__p_wxTimeSpan,
34572 &_swigt__p_wxTimer,
34573 &_swigt__p_wxTimerEvent,
34574 &_swigt__p_wxTimerRunner,
34575 &_swigt__p_wxTipProvider,
34576 &_swigt__p_wxToolTip,
34577 &_swigt__p_wxURLDataObject,
34578 &_swigt__p_wxUpdateUIEvent,
34579 &_swigt__p_wxValidator,
34580 &_swigt__p_wxVideoMode,
34581 &_swigt__p_wxWindow,
34582 &_swigt__p_wxWindowCreateEvent,
34583 &_swigt__p_wxWindowDestroyEvent,
34584 &_swigt__p_wxWindowDisabler,
34585 &_swigt__p_wxXPMHandler,
34586 &_swigt__ptrdiff_t,
34587 &_swigt__std__ptrdiff_t,
34588 &_swigt__unsigned_int,
34589};
34590
34591static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34592static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34593static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34594static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34595static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34596static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34597static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
34598static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34599static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34600static 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}};
34601static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}};
34602static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
34603static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}};
34604static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
34605static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
34606static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 0, 0, 0},{0, 0, 0, 0}};
34607static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34608static swig_cast_info _swigc__p_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}};
34609static 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}};
34610static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 0, 0, 0},{0, 0, 0, 0}};
34611static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
34612static swig_cast_info _swigc__p_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 0, 0, 0},{0, 0, 0, 0}};
34613static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34614static swig_cast_info _swigc__p_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}};
34615static 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}};
34616static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}};
34617static 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}};
34618static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 0, 0, 0},{0, 0, 0, 0}};
34619static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
34620static swig_cast_info _swigc__p_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}};
34621static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 0, 0, 0},{0, 0, 0, 0}};
34622static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34623static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34624static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34625static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34626static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34627static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34628static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34629static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34630static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34631static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34632static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
34633static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34634static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34635static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34636static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34637static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34638static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34639static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34640static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34641static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34642static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34643static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34644static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34645static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34646static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34647static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34648static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34649static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34650static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34651static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34652static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34653static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34654static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34655static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34656static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34657static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34658static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34659static 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}};
34660static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34661static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34662static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34663static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34664static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
34665static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34666static 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}};
34667static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}};
34668static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}};
34669static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
34670static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}};
34671static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 0, 0, 0},{0, 0, 0, 0}};
34672static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34673static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
34674static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34675static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}};
34676static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
34677static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}};
34678static 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}};
34679static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}};
34680static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}};
34681static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}};
34682static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}};
34683static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}};
34684static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
34685static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}};
34686static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 0, 0, 0},{0, 0, 0, 0}};
34687static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34688static swig_cast_info _swigc__p_wxMetafile[] = { {&_swigt__p_wxMetafile, 0, 0, 0},{0, 0, 0, 0}};
34689static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}};
34690static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}};
34691static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}};
34692static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 0, 0, 0},{0, 0, 0, 0}};
34693static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34694static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34695static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34696static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34697static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34698static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34699static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34700static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34701static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34702static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34703static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34704static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34705static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34706static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34707static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34708static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34709static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34710static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34711static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34712static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34713static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34714static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34715static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34716static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34717static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34718static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34719static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34720static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34721static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34722static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34723static 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}};
34724static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
34725static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34726static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34727static swig_cast_info _swigc__p_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
34728static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}};
34729static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}};
34730static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}};
34731static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}};
34732static 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}};
34733static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}};
34734static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}};
34735static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
34736static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}};
34737static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}};
34738static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
34739static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 0, 0, 0},{0, 0, 0, 0}};
34740static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34741static swig_cast_info _swigc__p_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 0, 0, 0},{0, 0, 0, 0}};
34742static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34743static swig_cast_info _swigc__p_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}};
34744static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}};
34745static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}};
34746static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34747static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
34748static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}};
34749static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
34750static 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}};
34751static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}};
34752static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}};
34753static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
34754static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}};
34755static 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}};
34756static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
34757static swig_cast_info _swigc__p_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}};
34758static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 0, 0, 0},{0, 0, 0, 0}};
34759static 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}};
34760static swig_cast_info _swigc__p_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 0, 0, 0},{0, 0, 0, 0}};
34761static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
34762static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
34763static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34764
34765static swig_cast_info *swig_cast_initial[] = {
34766 _swigc__p_char,
34767 _swigc__p_form_ops_t,
34768 _swigc__p_int,
34769 _swigc__p_unsigned_char,
34770 _swigc__p_unsigned_int,
34771 _swigc__p_unsigned_long,
34772 _swigc__p_void,
34773 _swigc__p_wxANIHandler,
34774 _swigc__p_wxAcceleratorTable,
34775 _swigc__p_wxActivateEvent,
34776 _swigc__p_wxArrayString,
34777 _swigc__p_wxBMPHandler,
34778 _swigc__p_wxBitmap,
34779 _swigc__p_wxBitmapDataObject,
34780 _swigc__p_wxBoxSizer,
34781 _swigc__p_wxBusyCursor,
34782 _swigc__p_wxBusyInfo,
34783 _swigc__p_wxCURHandler,
34784 _swigc__p_wxCaret,
34785 _swigc__p_wxChar,
34786 _swigc__p_wxChildFocusEvent,
34787 _swigc__p_wxClipboard,
34788 _swigc__p_wxClipboardLocker,
34789 _swigc__p_wxCloseEvent,
34790 _swigc__p_wxColour,
34791 _swigc__p_wxCommandEvent,
34792 _swigc__p_wxConfig,
34793 _swigc__p_wxConfigBase,
34794 _swigc__p_wxConfigPathChanger,
34795 _swigc__p_wxContextMenuEvent,
34796 _swigc__p_wxControl,
34797 _swigc__p_wxControlWithItems,
34798 _swigc__p_wxCursor,
34799 _swigc__p_wxCustomDataObject,
34800 _swigc__p_wxDC,
34801 _swigc__p_wxDataFormat,
34802 _swigc__p_wxDataObject,
34803 _swigc__p_wxDataObjectComposite,
34804 _swigc__p_wxDataObjectSimple,
34805 _swigc__p_wxDateEvent,
34806 _swigc__p_wxDateSpan,
34807 _swigc__p_wxDateTime,
34808 _swigc__p_wxDateTime__TimeZone,
34809 _swigc__p_wxDisplay,
34810 _swigc__p_wxDisplayChangedEvent,
34811 _swigc__p_wxDropFilesEvent,
34812 _swigc__p_wxDuplexMode,
34813 _swigc__p_wxEraseEvent,
34814 _swigc__p_wxEvent,
34815 _swigc__p_wxEvtHandler,
34816 _swigc__p_wxFSFile,
34817 _swigc__p_wxFileConfig,
34818 _swigc__p_wxFileDataObject,
34819 _swigc__p_wxFileHistory,
34820 _swigc__p_wxFileSystem,
34821 _swigc__p_wxFileType,
34822 _swigc__p_wxFileTypeInfo,
34823 _swigc__p_wxFlexGridSizer,
34824 _swigc__p_wxFocusEvent,
34825 _swigc__p_wxFont,
34826 _swigc__p_wxFrame,
34827 _swigc__p_wxGBSizerItem,
34828 _swigc__p_wxGIFHandler,
34829 _swigc__p_wxGridBagSizer,
34830 _swigc__p_wxGridSizer,
34831 _swigc__p_wxICOHandler,
34832 _swigc__p_wxIcon,
34833 _swigc__p_wxIconizeEvent,
34834 _swigc__p_wxIdleEvent,
34835 _swigc__p_wxImage,
34836 _swigc__p_wxImageHandler,
34837 _swigc__p_wxIndividualLayoutConstraint,
34838 _swigc__p_wxInitDialogEvent,
34839 _swigc__p_wxJPEGHandler,
34840 _swigc__p_wxJoystick,
34841 _swigc__p_wxJoystickEvent,
34842 _swigc__p_wxKeyEvent,
34843 _swigc__p_wxKillError,
34844 _swigc__p_wxLayoutConstraints,
34845 _swigc__p_wxLog,
34846 _swigc__p_wxLogBuffer,
34847 _swigc__p_wxLogChain,
34848 _swigc__p_wxLogGui,
34849 _swigc__p_wxLogNull,
34850 _swigc__p_wxLogStderr,
34851 _swigc__p_wxLogTextCtrl,
34852 _swigc__p_wxLogWindow,
34853 _swigc__p_wxMaximizeEvent,
34854 _swigc__p_wxMemorySize,
34855 _swigc__p_wxMenu,
34856 _swigc__p_wxMenuBar,
34857 _swigc__p_wxMenuEvent,
34858 _swigc__p_wxMenuItem,
34859 _swigc__p_wxMetafile,
34860 _swigc__p_wxMetafileDataObject,
34861 _swigc__p_wxMimeTypesManager,
34862 _swigc__p_wxMouseCaptureChangedEvent,
34863 _swigc__p_wxMouseEvent,
34864 _swigc__p_wxMouseState,
34865 _swigc__p_wxMoveEvent,
34866 _swigc__p_wxMutexGuiLocker,
34867 _swigc__p_wxNavigationKeyEvent,
34868 _swigc__p_wxNcPaintEvent,
34869 _swigc__p_wxNotifyEvent,
34870 _swigc__p_wxObject,
34871 _swigc__p_wxOutputStream,
34872 _swigc__p_wxPCXHandler,
34873 _swigc__p_wxPNGHandler,
34874 _swigc__p_wxPNMHandler,
34875 _swigc__p_wxPaintEvent,
34876 _swigc__p_wxPaletteChangedEvent,
34877 _swigc__p_wxPaperSize,
34878 _swigc__p_wxPoint,
34879 _swigc__p_wxProcessEvent,
34880 _swigc__p_wxPyApp,
34881 _swigc__p_wxPyArtProvider,
34882 _swigc__p_wxPyBitmapDataObject,
34883 _swigc__p_wxPyCommandEvent,
34884 _swigc__p_wxPyDataObjectSimple,
34885 _swigc__p_wxPyDropSource,
34886 _swigc__p_wxPyDropTarget,
34887 _swigc__p_wxPyEvent,
34888 _swigc__p_wxPyFileDropTarget,
34889 _swigc__p_wxPyImageHandler,
34890 _swigc__p_wxPyLog,
34891 _swigc__p_wxPyProcess,
34892 _swigc__p_wxPySizer,
34893 _swigc__p_wxPyTextDataObject,
34894 _swigc__p_wxPyTextDropTarget,
34895 _swigc__p_wxPyTimer,
34896 _swigc__p_wxPyTipProvider,
34897 _swigc__p_wxPyValidator,
34898 _swigc__p_wxQueryNewPaletteEvent,
34899 _swigc__p_wxRect,
34900 _swigc__p_wxScrollEvent,
34901 _swigc__p_wxScrollWinEvent,
34902 _swigc__p_wxSetCursorEvent,
34903 _swigc__p_wxShowEvent,
34904 _swigc__p_wxSingleInstanceChecker,
34905 _swigc__p_wxSize,
34906 _swigc__p_wxSizeEvent,
34907 _swigc__p_wxSizer,
34908 _swigc__p_wxSizerItem,
34909 _swigc__p_wxSound,
34910 _swigc__p_wxStandardPaths,
34911 _swigc__p_wxStaticBoxSizer,
34912 _swigc__p_wxStdDialogButtonSizer,
34913 _swigc__p_wxStopWatch,
34914 _swigc__p_wxString,
34915 _swigc__p_wxSysColourChangedEvent,
34916 _swigc__p_wxSystemOptions,
34917 _swigc__p_wxSystemSettings,
34918 _swigc__p_wxTIFFHandler,
34919 _swigc__p_wxTextCtrl,
34920 _swigc__p_wxTextDataObject,
34921 _swigc__p_wxTimeSpan,
34922 _swigc__p_wxTimer,
34923 _swigc__p_wxTimerEvent,
34924 _swigc__p_wxTimerRunner,
34925 _swigc__p_wxTipProvider,
34926 _swigc__p_wxToolTip,
34927 _swigc__p_wxURLDataObject,
34928 _swigc__p_wxUpdateUIEvent,
34929 _swigc__p_wxValidator,
34930 _swigc__p_wxVideoMode,
34931 _swigc__p_wxWindow,
34932 _swigc__p_wxWindowCreateEvent,
34933 _swigc__p_wxWindowDestroyEvent,
34934 _swigc__p_wxWindowDisabler,
34935 _swigc__p_wxXPMHandler,
34936 _swigc__ptrdiff_t,
34937 _swigc__std__ptrdiff_t,
34938 _swigc__unsigned_int,
d55e5bfc
RD
34939};
34940
34941
34942/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34943
34944static swig_const_info swig_const_table[] = {
34945{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
34946{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
34947{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
34948{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
34949{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c32bde28 34950{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
34951
34952#ifdef __cplusplus
34953}
34954#endif
7449af73
RD
34955/*************************************************************************
34956 * Type initialization:
34957 * This problem is tough by the requirement that no dynamic
34958 * memory is used. Also, since swig_type_info structures store pointers to
34959 * swig_cast_info structures and swig_cast_info structures store pointers back
34960 * to swig_type_info structures, we need some lookup code at initialization.
34961 * The idea is that swig generates all the structures that are needed.
34962 * The runtime then collects these partially filled structures.
34963 * The SWIG_InitializeModule function takes these initial arrays out of
34964 * swig_module, and does all the lookup, filling in the swig_module.types
34965 * array with the correct data and linking the correct swig_cast_info
34966 * structures together.
34967
34968 * The generated swig_type_info structures are assigned staticly to an initial
34969 * array. We just loop though that array, and handle each type individually.
34970 * First we lookup if this type has been already loaded, and if so, use the
34971 * loaded structure instead of the generated one. Then we have to fill in the
34972 * cast linked list. The cast data is initially stored in something like a
34973 * two-dimensional array. Each row corresponds to a type (there are the same
34974 * number of rows as there are in the swig_type_initial array). Each entry in
34975 * a column is one of the swig_cast_info structures for that type.
34976 * The cast_initial array is actually an array of arrays, because each row has
34977 * a variable number of columns. So to actually build the cast linked list,
34978 * we find the array of casts associated with the type, and loop through it
34979 * adding the casts to the list. The one last trick we need to do is making
34980 * sure the type pointer in the swig_cast_info struct is correct.
34981
34982 * First off, we lookup the cast->type name to see if it is already loaded.
34983 * There are three cases to handle:
34984 * 1) If the cast->type has already been loaded AND the type we are adding
34985 * casting info to has not been loaded (it is in this module), THEN we
34986 * replace the cast->type pointer with the type pointer that has already
34987 * been loaded.
34988 * 2) If BOTH types (the one we are adding casting info to, and the
34989 * cast->type) are loaded, THEN the cast info has already been loaded by
34990 * the previous module so we just ignore it.
34991 * 3) Finally, if cast->type has not already been loaded, then we add that
34992 * swig_cast_info to the linked list (because the cast->type) pointer will
34993 * be correct.
34994**/
34995
34996#ifdef __cplusplus
34997extern "C" {
34998#if 0
34999} /* c-mode */
35000#endif
35001#endif
35002
35003#if 0
35004#define SWIGRUNTIME_DEBUG
35005#endif
35006
35007SWIGRUNTIME void
35008SWIG_InitializeModule(void *clientdata) {
35009 size_t i;
35010 swig_module_info *module_head;
35011 static int init_run = 0;
35012
35013 clientdata = clientdata;
35014
35015 if (init_run) return;
35016 init_run = 1;
35017
35018 /* Initialize the swig_module */
35019 swig_module.type_initial = swig_type_initial;
35020 swig_module.cast_initial = swig_cast_initial;
35021
35022 /* Try and load any already created modules */
35023 module_head = SWIG_GetModule(clientdata);
35024 if (module_head) {
35025 swig_module.next = module_head->next;
35026 module_head->next = &swig_module;
35027 } else {
35028 /* This is the first module loaded */
35029 swig_module.next = &swig_module;
35030 SWIG_SetModule(clientdata, &swig_module);
35031 }
35032
35033 /* Now work on filling in swig_module.types */
35034#ifdef SWIGRUNTIME_DEBUG
35035 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
35036#endif
35037 for (i = 0; i < swig_module.size; ++i) {
35038 swig_type_info *type = 0;
35039 swig_type_info *ret;
35040 swig_cast_info *cast;
35041
35042#ifdef SWIGRUNTIME_DEBUG
35043 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
35044#endif
35045
35046 /* if there is another module already loaded */
35047 if (swig_module.next != &swig_module) {
35048 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
35049 }
35050 if (type) {
35051 /* Overwrite clientdata field */
35052#ifdef SWIGRUNTIME_DEBUG
35053 printf("SWIG_InitializeModule: found type %s\n", type->name);
35054#endif
35055 if (swig_module.type_initial[i]->clientdata) {
35056 type->clientdata = swig_module.type_initial[i]->clientdata;
35057#ifdef SWIGRUNTIME_DEBUG
35058 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
35059#endif
35060 }
35061 } else {
35062 type = swig_module.type_initial[i];
35063 }
35064
35065 /* Insert casting types */
35066 cast = swig_module.cast_initial[i];
35067 while (cast->type) {
35068 /* Don't need to add information already in the list */
35069 ret = 0;
35070#ifdef SWIGRUNTIME_DEBUG
35071 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
35072#endif
35073 if (swig_module.next != &swig_module) {
35074 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
35075#ifdef SWIGRUNTIME_DEBUG
35076 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
35077#endif
35078 }
35079 if (ret) {
35080 if (type == swig_module.type_initial[i]) {
35081#ifdef SWIGRUNTIME_DEBUG
35082 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
35083#endif
35084 cast->type = ret;
35085 ret = 0;
35086 } else {
35087 /* Check for casting already in the list */
35088 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
35089#ifdef SWIGRUNTIME_DEBUG
35090 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
35091#endif
35092 if (!ocast) ret = 0;
35093 }
35094 }
35095
35096 if (!ret) {
35097#ifdef SWIGRUNTIME_DEBUG
35098 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
35099#endif
35100 if (type->cast) {
35101 type->cast->prev = cast;
35102 cast->next = type->cast;
35103 }
35104 type->cast = cast;
35105 }
35106 cast++;
35107 }
35108 /* Set entry in modules->types array equal to the type */
35109 swig_module.types[i] = type;
35110 }
35111 swig_module.types[i] = 0;
35112
35113#ifdef SWIGRUNTIME_DEBUG
35114 printf("**** SWIG_InitializeModule: Cast List ******\n");
35115 for (i = 0; i < swig_module.size; ++i) {
35116 int j = 0;
35117 swig_cast_info *cast = swig_module.cast_initial[i];
35118 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
35119 while (cast->type) {
35120 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
35121 cast++;
35122 ++j;
35123 }
35124 printf("---- Total casts: %d\n",j);
35125 }
35126 printf("**** SWIG_InitializeModule: Cast List ******\n");
35127#endif
35128}
35129
35130/* This function will propagate the clientdata field of type to
35131* any new swig_type_info structures that have been added into the list
35132* of equivalent types. It is like calling
35133* SWIG_TypeClientData(type, clientdata) a second time.
35134*/
35135SWIGRUNTIME void
35136SWIG_PropagateClientData(void) {
35137 size_t i;
35138 swig_cast_info *equiv;
35139 static int init_run = 0;
35140
35141 if (init_run) return;
35142 init_run = 1;
35143
35144 for (i = 0; i < swig_module.size; i++) {
35145 if (swig_module.types[i]->clientdata) {
35146 equiv = swig_module.types[i]->cast;
35147 while (equiv) {
35148 if (!equiv->converter) {
35149 if (equiv->type && !equiv->type->clientdata)
35150 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
35151 }
35152 equiv = equiv->next;
35153 }
35154 }
35155 }
35156}
35157
35158#ifdef __cplusplus
35159#if 0
35160{
35161 /* c-mode */
35162#endif
35163}
35164#endif
35165
d55e5bfc 35166
093d3ff1 35167
d55e5bfc 35168#ifdef __cplusplus
093d3ff1 35169extern "C" {
d55e5bfc 35170#endif
d55e5bfc 35171
093d3ff1
RD
35172 /* Python-specific SWIG API */
35173#define SWIG_newvarlink() SWIG_Python_newvarlink()
35174#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35175#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35176
35177 /* -----------------------------------------------------------------------------
35178 * global variable support code.
35179 * ----------------------------------------------------------------------------- */
35180
35181 typedef struct swig_globalvar {
35182 char *name; /* Name of global variable */
7449af73 35183 PyObject *(*get_attr)(void); /* Return the current value */
093d3ff1
RD
35184 int (*set_attr)(PyObject *); /* Set the value */
35185 struct swig_globalvar *next;
35186 } swig_globalvar;
35187
35188 typedef struct swig_varlinkobject {
35189 PyObject_HEAD
35190 swig_globalvar *vars;
35191 } swig_varlinkobject;
35192
7449af73 35193 SWIGINTERN PyObject *
093d3ff1
RD
35194 swig_varlink_repr(swig_varlinkobject *v) {
35195 v = v;
35196 return PyString_FromString("<Swig global variables>");
35197 }
35198
7449af73 35199 SWIGINTERN int
093d3ff1
RD
35200 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
35201 swig_globalvar *var;
35202 flags = flags;
35203 fprintf(fp,"Swig global variables { ");
35204 for (var = v->vars; var; var=var->next) {
35205 fprintf(fp,"%s", var->name);
35206 if (var->next) fprintf(fp,", ");
d55e5bfc 35207 }
093d3ff1
RD
35208 fprintf(fp," }\n");
35209 return 0;
d55e5bfc 35210 }
d55e5bfc 35211
7449af73 35212 SWIGINTERN PyObject *
093d3ff1
RD
35213 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
35214 swig_globalvar *var = v->vars;
35215 while (var) {
35216 if (strcmp(var->name,n) == 0) {
35217 return (*var->get_attr)();
35218 }
35219 var = var->next;
35220 }
35221 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
35222 return NULL;
35223 }
1a6bba1e 35224
7449af73 35225 SWIGINTERN int
093d3ff1
RD
35226 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
35227 swig_globalvar *var = v->vars;
35228 while (var) {
35229 if (strcmp(var->name,n) == 0) {
35230 return (*var->set_attr)(p);
35231 }
35232 var = var->next;
35233 }
35234 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
35235 return 1;
35236 }
1a6bba1e 35237
7449af73
RD
35238 SWIGINTERN PyTypeObject*
35239 swig_varlink_type(void) {
35240 static char varlink__doc__[] = "Swig var link object";
35241 static PyTypeObject varlink_type
35242#if !defined(__cplusplus)
35243 ;
35244 static int type_init = 0;
35245 if (!type_init) {
35246 PyTypeObject tmp
35247#endif
35248 = {
35249 PyObject_HEAD_INIT(&PyType_Type)
35250 0, /* Number of items in variable part (ob_size) */
35251 (char *)"swigvarlink", /* Type name (tp_name) */
35252 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
35253 0, /* Itemsize (tp_itemsize) */
35254 0, /* Deallocator (tp_dealloc) */
35255 (printfunc) swig_varlink_print, /* Print (tp_print) */
35256 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
35257 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
35258 0, /* tp_compare */
35259 (reprfunc) swig_varlink_repr, /* tp_repr */
35260 0, /* tp_as_number */
35261 0, /* tp_as_sequence */
35262 0, /* tp_as_mapping */
35263 0, /* tp_hash */
35264 0, /* tp_call */
35265 0, /* tp_str */
35266 0, /* tp_getattro */
35267 0, /* tp_setattro */
35268 0, /* tp_as_buffer */
35269 0, /* tp_flags */
35270 varlink__doc__, /* tp_doc */
093d3ff1 35271#if PY_VERSION_HEX >= 0x02000000
7449af73
RD
35272 0, /* tp_traverse */
35273 0, /* tp_clear */
093d3ff1
RD
35274#endif
35275#if PY_VERSION_HEX >= 0x02010000
7449af73
RD
35276 0, /* tp_richcompare */
35277 0, /* tp_weaklistoffset */
093d3ff1
RD
35278#endif
35279#if PY_VERSION_HEX >= 0x02020000
7449af73 35280 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
35281#endif
35282#if PY_VERSION_HEX >= 0x02030000
7449af73 35283 0, /* tp_del */
093d3ff1
RD
35284#endif
35285#ifdef COUNT_ALLOCS
7449af73 35286 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 35287#endif
7449af73
RD
35288 };
35289#if !defined(__cplusplus)
35290 varlink_type = tmp;
35291 type_init = 1;
35292 }
35293#endif
35294 return &varlink_type;
35295 }
d55e5bfc 35296
093d3ff1 35297 /* Create a variable linking object for use later */
7449af73 35298 SWIGINTERN PyObject *
093d3ff1 35299 SWIG_Python_newvarlink(void) {
7449af73
RD
35300 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
35301 if (result) {
35302 result->vars = 0;
35303 }
093d3ff1
RD
35304 return ((PyObject*) result);
35305 }
35306
7449af73 35307 SWIGINTERN void
093d3ff1 35308 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
7449af73
RD
35309 swig_varlinkobject *v = (swig_varlinkobject *) p;
35310 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
35311 if (gv) {
35312 size_t size = strlen(name)+1;
35313 gv->name = (char *)malloc(size);
35314 if (gv->name) {
35315 strncpy(gv->name,name,size);
35316 gv->get_attr = get_attr;
35317 gv->set_attr = set_attr;
35318 gv->next = v->vars;
35319 }
35320 }
093d3ff1
RD
35321 v->vars = gv;
35322 }
35323
35324 /* -----------------------------------------------------------------------------
35325 * constants/methods manipulation
35326 * ----------------------------------------------------------------------------- */
35327
35328 /* Install Constants */
7449af73 35329 SWIGINTERN void
093d3ff1
RD
35330 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
35331 PyObject *obj = 0;
35332 size_t i;
7449af73 35333 for (i = 0; constants[i].type; ++i) {
093d3ff1
RD
35334 switch(constants[i].type) {
35335 case SWIG_PY_INT:
35336 obj = PyInt_FromLong(constants[i].lvalue);
35337 break;
35338 case SWIG_PY_FLOAT:
35339 obj = PyFloat_FromDouble(constants[i].dvalue);
35340 break;
35341 case SWIG_PY_STRING:
35342 if (constants[i].pvalue) {
35343 obj = PyString_FromString((char *) constants[i].pvalue);
35344 } else {
35345 Py_INCREF(Py_None);
35346 obj = Py_None;
35347 }
35348 break;
35349 case SWIG_PY_POINTER:
35350 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
35351 break;
35352 case SWIG_PY_BINARY:
35353 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
35354 break;
35355 default:
35356 obj = 0;
35357 break;
35358 }
35359 if (obj) {
35360 PyDict_SetItemString(d,constants[i].name,obj);
35361 Py_DECREF(obj);
35362 }
35363 }
35364 }
d55e5bfc 35365
093d3ff1
RD
35366 /* -----------------------------------------------------------------------------*/
35367 /* Fix SwigMethods to carry the callback ptrs when needed */
35368 /* -----------------------------------------------------------------------------*/
35369
7449af73 35370 SWIGINTERN void
093d3ff1
RD
35371 SWIG_Python_FixMethods(PyMethodDef *methods,
35372 swig_const_info *const_table,
35373 swig_type_info **types,
35374 swig_type_info **types_initial) {
35375 size_t i;
35376 for (i = 0; methods[i].ml_name; ++i) {
35377 char *c = methods[i].ml_doc;
35378 if (c && (c = strstr(c, "swig_ptr: "))) {
35379 int j;
35380 swig_const_info *ci = 0;
35381 char *name = c + 10;
7449af73 35382 for (j = 0; const_table[j].type; ++j) {
093d3ff1
RD
35383 if (strncmp(const_table[j].name, name,
35384 strlen(const_table[j].name)) == 0) {
35385 ci = &(const_table[j]);
35386 break;
35387 }
35388 }
35389 if (ci) {
35390 size_t shift = (ci->ptype) - types;
35391 swig_type_info *ty = types_initial[shift];
35392 size_t ldoc = (c - methods[i].ml_doc);
35393 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
35394 char *ndoc = (char*)malloc(ldoc + lptr + 10);
7449af73
RD
35395 if (ndoc) {
35396 char *buff = ndoc;
35397 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
35398 if (ptr) {
35399 strncpy(buff, methods[i].ml_doc, ldoc);
35400 buff += ldoc;
35401 strncpy(buff, "swig_ptr: ", 10);
35402 buff += 10;
35403 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
35404 methods[i].ml_doc = ndoc;
35405 }
35406 }
093d3ff1
RD
35407 }
35408 }
35409 }
35410 }
35411
35412 /* -----------------------------------------------------------------------------*
35413 * Initialize type list
35414 * -----------------------------------------------------------------------------*/
35415
093d3ff1
RD
35416#ifdef __cplusplus
35417}
35418#endif
35419
35420/* -----------------------------------------------------------------------------*
35421 * Partial Init method
35422 * -----------------------------------------------------------------------------*/
35423
093d3ff1
RD
35424#ifdef __cplusplus
35425extern "C"
35426#endif
7449af73 35427SWIGEXPORT void SWIG_init(void) {
093d3ff1 35428 static PyObject *SWIG_globals = 0;
093d3ff1 35429 PyObject *m, *d;
093d3ff1
RD
35430 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
35431
35432 /* Fix SwigMethods to carry the callback ptrs when needed */
7449af73 35433 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
093d3ff1
RD
35434
35435 m = Py_InitModule((char *) SWIG_name, SwigMethods);
35436 d = PyModule_GetDict(m);
35437
7449af73 35438 SWIG_InitializeModule(0);
093d3ff1
RD
35439 SWIG_InstallConstants(d,swig_const_table);
35440
35441 {
7449af73 35442 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT)));
093d3ff1
RD
35443 }
35444 {
7449af73 35445 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT)));
093d3ff1
RD
35446 }
35447 {
7449af73 35448 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT)));
093d3ff1
RD
35449 }
35450 {
7449af73 35451 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT)));
093d3ff1
RD
35452 }
35453 {
7449af73 35454 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT)));
093d3ff1
RD
35455 }
35456 {
7449af73 35457 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE)));
093d3ff1
RD
35458 }
35459 {
7449af73 35460 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT)));
093d3ff1
RD
35461 }
35462 {
7449af73 35463 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT)));
093d3ff1
RD
35464 }
35465 {
7449af73 35466 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT)));
093d3ff1
RD
35467 }
35468 {
7449af73 35469 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR)));
093d3ff1
RD
35470 }
35471 {
7449af73 35472 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND)));
093d3ff1
RD
35473 }
35474 {
7449af73 35475 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP)));
093d3ff1
RD
35476 }
35477 {
7449af73 35478 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION)));
093d3ff1
RD
35479 }
35480 {
7449af73 35481 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION)));
093d3ff1
RD
35482 }
35483 {
7449af73 35484 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU)));
093d3ff1
RD
35485 }
35486 {
7449af73 35487 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW)));
093d3ff1
RD
35488 }
35489 {
7449af73 35490 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME)));
093d3ff1
RD
35491 }
35492 {
7449af73 35493 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT)));
093d3ff1
RD
35494 }
35495 {
7449af73 35496 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT)));
093d3ff1
RD
35497 }
35498 {
7449af73 35499 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT)));
093d3ff1
RD
35500 }
35501 {
7449af73 35502 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER)));
093d3ff1
RD
35503 }
35504 {
7449af73 35505 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER)));
093d3ff1
RD
35506 }
35507 {
7449af73 35508 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE)));
093d3ff1
RD
35509 }
35510 {
7449af73 35511 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT)));
093d3ff1
RD
35512 }
35513 {
7449af73 35514 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT)));
093d3ff1
RD
35515 }
35516 {
7449af73 35517 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE)));
093d3ff1
RD
35518 }
35519 {
7449af73 35520 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE)));
093d3ff1
RD
35521 }
35522 {
7449af73 35523 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW)));
093d3ff1
RD
35524 }
35525 {
7449af73 35526 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW)));
093d3ff1
RD
35527 }
35528 {
7449af73 35529 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT)));
093d3ff1
RD
35530 }
35531 {
7449af73 35532 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT)));
093d3ff1
RD
35533 }
35534 {
7449af73 35535 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
093d3ff1
RD
35536 }
35537 {
7449af73 35538 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT)));
093d3ff1
RD
35539 }
35540 {
7449af73 35541 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT)));
093d3ff1
RD
35542 }
35543 {
7449af73 35544 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT)));
093d3ff1
RD
35545 }
35546 {
7449af73 35547 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT)));
093d3ff1
RD
35548 }
35549 {
7449af73 35550 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW)));
093d3ff1
RD
35551 }
35552 {
7449af73 35553 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT)));
093d3ff1
RD
35554 }
35555 {
7449af73 35556 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT)));
093d3ff1
RD
35557 }
35558 {
7449af73 35559 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK)));
093d3ff1
RD
35560 }
35561 {
7449af73 35562 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX)));
093d3ff1
RD
35563 }
35564 {
7449af73 35565 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT)));
093d3ff1
RD
35566 }
35567 {
7449af73 35568 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
093d3ff1
RD
35569 }
35570 {
7449af73 35571 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
093d3ff1
RD
35572 }
35573 {
7449af73 35574 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT)));
093d3ff1
RD
35575 }
35576 {
7449af73 35577 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR)));
093d3ff1
RD
35578 }
35579 {
7449af73 35580 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX)));
093d3ff1
RD
35581 }
35582 {
7449af73 35583 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS)));
093d3ff1
RD
35584 }
35585 {
7449af73 35586 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X)));
093d3ff1
RD
35587 }
35588 {
7449af73 35589 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y)));
093d3ff1
RD
35590 }
35591 {
7449af73 35592 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X)));
093d3ff1
RD
35593 }
35594 {
7449af73 35595 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y)));
093d3ff1
RD
35596 }
35597 {
7449af73 35598 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X)));
093d3ff1
RD
35599 }
35600 {
7449af73 35601 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y)));
093d3ff1
RD
35602 }
35603 {
7449af73 35604 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X)));
093d3ff1
RD
35605 }
35606 {
7449af73 35607 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y)));
093d3ff1
RD
35608 }
35609 {
7449af73 35610 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X)));
093d3ff1
RD
35611 }
35612 {
7449af73 35613 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y)));
093d3ff1
RD
35614 }
35615 {
7449af73 35616 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X)));
093d3ff1
RD
35617 }
35618 {
7449af73 35619 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y)));
093d3ff1
RD
35620 }
35621 {
7449af73 35622 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X)));
093d3ff1
RD
35623 }
35624 {
7449af73 35625 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X)));
093d3ff1
RD
35626 }
35627 {
7449af73 35628 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y)));
093d3ff1
RD
35629 }
35630 {
7449af73 35631 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X)));
093d3ff1
RD
35632 }
35633 {
7449af73 35634 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y)));
093d3ff1
RD
35635 }
35636 {
7449af73 35637 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X)));
093d3ff1
RD
35638 }
35639 {
7449af73 35640 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y)));
093d3ff1
RD
35641 }
35642 {
7449af73 35643 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X)));
093d3ff1
RD
35644 }
35645 {
7449af73 35646 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y)));
093d3ff1
RD
35647 }
35648 {
7449af73 35649 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X)));
093d3ff1
RD
35650 }
35651 {
7449af73 35652 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y)));
093d3ff1
RD
35653 }
35654 {
7449af73 35655 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X)));
093d3ff1
RD
35656 }
35657 {
7449af73 35658 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y)));
093d3ff1
RD
35659 }
35660 {
7449af73 35661 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y)));
093d3ff1
RD
35662 }
35663 {
7449af73 35664 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X)));
093d3ff1
RD
35665 }
35666 {
7449af73 35667 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X)));
093d3ff1
RD
35668 }
35669 {
7449af73 35670 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y)));
093d3ff1
RD
35671 }
35672 {
7449af73 35673 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y)));
093d3ff1
RD
35674 }
35675 {
7449af73 35676 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y)));
093d3ff1
RD
35677 }
35678 {
7449af73 35679 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y)));
093d3ff1
RD
35680 }
35681 {
7449af73 35682 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT)));
093d3ff1
RD
35683 }
35684 {
7449af73 35685 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT)));
093d3ff1
RD
35686 }
35687 {
7449af73 35688 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS)));
093d3ff1
RD
35689 }
35690 {
7449af73 35691 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS)));
093d3ff1
RD
35692 }
35693 {
7449af73 35694 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
093d3ff1
RD
35695 }
35696 {
7449af73 35697 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME)));
093d3ff1 35698 }
b06b3e70
RD
35699 {
35700 PyDict_SetItemString(d,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT)));
35701 }
093d3ff1 35702 {
7449af73 35703 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE)));
093d3ff1
RD
35704 }
35705 {
7449af73 35706 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY)));
093d3ff1
RD
35707 }
35708 {
7449af73 35709 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA)));
093d3ff1
RD
35710 }
35711 {
7449af73 35712 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL)));
093d3ff1
RD
35713 }
35714 {
7449af73 35715 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP)));
093d3ff1
RD
35716 }
35717 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
35718 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
35719 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
35720 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
35721 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
35722 {
7449af73 35723 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF)));
093d3ff1
RD
35724 }
35725 {
7449af73 35726 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT)));
093d3ff1
RD
35727 }
35728 {
7449af73 35729 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS)));
093d3ff1
RD
35730 }
35731 {
7449af73 35732 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT)));
093d3ff1
RD
35733 }
35734 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
35735
35736 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35737
35738 {
7449af73 35739 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError)));
093d3ff1
RD
35740 }
35741 {
7449af73 35742 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error)));
093d3ff1
RD
35743 }
35744 {
7449af73 35745 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning)));
093d3ff1
RD
35746 }
35747 {
7449af73 35748 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message)));
093d3ff1
RD
35749 }
35750 {
7449af73 35751 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status)));
093d3ff1
RD
35752 }
35753 {
7449af73 35754 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info)));
093d3ff1
RD
35755 }
35756 {
7449af73 35757 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug)));
093d3ff1
RD
35758 }
35759 {
7449af73 35760 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace)));
093d3ff1
RD
35761 }
35762 {
7449af73 35763 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress)));
093d3ff1
RD
35764 }
35765 {
7449af73 35766 PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User)));
093d3ff1
RD
35767 }
35768 {
7449af73 35769 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max)));
093d3ff1
RD
35770 }
35771 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35772 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35773 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35774 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35775 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
35776 {
7449af73 35777 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
093d3ff1
RD
35778 }
35779 {
7449af73 35780 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
093d3ff1
RD
35781 }
35782 {
7449af73 35783 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
093d3ff1
RD
35784 }
35785 {
7449af73 35786 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
093d3ff1
RD
35787 }
35788 {
7449af73 35789 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
093d3ff1
RD
35790 }
35791 {
7449af73 35792 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT)));
093d3ff1
RD
35793 }
35794 {
7449af73 35795 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT)));
093d3ff1
RD
35796 }
35797 {
7449af73 35798 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK)));
093d3ff1
RD
35799 }
35800 {
7449af73 35801 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL)));
093d3ff1
RD
35802 }
35803 {
7449af73 35804 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED)));
093d3ff1
RD
35805 }
35806 {
7449af73 35807 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS)));
093d3ff1
RD
35808 }
35809 {
7449af73 35810 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR)));
093d3ff1
RD
35811 }
35812 {
7449af73 35813 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN)));
093d3ff1
RD
35814 }
35815 {
7449af73 35816 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN)));
093d3ff1
RD
35817 }
35818 {
7449af73 35819 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE)));
093d3ff1
RD
35820 }
35821 {
7449af73 35822 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP)));
093d3ff1
RD
35823 }
35824 {
7449af73 35825 PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT)));
093d3ff1
RD
35826 }
35827 {
7449af73 35828 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT)));
093d3ff1
RD
35829 }
35830 {
7449af73 35831 PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL)));
093d3ff1
RD
35832 }
35833 {
7449af73 35834 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP)));
093d3ff1
RD
35835 }
35836 {
7449af73 35837 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT)));
093d3ff1
RD
35838 }
35839 {
7449af73 35840 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT)));
093d3ff1
RD
35841 }
35842 {
7449af73 35843 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT)));
093d3ff1
RD
35844 }
35845 {
7449af73 35846 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE)));
093d3ff1
RD
35847 }
35848 {
7449af73 35849 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL)));
093d3ff1
RD
35850 }
35851 {
7449af73 35852 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS)));
093d3ff1
RD
35853 }
35854 {
7449af73 35855 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV)));
093d3ff1
RD
35856 }
35857 {
7449af73 35858 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS)));
093d3ff1
RD
35859 }
35860 {
7449af73 35861 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE)));
093d3ff1
RD
35862 }
35863 {
7449af73 35864 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM)));
093d3ff1
RD
35865 }
35866 {
7449af73 35867 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM)));
093d3ff1
RD
35868 }
35869 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
35870 {
7449af73 35871 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC)));
093d3ff1
RD
35872 }
35873 {
7449af73 35874 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC)));
093d3ff1
RD
35875 }
35876 {
7449af73 35877 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE)));
093d3ff1
RD
35878 }
35879 {
7449af73 35880 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER)));
093d3ff1
RD
35881 }
35882 {
7449af73 35883 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE)));
093d3ff1
RD
35884 }
35885
35886 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35887
35888 {
7449af73 35889 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1)));
093d3ff1
RD
35890 }
35891 {
7449af73 35892 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2)));
093d3ff1
RD
35893 }
35894 {
7449af73 35895 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY)));
093d3ff1
RD
35896 }
35897 {
7449af73 35898 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1)));
093d3ff1
RD
35899 }
35900 {
7449af73 35901 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2)));
093d3ff1
RD
35902 }
35903 {
7449af73 35904 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3)));
093d3ff1
RD
35905 }
35906 {
7449af73 35907 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4)));
093d3ff1
RD
35908 }
35909 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
35910 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
35911 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
35912 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
35913 {
7449af73 35914 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC)));
093d3ff1
RD
35915 }
35916 {
7449af73 35917 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC)));
093d3ff1
RD
35918 }
35919 {
7449af73 35920 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP)));
093d3ff1
RD
35921 }
35922 {
7449af73 35923 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD)));
093d3ff1
RD
35924 }
35925 {
7449af73 35926 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE)));
093d3ff1
RD
35927 }
35928 {
7449af73 35929 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE)));
093d3ff1
RD
35930 }
35931 {
7449af73 35932 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME)));
093d3ff1
RD
35933 }
35934 {
7449af73 35935 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL)));
093d3ff1
RD
35936 }
35937 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
35938 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
35939 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
35940 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
35941 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
d55e5bfc
RD
35942 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
35943 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
4cf4100f 35944 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
d55e5bfc
RD
35945 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
35946 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
35947 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
35948 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
35949 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
35950 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
35951 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
35952 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
35953 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
35954 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
35955 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
35956 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
35957 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
35958 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
35959 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
68350608
RD
35960 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
35961 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
d55e5bfc
RD
35962 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
35963 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
35964 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
35965 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
35966 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
35967 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
f78cc896
RD
35968 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
35969 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
35970 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
35971 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 35972 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 35973 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
35974 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
35975 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
35976 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
35977 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
35978 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
35979 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
35980 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
35981 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
35982 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
35983 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
68350608
RD
35984 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
35985 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
35986 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
35987 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
a187dc0b 35988 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
68350608
RD
35989 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
35990 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
35991 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
35992 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
35993 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d55e5bfc
RD
35994
35995 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35996
093d3ff1 35997 {
7449af73 35998 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE)));
093d3ff1
RD
35999 }
36000 {
7449af73 36001 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE)));
093d3ff1
RD
36002 }
36003 {
7449af73 36004 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH)));
093d3ff1
RD
36005 }
36006 {
7449af73 36007 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
093d3ff1
RD
36008 }
36009 {
7449af73 36010 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown)));
093d3ff1
RD
36011 }
36012 {
7449af73 36013 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String)));
093d3ff1
RD
36014 }
36015 {
7449af73 36016 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean)));
093d3ff1
RD
36017 }
36018 {
7449af73 36019 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer)));
093d3ff1
RD
36020 }
36021 {
7449af73 36022 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float)));
093d3ff1 36023 }
fef4c27a
RD
36024 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
36025 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
093d3ff1 36026 {
7449af73 36027 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local)));
093d3ff1
RD
36028 }
36029 {
7449af73 36030 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12)));
093d3ff1
RD
36031 }
36032 {
7449af73 36033 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11)));
093d3ff1
RD
36034 }
36035 {
7449af73 36036 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10)));
093d3ff1
RD
36037 }
36038 {
7449af73 36039 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9)));
093d3ff1
RD
36040 }
36041 {
7449af73 36042 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8)));
093d3ff1
RD
36043 }
36044 {
7449af73 36045 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7)));
093d3ff1
RD
36046 }
36047 {
7449af73 36048 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6)));
093d3ff1
RD
36049 }
36050 {
7449af73 36051 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5)));
093d3ff1
RD
36052 }
36053 {
7449af73 36054 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4)));
093d3ff1
RD
36055 }
36056 {
7449af73 36057 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3)));
093d3ff1
RD
36058 }
36059 {
7449af73 36060 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2)));
093d3ff1
RD
36061 }
36062 {
7449af73 36063 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1)));
093d3ff1
RD
36064 }
36065 {
7449af73 36066 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0)));
093d3ff1
RD
36067 }
36068 {
7449af73 36069 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1)));
093d3ff1
RD
36070 }
36071 {
7449af73 36072 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2)));
093d3ff1
RD
36073 }
36074 {
7449af73 36075 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3)));
093d3ff1
RD
36076 }
36077 {
7449af73 36078 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4)));
093d3ff1
RD
36079 }
36080 {
7449af73 36081 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5)));
093d3ff1
RD
36082 }
36083 {
7449af73 36084 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6)));
093d3ff1
RD
36085 }
36086 {
7449af73 36087 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7)));
093d3ff1
RD
36088 }
36089 {
7449af73 36090 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8)));
093d3ff1
RD
36091 }
36092 {
7449af73 36093 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9)));
093d3ff1
RD
36094 }
36095 {
7449af73 36096 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10)));
093d3ff1
RD
36097 }
36098 {
7449af73 36099 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11)));
093d3ff1
RD
36100 }
36101 {
7449af73 36102 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12)));
093d3ff1
RD
36103 }
36104 {
7449af73 36105 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET)));
093d3ff1
RD
36106 }
36107 {
7449af73 36108 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST)));
093d3ff1
RD
36109 }
36110 {
7449af73 36111 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET)));
093d3ff1
RD
36112 }
36113 {
7449af73 36114 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST)));
093d3ff1
RD
36115 }
36116 {
7449af73 36117 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET)));
093d3ff1
RD
36118 }
36119 {
7449af73 36120 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST)));
093d3ff1
RD
36121 }
36122 {
7449af73 36123 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK)));
093d3ff1
RD
36124 }
36125 {
7449af73 36126 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD)));
093d3ff1
RD
36127 }
36128 {
7449af73 36129 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST)));
093d3ff1
RD
36130 }
36131 {
7449af73 36132 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT)));
093d3ff1
RD
36133 }
36134 {
7449af73 36135 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST)));
093d3ff1
RD
36136 }
36137 {
7449af73 36138 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT)));
093d3ff1
RD
36139 }
36140 {
7449af73 36141 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST)));
093d3ff1
RD
36142 }
36143 {
7449af73 36144 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT)));
093d3ff1
RD
36145 }
36146 {
7449af73 36147 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST)));
093d3ff1
RD
36148 }
36149 {
7449af73 36150 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT)));
093d3ff1
RD
36151 }
36152 {
7449af73 36153 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST)));
093d3ff1
RD
36154 }
36155 {
7449af73 36156 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT)));
093d3ff1
RD
36157 }
36158 {
7449af73 36159 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST)));
093d3ff1
RD
36160 }
36161 {
7449af73 36162 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST)));
093d3ff1
RD
36163 }
36164 {
7449af73 36165 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT)));
093d3ff1
RD
36166 }
36167 {
7449af73 36168 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST)));
093d3ff1
RD
36169 }
36170 {
7449af73 36171 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST)));
093d3ff1
RD
36172 }
36173 {
7449af73 36174 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST)));
093d3ff1
RD
36175 }
36176 {
7449af73 36177 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST)));
093d3ff1
RD
36178 }
36179 {
7449af73 36180 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC)));
093d3ff1
RD
36181 }
36182 {
7449af73 36183 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian)));
093d3ff1
RD
36184 }
36185 {
7449af73 36186 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian)));
093d3ff1
RD
36187 }
36188 {
7449af73 36189 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown)));
093d3ff1
RD
36190 }
36191 {
7449af73 36192 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard)));
093d3ff1
RD
36193 }
36194 {
7449af73 36195 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska)));
093d3ff1
RD
36196 }
36197 {
7449af73 36198 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania)));
093d3ff1
RD
36199 }
36200 {
7449af73 36201 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria)));
093d3ff1
RD
36202 }
36203 {
7449af73 36204 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen)));
093d3ff1
RD
36205 }
36206 {
7449af73 36207 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg)));
093d3ff1
RD
36208 }
36209 {
7449af73 36210 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol)));
093d3ff1
RD
36211 }
36212 {
7449af73 36213 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia)));
093d3ff1
RD
36214 }
36215 {
7449af73 36216 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria)));
093d3ff1
RD
36217 }
36218 {
7449af73 36219 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium)));
093d3ff1
RD
36220 }
36221 {
7449af73 36222 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria)));
093d3ff1
RD
36223 }
36224 {
7449af73 36225 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1)));
093d3ff1
RD
36226 }
36227 {
7449af73 36228 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2)));
093d3ff1
RD
36229 }
36230 {
7449af73 36231 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3)));
093d3ff1
RD
36232 }
36233 {
7449af73 36234 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada)));
093d3ff1
RD
36235 }
36236 {
7449af73 36237 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China)));
093d3ff1
RD
36238 }
36239 {
7449af73 36240 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1)));
093d3ff1
RD
36241 }
36242 {
7449af73 36243 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2)));
093d3ff1
RD
36244 }
36245 {
7449af73 36246 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia)));
093d3ff1
RD
36247 }
36248 {
7449af73 36249 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark)));
093d3ff1
RD
36250 }
36251 {
7449af73 36252 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt)));
093d3ff1
RD
36253 }
36254 {
7449af73 36255 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia)));
093d3ff1
RD
36256 }
36257 {
7449af73 36258 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland)));
093d3ff1
RD
36259 }
36260 {
7449af73 36261 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France)));
093d3ff1
RD
36262 }
36263 {
7449af73 36264 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace)));
093d3ff1
RD
36265 }
36266 {
7449af73 36267 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine)));
093d3ff1
RD
36268 }
36269 {
7449af73 36270 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg)));
093d3ff1
RD
36271 }
36272 {
7449af73 36273 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany)));
093d3ff1
RD
36274 }
36275 {
7449af73 36276 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic)));
093d3ff1
RD
36277 }
36278 {
7449af73 36279 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia)));
093d3ff1
RD
36280 }
36281 {
7449af73 36282 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant)));
093d3ff1
RD
36283 }
36284 {
7449af73 36285 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain)));
093d3ff1
RD
36286 }
36287 {
7449af73 36288 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece)));
093d3ff1
RD
36289 }
36290 {
7449af73 36291 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary)));
093d3ff1
RD
36292 }
36293 {
7449af73 36294 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland)));
093d3ff1
RD
36295 }
36296 {
7449af73 36297 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy)));
093d3ff1
RD
36298 }
36299 {
7449af73 36300 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan)));
093d3ff1
RD
36301 }
36302 {
7449af73 36303 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1)));
093d3ff1
RD
36304 }
36305 {
7449af73 36306 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2)));
093d3ff1
RD
36307 }
36308 {
7449af73 36309 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3)));
093d3ff1
RD
36310 }
36311 {
7449af73 36312 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia)));
093d3ff1
RD
36313 }
36314 {
7449af73 36315 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania)));
093d3ff1
RD
36316 }
36317 {
7449af73 36318 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg)));
093d3ff1
RD
36319 }
36320 {
7449af73 36321 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands)));
093d3ff1
RD
36322 }
36323 {
7449af73 36324 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen)));
093d3ff1
RD
36325 }
36326 {
7449af73 36327 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland)));
093d3ff1
RD
36328 }
36329 {
7449af73 36330 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht)));
093d3ff1
RD
36331 }
36332 {
7449af73 36333 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland)));
093d3ff1
RD
36334 }
36335 {
7449af73 36336 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway)));
093d3ff1
RD
36337 }
36338 {
7449af73 36339 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland)));
093d3ff1
RD
36340 }
36341 {
7449af73 36342 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal)));
093d3ff1
RD
36343 }
36344 {
7449af73 36345 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania)));
093d3ff1
RD
36346 }
36347 {
7449af73 36348 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia)));
093d3ff1
RD
36349 }
36350 {
7449af73 36351 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland)));
093d3ff1
RD
36352 }
36353 {
7449af73 36354 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain)));
093d3ff1
RD
36355 }
36356 {
7449af73 36357 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden)));
093d3ff1
RD
36358 }
36359 {
7449af73 36360 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland)));
093d3ff1
RD
36361 }
36362 {
7449af73 36363 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic)));
093d3ff1
RD
36364 }
36365 {
7449af73 36366 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant)));
093d3ff1
RD
36367 }
36368 {
7449af73 36369 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey)));
093d3ff1
RD
36370 }
36371 {
7449af73 36372 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA)));
093d3ff1
RD
36373 }
36374 {
7449af73 36375 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales)));
093d3ff1
RD
36376 }
36377 {
7449af73 36378 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia)));
093d3ff1
RD
36379 }
36380 {
7449af73 36381 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown)));
093d3ff1
RD
36382 }
36383 {
7449af73 36384 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default)));
093d3ff1
RD
36385 }
36386 {
7449af73 36387 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start)));
093d3ff1
RD
36388 }
36389 {
7449af73 36390 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC)));
093d3ff1
RD
36391 }
36392 {
7449af73 36393 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France)));
093d3ff1
RD
36394 }
36395 {
7449af73 36396 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany)));
093d3ff1
RD
36397 }
36398 {
7449af73 36399 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK)));
093d3ff1
RD
36400 }
36401 {
7449af73 36402 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End)));
093d3ff1
RD
36403 }
36404 {
7449af73 36405 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia)));
093d3ff1
RD
36406 }
36407 {
7449af73 36408 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA)));
093d3ff1
RD
36409 }
36410 {
7449af73 36411 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan)));
093d3ff1
RD
36412 }
36413 {
7449af73 36414 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb)));
093d3ff1
RD
36415 }
36416 {
7449af73 36417 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar)));
093d3ff1
RD
36418 }
36419 {
7449af73 36420 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr)));
093d3ff1
RD
36421 }
36422 {
7449af73 36423 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May)));
093d3ff1
RD
36424 }
36425 {
7449af73 36426 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun)));
093d3ff1
RD
36427 }
36428 {
7449af73 36429 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul)));
093d3ff1
RD
36430 }
36431 {
7449af73 36432 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug)));
093d3ff1
RD
36433 }
36434 {
7449af73 36435 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep)));
093d3ff1
RD
36436 }
36437 {
7449af73 36438 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct)));
093d3ff1
RD
36439 }
36440 {
7449af73 36441 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov)));
093d3ff1
RD
36442 }
36443 {
7449af73 36444 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec)));
093d3ff1
RD
36445 }
36446 {
7449af73 36447 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month)));
093d3ff1
RD
36448 }
36449 {
7449af73 36450 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun)));
093d3ff1
RD
36451 }
36452 {
7449af73 36453 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon)));
093d3ff1
RD
36454 }
36455 {
7449af73 36456 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue)));
093d3ff1
RD
36457 }
36458 {
7449af73 36459 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed)));
093d3ff1
RD
36460 }
36461 {
7449af73 36462 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu)));
093d3ff1
RD
36463 }
36464 {
7449af73 36465 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri)));
093d3ff1
RD
36466 }
36467 {
7449af73 36468 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat)));
093d3ff1
RD
36469 }
36470 {
7449af73 36471 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay)));
093d3ff1
RD
36472 }
36473 {
7449af73 36474 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year)));
093d3ff1
RD
36475 }
36476 {
7449af73 36477 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full)));
093d3ff1
RD
36478 }
36479 {
7449af73 36480 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr)));
093d3ff1
RD
36481 }
36482 {
7449af73 36483 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First)));
093d3ff1
RD
36484 }
36485 {
7449af73 36486 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First)));
093d3ff1
RD
36487 }
36488 {
7449af73 36489 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First)));
093d3ff1 36490 }
d55e5bfc 36491 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
093d3ff1 36492 {
7449af73 36493 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID)));
093d3ff1
RD
36494 }
36495 {
7449af73 36496 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT)));
093d3ff1
RD
36497 }
36498 {
7449af73 36499 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP)));
093d3ff1
RD
36500 }
36501 {
7449af73 36502 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE)));
093d3ff1
RD
36503 }
36504 {
7449af73 36505 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK)));
093d3ff1
RD
36506 }
36507 {
7449af73 36508 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF)));
093d3ff1
RD
36509 }
36510 {
7449af73 36511 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF)));
093d3ff1
RD
36512 }
36513 {
7449af73 36514 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT)));
093d3ff1
RD
36515 }
36516 {
7449af73 36517 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB)));
093d3ff1
RD
36518 }
36519 {
7449af73 36520 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE)));
093d3ff1
RD
36521 }
36522 {
7449af73 36523 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA)));
093d3ff1
RD
36524 }
36525 {
7449af73 36526 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF)));
093d3ff1
RD
36527 }
36528 {
7449af73 36529 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE)));
093d3ff1
RD
36530 }
36531 {
7449af73 36532 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT)));
093d3ff1
RD
36533 }
36534 {
7449af73 36535 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE)));
093d3ff1
RD
36536 }
36537 {
7449af73 36538 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME)));
093d3ff1
RD
36539 }
36540 {
7449af73 36541 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE)));
093d3ff1
RD
36542 }
36543 {
7449af73 36544 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE)));
093d3ff1
RD
36545 }
36546 {
7449af73 36547 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML)));
093d3ff1
RD
36548 }
36549 {
7449af73 36550 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX)));
093d3ff1 36551 }
d55e5bfc 36552 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
093d3ff1 36553 {
7449af73 36554 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get)));
093d3ff1
RD
36555 }
36556 {
7449af73 36557 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set)));
093d3ff1
RD
36558 }
36559 {
7449af73 36560 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both)));
093d3ff1
RD
36561 }
36562 {
7449af73 36563 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly)));
093d3ff1
RD
36564 }
36565 {
7449af73 36566 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove)));
093d3ff1
RD
36567 }
36568 {
7449af73 36569 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove)));
093d3ff1
RD
36570 }
36571 {
7449af73 36572 PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast<int >(wxDragError)));
093d3ff1
RD
36573 }
36574 {
7449af73 36575 PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone)));
093d3ff1
RD
36576 }
36577 {
7449af73 36578 PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy)));
093d3ff1
RD
36579 }
36580 {
7449af73 36581 PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove)));
093d3ff1
RD
36582 }
36583 {
7449af73 36584 PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink)));
093d3ff1
RD
36585 }
36586 {
7449af73 36587 PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel)));
093d3ff1 36588 }
d55e5bfc
RD
36589
36590 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36591 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36592 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36593 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36594
d55e5bfc
RD
36595 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
36596}
36597