]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_misc_wrap.cpp
Add wx.Dialog.Get/SetAffirmativeId and Get/SetEscapeId
[wxWidgets.git] / wxPython / src / mac / _misc_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
32fe5131 3 * Version 1.3.27
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
7e08d4ef 12#define SWIG_VERSION 0x010327
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
32fe5131
RD
30/***********************************************************************
31 *
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
34 *
35 ************************************************************************/
d55e5bfc 36
32fe5131
RD
37/* template workaround for compilers that cannot correctly implement the C++ standard */
38#ifndef SWIGTEMPLATEDISAMBIGUATOR
39# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40# define SWIGTEMPLATEDISAMBIGUATOR template
36ed4f51 41# else
32fe5131 42# define SWIGTEMPLATEDISAMBIGUATOR
36ed4f51
RD
43# endif
44#endif
d55e5bfc 45
32fe5131
RD
46/* inline attribute */
47#ifndef SWIGINLINE
48# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49# define SWIGINLINE inline
50# else
51# define SWIGINLINE
52# endif
53#endif
54
55/* attribute recognised by some compilers to avoid 'unused' warnings */
56#ifndef SWIGUNUSED
57# if defined(__GNUC__) || defined(__ICC)
58# define SWIGUNUSED __attribute__ ((unused))
59# else
60# define SWIGUNUSED
61# endif
62#endif
63
64/* internal SWIG method */
65#ifndef SWIGINTERN
66# define SWIGINTERN static SWIGUNUSED
67#endif
68
69/* internal inline SWIG method */
70#ifndef SWIGINTERNINLINE
71# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
72#endif
73
74/* exporting methods for Windows DLLs */
75#ifndef SWIGEXPORT
76# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77# if defined(STATIC_LINKED)
78# define SWIGEXPORT
79# else
80# define SWIGEXPORT __declspec(dllexport)
81# endif
82# else
83# define SWIGEXPORT
84# endif
85#endif
86
87/* calling conventions for Windows */
88#ifndef SWIGSTDCALL
89# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90# define SWIGSTDCALL __stdcall
91# else
92# define SWIGSTDCALL
93# endif
94#endif
95
96
d55e5bfc 97
36ed4f51 98#include <Python.h>
d55e5bfc
RD
99
100/***********************************************************************
36ed4f51 101 * swigrun.swg
d55e5bfc 102 *
36ed4f51
RD
103 * This file contains generic CAPI SWIG runtime support for pointer
104 * type checking.
d55e5bfc
RD
105 *
106 ************************************************************************/
107
36ed4f51
RD
108/* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
32fe5131 110#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 111
36ed4f51
RD
112/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113#ifdef SWIG_TYPE_TABLE
32fe5131
RD
114# define SWIG_QUOTE_STRING(x) #x
115# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 117#else
32fe5131 118# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
119#endif
120
121/*
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
125
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
128*/
32fe5131 129
36ed4f51 130#ifndef SWIGRUNTIME
32fe5131 131# define SWIGRUNTIME SWIGINTERN
36ed4f51 132#endif
32fe5131 133
36ed4f51 134#ifndef SWIGRUNTIMEINLINE
32fe5131 135# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
136#endif
137
32fe5131
RD
138#include <string.h>
139
d55e5bfc
RD
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144typedef void *(*swig_converter_func)(void *);
145typedef struct swig_type_info *(*swig_dycast_func)(void **);
146
32fe5131 147/* Structure to store inforomation on one type */
d55e5bfc 148typedef struct swig_type_info {
32fe5131
RD
149 const char *name; /* mangled name of this type */
150 const char *str; /* human readable name of this type */
151 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
153 void *clientdata; /* language specific type data */
d55e5bfc
RD
154} swig_type_info;
155
32fe5131
RD
156/* Structure to store a type and conversion function used for casting */
157typedef struct swig_cast_info {
158 swig_type_info *type; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter; /* function to cast the void pointers */
160 struct swig_cast_info *next; /* pointer to next cast in linked list */
161 struct swig_cast_info *prev; /* pointer to the previous cast */
162} swig_cast_info;
163
164/* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167typedef struct swig_module_info {
168 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size; /* Number of types in this module */
170 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
171 swig_type_info **type_initial; /* Array of initially generated type structures */
172 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
173 void *clientdata; /* Language specific module data */
174} swig_module_info;
175
176
36ed4f51
RD
177/*
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
183*/
184SWIGRUNTIME int
185SWIG_TypeNameComp(const char *f1, const char *l1,
186 const char *f2, const char *l2) {
187 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
188 while ((*f1 == ' ') && (f1 != l1)) ++f1;
189 while ((*f2 == ' ') && (f2 != l2)) ++f2;
32fe5131 190 if (*f1 != *f2) return (int)(*f1 - *f2);
36ed4f51
RD
191 }
192 return (l1 - f1) - (l2 - f2);
193}
194
195/*
196 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 197 Return 0 if not equal, 1 if equal
36ed4f51
RD
198*/
199SWIGRUNTIME int
200SWIG_TypeEquiv(const char *nb, const char *tb) {
201 int equiv = 0;
202 const char* te = tb + strlen(tb);
203 const char* ne = nb;
204 while (!equiv && *ne) {
205 for (nb = ne; *ne; ++ne) {
206 if (*ne == '|') break;
207 }
32fe5131 208 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
209 if (*ne) ++ne;
210 }
211 return equiv;
212}
213
214/*
32fe5131
RD
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 217*/
32fe5131
RD
218SWIGRUNTIME int
219SWIG_TypeCompare(const char *nb, const char *tb) {
220 int equiv = 0;
221 const char* te = tb + strlen(tb);
222 const char* ne = nb;
223 while (!equiv && *ne) {
224 for (nb = ne; *ne; ++ne) {
225 if (*ne == '|') break;
36ed4f51 226 }
32fe5131
RD
227 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
228 if (*ne) ++ne;
36ed4f51 229 }
32fe5131 230 return equiv;
36ed4f51
RD
231}
232
32fe5131
RD
233
234/* think of this as a c++ template<> or a scheme macro */
235#define SWIG_TypeCheck_Template(comparison, ty) \
236 if (ty) { \
237 swig_cast_info *iter = ty->cast; \
238 while (iter) { \
239 if (comparison) { \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
243 if (iter->next) \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
246 iter->prev = 0; \
247 if (ty->cast) ty->cast->prev = iter; \
248 ty->cast = iter; \
249 return iter; \
250 } \
251 iter = iter->next; \
252 } \
253 } \
254 return 0
255
36ed4f51
RD
256/*
257 Check the typename
258*/
32fe5131 259SWIGRUNTIME swig_cast_info *
36ed4f51 260SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
261 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
262}
263
264/* Same as previous function, except strcmp is replaced with a pointer comparison */
265SWIGRUNTIME swig_cast_info *
266SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
267 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
268}
269
270/*
271 Cast a pointer up an inheritance hierarchy
272*/
273SWIGRUNTIMEINLINE void *
32fe5131 274SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
275 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
276}
277
278/*
279 Dynamic pointer casting. Down an inheritance hierarchy
280*/
281SWIGRUNTIME swig_type_info *
282SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
283 swig_type_info *lastty = ty;
284 if (!ty || !ty->dcast) return ty;
285 while (ty && (ty->dcast)) {
286 ty = (*ty->dcast)(ptr);
287 if (ty) lastty = ty;
288 }
289 return lastty;
290}
291
292/*
293 Return the name associated with this type
294*/
295SWIGRUNTIMEINLINE const char *
296SWIG_TypeName(const swig_type_info *ty) {
297 return ty->name;
298}
299
300/*
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
303*/
304SWIGRUNTIME const char *
305SWIG_TypePrettyName(const swig_type_info *type) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
309 specific. */
310 if (type->str != NULL) {
311 const char *last_name = type->str;
312 const char *s;
313 for (s = type->str; *s; s++)
314 if (*s == '|') last_name = s+1;
315 return last_name;
316 }
317 else
318 return type->name;
319}
320
36ed4f51
RD
321/*
322 Set the clientdata field for a type
323*/
324SWIGRUNTIME void
32fe5131
RD
325SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
326 swig_cast_info *cast = ti->cast;
36ed4f51
RD
327 /* if (ti->clientdata == clientdata) return; */
328 ti->clientdata = clientdata;
32fe5131
RD
329
330 while (cast) {
331 if (!cast->converter) {
332 swig_type_info *tc = cast->type;
333 if (!tc->clientdata) {
334 SWIG_TypeClientData(tc, clientdata);
36ed4f51 335 }
32fe5131
RD
336 }
337 cast = cast->next;
338 }
339}
340
341/*
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
344
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
347 the circular list.
348*/
349SWIGRUNTIME swig_type_info *
350SWIG_MangledTypeQueryModule(swig_module_info *start,
351 swig_module_info *end,
352 const char *name) {
353 swig_module_info *iter = start;
354 do {
355 if (iter->size) {
356 register size_t l = 0;
357 register size_t r = iter->size - 1;
358 do {
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i = (l + r) >> 1;
361 const char *iname = iter->types[i]->name;
362 if (iname) {
363 register int compare = strcmp(name, iname);
364 if (compare == 0) {
365 return iter->types[i];
366 } else if (compare < 0) {
367 if (i) {
368 r = i - 1;
369 } else {
370 break;
371 }
372 } else if (compare > 0) {
373 l = i + 1;
374 }
375 } else {
376 break; /* should never happen */
377 }
378 } while (l <= r);
36ed4f51 379 }
32fe5131
RD
380 iter = iter->next;
381 } while (iter != end);
382 return 0;
383}
384
385/*
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
389
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
392 the circular list.
393*/
394SWIGRUNTIME swig_type_info *
395SWIG_TypeQueryModule(swig_module_info *start,
396 swig_module_info *end,
397 const char *name) {
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
400 if (ret) {
401 return ret;
402 } else {
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info *iter = start;
406 do {
407 register size_t i = 0;
408 for (; i < iter->size; ++i) {
409 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
410 return iter->types[i];
411 }
412 iter = iter->next;
413 } while (iter != end);
36ed4f51 414 }
32fe5131
RD
415
416 /* neither found a match */
417 return 0;
36ed4f51
RD
418}
419
32fe5131 420
36ed4f51
RD
421/*
422 Pack binary data into a string
423*/
424SWIGRUNTIME char *
425SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
426 static const char hex[17] = "0123456789abcdef";
427 register const unsigned char *u = (unsigned char *) ptr;
428 register const unsigned char *eu = u + sz;
36ed4f51 429 for (; u != eu; ++u) {
32fe5131 430 register unsigned char uu = *u;
36ed4f51
RD
431 *(c++) = hex[(uu & 0xf0) >> 4];
432 *(c++) = hex[uu & 0xf];
433 }
434 return c;
435}
436
437/*
438 Unpack binary data from a string
439*/
440SWIGRUNTIME const char *
441SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
442 register unsigned char *u = (unsigned char *) ptr;
32fe5131 443 register const unsigned char *eu = u + sz;
36ed4f51 444 for (; u != eu; ++u) {
32fe5131 445 register char d = *(c++);
36ed4f51
RD
446 register unsigned char uu = 0;
447 if ((d >= '0') && (d <= '9'))
448 uu = ((d - '0') << 4);
449 else if ((d >= 'a') && (d <= 'f'))
450 uu = ((d - ('a'-10)) << 4);
451 else
452 return (char *) 0;
453 d = *(c++);
454 if ((d >= '0') && (d <= '9'))
455 uu |= (d - '0');
456 else if ((d >= 'a') && (d <= 'f'))
457 uu |= (d - ('a'-10));
458 else
459 return (char *) 0;
460 *u = uu;
461 }
462 return c;
463}
464
36ed4f51
RD
465/*
466 Pack 'void *' into a string buffer.
467*/
468SWIGRUNTIME char *
469SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
470 char *r = buff;
471 if ((2*sizeof(void *) + 2) > bsz) return 0;
472 *(r++) = '_';
473 r = SWIG_PackData(r,&ptr,sizeof(void *));
474 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
475 strcpy(r,name);
476 return buff;
477}
478
479SWIGRUNTIME const char *
480SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
481 if (*c != '_') {
482 if (strcmp(c,"NULL") == 0) {
483 *ptr = (void *) 0;
484 return name;
485 } else {
486 return 0;
487 }
488 }
489 return SWIG_UnpackData(++c,ptr,sizeof(void *));
490}
491
492SWIGRUNTIME char *
493SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
494 char *r = buff;
495 size_t lname = (name ? strlen(name) : 0);
496 if ((2*sz + 2 + lname) > bsz) return 0;
497 *(r++) = '_';
498 r = SWIG_PackData(r,ptr,sz);
499 if (lname) {
500 strncpy(r,name,lname+1);
501 } else {
502 *r = 0;
503 }
504 return buff;
505}
d55e5bfc 506
36ed4f51
RD
507SWIGRUNTIME const char *
508SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
509 if (*c != '_') {
510 if (strcmp(c,"NULL") == 0) {
511 memset(ptr,0,sz);
512 return name;
513 } else {
514 return 0;
515 }
516 }
517 return SWIG_UnpackData(++c,ptr,sz);
518}
d55e5bfc
RD
519
520#ifdef __cplusplus
521}
522#endif
523
36ed4f51
RD
524/* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
d55e5bfc 527
36ed4f51
RD
528#ifdef __cplusplus
529extern "C" {
530#endif
c370783e 531
36ed4f51
RD
532/* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
d55e5bfc 535
36ed4f51 536#ifndef SWIGINTERN
32fe5131 537# define SWIGINTERN static SWIGUNUSED
36ed4f51 538#endif
d55e5bfc 539
32fe5131
RD
540#ifndef SWIGINTERNINLINE
541# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
36ed4f51 542#endif
d55e5bfc 543
36ed4f51
RD
544/*
545 Exception handling in wrappers
546*/
547#define SWIG_fail goto fail
548#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
553
554/*
555 Contract support
556*/
557#define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559
560/* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
d55e5bfc 563
36ed4f51
RD
564/* Constant Types */
565#define SWIG_PY_INT 1
566#define SWIG_PY_FLOAT 2
567#define SWIG_PY_STRING 3
568#define SWIG_PY_POINTER 4
569#define SWIG_PY_BINARY 5
570
571/* Constant information structure */
572typedef struct swig_const_info {
573 int type;
574 char *name;
575 long lvalue;
576 double dvalue;
577 void *pvalue;
578 swig_type_info **ptype;
579} swig_const_info;
d55e5bfc 580
c370783e 581
36ed4f51
RD
582/* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
c370783e
RD
585#define SWIG_OLDOBJ 1
586#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
588
589#ifdef __cplusplus
36ed4f51
RD
590}
591#endif
d55e5bfc 592
d55e5bfc 593
36ed4f51
RD
594/***********************************************************************
595 * pyrun.swg
596 *
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
599 * type checking.
600 *
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
d55e5bfc 603
36ed4f51
RD
604/* Common SWIG API */
605#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
608
d55e5bfc 609
36ed4f51
RD
610/* Python-specific SWIG API */
611#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 613
32fe5131
RD
614/* Runtime API */
615#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
d55e5bfc 617
36ed4f51
RD
618/* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
621/*
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
624 not always safe.
625*/
626#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627# define SWIG_COBJECT_TYPES
628#endif
d55e5bfc 629
36ed4f51
RD
630/* Flags for pointer conversion */
631#define SWIG_POINTER_EXCEPTION 0x1
632#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 633
d55e5bfc 634
32fe5131
RD
635/* Add PyOS_snprintf for old Pythons */
636#if PY_VERSION_HEX < 0x02020000
637#define PyOS_snprintf snprintf
638#endif
639
36ed4f51
RD
640#ifdef __cplusplus
641extern "C" {
642#endif
d55e5bfc 643
36ed4f51
RD
644/* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
36ed4f51
RD
647#ifndef SWIG_BUFFER_SIZE
648#define SWIG_BUFFER_SIZE 1024
649#endif
d55e5bfc 650
32fe5131
RD
651/* A crude PyString_FromFormat implementation for old Pythons */
652#if PY_VERSION_HEX < 0x02020000
653static PyObject *
654PyString_FromFormat(const char *fmt, ...) {
655 va_list ap;
656 char buf[SWIG_BUFFER_SIZE * 2];
657 int res;
658 va_start(ap, fmt);
659 res = vsnprintf(buf, sizeof(buf), fmt, ap);
660 va_end(ap);
661 return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf);
662}
663#endif
664
665#if PY_VERSION_HEX < 0x01060000
666#define PyObject_Del(op) PyMem_DEL((op))
667#endif
668
36ed4f51
RD
669#if defined(SWIG_COBJECT_TYPES)
670#if !defined(SWIG_COBJECT_PYTHON)
671/* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
d55e5bfc 674
36ed4f51
RD
675typedef struct {
676 PyObject_HEAD
677 void *ptr;
678 const char *desc;
679} PySwigObject;
680
681/* Declarations for objects of type PySwigObject */
682
683SWIGRUNTIME int
684PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 685{
36ed4f51 686 char result[SWIG_BUFFER_SIZE];
32fe5131 687 flags = flags;
36ed4f51
RD
688 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
689 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
690 return 0;
691 } else {
692 return 1;
d55e5bfc 693 }
d55e5bfc 694}
36ed4f51
RD
695
696SWIGRUNTIME PyObject *
697PySwigObject_repr(PySwigObject *v)
d55e5bfc 698{
36ed4f51
RD
699 char result[SWIG_BUFFER_SIZE];
700 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
701 PyString_FromFormat("<Swig Object at %s>", result) : 0;
d55e5bfc
RD
702}
703
36ed4f51
RD
704SWIGRUNTIME PyObject *
705PySwigObject_str(PySwigObject *v)
706{
707 char result[SWIG_BUFFER_SIZE];
708 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
709 PyString_FromString(result) : 0;
710}
d55e5bfc 711
36ed4f51
RD
712SWIGRUNTIME PyObject *
713PySwigObject_long(PySwigObject *v)
714{
32fe5131
RD
715 return PyLong_FromVoidPtr(v->ptr);
716}
717
718SWIGRUNTIME PyObject *
719PySwigObject_format(const char* fmt, PySwigObject *v)
720{
721 PyObject *res = NULL;
722 PyObject *args = PyTuple_New(1);
723 if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) {
724 PyObject *ofmt = PyString_FromString(fmt);
725 if (ofmt) {
726 res = PyString_Format(ofmt,args);
727 Py_DECREF(ofmt);
728 }
729 Py_DECREF(args);
730 }
731 return res;
d55e5bfc 732}
36ed4f51
RD
733
734SWIGRUNTIME PyObject *
735PySwigObject_oct(PySwigObject *v)
c370783e 736{
32fe5131 737 return PySwigObject_format("%o",v);
c370783e 738}
d55e5bfc 739
36ed4f51
RD
740SWIGRUNTIME PyObject *
741PySwigObject_hex(PySwigObject *v)
742{
32fe5131 743 return PySwigObject_format("%x",v);
36ed4f51 744}
d55e5bfc 745
36ed4f51
RD
746SWIGRUNTIME int
747PySwigObject_compare(PySwigObject *v, PySwigObject *w)
d55e5bfc 748{
36ed4f51
RD
749 int c = strcmp(v->desc, w->desc);
750 if (c) {
32fe5131 751 return (c > 0) ? 1 : -1;
36ed4f51
RD
752 } else {
753 void *i = v->ptr;
754 void *j = w->ptr;
32fe5131 755 return (i < j) ? -1 : ((i > j) ? 1 : 0);
d55e5bfc 756 }
c370783e
RD
757}
758
36ed4f51
RD
759SWIGRUNTIME void
760PySwigObject_dealloc(PySwigObject *self)
c370783e 761{
32fe5131 762 PyObject_Del(self);
d55e5bfc
RD
763}
764
36ed4f51 765SWIGRUNTIME PyTypeObject*
32fe5131
RD
766PySwigObject_type(void) {
767 static char pyswigobject_type__doc__[] =
36ed4f51
RD
768 "Swig object carries a C/C++ instance pointer";
769
770 static PyNumberMethods PySwigObject_as_number = {
771 (binaryfunc)0, /*nb_add*/
772 (binaryfunc)0, /*nb_subtract*/
773 (binaryfunc)0, /*nb_multiply*/
774 (binaryfunc)0, /*nb_divide*/
775 (binaryfunc)0, /*nb_remainder*/
776 (binaryfunc)0, /*nb_divmod*/
777 (ternaryfunc)0,/*nb_power*/
778 (unaryfunc)0, /*nb_negative*/
779 (unaryfunc)0, /*nb_positive*/
780 (unaryfunc)0, /*nb_absolute*/
781 (inquiry)0, /*nb_nonzero*/
782 0, /*nb_invert*/
783 0, /*nb_lshift*/
784 0, /*nb_rshift*/
785 0, /*nb_and*/
786 0, /*nb_xor*/
787 0, /*nb_or*/
788 (coercion)0, /*nb_coerce*/
789 (unaryfunc)PySwigObject_long, /*nb_int*/
790 (unaryfunc)PySwigObject_long, /*nb_long*/
791 (unaryfunc)0, /*nb_float*/
792 (unaryfunc)PySwigObject_oct, /*nb_oct*/
793 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 794#if PY_VERSION_HEX >= 0x02020000
36ed4f51 795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
796#elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
798#endif
799 };
800
32fe5131
RD
801 static PyTypeObject pyswigobject_type
802#if !defined(__cplusplus)
803 ;
804 static int type_init = 0;
36ed4f51 805 if (!type_init) {
32fe5131
RD
806 PyTypeObject tmp
807#endif
808 = {
36ed4f51
RD
809 PyObject_HEAD_INIT(&PyType_Type)
810 0, /*ob_size*/
32fe5131 811 (char *)"PySwigObject", /*tp_name*/
36ed4f51
RD
812 sizeof(PySwigObject), /*tp_basicsize*/
813 0, /*tp_itemsize*/
814 /* methods */
815 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
816 (printfunc)PySwigObject_print, /*tp_print*/
817 (getattrfunc)0, /*tp_getattr*/
818 (setattrfunc)0, /*tp_setattr*/
819 (cmpfunc)PySwigObject_compare, /*tp_compare*/
820 (reprfunc)PySwigObject_repr, /*tp_repr*/
821 &PySwigObject_as_number, /*tp_as_number*/
822 0, /*tp_as_sequence*/
823 0, /*tp_as_mapping*/
824 (hashfunc)0, /*tp_hash*/
825 (ternaryfunc)0, /*tp_call*/
826 (reprfunc)PySwigObject_str, /*tp_str*/
827 /* Space for future expansion */
32fe5131
RD
828 0,0,0,0,
829 pyswigobject_type__doc__, /* Documentation string */
36ed4f51
RD
830#if PY_VERSION_HEX >= 0x02000000
831 0, /* tp_traverse */
832 0, /* tp_clear */
833#endif
834#if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
837#endif
838#if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840#endif
841#if PY_VERSION_HEX >= 0x02030000
842 0, /* tp_del */
843#endif
844#ifdef COUNT_ALLOCS
845 0,0,0,0 /* tp_alloc -> tp_next */
846#endif
847 };
32fe5131
RD
848#if !defined(__cplusplus)
849 pyswigobject_type = tmp;
36ed4f51 850 type_init = 1;
c370783e 851 }
32fe5131
RD
852#endif
853 return &pyswigobject_type;
c370783e
RD
854}
855
36ed4f51
RD
856SWIGRUNTIME PyObject *
857PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
d55e5bfc 858{
32fe5131
RD
859 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type());
860 if (self) {
861 self->ptr = ptr;
862 self->desc = desc;
863 }
36ed4f51 864 return (PyObject *)self;
c370783e
RD
865}
866
36ed4f51
RD
867SWIGRUNTIMEINLINE void *
868PySwigObject_AsVoidPtr(PyObject *self)
869{
870 return ((PySwigObject *)self)->ptr;
871}
c370783e 872
36ed4f51
RD
873SWIGRUNTIMEINLINE const char *
874PySwigObject_GetDesc(PyObject *self)
c370783e 875{
36ed4f51 876 return ((PySwigObject *)self)->desc;
d55e5bfc
RD
877}
878
36ed4f51
RD
879SWIGRUNTIMEINLINE int
880PySwigObject_Check(PyObject *op) {
32fe5131 881 return ((op)->ob_type == PySwigObject_type())
36ed4f51
RD
882 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
883}
d55e5bfc 884
36ed4f51
RD
885/* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
888
889typedef struct {
890 PyObject_HEAD
891 void *pack;
892 const char *desc;
893 size_t size;
894} PySwigPacked;
895
896SWIGRUNTIME int
897PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
d55e5bfc 898{
36ed4f51 899 char result[SWIG_BUFFER_SIZE];
32fe5131 900 flags = flags;
36ed4f51
RD
901 fputs("<Swig Packed ", fp);
902 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
903 fputs("at ", fp);
904 fputs(result, fp);
c370783e 905 }
36ed4f51
RD
906 fputs(v->desc,fp);
907 fputs(">", fp);
908 return 0;
d55e5bfc 909}
c370783e 910
36ed4f51
RD
911SWIGRUNTIME PyObject *
912PySwigPacked_repr(PySwigPacked *v)
d55e5bfc 913{
36ed4f51
RD
914 char result[SWIG_BUFFER_SIZE];
915 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
917 } else {
918 return PyString_FromFormat("<Swig Packed %s>", v->desc);
919 }
d55e5bfc
RD
920}
921
36ed4f51
RD
922SWIGRUNTIME PyObject *
923PySwigPacked_str(PySwigPacked *v)
924{
925 char result[SWIG_BUFFER_SIZE];
926 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
927 return PyString_FromFormat("%s%s", result, v->desc);
928 } else {
32fe5131 929 return PyString_FromString(v->desc);
36ed4f51
RD
930 }
931}
d55e5bfc 932
36ed4f51
RD
933SWIGRUNTIME int
934PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
935{
936 int c = strcmp(v->desc, w->desc);
937 if (c) {
32fe5131 938 return (c > 0) ? 1 : -1;
36ed4f51
RD
939 } else {
940 size_t i = v->size;
941 size_t j = w->size;
32fe5131 942 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
36ed4f51
RD
943 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
944 }
945}
d55e5bfc 946
36ed4f51
RD
947SWIGRUNTIME void
948PySwigPacked_dealloc(PySwigPacked *self)
949{
950 free(self->pack);
32fe5131 951 PyObject_Del(self);
36ed4f51
RD
952}
953
954SWIGRUNTIME PyTypeObject*
32fe5131
RD
955PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__[] =
36ed4f51 957 "Swig object carries a C/C++ instance pointer";
32fe5131
RD
958 static PyTypeObject pyswigpacked_type
959#if !defined(__cplusplus)
960 ;
961 static int type_init = 0;
36ed4f51 962 if (!type_init) {
32fe5131
RD
963 PyTypeObject tmp
964#endif
965 = {
36ed4f51
RD
966 PyObject_HEAD_INIT(&PyType_Type)
967 0, /*ob_size*/
32fe5131 968 (char *)"PySwigPacked", /*tp_name*/
36ed4f51
RD
969 sizeof(PySwigPacked), /*tp_basicsize*/
970 0, /*tp_itemsize*/
971 /* methods */
972 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
973 (printfunc)PySwigPacked_print, /*tp_print*/
974 (getattrfunc)0, /*tp_getattr*/
975 (setattrfunc)0, /*tp_setattr*/
976 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
977 (reprfunc)PySwigPacked_repr, /*tp_repr*/
978 0, /*tp_as_number*/
979 0, /*tp_as_sequence*/
980 0, /*tp_as_mapping*/
981 (hashfunc)0, /*tp_hash*/
982 (ternaryfunc)0, /*tp_call*/
983 (reprfunc)PySwigPacked_str, /*tp_str*/
984 /* Space for future expansion */
32fe5131
RD
985 0,0,0,0,
986 pyswigpacked_type__doc__, /* Documentation string */
36ed4f51
RD
987#if PY_VERSION_HEX >= 0x02000000
988 0, /* tp_traverse */
989 0, /* tp_clear */
990#endif
991#if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
994#endif
995#if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997#endif
998#if PY_VERSION_HEX >= 0x02030000
999 0, /* tp_del */
1000#endif
1001#ifdef COUNT_ALLOCS
1002 0,0,0,0 /* tp_alloc -> tp_next */
1003#endif
1004 };
32fe5131
RD
1005#if !defined(__cplusplus)
1006 pyswigpacked_type = tmp;
36ed4f51 1007 type_init = 1;
629e65c2 1008 }
32fe5131
RD
1009#endif
1010 return &pyswigpacked_type;
36ed4f51 1011}
d55e5bfc 1012
36ed4f51
RD
1013SWIGRUNTIME PyObject *
1014PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
1015{
32fe5131 1016 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type());
36ed4f51
RD
1017 if (self == NULL) {
1018 return NULL;
1019 } else {
1020 void *pack = malloc(size);
32fe5131
RD
1021 if (pack) {
1022 memcpy(pack, ptr, size);
1023 self->pack = pack;
1024 self->desc = desc;
1025 self->size = size;
1026 return (PyObject *) self;
1027 }
1028 return NULL;
36ed4f51
RD
1029 }
1030}
c370783e 1031
36ed4f51
RD
1032SWIGRUNTIMEINLINE const char *
1033PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1034{
36ed4f51
RD
1035 PySwigPacked *self = (PySwigPacked *)obj;
1036 if (self->size != size) return 0;
1037 memcpy(ptr, self->pack, size);
1038 return self->desc;
1039}
1040
1041SWIGRUNTIMEINLINE const char *
1042PySwigPacked_GetDesc(PyObject *self)
1043{
1044 return ((PySwigPacked *)self)->desc;
d55e5bfc
RD
1045}
1046
36ed4f51
RD
1047SWIGRUNTIMEINLINE int
1048PySwigPacked_Check(PyObject *op) {
32fe5131 1049 return ((op)->ob_type == PySwigPacked_type())
36ed4f51
RD
1050 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1051}
d55e5bfc 1052
36ed4f51
RD
1053#else
1054/* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1057
1058#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059#define PySwigObject_Check(obj) PyCObject_Check(obj)
1060#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1062
1063#endif
1064
1065#endif
1066
1067/* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1070
1071SWIGRUNTIME void
1072SWIG_Python_TypeError(const char *type, PyObject *obj)
d55e5bfc 1073{
36ed4f51
RD
1074 if (type) {
1075#if defined(SWIG_COBJECT_TYPES)
32fe5131 1076 if (obj && PySwigObject_Check(obj)) {
36ed4f51
RD
1077 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1078 if (otype) {
1079 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1080 type, otype);
1081 return;
1082 }
1083 } else
1084#endif
1085 {
1086 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1087 if (otype) {
1088 PyObject *str = PyObject_Str(obj);
1089 const char *cstr = str ? PyString_AsString(str) : 0;
1090 if (cstr) {
1091 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1092 type, otype, cstr);
1093 } else {
1094 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1095 type, otype);
1096 }
32fe5131 1097 Py_XDECREF(str);
36ed4f51
RD
1098 return;
1099 }
1100 }
1101 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1102 } else {
1103 PyErr_Format(PyExc_TypeError, "unexpected type is received");
d55e5bfc 1104 }
c370783e
RD
1105}
1106
36ed4f51
RD
1107SWIGRUNTIMEINLINE void
1108SWIG_Python_NullRef(const char *type)
c370783e 1109{
36ed4f51
RD
1110 if (type) {
1111 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1112 } else {
1113 PyErr_Format(PyExc_TypeError, "null reference was received");
1114 }
d55e5bfc
RD
1115}
1116
36ed4f51
RD
1117SWIGRUNTIME int
1118SWIG_Python_AddErrMesg(const char* mesg, int infront)
1119{
1120 if (PyErr_Occurred()) {
1121 PyObject *type = 0;
1122 PyObject *value = 0;
1123 PyObject *traceback = 0;
1124 PyErr_Fetch(&type, &value, &traceback);
1125 if (value) {
1126 PyObject *old_str = PyObject_Str(value);
1127 Py_XINCREF(type);
1128 PyErr_Clear();
1129 if (infront) {
1130 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1131 } else {
1132 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1133 }
1134 Py_DECREF(old_str);
1135 }
1136 return 1;
1137 } else {
1138 return 0;
1139 }
1140}
d55e5bfc 1141
36ed4f51
RD
1142SWIGRUNTIME int
1143SWIG_Python_ArgFail(int argnum)
d55e5bfc 1144{
36ed4f51
RD
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1147 char mesg[256];
32fe5131 1148 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
36ed4f51
RD
1149 return SWIG_Python_AddErrMesg(mesg, 1);
1150 } else {
1151 return 0;
1152 }
d55e5bfc
RD
1153}
1154
1155
36ed4f51
RD
1156/* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1159
1160/* Convert a pointer value */
1161SWIGRUNTIME int
1162SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
32fe5131 1163 swig_cast_info *tc;
36ed4f51
RD
1164 const char *c = 0;
1165 static PyObject *SWIG_this = 0;
1166 int newref = 0;
1167 PyObject *pyobj = 0;
1168 void *vptr;
1169
1170 if (!obj) return 0;
1171 if (obj == Py_None) {
1172 *ptr = 0;
1173 return 0;
1174 }
1175
1176#ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj))) {
1178 if (!SWIG_this)
1179 SWIG_this = PyString_FromString("this");
1180 pyobj = obj;
1181 obj = PyObject_GetAttr(obj,SWIG_this);
1182 newref = 1;
1183 if (!obj) goto type_error;
1184 if (!PySwigObject_Check(obj)) {
1185 Py_DECREF(obj);
1186 goto type_error;
1187 }
1188 }
1189 vptr = PySwigObject_AsVoidPtr(obj);
1190 c = (const char *) PySwigObject_GetDesc(obj);
1191 if (newref) { Py_DECREF(obj); }
1192 goto type_check;
d55e5bfc 1193#else
36ed4f51
RD
1194 if (!(PyString_Check(obj))) {
1195 if (!SWIG_this)
1196 SWIG_this = PyString_FromString("this");
1197 pyobj = obj;
1198 obj = PyObject_GetAttr(obj,SWIG_this);
1199 newref = 1;
1200 if (!obj) goto type_error;
1201 if (!PyString_Check(obj)) {
1202 Py_DECREF(obj);
1203 goto type_error;
1204 }
1205 }
32fe5131 1206 c = PyString_AsString(obj);
36ed4f51
RD
1207 /* Pointer values must start with leading underscore */
1208 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1209 if (newref) { Py_DECREF(obj); }
1210 if (!c) goto type_error;
d55e5bfc 1211#endif
d55e5bfc 1212
36ed4f51 1213type_check:
36ed4f51
RD
1214 if (ty) {
1215 tc = SWIG_TypeCheck(c,ty);
1216 if (!tc) goto type_error;
1217 *ptr = SWIG_TypeCast(tc,vptr);
1218 } else {
1219 *ptr = vptr;
1220 }
36ed4f51
RD
1221 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1222 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1223 }
1224 return 0;
1225
1226type_error:
1227 PyErr_Clear();
1228 if (pyobj && !obj) {
1229 obj = pyobj;
1230 if (PyCFunction_Check(obj)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1233 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1234 if (c) {
32fe5131 1235 c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0;
36ed4f51
RD
1236 if (!c) goto type_error;
1237 goto type_check;
1238 }
1239 }
1240 }
1241 if (flags & SWIG_POINTER_EXCEPTION) {
1242 if (ty) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1244 } else {
1245 SWIG_Python_TypeError("C/C++ pointer", obj);
d55e5bfc 1246 }
36ed4f51
RD
1247 }
1248 return -1;
1249}
d55e5bfc 1250
36ed4f51
RD
1251/* Convert a pointer value, signal an exception on a type mismatch */
1252SWIGRUNTIME void *
1253SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1254 void *result;
1255 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1256 PyErr_Clear();
1257 if (flags & SWIG_POINTER_EXCEPTION) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1259 SWIG_Python_ArgFail(argnum);
d55e5bfc 1260 }
36ed4f51
RD
1261 }
1262 return result;
1263}
d55e5bfc 1264
36ed4f51
RD
1265/* Convert a packed value value */
1266SWIGRUNTIME int
1267SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
32fe5131 1268 swig_cast_info *tc;
36ed4f51 1269 const char *c = 0;
d55e5bfc 1270
36ed4f51
RD
1271#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c = PySwigPacked_UnpackData(obj, ptr, sz);
1273#else
1274 if ((!obj) || (!PyString_Check(obj))) goto type_error;
32fe5131 1275 c = PyString_AsString(obj);
36ed4f51
RD
1276 /* Pointer values must start with leading underscore */
1277 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1278#endif
1279 if (!c) goto type_error;
1280 if (ty) {
1281 tc = SWIG_TypeCheck(c,ty);
1282 if (!tc) goto type_error;
1283 }
1284 return 0;
d55e5bfc 1285
36ed4f51
RD
1286type_error:
1287 PyErr_Clear();
1288 if (flags & SWIG_POINTER_EXCEPTION) {
1289 if (ty) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1291 } else {
1292 SWIG_Python_TypeError("C/C++ packed data", obj);
1293 }
1294 }
1295 return -1;
1296}
1297
1298/* Create a new array object */
1299SWIGRUNTIME PyObject *
1300SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1301 PyObject *robj = 0;
32fe5131
RD
1302 if (!type) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj");
1305 }
1306 return robj;
1307 }
36ed4f51
RD
1308 if (!ptr) {
1309 Py_INCREF(Py_None);
1310 return Py_None;
1311 }
1312#ifdef SWIG_COBJECT_TYPES
1313 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1314#else
1315 {
1316 char result[SWIG_BUFFER_SIZE];
1317 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1318 PyString_FromString(result) : 0;
1319 }
1320#endif
1321 if (!robj || (robj == Py_None)) return robj;
1322 if (type->clientdata) {
1323 PyObject *inst;
1324 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1325 Py_DECREF(robj);
1326 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1327 Py_DECREF(args);
1328 if (inst) {
1329 if (own) {
1330 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1331 }
1332 robj = inst;
1333 }
1334 }
1335 return robj;
1336}
d55e5bfc 1337
36ed4f51
RD
1338SWIGRUNTIME PyObject *
1339SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1340 PyObject *robj = 0;
1341 if (!ptr) {
1342 Py_INCREF(Py_None);
1343 return Py_None;
1344 }
1345#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1347#else
1348 {
1349 char result[SWIG_BUFFER_SIZE];
1350 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1351 PyString_FromString(result) : 0;
1352 }
d55e5bfc 1353#endif
36ed4f51
RD
1354 return robj;
1355}
d55e5bfc 1356
36ed4f51
RD
1357/* -----------------------------------------------------------------------------*
1358 * Get type list
1359 * -----------------------------------------------------------------------------*/
d55e5bfc 1360
36ed4f51
RD
1361#ifdef SWIG_LINK_RUNTIME
1362void *SWIG_ReturnGlobalTypeList(void *);
1363#endif
d55e5bfc 1364
32fe5131
RD
1365SWIGRUNTIME swig_module_info *
1366SWIG_Python_GetModule(void) {
36ed4f51
RD
1367 static void *type_pointer = (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer) {
1370#ifdef SWIG_LINK_RUNTIME
1371 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1372#else
1373 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1375 if (PyErr_Occurred()) {
1376 PyErr_Clear();
1377 type_pointer = (void *)0;
1378 }
36ed4f51 1379#endif
32fe5131
RD
1380 }
1381 return (swig_module_info *) type_pointer;
36ed4f51 1382}
d55e5bfc 1383
32fe5131
RD
1384#if PY_MAJOR_VERSION < 2
1385/* PyModule_AddObject function was introduced in Python 2.0. The following function
1386is copied out of Python/modsupport.c in python version 2.3.4 */
1387SWIGINTERN int
1388PyModule_AddObject(PyObject *m, char *name, PyObject *o)
1389{
1390 PyObject *dict;
1391 if (!PyModule_Check(m)) {
1392 PyErr_SetString(PyExc_TypeError,
1393 "PyModule_AddObject() needs module as first arg");
1394 return -1;
1395 }
1396 if (!o) {
1397 PyErr_SetString(PyExc_TypeError,
1398 "PyModule_AddObject() needs non-NULL value");
1399 return -1;
1400 }
1401
1402 dict = PyModule_GetDict(m);
1403 if (dict == NULL) {
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
1406 PyModule_GetName(m));
1407 return -1;
1408 }
1409 if (PyDict_SetItemString(dict, name, o))
1410 return -1;
1411 Py_DECREF(o);
1412 return 0;
36ed4f51 1413}
32fe5131 1414#endif
d55e5bfc 1415
32fe5131
RD
1416SWIGRUNTIME void
1417SWIG_Python_SetModule(swig_module_info *swig_module) {
1418 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
1419
1420 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1421 swig_empty_runtime_method_table);
1422 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL);
1423 if (pointer && module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1425 }
1426}
d55e5bfc 1427
36ed4f51
RD
1428#ifdef __cplusplus
1429}
1430#endif
d55e5bfc 1431
d55e5bfc 1432
36ed4f51 1433/* -------- TYPES TABLE (BEGIN) -------- */
d55e5bfc 1434
32fe5131
RD
1435#define SWIGTYPE_p_char swig_types[0]
1436#define SWIGTYPE_p_form_ops_t swig_types[1]
1437#define SWIGTYPE_p_int swig_types[2]
1438#define SWIGTYPE_p_unsigned_char swig_types[3]
1439#define SWIGTYPE_p_unsigned_int swig_types[4]
1440#define SWIGTYPE_p_unsigned_long swig_types[5]
1441#define SWIGTYPE_p_void swig_types[6]
1442#define SWIGTYPE_p_wxANIHandler swig_types[7]
1443#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
1444#define SWIGTYPE_p_wxActivateEvent swig_types[9]
1445#define SWIGTYPE_p_wxArrayString swig_types[10]
1446#define SWIGTYPE_p_wxBMPHandler swig_types[11]
1447#define SWIGTYPE_p_wxBitmap swig_types[12]
1448#define SWIGTYPE_p_wxBitmapDataObject swig_types[13]
1449#define SWIGTYPE_p_wxBoxSizer swig_types[14]
1450#define SWIGTYPE_p_wxBusyCursor swig_types[15]
1451#define SWIGTYPE_p_wxBusyInfo swig_types[16]
1452#define SWIGTYPE_p_wxCURHandler swig_types[17]
1453#define SWIGTYPE_p_wxCaret swig_types[18]
1454#define SWIGTYPE_p_wxChar swig_types[19]
1455#define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
1456#define SWIGTYPE_p_wxClipboard swig_types[21]
1457#define SWIGTYPE_p_wxClipboardLocker swig_types[22]
1458#define SWIGTYPE_p_wxCloseEvent swig_types[23]
1459#define SWIGTYPE_p_wxColour swig_types[24]
1460#define SWIGTYPE_p_wxCommandEvent swig_types[25]
1461#define SWIGTYPE_p_wxConfig swig_types[26]
1462#define SWIGTYPE_p_wxConfigBase swig_types[27]
1463#define SWIGTYPE_p_wxConfigPathChanger swig_types[28]
1464#define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
1465#define SWIGTYPE_p_wxControl swig_types[30]
1466#define SWIGTYPE_p_wxControlWithItems swig_types[31]
1467#define SWIGTYPE_p_wxCursor swig_types[32]
1468#define SWIGTYPE_p_wxCustomDataObject swig_types[33]
1469#define SWIGTYPE_p_wxDC swig_types[34]
1470#define SWIGTYPE_p_wxDataFormat swig_types[35]
1471#define SWIGTYPE_p_wxDataObject swig_types[36]
1472#define SWIGTYPE_p_wxDataObjectComposite swig_types[37]
1473#define SWIGTYPE_p_wxDataObjectSimple swig_types[38]
1474#define SWIGTYPE_p_wxDateEvent swig_types[39]
1475#define SWIGTYPE_p_wxDateSpan swig_types[40]
1476#define SWIGTYPE_p_wxDateTime swig_types[41]
1477#define SWIGTYPE_p_wxDateTime__TimeZone swig_types[42]
1478#define SWIGTYPE_p_wxDisplay swig_types[43]
1479#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[44]
1480#define SWIGTYPE_p_wxDropFilesEvent swig_types[45]
1481#define SWIGTYPE_p_wxDuplexMode swig_types[46]
1482#define SWIGTYPE_p_wxEraseEvent swig_types[47]
1483#define SWIGTYPE_p_wxEvent swig_types[48]
1484#define SWIGTYPE_p_wxEvtHandler swig_types[49]
1485#define SWIGTYPE_p_wxFSFile swig_types[50]
1486#define SWIGTYPE_p_wxFileConfig swig_types[51]
1487#define SWIGTYPE_p_wxFileDataObject swig_types[52]
1488#define SWIGTYPE_p_wxFileHistory swig_types[53]
1489#define SWIGTYPE_p_wxFileSystem swig_types[54]
1490#define SWIGTYPE_p_wxFileType swig_types[55]
1491#define SWIGTYPE_p_wxFileTypeInfo swig_types[56]
1492#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
1493#define SWIGTYPE_p_wxFocusEvent swig_types[58]
1494#define SWIGTYPE_p_wxFont swig_types[59]
1495#define SWIGTYPE_p_wxFrame swig_types[60]
1496#define SWIGTYPE_p_wxGBSizerItem swig_types[61]
1497#define SWIGTYPE_p_wxGIFHandler swig_types[62]
1498#define SWIGTYPE_p_wxGridBagSizer swig_types[63]
1499#define SWIGTYPE_p_wxGridSizer swig_types[64]
1500#define SWIGTYPE_p_wxICOHandler swig_types[65]
1501#define SWIGTYPE_p_wxIcon swig_types[66]
1502#define SWIGTYPE_p_wxIconizeEvent swig_types[67]
1503#define SWIGTYPE_p_wxIdleEvent swig_types[68]
1504#define SWIGTYPE_p_wxImage swig_types[69]
1505#define SWIGTYPE_p_wxImageHandler swig_types[70]
1506#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[71]
1507#define SWIGTYPE_p_wxInitDialogEvent swig_types[72]
1508#define SWIGTYPE_p_wxJPEGHandler swig_types[73]
1509#define SWIGTYPE_p_wxJoystick swig_types[74]
1510#define SWIGTYPE_p_wxJoystickEvent swig_types[75]
1511#define SWIGTYPE_p_wxKeyEvent swig_types[76]
1512#define SWIGTYPE_p_wxKillError swig_types[77]
1513#define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
1514#define SWIGTYPE_p_wxLog swig_types[79]
1515#define SWIGTYPE_p_wxLogBuffer swig_types[80]
1516#define SWIGTYPE_p_wxLogChain swig_types[81]
1517#define SWIGTYPE_p_wxLogGui swig_types[82]
1518#define SWIGTYPE_p_wxLogNull swig_types[83]
1519#define SWIGTYPE_p_wxLogStderr swig_types[84]
1520#define SWIGTYPE_p_wxLogTextCtrl swig_types[85]
1521#define SWIGTYPE_p_wxLogWindow swig_types[86]
1522#define SWIGTYPE_p_wxMaximizeEvent swig_types[87]
1523#define SWIGTYPE_p_wxMemorySize swig_types[88]
1524#define SWIGTYPE_p_wxMenu swig_types[89]
1525#define SWIGTYPE_p_wxMenuBar swig_types[90]
1526#define SWIGTYPE_p_wxMenuEvent swig_types[91]
1527#define SWIGTYPE_p_wxMenuItem swig_types[92]
1528#define SWIGTYPE_p_wxMetafile swig_types[93]
1529#define SWIGTYPE_p_wxMetafileDataObject swig_types[94]
1530#define SWIGTYPE_p_wxMimeTypesManager swig_types[95]
1531#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[96]
1532#define SWIGTYPE_p_wxMouseEvent swig_types[97]
1533#define SWIGTYPE_p_wxMouseState swig_types[98]
1534#define SWIGTYPE_p_wxMoveEvent swig_types[99]
1535#define SWIGTYPE_p_wxMutexGuiLocker swig_types[100]
1536#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1537#define SWIGTYPE_p_wxNcPaintEvent swig_types[102]
1538#define SWIGTYPE_p_wxNotifyEvent swig_types[103]
1539#define SWIGTYPE_p_wxObject swig_types[104]
1540#define SWIGTYPE_p_wxOutputStream swig_types[105]
1541#define SWIGTYPE_p_wxPCXHandler swig_types[106]
1542#define SWIGTYPE_p_wxPNGHandler swig_types[107]
1543#define SWIGTYPE_p_wxPNMHandler swig_types[108]
1544#define SWIGTYPE_p_wxPaintEvent swig_types[109]
1545#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
1546#define SWIGTYPE_p_wxPaperSize swig_types[111]
1547#define SWIGTYPE_p_wxPoint swig_types[112]
1548#define SWIGTYPE_p_wxProcessEvent swig_types[113]
1549#define SWIGTYPE_p_wxPyApp swig_types[114]
1550#define SWIGTYPE_p_wxPyArtProvider swig_types[115]
1551#define SWIGTYPE_p_wxPyBitmapDataObject swig_types[116]
1552#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1553#define SWIGTYPE_p_wxPyDataObjectSimple swig_types[118]
1554#define SWIGTYPE_p_wxPyDropSource swig_types[119]
1555#define SWIGTYPE_p_wxPyDropTarget swig_types[120]
1556#define SWIGTYPE_p_wxPyEvent swig_types[121]
1557#define SWIGTYPE_p_wxPyFileDropTarget swig_types[122]
1558#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
1559#define SWIGTYPE_p_wxPyLog swig_types[124]
1560#define SWIGTYPE_p_wxPyProcess swig_types[125]
1561#define SWIGTYPE_p_wxPySizer swig_types[126]
1562#define SWIGTYPE_p_wxPyTextDataObject swig_types[127]
1563#define SWIGTYPE_p_wxPyTextDropTarget swig_types[128]
1564#define SWIGTYPE_p_wxPyTimer swig_types[129]
1565#define SWIGTYPE_p_wxPyTipProvider swig_types[130]
1566#define SWIGTYPE_p_wxPyValidator swig_types[131]
1567#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
1568#define SWIGTYPE_p_wxRect swig_types[133]
1569#define SWIGTYPE_p_wxScrollEvent swig_types[134]
1570#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
1571#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
1572#define SWIGTYPE_p_wxShowEvent swig_types[137]
1573#define SWIGTYPE_p_wxSingleInstanceChecker swig_types[138]
1574#define SWIGTYPE_p_wxSize swig_types[139]
1575#define SWIGTYPE_p_wxSizeEvent swig_types[140]
1576#define SWIGTYPE_p_wxSizer swig_types[141]
1577#define SWIGTYPE_p_wxSizerItem swig_types[142]
1578#define SWIGTYPE_p_wxSound swig_types[143]
1579#define SWIGTYPE_p_wxStandardPaths swig_types[144]
1580#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
1581#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
1582#define SWIGTYPE_p_wxStopWatch swig_types[147]
1583#define SWIGTYPE_p_wxString swig_types[148]
1584#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
1585#define SWIGTYPE_p_wxSystemOptions swig_types[150]
1586#define SWIGTYPE_p_wxSystemSettings swig_types[151]
1587#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
1588#define SWIGTYPE_p_wxTextCtrl swig_types[153]
1589#define SWIGTYPE_p_wxTextDataObject swig_types[154]
1590#define SWIGTYPE_p_wxTimeSpan swig_types[155]
1591#define SWIGTYPE_p_wxTimer swig_types[156]
1592#define SWIGTYPE_p_wxTimerEvent swig_types[157]
1593#define SWIGTYPE_p_wxTimerRunner swig_types[158]
1594#define SWIGTYPE_p_wxTipProvider swig_types[159]
1595#define SWIGTYPE_p_wxToolTip swig_types[160]
1596#define SWIGTYPE_p_wxURLDataObject swig_types[161]
1597#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
1598#define SWIGTYPE_p_wxValidator swig_types[163]
1599#define SWIGTYPE_p_wxVideoMode swig_types[164]
1600#define SWIGTYPE_p_wxWindow swig_types[165]
1601#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
1602#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
1603#define SWIGTYPE_p_wxWindowDisabler swig_types[168]
1604#define SWIGTYPE_p_wxXPMHandler swig_types[169]
1605#define SWIGTYPE_ptrdiff_t swig_types[170]
1606#define SWIGTYPE_std__ptrdiff_t swig_types[171]
1607#define SWIGTYPE_unsigned_int swig_types[172]
1608static swig_type_info *swig_types[174];
1609static swig_module_info swig_module = {swig_types, 173, 0, 0, 0, 0};
1610#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1611#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
d55e5bfc 1612
36ed4f51 1613/* -------- TYPES TABLE (END) -------- */
d55e5bfc
RD
1614
1615
36ed4f51
RD
1616/*-----------------------------------------------
1617 @(target):= _misc_.so
1618 ------------------------------------------------*/
1619#define SWIG_init init_misc_
d55e5bfc 1620
36ed4f51 1621#define SWIG_name "_misc_"
d55e5bfc 1622
36ed4f51
RD
1623#include "wx/wxPython/wxPython.h"
1624#include "wx/wxPython/pyclasses.h"
1625#include "wx/wxPython/pyistream.h"
d55e5bfc 1626
36ed4f51 1627 static const wxString wxPyEmptyString(wxEmptyString);
d55e5bfc 1628
d55e5bfc 1629
d55e5bfc 1630
32fe5131 1631 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1632#define SWIG_From_int PyInt_FromLong
1633/*@@*/
d55e5bfc
RD
1634
1635
36ed4f51 1636#include <limits.h>
d55e5bfc
RD
1637
1638
36ed4f51
RD
1639SWIGINTERN int
1640 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1641 const char *errmsg)
d55e5bfc 1642{
36ed4f51
RD
1643 if (value < min_value) {
1644 if (errmsg) {
1645 PyErr_Format(PyExc_OverflowError,
1646 "value %ld is less than '%s' minimum %ld",
1647 value, errmsg, min_value);
1648 }
1649 return 0;
1650 } else if (value > max_value) {
c370783e
RD
1651 if (errmsg) {
1652 PyErr_Format(PyExc_OverflowError,
36ed4f51 1653 "value %ld is greater than '%s' maximum %ld",
c370783e 1654 value, errmsg, max_value);
d55e5bfc 1655 }
c370783e 1656 return 0;
d55e5bfc 1657 }
c370783e 1658 return 1;
36ed4f51 1659}
d55e5bfc
RD
1660
1661
36ed4f51
RD
1662SWIGINTERN int
1663SWIG_AsVal_long(PyObject* obj, long* val)
1664{
1665 if (PyNumber_Check(obj)) {
1666 if (val) *val = PyInt_AsLong(obj);
1667 return 1;
1668 }
1669 else {
7e08d4ef 1670 SWIG_Python_TypeError("number", obj);
36ed4f51
RD
1671 }
1672 return 0;
1673}
1674
1675
1676#if INT_MAX != LONG_MAX
1677SWIGINTERN int
1678 SWIG_AsVal_int(PyObject *obj, int *val)
d55e5bfc 1679{
36ed4f51
RD
1680 const char* errmsg = val ? "int" : (char*)0;
1681 long v;
1682 if (SWIG_AsVal_long(obj, &v)) {
1683 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
32fe5131 1684 if (val) *val = static_cast<int >(v);
c370783e 1685 return 1;
36ed4f51
RD
1686 } else {
1687 return 0;
c370783e
RD
1688 }
1689 } else {
1690 PyErr_Clear();
1691 }
1692 if (val) {
36ed4f51 1693 SWIG_type_error(errmsg, obj);
c370783e
RD
1694 }
1695 return 0;
d55e5bfc
RD
1696}
1697#else
32fe5131 1698SWIGINTERNINLINE int
36ed4f51 1699 SWIG_AsVal_int(PyObject *obj, int *val)
c370783e 1700{
36ed4f51 1701 return SWIG_AsVal_long(obj,(long*)val);
c370783e 1702}
d55e5bfc
RD
1703#endif
1704
1705
32fe5131 1706SWIGINTERNINLINE int
36ed4f51 1707SWIG_As_int(PyObject* obj)
d55e5bfc 1708{
36ed4f51
RD
1709 int v;
1710 if (!SWIG_AsVal_int(obj, &v)) {
c370783e 1711 /*
36ed4f51 1712 this is needed to make valgrind/purify happier.
c370783e 1713 */
36ed4f51 1714 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1715 }
c370783e
RD
1716 return v;
1717}
1718
1719
32fe5131 1720SWIGINTERNINLINE int
36ed4f51 1721SWIG_Check_int(PyObject* obj)
c370783e 1722{
36ed4f51 1723 return SWIG_AsVal_int(obj, (int*)0);
d55e5bfc
RD
1724}
1725
36ed4f51 1726 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
f78cc896 1727
36ed4f51 1728#include <wx/stockitem.h>
f78cc896 1729
36ed4f51
RD
1730 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1731 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1732 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
f78cc896 1733
32fe5131 1734 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
1735#define SWIG_From_long PyInt_FromLong
1736/*@@*/
f78cc896 1737
f78cc896 1738
32fe5131 1739SWIGINTERNINLINE long
36ed4f51
RD
1740SWIG_As_long(PyObject* obj)
1741{
1742 long v;
1743 if (!SWIG_AsVal_long(obj, &v)) {
1744 /*
1745 this is needed to make valgrind/purify happier.
1746 */
1747 memset((void*)&v, 0, sizeof(long));
1748 }
1749 return v;
1750}
f78cc896 1751
36ed4f51 1752
32fe5131 1753SWIGINTERNINLINE int
36ed4f51
RD
1754SWIG_Check_long(PyObject* obj)
1755{
1756 return SWIG_AsVal_long(obj, (long*)0);
1757}
f78cc896 1758
f78cc896 1759
36ed4f51
RD
1760SWIGINTERN int
1761 SWIG_AsVal_bool(PyObject *obj, bool *val)
1762{
1763 if (obj == Py_True) {
1764 if (val) *val = true;
1765 return 1;
1766 }
1767 if (obj == Py_False) {
1768 if (val) *val = false;
1769 return 1;
1770 }
1771 int res = 0;
1772 if (SWIG_AsVal_int(obj, &res)) {
1773 if (val) *val = res ? true : false;
1774 return 1;
1775 } else {
1776 PyErr_Clear();
1777 }
1778 if (val) {
1779 SWIG_type_error("bool", obj);
1780 }
1781 return 0;
1782}
d55e5bfc 1783
d55e5bfc 1784
32fe5131 1785SWIGINTERNINLINE bool
36ed4f51
RD
1786SWIG_As_bool(PyObject* obj)
1787{
1788 bool v;
1789 if (!SWIG_AsVal_bool(obj, &v)) {
1790 /*
1791 this is needed to make valgrind/purify happier.
1792 */
1793 memset((void*)&v, 0, sizeof(bool));
1794 }
1795 return v;
1796}
d55e5bfc 1797
36ed4f51 1798
32fe5131 1799SWIGINTERNINLINE int
36ed4f51
RD
1800SWIG_Check_bool(PyObject* obj)
1801{
1802 return SWIG_AsVal_bool(obj, (bool*)0);
1803}
d55e5bfc
RD
1804
1805
7e08d4ef
RD
1806 static PyObject* t_output_helper(PyObject* result, PyObject* obj)
1807 {
1808 PyObject* o2;
1809 PyObject* o3;
1810 if (!result) {
1811 result = obj;
1812 } else if (result == Py_None) {
1813 Py_DECREF(result);
1814 result = obj;
1815 } else {
1816 if (!PyTuple_Check(result)) {
1817 o2 = result;
1818 result = PyTuple_New(1);
1819 PyTuple_SET_ITEM(result, 0, o2);
1820 }
1821 o3 = PyTuple_New(1);
1822 PyTuple_SetItem(o3, 0, obj);
1823 o2 = result;
1824 result = PySequence_Concat(o2, o3);
1825 Py_DECREF(o2);
1826 Py_DECREF(o3);
1827 }
1828 return result;
1829 }
d55e5bfc 1830
d55e5bfc
RD
1831
1832
36ed4f51
RD
1833SWIGINTERN int
1834SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1835{
1836 long v = 0;
1837 if (SWIG_AsVal_long(obj, &v) && v < 0) {
7e08d4ef 1838 SWIG_Python_TypeError("unsigned number", obj);
d55e5bfc 1839 }
36ed4f51
RD
1840 else if (val)
1841 *val = (unsigned long)v;
1842 return 1;
1843}
d55e5bfc 1844
d55e5bfc 1845
32fe5131 1846SWIGINTERNINLINE unsigned long
36ed4f51
RD
1847SWIG_As_unsigned_SS_long(PyObject* obj)
1848{
1849 unsigned long v;
1850 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1851 /*
1852 this is needed to make valgrind/purify happier.
1853 */
1854 memset((void*)&v, 0, sizeof(unsigned long));
1855 }
1856 return v;
1857}
d55e5bfc 1858
36ed4f51 1859
32fe5131 1860SWIGINTERNINLINE int
36ed4f51
RD
1861SWIG_Check_unsigned_SS_long(PyObject* obj)
1862{
1863 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1864}
d55e5bfc
RD
1865
1866
32fe5131 1867SWIGINTERNINLINE PyObject*
36ed4f51
RD
1868 SWIG_From_unsigned_SS_long(unsigned long value)
1869{
1870 return (value > LONG_MAX) ?
1871 PyLong_FromUnsignedLong(value)
32fe5131 1872 : PyInt_FromLong(static_cast<long >(value));
36ed4f51 1873}
d55e5bfc
RD
1874
1875
a97cefba
RD
1876 void* wxGetXDisplay()
1877 {
1878#ifdef __WXGTK__
1879 return wxGetDisplay();
1880#else
1881 return NULL;
1882#endif
1883 }
1884
1885
32fe5131
RD
1886 wxWindow* FindWindowAtPointer() {
1887 wxPoint unused;
1888 return wxFindWindowAtPointer(unused);
1889 }
1890
1891
36ed4f51
RD
1892 bool wxThread_IsMain() {
1893#ifdef WXP_WITH_THREAD
1894 return wxThread::IsMain();
1895#else
1896 return true;
1897#endif
d55e5bfc 1898 }
36ed4f51 1899
091fdbfa
RD
1900static void wxCaret_Destroy(wxCaret *self){
1901 delete self;
1902 }
d55e5bfc 1903
36ed4f51
RD
1904#include <wx/snglinst.h>
1905
1906
68350608
RD
1907#ifdef __WXMSW__
1908#include <wx/msw/private.h>
1909#include <wx/dynload.h>
1910#endif
1911
1912
1913
1914bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1915#if 0
1916 , int method
1917#endif
1918 )
1919{
1920#ifdef __WXMSW__
1921#if 0
1922 switch (method)
1923 {
1924 case 1:
1925 // This one only partially works. Appears to be an undocumented
1926 // "standard" convention that not all widgets adhear to. For
1927 // example, for some widgets backgrounds or non-client areas may
1928 // not be painted.
1929 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1930 break;
1931
1932 case 2:
1933#endif
1934 // This one works much better, nearly all widgets and their
1935 // children are captured correctly[**]. Prior to the big
1936 // background erase changes that Vadim did in 2004-2005 this
1937 // method failed badly on XP with Themes activated, most native
1938 // widgets draw only partially, if at all. Without themes it
1939 // worked just like on Win2k. After those changes this method
1940 // works very well.
1941 //
1942 // ** For example the radio buttons in a wxRadioBox are not its
1943 // children by default, but you can capture it via the panel
1944 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1945 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1946 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1947 PRF_ERASEBKGND | PRF_OWNED );
1948 return true;
1949#if 0
1950 break;
1951
1952 case 3:
1953 // This one is only defined in the latest SDK and is only
1954 // available on XP. MSDN says it is similar to sending WM_PRINT
1955 // so I expect that it will work similar to the above. Since it
1956 // is avaialble only on XP, it can't be compiled like this and
1957 // will have to be loaded dynamically.
1958 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1959
1960 // fall through
1961
1962 case 4:
1963 // Use PrintWindow if available, or fallback to WM_PRINT
1964 // otherwise. Unfortunately using PrintWindow is even worse than
1965 // WM_PRINT. For most native widgets nothing is drawn to the dc
1966 // at all, with or without Themes.
1967 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1968 static bool s_triedToLoad = false;
1969 static PrintWindow_t pfnPrintWindow = NULL;
1970 if ( !s_triedToLoad )
1971 {
1972
1973 s_triedToLoad = true;
1974 wxDynamicLibrary dllUser32(_T("user32.dll"));
1975 if ( dllUser32.IsLoaded() )
1976 {
1977 wxLogNull nolog; // Don't report errors here
1978 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1979 }
1980 }
1981 if (pfnPrintWindow)
1982 {
1983 //printf("Using PrintWindow\n");
1984 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1985 }
1986 else
1987 {
1988 //printf("Using WM_PRINT\n");
1989 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1990 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1991 PRF_ERASEBKGND | PRF_OWNED );
1992 }
1993 }
1994#endif // 0
1995#else
1996 return false;
1997#endif // __WXMSW__
1998}
1999
2000
2001
36ed4f51
RD
2002#include <wx/tipdlg.h>
2003
2004
2005class wxPyTipProvider : public wxTipProvider {
2006public:
2007 wxPyTipProvider(size_t currentTip)
2008 : wxTipProvider(currentTip) {}
d55e5bfc 2009
36ed4f51
RD
2010 DEC_PYCALLBACK_STRING__pure(GetTip);
2011 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
d55e5bfc
RD
2012 PYPRIVATE;
2013};
2014
36ed4f51
RD
2015IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
2016IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
d55e5bfc
RD
2017
2018
7f7aa166 2019IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
d55e5bfc 2020
36ed4f51 2021IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
d55e5bfc 2022
36ed4f51
RD
2023wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
2024 : wxTimer(owner, id)
2025{
2026 if (owner == NULL) SetOwner(this);
2027}
d55e5bfc 2028
d55e5bfc 2029
36ed4f51
RD
2030SWIGINTERN PyObject *
2031SWIG_FromCharPtr(const char* cptr)
2032{
2033 if (cptr) {
2034 size_t size = strlen(cptr);
2035 if (size > INT_MAX) {
32fe5131 2036 return SWIG_NewPointerObj(const_cast<char* >(cptr),
36ed4f51
RD
2037 SWIG_TypeQuery("char *"), 0);
2038 } else {
2039 if (size != 0) {
2040 return PyString_FromStringAndSize(cptr, size);
2041 } else {
2042 return PyString_FromString(cptr);
2043 }
c370783e 2044 }
36ed4f51
RD
2045 }
2046 Py_INCREF(Py_None);
2047 return Py_None;
2048}
2049
2050
32fe5131 2051SWIGINTERNINLINE int
36ed4f51
RD
2052 SWIG_CheckUnsignedLongInRange(unsigned long value,
2053 unsigned long max_value,
2054 const char *errmsg)
2055{
2056 if (value > max_value) {
2057 if (errmsg) {
2058 PyErr_Format(PyExc_OverflowError,
2059 "value %lu is greater than '%s' minimum %lu",
2060 value, errmsg, max_value);
d55e5bfc 2061 }
c370783e 2062 return 0;
36ed4f51
RD
2063 }
2064 return 1;
2065 }
2066
2067
2068#if UINT_MAX != ULONG_MAX
2069SWIGINTERN int
2070 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2071{
2072 const char* errmsg = val ? "unsigned int" : (char*)0;
2073 unsigned long v;
2074 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2075 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
32fe5131 2076 if (val) *val = static_cast<unsigned int >(v);
36ed4f51
RD
2077 return 1;
2078 }
2079 } else {
2080 PyErr_Clear();
2081 }
2082 if (val) {
2083 SWIG_type_error(errmsg, obj);
2084 }
2085 return 0;
2086}
2087#else
32fe5131 2088SWIGINTERNINLINE unsigned int
36ed4f51
RD
2089 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2090{
2091 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
d55e5bfc 2092}
36ed4f51 2093#endif
d55e5bfc
RD
2094
2095
32fe5131 2096SWIGINTERNINLINE unsigned int
36ed4f51 2097SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2098{
36ed4f51
RD
2099 unsigned int v;
2100 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
c370783e 2101 /*
36ed4f51 2102 this is needed to make valgrind/purify happier.
c370783e 2103 */
36ed4f51 2104 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2105 }
c370783e
RD
2106 return v;
2107}
2108
2109
32fe5131 2110SWIGINTERNINLINE int
36ed4f51 2111SWIG_Check_unsigned_SS_int(PyObject* obj)
c370783e 2112{
36ed4f51 2113 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2114}
2115
32fe5131 2116static wxString wxLog_TimeStamp(){
36ed4f51
RD
2117 wxString msg;
2118 wxLog::TimeStamp(&msg);
2119 return msg;
d55e5bfc 2120 }
36ed4f51 2121static void wxLog_Destroy(wxLog *self){ delete self; }
7e08d4ef 2122// Make some wrappers that double any % signs so they are 'escaped'
36ed4f51
RD
2123 void wxPyLogFatalError(const wxString& msg)
2124 {
2125 wxString m(msg);
2126 m.Replace(wxT("%"), wxT("%%"));
2127 wxLogFatalError(m);
2128 }
2129
2130 void wxPyLogError(const wxString& msg)
2131 {
2132 wxString m(msg);
2133 m.Replace(wxT("%"), wxT("%%"));
2134 wxLogError(m);
2135 }
d55e5bfc 2136
36ed4f51
RD
2137 void wxPyLogWarning(const wxString& msg)
2138 {
2139 wxString m(msg);
2140 m.Replace(wxT("%"), wxT("%%"));
2141 wxLogWarning(m);
2142 }
d55e5bfc 2143
36ed4f51
RD
2144 void wxPyLogMessage(const wxString& msg)
2145 {
2146 wxString m(msg);
2147 m.Replace(wxT("%"), wxT("%%"));
2148 wxLogMessage(m);
2149 }
d55e5bfc 2150
36ed4f51
RD
2151 void wxPyLogInfo(const wxString& msg)
2152 {
2153 wxString m(msg);
2154 m.Replace(wxT("%"), wxT("%%"));
2155 wxLogInfo(m);
2156 }
d55e5bfc 2157
36ed4f51
RD
2158 void wxPyLogDebug(const wxString& msg)
2159 {
2160 wxString m(msg);
2161 m.Replace(wxT("%"), wxT("%%"));
2162 wxLogDebug(m);
2163 }
d55e5bfc 2164
36ed4f51
RD
2165 void wxPyLogVerbose(const wxString& msg)
2166 {
2167 wxString m(msg);
2168 m.Replace(wxT("%"), wxT("%%"));
2169 wxLogVerbose(m);
2170 }
d55e5bfc 2171
36ed4f51
RD
2172 void wxPyLogStatus(const wxString& msg)
2173 {
2174 wxString m(msg);
2175 m.Replace(wxT("%"), wxT("%%"));
2176 wxLogStatus(m);
2177 }
d55e5bfc 2178
36ed4f51
RD
2179 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2180 {
2181 wxString m(msg);
2182 m.Replace(wxT("%"), wxT("%%"));
2183 wxLogStatus(pFrame, m);
2184 }
d55e5bfc 2185
36ed4f51
RD
2186 void wxPyLogSysError(const wxString& msg)
2187 {
2188 wxString m(msg);
2189 m.Replace(wxT("%"), wxT("%%"));
2190 wxLogSysError(m);
2191 }
d55e5bfc 2192
36ed4f51
RD
2193 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2194 {
2195 wxString m(msg);
2196 m.Replace(wxT("%"), wxT("%%"));
2197 wxLogGeneric(level, m);
2198 }
68e533f8 2199
36ed4f51
RD
2200 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2201 {
2202 wxString m(msg);
2203 m.Replace(wxT("%"), wxT("%%"));
2204 wxLogTrace(mask, m);
d55e5bfc 2205 }
36ed4f51
RD
2206
2207 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2208 {
2209 wxString m(msg);
2210 m.Replace(wxT("%"), wxT("%%"));
2211 wxLogTrace(mask, m);
d55e5bfc 2212 }
36ed4f51 2213
d55e5bfc
RD
2214
2215
36ed4f51
RD
2216// A wxLog class that can be derived from in wxPython
2217class wxPyLog : public wxLog {
d55e5bfc 2218public:
36ed4f51 2219 wxPyLog() : wxLog() {}
d55e5bfc 2220
36ed4f51
RD
2221 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2222 bool found;
5a446332 2223 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2224 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2225 PyObject* s = wx2PyString(szString);
2226 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2227 Py_DECREF(s);
d55e5bfc 2228 }
36ed4f51
RD
2229 wxPyEndBlockThreads(blocked);
2230 if (! found)
2231 wxLog::DoLog(level, szString, t);
d55e5bfc 2232 }
d55e5bfc 2233
36ed4f51
RD
2234 virtual void DoLogString(const wxChar *szString, time_t t) {
2235 bool found;
5a446332 2236 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2237 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2238 PyObject* s = wx2PyString(szString);
2239 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2240 Py_DECREF(s);
d55e5bfc 2241 }
36ed4f51
RD
2242 wxPyEndBlockThreads(blocked);
2243 if (! found)
2244 wxLog::DoLogString(szString, t);
2245 }
d55e5bfc 2246
7f7aa166 2247 DEC_PYCALLBACK_VOID_(Flush);
d55e5bfc
RD
2248 PYPRIVATE;
2249};
7f7aa166 2250IMP_PYCALLBACK_VOID_(wxPyLog, wxLog, Flush);
d55e5bfc 2251
d55e5bfc
RD
2252
2253
36ed4f51
RD
2254
2255IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
d55e5bfc 2256
d55e5bfc 2257
36ed4f51 2258#include <wx/joystick.h>
d55e5bfc 2259
d55e5bfc 2260
36ed4f51
RD
2261#if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2262// A C++ stub class for wxJoystick for platforms that don't have it.
2263class wxJoystick : public wxObject {
2264public:
2265 wxJoystick(int joystick = wxJOYSTICK1) {
5a446332 2266 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2267 PyErr_SetString(PyExc_NotImplementedError,
2268 "wxJoystick is not available on this platform.");
2269 wxPyEndBlockThreads(blocked);
d55e5bfc 2270 }
36ed4f51
RD
2271 wxPoint GetPosition() { return wxPoint(-1,-1); }
2272 int GetZPosition() { return -1; }
2273 int GetButtonState() { return -1; }
2274 int GetPOVPosition() { return -1; }
2275 int GetPOVCTSPosition() { return -1; }
2276 int GetRudderPosition() { return -1; }
2277 int GetUPosition() { return -1; }
2278 int GetVPosition() { return -1; }
2279 int GetMovementThreshold() { return -1; }
2280 void SetMovementThreshold(int threshold) {}
d55e5bfc 2281
36ed4f51
RD
2282 bool IsOk(void) { return false; }
2283 int GetNumberJoysticks() { return -1; }
2284 int GetManufacturerId() { return -1; }
2285 int GetProductId() { return -1; }
2286 wxString GetProductName() { return wxEmptyString; }
2287 int GetXMin() { return -1; }
2288 int GetYMin() { return -1; }
2289 int GetZMin() { return -1; }
2290 int GetXMax() { return -1; }
2291 int GetYMax() { return -1; }
2292 int GetZMax() { return -1; }
2293 int GetNumberButtons() { return -1; }
2294 int GetNumberAxes() { return -1; }
2295 int GetMaxButtons() { return -1; }
2296 int GetMaxAxes() { return -1; }
2297 int GetPollingMin() { return -1; }
2298 int GetPollingMax() { return -1; }
2299 int GetRudderMin() { return -1; }
2300 int GetRudderMax() { return -1; }
2301 int GetUMin() { return -1; }
2302 int GetUMax() { return -1; }
2303 int GetVMin() { return -1; }
2304 int GetVMax() { return -1; }
d55e5bfc 2305
36ed4f51
RD
2306 bool HasRudder() { return false; }
2307 bool HasZ() { return false; }
2308 bool HasU() { return false; }
2309 bool HasV() { return false; }
2310 bool HasPOV() { return false; }
2311 bool HasPOV4Dir() { return false; }
2312 bool HasPOVCTS() { return false; }
d55e5bfc 2313
36ed4f51
RD
2314 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2315 bool ReleaseCapture() { return false; }
2316};
2317#endif
d55e5bfc 2318
6923d0a9 2319
36ed4f51 2320#include <wx/sound.h>
6923d0a9 2321
6923d0a9 2322
36ed4f51
RD
2323#if !wxUSE_SOUND
2324// A C++ stub class for wxWave for platforms that don't have it.
2325class wxSound : public wxObject
6923d0a9
RD
2326{
2327public:
36ed4f51 2328 wxSound() {
5a446332 2329 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2330 PyErr_SetString(PyExc_NotImplementedError,
2331 "wxSound is not available on this platform.");
2332 wxPyEndBlockThreads(blocked);
2333 }
2334 wxSound(const wxString&/*, bool*/) {
5a446332 2335 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2336 PyErr_SetString(PyExc_NotImplementedError,
2337 "wxSound is not available on this platform.");
2338 wxPyEndBlockThreads(blocked);
2339 }
2340 wxSound(int, const wxByte*) {
5a446332 2341 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2342 PyErr_SetString(PyExc_NotImplementedError,
2343 "wxSound is not available on this platform.");
2344 wxPyEndBlockThreads(blocked);
2345 }
6923d0a9 2346
36ed4f51 2347 ~wxSound() {};
6923d0a9 2348
36ed4f51
RD
2349 bool Create(const wxString&/*, bool*/) { return false; }
2350 bool Create(int, const wxByte*) { return false; };
2351 bool IsOk() { return false; };
2352 bool Play(unsigned) const { return false; }
2353 static bool Play(const wxString&, unsigned) { return false; }
2354 static void Stop() {}
6923d0a9 2355};
36ed4f51 2356
6923d0a9
RD
2357#endif
2358
36ed4f51
RD
2359static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2360 if (fileName.Length() == 0)
2361 return new wxSound;
2362 else
2363 return new wxSound(fileName);
2364 }
2365static wxSound *new_wxSound(PyObject *data){
2366 unsigned char* buffer; int size;
2367 wxSound *sound = NULL;
2368
5a446332 2369 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2370 if (!PyArg_Parse(data, "t#", &buffer, &size))
2371 goto done;
2372 sound = new wxSound(size, buffer);
2373 done:
d55e5bfc 2374 wxPyEndBlockThreads(blocked);
36ed4f51
RD
2375 return sound;
2376 }
2377static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2378 #ifndef __WXMAC__
2379 unsigned char* buffer;
2380 int size;
2381 bool rv = false;
2382
5a446332 2383 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2384 if (!PyArg_Parse(data, "t#", &buffer, &size))
2385 goto done;
2386 rv = self->Create(size, buffer);
2387 done:
2388 wxPyEndBlockThreads(blocked);
2389 return rv;
2390 #else
5a446332 2391 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2392 PyErr_SetString(PyExc_NotImplementedError,
2393 "Create from data is not available on this platform.");
2394 wxPyEndBlockThreads(blocked);
2395 return false;
2396 #endif
d55e5bfc 2397 }
070c48b4 2398
36ed4f51 2399#include <wx/mimetype.h>
070c48b4 2400
36ed4f51
RD
2401static PyObject *wxFileType_GetMimeType(wxFileType *self){
2402 wxString str;
2403 if (self->GetMimeType(&str))
2404 return wx2PyString(str);
2405 else
2406 RETURN_NONE();
8fb0e70a 2407 }
36ed4f51
RD
2408static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2409 wxArrayString arr;
2410 if (self->GetMimeTypes(arr))
2411 return wxArrayString2PyList_helper(arr);
2412 else
2413 RETURN_NONE();
2414 }
2415static PyObject *wxFileType_GetExtensions(wxFileType *self){
2416 wxArrayString arr;
2417 if (self->GetExtensions(arr))
2418 return wxArrayString2PyList_helper(arr);
2419 else
2420 RETURN_NONE();
2421 }
2422static wxIcon *wxFileType_GetIcon(wxFileType *self){
2423 wxIconLocation loc;
2424 if (self->GetIcon(&loc))
2425 return new wxIcon(loc);
2426 else
2427 return NULL;
2428 }
2429static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2430 wxIconLocation loc;
2431 if (self->GetIcon(&loc)) {
2432 wxString iconFile = loc.GetFileName();
2433 int iconIndex = -1;
d55e5bfc
RD
2434
2435
d55e5bfc 2436
36ed4f51 2437 // Make a tuple and put the values in it
5a446332 2438 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2439 PyObject* tuple = PyTuple_New(3);
2440 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2441 wxT("wxIcon"), true));
2442 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2443 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2444 wxPyEndBlockThreads(blocked);
2445 return tuple;
2446 }
2447 else
2448 RETURN_NONE();
2449 }
2450static PyObject *wxFileType_GetDescription(wxFileType *self){
2451 wxString str;
2452 if (self->GetDescription(&str))
2453 return wx2PyString(str);
2454 else
2455 RETURN_NONE();
2456 }
2457static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2458 wxString str;
2459 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2460 return wx2PyString(str);
2461 else
2462 RETURN_NONE();
2463 }
2464static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2465 wxString str;
2466 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2467 return wx2PyString(str);
2468 else
2469 RETURN_NONE();
2470 }
2471static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2472 wxArrayString verbs;
2473 wxArrayString commands;
2474 if (self->GetAllCommands(&verbs, &commands,
2475 wxFileType::MessageParameters(filename, mimetype))) {
5a446332 2476 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2477 PyObject* tuple = PyTuple_New(2);
2478 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2479 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2480 wxPyEndBlockThreads(blocked);
2481 return tuple;
2482 }
2483 else
2484 RETURN_NONE();
2485 }
32fe5131 2486static wxString wxFileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
36ed4f51
RD
2487 return wxFileType::ExpandCommand(command,
2488 wxFileType::MessageParameters(filename, mimetype));
2489 }
2490static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2491 wxArrayString arr;
2492 self->EnumAllFileTypes(arr);
2493 return wxArrayString2PyList_helper(arr);
2494 }
d55e5bfc 2495
36ed4f51 2496#include <wx/artprov.h>
d55e5bfc 2497
36ed4f51
RD
2498 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2499 static const wxString wxPyART_MENU(wxART_MENU);
2500 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2501 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2502 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2503 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2504 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2505 static const wxString wxPyART_OTHER(wxART_OTHER);
2506 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2507 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2508 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2509 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2510 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2511 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2512 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2513 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2514 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2515 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2516 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2517 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2518 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2519 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
68350608
RD
2520 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2521 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
36ed4f51
RD
2522 static const wxString wxPyART_PRINT(wxART_PRINT);
2523 static const wxString wxPyART_HELP(wxART_HELP);
2524 static const wxString wxPyART_TIP(wxART_TIP);
2525 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2526 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2527 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2528 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2529 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2530 static const wxString wxPyART_CDROM(wxART_CDROM);
2531 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2532 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2533 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2534 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2535 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2536 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2537 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2538 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2539 static const wxString wxPyART_ERROR(wxART_ERROR);
2540 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2541 static const wxString wxPyART_WARNING(wxART_WARNING);
2542 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2543 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
68350608
RD
2544 static const wxString wxPyART_COPY(wxART_COPY);
2545 static const wxString wxPyART_CUT(wxART_CUT);
2546 static const wxString wxPyART_PASTE(wxART_PASTE);
2547 static const wxString wxPyART_DELETE(wxART_DELETE);
a187dc0b 2548 static const wxString wxPyART_NEW(wxART_NEW);
68350608
RD
2549 static const wxString wxPyART_UNDO(wxART_UNDO);
2550 static const wxString wxPyART_REDO(wxART_REDO);
2551 static const wxString wxPyART_QUIT(wxART_QUIT);
2552 static const wxString wxPyART_FIND(wxART_FIND);
2553 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
36ed4f51
RD
2554 // Python aware wxArtProvider
2555class wxPyArtProvider : public wxArtProvider {
2556public:
d55e5bfc 2557
36ed4f51
RD
2558 virtual wxBitmap CreateBitmap(const wxArtID& id,
2559 const wxArtClient& client,
2560 const wxSize& size) {
2561 wxBitmap rval = wxNullBitmap;
5a446332 2562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2563 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2564 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2565 PyObject* ro;
2566 wxBitmap* ptr;
2567 PyObject* s1, *s2;
2568 s1 = wx2PyString(id);
2569 s2 = wx2PyString(client);
2570 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2571 Py_DECREF(so);
2572 Py_DECREF(s1);
2573 Py_DECREF(s2);
2574 if (ro) {
2575 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2576 rval = *ptr;
2577 Py_DECREF(ro);
2578 }
2579 }
2580 wxPyEndBlockThreads(blocked);
2581 return rval;
d55e5bfc 2582 }
d55e5bfc 2583
36ed4f51
RD
2584 PYPRIVATE;
2585};
d55e5bfc 2586
36ed4f51 2587static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
d55e5bfc
RD
2588
2589
36ed4f51
RD
2590
2591 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2592 PyObject* ret = PyTuple_New(3);
2593 if (ret) {
2594 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2595 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2596 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2597 }
2598 return ret;
d55e5bfc 2599 }
d55e5bfc 2600
36ed4f51
RD
2601static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2602 bool cont;
2603 long index = 0;
2604 wxString value;
d55e5bfc 2605
36ed4f51
RD
2606 cont = self->GetFirstGroup(value, index);
2607 return __EnumerationHelper(cont, value, index);
2608 }
2609static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2610 bool cont;
2611 wxString value;
629e65c2 2612
36ed4f51
RD
2613 cont = self->GetNextGroup(value, index);
2614 return __EnumerationHelper(cont, value, index);
2615 }
2616static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2617 bool cont;
2618 long index = 0;
2619 wxString value;
629e65c2 2620
36ed4f51
RD
2621 cont = self->GetFirstEntry(value, index);
2622 return __EnumerationHelper(cont, value, index);
2623 }
2624static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2625 bool cont;
2626 wxString value;
629e65c2 2627
36ed4f51
RD
2628 cont = self->GetNextEntry(value, index);
2629 return __EnumerationHelper(cont, value, index);
2630 }
2631static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2632 long rv;
2633 self->Read(key, &rv, defaultVal);
2634 return rv;
2635 }
629e65c2 2636
36ed4f51
RD
2637SWIGINTERN int
2638SWIG_AsVal_double(PyObject *obj, double* val)
2639{
2640 if (PyNumber_Check(obj)) {
2641 if (val) *val = PyFloat_AsDouble(obj);
2642 return 1;
d55e5bfc 2643 }
36ed4f51 2644 else {
7e08d4ef 2645 SWIG_Python_TypeError("number", obj);
36ed4f51
RD
2646 }
2647 return 0;
d55e5bfc
RD
2648}
2649
2650
32fe5131 2651SWIGINTERNINLINE double
36ed4f51
RD
2652SWIG_As_double(PyObject* obj)
2653{
2654 double v;
2655 if (!SWIG_AsVal_double(obj, &v)) {
2656 /*
2657 this is needed to make valgrind/purify happier.
2658 */
2659 memset((void*)&v, 0, sizeof(double));
2660 }
2661 return v;
d55e5bfc
RD
2662}
2663
36ed4f51 2664
32fe5131 2665SWIGINTERNINLINE int
36ed4f51
RD
2666SWIG_Check_double(PyObject* obj)
2667{
2668 return SWIG_AsVal_double(obj, (double*)0);
d55e5bfc
RD
2669}
2670
36ed4f51
RD
2671static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2672 double rv;
2673 self->Read(key, &rv, defaultVal);
2674 return rv;
2675 }
d55e5bfc 2676
32fe5131 2677 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2678#define SWIG_From_double PyFloat_FromDouble
2679/*@@*/
d55e5bfc 2680
36ed4f51
RD
2681static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2682 bool rv;
2683 self->Read(key, &rv, defaultVal);
2684 return rv;
2685 }
d55e5bfc 2686
36ed4f51 2687#include <wx/datetime.h>
d55e5bfc 2688
fef4c27a
RD
2689 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2690 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
d55e5bfc 2691
36ed4f51 2692#define LOCAL_TZ wxDateTime::Local
d55e5bfc 2693
32fe5131 2694static PyObject *wxDateTime_GetAmPmStrings(){
7fbf8399
RD
2695 wxString am;
2696 wxString pm;
2697 wxDateTime::GetAmPmStrings(&am, &pm);
5a446332 2698 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
2699 PyObject* tup = PyTuple_New(2);
2700 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2701 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2702 wxPyEndBlockThreads(blocked);
2703 return tup;
2704 }
d55e5bfc 2705
36ed4f51 2706#if UINT_MAX < LONG_MAX
32fe5131 2707/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2708#define SWIG_From_unsigned_SS_int SWIG_From_long
2709/*@@*/
d55e5bfc 2710#else
32fe5131 2711/*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
36ed4f51
RD
2712#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2713/*@@*/
d55e5bfc 2714#endif
d55e5bfc 2715
36ed4f51
RD
2716static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2717static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2718static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2719static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2720static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2721static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2722 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2723 return (*self < *other);
2724 }
2725static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2726 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2727 return (*self <= *other);
2728 }
2729static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2730 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2731 return (*self > *other);
2732 }
2733static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2734 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2735 return (*self >= *other);
2736 }
2737static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2738 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2739 return (*self == *other);
2740 }
2741static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2742 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2743 return (*self != *other);
2744 }
2745static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2746 const wxChar* rv;
2747 const wxChar* _date = date;
2748 rv = self->ParseRfc822Date(_date);
2749 if (rv == NULL) return -1;
2750 return rv - _date;
2751 }
fef4c27a 2752static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
36ed4f51
RD
2753 const wxChar* rv;
2754 const wxChar* _date = date;
2755 rv = self->ParseFormat(_date, format, dateDef);
2756 if (rv == NULL) return -1;
2757 return rv - _date;
2758 }
2759static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2760 const wxChar* rv;
2761 const wxChar* _datetime = datetime;
2762 rv = self->ParseDateTime(_datetime);
2763 if (rv == NULL) return -1;
2764 return rv - _datetime;
2765 }
2766static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2767 const wxChar* rv;
2768 const wxChar* _date = date;
2769 rv = self->ParseDate(_date);
2770 if (rv == NULL) return -1;
2771 return rv - _date;
2772 }
2773static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2774 const wxChar* rv;
2775 const wxChar* _time = time;
2776 rv = self->ParseTime(_time);
2777 if (rv == NULL) return -1;
2778 return rv - _time;
2779 }
2780static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2781static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2782static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2783static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2784static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2785static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2786static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2787static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2788static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2789static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2790static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2791static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2792static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2793static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2794static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2795static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
d55e5bfc 2796
36ed4f51 2797#include <wx/dataobj.h>
d55e5bfc 2798
36ed4f51
RD
2799static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2800 size_t count = self->GetFormatCount(dir);
2801 wxDataFormat* formats = new wxDataFormat[count];
2802 self->GetAllFormats(formats, dir);
d55e5bfc 2803
5a446332 2804 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2805 PyObject* list = PyList_New(count);
2806 for (size_t i=0; i<count; i++) {
2807 wxDataFormat* format = new wxDataFormat(formats[i]);
2808 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
943e8dfd 2809 PyList_SET_ITEM(list, i, obj); // PyList_SET_ITEM steals a reference
36ed4f51
RD
2810 }
2811 wxPyEndBlockThreads(blocked);
2812 delete [] formats;
2813 return list;
2814 }
2815static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2816 PyObject* rval = NULL;
2817 size_t size = self->GetDataSize(format);
5a446332 2818 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2819 if (size) {
2820 char* buf = new char[size];
2821 if (self->GetDataHere(format, buf))
2822 rval = PyString_FromStringAndSize(buf, size);
2823 delete [] buf;
2824 }
2825 if (! rval) {
2826 rval = Py_None;
2827 Py_INCREF(rval);
2828 }
2829 wxPyEndBlockThreads(blocked);
2830 return rval;
2831 }
2832static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2833 bool rval;
5a446332 2834 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2835 if (PyString_Check(data)) {
2836 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2837 }
2838 else {
2839 // raise a TypeError if not a string
2840 PyErr_SetString(PyExc_TypeError, "String expected.");
2841 rval = false;
2842 }
2843 wxPyEndBlockThreads(blocked);
2844 return rval;
2845 }
2846static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2847 PyObject* rval = NULL;
2848 size_t size = self->GetDataSize();
5a446332 2849 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2850 if (size) {
2851 char* buf = new char[size];
2852 if (self->GetDataHere(buf))
2853 rval = PyString_FromStringAndSize(buf, size);
2854 delete [] buf;
2855 }
2856 if (! rval) {
2857 rval = Py_None;
2858 Py_INCREF(rval);
2859 }
2860 wxPyEndBlockThreads(blocked);
2861 return rval;
2862 }
2863static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2864 bool rval;
5a446332 2865 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2866 if (PyString_Check(data)) {
2867 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2868 }
2869 else {
2870 // raise a TypeError if not a string
2871 PyErr_SetString(PyExc_TypeError, "String expected.");
2872 rval = false;
2873 }
2874 wxPyEndBlockThreads(blocked);
2875 return rval;
2876 }
2877 // Create a new class for wxPython to use
2878class wxPyDataObjectSimple : public wxDataObjectSimple {
2879public:
2880 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2881 : wxDataObjectSimple(format) {}
d55e5bfc 2882
36ed4f51
RD
2883 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2884 bool GetDataHere(void *buf) const;
2885 bool SetData(size_t len, const void *buf) const;
2886 PYPRIVATE;
2887};
d55e5bfc 2888
36ed4f51 2889IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
d55e5bfc 2890
36ed4f51
RD
2891bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2892 // We need to get the data for this object and write it to buf. I think
2893 // the best way to do this for wxPython is to have the Python method
2894 // return either a string or None and then act appropriately with the
2895 // C++ version.
d55e5bfc 2896
36ed4f51 2897 bool rval = false;
5a446332 2898 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2899 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2900 PyObject* ro;
2901 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2902 if (ro) {
2903 rval = (ro != Py_None && PyString_Check(ro));
2904 if (rval)
2905 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2906 Py_DECREF(ro);
2907 }
d55e5bfc 2908 }
36ed4f51
RD
2909 wxPyEndBlockThreads(blocked);
2910 return rval;
d55e5bfc
RD
2911}
2912
36ed4f51
RD
2913bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2914 // For this one we simply need to make a string from buf and len
2915 // and send it to the Python method.
2916 bool rval = false;
5a446332 2917 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2918 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2919 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2920 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2921 Py_DECREF(data);
d55e5bfc 2922 }
36ed4f51
RD
2923 wxPyEndBlockThreads(blocked);
2924 return rval;
d55e5bfc
RD
2925}
2926
36ed4f51
RD
2927 // Create a new class for wxPython to use
2928class wxPyTextDataObject : public wxTextDataObject {
2929public:
2930 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2931 : wxTextDataObject(text) {}
2932
2933 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2934 DEC_PYCALLBACK_STRING__const(GetText);
2935 DEC_PYCALLBACK__STRING(SetText);
2936 PYPRIVATE;
2937};
2938
2939IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2940IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2941IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2942
2943
2944 // Create a new class for wxPython to use
2945class wxPyBitmapDataObject : public wxBitmapDataObject {
2946public:
2947 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2948 : wxBitmapDataObject(bitmap) {}
2949
2950 wxBitmap GetBitmap() const;
2951 void SetBitmap(const wxBitmap& bitmap);
2952 PYPRIVATE;
2953};
2954
2955wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2956 wxBitmap* rval = &wxNullBitmap;
5a446332 2957 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2958 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2959 PyObject* ro;
2960 wxBitmap* ptr;
2961 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2962 if (ro) {
2963 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2964 rval = ptr;
2965 Py_DECREF(ro);
2966 }
2967 }
2968 wxPyEndBlockThreads(blocked);
2969 return *rval;
2970}
2971
2972void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
5a446332 2973 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2974 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2975 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2976 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2977 Py_DECREF(bo);
2978 }
2979 wxPyEndBlockThreads(blocked);
2980}
2981
fef4c27a
RD
2982static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2983 return new wxCustomDataObject(wxDataFormat(formatName));
2984 }
36ed4f51
RD
2985static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2986 bool rval;
5a446332 2987 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
2988 if (PyString_Check(data)) {
2989 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2990 }
2991 else {
2992 // raise a TypeError if not a string
2993 PyErr_SetString(PyExc_TypeError, "String expected.");
2994 rval = false;
2995 }
2996 wxPyEndBlockThreads(blocked);
2997 return rval;
2998 }
2999static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
3000 PyObject* obj;
5a446332 3001 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
3002 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
3003 wxPyEndBlockThreads(blocked);
3004 return obj;
3005 }
3006
3007#include <wx/metafile.h>
3008
3009
3010IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
3011
3012
3013IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
3014IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
3015IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
3016IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
3017IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
3018
3019
3020class wxPyTextDropTarget : public wxTextDropTarget {
3021public:
3022 wxPyTextDropTarget() {}
3023
3024 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
3025
3026 DEC_PYCALLBACK__(OnLeave);
3027 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
3028 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
3029 DEC_PYCALLBACK_DR_2WXCDR(OnData);
3030 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
3031
3032 PYPRIVATE;
3033};
3034
3035IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
3036IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
3037IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
3038IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
3039IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
3040IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
3041
3042
3043
3044class wxPyFileDropTarget : public wxFileDropTarget {
3045public:
3046 wxPyFileDropTarget() {}
3047
3048 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
3049
3050 DEC_PYCALLBACK__(OnLeave);
3051 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
3052 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
3053 DEC_PYCALLBACK_DR_2WXCDR(OnData);
3054 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
3055
3056 PYPRIVATE;
3057};
3058
3059bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
3060 const wxArrayString& filenames) {
3061 bool rval = false;
5a446332 3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
3063 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
3064 PyObject* list = wxArrayString2PyList_helper(filenames);
3065 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
3066 Py_DECREF(list);
3067 }
3068 wxPyEndBlockThreads(blocked);
3069 return rval;
3070}
3071
3072
3073
3074IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
3075IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
3076IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
3077IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
3078IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
3079
3080
3081
3082
3083static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
3084
3085#include <wx/display.h>
3086
3087static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
3088static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
3089
3090// dummy version of wxDisplay for when it is not enabled in the wxWidgets build
3091#if !wxUSE_DISPLAY
3092#include <wx/dynarray.h>
3093#include <wx/vidmode.h>
3094
32fe5131 3095 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
36ed4f51
RD
3096#include "wx/arrimpl.cpp"
3097WX_DEFINE_OBJARRAY(wxArrayVideoModes);
3098const wxVideoMode wxDefaultVideoMode;
3099
3100class wxDisplay
3101{
3102public:
3103 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
3104 ~wxDisplay() {}
3105
3106 static size_t GetCount()
3107 { wxPyRaiseNotImplemented(); return 0; }
3108
3109 static int GetFromPoint(const wxPoint& pt)
3110 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
3111 static int GetFromWindow(wxWindow *window)
3112 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
3113
3114 virtual bool IsOk() const { return false; }
3115 virtual wxRect GetGeometry() const { wxRect r; return r; }
3116 virtual wxString GetName() const { return wxEmptyString; }
3117 bool IsPrimary() const { return false; }
3118
3119 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
3120 { wxArrayVideoModes a; return a; }
3121
3122 virtual wxVideoMode GetCurrentMode() const
3123 { return wxDefaultVideoMode; }
3124
3125 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
3126 { return false; }
3127
3128 void ResetMode() {}
3129};
3130#endif
3131
32fe5131 3132static int wxDisplay_GetFromWindow(wxWindow *window){ wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
36ed4f51
RD
3133static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
3134 PyObject* pyList = NULL;
3135 wxArrayVideoModes arr = self->GetModes(mode);
5a446332 3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
36ed4f51
RD
3137 pyList = PyList_New(0);
3138 for (int i=0; i < arr.GetCount(); i++) {
3139 wxVideoMode* m = new wxVideoMode(arr.Item(i));
3140 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
3141 PyList_Append(pyList, pyObj);
3142 Py_DECREF(pyObj);
3143 }
3144 wxPyEndBlockThreads(blocked);
3145 return pyList;
3146 }
3147
3148#include <wx/stdpaths.h>
3149
32fe5131 3150static wxStandardPaths *wxStandardPaths_Get(){
36ed4f51
RD
3151 return (wxStandardPaths*) &wxStandardPaths::Get();
3152 }
3153static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
3154static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
3155#ifdef __cplusplus
3156extern "C" {
3157#endif
3158static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3159 PyObject *resultobj = NULL;
36ed4f51
RD
3160 wxSystemColour arg1 ;
3161 wxColour result;
d55e5bfc
RD
3162 PyObject * obj0 = 0 ;
3163 char *kwnames[] = {
36ed4f51 3164 (char *) "index", NULL
d55e5bfc
RD
3165 };
3166
36ed4f51
RD
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
3168 {
32fe5131 3169 arg1 = static_cast<wxSystemColour >(SWIG_As_int(obj0));
36ed4f51
RD
3170 if (SWIG_arg_fail(1)) SWIG_fail;
3171 }
d55e5bfc 3172 {
36ed4f51 3173 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3175 result = wxSystemSettings::GetColour(arg1);
d55e5bfc
RD
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
36ed4f51
RD
3180 {
3181 wxColour * resultptr;
32fe5131 3182 resultptr = new wxColour(static_cast<wxColour & >(result));
36ed4f51
RD
3183 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3184 }
d55e5bfc
RD
3185 return resultobj;
3186 fail:
3187 return NULL;
3188}
3189
3190
36ed4f51 3191static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3192 PyObject *resultobj = NULL;
36ed4f51
RD
3193 wxSystemFont arg1 ;
3194 wxFont result;
3195 PyObject * obj0 = 0 ;
d55e5bfc 3196 char *kwnames[] = {
36ed4f51 3197 (char *) "index", NULL
d55e5bfc
RD
3198 };
3199
36ed4f51 3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
d55e5bfc 3201 {
32fe5131 3202 arg1 = static_cast<wxSystemFont >(SWIG_As_int(obj0));
36ed4f51
RD
3203 if (SWIG_arg_fail(1)) SWIG_fail;
3204 }
3205 {
3206 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3208 result = wxSystemSettings::GetFont(arg1);
d55e5bfc
RD
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
36ed4f51
RD
3213 {
3214 wxFont * resultptr;
32fe5131 3215 resultptr = new wxFont(static_cast<wxFont & >(result));
36ed4f51
RD
3216 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3217 }
d55e5bfc
RD
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
36ed4f51 3224static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3225 PyObject *resultobj = NULL;
36ed4f51 3226 wxSystemMetric arg1 ;
f491ed97 3227 wxWindow *arg2 = (wxWindow *) NULL ;
36ed4f51 3228 int result;
01ac03ba 3229 PyObject * obj0 = 0 ;
f491ed97 3230 PyObject * obj1 = 0 ;
01ac03ba 3231 char *kwnames[] = {
f491ed97 3232 (char *) "index",(char *) "win", NULL
01ac03ba
RD
3233 };
3234
f491ed97 3235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 3236 {
32fe5131 3237 arg1 = static_cast<wxSystemMetric >(SWIG_As_int(obj0));
36ed4f51
RD
3238 if (SWIG_arg_fail(1)) SWIG_fail;
3239 }
f491ed97
RD
3240 if (obj1) {
3241 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3242 if (SWIG_arg_fail(2)) SWIG_fail;
3243 }
01ac03ba 3244 {
36ed4f51 3245 if (!wxPyCheckForApp()) SWIG_fail;
01ac03ba 3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3247 result = (int)wxSystemSettings::GetMetric(arg1,arg2);
01ac03ba
RD
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 {
32fe5131 3253 resultobj = SWIG_From_int(static_cast<int >(result));
01ac03ba
RD
3254 }
3255 return resultobj;
3256 fail:
3257 return NULL;
3258}
3259
3260
36ed4f51 3261static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3262 PyObject *resultobj = NULL;
36ed4f51 3263 wxSystemFeature arg1 ;
01ac03ba 3264 bool result;
01ac03ba 3265 PyObject * obj0 = 0 ;
01ac03ba 3266 char *kwnames[] = {
36ed4f51 3267 (char *) "index", NULL
01ac03ba
RD
3268 };
3269
36ed4f51 3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
01ac03ba 3271 {
32fe5131 3272 arg1 = static_cast<wxSystemFeature >(SWIG_As_int(obj0));
36ed4f51 3273 if (SWIG_arg_fail(1)) SWIG_fail;
01ac03ba
RD
3274 }
3275 {
36ed4f51 3276 if (!wxPyCheckForApp()) SWIG_fail;
01ac03ba 3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3278 result = (bool)wxSystemSettings::HasFeature(arg1);
01ac03ba
RD
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 {
3284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3285 }
01ac03ba
RD
3286 return resultobj;
3287 fail:
01ac03ba
RD
3288 return NULL;
3289}
3290
3291
36ed4f51 3292static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3293 PyObject *resultobj = NULL;
36ed4f51 3294 wxSystemScreenType result;
01ac03ba 3295 char *kwnames[] = {
36ed4f51 3296 NULL
01ac03ba
RD
3297 };
3298
36ed4f51 3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
01ac03ba 3300 {
36ed4f51 3301 if (!wxPyCheckForApp()) SWIG_fail;
01ac03ba 3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3303 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
01ac03ba
RD
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
36ed4f51 3308 resultobj = SWIG_From_int((result));
01ac03ba
RD
3309 return resultobj;
3310 fail:
3311 return NULL;
3312}
3313
3314
36ed4f51 3315static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3316 PyObject *resultobj = NULL;
36ed4f51
RD
3317 wxSystemScreenType arg1 ;
3318 PyObject * obj0 = 0 ;
d55e5bfc 3319 char *kwnames[] = {
36ed4f51 3320 (char *) "screen", NULL
d55e5bfc
RD
3321 };
3322
36ed4f51
RD
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3324 {
32fe5131 3325 arg1 = static_cast<wxSystemScreenType >(SWIG_As_int(obj0));
36ed4f51
RD
3326 if (SWIG_arg_fail(1)) SWIG_fail;
3327 }
d55e5bfc 3328 {
0439c23b 3329 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 3331 wxSystemSettings::SetScreenType(arg1);
d55e5bfc
RD
3332
3333 wxPyEndAllowThreads(__tstate);
110da5b0 3334 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3335 }
3336 Py_INCREF(Py_None); resultobj = Py_None;
3337 return resultobj;
3338 fail:
3339 return NULL;
3340}
3341
3342
36ed4f51
RD
3343static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3344 PyObject *obj;
3345 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3346 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3347 Py_INCREF(obj);
3348 return Py_BuildValue((char *)"");
3349}
3350static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3351 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3352 return 1;
3353}
3354
3355
3356static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
32fe5131 3357 PyObject *pyobj = NULL;
d55e5bfc 3358
d55e5bfc 3359 {
36ed4f51
RD
3360#if wxUSE_UNICODE
3361 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3362#else
3363 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3364#endif
d55e5bfc 3365 }
36ed4f51 3366 return pyobj;
d55e5bfc
RD
3367}
3368
3369
36ed4f51 3370static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3371 PyObject *resultobj = NULL;
36ed4f51 3372 wxSystemOptions *result;
d55e5bfc 3373 char *kwnames[] = {
36ed4f51 3374 NULL
d55e5bfc
RD
3375 };
3376
36ed4f51 3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
d55e5bfc
RD
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3380 result = (wxSystemOptions *)new wxSystemOptions();
d55e5bfc
RD
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
36ed4f51 3385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
d55e5bfc
RD
3386 return resultobj;
3387 fail:
3388 return NULL;
3389}
3390
3391
36ed4f51 3392static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3393 PyObject *resultobj = NULL;
36ed4f51
RD
3394 wxString *arg1 = 0 ;
3395 wxString *arg2 = 0 ;
3396 bool temp1 = false ;
3397 bool temp2 = false ;
3398 PyObject * obj0 = 0 ;
3399 PyObject * obj1 = 0 ;
d55e5bfc 3400 char *kwnames[] = {
36ed4f51 3401 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3402 };
3403
36ed4f51
RD
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3405 {
3406 arg1 = wxString_in_helper(obj0);
3407 if (arg1 == NULL) SWIG_fail;
3408 temp1 = true;
3409 }
3410 {
3411 arg2 = wxString_in_helper(obj1);
3412 if (arg2 == NULL) SWIG_fail;
3413 temp2 = true;
3414 }
d55e5bfc
RD
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3417 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
3418
3419 wxPyEndAllowThreads(__tstate);
110da5b0 3420 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3421 }
3422 Py_INCREF(Py_None); resultobj = Py_None;
36ed4f51
RD
3423 {
3424 if (temp1)
3425 delete arg1;
3426 }
3427 {
3428 if (temp2)
3429 delete arg2;
3430 }
d55e5bfc
RD
3431 return resultobj;
3432 fail:
36ed4f51
RD
3433 {
3434 if (temp1)
3435 delete arg1;
3436 }
3437 {
3438 if (temp2)
3439 delete arg2;
3440 }
d55e5bfc
RD
3441 return NULL;
3442}
3443
3444
36ed4f51 3445static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3446 PyObject *resultobj = NULL;
36ed4f51
RD
3447 wxString *arg1 = 0 ;
3448 int arg2 ;
3449 bool temp1 = false ;
3450 PyObject * obj0 = 0 ;
3451 PyObject * obj1 = 0 ;
d55e5bfc 3452 char *kwnames[] = {
36ed4f51 3453 (char *) "name",(char *) "value", NULL
d55e5bfc
RD
3454 };
3455
36ed4f51
RD
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3457 {
3458 arg1 = wxString_in_helper(obj0);
3459 if (arg1 == NULL) SWIG_fail;
3460 temp1 = true;
3461 }
3462 {
32fe5131 3463 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
3464 if (SWIG_arg_fail(2)) SWIG_fail;
3465 }
d55e5bfc
RD
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3468 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
d55e5bfc
RD
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
36ed4f51 3473 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc 3474 {
36ed4f51
RD
3475 if (temp1)
3476 delete arg1;
d55e5bfc
RD
3477 }
3478 return resultobj;
3479 fail:
36ed4f51
RD
3480 {
3481 if (temp1)
3482 delete arg1;
3483 }
d55e5bfc
RD
3484 return NULL;
3485}
3486
3487
36ed4f51 3488static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3489 PyObject *resultobj = NULL;
36ed4f51 3490 wxString *arg1 = 0 ;
d55e5bfc 3491 wxString result;
36ed4f51
RD
3492 bool temp1 = false ;
3493 PyObject * obj0 = 0 ;
d55e5bfc 3494 char *kwnames[] = {
36ed4f51 3495 (char *) "name", NULL
d55e5bfc
RD
3496 };
3497
36ed4f51
RD
3498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3499 {
3500 arg1 = wxString_in_helper(obj0);
3501 if (arg1 == NULL) SWIG_fail;
3502 temp1 = true;
3503 }
d55e5bfc
RD
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3506 result = wxSystemOptions::GetOption((wxString const &)*arg1);
d55e5bfc
RD
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512#if wxUSE_UNICODE
3513 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3514#else
3515 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3516#endif
3517 }
36ed4f51
RD
3518 {
3519 if (temp1)
3520 delete arg1;
3521 }
d55e5bfc
RD
3522 return resultobj;
3523 fail:
36ed4f51
RD
3524 {
3525 if (temp1)
3526 delete arg1;
3527 }
d55e5bfc
RD
3528 return NULL;
3529}
3530
3531
36ed4f51 3532static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3533 PyObject *resultobj = NULL;
36ed4f51
RD
3534 wxString *arg1 = 0 ;
3535 int result;
b411df4a 3536 bool temp1 = false ;
d55e5bfc
RD
3537 PyObject * obj0 = 0 ;
3538 char *kwnames[] = {
36ed4f51 3539 (char *) "name", NULL
d55e5bfc
RD
3540 };
3541
36ed4f51
RD
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3543 {
3544 arg1 = wxString_in_helper(obj0);
3545 if (arg1 == NULL) SWIG_fail;
3546 temp1 = true;
d55e5bfc
RD
3547 }
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3550 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
d55e5bfc
RD
3551
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 {
32fe5131 3556 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc
RD
3557 }
3558 {
3559 if (temp1)
3560 delete arg1;
3561 }
3562 return resultobj;
3563 fail:
3564 {
3565 if (temp1)
3566 delete arg1;
3567 }
3568 return NULL;
3569}
3570
3571
36ed4f51 3572static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3573 PyObject *resultobj = NULL;
36ed4f51
RD
3574 wxString *arg1 = 0 ;
3575 bool result;
3576 bool temp1 = false ;
3577 PyObject * obj0 = 0 ;
d55e5bfc 3578 char *kwnames[] = {
36ed4f51 3579 (char *) "name", NULL
d55e5bfc
RD
3580 };
3581
36ed4f51
RD
3582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3583 {
3584 arg1 = wxString_in_helper(obj0);
3585 if (arg1 == NULL) SWIG_fail;
3586 temp1 = true;
3587 }
d55e5bfc
RD
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3590 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
d55e5bfc
RD
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
36ed4f51
RD
3595 {
3596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3597 }
3598 {
3599 if (temp1)
3600 delete arg1;
3601 }
d55e5bfc
RD
3602 return resultobj;
3603 fail:
36ed4f51
RD
3604 {
3605 if (temp1)
3606 delete arg1;
3607 }
d55e5bfc
RD
3608 return NULL;
3609}
3610
3611
3837a853 3612static PyObject *_wrap_SystemOptions_IsFalse(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3613 PyObject *resultobj = NULL;
3837a853
RD
3614 wxString *arg1 = 0 ;
3615 bool result;
3616 bool temp1 = false ;
3617 PyObject * obj0 = 0 ;
3618 char *kwnames[] = {
3619 (char *) "name", NULL
3620 };
3621
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_IsFalse",kwnames,&obj0)) goto fail;
3623 {
3624 arg1 = wxString_in_helper(obj0);
3625 if (arg1 == NULL) SWIG_fail;
3626 temp1 = true;
3627 }
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (bool)wxSystemOptions::IsFalse((wxString const &)*arg1);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 {
3636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3637 }
3638 {
3639 if (temp1)
3640 delete arg1;
3641 }
3642 return resultobj;
3643 fail:
3644 {
3645 if (temp1)
3646 delete arg1;
3647 }
3648 return NULL;
3649}
3650
3651
36ed4f51
RD
3652static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3653 PyObject *obj;
3654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3655 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3656 Py_INCREF(obj);
3657 return Py_BuildValue((char *)"");
3658}
3659static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3660 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3661 return 1;
3662}
3663
3664
3665static PyObject *_wrap_FileSelectorPromptStr_get(void) {
32fe5131 3666 PyObject *pyobj = NULL;
36ed4f51
RD
3667
3668 {
3669#if wxUSE_UNICODE
3670 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3671#else
3672 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3673#endif
3674 }
3675 return pyobj;
3676}
3677
3678
3679static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3680 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3681 return 1;
3682}
3683
3684
3685static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
32fe5131 3686 PyObject *pyobj = NULL;
36ed4f51
RD
3687
3688 {
3689#if wxUSE_UNICODE
3690 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3691#else
3692 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3693#endif
3694 }
3695 return pyobj;
3696}
3697
3698
3699static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3700 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3701 return 1;
3702}
3703
3704
3705static PyObject *_wrap_DirSelectorPromptStr_get(void) {
32fe5131 3706 PyObject *pyobj = NULL;
36ed4f51
RD
3707
3708 {
3709#if wxUSE_UNICODE
3710 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3711#else
3712 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3713#endif
3714 }
3715 return pyobj;
3716}
3717
3718
3719static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3720 PyObject *resultobj = NULL;
36ed4f51 3721 long result;
d55e5bfc
RD
3722 char *kwnames[] = {
3723 NULL
3724 };
3725
36ed4f51 3726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
d55e5bfc
RD
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3729 result = (long)wxNewId();
d55e5bfc
RD
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
36ed4f51 3734 {
32fe5131 3735 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 3736 }
d55e5bfc
RD
3737 return resultobj;
3738 fail:
3739 return NULL;
3740}
3741
3742
36ed4f51 3743static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3744 PyObject *resultobj = NULL;
36ed4f51
RD
3745 long arg1 ;
3746 PyObject * obj0 = 0 ;
d55e5bfc 3747 char *kwnames[] = {
36ed4f51 3748 (char *) "id", NULL
d55e5bfc
RD
3749 };
3750
36ed4f51
RD
3751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3752 {
32fe5131 3753 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
3754 if (SWIG_arg_fail(1)) SWIG_fail;
3755 }
d55e5bfc
RD
3756 {
3757 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3758 wxRegisterId(arg1);
d55e5bfc
RD
3759
3760 wxPyEndAllowThreads(__tstate);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 }
36ed4f51 3763 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
3764 return resultobj;
3765 fail:
3766 return NULL;
3767}
3768
3769
36ed4f51 3770static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3771 PyObject *resultobj = NULL;
d55e5bfc
RD
3772 long result;
3773 char *kwnames[] = {
3774 NULL
3775 };
3776
36ed4f51 3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
d55e5bfc
RD
3778 {
3779 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3780 result = (long)wxGetCurrentId();
d55e5bfc
RD
3781
3782 wxPyEndAllowThreads(__tstate);
3783 if (PyErr_Occurred()) SWIG_fail;
3784 }
36ed4f51 3785 {
32fe5131 3786 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 3787 }
d55e5bfc
RD
3788 return resultobj;
3789 fail:
3790 return NULL;
3791}
3792
3793
36ed4f51 3794static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3795 PyObject *resultobj = NULL;
d55e5bfc
RD
3796 int arg1 ;
3797 bool result;
3798 PyObject * obj0 = 0 ;
3799 char *kwnames[] = {
36ed4f51 3800 (char *) "id", NULL
d55e5bfc
RD
3801 };
3802
36ed4f51
RD
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3804 {
32fe5131 3805 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
3806 if (SWIG_arg_fail(1)) SWIG_fail;
3807 }
d55e5bfc
RD
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3810 result = (bool)wxIsStockID(arg1);
d55e5bfc
RD
3811
3812 wxPyEndAllowThreads(__tstate);
110da5b0 3813 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3814 }
3815 {
3816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3817 }
3818 return resultobj;
3819 fail:
3820 return NULL;
3821}
3822
3823
36ed4f51 3824static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3825 PyObject *resultobj = NULL;
d55e5bfc 3826 int arg1 ;
36ed4f51
RD
3827 wxString *arg2 = 0 ;
3828 bool result;
3829 bool temp2 = false ;
d55e5bfc 3830 PyObject * obj0 = 0 ;
36ed4f51 3831 PyObject * obj1 = 0 ;
d55e5bfc 3832 char *kwnames[] = {
36ed4f51 3833 (char *) "id",(char *) "label", NULL
d55e5bfc
RD
3834 };
3835
36ed4f51
RD
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3837 {
32fe5131 3838 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
3839 if (SWIG_arg_fail(1)) SWIG_fail;
3840 }
3841 {
3842 arg2 = wxString_in_helper(obj1);
3843 if (arg2 == NULL) SWIG_fail;
3844 temp2 = true;
3845 }
d55e5bfc
RD
3846 {
3847 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3848 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
d55e5bfc
RD
3849
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
36ed4f51
RD
3853 {
3854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3855 }
3856 {
3857 if (temp2)
3858 delete arg2;
3859 }
d55e5bfc
RD
3860 return resultobj;
3861 fail:
36ed4f51
RD
3862 {
3863 if (temp2)
3864 delete arg2;
3865 }
d55e5bfc
RD
3866 return NULL;
3867}
3868
3869
36ed4f51 3870static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3871 PyObject *resultobj = NULL;
36ed4f51 3872 int arg1 ;
fef4c27a
RD
3873 bool arg2 = (bool) true ;
3874 wxString arg3 = (wxString) wxPyEmptyString ;
36ed4f51 3875 wxString result;
d55e5bfc 3876 PyObject * obj0 = 0 ;
fef4c27a
RD
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj2 = 0 ;
d55e5bfc 3879 char *kwnames[] = {
fef4c27a 3880 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
d55e5bfc
RD
3881 };
3882
fef4c27a 3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51 3884 {
32fe5131 3885 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
3886 if (SWIG_arg_fail(1)) SWIG_fail;
3887 }
fef4c27a
RD
3888 if (obj1) {
3889 {
32fe5131 3890 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
fef4c27a
RD
3891 if (SWIG_arg_fail(2)) SWIG_fail;
3892 }
3893 }
3894 if (obj2) {
3895 {
3896 wxString* sptr = wxString_in_helper(obj2);
3897 if (sptr == NULL) SWIG_fail;
3898 arg3 = *sptr;
3899 delete sptr;
3900 }
3901 }
d55e5bfc
RD
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 3904 result = wxGetStockLabel(arg1,arg2,arg3);
bf26d883
RD
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
36ed4f51
RD
3909 {
3910#if wxUSE_UNICODE
3911 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3912#else
3913 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3914#endif
3915 }
bf26d883
RD
3916 return resultobj;
3917 fail:
3918 return NULL;
3919}
3920
3921
36ed4f51 3922static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3923 PyObject *resultobj = NULL;
bf26d883 3924 char *kwnames[] = {
36ed4f51 3925 NULL
bf26d883
RD
3926 };
3927
36ed4f51 3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
bf26d883 3929 {
36ed4f51 3930 if (!wxPyCheckForApp()) SWIG_fail;
bf26d883 3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3932 wxBell();
d55e5bfc
RD
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 Py_INCREF(Py_None); resultobj = Py_None;
3938 return resultobj;
3939 fail:
3940 return NULL;
3941}
3942
3943
36ed4f51 3944static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3945 PyObject *resultobj = NULL;
d55e5bfc 3946 char *kwnames[] = {
36ed4f51 3947 NULL
d55e5bfc
RD
3948 };
3949
36ed4f51 3950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
d55e5bfc 3951 {
36ed4f51 3952 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3954 wxEndBusyCursor();
d55e5bfc
RD
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 Py_INCREF(Py_None); resultobj = Py_None;
3960 return resultobj;
3961 fail:
3962 return NULL;
3963}
3964
3965
36ed4f51 3966static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3967 PyObject *resultobj = NULL;
36ed4f51
RD
3968 bool arg1 = (bool) true ;
3969 long result;
d55e5bfc
RD
3970 PyObject * obj0 = 0 ;
3971 char *kwnames[] = {
36ed4f51 3972 (char *) "resetTimer", NULL
d55e5bfc
RD
3973 };
3974
36ed4f51
RD
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3976 if (obj0) {
3977 {
32fe5131 3978 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
36ed4f51
RD
3979 if (SWIG_arg_fail(1)) SWIG_fail;
3980 }
d55e5bfc
RD
3981 }
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3984 result = (long)wxGetElapsedTime(arg1);
d55e5bfc
RD
3985
3986 wxPyEndAllowThreads(__tstate);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 }
3989 {
32fe5131 3990 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 3991 }
36ed4f51
RD
3992 return resultobj;
3993 fail:
3994 return NULL;
3995}
3996
3997
3998static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 3999 PyObject *resultobj = NULL;
36ed4f51
RD
4000 bool result;
4001 char *kwnames[] = {
4002 NULL
4003 };
4004
4005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (bool)wxIsBusy();
d55e5bfc
RD
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 {
36ed4f51 4014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4015 }
4016 return resultobj;
4017 fail:
4018 return NULL;
4019}
4020
4021
36ed4f51 4022static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4023 PyObject *resultobj = NULL;
d55e5bfc
RD
4024 wxString result;
4025 char *kwnames[] = {
4026 NULL
4027 };
4028
36ed4f51 4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
d55e5bfc
RD
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4032 result = wxNow();
d55e5bfc
RD
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 {
4038#if wxUSE_UNICODE
4039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4040#else
4041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4042#endif
4043 }
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
36ed4f51 4050static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4051 PyObject *resultobj = NULL;
36ed4f51
RD
4052 wxString const &arg1_defvalue = wxPyEmptyString ;
4053 wxString *arg1 = (wxString *) &arg1_defvalue ;
4054 bool result;
4055 bool temp1 = false ;
4056 PyObject * obj0 = 0 ;
d55e5bfc 4057 char *kwnames[] = {
36ed4f51 4058 (char *) "command", NULL
d55e5bfc
RD
4059 };
4060
36ed4f51
RD
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
4062 if (obj0) {
4063 {
4064 arg1 = wxString_in_helper(obj0);
4065 if (arg1 == NULL) SWIG_fail;
4066 temp1 = true;
4067 }
4068 }
d55e5bfc
RD
4069 {
4070 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4071 result = (bool)wxShell((wxString const &)*arg1);
d55e5bfc
RD
4072
4073 wxPyEndAllowThreads(__tstate);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
4076 {
36ed4f51
RD
4077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4078 }
4079 {
4080 if (temp1)
4081 delete arg1;
d55e5bfc
RD
4082 }
4083 return resultobj;
4084 fail:
36ed4f51
RD
4085 {
4086 if (temp1)
4087 delete arg1;
4088 }
d55e5bfc
RD
4089 return NULL;
4090}
4091
4092
36ed4f51 4093static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4094 PyObject *resultobj = NULL;
d55e5bfc
RD
4095 char *kwnames[] = {
4096 NULL
4097 };
4098
36ed4f51 4099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
d55e5bfc
RD
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51
RD
4102 wxStartTimer();
4103
4104 wxPyEndAllowThreads(__tstate);
4105 if (PyErr_Occurred()) SWIG_fail;
4106 }
4107 Py_INCREF(Py_None); resultobj = Py_None;
4108 return resultobj;
4109 fail:
4110 return NULL;
4111}
4112
4113
4114static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4115 PyObject *resultobj = NULL;
36ed4f51
RD
4116 int *arg1 = (int *) 0 ;
4117 int *arg2 = (int *) 0 ;
4118 int result;
4119 int temp1 ;
4120 int res1 = 0 ;
4121 int temp2 ;
4122 int res2 = 0 ;
4123 char *kwnames[] = {
4124 NULL
4125 };
4126
4127 arg1 = &temp1; res1 = SWIG_NEWOBJ;
4128 arg2 = &temp2; res2 = SWIG_NEWOBJ;
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (int)wxGetOsVersion(arg1,arg2);
d55e5bfc
RD
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 {
32fe5131 4138 resultobj = SWIG_From_int(static_cast<int >(result));
d55e5bfc 4139 }
36ed4f51
RD
4140 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
4141 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
4142 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
4143 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
4144 return resultobj;
4145 fail:
4146 return NULL;
4147}
4148
4149
36ed4f51 4150static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4151 PyObject *resultobj = NULL;
d55e5bfc
RD
4152 wxString result;
4153 char *kwnames[] = {
4154 NULL
4155 };
4156
36ed4f51 4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
d55e5bfc
RD
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4160 result = wxGetOsDescription();
d55e5bfc
RD
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 {
4166#if wxUSE_UNICODE
4167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4168#else
4169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4170#endif
4171 }
4172 return resultobj;
4173 fail:
4174 return NULL;
4175}
4176
4177
36ed4f51 4178static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4179 PyObject *resultobj = NULL;
943e8dfd 4180 wxMemorySize result;
d55e5bfc
RD
4181 char *kwnames[] = {
4182 NULL
4183 };
4184
36ed4f51 4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
d55e5bfc
RD
4186 {
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
943e8dfd 4188 result = wxGetFreeMemory();
d55e5bfc
RD
4189
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 {
943e8dfd 4194 wxMemorySize * resultptr;
32fe5131 4195 resultptr = new wxMemorySize(static_cast<wxMemorySize & >(result));
943e8dfd 4196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMemorySize, 1);
d55e5bfc
RD
4197 }
4198 return resultobj;
4199 fail:
4200 return NULL;
4201}
4202
4203
36ed4f51 4204static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4205 PyObject *resultobj = NULL;
36ed4f51
RD
4206 wxShutdownFlags arg1 ;
4207 bool result;
d55e5bfc
RD
4208 PyObject * obj0 = 0 ;
4209 char *kwnames[] = {
36ed4f51 4210 (char *) "wFlags", NULL
d55e5bfc
RD
4211 };
4212
36ed4f51
RD
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4214 {
32fe5131 4215 arg1 = static_cast<wxShutdownFlags >(SWIG_As_int(obj0));
36ed4f51 4216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4217 }
4218 {
36ed4f51 4219 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 4221 result = (bool)wxShutdown(arg1);
d55e5bfc
RD
4222
4223 wxPyEndAllowThreads(__tstate);
4224 if (PyErr_Occurred()) SWIG_fail;
4225 }
4226 {
36ed4f51 4227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d55e5bfc
RD
4228 }
4229 return resultobj;
4230 fail:
d55e5bfc
RD
4231 return NULL;
4232}
4233
4234
36ed4f51 4235static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4236 PyObject *resultobj = NULL;
36ed4f51
RD
4237 int arg1 ;
4238 PyObject * obj0 = 0 ;
d55e5bfc 4239 char *kwnames[] = {
36ed4f51 4240 (char *) "secs", NULL
d55e5bfc
RD
4241 };
4242
36ed4f51
RD
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4244 {
32fe5131 4245 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
4246 if (SWIG_arg_fail(1)) SWIG_fail;
4247 }
d55e5bfc
RD
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4250 wxSleep(arg1);
d55e5bfc
RD
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
36ed4f51 4255 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4256 return resultobj;
4257 fail:
4258 return NULL;
4259}
4260
4261
36ed4f51 4262static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4263 PyObject *resultobj = NULL;
36ed4f51
RD
4264 unsigned long arg1 ;
4265 PyObject * obj0 = 0 ;
d55e5bfc 4266 char *kwnames[] = {
36ed4f51 4267 (char *) "milliseconds", NULL
d55e5bfc
RD
4268 };
4269
36ed4f51
RD
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4271 {
32fe5131 4272 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
4273 if (SWIG_arg_fail(1)) SWIG_fail;
4274 }
d55e5bfc
RD
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4277 wxMilliSleep(arg1);
d55e5bfc
RD
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286}
4287
4288
36ed4f51 4289static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4290 PyObject *resultobj = NULL;
36ed4f51 4291 unsigned long arg1 ;
d55e5bfc 4292 PyObject * obj0 = 0 ;
d55e5bfc 4293 char *kwnames[] = {
36ed4f51 4294 (char *) "microseconds", NULL
d55e5bfc
RD
4295 };
4296
36ed4f51
RD
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4298 {
32fe5131 4299 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51 4300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4301 }
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4304 wxMicroSleep(arg1);
d55e5bfc
RD
4305
4306 wxPyEndAllowThreads(__tstate);
110da5b0 4307 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4308 }
36ed4f51 4309 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
4310 return resultobj;
4311 fail:
36ed4f51
RD
4312 return NULL;
4313}
4314
4315
4316static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4317 PyObject *resultobj = NULL;
36ed4f51
RD
4318 bool arg1 ;
4319 PyObject * obj0 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "enable", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
d55e5bfc 4325 {
32fe5131 4326 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
36ed4f51 4327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4328 }
4329 {
36ed4f51
RD
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 wxEnableTopLevelWindows(arg1);
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4335 }
36ed4f51
RD
4336 Py_INCREF(Py_None); resultobj = Py_None;
4337 return resultobj;
4338 fail:
d55e5bfc
RD
4339 return NULL;
4340}
4341
4342
36ed4f51 4343static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4344 PyObject *resultobj = NULL;
d55e5bfc 4345 wxString *arg1 = 0 ;
d55e5bfc 4346 wxString result;
b411df4a 4347 bool temp1 = false ;
d55e5bfc 4348 PyObject * obj0 = 0 ;
d55e5bfc 4349 char *kwnames[] = {
36ed4f51 4350 (char *) "in", NULL
d55e5bfc
RD
4351 };
4352
36ed4f51 4353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
d55e5bfc
RD
4354 {
4355 arg1 = wxString_in_helper(obj0);
4356 if (arg1 == NULL) SWIG_fail;
b411df4a 4357 temp1 = true;
d55e5bfc
RD
4358 }
4359 {
d55e5bfc 4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4361 result = wxStripMenuCodes((wxString const &)*arg1);
d55e5bfc
RD
4362
4363 wxPyEndAllowThreads(__tstate);
110da5b0 4364 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4365 }
4366 {
4367#if wxUSE_UNICODE
4368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4369#else
4370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4371#endif
4372 }
4373 {
4374 if (temp1)
4375 delete arg1;
4376 }
d55e5bfc
RD
4377 return resultobj;
4378 fail:
4379 {
4380 if (temp1)
4381 delete arg1;
4382 }
d55e5bfc
RD
4383 return NULL;
4384}
4385
4386
36ed4f51 4387static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4388 PyObject *resultobj = NULL;
d55e5bfc 4389 wxString result;
d55e5bfc 4390 char *kwnames[] = {
36ed4f51 4391 NULL
d55e5bfc
RD
4392 };
4393
36ed4f51 4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
d55e5bfc
RD
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4397 result = wxGetEmailAddress();
d55e5bfc
RD
4398
4399 wxPyEndAllowThreads(__tstate);
110da5b0 4400 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4401 }
4402 {
4403#if wxUSE_UNICODE
4404 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4405#else
4406 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4407#endif
4408 }
d55e5bfc
RD
4409 return resultobj;
4410 fail:
36ed4f51
RD
4411 return NULL;
4412}
4413
4414
4415static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4416 PyObject *resultobj = NULL;
36ed4f51
RD
4417 wxString result;
4418 char *kwnames[] = {
4419 NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
d55e5bfc 4423 {
36ed4f51
RD
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 result = wxGetHostName();
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4429 }
4430 {
36ed4f51
RD
4431#if wxUSE_UNICODE
4432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4433#else
4434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4435#endif
d55e5bfc 4436 }
36ed4f51
RD
4437 return resultobj;
4438 fail:
d55e5bfc
RD
4439 return NULL;
4440}
4441
4442
36ed4f51 4443static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4444 PyObject *resultobj = NULL;
d55e5bfc 4445 wxString result;
d55e5bfc 4446 char *kwnames[] = {
36ed4f51 4447 NULL
d55e5bfc
RD
4448 };
4449
36ed4f51
RD
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 result = wxGetFullHostName();
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 4457 }
36ed4f51
RD
4458 {
4459#if wxUSE_UNICODE
4460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4461#else
4462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4463#endif
d55e5bfc 4464 }
36ed4f51
RD
4465 return resultobj;
4466 fail:
4467 return NULL;
4468}
4469
4470
4471static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4472 PyObject *resultobj = NULL;
36ed4f51
RD
4473 wxString result;
4474 char *kwnames[] = {
4475 NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 result = wxGetUserId();
4482
4483 wxPyEndAllowThreads(__tstate);
d55e5bfc
RD
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
36ed4f51
RD
4486 {
4487#if wxUSE_UNICODE
4488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4489#else
4490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4491#endif
4492 }
4493 return resultobj;
4494 fail:
4495 return NULL;
4496}
4497
4498
4499static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4500 PyObject *resultobj = NULL;
36ed4f51
RD
4501 wxString result;
4502 char *kwnames[] = {
4503 NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 result = wxGetUserName();
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 {
4515#if wxUSE_UNICODE
4516 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4517#else
4518 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4519#endif
4520 }
4521 return resultobj;
4522 fail:
4523 return NULL;
4524}
4525
4526
4527static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4528 PyObject *resultobj = NULL;
36ed4f51
RD
4529 wxString result;
4530 char *kwnames[] = {
4531 NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
4535 {
4536 PyThreadState* __tstate = wxPyBeginAllowThreads();
4537 result = wxGetHomeDir();
4538
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 {
4543#if wxUSE_UNICODE
4544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4545#else
4546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4547#endif
4548 }
4549 return resultobj;
4550 fail:
4551 return NULL;
4552}
4553
4554
4555static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4556 PyObject *resultobj = NULL;
36ed4f51
RD
4557 wxString const &arg1_defvalue = wxPyEmptyString ;
4558 wxString *arg1 = (wxString *) &arg1_defvalue ;
4559 wxString result;
4560 bool temp1 = false ;
4561 PyObject * obj0 = 0 ;
4562 char *kwnames[] = {
4563 (char *) "user", NULL
4564 };
4565
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
4567 if (obj0) {
d55e5bfc 4568 {
36ed4f51
RD
4569 arg1 = wxString_in_helper(obj0);
4570 if (arg1 == NULL) SWIG_fail;
4571 temp1 = true;
d55e5bfc
RD
4572 }
4573 }
d55e5bfc
RD
4574 {
4575 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4576 result = wxGetUserHome((wxString const &)*arg1);
d55e5bfc
RD
4577
4578 wxPyEndAllowThreads(__tstate);
110da5b0 4579 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4580 }
4581 {
4582#if wxUSE_UNICODE
4583 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4584#else
4585 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4586#endif
4587 }
4588 {
4589 if (temp1)
4590 delete arg1;
4591 }
d55e5bfc
RD
4592 return resultobj;
4593 fail:
4594 {
4595 if (temp1)
4596 delete arg1;
4597 }
36ed4f51
RD
4598 return NULL;
4599}
4600
4601
4602static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4603 PyObject *resultobj = NULL;
36ed4f51
RD
4604 unsigned long result;
4605 char *kwnames[] = {
4606 NULL
4607 };
4608
4609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
d55e5bfc 4610 {
36ed4f51
RD
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 result = (unsigned long)wxGetProcessId();
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
4617 {
32fe5131 4618 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
d55e5bfc 4619 }
36ed4f51
RD
4620 return resultobj;
4621 fail:
d55e5bfc
RD
4622 return NULL;
4623}
4624
4625
36ed4f51 4626static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4627 PyObject *resultobj = NULL;
36ed4f51
RD
4628 char *kwnames[] = {
4629 NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 wxTrap();
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 Py_INCREF(Py_None); resultobj = Py_None;
4641 return resultobj;
4642 fail:
4643 return NULL;
4644}
4645
4646
4647static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4648 PyObject *resultobj = NULL;
36ed4f51
RD
4649 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4650 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc
RD
4651 wxString const &arg2_defvalue = wxPyEmptyString ;
4652 wxString *arg2 = (wxString *) &arg2_defvalue ;
4653 wxString const &arg3_defvalue = wxPyEmptyString ;
4654 wxString *arg3 = (wxString *) &arg3_defvalue ;
36ed4f51
RD
4655 wxString const &arg4_defvalue = wxPyEmptyString ;
4656 wxString *arg4 = (wxString *) &arg4_defvalue ;
4657 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4658 wxString *arg5 = (wxString *) &arg5_defvalue ;
4659 int arg6 = (int) 0 ;
4660 wxWindow *arg7 = (wxWindow *) NULL ;
4661 int arg8 = (int) -1 ;
4662 int arg9 = (int) -1 ;
d55e5bfc 4663 wxString result;
b411df4a
RD
4664 bool temp1 = false ;
4665 bool temp2 = false ;
4666 bool temp3 = false ;
36ed4f51
RD
4667 bool temp4 = false ;
4668 bool temp5 = false ;
d55e5bfc
RD
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 PyObject * obj2 = 0 ;
4672 PyObject * obj3 = 0 ;
4673 PyObject * obj4 = 0 ;
4674 PyObject * obj5 = 0 ;
4675 PyObject * obj6 = 0 ;
36ed4f51
RD
4676 PyObject * obj7 = 0 ;
4677 PyObject * obj8 = 0 ;
d55e5bfc 4678 char *kwnames[] = {
36ed4f51 4679 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
4680 };
4681
36ed4f51
RD
4682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4683 if (obj0) {
4684 {
4685 arg1 = wxString_in_helper(obj0);
4686 if (arg1 == NULL) SWIG_fail;
4687 temp1 = true;
4688 }
d55e5bfc
RD
4689 }
4690 if (obj1) {
4691 {
4692 arg2 = wxString_in_helper(obj1);
4693 if (arg2 == NULL) SWIG_fail;
b411df4a 4694 temp2 = true;
d55e5bfc
RD
4695 }
4696 }
4697 if (obj2) {
4698 {
4699 arg3 = wxString_in_helper(obj2);
4700 if (arg3 == NULL) SWIG_fail;
b411df4a 4701 temp3 = true;
d55e5bfc
RD
4702 }
4703 }
4704 if (obj3) {
36ed4f51
RD
4705 {
4706 arg4 = wxString_in_helper(obj3);
4707 if (arg4 == NULL) SWIG_fail;
4708 temp4 = true;
4709 }
d55e5bfc
RD
4710 }
4711 if (obj4) {
36ed4f51
RD
4712 {
4713 arg5 = wxString_in_helper(obj4);
4714 if (arg5 == NULL) SWIG_fail;
4715 temp5 = true;
4716 }
d55e5bfc
RD
4717 }
4718 if (obj5) {
36ed4f51 4719 {
32fe5131 4720 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
4721 if (SWIG_arg_fail(6)) SWIG_fail;
4722 }
d55e5bfc
RD
4723 }
4724 if (obj6) {
36ed4f51
RD
4725 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4726 if (SWIG_arg_fail(7)) SWIG_fail;
4727 }
4728 if (obj7) {
4729 {
32fe5131 4730 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
4731 if (SWIG_arg_fail(8)) SWIG_fail;
4732 }
4733 }
4734 if (obj8) {
4735 {
32fe5131 4736 arg9 = static_cast<int >(SWIG_As_int(obj8));
36ed4f51
RD
4737 if (SWIG_arg_fail(9)) SWIG_fail;
4738 }
d55e5bfc
RD
4739 }
4740 {
0439c23b 4741 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4743 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
d55e5bfc
RD
4744
4745 wxPyEndAllowThreads(__tstate);
110da5b0 4746 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4747 }
4748 {
4749#if wxUSE_UNICODE
4750 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4751#else
4752 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4753#endif
4754 }
4755 {
4756 if (temp1)
4757 delete arg1;
4758 }
4759 {
4760 if (temp2)
4761 delete arg2;
4762 }
4763 {
4764 if (temp3)
4765 delete arg3;
4766 }
36ed4f51
RD
4767 {
4768 if (temp4)
4769 delete arg4;
4770 }
4771 {
4772 if (temp5)
4773 delete arg5;
4774 }
d55e5bfc
RD
4775 return resultobj;
4776 fail:
4777 {
4778 if (temp1)
4779 delete arg1;
4780 }
4781 {
4782 if (temp2)
4783 delete arg2;
4784 }
4785 {
4786 if (temp3)
4787 delete arg3;
4788 }
36ed4f51
RD
4789 {
4790 if (temp4)
4791 delete arg4;
4792 }
4793 {
4794 if (temp5)
4795 delete arg5;
4796 }
d55e5bfc
RD
4797 return NULL;
4798}
4799
4800
36ed4f51 4801static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4802 PyObject *resultobj = NULL;
d55e5bfc 4803 wxString *arg1 = 0 ;
36ed4f51 4804 wxString *arg2 = 0 ;
d55e5bfc
RD
4805 wxString const &arg3_defvalue = wxPyEmptyString ;
4806 wxString *arg3 = (wxString *) &arg3_defvalue ;
4807 wxWindow *arg4 = (wxWindow *) NULL ;
4808 wxString result;
b411df4a
RD
4809 bool temp1 = false ;
4810 bool temp2 = false ;
4811 bool temp3 = false ;
d55e5bfc
RD
4812 PyObject * obj0 = 0 ;
4813 PyObject * obj1 = 0 ;
4814 PyObject * obj2 = 0 ;
4815 PyObject * obj3 = 0 ;
4816 char *kwnames[] = {
36ed4f51 4817 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4818 };
4819
36ed4f51 4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4821 {
4822 arg1 = wxString_in_helper(obj0);
4823 if (arg1 == NULL) SWIG_fail;
b411df4a 4824 temp1 = true;
d55e5bfc 4825 }
36ed4f51
RD
4826 {
4827 arg2 = wxString_in_helper(obj1);
4828 if (arg2 == NULL) SWIG_fail;
4829 temp2 = true;
d55e5bfc
RD
4830 }
4831 if (obj2) {
4832 {
4833 arg3 = wxString_in_helper(obj2);
4834 if (arg3 == NULL) SWIG_fail;
b411df4a 4835 temp3 = true;
d55e5bfc
RD
4836 }
4837 }
4838 if (obj3) {
36ed4f51
RD
4839 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4840 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4841 }
4842 {
0439c23b 4843 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4845 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4846
4847 wxPyEndAllowThreads(__tstate);
110da5b0 4848 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4849 }
4850 {
4851#if wxUSE_UNICODE
4852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4853#else
4854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4855#endif
4856 }
4857 {
4858 if (temp1)
4859 delete arg1;
4860 }
4861 {
4862 if (temp2)
4863 delete arg2;
4864 }
4865 {
4866 if (temp3)
4867 delete arg3;
4868 }
4869 return resultobj;
4870 fail:
4871 {
4872 if (temp1)
4873 delete arg1;
4874 }
4875 {
4876 if (temp2)
4877 delete arg2;
4878 }
4879 {
4880 if (temp3)
4881 delete arg3;
4882 }
4883 return NULL;
4884}
4885
4886
36ed4f51 4887static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4888 PyObject *resultobj = NULL;
d55e5bfc
RD
4889 wxString *arg1 = 0 ;
4890 wxString *arg2 = 0 ;
36ed4f51
RD
4891 wxString const &arg3_defvalue = wxPyEmptyString ;
4892 wxString *arg3 = (wxString *) &arg3_defvalue ;
4893 wxWindow *arg4 = (wxWindow *) NULL ;
d55e5bfc 4894 wxString result;
b411df4a
RD
4895 bool temp1 = false ;
4896 bool temp2 = false ;
36ed4f51 4897 bool temp3 = false ;
d55e5bfc
RD
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 PyObject * obj2 = 0 ;
4901 PyObject * obj3 = 0 ;
d55e5bfc 4902 char *kwnames[] = {
36ed4f51 4903 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
d55e5bfc
RD
4904 };
4905
36ed4f51 4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
4907 {
4908 arg1 = wxString_in_helper(obj0);
4909 if (arg1 == NULL) SWIG_fail;
b411df4a 4910 temp1 = true;
d55e5bfc
RD
4911 }
4912 {
4913 arg2 = wxString_in_helper(obj1);
4914 if (arg2 == NULL) SWIG_fail;
b411df4a 4915 temp2 = true;
d55e5bfc 4916 }
36ed4f51
RD
4917 if (obj2) {
4918 {
4919 arg3 = wxString_in_helper(obj2);
4920 if (arg3 == NULL) SWIG_fail;
4921 temp3 = true;
4922 }
d55e5bfc
RD
4923 }
4924 if (obj3) {
36ed4f51
RD
4925 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4926 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
4927 }
4928 {
0439c23b 4929 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 4931 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
4932
4933 wxPyEndAllowThreads(__tstate);
110da5b0 4934 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4935 }
4936 {
4937#if wxUSE_UNICODE
4938 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4939#else
4940 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4941#endif
4942 }
4943 {
4944 if (temp1)
4945 delete arg1;
4946 }
4947 {
4948 if (temp2)
4949 delete arg2;
4950 }
4951 {
36ed4f51
RD
4952 if (temp3)
4953 delete arg3;
d55e5bfc
RD
4954 }
4955 return resultobj;
4956 fail:
4957 {
4958 if (temp1)
4959 delete arg1;
4960 }
4961 {
4962 if (temp2)
4963 delete arg2;
4964 }
4965 {
36ed4f51
RD
4966 if (temp3)
4967 delete arg3;
d55e5bfc
RD
4968 }
4969 return NULL;
4970}
4971
4972
36ed4f51 4973static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 4974 PyObject *resultobj = NULL;
36ed4f51
RD
4975 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4976 wxString *arg1 = (wxString *) &arg1_defvalue ;
4977 wxString const &arg2_defvalue = wxPyEmptyString ;
4978 wxString *arg2 = (wxString *) &arg2_defvalue ;
4979 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
d55e5bfc 4982 wxWindow *arg5 = (wxWindow *) NULL ;
36ed4f51 4983 wxString result;
b411df4a
RD
4984 bool temp1 = false ;
4985 bool temp2 = false ;
36ed4f51 4986 wxPoint temp4 ;
d55e5bfc
RD
4987 PyObject * obj0 = 0 ;
4988 PyObject * obj1 = 0 ;
4989 PyObject * obj2 = 0 ;
4990 PyObject * obj3 = 0 ;
4991 PyObject * obj4 = 0 ;
d55e5bfc 4992 char *kwnames[] = {
36ed4f51 4993 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
d55e5bfc
RD
4994 };
4995
36ed4f51
RD
4996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4997 if (obj0) {
4998 {
4999 arg1 = wxString_in_helper(obj0);
5000 if (arg1 == NULL) SWIG_fail;
5001 temp1 = true;
5002 }
d55e5bfc 5003 }
36ed4f51
RD
5004 if (obj1) {
5005 {
5006 arg2 = wxString_in_helper(obj1);
5007 if (arg2 == NULL) SWIG_fail;
5008 temp2 = true;
5009 }
d55e5bfc 5010 }
36ed4f51
RD
5011 if (obj2) {
5012 {
32fe5131 5013 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
5014 if (SWIG_arg_fail(3)) SWIG_fail;
5015 }
d55e5bfc
RD
5016 }
5017 if (obj3) {
36ed4f51
RD
5018 {
5019 arg4 = &temp4;
5020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5021 }
d55e5bfc
RD
5022 }
5023 if (obj4) {
36ed4f51
RD
5024 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5025 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
5026 }
5027 {
0439c23b 5028 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5030 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
d55e5bfc
RD
5031
5032 wxPyEndAllowThreads(__tstate);
110da5b0 5033 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5034 }
36ed4f51
RD
5035 {
5036#if wxUSE_UNICODE
5037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5038#else
5039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5040#endif
5041 }
d55e5bfc
RD
5042 {
5043 if (temp1)
5044 delete arg1;
5045 }
5046 {
5047 if (temp2)
5048 delete arg2;
5049 }
d55e5bfc
RD
5050 return resultobj;
5051 fail:
5052 {
5053 if (temp1)
5054 delete arg1;
5055 }
5056 {
5057 if (temp2)
5058 delete arg2;
5059 }
d55e5bfc
RD
5060 return NULL;
5061}
5062
5063
36ed4f51 5064static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5065 PyObject *resultobj = NULL;
d55e5bfc
RD
5066 wxString *arg1 = 0 ;
5067 wxString const &arg2_defvalue = wxPyEmptyString ;
5068 wxString *arg2 = (wxString *) &arg2_defvalue ;
36ed4f51
RD
5069 wxString const &arg3_defvalue = wxPyEmptyString ;
5070 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5071 wxWindow *arg4 = (wxWindow *) NULL ;
5072 int arg5 = (int) -1 ;
5073 int arg6 = (int) -1 ;
36ed4f51
RD
5074 bool arg7 = (bool) true ;
5075 wxString result;
b411df4a
RD
5076 bool temp1 = false ;
5077 bool temp2 = false ;
36ed4f51 5078 bool temp3 = false ;
d55e5bfc
RD
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 PyObject * obj2 = 0 ;
5082 PyObject * obj3 = 0 ;
5083 PyObject * obj4 = 0 ;
5084 PyObject * obj5 = 0 ;
36ed4f51 5085 PyObject * obj6 = 0 ;
d55e5bfc 5086 char *kwnames[] = {
36ed4f51 5087 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
d55e5bfc
RD
5088 };
5089
36ed4f51 5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5091 {
5092 arg1 = wxString_in_helper(obj0);
5093 if (arg1 == NULL) SWIG_fail;
b411df4a 5094 temp1 = true;
d55e5bfc
RD
5095 }
5096 if (obj1) {
5097 {
5098 arg2 = wxString_in_helper(obj1);
5099 if (arg2 == NULL) SWIG_fail;
b411df4a 5100 temp2 = true;
d55e5bfc
RD
5101 }
5102 }
5103 if (obj2) {
36ed4f51
RD
5104 {
5105 arg3 = wxString_in_helper(obj2);
5106 if (arg3 == NULL) SWIG_fail;
5107 temp3 = true;
5108 }
d55e5bfc
RD
5109 }
5110 if (obj3) {
36ed4f51
RD
5111 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5112 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
5113 }
5114 if (obj4) {
36ed4f51 5115 {
32fe5131 5116 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
5117 if (SWIG_arg_fail(5)) SWIG_fail;
5118 }
d55e5bfc
RD
5119 }
5120 if (obj5) {
36ed4f51 5121 {
32fe5131 5122 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
5123 if (SWIG_arg_fail(6)) SWIG_fail;
5124 }
5125 }
5126 if (obj6) {
5127 {
32fe5131 5128 arg7 = static_cast<bool >(SWIG_As_bool(obj6));
36ed4f51
RD
5129 if (SWIG_arg_fail(7)) SWIG_fail;
5130 }
d55e5bfc
RD
5131 }
5132 {
0439c23b 5133 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5135 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
5136
5137 wxPyEndAllowThreads(__tstate);
110da5b0 5138 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5139 }
36ed4f51
RD
5140 {
5141#if wxUSE_UNICODE
5142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5143#else
5144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5145#endif
5146 }
d55e5bfc
RD
5147 {
5148 if (temp1)
5149 delete arg1;
5150 }
5151 {
5152 if (temp2)
5153 delete arg2;
5154 }
36ed4f51
RD
5155 {
5156 if (temp3)
5157 delete arg3;
5158 }
d55e5bfc
RD
5159 return resultobj;
5160 fail:
5161 {
5162 if (temp1)
5163 delete arg1;
5164 }
5165 {
5166 if (temp2)
5167 delete arg2;
5168 }
36ed4f51
RD
5169 {
5170 if (temp3)
5171 delete arg3;
5172 }
d55e5bfc
RD
5173 return NULL;
5174}
5175
5176
36ed4f51 5177static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5178 PyObject *resultobj = NULL;
d55e5bfc 5179 wxString *arg1 = 0 ;
36ed4f51
RD
5180 wxString const &arg2_defvalue = wxPyEmptyString ;
5181 wxString *arg2 = (wxString *) &arg2_defvalue ;
5182 wxString const &arg3_defvalue = wxPyEmptyString ;
5183 wxString *arg3 = (wxString *) &arg3_defvalue ;
5184 wxWindow *arg4 = (wxWindow *) NULL ;
5185 wxString result;
b411df4a
RD
5186 bool temp1 = false ;
5187 bool temp2 = false ;
5188 bool temp3 = false ;
d55e5bfc
RD
5189 PyObject * obj0 = 0 ;
5190 PyObject * obj1 = 0 ;
5191 PyObject * obj2 = 0 ;
5192 PyObject * obj3 = 0 ;
d55e5bfc 5193 char *kwnames[] = {
36ed4f51 5194 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
d55e5bfc
RD
5195 };
5196
36ed4f51 5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc
RD
5198 {
5199 arg1 = wxString_in_helper(obj0);
5200 if (arg1 == NULL) SWIG_fail;
b411df4a 5201 temp1 = true;
d55e5bfc 5202 }
36ed4f51
RD
5203 if (obj1) {
5204 {
5205 arg2 = wxString_in_helper(obj1);
5206 if (arg2 == NULL) SWIG_fail;
5207 temp2 = true;
5208 }
d55e5bfc 5209 }
36ed4f51 5210 if (obj2) {
d55e5bfc 5211 {
36ed4f51
RD
5212 arg3 = wxString_in_helper(obj2);
5213 if (arg3 == NULL) SWIG_fail;
5214 temp3 = true;
d55e5bfc
RD
5215 }
5216 }
36ed4f51
RD
5217 if (obj3) {
5218 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5219 if (SWIG_arg_fail(4)) SWIG_fail;
5220 }
d55e5bfc 5221 {
0439c23b 5222 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5224 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
d55e5bfc
RD
5225
5226 wxPyEndAllowThreads(__tstate);
110da5b0 5227 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5228 }
36ed4f51
RD
5229 {
5230#if wxUSE_UNICODE
5231 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5232#else
5233 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5234#endif
5235 }
d55e5bfc
RD
5236 {
5237 if (temp1)
5238 delete arg1;
5239 }
5240 {
5241 if (temp2)
5242 delete arg2;
5243 }
5244 {
5245 if (temp3)
5246 delete arg3;
5247 }
5248 return resultobj;
5249 fail:
5250 {
5251 if (temp1)
5252 delete arg1;
5253 }
5254 {
5255 if (temp2)
5256 delete arg2;
5257 }
5258 {
5259 if (temp3)
5260 delete arg3;
5261 }
5262 return NULL;
5263}
5264
5265
36ed4f51 5266static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5267 PyObject *resultobj = NULL;
36ed4f51
RD
5268 wxString *arg1 = 0 ;
5269 wxString *arg2 = 0 ;
5270 int arg3 ;
5271 wxString *arg4 = (wxString *) 0 ;
5272 wxWindow *arg5 = (wxWindow *) NULL ;
5273 int arg6 = (int) -1 ;
5274 int arg7 = (int) -1 ;
5275 bool arg8 = (bool) true ;
5276 int arg9 = (int) 150 ;
5277 int arg10 = (int) 200 ;
5278 wxString result;
5279 bool temp1 = false ;
5280 bool temp2 = false ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 PyObject * obj2 = 0 ;
5284 PyObject * obj3 = 0 ;
5285 PyObject * obj4 = 0 ;
5286 PyObject * obj5 = 0 ;
5287 PyObject * obj6 = 0 ;
5288 PyObject * obj7 = 0 ;
5289 PyObject * obj8 = 0 ;
d55e5bfc 5290 char *kwnames[] = {
36ed4f51 5291 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5292 };
5293
36ed4f51
RD
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5295 {
5296 arg1 = wxString_in_helper(obj0);
5297 if (arg1 == NULL) SWIG_fail;
5298 temp1 = true;
5299 }
5300 {
5301 arg2 = wxString_in_helper(obj1);
5302 if (arg2 == NULL) SWIG_fail;
5303 temp2 = true;
5304 }
5305 {
5306 arg3 = PyList_Size(obj2);
5307 arg4 = wxString_LIST_helper(obj2);
5308 if (arg4 == NULL) SWIG_fail;
5309 }
5310 if (obj3) {
5311 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5312 if (SWIG_arg_fail(5)) SWIG_fail;
5313 }
5314 if (obj4) {
5315 {
32fe5131 5316 arg6 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
5317 if (SWIG_arg_fail(6)) SWIG_fail;
5318 }
5319 }
5320 if (obj5) {
5321 {
32fe5131 5322 arg7 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
5323 if (SWIG_arg_fail(7)) SWIG_fail;
5324 }
5325 }
5326 if (obj6) {
5327 {
32fe5131 5328 arg8 = static_cast<bool >(SWIG_As_bool(obj6));
36ed4f51
RD
5329 if (SWIG_arg_fail(8)) SWIG_fail;
5330 }
5331 }
5332 if (obj7) {
5333 {
32fe5131 5334 arg9 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
5335 if (SWIG_arg_fail(9)) SWIG_fail;
5336 }
5337 }
5338 if (obj8) {
5339 {
32fe5131 5340 arg10 = static_cast<int >(SWIG_As_int(obj8));
36ed4f51
RD
5341 if (SWIG_arg_fail(10)) SWIG_fail;
5342 }
5343 }
d55e5bfc 5344 {
0439c23b 5345 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5347 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5348
5349 wxPyEndAllowThreads(__tstate);
110da5b0 5350 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5351 }
5352 {
36ed4f51
RD
5353#if wxUSE_UNICODE
5354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5355#else
5356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5357#endif
5358 }
5359 {
5360 if (temp1)
5361 delete arg1;
5362 }
5363 {
5364 if (temp2)
5365 delete arg2;
5366 }
5367 {
5368 if (arg4) delete [] arg4;
d55e5bfc
RD
5369 }
5370 return resultobj;
5371 fail:
36ed4f51
RD
5372 {
5373 if (temp1)
5374 delete arg1;
5375 }
5376 {
5377 if (temp2)
5378 delete arg2;
5379 }
5380 {
5381 if (arg4) delete [] arg4;
5382 }
d55e5bfc
RD
5383 return NULL;
5384}
5385
5386
36ed4f51 5387static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5388 PyObject *resultobj = NULL;
36ed4f51
RD
5389 wxString *arg1 = 0 ;
5390 wxString *arg2 = 0 ;
5391 int arg3 ;
5392 wxString *arg4 = (wxString *) 0 ;
5393 wxWindow *arg5 = (wxWindow *) NULL ;
5394 int arg6 = (int) -1 ;
5395 int arg7 = (int) -1 ;
5396 bool arg8 = (bool) true ;
5397 int arg9 = (int) 150 ;
5398 int arg10 = (int) 200 ;
d55e5bfc 5399 int result;
36ed4f51
RD
5400 bool temp1 = false ;
5401 bool temp2 = false ;
5402 PyObject * obj0 = 0 ;
5403 PyObject * obj1 = 0 ;
5404 PyObject * obj2 = 0 ;
5405 PyObject * obj3 = 0 ;
5406 PyObject * obj4 = 0 ;
5407 PyObject * obj5 = 0 ;
5408 PyObject * obj6 = 0 ;
5409 PyObject * obj7 = 0 ;
5410 PyObject * obj8 = 0 ;
d55e5bfc 5411 char *kwnames[] = {
36ed4f51 5412 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
d55e5bfc
RD
5413 };
5414
36ed4f51
RD
5415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5416 {
5417 arg1 = wxString_in_helper(obj0);
5418 if (arg1 == NULL) SWIG_fail;
5419 temp1 = true;
5420 }
5421 {
5422 arg2 = wxString_in_helper(obj1);
5423 if (arg2 == NULL) SWIG_fail;
5424 temp2 = true;
5425 }
5426 {
5427 arg3 = PyList_Size(obj2);
5428 arg4 = wxString_LIST_helper(obj2);
5429 if (arg4 == NULL) SWIG_fail;
5430 }
5431 if (obj3) {
5432 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5433 if (SWIG_arg_fail(5)) SWIG_fail;
5434 }
5435 if (obj4) {
5436 {
32fe5131 5437 arg6 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
5438 if (SWIG_arg_fail(6)) SWIG_fail;
5439 }
5440 }
5441 if (obj5) {
5442 {
32fe5131 5443 arg7 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
5444 if (SWIG_arg_fail(7)) SWIG_fail;
5445 }
5446 }
5447 if (obj6) {
5448 {
32fe5131 5449 arg8 = static_cast<bool >(SWIG_As_bool(obj6));
36ed4f51
RD
5450 if (SWIG_arg_fail(8)) SWIG_fail;
5451 }
5452 }
5453 if (obj7) {
5454 {
32fe5131 5455 arg9 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
5456 if (SWIG_arg_fail(9)) SWIG_fail;
5457 }
5458 }
5459 if (obj8) {
5460 {
32fe5131 5461 arg10 = static_cast<int >(SWIG_As_int(obj8));
36ed4f51
RD
5462 if (SWIG_arg_fail(10)) SWIG_fail;
5463 }
5464 }
d55e5bfc 5465 {
0439c23b 5466 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5468 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
d55e5bfc
RD
5469
5470 wxPyEndAllowThreads(__tstate);
110da5b0 5471 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5472 }
36ed4f51 5473 {
32fe5131 5474 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
5475 }
5476 {
5477 if (temp1)
5478 delete arg1;
5479 }
5480 {
5481 if (temp2)
5482 delete arg2;
5483 }
5484 {
5485 if (arg4) delete [] arg4;
5486 }
d55e5bfc
RD
5487 return resultobj;
5488 fail:
36ed4f51
RD
5489 {
5490 if (temp1)
5491 delete arg1;
5492 }
5493 {
5494 if (temp2)
5495 delete arg2;
5496 }
5497 {
5498 if (arg4) delete [] arg4;
5499 }
d55e5bfc
RD
5500 return NULL;
5501}
5502
5503
36ed4f51 5504static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5505 PyObject *resultobj = NULL;
36ed4f51
RD
5506 wxString *arg1 = 0 ;
5507 wxString const &arg2_defvalue = wxPyEmptyString ;
5508 wxString *arg2 = (wxString *) &arg2_defvalue ;
5509 int arg3 = (int) wxOK|wxCENTRE ;
5510 wxWindow *arg4 = (wxWindow *) NULL ;
5511 int arg5 = (int) -1 ;
5512 int arg6 = (int) -1 ;
d55e5bfc 5513 int result;
36ed4f51
RD
5514 bool temp1 = false ;
5515 bool temp2 = false ;
5516 PyObject * obj0 = 0 ;
5517 PyObject * obj1 = 0 ;
5518 PyObject * obj2 = 0 ;
5519 PyObject * obj3 = 0 ;
5520 PyObject * obj4 = 0 ;
5521 PyObject * obj5 = 0 ;
d55e5bfc 5522 char *kwnames[] = {
36ed4f51 5523 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
d55e5bfc
RD
5524 };
5525
36ed4f51 5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc 5527 {
36ed4f51
RD
5528 arg1 = wxString_in_helper(obj0);
5529 if (arg1 == NULL) SWIG_fail;
5530 temp1 = true;
d55e5bfc 5531 }
36ed4f51
RD
5532 if (obj1) {
5533 {
5534 arg2 = wxString_in_helper(obj1);
5535 if (arg2 == NULL) SWIG_fail;
5536 temp2 = true;
5537 }
5538 }
5539 if (obj2) {
5540 {
32fe5131 5541 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
5542 if (SWIG_arg_fail(3)) SWIG_fail;
5543 }
5544 }
5545 if (obj3) {
5546 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5547 if (SWIG_arg_fail(4)) SWIG_fail;
5548 }
5549 if (obj4) {
5550 {
32fe5131 5551 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
5552 if (SWIG_arg_fail(5)) SWIG_fail;
5553 }
5554 }
5555 if (obj5) {
5556 {
32fe5131 5557 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
5558 if (SWIG_arg_fail(6)) SWIG_fail;
5559 }
5560 }
5561 {
5562 if (!wxPyCheckForApp()) SWIG_fail;
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 {
32fe5131 5570 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
5571 }
5572 {
5573 if (temp1)
5574 delete arg1;
5575 }
5576 {
5577 if (temp2)
5578 delete arg2;
5579 }
5580 return resultobj;
5581 fail:
5582 {
5583 if (temp1)
5584 delete arg1;
5585 }
5586 {
5587 if (temp2)
5588 delete arg2;
5589 }
5590 return NULL;
5591}
5592
5593
36ed4f51 5594static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5595 PyObject *resultobj = NULL;
36ed4f51
RD
5596 bool result;
5597 char *kwnames[] = {
5598 NULL
5599 };
5600
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5602 {
5603 if (!wxPyCheckForApp()) SWIG_fail;
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 result = (bool)wxColourDisplay();
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
5610 {
5611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5612 }
5613 return resultobj;
5614 fail:
5615 return NULL;
5616}
5617
5618
5619static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5620 PyObject *resultobj = NULL;
36ed4f51
RD
5621 int result;
5622 char *kwnames[] = {
5623 NULL
5624 };
5625
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5627 {
5628 if (!wxPyCheckForApp()) SWIG_fail;
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (int)wxDisplayDepth();
5631
5632 wxPyEndAllowThreads(__tstate);
5633 if (PyErr_Occurred()) SWIG_fail;
5634 }
5635 {
32fe5131 5636 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
5637 }
5638 return resultobj;
5639 fail:
5640 return NULL;
5641}
5642
5643
5644static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5645 PyObject *resultobj = NULL;
36ed4f51
RD
5646 int result;
5647 char *kwnames[] = {
5648 NULL
5649 };
5650
5651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5652 {
5653 if (!wxPyCheckForApp()) SWIG_fail;
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 result = (int)wxGetDisplayDepth();
5656
5657 wxPyEndAllowThreads(__tstate);
5658 if (PyErr_Occurred()) SWIG_fail;
5659 }
5660 {
32fe5131 5661 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51
RD
5662 }
5663 return resultobj;
5664 fail:
5665 return NULL;
5666}
5667
5668
5669static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5670 PyObject *resultobj = NULL;
36ed4f51 5671 int *arg1 = (int *) 0 ;
d55e5bfc
RD
5672 int *arg2 = (int *) 0 ;
5673 int temp1 ;
c370783e 5674 int res1 = 0 ;
d55e5bfc 5675 int temp2 ;
c370783e 5676 int res2 = 0 ;
d55e5bfc
RD
5677 char *kwnames[] = {
5678 NULL
5679 };
5680
c370783e
RD
5681 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5682 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5684 {
0439c23b 5685 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 wxDisplaySize(arg1,arg2);
5688
5689 wxPyEndAllowThreads(__tstate);
110da5b0 5690 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5691 }
5692 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
5693 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5694 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5695 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5696 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5697 return resultobj;
5698 fail:
5699 return NULL;
5700}
5701
5702
c370783e 5703static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5704 PyObject *resultobj = NULL;
d55e5bfc
RD
5705 wxSize result;
5706 char *kwnames[] = {
5707 NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5711 {
0439c23b 5712 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 result = wxGetDisplaySize();
5715
5716 wxPyEndAllowThreads(__tstate);
110da5b0 5717 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5718 }
5719 {
5720 wxSize * resultptr;
32fe5131 5721 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
5722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5723 }
5724 return resultobj;
5725 fail:
5726 return NULL;
5727}
5728
5729
c370783e 5730static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5731 PyObject *resultobj = NULL;
d55e5bfc
RD
5732 int *arg1 = (int *) 0 ;
5733 int *arg2 = (int *) 0 ;
5734 int temp1 ;
c370783e 5735 int res1 = 0 ;
d55e5bfc 5736 int temp2 ;
c370783e 5737 int res2 = 0 ;
d55e5bfc
RD
5738 char *kwnames[] = {
5739 NULL
5740 };
5741
c370783e
RD
5742 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5743 arg2 = &temp2; res2 = SWIG_NEWOBJ;
d55e5bfc
RD
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5745 {
0439c23b 5746 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5747 PyThreadState* __tstate = wxPyBeginAllowThreads();
5748 wxDisplaySizeMM(arg1,arg2);
5749
5750 wxPyEndAllowThreads(__tstate);
110da5b0 5751 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5752 }
5753 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
5754 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5755 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5756 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5757 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5758 return resultobj;
5759 fail:
5760 return NULL;
5761}
5762
5763
c370783e 5764static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5765 PyObject *resultobj = NULL;
d55e5bfc
RD
5766 wxSize result;
5767 char *kwnames[] = {
5768 NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5772 {
0439c23b 5773 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 result = wxGetDisplaySizeMM();
5776
5777 wxPyEndAllowThreads(__tstate);
110da5b0 5778 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5779 }
5780 {
5781 wxSize * resultptr;
32fe5131 5782 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
5783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5784 }
5785 return resultobj;
5786 fail:
5787 return NULL;
5788}
5789
5790
c370783e 5791static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5792 PyObject *resultobj = NULL;
d55e5bfc
RD
5793 int *arg1 = (int *) 0 ;
5794 int *arg2 = (int *) 0 ;
5795 int *arg3 = (int *) 0 ;
5796 int *arg4 = (int *) 0 ;
5797 int temp1 ;
c370783e 5798 int res1 = 0 ;
d55e5bfc 5799 int temp2 ;
c370783e 5800 int res2 = 0 ;
d55e5bfc 5801 int temp3 ;
c370783e 5802 int res3 = 0 ;
d55e5bfc 5803 int temp4 ;
c370783e 5804 int res4 = 0 ;
d55e5bfc
RD
5805 char *kwnames[] = {
5806 NULL
5807 };
5808
c370783e
RD
5809 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5810 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5811 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5812 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc
RD
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5814 {
0439c23b 5815 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5818
5819 wxPyEndAllowThreads(__tstate);
110da5b0 5820 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5821 }
5822 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
5823 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5824 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5825 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5826 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5827 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5828 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5829 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5830 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
5831 return resultobj;
5832 fail:
5833 return NULL;
5834}
5835
5836
c370783e 5837static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5838 PyObject *resultobj = NULL;
d55e5bfc
RD
5839 wxRect result;
5840 char *kwnames[] = {
5841 NULL
5842 };
5843
5844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5845 {
0439c23b 5846 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = wxGetClientDisplayRect();
5849
5850 wxPyEndAllowThreads(__tstate);
110da5b0 5851 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5852 }
5853 {
5854 wxRect * resultptr;
32fe5131 5855 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
5856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5857 }
5858 return resultobj;
5859 fail:
5860 return NULL;
5861}
5862
5863
c370783e 5864static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5865 PyObject *resultobj = NULL;
d55e5bfc
RD
5866 wxCursor *arg1 = 0 ;
5867 PyObject * obj0 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "cursor", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
36ed4f51
RD
5873 {
5874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail;
5876 if (arg1 == NULL) {
5877 SWIG_null_ref("wxCursor");
5878 }
5879 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5880 }
5881 {
0439c23b 5882 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5883 PyThreadState* __tstate = wxPyBeginAllowThreads();
5884 wxSetCursor(*arg1);
5885
5886 wxPyEndAllowThreads(__tstate);
110da5b0 5887 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5888 }
5889 Py_INCREF(Py_None); resultobj = Py_None;
5890 return resultobj;
5891 fail:
5892 return NULL;
5893}
5894
5895
a97cefba 5896static PyObject *_wrap_GetXDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5897 PyObject *resultobj = NULL;
a97cefba
RD
5898 void *result;
5899 char *kwnames[] = {
5900 NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetXDisplay",kwnames)) goto fail;
5904 {
5905 if (!wxPyCheckForApp()) SWIG_fail;
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (void *)wxGetXDisplay();
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
5913 return resultobj;
5914 fail:
5915 return NULL;
5916}
5917
5918
c370783e 5919static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 5920 PyObject *resultobj = NULL;
d55e5bfc
RD
5921 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "cursor", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5928 if (obj0) {
36ed4f51
RD
5929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5930 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5931 }
5932 {
0439c23b 5933 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 wxBeginBusyCursor(arg1);
5936
5937 wxPyEndAllowThreads(__tstate);
110da5b0 5938 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5939 }
5940 Py_INCREF(Py_None); resultobj = Py_None;
5941 return resultobj;
5942 fail:
5943 return NULL;
5944}
5945
5946
32fe5131
RD
5947static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
5948 PyObject *resultobj = NULL;
5949 wxPoint result;
d55e5bfc
RD
5950 char *kwnames[] = {
5951 NULL
5952 };
5953
32fe5131 5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
d55e5bfc 5955 {
0439c23b 5956 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 5958 result = wxGetMousePosition();
d55e5bfc
RD
5959
5960 wxPyEndAllowThreads(__tstate);
110da5b0 5961 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5962 }
5963 {
32fe5131
RD
5964 wxPoint * resultptr;
5965 resultptr = new wxPoint(static_cast<wxPoint & >(result));
5966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d55e5bfc
RD
5967 }
5968 return resultobj;
5969 fail:
5970 return NULL;
5971}
5972
5973
32fe5131
RD
5974static PyObject *_wrap_FindWindowAtPointer(PyObject *, PyObject *args, PyObject *kwargs) {
5975 PyObject *resultobj = NULL;
d55e5bfc 5976 wxWindow *result;
32fe5131
RD
5977 char *kwnames[] = {
5978 NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FindWindowAtPointer",kwnames)) goto fail;
5982 {
5983 if (!wxPyCheckForApp()) SWIG_fail;
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (wxWindow *)FindWindowAtPointer();
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 {
5991 resultobj = wxPyMake_wxObject(result, 0);
5992 }
5993 return resultobj;
5994 fail:
5995 return NULL;
5996}
5997
5998
5999static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj = NULL;
6001 wxWindow *result;
6002 char *kwnames[] = {
6003 NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
6007 {
6008 if (!wxPyCheckForApp()) SWIG_fail;
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (wxWindow *)wxGetActiveWindow();
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 {
6016 resultobj = wxPyMake_wxObject(result, 0);
6017 }
6018 return resultobj;
6019 fail:
6020 return NULL;
6021}
6022
6023
6024static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj = NULL;
6026 wxPoint *arg1 = 0 ;
6027 wxWindow *result;
6028 wxPoint temp1 ;
6029 PyObject * obj0 = 0 ;
6030 char *kwnames[] = {
6031 (char *) "pt", NULL
6032 };
6033
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
6035 {
6036 arg1 = &temp1;
6037 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6038 }
6039 {
6040 if (!wxPyCheckForApp()) SWIG_fail;
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 {
6048 resultobj = wxPyMake_wxObject(result, 0);
6049 }
6050 return resultobj;
6051 fail:
6052 return NULL;
6053}
6054
6055
6056static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj = NULL;
6058 wxPoint *arg1 = 0 ;
6059 wxWindow *result;
6060 wxPoint temp1 ;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "pt", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
6067 {
6068 arg1 = &temp1;
6069 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
6070 }
6071 {
6072 if (!wxPyCheckForApp()) SWIG_fail;
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 {
6080 resultobj = wxPyMake_wxObject(result, 0);
6081 }
6082 return resultobj;
6083 fail:
6084 return NULL;
6085}
6086
6087
6088static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj = NULL;
6090 wxWindow *arg1 = (wxWindow *) 0 ;
6091 wxWindow *result;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "win", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
6098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail;
6100 {
6101 if (!wxPyCheckForApp()) SWIG_fail;
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (wxWindow *)wxGetTopLevelParent(arg1);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 {
6109 resultobj = wxPyMake_wxObject(result, 0);
6110 }
6111 return resultobj;
6112 fail:
6113 return NULL;
6114}
6115
6116
6117static PyObject *_wrap_LaunchDefaultBrowser(PyObject *, PyObject *args, PyObject *kwargs) {
6118 PyObject *resultobj = NULL;
6119 wxString *arg1 = 0 ;
6120 bool result;
6121 bool temp1 = false ;
6122 PyObject * obj0 = 0 ;
6123 char *kwnames[] = {
6124 (char *) "url", NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LaunchDefaultBrowser",kwnames,&obj0)) goto fail;
6128 {
6129 arg1 = wxString_in_helper(obj0);
6130 if (arg1 == NULL) SWIG_fail;
6131 temp1 = true;
6132 }
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (bool)wxLaunchDefaultBrowser((wxString const &)*arg1);
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 {
6141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6142 }
6143 {
6144 if (temp1)
6145 delete arg1;
6146 }
6147 return resultobj;
6148 fail:
6149 {
6150 if (temp1)
6151 delete arg1;
6152 }
6153 return NULL;
6154}
6155
6156
6157static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj = NULL;
6159 wxKeyCode arg1 ;
6160 bool result;
6161 PyObject * obj0 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "key", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
6167 {
6168 arg1 = static_cast<wxKeyCode >(SWIG_As_int(obj0));
6169 if (SWIG_arg_fail(1)) SWIG_fail;
6170 }
6171 {
6172 if (!wxPyCheckForApp()) SWIG_fail;
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (bool)wxGetKeyState(arg1);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 {
6180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6181 }
6182 return resultobj;
6183 fail:
6184 return NULL;
6185}
6186
6187
6188static PyObject *_wrap_new_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj = NULL;
6190 wxMouseState *result;
6191 char *kwnames[] = {
6192 NULL
6193 };
6194
6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MouseState",kwnames)) goto fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (wxMouseState *)new wxMouseState();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseState, 1);
6204 return resultobj;
6205 fail:
6206 return NULL;
6207}
6208
6209
6210static PyObject *_wrap_delete_MouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj = NULL;
6212 wxMouseState *arg1 = (wxMouseState *) 0 ;
6213 PyObject * obj0 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "self", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MouseState",kwnames,&obj0)) goto fail;
6219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6220 if (SWIG_arg_fail(1)) SWIG_fail;
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 delete arg1;
6224
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 Py_INCREF(Py_None); resultobj = Py_None;
6229 return resultobj;
6230 fail:
6231 return NULL;
6232}
6233
6234
6235static PyObject *_wrap_MouseState_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj = NULL;
6237 wxMouseState *arg1 = (wxMouseState *) 0 ;
6238 int result;
6239 PyObject * obj0 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetX",kwnames,&obj0)) goto fail;
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (int)(arg1)->GetX();
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 {
6255 resultobj = SWIG_From_int(static_cast<int >(result));
6256 }
6257 return resultobj;
6258 fail:
6259 return NULL;
6260}
6261
6262
6263static PyObject *_wrap_MouseState_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj = NULL;
6265 wxMouseState *arg1 = (wxMouseState *) 0 ;
6266 int result;
6267 PyObject * obj0 = 0 ;
6268 char *kwnames[] = {
6269 (char *) "self", NULL
6270 };
6271
6272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_GetY",kwnames,&obj0)) goto fail;
6273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6274 if (SWIG_arg_fail(1)) SWIG_fail;
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (int)(arg1)->GetY();
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 {
6283 resultobj = SWIG_From_int(static_cast<int >(result));
6284 }
6285 return resultobj;
6286 fail:
6287 return NULL;
6288}
6289
6290
6291static PyObject *_wrap_MouseState_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj = NULL;
6293 wxMouseState *arg1 = (wxMouseState *) 0 ;
6294 bool result;
6295 PyObject * obj0 = 0 ;
6296 char *kwnames[] = {
6297 (char *) "self", NULL
6298 };
6299
6300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_LeftDown",kwnames,&obj0)) goto fail;
6301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail;
6303 {
6304 PyThreadState* __tstate = wxPyBeginAllowThreads();
6305 result = (bool)(arg1)->LeftDown();
6306
6307 wxPyEndAllowThreads(__tstate);
6308 if (PyErr_Occurred()) SWIG_fail;
6309 }
6310 {
6311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6312 }
6313 return resultobj;
6314 fail:
6315 return NULL;
6316}
6317
6318
6319static PyObject *_wrap_MouseState_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj = NULL;
6321 wxMouseState *arg1 = (wxMouseState *) 0 ;
6322 bool result;
6323 PyObject * obj0 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MiddleDown",kwnames,&obj0)) goto fail;
6329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6330 if (SWIG_arg_fail(1)) SWIG_fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = (bool)(arg1)->MiddleDown();
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
6338 {
6339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6340 }
6341 return resultobj;
6342 fail:
6343 return NULL;
6344}
6345
6346
6347static PyObject *_wrap_MouseState_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj = NULL;
6349 wxMouseState *arg1 = (wxMouseState *) 0 ;
6350 bool result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_RightDown",kwnames,&obj0)) goto fail;
6357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6358 if (SWIG_arg_fail(1)) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (bool)(arg1)->RightDown();
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 {
6367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6368 }
6369 return resultobj;
6370 fail:
6371 return NULL;
6372}
6373
6374
6375static PyObject *_wrap_MouseState_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj = NULL;
6377 wxMouseState *arg1 = (wxMouseState *) 0 ;
6378 bool result;
6379 PyObject * obj0 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "self", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ControlDown",kwnames,&obj0)) goto fail;
6385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6386 if (SWIG_arg_fail(1)) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 result = (bool)(arg1)->ControlDown();
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 {
6395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6396 }
6397 return resultobj;
6398 fail:
6399 return NULL;
6400}
6401
6402
6403static PyObject *_wrap_MouseState_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj = NULL;
6405 wxMouseState *arg1 = (wxMouseState *) 0 ;
6406 bool result;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_ShiftDown",kwnames,&obj0)) goto fail;
6413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6414 if (SWIG_arg_fail(1)) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (bool)(arg1)->ShiftDown();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 {
6423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6424 }
6425 return resultobj;
6426 fail:
6427 return NULL;
6428}
6429
6430
6431static PyObject *_wrap_MouseState_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj = NULL;
6433 wxMouseState *arg1 = (wxMouseState *) 0 ;
6434 bool result;
6435 PyObject * obj0 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_AltDown",kwnames,&obj0)) goto fail;
6441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6442 if (SWIG_arg_fail(1)) SWIG_fail;
6443 {
6444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6445 result = (bool)(arg1)->AltDown();
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 {
6451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6452 }
6453 return resultobj;
6454 fail:
6455 return NULL;
6456}
6457
6458
6459static PyObject *_wrap_MouseState_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj = NULL;
6461 wxMouseState *arg1 = (wxMouseState *) 0 ;
6462 bool result;
6463 PyObject * obj0 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "self", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_MetaDown",kwnames,&obj0)) goto fail;
6469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6470 if (SWIG_arg_fail(1)) SWIG_fail;
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 result = (bool)(arg1)->MetaDown();
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 {
6479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6480 }
6481 return resultobj;
6482 fail:
6483 return NULL;
6484}
6485
6486
6487static PyObject *_wrap_MouseState_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj = NULL;
6489 wxMouseState *arg1 = (wxMouseState *) 0 ;
6490 bool result;
6491 PyObject * obj0 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "self", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseState_CmdDown",kwnames,&obj0)) goto fail;
6497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6498 if (SWIG_arg_fail(1)) SWIG_fail;
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = (bool)(arg1)->CmdDown();
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 {
6507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6508 }
6509 return resultobj;
6510 fail:
6511 return NULL;
6512}
6513
6514
6515static PyObject *_wrap_MouseState_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj = NULL;
6517 wxMouseState *arg1 = (wxMouseState *) 0 ;
6518 int arg2 ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "x", NULL
6523 };
6524
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetX",kwnames,&obj0,&obj1)) goto fail;
6526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6527 if (SWIG_arg_fail(1)) SWIG_fail;
6528 {
6529 arg2 = static_cast<int >(SWIG_As_int(obj1));
6530 if (SWIG_arg_fail(2)) SWIG_fail;
6531 }
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 (arg1)->SetX(arg2);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 Py_INCREF(Py_None); resultobj = Py_None;
6540 return resultobj;
6541 fail:
6542 return NULL;
6543}
6544
6545
6546static PyObject *_wrap_MouseState_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj = NULL;
6548 wxMouseState *arg1 = (wxMouseState *) 0 ;
6549 int arg2 ;
6550 PyObject * obj0 = 0 ;
6551 PyObject * obj1 = 0 ;
6552 char *kwnames[] = {
6553 (char *) "self",(char *) "y", NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetY",kwnames,&obj0,&obj1)) goto fail;
6557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6558 if (SWIG_arg_fail(1)) SWIG_fail;
6559 {
6560 arg2 = static_cast<int >(SWIG_As_int(obj1));
6561 if (SWIG_arg_fail(2)) SWIG_fail;
6562 }
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 (arg1)->SetY(arg2);
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 Py_INCREF(Py_None); resultobj = Py_None;
6571 return resultobj;
6572 fail:
6573 return NULL;
6574}
6575
6576
6577static PyObject *_wrap_MouseState_SetLeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6578 PyObject *resultobj = NULL;
6579 wxMouseState *arg1 = (wxMouseState *) 0 ;
6580 bool arg2 ;
6581 PyObject * obj0 = 0 ;
6582 PyObject * obj1 = 0 ;
6583 char *kwnames[] = {
6584 (char *) "self",(char *) "down", NULL
6585 };
6586
6587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetLeftDown",kwnames,&obj0,&obj1)) goto fail;
6588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6589 if (SWIG_arg_fail(1)) SWIG_fail;
6590 {
6591 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6592 if (SWIG_arg_fail(2)) SWIG_fail;
6593 }
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 (arg1)->SetLeftDown(arg2);
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 Py_INCREF(Py_None); resultobj = Py_None;
6602 return resultobj;
6603 fail:
6604 return NULL;
6605}
6606
6607
6608static PyObject *_wrap_MouseState_SetMiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj = NULL;
6610 wxMouseState *arg1 = (wxMouseState *) 0 ;
6611 bool arg2 ;
6612 PyObject * obj0 = 0 ;
6613 PyObject * obj1 = 0 ;
6614 char *kwnames[] = {
6615 (char *) "self",(char *) "down", NULL
6616 };
6617
6618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMiddleDown",kwnames,&obj0,&obj1)) goto fail;
6619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6620 if (SWIG_arg_fail(1)) SWIG_fail;
6621 {
6622 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6623 if (SWIG_arg_fail(2)) SWIG_fail;
6624 }
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 (arg1)->SetMiddleDown(arg2);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 Py_INCREF(Py_None); resultobj = Py_None;
6633 return resultobj;
6634 fail:
6635 return NULL;
6636}
6637
6638
6639static PyObject *_wrap_MouseState_SetRightDown(PyObject *, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj = NULL;
6641 wxMouseState *arg1 = (wxMouseState *) 0 ;
6642 bool arg2 ;
6643 PyObject * obj0 = 0 ;
6644 PyObject * obj1 = 0 ;
6645 char *kwnames[] = {
6646 (char *) "self",(char *) "down", NULL
6647 };
6648
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetRightDown",kwnames,&obj0,&obj1)) goto fail;
6650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6651 if (SWIG_arg_fail(1)) SWIG_fail;
6652 {
6653 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6654 if (SWIG_arg_fail(2)) SWIG_fail;
6655 }
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 (arg1)->SetRightDown(arg2);
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 Py_INCREF(Py_None); resultobj = Py_None;
6664 return resultobj;
6665 fail:
6666 return NULL;
6667}
6668
6669
6670static PyObject *_wrap_MouseState_SetControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj = NULL;
6672 wxMouseState *arg1 = (wxMouseState *) 0 ;
6673 bool arg2 ;
d55e5bfc 6674 PyObject * obj0 = 0 ;
32fe5131 6675 PyObject * obj1 = 0 ;
d55e5bfc 6676 char *kwnames[] = {
32fe5131 6677 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6678 };
6679
32fe5131
RD
6680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetControlDown",kwnames,&obj0,&obj1)) goto fail;
6681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6683 {
32fe5131
RD
6684 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6685 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6686 }
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6689 (arg1)->SetControlDown(arg2);
d55e5bfc
RD
6690
6691 wxPyEndAllowThreads(__tstate);
110da5b0 6692 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6693 }
32fe5131 6694 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
32fe5131
RD
6701static PyObject *_wrap_MouseState_SetShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj = NULL;
6703 wxMouseState *arg1 = (wxMouseState *) 0 ;
6704 bool arg2 ;
d55e5bfc 6705 PyObject * obj0 = 0 ;
32fe5131 6706 PyObject * obj1 = 0 ;
d55e5bfc 6707 char *kwnames[] = {
32fe5131 6708 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6709 };
6710
32fe5131
RD
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetShiftDown",kwnames,&obj0,&obj1)) goto fail;
6712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6713 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6714 {
32fe5131
RD
6715 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6716 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6720 (arg1)->SetShiftDown(arg2);
d55e5bfc
RD
6721
6722 wxPyEndAllowThreads(__tstate);
110da5b0 6723 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6724 }
32fe5131 6725 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
32fe5131
RD
6732static PyObject *_wrap_MouseState_SetAltDown(PyObject *, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj = NULL;
6734 wxMouseState *arg1 = (wxMouseState *) 0 ;
6735 bool arg2 ;
d55e5bfc 6736 PyObject * obj0 = 0 ;
32fe5131 6737 PyObject * obj1 = 0 ;
d55e5bfc 6738 char *kwnames[] = {
32fe5131 6739 (char *) "self",(char *) "down", NULL
d55e5bfc
RD
6740 };
6741
32fe5131
RD
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetAltDown",kwnames,&obj0,&obj1)) goto fail;
6743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
36ed4f51 6744 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 6745 {
32fe5131
RD
6746 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6747 if (SWIG_arg_fail(2)) SWIG_fail;
6748 }
6749 {
d55e5bfc 6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6751 (arg1)->SetAltDown(arg2);
d55e5bfc
RD
6752
6753 wxPyEndAllowThreads(__tstate);
110da5b0 6754 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6755 }
32fe5131 6756 Py_INCREF(Py_None); resultobj = Py_None;
d55e5bfc
RD
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
32fe5131
RD
6763static PyObject *_wrap_MouseState_SetMetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj = NULL;
6765 wxMouseState *arg1 = (wxMouseState *) 0 ;
6766 bool arg2 ;
d04418a7 6767 PyObject * obj0 = 0 ;
32fe5131 6768 PyObject * obj1 = 0 ;
d04418a7 6769 char *kwnames[] = {
32fe5131 6770 (char *) "self",(char *) "down", NULL
d04418a7
RD
6771 };
6772
32fe5131
RD
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseState_SetMetaDown",kwnames,&obj0,&obj1)) goto fail;
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMouseState, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
d04418a7 6776 {
32fe5131
RD
6777 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
6778 if (SWIG_arg_fail(2)) SWIG_fail;
d04418a7
RD
6779 }
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6782 (arg1)->SetMetaDown(arg2);
d04418a7
RD
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
32fe5131 6787 Py_INCREF(Py_None); resultobj = Py_None;
d04418a7
RD
6788 return resultobj;
6789 fail:
d04418a7
RD
6790 return NULL;
6791}
6792
6793
32fe5131
RD
6794static PyObject * MouseState_swigregister(PyObject *, PyObject *args) {
6795 PyObject *obj;
6796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6797 SWIG_TypeClientData(SWIGTYPE_p_wxMouseState, obj);
6798 Py_INCREF(obj);
6799 return Py_BuildValue((char *)"");
6800}
6801static PyObject *_wrap_GetMouseState(PyObject *, PyObject *args, PyObject *kwargs) {
6802 PyObject *resultobj = NULL;
6803 wxMouseState result;
d55e5bfc 6804 char *kwnames[] = {
32fe5131 6805 NULL
d55e5bfc
RD
6806 };
6807
32fe5131 6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMouseState",kwnames)) goto fail;
d55e5bfc
RD
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 6811 result = wxGetMouseState();
d55e5bfc
RD
6812
6813 wxPyEndAllowThreads(__tstate);
110da5b0 6814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6815 }
6816 {
32fe5131
RD
6817 wxMouseState * resultptr;
6818 resultptr = new wxMouseState(static_cast<wxMouseState & >(result));
6819 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMouseState, 1);
d55e5bfc
RD
6820 }
6821 return resultobj;
6822 fail:
6823 return NULL;
6824}
6825
6826
c370783e 6827static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6828 PyObject *resultobj = NULL;
d55e5bfc
RD
6829 char *kwnames[] = {
6830 NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6834 {
0439c23b 6835 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 wxWakeUpMainThread();
6838
6839 wxPyEndAllowThreads(__tstate);
110da5b0 6840 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846}
6847
6848
c370783e 6849static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6850 PyObject *resultobj = NULL;
d55e5bfc
RD
6851 char *kwnames[] = {
6852 NULL
6853 };
6854
6855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6856 {
0439c23b 6857 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 wxMutexGuiEnter();
6860
6861 wxPyEndAllowThreads(__tstate);
110da5b0 6862 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6863 }
6864 Py_INCREF(Py_None); resultobj = Py_None;
6865 return resultobj;
6866 fail:
6867 return NULL;
6868}
6869
6870
c370783e 6871static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6872 PyObject *resultobj = NULL;
d55e5bfc
RD
6873 char *kwnames[] = {
6874 NULL
6875 };
6876
6877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6878 {
0439c23b 6879 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 wxMutexGuiLeave();
6882
6883 wxPyEndAllowThreads(__tstate);
110da5b0 6884 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6885 }
6886 Py_INCREF(Py_None); resultobj = Py_None;
6887 return resultobj;
6888 fail:
6889 return NULL;
6890}
6891
6892
c370783e 6893static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6894 PyObject *resultobj = NULL;
d55e5bfc
RD
6895 wxMutexGuiLocker *result;
6896 char *kwnames[] = {
6897 NULL
6898 };
6899
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6901 {
0439c23b 6902 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6905
6906 wxPyEndAllowThreads(__tstate);
110da5b0 6907 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6908 }
6909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6910 return resultobj;
6911 fail:
6912 return NULL;
6913}
6914
6915
c370783e 6916static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6917 PyObject *resultobj = NULL;
d55e5bfc
RD
6918 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
36ed4f51
RD
6925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6926 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 delete arg1;
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 Py_INCREF(Py_None); resultobj = Py_None;
6935 return resultobj;
6936 fail:
6937 return NULL;
6938}
6939
6940
c370783e 6941static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6942 PyObject *obj;
6943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6945 Py_INCREF(obj);
6946 return Py_BuildValue((char *)"");
6947}
c370783e 6948static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6949 PyObject *resultobj = NULL;
d55e5bfc
RD
6950 bool result;
6951 char *kwnames[] = {
6952 NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (bool)wxThread_IsMain();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 {
6964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6965 }
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
c370783e 6972static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 6973 PyObject *resultobj = NULL;
d55e5bfc
RD
6974 wxString *arg1 = 0 ;
6975 wxToolTip *result;
b411df4a 6976 bool temp1 = false ;
d55e5bfc
RD
6977 PyObject * obj0 = 0 ;
6978 char *kwnames[] = {
6979 (char *) "tip", NULL
6980 };
6981
6982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6983 {
6984 arg1 = wxString_in_helper(obj0);
6985 if (arg1 == NULL) SWIG_fail;
b411df4a 6986 temp1 = true;
d55e5bfc
RD
6987 }
6988 {
0439c23b 6989 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6992
6993 wxPyEndAllowThreads(__tstate);
110da5b0 6994 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 6995 }
7e08d4ef 6996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolTip, 1);
d55e5bfc
RD
6997 {
6998 if (temp1)
6999 delete arg1;
7000 }
7001 return resultobj;
7002 fail:
7003 {
7004 if (temp1)
7005 delete arg1;
7006 }
7007 return NULL;
7008}
7009
7010
7e08d4ef
RD
7011static PyObject *_wrap_delete_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj = NULL;
7013 wxToolTip *arg1 = (wxToolTip *) 0 ;
7014 PyObject * obj0 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ToolTip",kwnames,&obj0)) goto fail;
7020 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7021 if (SWIG_arg_fail(1)) SWIG_fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 delete arg1;
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 Py_INCREF(Py_None); resultobj = Py_None;
7030 return resultobj;
7031 fail:
7032 return NULL;
7033}
7034
7035
c370783e 7036static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7037 PyObject *resultobj = NULL;
d55e5bfc
RD
7038 wxToolTip *arg1 = (wxToolTip *) 0 ;
7039 wxString *arg2 = 0 ;
b411df4a 7040 bool temp2 = false ;
d55e5bfc
RD
7041 PyObject * obj0 = 0 ;
7042 PyObject * obj1 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self",(char *) "tip", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7049 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7050 {
7051 arg2 = wxString_in_helper(obj1);
7052 if (arg2 == NULL) SWIG_fail;
b411df4a 7053 temp2 = true;
d55e5bfc
RD
7054 }
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 (arg1)->SetTip((wxString const &)*arg2);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 {
7064 if (temp2)
7065 delete arg2;
7066 }
7067 return resultobj;
7068 fail:
7069 {
7070 if (temp2)
7071 delete arg2;
7072 }
7073 return NULL;
7074}
7075
7076
c370783e 7077static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7078 PyObject *resultobj = NULL;
d55e5bfc
RD
7079 wxToolTip *arg1 = (wxToolTip *) 0 ;
7080 wxString result;
7081 PyObject * obj0 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
36ed4f51
RD
7087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = (arg1)->GetTip();
7092
7093 wxPyEndAllowThreads(__tstate);
7094 if (PyErr_Occurred()) SWIG_fail;
7095 }
7096 {
7097#if wxUSE_UNICODE
7098 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7099#else
7100 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7101#endif
7102 }
7103 return resultobj;
7104 fail:
7105 return NULL;
7106}
7107
7108
c370783e 7109static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7110 PyObject *resultobj = NULL;
d55e5bfc
RD
7111 wxToolTip *arg1 = (wxToolTip *) 0 ;
7112 wxWindow *result;
7113 PyObject * obj0 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
7119 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
7120 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 result = (wxWindow *)(arg1)->GetWindow();
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 {
412d302d 7129 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7130 }
7131 return resultobj;
7132 fail:
7133 return NULL;
7134}
7135
7136
c370783e 7137static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7138 PyObject *resultobj = NULL;
d55e5bfc
RD
7139 bool arg1 ;
7140 PyObject * obj0 = 0 ;
7141 char *kwnames[] = {
7142 (char *) "flag", NULL
7143 };
7144
7145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
36ed4f51 7146 {
32fe5131 7147 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
36ed4f51
RD
7148 if (SWIG_arg_fail(1)) SWIG_fail;
7149 }
d55e5bfc
RD
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 wxToolTip::Enable(arg1);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 Py_INCREF(Py_None); resultobj = Py_None;
7158 return resultobj;
7159 fail:
7160 return NULL;
7161}
7162
7163
c370783e 7164static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7165 PyObject *resultobj = NULL;
d55e5bfc
RD
7166 long arg1 ;
7167 PyObject * obj0 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "milliseconds", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
36ed4f51 7173 {
32fe5131 7174 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
7175 if (SWIG_arg_fail(1)) SWIG_fail;
7176 }
d55e5bfc
RD
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 wxToolTip::SetDelay(arg1);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 Py_INCREF(Py_None); resultobj = Py_None;
7185 return resultobj;
7186 fail:
7187 return NULL;
7188}
7189
7190
c370783e 7191static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7192 PyObject *obj;
7193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7194 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
7195 Py_INCREF(obj);
7196 return Py_BuildValue((char *)"");
7197}
c370783e 7198static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7199 PyObject *resultobj = NULL;
d55e5bfc
RD
7200 wxWindow *arg1 = (wxWindow *) 0 ;
7201 wxSize *arg2 = 0 ;
7202 wxCaret *result;
7203 wxSize temp2 ;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 char *kwnames[] = {
7207 (char *) "window",(char *) "size", NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7212 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7213 {
7214 arg2 = &temp2;
7215 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7216 }
7217 {
0439c23b 7218 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7219 PyThreadState* __tstate = wxPyBeginAllowThreads();
7220 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
7221
7222 wxPyEndAllowThreads(__tstate);
110da5b0 7223 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7224 }
7225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
7226 return resultobj;
7227 fail:
7228 return NULL;
7229}
7230
7231
7e08d4ef
RD
7232static PyObject *_wrap_delete_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj = NULL;
7234 wxCaret *arg1 = (wxCaret *) 0 ;
7235 PyObject * obj0 = 0 ;
7236 char *kwnames[] = {
7237 (char *) "self", NULL
7238 };
7239
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Caret",kwnames,&obj0)) goto fail;
7241 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7242 if (SWIG_arg_fail(1)) SWIG_fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 delete arg1;
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 Py_INCREF(Py_None); resultobj = Py_None;
7251 return resultobj;
7252 fail:
7253 return NULL;
7254}
7255
7256
091fdbfa 7257static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7258 PyObject *resultobj = NULL;
d55e5bfc
RD
7259 wxCaret *arg1 = (wxCaret *) 0 ;
7260 PyObject * obj0 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self", NULL
7263 };
7264
091fdbfa 7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
7266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7270 wxCaret_Destroy(arg1);
d55e5bfc
RD
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 Py_INCREF(Py_None); resultobj = Py_None;
7276 return resultobj;
7277 fail:
7278 return NULL;
7279}
7280
7281
c370783e 7282static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7283 PyObject *resultobj = NULL;
d55e5bfc
RD
7284 wxCaret *arg1 = (wxCaret *) 0 ;
7285 bool result;
7286 PyObject * obj0 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "self", NULL
7289 };
7290
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
7292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 result = (bool)(arg1)->IsOk();
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 {
7302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7303 }
7304 return resultobj;
7305 fail:
7306 return NULL;
7307}
7308
7309
c370783e 7310static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7311 PyObject *resultobj = NULL;
d55e5bfc
RD
7312 wxCaret *arg1 = (wxCaret *) 0 ;
7313 bool result;
7314 PyObject * obj0 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
36ed4f51
RD
7320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (bool)(arg1)->IsVisible();
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 {
7330 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7331 }
7332 return resultobj;
7333 fail:
7334 return NULL;
7335}
7336
7337
c370783e 7338static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7339 PyObject *resultobj = NULL;
d55e5bfc
RD
7340 wxCaret *arg1 = (wxCaret *) 0 ;
7341 wxPoint result;
7342 PyObject * obj0 = 0 ;
7343 char *kwnames[] = {
7344 (char *) "self", NULL
7345 };
7346
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
7348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (arg1)->GetPosition();
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 {
7358 wxPoint * resultptr;
32fe5131 7359 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
7360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
7361 }
7362 return resultobj;
7363 fail:
7364 return NULL;
7365}
7366
7367
c370783e 7368static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7369 PyObject *resultobj = NULL;
d55e5bfc
RD
7370 wxCaret *arg1 = (wxCaret *) 0 ;
7371 int *arg2 = (int *) 0 ;
7372 int *arg3 = (int *) 0 ;
7373 int temp2 ;
c370783e 7374 int res2 = 0 ;
d55e5bfc 7375 int temp3 ;
c370783e 7376 int res3 = 0 ;
d55e5bfc
RD
7377 PyObject * obj0 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "self", NULL
7380 };
7381
c370783e
RD
7382 arg2 = &temp2; res2 = SWIG_NEWOBJ;
7383 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
36ed4f51
RD
7385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7386 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 (arg1)->GetPosition(arg2,arg3);
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
7395 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
7396 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
7397 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7398 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
7399 return resultobj;
7400 fail:
7401 return NULL;
7402}
7403
7404
c370783e 7405static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7406 PyObject *resultobj = NULL;
d55e5bfc
RD
7407 wxCaret *arg1 = (wxCaret *) 0 ;
7408 wxSize result;
7409 PyObject * obj0 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "self", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
7415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 result = (arg1)->GetSize();
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 {
7425 wxSize * resultptr;
32fe5131 7426 resultptr = new wxSize(static_cast<wxSize & >(result));
d55e5bfc
RD
7427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
7428 }
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
c370783e 7435static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7436 PyObject *resultobj = NULL;
d55e5bfc
RD
7437 wxCaret *arg1 = (wxCaret *) 0 ;
7438 int *arg2 = (int *) 0 ;
7439 int *arg3 = (int *) 0 ;
7440 int temp2 ;
c370783e 7441 int res2 = 0 ;
d55e5bfc 7442 int temp3 ;
c370783e 7443 int res3 = 0 ;
d55e5bfc
RD
7444 PyObject * obj0 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self", NULL
7447 };
7448
c370783e
RD
7449 arg2 = &temp2; res2 = SWIG_NEWOBJ;
7450 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
36ed4f51
RD
7452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->GetSize(arg2,arg3);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
7462 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
7463 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
7464 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7465 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
7466 return resultobj;
7467 fail:
7468 return NULL;
7469}
7470
7471
c370783e 7472static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7473 PyObject *resultobj = NULL;
d55e5bfc
RD
7474 wxCaret *arg1 = (wxCaret *) 0 ;
7475 wxWindow *result;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
7482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (wxWindow *)(arg1)->GetWindow();
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 {
412d302d 7492 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
7493 }
7494 return resultobj;
7495 fail:
7496 return NULL;
7497}
7498
7499
c370783e 7500static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7501 PyObject *resultobj = NULL;
d55e5bfc
RD
7502 wxCaret *arg1 = (wxCaret *) 0 ;
7503 int arg2 ;
7504 int arg3 ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 PyObject * obj2 = 0 ;
7508 char *kwnames[] = {
7509 (char *) "self",(char *) "x",(char *) "y", NULL
7510 };
7511
7512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7514 if (SWIG_arg_fail(1)) SWIG_fail;
7515 {
32fe5131 7516 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7517 if (SWIG_arg_fail(2)) SWIG_fail;
7518 }
7519 {
32fe5131 7520 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7521 if (SWIG_arg_fail(3)) SWIG_fail;
7522 }
d55e5bfc
RD
7523 {
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 (arg1)->Move(arg2,arg3);
7526
7527 wxPyEndAllowThreads(__tstate);
7528 if (PyErr_Occurred()) SWIG_fail;
7529 }
7530 Py_INCREF(Py_None); resultobj = Py_None;
7531 return resultobj;
7532 fail:
7533 return NULL;
7534}
7535
7536
c370783e 7537static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7538 PyObject *resultobj = NULL;
d55e5bfc
RD
7539 wxCaret *arg1 = (wxCaret *) 0 ;
7540 wxPoint *arg2 = 0 ;
7541 wxPoint temp2 ;
7542 PyObject * obj0 = 0 ;
7543 PyObject * obj1 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self",(char *) "pt", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7550 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7551 {
7552 arg2 = &temp2;
7553 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7554 }
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 (arg1)->Move((wxPoint const &)*arg2);
7558
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 Py_INCREF(Py_None); resultobj = Py_None;
7563 return resultobj;
7564 fail:
7565 return NULL;
7566}
7567
7568
c370783e 7569static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7570 PyObject *resultobj = NULL;
d55e5bfc
RD
7571 wxCaret *arg1 = (wxCaret *) 0 ;
7572 int arg2 ;
7573 int arg3 ;
7574 PyObject * obj0 = 0 ;
7575 PyObject * obj1 = 0 ;
7576 PyObject * obj2 = 0 ;
7577 char *kwnames[] = {
7578 (char *) "self",(char *) "width",(char *) "height", NULL
7579 };
7580
7581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail;
7584 {
32fe5131 7585 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7586 if (SWIG_arg_fail(2)) SWIG_fail;
7587 }
7588 {
32fe5131 7589 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
7590 if (SWIG_arg_fail(3)) SWIG_fail;
7591 }
d55e5bfc
RD
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 (arg1)->SetSize(arg2,arg3);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 Py_INCREF(Py_None); resultobj = Py_None;
7600 return resultobj;
7601 fail:
7602 return NULL;
7603}
7604
7605
c370783e 7606static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7607 PyObject *resultobj = NULL;
d55e5bfc
RD
7608 wxCaret *arg1 = (wxCaret *) 0 ;
7609 wxSize *arg2 = 0 ;
7610 wxSize temp2 ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self",(char *) "size", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7619 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7620 {
7621 arg2 = &temp2;
7622 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7623 }
7624 {
7625 PyThreadState* __tstate = wxPyBeginAllowThreads();
7626 (arg1)->SetSize((wxSize const &)*arg2);
7627
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 Py_INCREF(Py_None); resultobj = Py_None;
7632 return resultobj;
7633 fail:
7634 return NULL;
7635}
7636
7637
c370783e 7638static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7639 PyObject *resultobj = NULL;
d55e5bfc 7640 wxCaret *arg1 = (wxCaret *) 0 ;
b411df4a 7641 int arg2 = (int) true ;
d55e5bfc
RD
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char *kwnames[] = {
7645 (char *) "self",(char *) "show", NULL
7646 };
7647
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7651 if (obj1) {
36ed4f51 7652 {
32fe5131 7653 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
7654 if (SWIG_arg_fail(2)) SWIG_fail;
7655 }
d55e5bfc
RD
7656 }
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 (arg1)->Show(arg2);
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 Py_INCREF(Py_None); resultobj = Py_None;
7665 return resultobj;
7666 fail:
7667 return NULL;
7668}
7669
7670
c370783e 7671static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7672 PyObject *resultobj = NULL;
d55e5bfc
RD
7673 wxCaret *arg1 = (wxCaret *) 0 ;
7674 PyObject * obj0 = 0 ;
7675 char *kwnames[] = {
7676 (char *) "self", NULL
7677 };
7678
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
36ed4f51
RD
7680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
7681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->Hide();
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 Py_INCREF(Py_None); resultobj = Py_None;
7690 return resultobj;
7691 fail:
7692 return NULL;
7693}
7694
7695
c370783e 7696static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7697 PyObject *resultobj = NULL;
d55e5bfc
RD
7698 int result;
7699 char *kwnames[] = {
7700 NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7706 result = (int)wxCaret::GetBlinkTime();
d55e5bfc
RD
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
36ed4f51 7711 {
32fe5131 7712 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 7713 }
d55e5bfc
RD
7714 return resultobj;
7715 fail:
7716 return NULL;
7717}
7718
7719
c370783e 7720static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7721 PyObject *resultobj = NULL;
d55e5bfc
RD
7722 int arg1 ;
7723 PyObject * obj0 = 0 ;
7724 char *kwnames[] = {
7725 (char *) "milliseconds", NULL
7726 };
7727
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
36ed4f51 7729 {
32fe5131 7730 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
7731 if (SWIG_arg_fail(1)) SWIG_fail;
7732 }
d55e5bfc
RD
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
091fdbfa 7735 wxCaret::SetBlinkTime(arg1);
d55e5bfc
RD
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 Py_INCREF(Py_None); resultobj = Py_None;
7741 return resultobj;
7742 fail:
7743 return NULL;
7744}
7745
7746
091fdbfa
RD
7747static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
7748 PyObject *obj;
7749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7750 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
7751 Py_INCREF(obj);
7752 return Py_BuildValue((char *)"");
7753}
c370783e 7754static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7755 PyObject *resultobj = NULL;
d55e5bfc
RD
7756 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
7757 wxBusyCursor *result;
7758 PyObject * obj0 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "cursor", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
7764 if (obj0) {
36ed4f51
RD
7765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
7766 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7767 }
7768 {
0439c23b 7769 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (wxBusyCursor *)new wxBusyCursor(arg1);
7772
7773 wxPyEndAllowThreads(__tstate);
110da5b0 7774 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7775 }
7776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
7777 return resultobj;
7778 fail:
7779 return NULL;
7780}
7781
7782
c370783e 7783static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7784 PyObject *resultobj = NULL;
d55e5bfc
RD
7785 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
7786 PyObject * obj0 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
36ed4f51
RD
7792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 delete arg1;
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 Py_INCREF(Py_None); resultobj = Py_None;
7802 return resultobj;
7803 fail:
7804 return NULL;
7805}
7806
7807
c370783e 7808static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7809 PyObject *obj;
7810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7811 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
7812 Py_INCREF(obj);
7813 return Py_BuildValue((char *)"");
7814}
c370783e 7815static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7816 PyObject *resultobj = NULL;
d55e5bfc
RD
7817 wxWindow *arg1 = (wxWindow *) NULL ;
7818 wxWindowDisabler *result;
7819 PyObject * obj0 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "winToSkip", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
7825 if (obj0) {
36ed4f51
RD
7826 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7827 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7828 }
7829 {
0439c23b 7830 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7831 PyThreadState* __tstate = wxPyBeginAllowThreads();
7832 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
7833
7834 wxPyEndAllowThreads(__tstate);
110da5b0 7835 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7836 }
7837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
7838 return resultobj;
7839 fail:
7840 return NULL;
7841}
7842
7843
c370783e 7844static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7845 PyObject *resultobj = NULL;
d55e5bfc
RD
7846 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
7847 PyObject * obj0 = 0 ;
7848 char *kwnames[] = {
7849 (char *) "self", NULL
7850 };
7851
7852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
36ed4f51
RD
7853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
7854 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 delete arg1;
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 return resultobj;
7864 fail:
7865 return NULL;
7866}
7867
7868
c370783e 7869static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7870 PyObject *obj;
7871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7872 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
7873 Py_INCREF(obj);
7874 return Py_BuildValue((char *)"");
7875}
c370783e 7876static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7877 PyObject *resultobj = NULL;
d55e5bfc
RD
7878 wxString *arg1 = 0 ;
7879 wxBusyInfo *result;
b411df4a 7880 bool temp1 = false ;
d55e5bfc
RD
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "message", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7887 {
7888 arg1 = wxString_in_helper(obj0);
7889 if (arg1 == NULL) SWIG_fail;
b411df4a 7890 temp1 = true;
d55e5bfc
RD
7891 }
7892 {
0439c23b 7893 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7896
7897 wxPyEndAllowThreads(__tstate);
110da5b0 7898 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7899 }
7900 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7901 {
7902 if (temp1)
7903 delete arg1;
7904 }
7905 return resultobj;
7906 fail:
7907 {
7908 if (temp1)
7909 delete arg1;
7910 }
7911 return NULL;
7912}
7913
7914
c370783e 7915static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7916 PyObject *resultobj = NULL;
d55e5bfc
RD
7917 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7918 PyObject * obj0 = 0 ;
7919 char *kwnames[] = {
7920 (char *) "self", NULL
7921 };
7922
7923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
7924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 delete arg1;
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 Py_INCREF(Py_None); resultobj = Py_None;
7934 return resultobj;
7935 fail:
7936 return NULL;
7937}
7938
7939
c370783e 7940static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7941 PyObject *obj;
7942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7943 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7944 Py_INCREF(obj);
7945 return Py_BuildValue((char *)"");
7946}
c370783e 7947static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7948 PyObject *resultobj = NULL;
d55e5bfc
RD
7949 wxStopWatch *result;
7950 char *kwnames[] = {
7951 NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (wxStopWatch *)new wxStopWatch();
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7963 return resultobj;
7964 fail:
7965 return NULL;
7966}
7967
7968
c370783e 7969static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 7970 PyObject *resultobj = NULL;
d55e5bfc
RD
7971 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7972 long arg2 = (long) 0 ;
7973 PyObject * obj0 = 0 ;
7974 PyObject * obj1 = 0 ;
7975 char *kwnames[] = {
7976 (char *) "self",(char *) "t0", NULL
7977 };
7978
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7982 if (obj1) {
36ed4f51 7983 {
32fe5131 7984 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
7985 if (SWIG_arg_fail(2)) SWIG_fail;
7986 }
d55e5bfc
RD
7987 }
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 (arg1)->Start(arg2);
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 Py_INCREF(Py_None); resultobj = Py_None;
7996 return resultobj;
7997 fail:
7998 return NULL;
7999}
8000
8001
c370783e 8002static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8003 PyObject *resultobj = NULL;
d55e5bfc
RD
8004 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8005 PyObject * obj0 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
36ed4f51
RD
8011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->Pause();
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 Py_INCREF(Py_None); resultobj = Py_None;
8021 return resultobj;
8022 fail:
8023 return NULL;
8024}
8025
8026
c370783e 8027static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8028 PyObject *resultobj = NULL;
d55e5bfc
RD
8029 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8030 PyObject * obj0 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "self", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
36ed4f51
RD
8036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 (arg1)->Resume();
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 Py_INCREF(Py_None); resultobj = Py_None;
8046 return resultobj;
8047 fail:
8048 return NULL;
8049}
8050
8051
c370783e 8052static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8053 PyObject *resultobj = NULL;
d55e5bfc
RD
8054 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
8055 long result;
8056 PyObject * obj0 = 0 ;
8057 char *kwnames[] = {
8058 (char *) "self", NULL
8059 };
8060
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
36ed4f51
RD
8062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
8063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 result = (long)((wxStopWatch const *)arg1)->Time();
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
36ed4f51 8071 {
32fe5131 8072 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 8073 }
d55e5bfc
RD
8074 return resultobj;
8075 fail:
8076 return NULL;
8077}
8078
8079
c370783e 8080static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8081 PyObject *obj;
8082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8083 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
8084 Py_INCREF(obj);
8085 return Py_BuildValue((char *)"");
8086}
c370783e 8087static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8088 PyObject *resultobj = NULL;
d55e5bfc 8089 int arg1 = (int) 9 ;
4cf4100f 8090 int arg2 = (int) wxID_FILE1 ;
d55e5bfc
RD
8091 wxFileHistory *result;
8092 PyObject * obj0 = 0 ;
4cf4100f 8093 PyObject * obj1 = 0 ;
d55e5bfc 8094 char *kwnames[] = {
4cf4100f 8095 (char *) "maxFiles",(char *) "idBase", NULL
d55e5bfc
RD
8096 };
8097
4cf4100f 8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc 8099 if (obj0) {
36ed4f51 8100 {
32fe5131 8101 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
8102 if (SWIG_arg_fail(1)) SWIG_fail;
8103 }
d55e5bfc 8104 }
4cf4100f 8105 if (obj1) {
36ed4f51 8106 {
32fe5131 8107 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8108 if (SWIG_arg_fail(2)) SWIG_fail;
8109 }
4cf4100f 8110 }
d55e5bfc
RD
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 8113 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
d55e5bfc
RD
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
8119 return resultobj;
8120 fail:
8121 return NULL;
8122}
8123
8124
c370783e 8125static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8126 PyObject *resultobj = NULL;
d55e5bfc
RD
8127 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8128 PyObject * obj0 = 0 ;
8129 char *kwnames[] = {
8130 (char *) "self", NULL
8131 };
8132
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
36ed4f51
RD
8134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8135 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 delete arg1;
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 Py_INCREF(Py_None); resultobj = Py_None;
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
c370783e 8150static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8151 PyObject *resultobj = NULL;
d55e5bfc
RD
8152 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8153 wxString *arg2 = 0 ;
b411df4a 8154 bool temp2 = false ;
d55e5bfc
RD
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self",(char *) "file", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8163 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8164 {
8165 arg2 = wxString_in_helper(obj1);
8166 if (arg2 == NULL) SWIG_fail;
b411df4a 8167 temp2 = true;
d55e5bfc
RD
8168 }
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->AddFileToHistory((wxString const &)*arg2);
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 {
8178 if (temp2)
8179 delete arg2;
8180 }
8181 return resultobj;
8182 fail:
8183 {
8184 if (temp2)
8185 delete arg2;
8186 }
8187 return NULL;
8188}
8189
8190
c370783e 8191static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8192 PyObject *resultobj = NULL;
d55e5bfc
RD
8193 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8194 int arg2 ;
8195 PyObject * obj0 = 0 ;
8196 PyObject * obj1 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "self",(char *) "i", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8203 if (SWIG_arg_fail(1)) SWIG_fail;
8204 {
32fe5131 8205 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8206 if (SWIG_arg_fail(2)) SWIG_fail;
8207 }
d55e5bfc
RD
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 (arg1)->RemoveFileFromHistory(arg2);
8211
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
8215 Py_INCREF(Py_None); resultobj = Py_None;
8216 return resultobj;
8217 fail:
8218 return NULL;
8219}
8220
8221
c370783e 8222static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8223 PyObject *resultobj = NULL;
d55e5bfc
RD
8224 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8225 int result;
8226 PyObject * obj0 = 0 ;
8227 char *kwnames[] = {
8228 (char *) "self", NULL
8229 };
8230
8231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
36ed4f51
RD
8232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8233 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
36ed4f51 8241 {
32fe5131 8242 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8243 }
d55e5bfc
RD
8244 return resultobj;
8245 fail:
8246 return NULL;
8247}
8248
8249
c370783e 8250static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8251 PyObject *resultobj = NULL;
d55e5bfc
RD
8252 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8253 wxMenu *arg2 = (wxMenu *) 0 ;
8254 PyObject * obj0 = 0 ;
8255 PyObject * obj1 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self",(char *) "menu", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8262 if (SWIG_arg_fail(1)) SWIG_fail;
8263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8264 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 (arg1)->UseMenu(arg2);
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 Py_INCREF(Py_None); resultobj = Py_None;
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
c370783e 8279static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8280 PyObject *resultobj = NULL;
d55e5bfc
RD
8281 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8282 wxMenu *arg2 = (wxMenu *) 0 ;
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 char *kwnames[] = {
8286 (char *) "self",(char *) "menu", NULL
8287 };
8288
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail;
8292 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8293 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 (arg1)->RemoveMenu(arg2);
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 return resultobj;
8303 fail:
8304 return NULL;
8305}
8306
8307
c370783e 8308static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8309 PyObject *resultobj = NULL;
d55e5bfc
RD
8310 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8311 wxConfigBase *arg2 = 0 ;
8312 PyObject * obj0 = 0 ;
8313 PyObject * obj1 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "config", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail;
8321 {
8322 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8323 if (SWIG_arg_fail(2)) SWIG_fail;
8324 if (arg2 == NULL) {
8325 SWIG_null_ref("wxConfigBase");
8326 }
8327 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8328 }
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 (arg1)->Load(*arg2);
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 Py_INCREF(Py_None); resultobj = Py_None;
8337 return resultobj;
8338 fail:
8339 return NULL;
8340}
8341
8342
c370783e 8343static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8344 PyObject *resultobj = NULL;
d55e5bfc
RD
8345 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8346 wxConfigBase *arg2 = 0 ;
8347 PyObject * obj0 = 0 ;
8348 PyObject * obj1 = 0 ;
8349 char *kwnames[] = {
8350 (char *) "self",(char *) "config", NULL
8351 };
8352
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail;
8356 {
8357 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
8358 if (SWIG_arg_fail(2)) SWIG_fail;
8359 if (arg2 == NULL) {
8360 SWIG_null_ref("wxConfigBase");
8361 }
8362 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8363 }
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 (arg1)->Save(*arg2);
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 Py_INCREF(Py_None); resultobj = Py_None;
8372 return resultobj;
8373 fail:
8374 return NULL;
8375}
8376
8377
c370783e 8378static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8379 PyObject *resultobj = NULL;
d55e5bfc
RD
8380 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8381 PyObject * obj0 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
36ed4f51
RD
8387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 (arg1)->AddFilesToMenu();
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 Py_INCREF(Py_None); resultobj = Py_None;
8397 return resultobj;
8398 fail:
8399 return NULL;
8400}
8401
8402
c370783e 8403static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8404 PyObject *resultobj = NULL;
d55e5bfc
RD
8405 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8406 wxMenu *arg2 = (wxMenu *) 0 ;
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self",(char *) "menu", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail;
8416 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
8417 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 (arg1)->AddFilesToMenu(arg2);
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 Py_INCREF(Py_None); resultobj = Py_None;
8426 return resultobj;
8427 fail:
8428 return NULL;
8429}
8430
8431
c370783e 8432static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8433 PyObject *resultobj = NULL;
d55e5bfc
RD
8434 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8435 int arg2 ;
8436 wxString result;
8437 PyObject * obj0 = 0 ;
8438 PyObject * obj1 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self",(char *) "i", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8445 if (SWIG_arg_fail(1)) SWIG_fail;
8446 {
32fe5131 8447 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
8448 if (SWIG_arg_fail(2)) SWIG_fail;
8449 }
d55e5bfc
RD
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
8453
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 {
8458#if wxUSE_UNICODE
8459 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8460#else
8461 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8462#endif
8463 }
8464 return resultobj;
8465 fail:
8466 return NULL;
8467}
8468
8469
c370783e 8470static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8471 PyObject *resultobj = NULL;
d55e5bfc
RD
8472 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
8473 int result;
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
8480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
8481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8482 {
8483 PyThreadState* __tstate = wxPyBeginAllowThreads();
8484 result = (int)((wxFileHistory const *)arg1)->GetCount();
8485
8486 wxPyEndAllowThreads(__tstate);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 }
36ed4f51 8489 {
32fe5131 8490 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 8491 }
d55e5bfc
RD
8492 return resultobj;
8493 fail:
8494 return NULL;
8495}
8496
8497
c370783e 8498static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8499 PyObject *obj;
8500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8501 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
8502 Py_INCREF(obj);
8503 return Py_BuildValue((char *)"");
8504}
c370783e 8505static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8506 PyObject *resultobj = NULL;
d55e5bfc
RD
8507 wxString *arg1 = 0 ;
8508 wxString const &arg2_defvalue = wxPyEmptyString ;
8509 wxString *arg2 = (wxString *) &arg2_defvalue ;
8510 wxSingleInstanceChecker *result;
b411df4a
RD
8511 bool temp1 = false ;
8512 bool temp2 = false ;
d55e5bfc
RD
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "name",(char *) "path", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
8520 {
8521 arg1 = wxString_in_helper(obj0);
8522 if (arg1 == NULL) SWIG_fail;
b411df4a 8523 temp1 = true;
d55e5bfc
RD
8524 }
8525 if (obj1) {
8526 {
8527 arg2 = wxString_in_helper(obj1);
8528 if (arg2 == NULL) SWIG_fail;
b411df4a 8529 temp2 = true;
d55e5bfc
RD
8530 }
8531 }
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
8540 {
8541 if (temp1)
8542 delete arg1;
8543 }
8544 {
8545 if (temp2)
8546 delete arg2;
8547 }
8548 return resultobj;
8549 fail:
8550 {
8551 if (temp1)
8552 delete arg1;
8553 }
8554 {
8555 if (temp2)
8556 delete arg2;
8557 }
8558 return NULL;
8559}
8560
8561
c370783e 8562static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8563 PyObject *resultobj = NULL;
d55e5bfc
RD
8564 wxSingleInstanceChecker *result;
8565 char *kwnames[] = {
8566 NULL
8567 };
8568
8569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
8578 return resultobj;
8579 fail:
8580 return NULL;
8581}
8582
8583
c370783e 8584static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8585 PyObject *resultobj = NULL;
d55e5bfc
RD
8586 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8587 PyObject * obj0 = 0 ;
8588 char *kwnames[] = {
8589 (char *) "self", NULL
8590 };
8591
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
36ed4f51
RD
8593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 delete arg1;
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 Py_INCREF(Py_None); resultobj = Py_None;
8603 return resultobj;
8604 fail:
8605 return NULL;
8606}
8607
8608
c370783e 8609static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8610 PyObject *resultobj = NULL;
d55e5bfc
RD
8611 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8612 wxString *arg2 = 0 ;
8613 wxString const &arg3_defvalue = wxPyEmptyString ;
8614 wxString *arg3 = (wxString *) &arg3_defvalue ;
8615 bool result;
b411df4a
RD
8616 bool temp2 = false ;
8617 bool temp3 = false ;
d55e5bfc
RD
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 PyObject * obj2 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "self",(char *) "name",(char *) "path", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8628 {
8629 arg2 = wxString_in_helper(obj1);
8630 if (arg2 == NULL) SWIG_fail;
b411df4a 8631 temp2 = true;
d55e5bfc
RD
8632 }
8633 if (obj2) {
8634 {
8635 arg3 = wxString_in_helper(obj2);
8636 if (arg3 == NULL) SWIG_fail;
b411df4a 8637 temp3 = true;
d55e5bfc
RD
8638 }
8639 }
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 {
8648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8649 }
8650 {
8651 if (temp2)
8652 delete arg2;
8653 }
8654 {
8655 if (temp3)
8656 delete arg3;
8657 }
8658 return resultobj;
8659 fail:
8660 {
8661 if (temp2)
8662 delete arg2;
8663 }
8664 {
8665 if (temp3)
8666 delete arg3;
8667 }
8668 return NULL;
8669}
8670
8671
c370783e 8672static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8673 PyObject *resultobj = NULL;
d55e5bfc
RD
8674 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
8675 bool result;
8676 PyObject * obj0 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
36ed4f51
RD
8682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
8683 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 {
8692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8693 }
8694 return resultobj;
8695 fail:
8696 return NULL;
8697}
8698
8699
c370783e 8700static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8701 PyObject *obj;
8702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8703 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
8704 Py_INCREF(obj);
8705 return Py_BuildValue((char *)"");
8706}
68350608 8707static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8708 PyObject *resultobj = NULL;
68350608
RD
8709 wxWindow *arg1 = (wxWindow *) 0 ;
8710 wxDC *arg2 = 0 ;
8711 bool result;
8712 PyObject * obj0 = 0 ;
8713 PyObject * obj1 = 0 ;
8714 char *kwnames[] = {
8715 (char *) "window",(char *) "dc", NULL
8716 };
8717
8718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
8719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8720 if (SWIG_arg_fail(1)) SWIG_fail;
8721 {
8722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
8723 if (SWIG_arg_fail(2)) SWIG_fail;
8724 if (arg2 == NULL) {
8725 SWIG_null_ref("wxDC");
8726 }
8727 if (SWIG_arg_fail(2)) SWIG_fail;
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 {
8737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8738 }
8739 return resultobj;
8740 fail:
8741 return NULL;
8742}
8743
8744
c370783e 8745static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8746 PyObject *resultobj = NULL;
d55e5bfc
RD
8747 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8748 PyObject * obj0 = 0 ;
8749 char *kwnames[] = {
8750 (char *) "self", NULL
8751 };
8752
8753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
36ed4f51
RD
8754 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8755 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 delete arg1;
8759
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 Py_INCREF(Py_None); resultobj = Py_None;
8764 return resultobj;
8765 fail:
8766 return NULL;
8767}
8768
8769
c370783e 8770static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8771 PyObject *resultobj = NULL;
d55e5bfc
RD
8772 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8773 wxString result;
8774 PyObject * obj0 = 0 ;
8775 char *kwnames[] = {
8776 (char *) "self", NULL
8777 };
8778
8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
36ed4f51
RD
8780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (arg1)->GetTip();
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 {
8790#if wxUSE_UNICODE
8791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8792#else
8793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8794#endif
8795 }
8796 return resultobj;
8797 fail:
8798 return NULL;
8799}
8800
8801
c370783e 8802static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8803 PyObject *resultobj = NULL;
d55e5bfc
RD
8804 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8805 size_t result;
8806 PyObject * obj0 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
36ed4f51
RD
8812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (size_t)(arg1)->GetCurrentTip();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
36ed4f51 8821 {
32fe5131 8822 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 8823 }
d55e5bfc
RD
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
c370783e 8830static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8831 PyObject *resultobj = NULL;
d55e5bfc
RD
8832 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
8833 wxString *arg2 = 0 ;
8834 wxString result;
b411df4a 8835 bool temp2 = false ;
d55e5bfc
RD
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char *kwnames[] = {
8839 (char *) "self",(char *) "tip", NULL
8840 };
8841
8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8845 {
8846 arg2 = wxString_in_helper(obj1);
8847 if (arg2 == NULL) SWIG_fail;
b411df4a 8848 temp2 = true;
d55e5bfc
RD
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (arg1)->PreprocessTip((wxString const &)*arg2);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858#if wxUSE_UNICODE
8859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8860#else
8861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8862#endif
8863 }
8864 {
8865 if (temp2)
8866 delete arg2;
8867 }
8868 return resultobj;
8869 fail:
8870 {
8871 if (temp2)
8872 delete arg2;
8873 }
8874 return NULL;
8875}
8876
8877
c370783e 8878static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8879 PyObject *obj;
8880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8881 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8882 Py_INCREF(obj);
8883 return Py_BuildValue((char *)"");
8884}
c370783e 8885static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8886 PyObject *resultobj = NULL;
d55e5bfc
RD
8887 size_t arg1 ;
8888 wxPyTipProvider *result;
8889 PyObject * obj0 = 0 ;
8890 char *kwnames[] = {
8891 (char *) "currentTip", NULL
8892 };
8893
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
36ed4f51 8895 {
32fe5131 8896 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
8897 if (SWIG_arg_fail(1)) SWIG_fail;
8898 }
d55e5bfc
RD
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8907 return resultobj;
8908 fail:
8909 return NULL;
8910}
8911
8912
c370783e 8913static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8914 PyObject *resultobj = NULL;
d55e5bfc
RD
8915 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8916 PyObject *arg2 = (PyObject *) 0 ;
8917 PyObject *arg3 = (PyObject *) 0 ;
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 PyObject * obj2 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self",(char *) "self",(char *) "_class", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8928 arg2 = obj1;
8929 arg3 = obj2;
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->_setCallbackInfo(arg2,arg3);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941}
8942
8943
c370783e 8944static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8945 PyObject *obj;
8946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8947 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8948 Py_INCREF(obj);
8949 return Py_BuildValue((char *)"");
8950}
c370783e 8951static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8952 PyObject *resultobj = NULL;
d55e5bfc
RD
8953 wxWindow *arg1 = (wxWindow *) 0 ;
8954 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
b411df4a 8955 bool arg3 = (bool) true ;
d55e5bfc
RD
8956 bool result;
8957 PyObject * obj0 = 0 ;
8958 PyObject * obj1 = 0 ;
8959 PyObject * obj2 = 0 ;
8960 char *kwnames[] = {
8961 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8966 if (SWIG_arg_fail(1)) SWIG_fail;
8967 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8968 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 8969 if (obj2) {
36ed4f51 8970 {
32fe5131 8971 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
8972 if (SWIG_arg_fail(3)) SWIG_fail;
8973 }
d55e5bfc
RD
8974 }
8975 {
0439c23b 8976 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 result = (bool)wxShowTip(arg1,arg2,arg3);
8979
8980 wxPyEndAllowThreads(__tstate);
110da5b0 8981 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8982 }
8983 {
8984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8985 }
8986 return resultobj;
8987 fail:
8988 return NULL;
8989}
8990
8991
c370783e 8992static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 8993 PyObject *resultobj = NULL;
d55e5bfc
RD
8994 wxString *arg1 = 0 ;
8995 size_t arg2 ;
8996 wxTipProvider *result;
b411df4a 8997 bool temp1 = false ;
d55e5bfc
RD
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 char *kwnames[] = {
9001 (char *) "filename",(char *) "currentTip", NULL
9002 };
9003
9004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
9005 {
9006 arg1 = wxString_in_helper(obj0);
9007 if (arg1 == NULL) SWIG_fail;
b411df4a 9008 temp1 = true;
d55e5bfc 9009 }
36ed4f51 9010 {
32fe5131 9011 arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1));
36ed4f51
RD
9012 if (SWIG_arg_fail(2)) SWIG_fail;
9013 }
d55e5bfc 9014 {
0439c23b 9015 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
9018
9019 wxPyEndAllowThreads(__tstate);
110da5b0 9020 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9021 }
9022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
9023 {
9024 if (temp1)
9025 delete arg1;
9026 }
9027 return resultobj;
9028 fail:
9029 {
9030 if (temp1)
9031 delete arg1;
9032 }
9033 return NULL;
9034}
9035
9036
c370783e 9037static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9038 PyObject *resultobj = NULL;
d55e5bfc
RD
9039 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
9040 int arg2 = (int) -1 ;
9041 wxPyTimer *result;
9042 PyObject * obj0 = 0 ;
9043 PyObject * obj1 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "owner",(char *) "id", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
9049 if (obj0) {
36ed4f51
RD
9050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
9051 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9052 }
9053 if (obj1) {
36ed4f51 9054 {
32fe5131 9055 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9056 if (SWIG_arg_fail(2)) SWIG_fail;
9057 }
d55e5bfc
RD
9058 }
9059 {
0439c23b 9060 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
9063
9064 wxPyEndAllowThreads(__tstate);
110da5b0 9065 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9066 }
9067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
9068 return resultobj;
9069 fail:
9070 return NULL;
9071}
9072
9073
c370783e 9074static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9075 PyObject *resultobj = NULL;
d55e5bfc
RD
9076 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9077 PyObject * obj0 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
36ed4f51
RD
9083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9085 {
9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
9087 delete arg1;
9088
9089 wxPyEndAllowThreads(__tstate);
9090 if (PyErr_Occurred()) SWIG_fail;
9091 }
9092 Py_INCREF(Py_None); resultobj = Py_None;
9093 return resultobj;
9094 fail:
9095 return NULL;
9096}
9097
9098
c370783e 9099static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9100 PyObject *resultobj = NULL;
d55e5bfc
RD
9101 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9102 PyObject *arg2 = (PyObject *) 0 ;
9103 PyObject *arg3 = (PyObject *) 0 ;
9104 int arg4 = (int) 1 ;
9105 PyObject * obj0 = 0 ;
9106 PyObject * obj1 = 0 ;
9107 PyObject * obj2 = 0 ;
9108 PyObject * obj3 = 0 ;
9109 char *kwnames[] = {
9110 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
9111 };
9112
9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
9114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9115 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9116 arg2 = obj1;
9117 arg3 = obj2;
9118 if (obj3) {
36ed4f51 9119 {
32fe5131 9120 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
9121 if (SWIG_arg_fail(4)) SWIG_fail;
9122 }
d55e5bfc
RD
9123 }
9124 {
9125 PyThreadState* __tstate = wxPyBeginAllowThreads();
9126 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
9127
9128 wxPyEndAllowThreads(__tstate);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 Py_INCREF(Py_None); resultobj = Py_None;
9132 return resultobj;
9133 fail:
9134 return NULL;
9135}
9136
9137
c370783e 9138static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9139 PyObject *resultobj = NULL;
d55e5bfc
RD
9140 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9141 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
9142 int arg3 = (int) -1 ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj1 = 0 ;
9145 PyObject * obj2 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self",(char *) "owner",(char *) "id", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9152 if (SWIG_arg_fail(1)) SWIG_fail;
9153 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9155 if (obj2) {
36ed4f51 9156 {
32fe5131 9157 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
9158 if (SWIG_arg_fail(3)) SWIG_fail;
9159 }
d55e5bfc
RD
9160 }
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 (arg1)->SetOwner(arg2,arg3);
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 Py_INCREF(Py_None); resultobj = Py_None;
9169 return resultobj;
9170 fail:
9171 return NULL;
9172}
9173
9174
c370783e 9175static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9176 PyObject *resultobj = NULL;
1a6bba1e
RD
9177 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9178 wxEvtHandler *result;
9179 PyObject * obj0 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
36ed4f51
RD
9185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail;
1a6bba1e
RD
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 result = (wxEvtHandler *)(arg1)->GetOwner();
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 {
412d302d 9195 resultobj = wxPyMake_wxObject(result, 0);
1a6bba1e
RD
9196 }
9197 return resultobj;
9198 fail:
9199 return NULL;
9200}
9201
9202
c370783e 9203static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9204 PyObject *resultobj = NULL;
d55e5bfc
RD
9205 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9206 int arg2 = (int) -1 ;
b411df4a 9207 bool arg3 = (bool) false ;
d55e5bfc
RD
9208 bool result;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
9214 };
9215
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9219 if (obj1) {
36ed4f51 9220 {
32fe5131 9221 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9222 if (SWIG_arg_fail(2)) SWIG_fail;
9223 }
d55e5bfc
RD
9224 }
9225 if (obj2) {
36ed4f51 9226 {
32fe5131 9227 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9228 if (SWIG_arg_fail(3)) SWIG_fail;
9229 }
d55e5bfc
RD
9230 }
9231 {
9232 PyThreadState* __tstate = wxPyBeginAllowThreads();
9233 result = (bool)(arg1)->Start(arg2,arg3);
9234
9235 wxPyEndAllowThreads(__tstate);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 {
9239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9240 }
9241 return resultobj;
9242 fail:
9243 return NULL;
9244}
9245
9246
c370783e 9247static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9248 PyObject *resultobj = NULL;
d55e5bfc
RD
9249 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9250 PyObject * obj0 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
36ed4f51
RD
9256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9257 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->Stop();
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 Py_INCREF(Py_None); resultobj = Py_None;
9266 return resultobj;
9267 fail:
9268 return NULL;
9269}
9270
9271
7f7aa166
RD
9272static PyObject *_wrap_Timer_Notify(PyObject *, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj = NULL;
9274 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9275 PyObject * obj0 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Notify",kwnames,&obj0)) goto fail;
9281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9282 if (SWIG_arg_fail(1)) SWIG_fail;
9283 {
9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
9285 (arg1)->Notify();
9286
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) SWIG_fail;
9289 }
9290 Py_INCREF(Py_None); resultobj = Py_None;
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
c370783e 9297static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9298 PyObject *resultobj = NULL;
d55e5bfc
RD
9299 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9300 bool result;
9301 PyObject * obj0 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
36ed4f51
RD
9307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9309 {
9310 PyThreadState* __tstate = wxPyBeginAllowThreads();
9311 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
9312
9313 wxPyEndAllowThreads(__tstate);
9314 if (PyErr_Occurred()) SWIG_fail;
9315 }
9316 {
9317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9318 }
9319 return resultobj;
9320 fail:
9321 return NULL;
9322}
9323
9324
c370783e 9325static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9326 PyObject *resultobj = NULL;
d55e5bfc
RD
9327 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9328 int result;
9329 PyObject * obj0 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
36ed4f51
RD
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
9339 result = (int)((wxPyTimer const *)arg1)->GetInterval();
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
36ed4f51 9344 {
32fe5131 9345 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9346 }
d55e5bfc
RD
9347 return resultobj;
9348 fail:
9349 return NULL;
9350}
9351
9352
c370783e 9353static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9354 PyObject *resultobj = NULL;
d55e5bfc
RD
9355 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9356 bool result;
9357 PyObject * obj0 = 0 ;
9358 char *kwnames[] = {
9359 (char *) "self", NULL
9360 };
9361
9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
36ed4f51
RD
9363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 {
9373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9374 }
9375 return resultobj;
9376 fail:
9377 return NULL;
9378}
9379
9380
c370783e 9381static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9382 PyObject *resultobj = NULL;
d55e5bfc
RD
9383 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
9384 int result;
9385 PyObject * obj0 = 0 ;
9386 char *kwnames[] = {
9387 (char *) "self", NULL
9388 };
9389
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
9391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
9392 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 result = (int)((wxPyTimer const *)arg1)->GetId();
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
36ed4f51 9400 {
32fe5131 9401 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9402 }
d55e5bfc
RD
9403 return resultobj;
9404 fail:
9405 return NULL;
9406}
9407
9408
c370783e 9409static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9410 PyObject *obj;
9411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9412 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
9413 Py_INCREF(obj);
9414 return Py_BuildValue((char *)"");
9415}
c370783e 9416static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9417 PyObject *resultobj = NULL;
d55e5bfc
RD
9418 int arg1 = (int) 0 ;
9419 int arg2 = (int) 0 ;
9420 wxTimerEvent *result;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "timerid",(char *) "interval", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
9428 if (obj0) {
36ed4f51 9429 {
32fe5131 9430 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
9431 if (SWIG_arg_fail(1)) SWIG_fail;
9432 }
d55e5bfc
RD
9433 }
9434 if (obj1) {
36ed4f51 9435 {
32fe5131 9436 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9437 if (SWIG_arg_fail(2)) SWIG_fail;
9438 }
d55e5bfc
RD
9439 }
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
9448 return resultobj;
9449 fail:
9450 return NULL;
9451}
9452
9453
c370783e 9454static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9455 PyObject *resultobj = NULL;
d55e5bfc
RD
9456 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
9457 int result;
9458 PyObject * obj0 = 0 ;
9459 char *kwnames[] = {
9460 (char *) "self", NULL
9461 };
9462
9463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
36ed4f51
RD
9464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
9465 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
36ed4f51 9473 {
32fe5131 9474 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 9475 }
d55e5bfc
RD
9476 return resultobj;
9477 fail:
9478 return NULL;
9479}
9480
9481
c370783e 9482static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9483 PyObject *obj;
9484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
9486 Py_INCREF(obj);
9487 return Py_BuildValue((char *)"");
9488}
c370783e 9489static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
32fe5131 9490 PyObject *resultobj = NULL;
d55e5bfc
RD
9491 wxTimer *arg1 = 0 ;
9492 wxTimerRunner *result;
9493 PyObject * obj0 = 0 ;
9494
9495 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
36ed4f51
RD
9496 {
9497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
9498 if (SWIG_arg_fail(1)) SWIG_fail;
9499 if (arg1 == NULL) {
9500 SWIG_null_ref("wxTimer");
9501 }
9502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9503 }
9504 {
0439c23b 9505 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
9508
9509 wxPyEndAllowThreads(__tstate);
110da5b0 9510 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
9511 }
9512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
9513 return resultobj;
9514 fail:
9515 return NULL;
9516}
9517
9518
c370783e 9519static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
32fe5131 9520 PyObject *resultobj = NULL;
d55e5bfc
RD
9521 wxTimer *arg1 = 0 ;
9522 int arg2 ;
7e08d4ef 9523 bool arg3 = (bool) false ;
d55e5bfc
RD
9524 wxTimerRunner *result;
9525 PyObject * obj0 = 0 ;
9526 PyObject * obj1 = 0 ;
9527 PyObject * obj2 = 0 ;
9528
7e08d4ef 9529 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9530 {
9531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
9532 if (SWIG_arg_fail(1)) SWIG_fail;
9533 if (arg1 == NULL) {
9534 SWIG_null_ref("wxTimer");
9535 }
9536 if (SWIG_arg_fail(1)) SWIG_fail;
9537 }
9538 {
32fe5131 9539 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9540 if (SWIG_arg_fail(2)) SWIG_fail;
9541 }
7e08d4ef
RD
9542 if (obj2) {
9543 {
9544 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
9545 if (SWIG_arg_fail(3)) SWIG_fail;
32fe5131 9546 }
32fe5131
RD
9547 }
9548 {
9549 if (!wxPyCheckForApp()) SWIG_fail;
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 9551 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
32fe5131
RD
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
9557 return resultobj;
9558 fail:
9559 return NULL;
9560}
9561
9562
d55e5bfc
RD
9563static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
9564 int argc;
9565 PyObject *argv[4];
9566 int ii;
9567
9568 argc = PyObject_Length(args);
9569 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
9570 argv[ii] = PyTuple_GetItem(args,ii);
9571 }
9572 if (argc == 1) {
9573 int _v;
9574 {
36ed4f51 9575 void *ptr = 0;
d55e5bfc
RD
9576 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
9577 _v = 0;
9578 PyErr_Clear();
9579 } else {
36ed4f51 9580 _v = (ptr != 0);
d55e5bfc
RD
9581 }
9582 }
9583 if (_v) {
9584 return _wrap_new_TimerRunner__SWIG_0(self,args);
9585 }
9586 }
7e08d4ef 9587 if ((argc >= 2) && (argc <= 3)) {
d55e5bfc
RD
9588 int _v;
9589 {
36ed4f51 9590 void *ptr = 0;
d55e5bfc
RD
9591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
9592 _v = 0;
9593 PyErr_Clear();
9594 } else {
36ed4f51 9595 _v = (ptr != 0);
d55e5bfc
RD
9596 }
9597 }
9598 if (_v) {
c370783e 9599 _v = SWIG_Check_int(argv[1]);
d55e5bfc 9600 if (_v) {
7e08d4ef
RD
9601 if (argc <= 2) {
9602 return _wrap_new_TimerRunner__SWIG_1(self,args);
9603 }
c370783e 9604 _v = SWIG_Check_bool(argv[2]);
d55e5bfc
RD
9605 if (_v) {
9606 return _wrap_new_TimerRunner__SWIG_1(self,args);
9607 }
9608 }
9609 }
9610 }
9611
36ed4f51 9612 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
d55e5bfc
RD
9613 return NULL;
9614}
9615
9616
c370783e 9617static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9618 PyObject *resultobj = NULL;
d55e5bfc
RD
9619 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
9620 PyObject * obj0 = 0 ;
9621 char *kwnames[] = {
9622 (char *) "self", NULL
9623 };
9624
9625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
36ed4f51
RD
9626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
9627 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 delete arg1;
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 Py_INCREF(Py_None); resultobj = Py_None;
9636 return resultobj;
9637 fail:
9638 return NULL;
9639}
9640
9641
c370783e 9642static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9643 PyObject *resultobj = NULL;
d55e5bfc
RD
9644 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
9645 int arg2 ;
b411df4a 9646 bool arg3 = (bool) false ;
d55e5bfc
RD
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj1 = 0 ;
9649 PyObject * obj2 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9655 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
9656 if (SWIG_arg_fail(1)) SWIG_fail;
9657 {
32fe5131 9658 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
9659 if (SWIG_arg_fail(2)) SWIG_fail;
9660 }
d55e5bfc 9661 if (obj2) {
36ed4f51 9662 {
32fe5131 9663 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
9664 if (SWIG_arg_fail(3)) SWIG_fail;
9665 }
d55e5bfc
RD
9666 }
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 (arg1)->Start(arg2,arg3);
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 Py_INCREF(Py_None); resultobj = Py_None;
9675 return resultobj;
9676 fail:
9677 return NULL;
9678}
9679
9680
c370783e 9681static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9682 PyObject *obj;
9683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9684 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
9685 Py_INCREF(obj);
9686 return Py_BuildValue((char *)"");
9687}
c370783e 9688static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9689 PyObject *resultobj = NULL;
d55e5bfc
RD
9690 wxLog *result;
9691 char *kwnames[] = {
9692 NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (wxLog *)new wxLog();
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
9704 return resultobj;
9705 fail:
9706 return NULL;
9707}
9708
9709
7e08d4ef
RD
9710static PyObject *_wrap_delete_Log(PyObject *, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj = NULL;
9712 wxLog *arg1 = (wxLog *) 0 ;
9713 PyObject * obj0 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Log",kwnames,&obj0)) goto fail;
9719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 delete arg1;
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 Py_INCREF(Py_None); resultobj = Py_None;
9729 return resultobj;
9730 fail:
9731 return NULL;
9732}
9733
9734
c370783e 9735static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9736 PyObject *resultobj = NULL;
d55e5bfc
RD
9737 bool result;
9738 char *kwnames[] = {
9739 NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 result = (bool)wxLog::IsEnabled();
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9752 }
9753 return resultobj;
9754 fail:
9755 return NULL;
9756}
9757
9758
c370783e 9759static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9760 PyObject *resultobj = NULL;
b411df4a 9761 bool arg1 = (bool) true ;
d55e5bfc
RD
9762 bool result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "doIt", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
9769 if (obj0) {
36ed4f51 9770 {
32fe5131 9771 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
36ed4f51
RD
9772 if (SWIG_arg_fail(1)) SWIG_fail;
9773 }
d55e5bfc
RD
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (bool)wxLog::EnableLogging(arg1);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 {
9783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9784 }
9785 return resultobj;
9786 fail:
9787 return NULL;
9788}
9789
9790
c370783e 9791static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9792 PyObject *resultobj = NULL;
d55e5bfc
RD
9793 wxLogLevel arg1 ;
9794 wxChar *arg2 = (wxChar *) 0 ;
9795 time_t arg3 ;
9796 PyObject * obj0 = 0 ;
9797 PyObject * obj1 = 0 ;
9798 PyObject * obj2 = 0 ;
9799 char *kwnames[] = {
9800 (char *) "level",(char *) "szString",(char *) "t", NULL
9801 };
9802
9803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51 9804 {
32fe5131 9805 arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
9806 if (SWIG_arg_fail(1)) SWIG_fail;
9807 }
9808 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9809 if (SWIG_arg_fail(2)) SWIG_fail;
9810 {
32fe5131 9811 arg3 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj2));
36ed4f51
RD
9812 if (SWIG_arg_fail(3)) SWIG_fail;
9813 }
d55e5bfc
RD
9814 {
9815 PyThreadState* __tstate = wxPyBeginAllowThreads();
9816 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
9817
9818 wxPyEndAllowThreads(__tstate);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 Py_INCREF(Py_None); resultobj = Py_None;
9822 return resultobj;
9823 fail:
9824 return NULL;
9825}
9826
9827
c370783e 9828static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9829 PyObject *resultobj = NULL;
d55e5bfc
RD
9830 wxLog *arg1 = (wxLog *) 0 ;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
36ed4f51
RD
9837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9838 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9839 {
9840 PyThreadState* __tstate = wxPyBeginAllowThreads();
9841 (arg1)->Flush();
9842
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 Py_INCREF(Py_None); resultobj = Py_None;
9847 return resultobj;
9848 fail:
9849 return NULL;
9850}
9851
9852
c370783e 9853static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9854 PyObject *resultobj = NULL;
d55e5bfc
RD
9855 char *kwnames[] = {
9856 NULL
9857 };
9858
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 wxLog::FlushActive();
9863
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 Py_INCREF(Py_None); resultobj = Py_None;
9868 return resultobj;
9869 fail:
9870 return NULL;
9871}
9872
9873
c370783e 9874static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9875 PyObject *resultobj = NULL;
d55e5bfc
RD
9876 wxLog *result;
9877 char *kwnames[] = {
9878 NULL
9879 };
9880
9881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 result = (wxLog *)wxLog::GetActiveTarget();
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9890 return resultobj;
9891 fail:
9892 return NULL;
9893}
9894
9895
c370783e 9896static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9897 PyObject *resultobj = NULL;
d55e5bfc
RD
9898 wxLog *arg1 = (wxLog *) 0 ;
9899 wxLog *result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "pLogger", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
7e08d4ef 9906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 9907 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (wxLog *)wxLog::SetActiveTarget(arg1);
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
7e08d4ef 9915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
d55e5bfc
RD
9916 return resultobj;
9917 fail:
9918 return NULL;
9919}
9920
9921
c370783e 9922static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9923 PyObject *resultobj = NULL;
d55e5bfc
RD
9924 char *kwnames[] = {
9925 NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 wxLog::Suspend();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 Py_INCREF(Py_None); resultobj = Py_None;
9937 return resultobj;
9938 fail:
9939 return NULL;
9940}
9941
9942
c370783e 9943static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9944 PyObject *resultobj = NULL;
d55e5bfc
RD
9945 char *kwnames[] = {
9946 NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 wxLog::Resume();
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 Py_INCREF(Py_None); resultobj = Py_None;
9958 return resultobj;
9959 fail:
9960 return NULL;
9961}
9962
9963
c370783e 9964static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9965 PyObject *resultobj = NULL;
b411df4a 9966 bool arg1 = (bool) true ;
d55e5bfc
RD
9967 PyObject * obj0 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "bVerbose", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9973 if (obj0) {
36ed4f51 9974 {
32fe5131 9975 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
36ed4f51
RD
9976 if (SWIG_arg_fail(1)) SWIG_fail;
9977 }
d55e5bfc
RD
9978 }
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 wxLog::SetVerbose(arg1);
9982
9983 wxPyEndAllowThreads(__tstate);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 Py_INCREF(Py_None); resultobj = Py_None;
9987 return resultobj;
9988 fail:
9989 return NULL;
9990}
9991
9992
c370783e 9993static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 9994 PyObject *resultobj = NULL;
d55e5bfc
RD
9995 wxLogLevel arg1 ;
9996 PyObject * obj0 = 0 ;
9997 char *kwnames[] = {
9998 (char *) "logLevel", NULL
9999 };
10000
10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
36ed4f51 10002 {
32fe5131 10003 arg1 = static_cast<wxLogLevel >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
10004 if (SWIG_arg_fail(1)) SWIG_fail;
10005 }
d55e5bfc
RD
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 wxLog::SetLogLevel(arg1);
10009
10010 wxPyEndAllowThreads(__tstate);
10011 if (PyErr_Occurred()) SWIG_fail;
10012 }
10013 Py_INCREF(Py_None); resultobj = Py_None;
10014 return resultobj;
10015 fail:
10016 return NULL;
10017}
10018
10019
c370783e 10020static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10021 PyObject *resultobj = NULL;
d55e5bfc
RD
10022 char *kwnames[] = {
10023 NULL
10024 };
10025
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 wxLog::DontCreateOnDemand();
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 Py_INCREF(Py_None); resultobj = Py_None;
10035 return resultobj;
10036 fail:
10037 return NULL;
10038}
10039
10040
c370783e 10041static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10042 PyObject *resultobj = NULL;
d55e5bfc
RD
10043 wxTraceMask arg1 ;
10044 PyObject * obj0 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "ulMask", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
36ed4f51 10050 {
32fe5131 10051 arg1 = static_cast<wxTraceMask >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
10052 if (SWIG_arg_fail(1)) SWIG_fail;
10053 }
d55e5bfc
RD
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 wxLog::SetTraceMask(arg1);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 Py_INCREF(Py_None); resultobj = Py_None;
10062 return resultobj;
10063 fail:
10064 return NULL;
10065}
10066
10067
c370783e 10068static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10069 PyObject *resultobj = NULL;
d55e5bfc 10070 wxString *arg1 = 0 ;
b411df4a 10071 bool temp1 = false ;
d55e5bfc
RD
10072 PyObject * obj0 = 0 ;
10073 char *kwnames[] = {
10074 (char *) "str", NULL
10075 };
10076
10077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
10078 {
10079 arg1 = wxString_in_helper(obj0);
10080 if (arg1 == NULL) SWIG_fail;
b411df4a 10081 temp1 = true;
d55e5bfc
RD
10082 }
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 wxLog::AddTraceMask((wxString const &)*arg1);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 Py_INCREF(Py_None); resultobj = Py_None;
10091 {
10092 if (temp1)
10093 delete arg1;
10094 }
10095 return resultobj;
10096 fail:
10097 {
10098 if (temp1)
10099 delete arg1;
10100 }
10101 return NULL;
10102}
10103
10104
c370783e 10105static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10106 PyObject *resultobj = NULL;
d55e5bfc 10107 wxString *arg1 = 0 ;
b411df4a 10108 bool temp1 = false ;
d55e5bfc
RD
10109 PyObject * obj0 = 0 ;
10110 char *kwnames[] = {
10111 (char *) "str", NULL
10112 };
10113
10114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
10115 {
10116 arg1 = wxString_in_helper(obj0);
10117 if (arg1 == NULL) SWIG_fail;
b411df4a 10118 temp1 = true;
d55e5bfc
RD
10119 }
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 wxLog::RemoveTraceMask((wxString const &)*arg1);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 Py_INCREF(Py_None); resultobj = Py_None;
10128 {
10129 if (temp1)
10130 delete arg1;
10131 }
10132 return resultobj;
10133 fail:
10134 {
10135 if (temp1)
10136 delete arg1;
10137 }
10138 return NULL;
10139}
10140
10141
c370783e 10142static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10143 PyObject *resultobj = NULL;
d55e5bfc
RD
10144 char *kwnames[] = {
10145 NULL
10146 };
10147
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 wxLog::ClearTraceMasks();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 Py_INCREF(Py_None); resultobj = Py_None;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160}
10161
10162
c370783e 10163static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10164 PyObject *resultobj = NULL;
d55e5bfc
RD
10165 wxArrayString *result;
10166 char *kwnames[] = {
10167 NULL
10168 };
10169
10170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 {
10174 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
10175 result = (wxArrayString *) &_result_ref;
10176 }
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 {
10182 resultobj = wxArrayString2PyList_helper(*result);
10183 }
10184 return resultobj;
10185 fail:
10186 return NULL;
10187}
10188
10189
c370783e 10190static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10191 PyObject *resultobj = NULL;
d55e5bfc
RD
10192 wxChar *arg1 = (wxChar *) 0 ;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "ts", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
36ed4f51
RD
10199 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
10200 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 wxLog::SetTimestamp((wxChar const *)arg1);
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 Py_INCREF(Py_None); resultobj = Py_None;
10209 return resultobj;
10210 fail:
10211 return NULL;
10212}
10213
10214
c370783e 10215static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10216 PyObject *resultobj = NULL;
d55e5bfc
RD
10217 bool result;
10218 char *kwnames[] = {
10219 NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 result = (bool)wxLog::GetVerbose();
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 {
10231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10232 }
10233 return resultobj;
10234 fail:
10235 return NULL;
10236}
10237
10238
c370783e 10239static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10240 PyObject *resultobj = NULL;
d55e5bfc
RD
10241 wxTraceMask result;
10242 char *kwnames[] = {
10243 NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
10247 {
10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
10249 result = (wxTraceMask)wxLog::GetTraceMask();
10250
10251 wxPyEndAllowThreads(__tstate);
10252 if (PyErr_Occurred()) SWIG_fail;
10253 }
36ed4f51 10254 {
32fe5131 10255 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 10256 }
d55e5bfc
RD
10257 return resultobj;
10258 fail:
10259 return NULL;
10260}
10261
10262
c370783e 10263static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10264 PyObject *resultobj = NULL;
d55e5bfc
RD
10265 wxChar *arg1 = (wxChar *) 0 ;
10266 bool result;
10267 PyObject * obj0 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "mask", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
10273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
10274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 {
10283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10284 }
10285 return resultobj;
10286 fail:
10287 return NULL;
10288}
10289
10290
c370783e 10291static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10292 PyObject *resultobj = NULL;
d55e5bfc
RD
10293 wxLogLevel result;
10294 char *kwnames[] = {
10295 NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (wxLogLevel)wxLog::GetLogLevel();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
36ed4f51 10306 {
32fe5131 10307 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 10308 }
d55e5bfc
RD
10309 return resultobj;
10310 fail:
10311 return NULL;
10312}
10313
10314
c370783e 10315static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10316 PyObject *resultobj = NULL;
d55e5bfc
RD
10317 wxChar *result;
10318 char *kwnames[] = {
10319 NULL
10320 };
10321
10322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 result = (wxChar *)wxLog::GetTimestamp();
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
10331 return resultobj;
10332 fail:
10333 return NULL;
10334}
10335
10336
c370783e 10337static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10338 PyObject *resultobj = NULL;
d55e5bfc
RD
10339 wxString result;
10340 char *kwnames[] = {
10341 NULL
10342 };
10343
10344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 10347 result = wxLog_TimeStamp();
d55e5bfc
RD
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 {
10353#if wxUSE_UNICODE
10354 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10355#else
10356 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10357#endif
10358 }
10359 return resultobj;
10360 fail:
10361 return NULL;
10362}
10363
10364
c370783e 10365static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10366 PyObject *resultobj = NULL;
d55e5bfc
RD
10367 wxLog *arg1 = (wxLog *) 0 ;
10368 PyObject * obj0 = 0 ;
10369 char *kwnames[] = {
10370 (char *) "self", NULL
10371 };
10372
10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
10374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 wxLog_Destroy(arg1);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 return resultobj;
10385 fail:
10386 return NULL;
10387}
10388
10389
c370783e 10390static PyObject * Log_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10391 PyObject *obj;
10392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10393 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
10394 Py_INCREF(obj);
10395 return Py_BuildValue((char *)"");
10396}
c370783e 10397static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10398 PyObject *resultobj = NULL;
d55e5bfc
RD
10399 wxLogStderr *result;
10400 char *kwnames[] = {
10401 NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 result = (wxLogStderr *)new wxLogStderr();
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
10413 return resultobj;
10414 fail:
10415 return NULL;
10416}
10417
10418
c370783e 10419static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10420 PyObject *obj;
10421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10422 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
10423 Py_INCREF(obj);
10424 return Py_BuildValue((char *)"");
10425}
c370783e 10426static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10427 PyObject *resultobj = NULL;
d55e5bfc
RD
10428 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10429 wxLogTextCtrl *result;
10430 PyObject * obj0 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "pTextCtrl", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
10436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
10446 return resultobj;
10447 fail:
10448 return NULL;
10449}
10450
10451
c370783e 10452static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10453 PyObject *obj;
10454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10455 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
10456 Py_INCREF(obj);
10457 return Py_BuildValue((char *)"");
10458}
c370783e 10459static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10460 PyObject *resultobj = NULL;
d55e5bfc
RD
10461 wxLogGui *result;
10462 char *kwnames[] = {
10463 NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 result = (wxLogGui *)new wxLogGui();
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
10475 return resultobj;
10476 fail:
10477 return NULL;
10478}
10479
10480
c370783e 10481static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10482 PyObject *obj;
10483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10484 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
10485 Py_INCREF(obj);
10486 return Py_BuildValue((char *)"");
10487}
c370783e 10488static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10489 PyObject *resultobj = NULL;
d55e5bfc
RD
10490 wxFrame *arg1 = (wxFrame *) 0 ;
10491 wxString *arg2 = 0 ;
b411df4a
RD
10492 bool arg3 = (bool) true ;
10493 bool arg4 = (bool) true ;
d55e5bfc 10494 wxLogWindow *result;
b411df4a 10495 bool temp2 = false ;
d55e5bfc
RD
10496 PyObject * obj0 = 0 ;
10497 PyObject * obj1 = 0 ;
10498 PyObject * obj2 = 0 ;
10499 PyObject * obj3 = 0 ;
10500 char *kwnames[] = {
10501 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
10502 };
10503
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10506 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10507 {
10508 arg2 = wxString_in_helper(obj1);
10509 if (arg2 == NULL) SWIG_fail;
b411df4a 10510 temp2 = true;
d55e5bfc
RD
10511 }
10512 if (obj2) {
36ed4f51 10513 {
32fe5131 10514 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
10515 if (SWIG_arg_fail(3)) SWIG_fail;
10516 }
d55e5bfc
RD
10517 }
10518 if (obj3) {
36ed4f51 10519 {
32fe5131 10520 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
10521 if (SWIG_arg_fail(4)) SWIG_fail;
10522 }
d55e5bfc
RD
10523 }
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
10532 {
10533 if (temp2)
10534 delete arg2;
10535 }
10536 return resultobj;
10537 fail:
10538 {
10539 if (temp2)
10540 delete arg2;
10541 }
10542 return NULL;
10543}
10544
10545
c370783e 10546static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10547 PyObject *resultobj = NULL;
d55e5bfc 10548 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
b411df4a 10549 bool arg2 = (bool) true ;
d55e5bfc
RD
10550 PyObject * obj0 = 0 ;
10551 PyObject * obj1 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self",(char *) "bShow", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 10559 if (obj1) {
36ed4f51 10560 {
32fe5131 10561 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10562 if (SWIG_arg_fail(2)) SWIG_fail;
10563 }
d55e5bfc
RD
10564 }
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 (arg1)->Show(arg2);
10568
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 Py_INCREF(Py_None); resultobj = Py_None;
10573 return resultobj;
10574 fail:
10575 return NULL;
10576}
10577
10578
c370783e 10579static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10580 PyObject *resultobj = NULL;
d55e5bfc
RD
10581 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10582 wxFrame *result;
10583 PyObject * obj0 = 0 ;
10584 char *kwnames[] = {
10585 (char *) "self", NULL
10586 };
10587
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
36ed4f51
RD
10589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10590 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10591 {
10592 PyThreadState* __tstate = wxPyBeginAllowThreads();
10593 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
10594
10595 wxPyEndAllowThreads(__tstate);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 }
10598 {
7e08d4ef 10599 resultobj = wxPyMake_wxObject(result, (bool)0);
d55e5bfc
RD
10600 }
10601 return resultobj;
10602 fail:
10603 return NULL;
10604}
10605
10606
c370783e 10607static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10608 PyObject *resultobj = NULL;
d55e5bfc
RD
10609 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10610 wxLog *result;
10611 PyObject * obj0 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
36ed4f51
RD
10617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
10627 return resultobj;
10628 fail:
10629 return NULL;
10630}
10631
10632
c370783e 10633static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10634 PyObject *resultobj = NULL;
d55e5bfc
RD
10635 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10636 bool result;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
36ed4f51
RD
10643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 {
10653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10654 }
10655 return resultobj;
10656 fail:
10657 return NULL;
10658}
10659
10660
c370783e 10661static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10662 PyObject *resultobj = NULL;
d55e5bfc
RD
10663 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
10664 bool arg2 ;
10665 PyObject * obj0 = 0 ;
10666 PyObject * obj1 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "bDoPass", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
10674 {
32fe5131 10675 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10676 if (SWIG_arg_fail(2)) SWIG_fail;
10677 }
d55e5bfc
RD
10678 {
10679 PyThreadState* __tstate = wxPyBeginAllowThreads();
10680 (arg1)->PassMessages(arg2);
10681
10682 wxPyEndAllowThreads(__tstate);
10683 if (PyErr_Occurred()) SWIG_fail;
10684 }
10685 Py_INCREF(Py_None); resultobj = Py_None;
10686 return resultobj;
10687 fail:
10688 return NULL;
10689}
10690
10691
c370783e 10692static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10693 PyObject *obj;
10694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10695 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
10696 Py_INCREF(obj);
10697 return Py_BuildValue((char *)"");
10698}
c370783e 10699static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10700 PyObject *resultobj = NULL;
d55e5bfc
RD
10701 wxLog *arg1 = (wxLog *) 0 ;
10702 wxLogChain *result;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "logger", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
36ed4f51
RD
10709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (wxLogChain *)new wxLogChain(arg1);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722}
10723
10724
c370783e 10725static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10726 PyObject *resultobj = NULL;
d55e5bfc
RD
10727 wxLogChain *arg1 = (wxLogChain *) 0 ;
10728 wxLog *arg2 = (wxLog *) 0 ;
10729 PyObject * obj0 = 0 ;
10730 PyObject * obj1 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self",(char *) "logger", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10737 if (SWIG_arg_fail(1)) SWIG_fail;
10738 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
10739 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 (arg1)->SetLog(arg2);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 Py_INCREF(Py_None); resultobj = Py_None;
10748 return resultobj;
10749 fail:
10750 return NULL;
10751}
10752
10753
c370783e 10754static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10755 PyObject *resultobj = NULL;
d55e5bfc
RD
10756 wxLogChain *arg1 = (wxLogChain *) 0 ;
10757 bool arg2 ;
10758 PyObject * obj0 = 0 ;
10759 PyObject * obj1 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self",(char *) "bDoPass", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10765 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10766 if (SWIG_arg_fail(1)) SWIG_fail;
10767 {
32fe5131 10768 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
10769 if (SWIG_arg_fail(2)) SWIG_fail;
10770 }
d55e5bfc
RD
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 (arg1)->PassMessages(arg2);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 Py_INCREF(Py_None); resultobj = Py_None;
10779 return resultobj;
10780 fail:
10781 return NULL;
10782}
10783
10784
c370783e 10785static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10786 PyObject *resultobj = NULL;
d55e5bfc
RD
10787 wxLogChain *arg1 = (wxLogChain *) 0 ;
10788 bool result;
10789 PyObject * obj0 = 0 ;
10790 char *kwnames[] = {
10791 (char *) "self", NULL
10792 };
10793
10794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
36ed4f51
RD
10795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10797 {
10798 PyThreadState* __tstate = wxPyBeginAllowThreads();
10799 result = (bool)(arg1)->IsPassingMessages();
10800
10801 wxPyEndAllowThreads(__tstate);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 }
10804 {
10805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10806 }
10807 return resultobj;
10808 fail:
10809 return NULL;
10810}
10811
10812
c370783e 10813static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10814 PyObject *resultobj = NULL;
d55e5bfc
RD
10815 wxLogChain *arg1 = (wxLogChain *) 0 ;
10816 wxLog *result;
10817 PyObject * obj0 = 0 ;
10818 char *kwnames[] = {
10819 (char *) "self", NULL
10820 };
10821
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
36ed4f51
RD
10823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
10824 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (wxLog *)(arg1)->GetOldLog();
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
c370783e 10839static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
10840 PyObject *obj;
10841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10842 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
10843 Py_INCREF(obj);
10844 return Py_BuildValue((char *)"");
10845}
be9b1dca 10846static PyObject *_wrap_new_LogBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10847 PyObject *resultobj = NULL;
be9b1dca
RD
10848 wxLogBuffer *result;
10849 char *kwnames[] = {
10850 NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogBuffer",kwnames)) goto fail;
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 result = (wxLogBuffer *)new wxLogBuffer();
10857
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
10861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogBuffer, 1);
10862 return resultobj;
10863 fail:
10864 return NULL;
10865}
10866
10867
10868static PyObject *_wrap_LogBuffer_GetBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10869 PyObject *resultobj = NULL;
be9b1dca
RD
10870 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10871 wxString *result;
10872 PyObject * obj0 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_GetBuffer",kwnames,&obj0)) goto fail;
10878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10879 if (SWIG_arg_fail(1)) SWIG_fail;
10880 {
10881 PyThreadState* __tstate = wxPyBeginAllowThreads();
10882 {
10883 wxString const &_result_ref = ((wxLogBuffer const *)arg1)->GetBuffer();
10884 result = (wxString *) &_result_ref;
10885 }
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891#if wxUSE_UNICODE
10892 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
10893#else
10894 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
10895#endif
10896 }
10897 return resultobj;
10898 fail:
10899 return NULL;
10900}
10901
10902
10903static PyObject *_wrap_LogBuffer_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10904 PyObject *resultobj = NULL;
be9b1dca
RD
10905 wxLogBuffer *arg1 = (wxLogBuffer *) 0 ;
10906 PyObject * obj0 = 0 ;
10907 char *kwnames[] = {
10908 (char *) "self", NULL
10909 };
10910
10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogBuffer_Flush",kwnames,&obj0)) goto fail;
10912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogBuffer, SWIG_POINTER_EXCEPTION | 0);
10913 if (SWIG_arg_fail(1)) SWIG_fail;
10914 {
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 (arg1)->Flush();
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 Py_INCREF(Py_None); resultobj = Py_None;
10922 return resultobj;
10923 fail:
10924 return NULL;
10925}
10926
10927
10928static PyObject * LogBuffer_swigregister(PyObject *, PyObject *args) {
10929 PyObject *obj;
10930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10931 SWIG_TypeClientData(SWIGTYPE_p_wxLogBuffer, obj);
10932 Py_INCREF(obj);
10933 return Py_BuildValue((char *)"");
10934}
c370783e 10935static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10936 PyObject *resultobj = NULL;
d55e5bfc
RD
10937 unsigned long result;
10938 char *kwnames[] = {
10939 NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 result = (unsigned long)wxSysErrorCode();
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
36ed4f51 10950 {
32fe5131 10951 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 10952 }
d55e5bfc
RD
10953 return resultobj;
10954 fail:
10955 return NULL;
10956}
10957
10958
c370783e 10959static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10960 PyObject *resultobj = NULL;
d55e5bfc
RD
10961 unsigned long arg1 = (unsigned long) 0 ;
10962 wxString result;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "nErrCode", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
10969 if (obj0) {
36ed4f51 10970 {
32fe5131 10971 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
10972 if (SWIG_arg_fail(1)) SWIG_fail;
10973 }
d55e5bfc
RD
10974 }
10975 {
10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
10977 result = wxSysErrorMsg(arg1);
10978
10979 wxPyEndAllowThreads(__tstate);
10980 if (PyErr_Occurred()) SWIG_fail;
10981 }
10982 {
10983#if wxUSE_UNICODE
10984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10985#else
10986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10987#endif
10988 }
10989 return resultobj;
10990 fail:
10991 return NULL;
10992}
10993
10994
c370783e 10995static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 10996 PyObject *resultobj = NULL;
d55e5bfc 10997 wxString *arg1 = 0 ;
b411df4a 10998 bool temp1 = false ;
d55e5bfc
RD
10999 PyObject * obj0 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "msg", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
11005 {
11006 arg1 = wxString_in_helper(obj0);
11007 if (arg1 == NULL) SWIG_fail;
b411df4a 11008 temp1 = true;
d55e5bfc
RD
11009 }
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11012 wxPyLogFatalError((wxString const &)*arg1);
d55e5bfc
RD
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 {
11019 if (temp1)
11020 delete arg1;
11021 }
11022 return resultobj;
11023 fail:
11024 {
11025 if (temp1)
11026 delete arg1;
11027 }
11028 return NULL;
11029}
11030
11031
c370783e 11032static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11033 PyObject *resultobj = NULL;
d55e5bfc 11034 wxString *arg1 = 0 ;
b411df4a 11035 bool temp1 = false ;
d55e5bfc
RD
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "msg", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
11042 {
11043 arg1 = wxString_in_helper(obj0);
11044 if (arg1 == NULL) SWIG_fail;
b411df4a 11045 temp1 = true;
d55e5bfc
RD
11046 }
11047 {
11048 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11049 wxPyLogError((wxString const &)*arg1);
d55e5bfc
RD
11050
11051 wxPyEndAllowThreads(__tstate);
11052 if (PyErr_Occurred()) SWIG_fail;
11053 }
11054 Py_INCREF(Py_None); resultobj = Py_None;
11055 {
11056 if (temp1)
11057 delete arg1;
11058 }
11059 return resultobj;
11060 fail:
11061 {
11062 if (temp1)
11063 delete arg1;
11064 }
11065 return NULL;
11066}
11067
11068
c370783e 11069static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11070 PyObject *resultobj = NULL;
d55e5bfc 11071 wxString *arg1 = 0 ;
b411df4a 11072 bool temp1 = false ;
d55e5bfc
RD
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "msg", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
11079 {
11080 arg1 = wxString_in_helper(obj0);
11081 if (arg1 == NULL) SWIG_fail;
b411df4a 11082 temp1 = true;
d55e5bfc
RD
11083 }
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11086 wxPyLogWarning((wxString const &)*arg1);
d55e5bfc
RD
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 {
11093 if (temp1)
11094 delete arg1;
11095 }
11096 return resultobj;
11097 fail:
11098 {
11099 if (temp1)
11100 delete arg1;
11101 }
11102 return NULL;
11103}
11104
11105
c370783e 11106static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11107 PyObject *resultobj = NULL;
d55e5bfc 11108 wxString *arg1 = 0 ;
b411df4a 11109 bool temp1 = false ;
d55e5bfc
RD
11110 PyObject * obj0 = 0 ;
11111 char *kwnames[] = {
11112 (char *) "msg", NULL
11113 };
11114
11115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
11116 {
11117 arg1 = wxString_in_helper(obj0);
11118 if (arg1 == NULL) SWIG_fail;
b411df4a 11119 temp1 = true;
d55e5bfc
RD
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11123 wxPyLogMessage((wxString const &)*arg1);
d55e5bfc
RD
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 Py_INCREF(Py_None); resultobj = Py_None;
11129 {
11130 if (temp1)
11131 delete arg1;
11132 }
11133 return resultobj;
11134 fail:
11135 {
11136 if (temp1)
11137 delete arg1;
11138 }
11139 return NULL;
11140}
11141
11142
c370783e 11143static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11144 PyObject *resultobj = NULL;
d55e5bfc 11145 wxString *arg1 = 0 ;
b411df4a 11146 bool temp1 = false ;
d55e5bfc
RD
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "msg", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
11153 {
11154 arg1 = wxString_in_helper(obj0);
11155 if (arg1 == NULL) SWIG_fail;
b411df4a 11156 temp1 = true;
d55e5bfc
RD
11157 }
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11160 wxPyLogInfo((wxString const &)*arg1);
d55e5bfc
RD
11161
11162 wxPyEndAllowThreads(__tstate);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 Py_INCREF(Py_None); resultobj = Py_None;
11166 {
11167 if (temp1)
11168 delete arg1;
11169 }
11170 return resultobj;
11171 fail:
11172 {
11173 if (temp1)
11174 delete arg1;
11175 }
11176 return NULL;
11177}
11178
11179
c370783e 11180static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11181 PyObject *resultobj = NULL;
d55e5bfc 11182 wxString *arg1 = 0 ;
b411df4a 11183 bool temp1 = false ;
d55e5bfc
RD
11184 PyObject * obj0 = 0 ;
11185 char *kwnames[] = {
11186 (char *) "msg", NULL
11187 };
11188
11189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
11190 {
11191 arg1 = wxString_in_helper(obj0);
11192 if (arg1 == NULL) SWIG_fail;
b411df4a 11193 temp1 = true;
d55e5bfc
RD
11194 }
11195 {
11196 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11197 wxPyLogDebug((wxString const &)*arg1);
d55e5bfc
RD
11198
11199 wxPyEndAllowThreads(__tstate);
11200 if (PyErr_Occurred()) SWIG_fail;
11201 }
11202 Py_INCREF(Py_None); resultobj = Py_None;
11203 {
11204 if (temp1)
11205 delete arg1;
11206 }
11207 return resultobj;
11208 fail:
11209 {
11210 if (temp1)
11211 delete arg1;
11212 }
11213 return NULL;
11214}
11215
11216
c370783e 11217static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11218 PyObject *resultobj = NULL;
d55e5bfc 11219 wxString *arg1 = 0 ;
b411df4a 11220 bool temp1 = false ;
d55e5bfc
RD
11221 PyObject * obj0 = 0 ;
11222 char *kwnames[] = {
11223 (char *) "msg", NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
11227 {
11228 arg1 = wxString_in_helper(obj0);
11229 if (arg1 == NULL) SWIG_fail;
b411df4a 11230 temp1 = true;
d55e5bfc
RD
11231 }
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11234 wxPyLogVerbose((wxString const &)*arg1);
d55e5bfc
RD
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 Py_INCREF(Py_None); resultobj = Py_None;
11240 {
11241 if (temp1)
11242 delete arg1;
11243 }
11244 return resultobj;
11245 fail:
11246 {
11247 if (temp1)
11248 delete arg1;
11249 }
11250 return NULL;
11251}
11252
11253
c370783e 11254static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11255 PyObject *resultobj = NULL;
d55e5bfc 11256 wxString *arg1 = 0 ;
b411df4a 11257 bool temp1 = false ;
d55e5bfc
RD
11258 PyObject * obj0 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "msg", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
11264 {
11265 arg1 = wxString_in_helper(obj0);
11266 if (arg1 == NULL) SWIG_fail;
b411df4a 11267 temp1 = true;
d55e5bfc
RD
11268 }
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11271 wxPyLogStatus((wxString const &)*arg1);
d55e5bfc
RD
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 Py_INCREF(Py_None); resultobj = Py_None;
11277 {
11278 if (temp1)
11279 delete arg1;
11280 }
11281 return resultobj;
11282 fail:
11283 {
11284 if (temp1)
11285 delete arg1;
11286 }
11287 return NULL;
11288}
11289
11290
c370783e 11291static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11292 PyObject *resultobj = NULL;
d55e5bfc
RD
11293 wxFrame *arg1 = (wxFrame *) 0 ;
11294 wxString *arg2 = 0 ;
b411df4a 11295 bool temp2 = false ;
d55e5bfc
RD
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "pFrame",(char *) "msg", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11305 {
11306 arg2 = wxString_in_helper(obj1);
11307 if (arg2 == NULL) SWIG_fail;
b411df4a 11308 temp2 = true;
d55e5bfc
RD
11309 }
11310 {
11311 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11312 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
d55e5bfc
RD
11313
11314 wxPyEndAllowThreads(__tstate);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 }
11317 Py_INCREF(Py_None); resultobj = Py_None;
11318 {
11319 if (temp2)
11320 delete arg2;
11321 }
11322 return resultobj;
11323 fail:
11324 {
11325 if (temp2)
11326 delete arg2;
11327 }
11328 return NULL;
11329}
11330
11331
c370783e 11332static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11333 PyObject *resultobj = NULL;
d55e5bfc 11334 wxString *arg1 = 0 ;
b411df4a 11335 bool temp1 = false ;
d55e5bfc
RD
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "msg", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
11342 {
11343 arg1 = wxString_in_helper(obj0);
11344 if (arg1 == NULL) SWIG_fail;
b411df4a 11345 temp1 = true;
d55e5bfc
RD
11346 }
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11349 wxPyLogSysError((wxString const &)*arg1);
d55e5bfc
RD
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 {
11356 if (temp1)
11357 delete arg1;
11358 }
11359 return resultobj;
11360 fail:
11361 {
11362 if (temp1)
11363 delete arg1;
11364 }
11365 return NULL;
11366}
11367
11368
f78cc896 11369static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11370 PyObject *resultobj = NULL;
f78cc896
RD
11371 unsigned long arg1 ;
11372 wxString *arg2 = 0 ;
11373 bool temp2 = false ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 char *kwnames[] = {
11377 (char *) "level",(char *) "msg", NULL
11378 };
11379
11380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 11381 {
32fe5131 11382 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
11383 if (SWIG_arg_fail(1)) SWIG_fail;
11384 }
f78cc896
RD
11385 {
11386 arg2 = wxString_in_helper(obj1);
11387 if (arg2 == NULL) SWIG_fail;
11388 temp2 = true;
11389 }
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 wxPyLogGeneric(arg1,(wxString const &)*arg2);
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 Py_INCREF(Py_None); resultobj = Py_None;
11398 {
11399 if (temp2)
11400 delete arg2;
11401 }
11402 return resultobj;
11403 fail:
11404 {
11405 if (temp2)
11406 delete arg2;
11407 }
11408 return NULL;
11409}
11410
11411
c370783e 11412static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
32fe5131 11413 PyObject *resultobj = NULL;
d55e5bfc
RD
11414 unsigned long arg1 ;
11415 wxString *arg2 = 0 ;
b411df4a 11416 bool temp2 = false ;
d55e5bfc
RD
11417 PyObject * obj0 = 0 ;
11418 PyObject * obj1 = 0 ;
11419
11420 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
36ed4f51 11421 {
32fe5131 11422 arg1 = static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
11423 if (SWIG_arg_fail(1)) SWIG_fail;
11424 }
d55e5bfc
RD
11425 {
11426 arg2 = wxString_in_helper(obj1);
11427 if (arg2 == NULL) SWIG_fail;
b411df4a 11428 temp2 = true;
d55e5bfc
RD
11429 }
11430 {
11431 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11432 wxPyLogTrace(arg1,(wxString const &)*arg2);
d55e5bfc
RD
11433
11434 wxPyEndAllowThreads(__tstate);
11435 if (PyErr_Occurred()) SWIG_fail;
11436 }
11437 Py_INCREF(Py_None); resultobj = Py_None;
11438 {
11439 if (temp2)
11440 delete arg2;
11441 }
11442 return resultobj;
11443 fail:
11444 {
11445 if (temp2)
11446 delete arg2;
11447 }
11448 return NULL;
11449}
11450
11451
c370783e 11452static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
32fe5131 11453 PyObject *resultobj = NULL;
d55e5bfc
RD
11454 wxString *arg1 = 0 ;
11455 wxString *arg2 = 0 ;
b411df4a
RD
11456 bool temp1 = false ;
11457 bool temp2 = false ;
d55e5bfc
RD
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460
11461 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
11462 {
11463 arg1 = wxString_in_helper(obj0);
11464 if (arg1 == NULL) SWIG_fail;
b411df4a 11465 temp1 = true;
d55e5bfc
RD
11466 }
11467 {
11468 arg2 = wxString_in_helper(obj1);
11469 if (arg2 == NULL) SWIG_fail;
b411df4a 11470 temp2 = true;
d55e5bfc
RD
11471 }
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
f78cc896 11474 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
d55e5bfc
RD
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 Py_INCREF(Py_None); resultobj = Py_None;
11480 {
11481 if (temp1)
11482 delete arg1;
11483 }
11484 {
11485 if (temp2)
11486 delete arg2;
11487 }
11488 return resultobj;
11489 fail:
11490 {
11491 if (temp1)
11492 delete arg1;
11493 }
11494 {
11495 if (temp2)
11496 delete arg2;
11497 }
11498 return NULL;
11499}
11500
11501
11502static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
11503 int argc;
11504 PyObject *argv[3];
11505 int ii;
11506
11507 argc = PyObject_Length(args);
11508 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
11509 argv[ii] = PyTuple_GetItem(args,ii);
11510 }
11511 if (argc == 2) {
11512 int _v;
11513 {
11514 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
11515 }
11516 if (_v) {
11517 {
11518 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11519 }
11520 if (_v) {
11521 return _wrap_LogTrace__SWIG_1(self,args);
11522 }
11523 }
11524 }
11525 if (argc == 2) {
11526 int _v;
c370783e 11527 _v = SWIG_Check_unsigned_SS_long(argv[0]);
d55e5bfc
RD
11528 if (_v) {
11529 {
11530 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
11531 }
11532 if (_v) {
11533 return _wrap_LogTrace__SWIG_0(self,args);
11534 }
11535 }
11536 }
11537
36ed4f51 11538 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
d55e5bfc
RD
11539 return NULL;
11540}
11541
11542
c370783e 11543static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11544 PyObject *resultobj = NULL;
d55e5bfc
RD
11545 wxString *arg1 = 0 ;
11546 wxString *arg2 = 0 ;
b411df4a
RD
11547 bool temp1 = false ;
11548 bool temp2 = false ;
d55e5bfc
RD
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "title",(char *) "text", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
11556 {
11557 arg1 = wxString_in_helper(obj0);
11558 if (arg1 == NULL) SWIG_fail;
b411df4a 11559 temp1 = true;
d55e5bfc
RD
11560 }
11561 {
11562 arg2 = wxString_in_helper(obj1);
11563 if (arg2 == NULL) SWIG_fail;
b411df4a 11564 temp2 = true;
d55e5bfc
RD
11565 }
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 Py_INCREF(Py_None); resultobj = Py_None;
11574 {
11575 if (temp1)
11576 delete arg1;
11577 }
11578 {
11579 if (temp2)
11580 delete arg2;
11581 }
11582 return resultobj;
11583 fail:
11584 {
11585 if (temp1)
11586 delete arg1;
11587 }
11588 {
11589 if (temp2)
11590 delete arg2;
11591 }
11592 return NULL;
11593}
11594
11595
c370783e 11596static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11597 PyObject *resultobj = NULL;
d55e5bfc
RD
11598 wxLogNull *result;
11599 char *kwnames[] = {
11600 NULL
11601 };
11602
11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (wxLogNull *)new wxLogNull();
11607
11608 wxPyEndAllowThreads(__tstate);
11609 if (PyErr_Occurred()) SWIG_fail;
11610 }
11611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
11612 return resultobj;
11613 fail:
11614 return NULL;
11615}
11616
11617
c370783e 11618static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11619 PyObject *resultobj = NULL;
d55e5bfc
RD
11620 wxLogNull *arg1 = (wxLogNull *) 0 ;
11621 PyObject * obj0 = 0 ;
11622 char *kwnames[] = {
11623 (char *) "self", NULL
11624 };
11625
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
36ed4f51
RD
11627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11629 {
11630 PyThreadState* __tstate = wxPyBeginAllowThreads();
11631 delete arg1;
11632
11633 wxPyEndAllowThreads(__tstate);
11634 if (PyErr_Occurred()) SWIG_fail;
11635 }
11636 Py_INCREF(Py_None); resultobj = Py_None;
11637 return resultobj;
11638 fail:
11639 return NULL;
11640}
11641
11642
c370783e 11643static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11644 PyObject *obj;
11645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11646 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
11647 Py_INCREF(obj);
11648 return Py_BuildValue((char *)"");
11649}
c370783e 11650static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11651 PyObject *resultobj = NULL;
d55e5bfc
RD
11652 wxPyLog *result;
11653 char *kwnames[] = {
11654 NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 result = (wxPyLog *)new wxPyLog();
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
11666 return resultobj;
11667 fail:
11668 return NULL;
11669}
11670
11671
c370783e 11672static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11673 PyObject *resultobj = NULL;
d55e5bfc
RD
11674 wxPyLog *arg1 = (wxPyLog *) 0 ;
11675 PyObject *arg2 = (PyObject *) 0 ;
11676 PyObject *arg3 = (PyObject *) 0 ;
11677 PyObject * obj0 = 0 ;
11678 PyObject * obj1 = 0 ;
11679 PyObject * obj2 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self",(char *) "self",(char *) "_class", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11687 arg2 = obj1;
11688 arg3 = obj2;
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 (arg1)->_setCallbackInfo(arg2,arg3);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 Py_INCREF(Py_None); resultobj = Py_None;
11697 return resultobj;
11698 fail:
11699 return NULL;
11700}
11701
11702
c370783e 11703static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11704 PyObject *obj;
11705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11706 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
11707 Py_INCREF(obj);
11708 return Py_BuildValue((char *)"");
11709}
c370783e 11710static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11711 PyObject *resultobj = NULL;
d55e5bfc 11712 int arg1 ;
36ed4f51 11713 wxSignal arg2 = (wxSignal) wxSIGTERM ;
03e46024 11714 int arg3 = (int) wxKILL_NOCHILDREN ;
36ed4f51 11715 wxKillError result;
d55e5bfc
RD
11716 PyObject * obj0 = 0 ;
11717 PyObject * obj1 = 0 ;
03e46024 11718 PyObject * obj2 = 0 ;
d55e5bfc 11719 char *kwnames[] = {
03e46024 11720 (char *) "pid",(char *) "sig",(char *) "flags", NULL
d55e5bfc
RD
11721 };
11722
03e46024 11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51 11724 {
32fe5131 11725 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
11726 if (SWIG_arg_fail(1)) SWIG_fail;
11727 }
d55e5bfc 11728 if (obj1) {
36ed4f51 11729 {
32fe5131 11730 arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
36ed4f51
RD
11731 if (SWIG_arg_fail(2)) SWIG_fail;
11732 }
d55e5bfc 11733 }
03e46024 11734 if (obj2) {
36ed4f51 11735 {
32fe5131 11736 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11737 if (SWIG_arg_fail(3)) SWIG_fail;
11738 }
03e46024 11739 }
d55e5bfc
RD
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 11742 result = (wxKillError)wxPyProcess::Kill(arg1,arg2,arg3);
d55e5bfc
RD
11743
11744 wxPyEndAllowThreads(__tstate);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
36ed4f51 11747 resultobj = SWIG_From_int((result));
d55e5bfc
RD
11748 return resultobj;
11749 fail:
11750 return NULL;
11751}
11752
11753
c370783e 11754static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11755 PyObject *resultobj = NULL;
d55e5bfc
RD
11756 int arg1 ;
11757 bool result;
11758 PyObject * obj0 = 0 ;
11759 char *kwnames[] = {
11760 (char *) "pid", NULL
11761 };
11762
11763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
36ed4f51 11764 {
32fe5131 11765 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
11766 if (SWIG_arg_fail(1)) SWIG_fail;
11767 }
d55e5bfc
RD
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (bool)wxPyProcess::Exists(arg1);
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 {
11776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11777 }
11778 return resultobj;
11779 fail:
11780 return NULL;
11781}
11782
11783
c370783e 11784static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11785 PyObject *resultobj = NULL;
d55e5bfc
RD
11786 wxString *arg1 = 0 ;
11787 int arg2 = (int) wxEXEC_ASYNC ;
11788 wxPyProcess *result;
b411df4a 11789 bool temp1 = false ;
d55e5bfc
RD
11790 PyObject * obj0 = 0 ;
11791 PyObject * obj1 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "cmd",(char *) "flags", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
11797 {
11798 arg1 = wxString_in_helper(obj0);
11799 if (arg1 == NULL) SWIG_fail;
b411df4a 11800 temp1 = true;
d55e5bfc
RD
11801 }
11802 if (obj1) {
36ed4f51 11803 {
32fe5131 11804 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11805 if (SWIG_arg_fail(2)) SWIG_fail;
11806 }
d55e5bfc
RD
11807 }
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
11811
11812 wxPyEndAllowThreads(__tstate);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 }
11815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
11816 {
11817 if (temp1)
11818 delete arg1;
11819 }
11820 return resultobj;
11821 fail:
11822 {
11823 if (temp1)
11824 delete arg1;
11825 }
11826 return NULL;
11827}
11828
11829
c370783e 11830static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11831 PyObject *resultobj = NULL;
d55e5bfc
RD
11832 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
11833 int arg2 = (int) -1 ;
11834 wxPyProcess *result;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "parent",(char *) "id", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
11842 if (obj0) {
36ed4f51
RD
11843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11845 }
11846 if (obj1) {
36ed4f51 11847 {
32fe5131 11848 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11849 if (SWIG_arg_fail(2)) SWIG_fail;
11850 }
d55e5bfc
RD
11851 }
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
11860 return resultobj;
11861 fail:
11862 return NULL;
11863}
11864
11865
c370783e 11866static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11867 PyObject *resultobj = NULL;
d55e5bfc
RD
11868 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11869 PyObject *arg2 = (PyObject *) 0 ;
11870 PyObject *arg3 = (PyObject *) 0 ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 PyObject * obj2 = 0 ;
11874 char *kwnames[] = {
11875 (char *) "self",(char *) "self",(char *) "_class", NULL
11876 };
11877
11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11880 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11881 arg2 = obj1;
11882 arg3 = obj2;
11883 {
11884 PyThreadState* __tstate = wxPyBeginAllowThreads();
11885 (arg1)->_setCallbackInfo(arg2,arg3);
11886
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 Py_INCREF(Py_None); resultobj = Py_None;
11891 return resultobj;
11892 fail:
11893 return NULL;
11894}
11895
11896
7f7aa166 11897static PyObject *_wrap_Process_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11898 PyObject *resultobj = NULL;
d55e5bfc
RD
11899 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11900 int arg2 ;
11901 int arg3 ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 PyObject * obj2 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "self",(char *) "pid",(char *) "status", NULL
11907 };
11908
7f7aa166 11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11911 if (SWIG_arg_fail(1)) SWIG_fail;
11912 {
32fe5131 11913 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
11914 if (SWIG_arg_fail(2)) SWIG_fail;
11915 }
11916 {
32fe5131 11917 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
11918 if (SWIG_arg_fail(3)) SWIG_fail;
11919 }
d55e5bfc
RD
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 11922 (arg1)->OnTerminate(arg2,arg3);
d55e5bfc
RD
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 Py_INCREF(Py_None); resultobj = Py_None;
11928 return resultobj;
11929 fail:
11930 return NULL;
11931}
11932
11933
c370783e 11934static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11935 PyObject *resultobj = NULL;
d55e5bfc
RD
11936 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11937 PyObject * obj0 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
36ed4f51
RD
11943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11944 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 (arg1)->Redirect();
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 Py_INCREF(Py_None); resultobj = Py_None;
11953 return resultobj;
11954 fail:
11955 return NULL;
11956}
11957
11958
c370783e 11959static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11960 PyObject *resultobj = NULL;
d55e5bfc
RD
11961 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11962 bool result;
11963 PyObject * obj0 = 0 ;
11964 char *kwnames[] = {
11965 (char *) "self", NULL
11966 };
11967
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
36ed4f51
RD
11969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11970 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (bool)(arg1)->IsRedirected();
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 {
11979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11980 }
11981 return resultobj;
11982 fail:
11983 return NULL;
11984}
11985
11986
c370783e 11987static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 11988 PyObject *resultobj = NULL;
d55e5bfc
RD
11989 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11990 PyObject * obj0 = 0 ;
11991 char *kwnames[] = {
11992 (char *) "self", NULL
11993 };
11994
11995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
11996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11998 {
11999 PyThreadState* __tstate = wxPyBeginAllowThreads();
12000 (arg1)->Detach();
12001
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 Py_INCREF(Py_None); resultobj = Py_None;
12006 return resultobj;
12007 fail:
12008 return NULL;
12009}
12010
12011
c370783e 12012static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12013 PyObject *resultobj = NULL;
d55e5bfc
RD
12014 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12015 wxInputStream *result;
12016 PyObject * obj0 = 0 ;
12017 char *kwnames[] = {
12018 (char *) "self", NULL
12019 };
12020
12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
36ed4f51
RD
12022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (wxInputStream *)(arg1)->GetInputStream();
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 {
12032 wxPyInputStream * _ptr = NULL;
12033
12034 if (result) {
12035 _ptr = new wxPyInputStream(result);
12036 }
fc71d09b 12037 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
12038 }
12039 return resultobj;
12040 fail:
12041 return NULL;
12042}
12043
12044
c370783e 12045static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12046 PyObject *resultobj = NULL;
d55e5bfc
RD
12047 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12048 wxInputStream *result;
12049 PyObject * obj0 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "self", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
36ed4f51
RD
12055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12056 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12057 {
12058 PyThreadState* __tstate = wxPyBeginAllowThreads();
12059 result = (wxInputStream *)(arg1)->GetErrorStream();
12060
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 {
12065 wxPyInputStream * _ptr = NULL;
12066
12067 if (result) {
12068 _ptr = new wxPyInputStream(result);
12069 }
fc71d09b 12070 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
d55e5bfc
RD
12071 }
12072 return resultobj;
12073 fail:
12074 return NULL;
12075}
12076
12077
c370783e 12078static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12079 PyObject *resultobj = NULL;
d55e5bfc
RD
12080 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12081 wxOutputStream *result;
12082 PyObject * obj0 = 0 ;
12083 char *kwnames[] = {
12084 (char *) "self", NULL
12085 };
12086
12087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
36ed4f51
RD
12088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12090 {
12091 PyThreadState* __tstate = wxPyBeginAllowThreads();
12092 result = (wxOutputStream *)(arg1)->GetOutputStream();
12093
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
12098 return resultobj;
12099 fail:
12100 return NULL;
12101}
12102
12103
c370783e 12104static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12105 PyObject *resultobj = NULL;
d55e5bfc
RD
12106 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
36ed4f51
RD
12113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 (arg1)->CloseOutput();
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 Py_INCREF(Py_None); resultobj = Py_None;
12123 return resultobj;
12124 fail:
12125 return NULL;
12126}
12127
12128
c370783e 12129static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12130 PyObject *resultobj = NULL;
d55e5bfc
RD
12131 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12132 bool result;
12133 PyObject * obj0 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
36ed4f51
RD
12139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 {
12149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12150 }
12151 return resultobj;
12152 fail:
12153 return NULL;
12154}
12155
12156
c370783e 12157static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12158 PyObject *resultobj = NULL;
d55e5bfc
RD
12159 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12160 bool result;
12161 PyObject * obj0 = 0 ;
12162 char *kwnames[] = {
12163 (char *) "self", NULL
12164 };
12165
12166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
36ed4f51
RD
12167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12168 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 {
12177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12178 }
12179 return resultobj;
12180 fail:
12181 return NULL;
12182}
12183
12184
c370783e 12185static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12186 PyObject *resultobj = NULL;
d55e5bfc
RD
12187 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
12188 bool result;
12189 PyObject * obj0 = 0 ;
12190 char *kwnames[] = {
12191 (char *) "self", NULL
12192 };
12193
12194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
36ed4f51
RD
12195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12196 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 {
12205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12206 }
12207 return resultobj;
12208 fail:
12209 return NULL;
12210}
12211
12212
c370783e 12213static PyObject * Process_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12214 PyObject *obj;
12215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12216 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
12217 Py_INCREF(obj);
12218 return Py_BuildValue((char *)"");
12219}
c370783e 12220static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12221 PyObject *resultobj = NULL;
d55e5bfc
RD
12222 int arg1 = (int) 0 ;
12223 int arg2 = (int) 0 ;
12224 int arg3 = (int) 0 ;
12225 wxProcessEvent *result;
12226 PyObject * obj0 = 0 ;
12227 PyObject * obj1 = 0 ;
12228 PyObject * obj2 = 0 ;
12229 char *kwnames[] = {
12230 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
12231 };
12232
12233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
12234 if (obj0) {
36ed4f51 12235 {
32fe5131 12236 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
12237 if (SWIG_arg_fail(1)) SWIG_fail;
12238 }
d55e5bfc
RD
12239 }
12240 if (obj1) {
36ed4f51 12241 {
32fe5131 12242 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12243 if (SWIG_arg_fail(2)) SWIG_fail;
12244 }
d55e5bfc
RD
12245 }
12246 if (obj2) {
36ed4f51 12247 {
32fe5131 12248 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12249 if (SWIG_arg_fail(3)) SWIG_fail;
12250 }
d55e5bfc
RD
12251 }
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
12260 return resultobj;
12261 fail:
12262 return NULL;
12263}
12264
12265
c370783e 12266static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12267 PyObject *resultobj = NULL;
d55e5bfc
RD
12268 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12269 int result;
12270 PyObject * obj0 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
36ed4f51
RD
12276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = (int)(arg1)->GetPid();
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
36ed4f51 12285 {
32fe5131 12286 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12287 }
d55e5bfc
RD
12288 return resultobj;
12289 fail:
12290 return NULL;
12291}
12292
12293
c370783e 12294static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12295 PyObject *resultobj = NULL;
d55e5bfc
RD
12296 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12297 int result;
12298 PyObject * obj0 = 0 ;
12299 char *kwnames[] = {
12300 (char *) "self", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
12304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12306 {
12307 PyThreadState* __tstate = wxPyBeginAllowThreads();
12308 result = (int)(arg1)->GetExitCode();
12309
12310 wxPyEndAllowThreads(__tstate);
12311 if (PyErr_Occurred()) SWIG_fail;
12312 }
36ed4f51 12313 {
32fe5131 12314 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12315 }
d55e5bfc
RD
12316 return resultobj;
12317 fail:
12318 return NULL;
12319}
12320
12321
c370783e 12322static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12323 PyObject *resultobj = NULL;
d55e5bfc
RD
12324 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12325 int arg2 ;
12326 PyObject * obj0 = 0 ;
12327 PyObject * obj1 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "m_pid", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12334 if (SWIG_arg_fail(1)) SWIG_fail;
12335 {
32fe5131 12336 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12337 if (SWIG_arg_fail(2)) SWIG_fail;
12338 }
d55e5bfc
RD
12339 if (arg1) (arg1)->m_pid = arg2;
12340
12341 Py_INCREF(Py_None); resultobj = Py_None;
12342 return resultobj;
12343 fail:
12344 return NULL;
12345}
12346
12347
c370783e 12348static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12349 PyObject *resultobj = NULL;
d55e5bfc
RD
12350 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12351 int result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
12358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12360 result = (int) ((arg1)->m_pid);
12361
36ed4f51 12362 {
32fe5131 12363 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12364 }
d55e5bfc
RD
12365 return resultobj;
12366 fail:
12367 return NULL;
12368}
12369
12370
c370783e 12371static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12372 PyObject *resultobj = NULL;
d55e5bfc
RD
12373 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12374 int arg2 ;
12375 PyObject * obj0 = 0 ;
12376 PyObject * obj1 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "self",(char *) "m_exitcode", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12383 if (SWIG_arg_fail(1)) SWIG_fail;
12384 {
32fe5131 12385 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12386 if (SWIG_arg_fail(2)) SWIG_fail;
12387 }
d55e5bfc
RD
12388 if (arg1) (arg1)->m_exitcode = arg2;
12389
12390 Py_INCREF(Py_None); resultobj = Py_None;
12391 return resultobj;
12392 fail:
12393 return NULL;
12394}
12395
12396
c370783e 12397static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12398 PyObject *resultobj = NULL;
d55e5bfc
RD
12399 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
12400 int result;
12401 PyObject * obj0 = 0 ;
12402 char *kwnames[] = {
12403 (char *) "self", NULL
12404 };
12405
12406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
12407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
12408 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12409 result = (int) ((arg1)->m_exitcode);
12410
36ed4f51 12411 {
32fe5131 12412 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12413 }
d55e5bfc
RD
12414 return resultobj;
12415 fail:
12416 return NULL;
12417}
12418
12419
c370783e 12420static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12421 PyObject *obj;
12422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12423 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
12424 Py_INCREF(obj);
12425 return Py_BuildValue((char *)"");
12426}
c370783e 12427static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12428 PyObject *resultobj = NULL;
d55e5bfc
RD
12429 wxString *arg1 = 0 ;
12430 int arg2 = (int) wxEXEC_ASYNC ;
12431 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
12432 long result;
b411df4a 12433 bool temp1 = false ;
d55e5bfc
RD
12434 PyObject * obj0 = 0 ;
12435 PyObject * obj1 = 0 ;
12436 PyObject * obj2 = 0 ;
12437 char *kwnames[] = {
12438 (char *) "command",(char *) "flags",(char *) "process", NULL
12439 };
12440
12441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
12442 {
12443 arg1 = wxString_in_helper(obj0);
12444 if (arg1 == NULL) SWIG_fail;
b411df4a 12445 temp1 = true;
d55e5bfc
RD
12446 }
12447 if (obj1) {
36ed4f51 12448 {
32fe5131 12449 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12450 if (SWIG_arg_fail(2)) SWIG_fail;
12451 }
d55e5bfc
RD
12452 }
12453 if (obj2) {
36ed4f51
RD
12454 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
12455 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
12456 }
12457 {
0439c23b 12458 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
12461
12462 wxPyEndAllowThreads(__tstate);
110da5b0 12463 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 12464 }
36ed4f51 12465 {
32fe5131 12466 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 12467 }
d55e5bfc
RD
12468 {
12469 if (temp1)
12470 delete arg1;
12471 }
12472 return resultobj;
12473 fail:
12474 {
12475 if (temp1)
12476 delete arg1;
12477 }
12478 return NULL;
12479}
12480
12481
03e46024 12482static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12483 PyObject *resultobj = NULL;
03e46024 12484 long arg1 ;
36ed4f51 12485 wxSignal arg2 = (wxSignal) wxSIGTERM ;
03e46024
RD
12486 wxKillError *arg3 = (wxKillError *) 0 ;
12487 int arg4 = (int) wxKILL_NOCHILDREN ;
12488 int result;
12489 wxKillError temp3 ;
12490 PyObject * obj0 = 0 ;
12491 PyObject * obj1 = 0 ;
12492 PyObject * obj2 = 0 ;
12493 char *kwnames[] = {
12494 (char *) "pid",(char *) "sig",(char *) "flags", NULL
12495 };
12496
12497 {
12498 arg3 = &temp3;
12499 }
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51 12501 {
32fe5131 12502 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
12503 if (SWIG_arg_fail(1)) SWIG_fail;
12504 }
03e46024 12505 if (obj1) {
36ed4f51 12506 {
32fe5131 12507 arg2 = static_cast<wxSignal >(SWIG_As_int(obj1));
36ed4f51
RD
12508 if (SWIG_arg_fail(2)) SWIG_fail;
12509 }
03e46024
RD
12510 }
12511 if (obj2) {
36ed4f51 12512 {
32fe5131 12513 arg4 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
12514 if (SWIG_arg_fail(4)) SWIG_fail;
12515 }
03e46024
RD
12516 }
12517 {
12518 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 12519 result = (int)wxKill(arg1,arg2,arg3,arg4);
03e46024
RD
12520
12521 wxPyEndAllowThreads(__tstate);
12522 if (PyErr_Occurred()) SWIG_fail;
12523 }
36ed4f51 12524 {
32fe5131 12525 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12526 }
03e46024
RD
12527 {
12528 PyObject* o;
12529 o = PyInt_FromLong((long) (*arg3));
7e08d4ef 12530
03e46024 12531 resultobj = t_output_helper(resultobj, o);
7e08d4ef
RD
12532
12533
12534
03e46024
RD
12535 }
12536 return resultobj;
12537 fail:
12538 return NULL;
12539}
12540
12541
c370783e 12542static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12543 PyObject *resultobj = NULL;
d55e5bfc
RD
12544 int arg1 = (int) wxJOYSTICK1 ;
12545 wxJoystick *result;
12546 PyObject * obj0 = 0 ;
12547 char *kwnames[] = {
12548 (char *) "joystick", NULL
12549 };
12550
12551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
12552 if (obj0) {
36ed4f51 12553 {
32fe5131 12554 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
12555 if (SWIG_arg_fail(1)) SWIG_fail;
12556 }
d55e5bfc
RD
12557 }
12558 {
0439c23b 12559 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12560 PyThreadState* __tstate = wxPyBeginAllowThreads();
12561 result = (wxJoystick *)new wxJoystick(arg1);
12562
12563 wxPyEndAllowThreads(__tstate);
110da5b0 12564 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12565 }
12566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
12567 return resultobj;
12568 fail:
12569 return NULL;
12570}
12571
12572
c370783e 12573static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12574 PyObject *resultobj = NULL;
d55e5bfc
RD
12575 wxJoystick *arg1 = (wxJoystick *) 0 ;
12576 PyObject * obj0 = 0 ;
12577 char *kwnames[] = {
12578 (char *) "self", NULL
12579 };
12580
12581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
36ed4f51
RD
12582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12584 {
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 delete arg1;
12587
12588 wxPyEndAllowThreads(__tstate);
12589 if (PyErr_Occurred()) SWIG_fail;
12590 }
12591 Py_INCREF(Py_None); resultobj = Py_None;
12592 return resultobj;
12593 fail:
12594 return NULL;
12595}
12596
12597
c370783e 12598static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12599 PyObject *resultobj = NULL;
d55e5bfc
RD
12600 wxJoystick *arg1 = (wxJoystick *) 0 ;
12601 wxPoint result;
12602 PyObject * obj0 = 0 ;
12603 char *kwnames[] = {
12604 (char *) "self", NULL
12605 };
12606
12607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12609 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (arg1)->GetPosition();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 {
12618 wxPoint * resultptr;
32fe5131 12619 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
12620 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12621 }
12622 return resultobj;
12623 fail:
12624 return NULL;
12625}
12626
12627
c370783e 12628static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12629 PyObject *resultobj = NULL;
d55e5bfc
RD
12630 wxJoystick *arg1 = (wxJoystick *) 0 ;
12631 int result;
12632 PyObject * obj0 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "self", NULL
12635 };
12636
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 result = (int)(arg1)->GetZPosition();
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
36ed4f51 12647 {
32fe5131 12648 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12649 }
d55e5bfc
RD
12650 return resultobj;
12651 fail:
12652 return NULL;
12653}
12654
12655
c370783e 12656static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12657 PyObject *resultobj = NULL;
d55e5bfc
RD
12658 wxJoystick *arg1 = (wxJoystick *) 0 ;
12659 int result;
12660 PyObject * obj0 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self", NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
36ed4f51
RD
12666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12667 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 result = (int)(arg1)->GetButtonState();
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
36ed4f51 12675 {
32fe5131 12676 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12677 }
d55e5bfc
RD
12678 return resultobj;
12679 fail:
12680 return NULL;
12681}
12682
12683
c370783e 12684static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12685 PyObject *resultobj = NULL;
d55e5bfc
RD
12686 wxJoystick *arg1 = (wxJoystick *) 0 ;
12687 int result;
12688 PyObject * obj0 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12694 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12695 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 result = (int)(arg1)->GetPOVPosition();
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
36ed4f51 12703 {
32fe5131 12704 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12705 }
d55e5bfc
RD
12706 return resultobj;
12707 fail:
12708 return NULL;
12709}
12710
12711
c370783e 12712static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12713 PyObject *resultobj = NULL;
d55e5bfc
RD
12714 wxJoystick *arg1 = (wxJoystick *) 0 ;
12715 int result;
12716 PyObject * obj0 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "self", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 result = (int)(arg1)->GetPOVCTSPosition();
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
36ed4f51 12731 {
32fe5131 12732 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12733 }
d55e5bfc
RD
12734 return resultobj;
12735 fail:
12736 return NULL;
12737}
12738
12739
c370783e 12740static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12741 PyObject *resultobj = NULL;
d55e5bfc
RD
12742 wxJoystick *arg1 = (wxJoystick *) 0 ;
12743 int result;
12744 PyObject * obj0 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12752 {
12753 PyThreadState* __tstate = wxPyBeginAllowThreads();
12754 result = (int)(arg1)->GetRudderPosition();
12755
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
36ed4f51 12759 {
32fe5131 12760 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12761 }
d55e5bfc
RD
12762 return resultobj;
12763 fail:
12764 return NULL;
12765}
12766
12767
c370783e 12768static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12769 PyObject *resultobj = NULL;
d55e5bfc
RD
12770 wxJoystick *arg1 = (wxJoystick *) 0 ;
12771 int result;
12772 PyObject * obj0 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (int)(arg1)->GetUPosition();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
36ed4f51 12787 {
32fe5131 12788 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12789 }
d55e5bfc
RD
12790 return resultobj;
12791 fail:
12792 return NULL;
12793}
12794
12795
c370783e 12796static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12797 PyObject *resultobj = NULL;
d55e5bfc
RD
12798 wxJoystick *arg1 = (wxJoystick *) 0 ;
12799 int result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
12806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (int)(arg1)->GetVPosition();
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
36ed4f51 12815 {
32fe5131 12816 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12817 }
d55e5bfc
RD
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
c370783e 12824static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12825 PyObject *resultobj = NULL;
d55e5bfc
RD
12826 wxJoystick *arg1 = (wxJoystick *) 0 ;
12827 int result;
12828 PyObject * obj0 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
36ed4f51
RD
12834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12835 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 result = (int)(arg1)->GetMovementThreshold();
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
36ed4f51 12843 {
32fe5131 12844 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12845 }
d55e5bfc
RD
12846 return resultobj;
12847 fail:
12848 return NULL;
12849}
12850
12851
c370783e 12852static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12853 PyObject *resultobj = NULL;
d55e5bfc
RD
12854 wxJoystick *arg1 = (wxJoystick *) 0 ;
12855 int arg2 ;
12856 PyObject * obj0 = 0 ;
12857 PyObject * obj1 = 0 ;
12858 char *kwnames[] = {
12859 (char *) "self",(char *) "threshold", NULL
12860 };
12861
12862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12864 if (SWIG_arg_fail(1)) SWIG_fail;
12865 {
32fe5131 12866 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
12867 if (SWIG_arg_fail(2)) SWIG_fail;
12868 }
d55e5bfc
RD
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 (arg1)->SetMovementThreshold(arg2);
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 Py_INCREF(Py_None); resultobj = Py_None;
12877 return resultobj;
12878 fail:
12879 return NULL;
12880}
12881
12882
c370783e 12883static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12884 PyObject *resultobj = NULL;
d55e5bfc
RD
12885 wxJoystick *arg1 = (wxJoystick *) 0 ;
12886 bool result;
12887 PyObject * obj0 = 0 ;
12888 char *kwnames[] = {
12889 (char *) "self", NULL
12890 };
12891
12892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
12893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12894 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12895 {
12896 PyThreadState* __tstate = wxPyBeginAllowThreads();
12897 result = (bool)(arg1)->IsOk();
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 {
12903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12904 }
12905 return resultobj;
12906 fail:
12907 return NULL;
12908}
12909
12910
c370783e 12911static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12912 PyObject *resultobj = NULL;
d55e5bfc
RD
12913 wxJoystick *arg1 = (wxJoystick *) 0 ;
12914 int result;
12915 PyObject * obj0 = 0 ;
12916 char *kwnames[] = {
12917 (char *) "self", NULL
12918 };
12919
12920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
36ed4f51
RD
12921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12922 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12923 {
12924 PyThreadState* __tstate = wxPyBeginAllowThreads();
12925 result = (int)(arg1)->GetNumberJoysticks();
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
36ed4f51 12930 {
32fe5131 12931 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12932 }
d55e5bfc
RD
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
c370783e 12939static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12940 PyObject *resultobj = NULL;
d55e5bfc
RD
12941 wxJoystick *arg1 = (wxJoystick *) 0 ;
12942 int result;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
36ed4f51
RD
12949 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12950 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (int)(arg1)->GetManufacturerId();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
36ed4f51 12958 {
32fe5131 12959 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12960 }
d55e5bfc
RD
12961 return resultobj;
12962 fail:
12963 return NULL;
12964}
12965
12966
c370783e 12967static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12968 PyObject *resultobj = NULL;
d55e5bfc
RD
12969 wxJoystick *arg1 = (wxJoystick *) 0 ;
12970 int result;
12971 PyObject * obj0 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
36ed4f51
RD
12977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (int)(arg1)->GetProductId();
12982
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
36ed4f51 12986 {
32fe5131 12987 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 12988 }
d55e5bfc
RD
12989 return resultobj;
12990 fail:
12991 return NULL;
12992}
12993
12994
c370783e 12995static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 12996 PyObject *resultobj = NULL;
d55e5bfc
RD
12997 wxJoystick *arg1 = (wxJoystick *) 0 ;
12998 wxString result;
12999 PyObject * obj0 = 0 ;
13000 char *kwnames[] = {
13001 (char *) "self", NULL
13002 };
13003
13004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
36ed4f51
RD
13005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13006 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13007 {
13008 PyThreadState* __tstate = wxPyBeginAllowThreads();
13009 result = (arg1)->GetProductName();
13010
13011 wxPyEndAllowThreads(__tstate);
13012 if (PyErr_Occurred()) SWIG_fail;
13013 }
13014 {
13015#if wxUSE_UNICODE
13016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13017#else
13018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13019#endif
13020 }
13021 return resultobj;
13022 fail:
13023 return NULL;
13024}
13025
13026
c370783e 13027static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13028 PyObject *resultobj = NULL;
d55e5bfc
RD
13029 wxJoystick *arg1 = (wxJoystick *) 0 ;
13030 int result;
13031 PyObject * obj0 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13038 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (int)(arg1)->GetXMin();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
36ed4f51 13046 {
32fe5131 13047 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13048 }
d55e5bfc
RD
13049 return resultobj;
13050 fail:
13051 return NULL;
13052}
13053
13054
c370783e 13055static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13056 PyObject *resultobj = NULL;
d55e5bfc
RD
13057 wxJoystick *arg1 = (wxJoystick *) 0 ;
13058 int result;
13059 PyObject * obj0 = 0 ;
13060 char *kwnames[] = {
13061 (char *) "self", NULL
13062 };
13063
13064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13066 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (int)(arg1)->GetYMin();
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
36ed4f51 13074 {
32fe5131 13075 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13076 }
d55e5bfc
RD
13077 return resultobj;
13078 fail:
13079 return NULL;
13080}
13081
13082
c370783e 13083static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13084 PyObject *resultobj = NULL;
d55e5bfc
RD
13085 wxJoystick *arg1 = (wxJoystick *) 0 ;
13086 int result;
13087 PyObject * obj0 = 0 ;
13088 char *kwnames[] = {
13089 (char *) "self", NULL
13090 };
13091
13092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13095 {
13096 PyThreadState* __tstate = wxPyBeginAllowThreads();
13097 result = (int)(arg1)->GetZMin();
13098
13099 wxPyEndAllowThreads(__tstate);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
36ed4f51 13102 {
32fe5131 13103 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13104 }
d55e5bfc
RD
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
c370783e 13111static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13112 PyObject *resultobj = NULL;
d55e5bfc
RD
13113 wxJoystick *arg1 = (wxJoystick *) 0 ;
13114 int result;
13115 PyObject * obj0 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (int)(arg1)->GetXMax();
13126
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
36ed4f51 13130 {
32fe5131 13131 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13132 }
d55e5bfc
RD
13133 return resultobj;
13134 fail:
13135 return NULL;
13136}
13137
13138
c370783e 13139static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13140 PyObject *resultobj = NULL;
d55e5bfc
RD
13141 wxJoystick *arg1 = (wxJoystick *) 0 ;
13142 int result;
13143 PyObject * obj0 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13151 {
13152 PyThreadState* __tstate = wxPyBeginAllowThreads();
13153 result = (int)(arg1)->GetYMax();
13154
13155 wxPyEndAllowThreads(__tstate);
13156 if (PyErr_Occurred()) SWIG_fail;
13157 }
36ed4f51 13158 {
32fe5131 13159 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13160 }
d55e5bfc
RD
13161 return resultobj;
13162 fail:
13163 return NULL;
13164}
13165
13166
c370783e 13167static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13168 PyObject *resultobj = NULL;
d55e5bfc
RD
13169 wxJoystick *arg1 = (wxJoystick *) 0 ;
13170 int result;
13171 PyObject * obj0 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13177 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13178 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 result = (int)(arg1)->GetZMax();
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
36ed4f51 13186 {
32fe5131 13187 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13188 }
d55e5bfc
RD
13189 return resultobj;
13190 fail:
13191 return NULL;
13192}
13193
13194
c370783e 13195static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13196 PyObject *resultobj = NULL;
d55e5bfc
RD
13197 wxJoystick *arg1 = (wxJoystick *) 0 ;
13198 int result;
13199 PyObject * obj0 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "self", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
36ed4f51
RD
13205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (int)(arg1)->GetNumberButtons();
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
36ed4f51 13214 {
32fe5131 13215 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13216 }
d55e5bfc
RD
13217 return resultobj;
13218 fail:
13219 return NULL;
13220}
13221
13222
c370783e 13223static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13224 PyObject *resultobj = NULL;
d55e5bfc
RD
13225 wxJoystick *arg1 = (wxJoystick *) 0 ;
13226 int result;
13227 PyObject * obj0 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
36ed4f51
RD
13233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (int)(arg1)->GetNumberAxes();
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
36ed4f51 13242 {
32fe5131 13243 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13244 }
d55e5bfc
RD
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
c370783e 13251static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13252 PyObject *resultobj = NULL;
d55e5bfc
RD
13253 wxJoystick *arg1 = (wxJoystick *) 0 ;
13254 int result;
13255 PyObject * obj0 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
36ed4f51
RD
13261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (int)(arg1)->GetMaxButtons();
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
36ed4f51 13270 {
32fe5131 13271 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13272 }
d55e5bfc
RD
13273 return resultobj;
13274 fail:
13275 return NULL;
13276}
13277
13278
c370783e 13279static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13280 PyObject *resultobj = NULL;
d55e5bfc
RD
13281 wxJoystick *arg1 = (wxJoystick *) 0 ;
13282 int result;
13283 PyObject * obj0 = 0 ;
13284 char *kwnames[] = {
13285 (char *) "self", NULL
13286 };
13287
13288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
36ed4f51
RD
13289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13290 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13291 {
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (int)(arg1)->GetMaxAxes();
13294
13295 wxPyEndAllowThreads(__tstate);
13296 if (PyErr_Occurred()) SWIG_fail;
13297 }
36ed4f51 13298 {
32fe5131 13299 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13300 }
d55e5bfc
RD
13301 return resultobj;
13302 fail:
13303 return NULL;
13304}
13305
13306
c370783e 13307static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13308 PyObject *resultobj = NULL;
d55e5bfc
RD
13309 wxJoystick *arg1 = (wxJoystick *) 0 ;
13310 int result;
13311 PyObject * obj0 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13318 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 result = (int)(arg1)->GetPollingMin();
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
36ed4f51 13326 {
32fe5131 13327 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13328 }
d55e5bfc
RD
13329 return resultobj;
13330 fail:
13331 return NULL;
13332}
13333
13334
c370783e 13335static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13336 PyObject *resultobj = NULL;
d55e5bfc
RD
13337 wxJoystick *arg1 = (wxJoystick *) 0 ;
13338 int result;
13339 PyObject * obj0 = 0 ;
13340 char *kwnames[] = {
13341 (char *) "self", NULL
13342 };
13343
13344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13346 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 result = (int)(arg1)->GetPollingMax();
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
36ed4f51 13354 {
32fe5131 13355 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13356 }
d55e5bfc
RD
13357 return resultobj;
13358 fail:
13359 return NULL;
13360}
13361
13362
c370783e 13363static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13364 PyObject *resultobj = NULL;
d55e5bfc
RD
13365 wxJoystick *arg1 = (wxJoystick *) 0 ;
13366 int result;
13367 PyObject * obj0 = 0 ;
13368 char *kwnames[] = {
13369 (char *) "self", NULL
13370 };
13371
13372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (int)(arg1)->GetRudderMin();
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
36ed4f51 13382 {
32fe5131 13383 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13384 }
d55e5bfc
RD
13385 return resultobj;
13386 fail:
13387 return NULL;
13388}
13389
13390
c370783e 13391static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13392 PyObject *resultobj = NULL;
d55e5bfc
RD
13393 wxJoystick *arg1 = (wxJoystick *) 0 ;
13394 int result;
13395 PyObject * obj0 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13402 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13403 {
13404 PyThreadState* __tstate = wxPyBeginAllowThreads();
13405 result = (int)(arg1)->GetRudderMax();
13406
13407 wxPyEndAllowThreads(__tstate);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
36ed4f51 13410 {
32fe5131 13411 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13412 }
d55e5bfc
RD
13413 return resultobj;
13414 fail:
13415 return NULL;
13416}
13417
13418
c370783e 13419static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13420 PyObject *resultobj = NULL;
d55e5bfc
RD
13421 wxJoystick *arg1 = (wxJoystick *) 0 ;
13422 int result;
13423 PyObject * obj0 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13430 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = (int)(arg1)->GetUMin();
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
36ed4f51 13438 {
32fe5131 13439 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13440 }
d55e5bfc
RD
13441 return resultobj;
13442 fail:
13443 return NULL;
13444}
13445
13446
c370783e 13447static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13448 PyObject *resultobj = NULL;
d55e5bfc
RD
13449 wxJoystick *arg1 = (wxJoystick *) 0 ;
13450 int result;
13451 PyObject * obj0 = 0 ;
13452 char *kwnames[] = {
13453 (char *) "self", NULL
13454 };
13455
13456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (int)(arg1)->GetUMax();
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
36ed4f51 13466 {
32fe5131 13467 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13468 }
d55e5bfc
RD
13469 return resultobj;
13470 fail:
13471 return NULL;
13472}
13473
13474
c370783e 13475static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13476 PyObject *resultobj = NULL;
d55e5bfc
RD
13477 wxJoystick *arg1 = (wxJoystick *) 0 ;
13478 int result;
13479 PyObject * obj0 = 0 ;
13480 char *kwnames[] = {
13481 (char *) "self", NULL
13482 };
13483
13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13485 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13486 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 result = (int)(arg1)->GetVMin();
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
36ed4f51 13494 {
32fe5131 13495 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13496 }
d55e5bfc
RD
13497 return resultobj;
13498 fail:
13499 return NULL;
13500}
13501
13502
c370783e 13503static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13504 PyObject *resultobj = NULL;
d55e5bfc
RD
13505 wxJoystick *arg1 = (wxJoystick *) 0 ;
13506 int result;
13507 PyObject * obj0 = 0 ;
13508 char *kwnames[] = {
13509 (char *) "self", NULL
13510 };
13511
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = (int)(arg1)->GetVMax();
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
36ed4f51 13522 {
32fe5131 13523 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13524 }
d55e5bfc
RD
13525 return resultobj;
13526 fail:
13527 return NULL;
13528}
13529
13530
c370783e 13531static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13532 PyObject *resultobj = NULL;
d55e5bfc
RD
13533 wxJoystick *arg1 = (wxJoystick *) 0 ;
13534 bool result;
13535 PyObject * obj0 = 0 ;
13536 char *kwnames[] = {
13537 (char *) "self", NULL
13538 };
13539
13540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
36ed4f51
RD
13541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13542 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = (bool)(arg1)->HasRudder();
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 {
13551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13552 }
13553 return resultobj;
13554 fail:
13555 return NULL;
13556}
13557
13558
c370783e 13559static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13560 PyObject *resultobj = NULL;
d55e5bfc
RD
13561 wxJoystick *arg1 = (wxJoystick *) 0 ;
13562 bool result;
13563 PyObject * obj0 = 0 ;
13564 char *kwnames[] = {
13565 (char *) "self", NULL
13566 };
13567
13568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
36ed4f51
RD
13569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (bool)(arg1)->HasZ();
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 {
13579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13580 }
13581 return resultobj;
13582 fail:
13583 return NULL;
13584}
13585
13586
c370783e 13587static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13588 PyObject *resultobj = NULL;
d55e5bfc
RD
13589 wxJoystick *arg1 = (wxJoystick *) 0 ;
13590 bool result;
13591 PyObject * obj0 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "self", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
36ed4f51
RD
13597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (bool)(arg1)->HasU();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 {
13607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13608 }
13609 return resultobj;
13610 fail:
13611 return NULL;
13612}
13613
13614
c370783e 13615static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13616 PyObject *resultobj = NULL;
d55e5bfc
RD
13617 wxJoystick *arg1 = (wxJoystick *) 0 ;
13618 bool result;
13619 PyObject * obj0 = 0 ;
13620 char *kwnames[] = {
13621 (char *) "self", NULL
13622 };
13623
13624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
36ed4f51
RD
13625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13626 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 result = (bool)(arg1)->HasV();
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 {
13635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13636 }
13637 return resultobj;
13638 fail:
13639 return NULL;
13640}
13641
13642
c370783e 13643static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13644 PyObject *resultobj = NULL;
d55e5bfc
RD
13645 wxJoystick *arg1 = (wxJoystick *) 0 ;
13646 bool result;
13647 PyObject * obj0 = 0 ;
13648 char *kwnames[] = {
13649 (char *) "self", NULL
13650 };
13651
13652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
36ed4f51
RD
13653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 result = (bool)(arg1)->HasPOV();
13658
13659 wxPyEndAllowThreads(__tstate);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
13662 {
13663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13664 }
13665 return resultobj;
13666 fail:
13667 return NULL;
13668}
13669
13670
c370783e 13671static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13672 PyObject *resultobj = NULL;
d55e5bfc
RD
13673 wxJoystick *arg1 = (wxJoystick *) 0 ;
13674 bool result;
13675 PyObject * obj0 = 0 ;
13676 char *kwnames[] = {
13677 (char *) "self", NULL
13678 };
13679
13680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
36ed4f51
RD
13681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13683 {
13684 PyThreadState* __tstate = wxPyBeginAllowThreads();
13685 result = (bool)(arg1)->HasPOV4Dir();
13686
13687 wxPyEndAllowThreads(__tstate);
13688 if (PyErr_Occurred()) SWIG_fail;
13689 }
13690 {
13691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13692 }
13693 return resultobj;
13694 fail:
13695 return NULL;
13696}
13697
13698
c370783e 13699static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13700 PyObject *resultobj = NULL;
d55e5bfc
RD
13701 wxJoystick *arg1 = (wxJoystick *) 0 ;
13702 bool result;
13703 PyObject * obj0 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "self", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
36ed4f51
RD
13709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13710 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (bool)(arg1)->HasPOVCTS();
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 {
13719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13720 }
13721 return resultobj;
13722 fail:
13723 return NULL;
13724}
13725
13726
c370783e 13727static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13728 PyObject *resultobj = NULL;
d55e5bfc
RD
13729 wxJoystick *arg1 = (wxJoystick *) 0 ;
13730 wxWindow *arg2 = (wxWindow *) 0 ;
13731 int arg3 = (int) 0 ;
13732 bool result;
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj1 = 0 ;
13735 PyObject * obj2 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail;
13743 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13744 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 13745 if (obj2) {
36ed4f51 13746 {
32fe5131 13747 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13748 if (SWIG_arg_fail(3)) SWIG_fail;
13749 }
d55e5bfc
RD
13750 }
13751 {
13752 PyThreadState* __tstate = wxPyBeginAllowThreads();
13753 result = (bool)(arg1)->SetCapture(arg2,arg3);
13754
13755 wxPyEndAllowThreads(__tstate);
13756 if (PyErr_Occurred()) SWIG_fail;
13757 }
13758 {
13759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13760 }
13761 return resultobj;
13762 fail:
13763 return NULL;
13764}
13765
13766
c370783e 13767static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13768 PyObject *resultobj = NULL;
d55e5bfc
RD
13769 wxJoystick *arg1 = (wxJoystick *) 0 ;
13770 bool result;
13771 PyObject * obj0 = 0 ;
13772 char *kwnames[] = {
13773 (char *) "self", NULL
13774 };
13775
13776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
36ed4f51
RD
13777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 result = (bool)(arg1)->ReleaseCapture();
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 {
13787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13788 }
13789 return resultobj;
13790 fail:
13791 return NULL;
13792}
13793
13794
c370783e 13795static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13796 PyObject *obj;
13797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13798 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
13799 Py_INCREF(obj);
13800 return Py_BuildValue((char *)"");
13801}
c370783e 13802static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13803 PyObject *resultobj = NULL;
d55e5bfc
RD
13804 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13805 int arg2 = (int) 0 ;
13806 int arg3 = (int) wxJOYSTICK1 ;
13807 int arg4 = (int) 0 ;
13808 wxJoystickEvent *result;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 PyObject * obj2 = 0 ;
13812 PyObject * obj3 = 0 ;
13813 char *kwnames[] = {
13814 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
13815 };
13816
13817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13818 if (obj0) {
36ed4f51 13819 {
32fe5131 13820 arg1 = static_cast<wxEventType >(SWIG_As_int(obj0));
36ed4f51
RD
13821 if (SWIG_arg_fail(1)) SWIG_fail;
13822 }
d55e5bfc
RD
13823 }
13824 if (obj1) {
36ed4f51 13825 {
32fe5131 13826 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
13827 if (SWIG_arg_fail(2)) SWIG_fail;
13828 }
d55e5bfc
RD
13829 }
13830 if (obj2) {
36ed4f51 13831 {
32fe5131 13832 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
13833 if (SWIG_arg_fail(3)) SWIG_fail;
13834 }
d55e5bfc
RD
13835 }
13836 if (obj3) {
36ed4f51 13837 {
32fe5131 13838 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
13839 if (SWIG_arg_fail(4)) SWIG_fail;
13840 }
d55e5bfc
RD
13841 }
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
13850 return resultobj;
13851 fail:
13852 return NULL;
13853}
13854
13855
c370783e 13856static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13857 PyObject *resultobj = NULL;
d55e5bfc
RD
13858 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13859 wxPoint result;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 result = ((wxJoystickEvent const *)arg1)->GetPosition();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 {
13876 wxPoint * resultptr;
32fe5131 13877 resultptr = new wxPoint(static_cast<wxPoint & >(result));
d55e5bfc
RD
13878 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
13879 }
13880 return resultobj;
13881 fail:
13882 return NULL;
13883}
13884
13885
c370783e 13886static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13887 PyObject *resultobj = NULL;
d55e5bfc
RD
13888 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13889 int result;
13890 PyObject * obj0 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
36ed4f51 13905 {
32fe5131 13906 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13907 }
d55e5bfc
RD
13908 return resultobj;
13909 fail:
13910 return NULL;
13911}
13912
13913
c370783e 13914static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13915 PyObject *resultobj = NULL;
d55e5bfc
RD
13916 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13917 int result;
13918 PyObject * obj0 = 0 ;
13919 char *kwnames[] = {
13920 (char *) "self", NULL
13921 };
13922
13923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
36ed4f51
RD
13924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13925 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13926 {
13927 PyThreadState* __tstate = wxPyBeginAllowThreads();
13928 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
13929
13930 wxPyEndAllowThreads(__tstate);
13931 if (PyErr_Occurred()) SWIG_fail;
13932 }
36ed4f51 13933 {
32fe5131 13934 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13935 }
d55e5bfc
RD
13936 return resultobj;
13937 fail:
13938 return NULL;
13939}
13940
13941
c370783e 13942static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13943 PyObject *resultobj = NULL;
d55e5bfc
RD
13944 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13945 int result;
13946 PyObject * obj0 = 0 ;
13947 char *kwnames[] = {
13948 (char *) "self", NULL
13949 };
13950
13951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
36ed4f51
RD
13952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
13957
13958 wxPyEndAllowThreads(__tstate);
13959 if (PyErr_Occurred()) SWIG_fail;
13960 }
36ed4f51 13961 {
32fe5131 13962 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13963 }
d55e5bfc
RD
13964 return resultobj;
13965 fail:
13966 return NULL;
13967}
13968
13969
c370783e 13970static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13971 PyObject *resultobj = NULL;
d55e5bfc
RD
13972 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13973 int result;
13974 PyObject * obj0 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
36ed4f51
RD
13980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
36ed4f51 13989 {
32fe5131 13990 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 13991 }
d55e5bfc
RD
13992 return resultobj;
13993 fail:
13994 return NULL;
13995}
13996
13997
c370783e 13998static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 13999 PyObject *resultobj = NULL;
d55e5bfc
RD
14000 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14001 int arg2 ;
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
14004 char *kwnames[] = {
14005 (char *) "self",(char *) "stick", NULL
14006 };
14007
14008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14009 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14010 if (SWIG_arg_fail(1)) SWIG_fail;
14011 {
32fe5131 14012 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14013 if (SWIG_arg_fail(2)) SWIG_fail;
14014 }
d55e5bfc
RD
14015 {
14016 PyThreadState* __tstate = wxPyBeginAllowThreads();
14017 (arg1)->SetJoystick(arg2);
14018
14019 wxPyEndAllowThreads(__tstate);
14020 if (PyErr_Occurred()) SWIG_fail;
14021 }
14022 Py_INCREF(Py_None); resultobj = Py_None;
14023 return resultobj;
14024 fail:
14025 return NULL;
14026}
14027
14028
c370783e 14029static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14030 PyObject *resultobj = NULL;
d55e5bfc
RD
14031 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14032 int arg2 ;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self",(char *) "state", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14041 if (SWIG_arg_fail(1)) SWIG_fail;
14042 {
32fe5131 14043 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14044 if (SWIG_arg_fail(2)) SWIG_fail;
14045 }
d55e5bfc
RD
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 (arg1)->SetButtonState(arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 Py_INCREF(Py_None); resultobj = Py_None;
14054 return resultobj;
14055 fail:
14056 return NULL;
14057}
14058
14059
c370783e 14060static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14061 PyObject *resultobj = NULL;
d55e5bfc
RD
14062 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14063 int arg2 ;
14064 PyObject * obj0 = 0 ;
14065 PyObject * obj1 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self",(char *) "change", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14072 if (SWIG_arg_fail(1)) SWIG_fail;
14073 {
32fe5131 14074 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14075 if (SWIG_arg_fail(2)) SWIG_fail;
14076 }
d55e5bfc
RD
14077 {
14078 PyThreadState* __tstate = wxPyBeginAllowThreads();
14079 (arg1)->SetButtonChange(arg2);
14080
14081 wxPyEndAllowThreads(__tstate);
14082 if (PyErr_Occurred()) SWIG_fail;
14083 }
14084 Py_INCREF(Py_None); resultobj = Py_None;
14085 return resultobj;
14086 fail:
14087 return NULL;
14088}
14089
14090
c370783e 14091static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14092 PyObject *resultobj = NULL;
d55e5bfc
RD
14093 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14094 wxPoint *arg2 = 0 ;
14095 wxPoint temp2 ;
14096 PyObject * obj0 = 0 ;
14097 PyObject * obj1 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self",(char *) "pos", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14105 {
14106 arg2 = &temp2;
14107 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14108 }
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 (arg1)->SetPosition((wxPoint const &)*arg2);
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 Py_INCREF(Py_None); resultobj = Py_None;
14117 return resultobj;
14118 fail:
14119 return NULL;
14120}
14121
14122
c370783e 14123static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14124 PyObject *resultobj = NULL;
d55e5bfc
RD
14125 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14126 int arg2 ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj1 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self",(char *) "zPos", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14135 if (SWIG_arg_fail(1)) SWIG_fail;
14136 {
32fe5131 14137 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14138 if (SWIG_arg_fail(2)) SWIG_fail;
14139 }
d55e5bfc
RD
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 (arg1)->SetZPosition(arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 Py_INCREF(Py_None); resultobj = Py_None;
14148 return resultobj;
14149 fail:
14150 return NULL;
14151}
14152
14153
c370783e 14154static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14155 PyObject *resultobj = NULL;
d55e5bfc
RD
14156 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14157 bool result;
14158 PyObject * obj0 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
14164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14165 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 {
14174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14175 }
14176 return resultobj;
14177 fail:
14178 return NULL;
14179}
14180
14181
c370783e 14182static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14183 PyObject *resultobj = NULL;
d55e5bfc
RD
14184 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14185 bool result;
14186 PyObject * obj0 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
36ed4f51
RD
14192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 {
14202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14203 }
14204 return resultobj;
14205 fail:
14206 return NULL;
14207}
14208
14209
c370783e 14210static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14211 PyObject *resultobj = NULL;
d55e5bfc
RD
14212 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14213 bool result;
14214 PyObject * obj0 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
36ed4f51
RD
14220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
14229 {
14230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14231 }
14232 return resultobj;
14233 fail:
14234 return NULL;
14235}
14236
14237
c370783e 14238static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14239 PyObject *resultobj = NULL;
d55e5bfc
RD
14240 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14241 int arg2 = (int) wxJOY_BUTTON_ANY ;
14242 bool result;
14243 PyObject * obj0 = 0 ;
14244 PyObject * obj1 = 0 ;
14245 char *kwnames[] = {
14246 (char *) "self",(char *) "but", NULL
14247 };
14248
14249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14252 if (obj1) {
36ed4f51 14253 {
32fe5131 14254 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14255 if (SWIG_arg_fail(2)) SWIG_fail;
14256 }
d55e5bfc
RD
14257 }
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 {
14266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14267 }
14268 return resultobj;
14269 fail:
14270 return NULL;
14271}
14272
14273
c370783e 14274static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14275 PyObject *resultobj = NULL;
d55e5bfc
RD
14276 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14277 int arg2 = (int) wxJOY_BUTTON_ANY ;
14278 bool result;
14279 PyObject * obj0 = 0 ;
14280 PyObject * obj1 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "but", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14286 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14287 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14288 if (obj1) {
36ed4f51 14289 {
32fe5131 14290 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14291 if (SWIG_arg_fail(2)) SWIG_fail;
14292 }
d55e5bfc
RD
14293 }
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 {
14302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14303 }
14304 return resultobj;
14305 fail:
14306 return NULL;
14307}
14308
14309
c370783e 14310static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14311 PyObject *resultobj = NULL;
d55e5bfc
RD
14312 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
14313 int arg2 = (int) wxJOY_BUTTON_ANY ;
14314 bool result;
14315 PyObject * obj0 = 0 ;
14316 PyObject * obj1 = 0 ;
14317 char *kwnames[] = {
14318 (char *) "self",(char *) "but", NULL
14319 };
14320
14321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
14323 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14324 if (obj1) {
36ed4f51 14325 {
32fe5131 14326 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
14327 if (SWIG_arg_fail(2)) SWIG_fail;
14328 }
d55e5bfc
RD
14329 }
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 {
14338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14339 }
14340 return resultobj;
14341 fail:
14342 return NULL;
14343}
14344
14345
c370783e 14346static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14347 PyObject *obj;
14348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14349 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
14350 Py_INCREF(obj);
14351 return Py_BuildValue((char *)"");
14352}
c370783e 14353static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14354 PyObject *resultobj = NULL;
0346c964
RD
14355 wxString const &arg1_defvalue = wxPyEmptyString ;
14356 wxString *arg1 = (wxString *) &arg1_defvalue ;
d55e5bfc 14357 wxSound *result;
b411df4a 14358 bool temp1 = false ;
d55e5bfc 14359 PyObject * obj0 = 0 ;
0346c964
RD
14360 char *kwnames[] = {
14361 (char *) "fileName", NULL
14362 };
d55e5bfc 14363
0346c964
RD
14364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
14365 if (obj0) {
14366 {
14367 arg1 = wxString_in_helper(obj0);
14368 if (arg1 == NULL) SWIG_fail;
b411df4a 14369 temp1 = true;
0346c964 14370 }
d55e5bfc
RD
14371 }
14372 {
0439c23b 14373 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 14375 result = (wxSound *)new_wxSound((wxString const &)*arg1);
d55e5bfc
RD
14376
14377 wxPyEndAllowThreads(__tstate);
110da5b0 14378 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14379 }
14380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
14381 {
14382 if (temp1)
14383 delete arg1;
14384 }
14385 return resultobj;
14386 fail:
14387 {
14388 if (temp1)
14389 delete arg1;
14390 }
14391 return NULL;
14392}
14393
14394
c370783e 14395static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14396 PyObject *resultobj = NULL;
0346c964 14397 PyObject *arg1 = (PyObject *) 0 ;
d55e5bfc
RD
14398 wxSound *result;
14399 PyObject * obj0 = 0 ;
0346c964
RD
14400 char *kwnames[] = {
14401 (char *) "data", NULL
14402 };
d55e5bfc 14403
0346c964
RD
14404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
14405 arg1 = obj0;
d55e5bfc 14406 {
0439c23b 14407 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 14409 result = (wxSound *)new_wxSound(arg1);
d55e5bfc
RD
14410
14411 wxPyEndAllowThreads(__tstate);
110da5b0 14412 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14413 }
14414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
14415 return resultobj;
14416 fail:
14417 return NULL;
14418}
14419
14420
c370783e 14421static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14422 PyObject *resultobj = NULL;
d55e5bfc
RD
14423 wxSound *arg1 = (wxSound *) 0 ;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
36ed4f51
RD
14430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14431 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 delete arg1;
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 Py_INCREF(Py_None); resultobj = Py_None;
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
c370783e 14446static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14447 PyObject *resultobj = NULL;
d55e5bfc
RD
14448 wxSound *arg1 = (wxSound *) 0 ;
14449 wxString *arg2 = 0 ;
d55e5bfc 14450 bool result;
b411df4a 14451 bool temp2 = false ;
d55e5bfc
RD
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
0346c964
RD
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "fileName", NULL
14456 };
d55e5bfc 14457
0346c964 14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14461 {
14462 arg2 = wxString_in_helper(obj1);
14463 if (arg2 == NULL) SWIG_fail;
b411df4a 14464 temp2 = true;
d55e5bfc 14465 }
d55e5bfc
RD
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 14468 result = (bool)(arg1)->Create((wxString const &)*arg2);
d55e5bfc
RD
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 {
14474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14475 }
14476 {
14477 if (temp2)
14478 delete arg2;
14479 }
14480 return resultobj;
14481 fail:
14482 {
14483 if (temp2)
14484 delete arg2;
14485 }
14486 return NULL;
14487}
14488
14489
c370783e 14490static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14491 PyObject *resultobj = NULL;
d55e5bfc 14492 wxSound *arg1 = (wxSound *) 0 ;
0346c964 14493 PyObject *arg2 = (PyObject *) 0 ;
d55e5bfc
RD
14494 bool result;
14495 PyObject * obj0 = 0 ;
14496 PyObject * obj1 = 0 ;
0346c964
RD
14497 char *kwnames[] = {
14498 (char *) "self",(char *) "data", NULL
14499 };
d55e5bfc 14500
0346c964 14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14503 if (SWIG_arg_fail(1)) SWIG_fail;
0346c964 14504 arg2 = obj1;
d55e5bfc
RD
14505 {
14506 PyThreadState* __tstate = wxPyBeginAllowThreads();
0346c964 14507 result = (bool)wxSound_CreateFromData(arg1,arg2);
d55e5bfc
RD
14508
14509 wxPyEndAllowThreads(__tstate);
14510 if (PyErr_Occurred()) SWIG_fail;
14511 }
14512 {
14513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14514 }
14515 return resultobj;
14516 fail:
14517 return NULL;
14518}
14519
14520
c370783e 14521static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14522 PyObject *resultobj = NULL;
d55e5bfc
RD
14523 wxSound *arg1 = (wxSound *) 0 ;
14524 bool result;
14525 PyObject * obj0 = 0 ;
14526 char *kwnames[] = {
14527 (char *) "self", NULL
14528 };
14529
14530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
14531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = (bool)(arg1)->IsOk();
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 {
14541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14542 }
14543 return resultobj;
14544 fail:
14545 return NULL;
14546}
14547
14548
c370783e 14549static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14550 PyObject *resultobj = NULL;
d55e5bfc
RD
14551 wxSound *arg1 = (wxSound *) 0 ;
14552 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
14553 bool result;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
0346c964
RD
14556 char *kwnames[] = {
14557 (char *) "self",(char *) "flags", NULL
14558 };
d55e5bfc 14559
0346c964 14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
14562 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 14563 if (obj1) {
36ed4f51 14564 {
32fe5131 14565 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
36ed4f51
RD
14566 if (SWIG_arg_fail(2)) SWIG_fail;
14567 }
d55e5bfc
RD
14568 }
14569 {
0439c23b 14570 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14571 PyThreadState* __tstate = wxPyBeginAllowThreads();
14572 result = (bool)((wxSound const *)arg1)->Play(arg2);
14573
14574 wxPyEndAllowThreads(__tstate);
110da5b0 14575 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14576 }
14577 {
14578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14579 }
14580 return resultobj;
14581 fail:
14582 return NULL;
14583}
14584
14585
c370783e 14586static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14587 PyObject *resultobj = NULL;
d55e5bfc
RD
14588 wxString *arg1 = 0 ;
14589 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
14590 bool result;
b411df4a 14591 bool temp1 = false ;
d55e5bfc
RD
14592 PyObject * obj0 = 0 ;
14593 PyObject * obj1 = 0 ;
0346c964
RD
14594 char *kwnames[] = {
14595 (char *) "filename",(char *) "flags", NULL
14596 };
d55e5bfc 14597
0346c964 14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
d55e5bfc
RD
14599 {
14600 arg1 = wxString_in_helper(obj0);
14601 if (arg1 == NULL) SWIG_fail;
b411df4a 14602 temp1 = true;
d55e5bfc
RD
14603 }
14604 if (obj1) {
36ed4f51 14605 {
32fe5131 14606 arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1));
36ed4f51
RD
14607 if (SWIG_arg_fail(2)) SWIG_fail;
14608 }
d55e5bfc
RD
14609 }
14610 {
0439c23b 14611 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
14614
14615 wxPyEndAllowThreads(__tstate);
110da5b0 14616 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14617 }
14618 {
14619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14620 }
14621 {
14622 if (temp1)
14623 delete arg1;
14624 }
14625 return resultobj;
14626 fail:
14627 {
14628 if (temp1)
14629 delete arg1;
14630 }
14631 return NULL;
14632}
14633
14634
c370783e 14635static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14636 PyObject *resultobj = NULL;
d55e5bfc
RD
14637 char *kwnames[] = {
14638 NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
14642 {
0439c23b 14643 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
fef4c27a 14645 wxSound::Stop();
d55e5bfc
RD
14646
14647 wxPyEndAllowThreads(__tstate);
110da5b0 14648 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14649 }
14650 Py_INCREF(Py_None); resultobj = Py_None;
14651 return resultobj;
14652 fail:
14653 return NULL;
14654}
14655
14656
c370783e 14657static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14658 PyObject *obj;
14659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14660 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
14661 Py_INCREF(obj);
14662 return Py_BuildValue((char *)"");
14663}
c370783e 14664static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14665 PyObject *resultobj = NULL;
d55e5bfc
RD
14666 wxString *arg1 = 0 ;
14667 wxString *arg2 = 0 ;
14668 wxString *arg3 = 0 ;
14669 wxString *arg4 = 0 ;
14670 wxFileTypeInfo *result;
b411df4a
RD
14671 bool temp1 = false ;
14672 bool temp2 = false ;
14673 bool temp3 = false ;
14674 bool temp4 = false ;
d55e5bfc
RD
14675 PyObject * obj0 = 0 ;
14676 PyObject * obj1 = 0 ;
14677 PyObject * obj2 = 0 ;
14678 PyObject * obj3 = 0 ;
14679 char *kwnames[] = {
14680 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
14681 };
14682
14683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14684 {
14685 arg1 = wxString_in_helper(obj0);
14686 if (arg1 == NULL) SWIG_fail;
b411df4a 14687 temp1 = true;
d55e5bfc
RD
14688 }
14689 {
14690 arg2 = wxString_in_helper(obj1);
14691 if (arg2 == NULL) SWIG_fail;
b411df4a 14692 temp2 = true;
d55e5bfc
RD
14693 }
14694 {
14695 arg3 = wxString_in_helper(obj2);
14696 if (arg3 == NULL) SWIG_fail;
b411df4a 14697 temp3 = true;
d55e5bfc
RD
14698 }
14699 {
14700 arg4 = wxString_in_helper(obj3);
14701 if (arg4 == NULL) SWIG_fail;
b411df4a 14702 temp4 = true;
d55e5bfc
RD
14703 }
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14712 {
14713 if (temp1)
14714 delete arg1;
14715 }
14716 {
14717 if (temp2)
14718 delete arg2;
14719 }
14720 {
14721 if (temp3)
14722 delete arg3;
14723 }
14724 {
14725 if (temp4)
14726 delete arg4;
14727 }
14728 return resultobj;
14729 fail:
14730 {
14731 if (temp1)
14732 delete arg1;
14733 }
14734 {
14735 if (temp2)
14736 delete arg2;
14737 }
14738 {
14739 if (temp3)
14740 delete arg3;
14741 }
14742 {
14743 if (temp4)
14744 delete arg4;
14745 }
14746 return NULL;
14747}
14748
14749
c370783e 14750static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14751 PyObject *resultobj = NULL;
d55e5bfc
RD
14752 wxArrayString *arg1 = 0 ;
14753 wxFileTypeInfo *result;
b411df4a 14754 bool temp1 = false ;
d55e5bfc
RD
14755 PyObject * obj0 = 0 ;
14756 char *kwnames[] = {
14757 (char *) "sArray", NULL
14758 };
14759
14760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
14761 {
14762 if (! PySequence_Check(obj0)) {
14763 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
14764 SWIG_fail;
14765 }
14766 arg1 = new wxArrayString;
b411df4a 14767 temp1 = true;
d55e5bfc
RD
14768 int i, len=PySequence_Length(obj0);
14769 for (i=0; i<len; i++) {
14770 PyObject* item = PySequence_GetItem(obj0, i);
71237536 14771 wxString* s = wxString_in_helper(item);
d55e5bfc 14772 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
14773 arg1->Add(*s);
14774 delete s;
d55e5bfc 14775 Py_DECREF(item);
d55e5bfc
RD
14776 }
14777 }
14778 {
14779 PyThreadState* __tstate = wxPyBeginAllowThreads();
14780 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
14781
14782 wxPyEndAllowThreads(__tstate);
14783 if (PyErr_Occurred()) SWIG_fail;
14784 }
14785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14786 {
14787 if (temp1) delete arg1;
14788 }
14789 return resultobj;
14790 fail:
14791 {
14792 if (temp1) delete arg1;
14793 }
14794 return NULL;
14795}
14796
14797
c370783e 14798static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14799 PyObject *resultobj = NULL;
d55e5bfc
RD
14800 wxFileTypeInfo *result;
14801 char *kwnames[] = {
14802 NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (wxFileTypeInfo *)new wxFileTypeInfo();
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
14814 return resultobj;
14815 fail:
14816 return NULL;
14817}
14818
14819
c370783e 14820static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14821 PyObject *resultobj = NULL;
d55e5bfc
RD
14822 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14823 bool result;
14824 PyObject * obj0 = 0 ;
14825 char *kwnames[] = {
14826 (char *) "self", NULL
14827 };
14828
14829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
36ed4f51
RD
14830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
14835
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 {
14840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14841 }
14842 return resultobj;
14843 fail:
14844 return NULL;
14845}
14846
14847
c370783e 14848static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14849 PyObject *resultobj = NULL;
d55e5bfc
RD
14850 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14851 wxString *arg2 = 0 ;
14852 int arg3 = (int) 0 ;
b411df4a 14853 bool temp2 = false ;
d55e5bfc
RD
14854 PyObject * obj0 = 0 ;
14855 PyObject * obj1 = 0 ;
14856 PyObject * obj2 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14862 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14863 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14864 {
14865 arg2 = wxString_in_helper(obj1);
14866 if (arg2 == NULL) SWIG_fail;
b411df4a 14867 temp2 = true;
d55e5bfc
RD
14868 }
14869 if (obj2) {
36ed4f51 14870 {
32fe5131 14871 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
14872 if (SWIG_arg_fail(3)) SWIG_fail;
14873 }
d55e5bfc
RD
14874 }
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 (arg1)->SetIcon((wxString const &)*arg2,arg3);
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 Py_INCREF(Py_None); resultobj = Py_None;
14883 {
14884 if (temp2)
14885 delete arg2;
14886 }
14887 return resultobj;
14888 fail:
14889 {
14890 if (temp2)
14891 delete arg2;
14892 }
14893 return NULL;
14894}
14895
14896
c370783e 14897static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14898 PyObject *resultobj = NULL;
d55e5bfc
RD
14899 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14900 wxString *arg2 = 0 ;
b411df4a 14901 bool temp2 = false ;
d55e5bfc
RD
14902 PyObject * obj0 = 0 ;
14903 PyObject * obj1 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self",(char *) "shortDesc", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14910 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14911 {
14912 arg2 = wxString_in_helper(obj1);
14913 if (arg2 == NULL) SWIG_fail;
b411df4a 14914 temp2 = true;
d55e5bfc
RD
14915 }
14916 {
14917 PyThreadState* __tstate = wxPyBeginAllowThreads();
14918 (arg1)->SetShortDesc((wxString const &)*arg2);
14919
14920 wxPyEndAllowThreads(__tstate);
14921 if (PyErr_Occurred()) SWIG_fail;
14922 }
14923 Py_INCREF(Py_None); resultobj = Py_None;
14924 {
14925 if (temp2)
14926 delete arg2;
14927 }
14928 return resultobj;
14929 fail:
14930 {
14931 if (temp2)
14932 delete arg2;
14933 }
14934 return NULL;
14935}
14936
14937
c370783e 14938static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14939 PyObject *resultobj = NULL;
d55e5bfc
RD
14940 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14941 wxString *result;
14942 PyObject * obj0 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "self", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
36ed4f51
RD
14948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 {
14953 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
14954 result = (wxString *) &_result_ref;
14955 }
14956
14957 wxPyEndAllowThreads(__tstate);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 {
14961#if wxUSE_UNICODE
14962 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14963#else
14964 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14965#endif
14966 }
14967 return resultobj;
14968 fail:
14969 return NULL;
14970}
14971
14972
c370783e 14973static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 14974 PyObject *resultobj = NULL;
d55e5bfc
RD
14975 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14976 wxString *result;
14977 PyObject * obj0 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
36ed4f51
RD
14983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 {
14988 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
14989 result = (wxString *) &_result_ref;
14990 }
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 {
14996#if wxUSE_UNICODE
14997 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14998#else
14999 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15000#endif
15001 }
15002 return resultobj;
15003 fail:
15004 return NULL;
15005}
15006
15007
c370783e 15008static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15009 PyObject *resultobj = NULL;
d55e5bfc
RD
15010 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15011 wxString *result;
15012 PyObject * obj0 = 0 ;
15013 char *kwnames[] = {
15014 (char *) "self", NULL
15015 };
15016
15017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
36ed4f51
RD
15018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 {
15023 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
15024 result = (wxString *) &_result_ref;
15025 }
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 {
15031#if wxUSE_UNICODE
15032 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15033#else
15034 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15035#endif
15036 }
15037 return resultobj;
15038 fail:
15039 return NULL;
15040}
15041
15042
c370783e 15043static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15044 PyObject *resultobj = NULL;
d55e5bfc
RD
15045 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15046 wxString *result;
15047 PyObject * obj0 = 0 ;
15048 char *kwnames[] = {
15049 (char *) "self", NULL
15050 };
15051
15052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
36ed4f51
RD
15053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 {
15058 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
15059 result = (wxString *) &_result_ref;
15060 }
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 {
15066#if wxUSE_UNICODE
15067 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15068#else
15069 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15070#endif
15071 }
15072 return resultobj;
15073 fail:
15074 return NULL;
15075}
15076
15077
c370783e 15078static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15079 PyObject *resultobj = NULL;
d55e5bfc
RD
15080 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15081 wxString *result;
15082 PyObject * obj0 = 0 ;
15083 char *kwnames[] = {
15084 (char *) "self", NULL
15085 };
15086
15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
36ed4f51
RD
15088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15089 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 {
15093 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
15094 result = (wxString *) &_result_ref;
15095 }
15096
15097 wxPyEndAllowThreads(__tstate);
15098 if (PyErr_Occurred()) SWIG_fail;
15099 }
15100 {
15101#if wxUSE_UNICODE
15102 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15103#else
15104 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15105#endif
15106 }
15107 return resultobj;
15108 fail:
15109 return NULL;
15110}
15111
15112
c370783e 15113static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15114 PyObject *resultobj = NULL;
d55e5bfc
RD
15115 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15116 wxArrayString *result;
15117 PyObject * obj0 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
36ed4f51
RD
15123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15125 {
15126 PyThreadState* __tstate = wxPyBeginAllowThreads();
15127 {
15128 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
15129 result = (wxArrayString *) &_result_ref;
15130 }
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 {
15136 resultobj = wxArrayString2PyList_helper(*result);
15137 }
15138 return resultobj;
15139 fail:
15140 return NULL;
15141}
15142
15143
c370783e 15144static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15145 PyObject *resultobj = NULL;
d55e5bfc
RD
15146 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15147 int result;
15148 PyObject * obj0 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
15154 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15155 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
36ed4f51 15163 {
32fe5131 15164 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15165 }
d55e5bfc
RD
15166 return resultobj;
15167 fail:
15168 return NULL;
15169}
15170
15171
c370783e 15172static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15173 PyObject *resultobj = NULL;
d55e5bfc
RD
15174 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15175 wxString *result;
15176 PyObject * obj0 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
36ed4f51
RD
15182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 {
15187 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
15188 result = (wxString *) &_result_ref;
15189 }
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 {
15195#if wxUSE_UNICODE
15196 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15197#else
15198 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15199#endif
15200 }
15201 return resultobj;
15202 fail:
15203 return NULL;
15204}
15205
15206
c370783e 15207static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15208 PyObject *resultobj = NULL;
d55e5bfc
RD
15209 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
15210 int result;
15211 PyObject * obj0 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
15217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
36ed4f51 15226 {
32fe5131 15227 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 15228 }
d55e5bfc
RD
15229 return resultobj;
15230 fail:
15231 return NULL;
15232}
15233
15234
c370783e 15235static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15236 PyObject *obj;
15237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15238 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
15239 Py_INCREF(obj);
15240 return Py_BuildValue((char *)"");
15241}
c370783e 15242static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15243 PyObject *resultobj = NULL;
d55e5bfc
RD
15244 wxFileTypeInfo *arg1 = 0 ;
15245 wxFileType *result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "ftInfo", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
36ed4f51
RD
15252 {
15253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15254 if (SWIG_arg_fail(1)) SWIG_fail;
15255 if (arg1 == NULL) {
15256 SWIG_null_ref("wxFileTypeInfo");
15257 }
15258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15259 }
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
c370783e 15274static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15275 PyObject *resultobj = NULL;
d55e5bfc
RD
15276 wxFileType *arg1 = (wxFileType *) 0 ;
15277 PyObject * obj0 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
36ed4f51
RD
15283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 delete arg1;
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 Py_INCREF(Py_None); resultobj = Py_None;
15293 return resultobj;
15294 fail:
15295 return NULL;
15296}
15297
15298
c370783e 15299static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15300 PyObject *resultobj = NULL;
d55e5bfc
RD
15301 wxFileType *arg1 = (wxFileType *) 0 ;
15302 PyObject *result;
15303 PyObject * obj0 = 0 ;
15304 char *kwnames[] = {
15305 (char *) "self", NULL
15306 };
15307
15308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
36ed4f51
RD
15309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15310 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 result = (PyObject *)wxFileType_GetMimeType(arg1);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 resultobj = result;
15319 return resultobj;
15320 fail:
15321 return NULL;
15322}
15323
15324
c370783e 15325static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15326 PyObject *resultobj = NULL;
d55e5bfc
RD
15327 wxFileType *arg1 = (wxFileType *) 0 ;
15328 PyObject *result;
15329 PyObject * obj0 = 0 ;
15330 char *kwnames[] = {
15331 (char *) "self", NULL
15332 };
15333
15334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
36ed4f51
RD
15335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15336 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15337 {
15338 PyThreadState* __tstate = wxPyBeginAllowThreads();
15339 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
15340
15341 wxPyEndAllowThreads(__tstate);
15342 if (PyErr_Occurred()) SWIG_fail;
15343 }
15344 resultobj = result;
15345 return resultobj;
15346 fail:
15347 return NULL;
15348}
15349
15350
c370783e 15351static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15352 PyObject *resultobj = NULL;
d55e5bfc
RD
15353 wxFileType *arg1 = (wxFileType *) 0 ;
15354 PyObject *result;
15355 PyObject * obj0 = 0 ;
15356 char *kwnames[] = {
15357 (char *) "self", NULL
15358 };
15359
15360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
36ed4f51
RD
15361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15362 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15363 {
15364 PyThreadState* __tstate = wxPyBeginAllowThreads();
15365 result = (PyObject *)wxFileType_GetExtensions(arg1);
15366
15367 wxPyEndAllowThreads(__tstate);
15368 if (PyErr_Occurred()) SWIG_fail;
15369 }
15370 resultobj = result;
15371 return resultobj;
15372 fail:
15373 return NULL;
15374}
15375
15376
c370783e 15377static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15378 PyObject *resultobj = NULL;
d55e5bfc
RD
15379 wxFileType *arg1 = (wxFileType *) 0 ;
15380 wxIcon *result;
15381 PyObject * obj0 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
36ed4f51
RD
15387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 result = (wxIcon *)wxFileType_GetIcon(arg1);
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
c370783e 15403static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15404 PyObject *resultobj = NULL;
d55e5bfc
RD
15405 wxFileType *arg1 = (wxFileType *) 0 ;
15406 PyObject *result;
15407 PyObject * obj0 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
36ed4f51
RD
15413 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15414 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 result = (PyObject *)wxFileType_GetIconInfo(arg1);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 resultobj = result;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
c370783e 15429static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15430 PyObject *resultobj = NULL;
d55e5bfc
RD
15431 wxFileType *arg1 = (wxFileType *) 0 ;
15432 PyObject *result;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
36ed4f51
RD
15439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15440 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (PyObject *)wxFileType_GetDescription(arg1);
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 resultobj = result;
15449 return resultobj;
15450 fail:
15451 return NULL;
15452}
15453
15454
c370783e 15455static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15456 PyObject *resultobj = NULL;
d55e5bfc
RD
15457 wxFileType *arg1 = (wxFileType *) 0 ;
15458 wxString *arg2 = 0 ;
15459 wxString const &arg3_defvalue = wxPyEmptyString ;
15460 wxString *arg3 = (wxString *) &arg3_defvalue ;
15461 PyObject *result;
b411df4a
RD
15462 bool temp2 = false ;
15463 bool temp3 = false ;
d55e5bfc
RD
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 PyObject * obj2 = 0 ;
15467 char *kwnames[] = {
15468 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15469 };
15470
15471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15474 {
15475 arg2 = wxString_in_helper(obj1);
15476 if (arg2 == NULL) SWIG_fail;
b411df4a 15477 temp2 = true;
d55e5bfc
RD
15478 }
15479 if (obj2) {
15480 {
15481 arg3 = wxString_in_helper(obj2);
15482 if (arg3 == NULL) SWIG_fail;
b411df4a 15483 temp3 = true;
d55e5bfc
RD
15484 }
15485 }
15486 {
15487 PyThreadState* __tstate = wxPyBeginAllowThreads();
15488 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15489
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = result;
15494 {
15495 if (temp2)
15496 delete arg2;
15497 }
15498 {
15499 if (temp3)
15500 delete arg3;
15501 }
15502 return resultobj;
15503 fail:
15504 {
15505 if (temp2)
15506 delete arg2;
15507 }
15508 {
15509 if (temp3)
15510 delete arg3;
15511 }
15512 return NULL;
15513}
15514
15515
c370783e 15516static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15517 PyObject *resultobj = NULL;
d55e5bfc
RD
15518 wxFileType *arg1 = (wxFileType *) 0 ;
15519 wxString *arg2 = 0 ;
15520 wxString const &arg3_defvalue = wxPyEmptyString ;
15521 wxString *arg3 = (wxString *) &arg3_defvalue ;
15522 PyObject *result;
b411df4a
RD
15523 bool temp2 = false ;
15524 bool temp3 = false ;
d55e5bfc
RD
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 PyObject * obj2 = 0 ;
15528 char *kwnames[] = {
15529 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15530 };
15531
15532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15534 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15535 {
15536 arg2 = wxString_in_helper(obj1);
15537 if (arg2 == NULL) SWIG_fail;
b411df4a 15538 temp2 = true;
d55e5bfc
RD
15539 }
15540 if (obj2) {
15541 {
15542 arg3 = wxString_in_helper(obj2);
15543 if (arg3 == NULL) SWIG_fail;
b411df4a 15544 temp3 = true;
d55e5bfc
RD
15545 }
15546 }
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 resultobj = result;
15555 {
15556 if (temp2)
15557 delete arg2;
15558 }
15559 {
15560 if (temp3)
15561 delete arg3;
15562 }
15563 return resultobj;
15564 fail:
15565 {
15566 if (temp2)
15567 delete arg2;
15568 }
15569 {
15570 if (temp3)
15571 delete arg3;
15572 }
15573 return NULL;
15574}
15575
15576
c370783e 15577static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15578 PyObject *resultobj = NULL;
d55e5bfc
RD
15579 wxFileType *arg1 = (wxFileType *) 0 ;
15580 wxString *arg2 = 0 ;
15581 wxString const &arg3_defvalue = wxPyEmptyString ;
15582 wxString *arg3 = (wxString *) &arg3_defvalue ;
15583 PyObject *result;
b411df4a
RD
15584 bool temp2 = false ;
15585 bool temp3 = false ;
d55e5bfc
RD
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15596 {
15597 arg2 = wxString_in_helper(obj1);
15598 if (arg2 == NULL) SWIG_fail;
b411df4a 15599 temp2 = true;
d55e5bfc
RD
15600 }
15601 if (obj2) {
15602 {
15603 arg3 = wxString_in_helper(obj2);
15604 if (arg3 == NULL) SWIG_fail;
b411df4a 15605 temp3 = true;
d55e5bfc
RD
15606 }
15607 }
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 resultobj = result;
15616 {
15617 if (temp2)
15618 delete arg2;
15619 }
15620 {
15621 if (temp3)
15622 delete arg3;
15623 }
15624 return resultobj;
15625 fail:
15626 {
15627 if (temp2)
15628 delete arg2;
15629 }
15630 {
15631 if (temp3)
15632 delete arg3;
15633 }
15634 return NULL;
15635}
15636
15637
c370783e 15638static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15639 PyObject *resultobj = NULL;
d55e5bfc
RD
15640 wxFileType *arg1 = (wxFileType *) 0 ;
15641 wxString *arg2 = 0 ;
15642 wxString *arg3 = 0 ;
b411df4a 15643 bool arg4 = (bool) true ;
d55e5bfc 15644 bool result;
b411df4a
RD
15645 bool temp2 = false ;
15646 bool temp3 = false ;
d55e5bfc
RD
15647 PyObject * obj0 = 0 ;
15648 PyObject * obj1 = 0 ;
15649 PyObject * obj2 = 0 ;
15650 PyObject * obj3 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15658 {
15659 arg2 = wxString_in_helper(obj1);
15660 if (arg2 == NULL) SWIG_fail;
b411df4a 15661 temp2 = true;
d55e5bfc
RD
15662 }
15663 {
15664 arg3 = wxString_in_helper(obj2);
15665 if (arg3 == NULL) SWIG_fail;
b411df4a 15666 temp3 = true;
d55e5bfc
RD
15667 }
15668 if (obj3) {
36ed4f51 15669 {
32fe5131 15670 arg4 = static_cast<bool >(SWIG_As_bool(obj3));
36ed4f51
RD
15671 if (SWIG_arg_fail(4)) SWIG_fail;
15672 }
d55e5bfc
RD
15673 }
15674 {
15675 PyThreadState* __tstate = wxPyBeginAllowThreads();
15676 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
15677
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 {
15682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15683 }
15684 {
15685 if (temp2)
15686 delete arg2;
15687 }
15688 {
15689 if (temp3)
15690 delete arg3;
15691 }
15692 return resultobj;
15693 fail:
15694 {
15695 if (temp2)
15696 delete arg2;
15697 }
15698 {
15699 if (temp3)
15700 delete arg3;
15701 }
15702 return NULL;
15703}
15704
15705
c370783e 15706static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15707 PyObject *resultobj = NULL;
d55e5bfc
RD
15708 wxFileType *arg1 = (wxFileType *) 0 ;
15709 wxString const &arg2_defvalue = wxPyEmptyString ;
15710 wxString *arg2 = (wxString *) &arg2_defvalue ;
15711 int arg3 = (int) 0 ;
15712 bool result;
b411df4a 15713 bool temp2 = false ;
d55e5bfc
RD
15714 PyObject * obj0 = 0 ;
15715 PyObject * obj1 = 0 ;
15716 PyObject * obj2 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self",(char *) "cmd",(char *) "index", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15724 if (obj1) {
15725 {
15726 arg2 = wxString_in_helper(obj1);
15727 if (arg2 == NULL) SWIG_fail;
b411df4a 15728 temp2 = true;
d55e5bfc
RD
15729 }
15730 }
15731 if (obj2) {
36ed4f51 15732 {
32fe5131 15733 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
15734 if (SWIG_arg_fail(3)) SWIG_fail;
15735 }
d55e5bfc
RD
15736 }
15737 {
15738 PyThreadState* __tstate = wxPyBeginAllowThreads();
15739 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
15740
15741 wxPyEndAllowThreads(__tstate);
15742 if (PyErr_Occurred()) SWIG_fail;
15743 }
15744 {
15745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15746 }
15747 {
15748 if (temp2)
15749 delete arg2;
15750 }
15751 return resultobj;
15752 fail:
15753 {
15754 if (temp2)
15755 delete arg2;
15756 }
15757 return NULL;
15758}
15759
15760
c370783e 15761static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15762 PyObject *resultobj = NULL;
d55e5bfc
RD
15763 wxFileType *arg1 = (wxFileType *) 0 ;
15764 bool result;
15765 PyObject * obj0 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
36ed4f51
RD
15771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (bool)(arg1)->Unassociate();
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 {
15781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15782 }
15783 return resultobj;
15784 fail:
15785 return NULL;
15786}
15787
15788
c370783e 15789static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15790 PyObject *resultobj = NULL;
d55e5bfc
RD
15791 wxString *arg1 = 0 ;
15792 wxString *arg2 = 0 ;
15793 wxString const &arg3_defvalue = wxPyEmptyString ;
15794 wxString *arg3 = (wxString *) &arg3_defvalue ;
15795 wxString result;
b411df4a
RD
15796 bool temp1 = false ;
15797 bool temp2 = false ;
15798 bool temp3 = false ;
d55e5bfc
RD
15799 PyObject * obj0 = 0 ;
15800 PyObject * obj1 = 0 ;
15801 PyObject * obj2 = 0 ;
15802 char *kwnames[] = {
15803 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
15804 };
15805
15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
15807 {
15808 arg1 = wxString_in_helper(obj0);
15809 if (arg1 == NULL) SWIG_fail;
b411df4a 15810 temp1 = true;
d55e5bfc
RD
15811 }
15812 {
15813 arg2 = wxString_in_helper(obj1);
15814 if (arg2 == NULL) SWIG_fail;
b411df4a 15815 temp2 = true;
d55e5bfc
RD
15816 }
15817 if (obj2) {
15818 {
15819 arg3 = wxString_in_helper(obj2);
15820 if (arg3 == NULL) SWIG_fail;
b411df4a 15821 temp3 = true;
d55e5bfc
RD
15822 }
15823 }
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 15826 result = wxFileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
d55e5bfc
RD
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832#if wxUSE_UNICODE
15833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15834#else
15835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15836#endif
15837 }
15838 {
15839 if (temp1)
15840 delete arg1;
15841 }
15842 {
15843 if (temp2)
15844 delete arg2;
15845 }
15846 {
15847 if (temp3)
15848 delete arg3;
15849 }
15850 return resultobj;
15851 fail:
15852 {
15853 if (temp1)
15854 delete arg1;
15855 }
15856 {
15857 if (temp2)
15858 delete arg2;
15859 }
15860 {
15861 if (temp3)
15862 delete arg3;
15863 }
15864 return NULL;
15865}
15866
15867
c370783e 15868static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15869 PyObject *obj;
15870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15871 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
15872 Py_INCREF(obj);
15873 return Py_BuildValue((char *)"");
15874}
c370783e 15875static int _wrap_TheMimeTypesManager_set(PyObject *) {
d55e5bfc
RD
15876 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
15877 return 1;
15878}
15879
15880
36ed4f51 15881static PyObject *_wrap_TheMimeTypesManager_get(void) {
32fe5131 15882 PyObject *pyobj = NULL;
d55e5bfc
RD
15883
15884 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
15885 return pyobj;
15886}
15887
15888
c370783e 15889static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15890 PyObject *resultobj = NULL;
d55e5bfc
RD
15891 wxString *arg1 = 0 ;
15892 wxString *arg2 = 0 ;
15893 bool result;
b411df4a
RD
15894 bool temp1 = false ;
15895 bool temp2 = false ;
d55e5bfc
RD
15896 PyObject * obj0 = 0 ;
15897 PyObject * obj1 = 0 ;
15898 char *kwnames[] = {
15899 (char *) "mimeType",(char *) "wildcard", NULL
15900 };
15901
15902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
15903 {
15904 arg1 = wxString_in_helper(obj0);
15905 if (arg1 == NULL) SWIG_fail;
b411df4a 15906 temp1 = true;
d55e5bfc
RD
15907 }
15908 {
15909 arg2 = wxString_in_helper(obj1);
15910 if (arg2 == NULL) SWIG_fail;
b411df4a 15911 temp2 = true;
d55e5bfc
RD
15912 }
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 {
15921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15922 }
15923 {
15924 if (temp1)
15925 delete arg1;
15926 }
15927 {
15928 if (temp2)
15929 delete arg2;
15930 }
15931 return resultobj;
15932 fail:
15933 {
15934 if (temp1)
15935 delete arg1;
15936 }
15937 {
15938 if (temp2)
15939 delete arg2;
15940 }
15941 return NULL;
15942}
15943
15944
c370783e 15945static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15946 PyObject *resultobj = NULL;
d55e5bfc
RD
15947 wxMimeTypesManager *result;
15948 char *kwnames[] = {
15949 NULL
15950 };
15951
15952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 result = (wxMimeTypesManager *)new wxMimeTypesManager();
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
15961 return resultobj;
15962 fail:
15963 return NULL;
15964}
15965
15966
c370783e 15967static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 15968 PyObject *resultobj = NULL;
d55e5bfc
RD
15969 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15970 int arg2 = (int) wxMAILCAP_ALL ;
15971 wxString const &arg3_defvalue = wxPyEmptyString ;
15972 wxString *arg3 = (wxString *) &arg3_defvalue ;
b411df4a 15973 bool temp3 = false ;
d55e5bfc
RD
15974 PyObject * obj0 = 0 ;
15975 PyObject * obj1 = 0 ;
15976 PyObject * obj2 = 0 ;
15977 char *kwnames[] = {
15978 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
15979 };
15980
15981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 15984 if (obj1) {
36ed4f51 15985 {
32fe5131 15986 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
15987 if (SWIG_arg_fail(2)) SWIG_fail;
15988 }
d55e5bfc
RD
15989 }
15990 if (obj2) {
15991 {
15992 arg3 = wxString_in_helper(obj2);
15993 if (arg3 == NULL) SWIG_fail;
b411df4a 15994 temp3 = true;
d55e5bfc
RD
15995 }
15996 }
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 (arg1)->Initialize(arg2,(wxString const &)*arg3);
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 Py_INCREF(Py_None); resultobj = Py_None;
16005 {
16006 if (temp3)
16007 delete arg3;
16008 }
16009 return resultobj;
16010 fail:
16011 {
16012 if (temp3)
16013 delete arg3;
16014 }
16015 return NULL;
16016}
16017
16018
c370783e 16019static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16020 PyObject *resultobj = NULL;
d55e5bfc
RD
16021 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16022 PyObject * obj0 = 0 ;
16023 char *kwnames[] = {
16024 (char *) "self", NULL
16025 };
16026
16027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
36ed4f51
RD
16028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16030 {
16031 PyThreadState* __tstate = wxPyBeginAllowThreads();
16032 (arg1)->ClearData();
16033
16034 wxPyEndAllowThreads(__tstate);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 Py_INCREF(Py_None); resultobj = Py_None;
16038 return resultobj;
16039 fail:
16040 return NULL;
16041}
16042
16043
c370783e 16044static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16045 PyObject *resultobj = NULL;
d55e5bfc
RD
16046 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16047 wxString *arg2 = 0 ;
16048 wxFileType *result;
b411df4a 16049 bool temp2 = false ;
d55e5bfc
RD
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self",(char *) "ext", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16059 {
16060 arg2 = wxString_in_helper(obj1);
16061 if (arg2 == NULL) SWIG_fail;
b411df4a 16062 temp2 = true;
d55e5bfc
RD
16063 }
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16072 {
16073 if (temp2)
16074 delete arg2;
16075 }
16076 return resultobj;
16077 fail:
16078 {
16079 if (temp2)
16080 delete arg2;
16081 }
16082 return NULL;
16083}
16084
16085
c370783e 16086static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16087 PyObject *resultobj = NULL;
d55e5bfc
RD
16088 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16089 wxString *arg2 = 0 ;
16090 wxFileType *result;
b411df4a 16091 bool temp2 = false ;
d55e5bfc
RD
16092 PyObject * obj0 = 0 ;
16093 PyObject * obj1 = 0 ;
16094 char *kwnames[] = {
16095 (char *) "self",(char *) "mimeType", NULL
16096 };
16097
16098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16101 {
16102 arg2 = wxString_in_helper(obj1);
16103 if (arg2 == NULL) SWIG_fail;
b411df4a 16104 temp2 = true;
d55e5bfc
RD
16105 }
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16114 {
16115 if (temp2)
16116 delete arg2;
16117 }
16118 return resultobj;
16119 fail:
16120 {
16121 if (temp2)
16122 delete arg2;
16123 }
16124 return NULL;
16125}
16126
16127
c370783e 16128static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16129 PyObject *resultobj = NULL;
d55e5bfc
RD
16130 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16131 wxString *arg2 = 0 ;
b411df4a 16132 bool arg3 = (bool) false ;
d55e5bfc 16133 bool result;
b411df4a 16134 bool temp2 = false ;
d55e5bfc
RD
16135 PyObject * obj0 = 0 ;
16136 PyObject * obj1 = 0 ;
16137 PyObject * obj2 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "filename",(char *) "fallback", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16145 {
16146 arg2 = wxString_in_helper(obj1);
16147 if (arg2 == NULL) SWIG_fail;
b411df4a 16148 temp2 = true;
d55e5bfc
RD
16149 }
16150 if (obj2) {
36ed4f51 16151 {
32fe5131 16152 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
16153 if (SWIG_arg_fail(3)) SWIG_fail;
16154 }
d55e5bfc
RD
16155 }
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16165 }
16166 {
16167 if (temp2)
16168 delete arg2;
16169 }
16170 return resultobj;
16171 fail:
16172 {
16173 if (temp2)
16174 delete arg2;
16175 }
16176 return NULL;
16177}
16178
16179
c370783e 16180static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16181 PyObject *resultobj = NULL;
d55e5bfc
RD
16182 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16183 wxString *arg2 = 0 ;
16184 bool result;
b411df4a 16185 bool temp2 = false ;
d55e5bfc
RD
16186 PyObject * obj0 = 0 ;
16187 PyObject * obj1 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self",(char *) "filename", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16194 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16195 {
16196 arg2 = wxString_in_helper(obj1);
16197 if (arg2 == NULL) SWIG_fail;
b411df4a 16198 temp2 = true;
d55e5bfc
RD
16199 }
16200 {
16201 PyThreadState* __tstate = wxPyBeginAllowThreads();
16202 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
16203
16204 wxPyEndAllowThreads(__tstate);
16205 if (PyErr_Occurred()) SWIG_fail;
16206 }
16207 {
16208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16209 }
16210 {
16211 if (temp2)
16212 delete arg2;
16213 }
16214 return resultobj;
16215 fail:
16216 {
16217 if (temp2)
16218 delete arg2;
16219 }
16220 return NULL;
16221}
16222
16223
c370783e 16224static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16225 PyObject *resultobj = NULL;
d55e5bfc
RD
16226 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16227 PyObject *result;
16228 PyObject * obj0 = 0 ;
16229 char *kwnames[] = {
16230 (char *) "self", NULL
16231 };
16232
16233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
36ed4f51
RD
16234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16236 {
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
16239
16240 wxPyEndAllowThreads(__tstate);
16241 if (PyErr_Occurred()) SWIG_fail;
16242 }
16243 resultobj = result;
16244 return resultobj;
16245 fail:
16246 return NULL;
16247}
16248
16249
c370783e 16250static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16251 PyObject *resultobj = NULL;
d55e5bfc
RD
16252 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16253 wxFileTypeInfo *arg2 = 0 ;
16254 PyObject * obj0 = 0 ;
16255 PyObject * obj1 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self",(char *) "ft", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16262 if (SWIG_arg_fail(1)) SWIG_fail;
16263 {
16264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
16265 if (SWIG_arg_fail(2)) SWIG_fail;
16266 if (arg2 == NULL) {
16267 SWIG_null_ref("wxFileTypeInfo");
16268 }
16269 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16270 }
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 Py_INCREF(Py_None); resultobj = Py_None;
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
c370783e 16285static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16286 PyObject *resultobj = NULL;
d55e5bfc
RD
16287 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16288 wxFileTypeInfo *arg2 = 0 ;
16289 wxFileType *result;
16290 PyObject * obj0 = 0 ;
16291 PyObject * obj1 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self",(char *) "ftInfo", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16298 if (SWIG_arg_fail(1)) SWIG_fail;
16299 {
16300 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
16301 if (SWIG_arg_fail(2)) SWIG_fail;
16302 if (arg2 == NULL) {
16303 SWIG_null_ref("wxFileTypeInfo");
16304 }
16305 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16306 }
16307 {
16308 PyThreadState* __tstate = wxPyBeginAllowThreads();
16309 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
16310
16311 wxPyEndAllowThreads(__tstate);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
16315 return resultobj;
16316 fail:
16317 return NULL;
16318}
16319
16320
c370783e 16321static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16322 PyObject *resultobj = NULL;
d55e5bfc
RD
16323 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16324 wxFileType *arg2 = (wxFileType *) 0 ;
16325 bool result;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
16328 char *kwnames[] = {
16329 (char *) "self",(char *) "ft", NULL
16330 };
16331
16332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16334 if (SWIG_arg_fail(1)) SWIG_fail;
16335 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
16336 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16337 {
16338 PyThreadState* __tstate = wxPyBeginAllowThreads();
16339 result = (bool)(arg1)->Unassociate(arg2);
16340
16341 wxPyEndAllowThreads(__tstate);
16342 if (PyErr_Occurred()) SWIG_fail;
16343 }
16344 {
16345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16346 }
16347 return resultobj;
16348 fail:
16349 return NULL;
16350}
16351
16352
c370783e 16353static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 16354 PyObject *resultobj = NULL;
d55e5bfc
RD
16355 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
16356 PyObject * obj0 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
36ed4f51
RD
16362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
16363 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 delete arg1;
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 Py_INCREF(Py_None); resultobj = Py_None;
16372 return resultobj;
16373 fail:
16374 return NULL;
16375}
16376
16377
c370783e 16378static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16379 PyObject *obj;
16380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16381 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
16382 Py_INCREF(obj);
16383 return Py_BuildValue((char *)"");
16384}
c370783e 16385static int _wrap_ART_TOOLBAR_set(PyObject *) {
d55e5bfc
RD
16386 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
16387 return 1;
16388}
16389
16390
36ed4f51 16391static PyObject *_wrap_ART_TOOLBAR_get(void) {
32fe5131 16392 PyObject *pyobj = NULL;
d55e5bfc
RD
16393
16394 {
16395#if wxUSE_UNICODE
16396 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
16397#else
16398 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
16399#endif
16400 }
16401 return pyobj;
16402}
16403
16404
c370783e 16405static int _wrap_ART_MENU_set(PyObject *) {
d55e5bfc
RD
16406 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
16407 return 1;
16408}
16409
16410
36ed4f51 16411static PyObject *_wrap_ART_MENU_get(void) {
32fe5131 16412 PyObject *pyobj = NULL;
d55e5bfc
RD
16413
16414 {
16415#if wxUSE_UNICODE
16416 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
16417#else
16418 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
16419#endif
16420 }
16421 return pyobj;
16422}
16423
16424
c370783e 16425static int _wrap_ART_FRAME_ICON_set(PyObject *) {
d55e5bfc
RD
16426 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
16427 return 1;
16428}
16429
16430
36ed4f51 16431static PyObject *_wrap_ART_FRAME_ICON_get(void) {
32fe5131 16432 PyObject *pyobj = NULL;
d55e5bfc
RD
16433
16434 {
16435#if wxUSE_UNICODE
16436 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
16437#else
16438 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
16439#endif
16440 }
16441 return pyobj;
16442}
16443
16444
c370783e 16445static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
d55e5bfc
RD
16446 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
16447 return 1;
16448}
16449
16450
36ed4f51 16451static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
32fe5131 16452 PyObject *pyobj = NULL;
d55e5bfc
RD
16453
16454 {
16455#if wxUSE_UNICODE
16456 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
16457#else
16458 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
16459#endif
16460 }
16461 return pyobj;
16462}
16463
16464
c370783e 16465static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
d55e5bfc
RD
16466 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
16467 return 1;
16468}
16469
16470
36ed4f51 16471static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
32fe5131 16472 PyObject *pyobj = NULL;
d55e5bfc
RD
16473
16474 {
16475#if wxUSE_UNICODE
16476 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
16477#else
16478 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
16479#endif
16480 }
16481 return pyobj;
16482}
16483
16484
c370783e 16485static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
d55e5bfc
RD
16486 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
16487 return 1;
16488}
16489
16490
36ed4f51 16491static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
32fe5131 16492 PyObject *pyobj = NULL;
d55e5bfc
RD
16493
16494 {
16495#if wxUSE_UNICODE
16496 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
16497#else
16498 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
16499#endif
16500 }
16501 return pyobj;
16502}
16503
16504
c370783e 16505static int _wrap_ART_BUTTON_set(PyObject *) {
4cf4100f
RD
16506 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
16507 return 1;
16508}
16509
16510
36ed4f51 16511static PyObject *_wrap_ART_BUTTON_get(void) {
32fe5131 16512 PyObject *pyobj = NULL;
4cf4100f
RD
16513
16514 {
16515#if wxUSE_UNICODE
16516 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
16517#else
16518 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
16519#endif
16520 }
16521 return pyobj;
16522}
16523
16524
c370783e 16525static int _wrap_ART_OTHER_set(PyObject *) {
d55e5bfc
RD
16526 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
16527 return 1;
16528}
16529
16530
36ed4f51 16531static PyObject *_wrap_ART_OTHER_get(void) {
32fe5131 16532 PyObject *pyobj = NULL;
d55e5bfc
RD
16533
16534 {
16535#if wxUSE_UNICODE
16536 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
16537#else
16538 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
16539#endif
16540 }
16541 return pyobj;
16542}
16543
16544
c370783e 16545static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
16546 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
16547 return 1;
16548}
16549
16550
36ed4f51 16551static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
32fe5131 16552 PyObject *pyobj = NULL;
d55e5bfc
RD
16553
16554 {
16555#if wxUSE_UNICODE
16556 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
16557#else
16558 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
16559#endif
16560 }
16561 return pyobj;
16562}
16563
16564
c370783e 16565static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
d55e5bfc
RD
16566 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
16567 return 1;
16568}
16569
16570
36ed4f51 16571static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
32fe5131 16572 PyObject *pyobj = NULL;
d55e5bfc
RD
16573
16574 {
16575#if wxUSE_UNICODE
16576 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
16577#else
16578 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
16579#endif
16580 }
16581 return pyobj;
16582}
16583
16584
c370783e 16585static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
d55e5bfc
RD
16586 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
16587 return 1;
16588}
16589
16590
36ed4f51 16591static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
32fe5131 16592 PyObject *pyobj = NULL;
d55e5bfc
RD
16593
16594 {
16595#if wxUSE_UNICODE
16596 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
16597#else
16598 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
16599#endif
16600 }
16601 return pyobj;
16602}
16603
16604
c370783e 16605static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
d55e5bfc
RD
16606 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
16607 return 1;
16608}
16609
16610
36ed4f51 16611static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
32fe5131 16612 PyObject *pyobj = NULL;
d55e5bfc
RD
16613
16614 {
16615#if wxUSE_UNICODE
16616 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
16617#else
16618 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
16619#endif
16620 }
16621 return pyobj;
16622}
16623
16624
c370783e 16625static int _wrap_ART_HELP_BOOK_set(PyObject *) {
d55e5bfc
RD
16626 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
16627 return 1;
16628}
16629
16630
36ed4f51 16631static PyObject *_wrap_ART_HELP_BOOK_get(void) {
32fe5131 16632 PyObject *pyobj = NULL;
d55e5bfc
RD
16633
16634 {
16635#if wxUSE_UNICODE
16636 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
16637#else
16638 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
16639#endif
16640 }
16641 return pyobj;
16642}
16643
16644
c370783e 16645static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
d55e5bfc
RD
16646 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
16647 return 1;
16648}
16649
16650
36ed4f51 16651static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
32fe5131 16652 PyObject *pyobj = NULL;
d55e5bfc
RD
16653
16654 {
16655#if wxUSE_UNICODE
16656 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
16657#else
16658 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
16659#endif
16660 }
16661 return pyobj;
16662}
16663
16664
c370783e 16665static int _wrap_ART_HELP_PAGE_set(PyObject *) {
d55e5bfc
RD
16666 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
16667 return 1;
16668}
16669
16670
36ed4f51 16671static PyObject *_wrap_ART_HELP_PAGE_get(void) {
32fe5131 16672 PyObject *pyobj = NULL;
d55e5bfc
RD
16673
16674 {
16675#if wxUSE_UNICODE
16676 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
16677#else
16678 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
16679#endif
16680 }
16681 return pyobj;
16682}
16683
16684
c370783e 16685static int _wrap_ART_GO_BACK_set(PyObject *) {
d55e5bfc
RD
16686 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
16687 return 1;
16688}
16689
16690
36ed4f51 16691static PyObject *_wrap_ART_GO_BACK_get(void) {
32fe5131 16692 PyObject *pyobj = NULL;
d55e5bfc
RD
16693
16694 {
16695#if wxUSE_UNICODE
16696 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
16697#else
16698 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
16699#endif
16700 }
16701 return pyobj;
16702}
16703
16704
c370783e 16705static int _wrap_ART_GO_FORWARD_set(PyObject *) {
d55e5bfc
RD
16706 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
16707 return 1;
16708}
16709
16710
36ed4f51 16711static PyObject *_wrap_ART_GO_FORWARD_get(void) {
32fe5131 16712 PyObject *pyobj = NULL;
d55e5bfc
RD
16713
16714 {
16715#if wxUSE_UNICODE
16716 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
16717#else
16718 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
16719#endif
16720 }
16721 return pyobj;
16722}
16723
16724
c370783e 16725static int _wrap_ART_GO_UP_set(PyObject *) {
d55e5bfc
RD
16726 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
16727 return 1;
16728}
16729
16730
36ed4f51 16731static PyObject *_wrap_ART_GO_UP_get(void) {
32fe5131 16732 PyObject *pyobj = NULL;
d55e5bfc
RD
16733
16734 {
16735#if wxUSE_UNICODE
16736 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
16737#else
16738 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
16739#endif
16740 }
16741 return pyobj;
16742}
16743
16744
c370783e 16745static int _wrap_ART_GO_DOWN_set(PyObject *) {
d55e5bfc
RD
16746 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
16747 return 1;
16748}
16749
16750
36ed4f51 16751static PyObject *_wrap_ART_GO_DOWN_get(void) {
32fe5131 16752 PyObject *pyobj = NULL;
d55e5bfc
RD
16753
16754 {
16755#if wxUSE_UNICODE
16756 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
16757#else
16758 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
16759#endif
16760 }
16761 return pyobj;
16762}
16763
16764
c370783e 16765static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
d55e5bfc
RD
16766 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
16767 return 1;
16768}
16769
16770
36ed4f51 16771static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
32fe5131 16772 PyObject *pyobj = NULL;
d55e5bfc
RD
16773
16774 {
16775#if wxUSE_UNICODE
16776 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
16777#else
16778 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
16779#endif
16780 }
16781 return pyobj;
16782}
16783
16784
c370783e 16785static int _wrap_ART_GO_HOME_set(PyObject *) {
d55e5bfc
RD
16786 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
16787 return 1;
16788}
16789
16790
36ed4f51 16791static PyObject *_wrap_ART_GO_HOME_get(void) {
32fe5131 16792 PyObject *pyobj = NULL;
d55e5bfc
RD
16793
16794 {
16795#if wxUSE_UNICODE
16796 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
16797#else
16798 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
16799#endif
16800 }
16801 return pyobj;
16802}
16803
16804
c370783e 16805static int _wrap_ART_FILE_OPEN_set(PyObject *) {
d55e5bfc
RD
16806 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
16807 return 1;
16808}
16809
16810
36ed4f51 16811static PyObject *_wrap_ART_FILE_OPEN_get(void) {
32fe5131 16812 PyObject *pyobj = NULL;
d55e5bfc
RD
16813
16814 {
16815#if wxUSE_UNICODE
16816 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16817#else
16818 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
16819#endif
16820 }
16821 return pyobj;
16822}
16823
16824
68350608
RD
16825static int _wrap_ART_FILE_SAVE_set(PyObject *) {
16826 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
16827 return 1;
16828}
16829
16830
16831static PyObject *_wrap_ART_FILE_SAVE_get(void) {
32fe5131 16832 PyObject *pyobj = NULL;
68350608
RD
16833
16834 {
16835#if wxUSE_UNICODE
16836 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16837#else
16838 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
16839#endif
16840 }
16841 return pyobj;
16842}
16843
16844
16845static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
16846 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
16847 return 1;
16848}
16849
16850
16851static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
32fe5131 16852 PyObject *pyobj = NULL;
68350608
RD
16853
16854 {
16855#if wxUSE_UNICODE
16856 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16857#else
16858 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
16859#endif
16860 }
16861 return pyobj;
16862}
16863
16864
c370783e 16865static int _wrap_ART_PRINT_set(PyObject *) {
d55e5bfc
RD
16866 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
16867 return 1;
16868}
16869
16870
36ed4f51 16871static PyObject *_wrap_ART_PRINT_get(void) {
32fe5131 16872 PyObject *pyobj = NULL;
d55e5bfc
RD
16873
16874 {
16875#if wxUSE_UNICODE
16876 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16877#else
16878 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
16879#endif
16880 }
16881 return pyobj;
16882}
16883
16884
c370783e 16885static int _wrap_ART_HELP_set(PyObject *) {
d55e5bfc
RD
16886 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
16887 return 1;
16888}
16889
16890
36ed4f51 16891static PyObject *_wrap_ART_HELP_get(void) {
32fe5131 16892 PyObject *pyobj = NULL;
d55e5bfc
RD
16893
16894 {
16895#if wxUSE_UNICODE
16896 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16897#else
16898 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
16899#endif
16900 }
16901 return pyobj;
16902}
16903
16904
c370783e 16905static int _wrap_ART_TIP_set(PyObject *) {
d55e5bfc
RD
16906 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
16907 return 1;
16908}
16909
16910
36ed4f51 16911static PyObject *_wrap_ART_TIP_get(void) {
32fe5131 16912 PyObject *pyobj = NULL;
d55e5bfc
RD
16913
16914 {
16915#if wxUSE_UNICODE
16916 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16917#else
16918 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
16919#endif
16920 }
16921 return pyobj;
16922}
16923
16924
c370783e 16925static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
d55e5bfc
RD
16926 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
16927 return 1;
16928}
16929
16930
36ed4f51 16931static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
32fe5131 16932 PyObject *pyobj = NULL;
d55e5bfc
RD
16933
16934 {
16935#if wxUSE_UNICODE
16936 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16937#else
16938 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
16939#endif
16940 }
16941 return pyobj;
16942}
16943
16944
c370783e 16945static int _wrap_ART_LIST_VIEW_set(PyObject *) {
d55e5bfc
RD
16946 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
16947 return 1;
16948}
16949
16950
36ed4f51 16951static PyObject *_wrap_ART_LIST_VIEW_get(void) {
32fe5131 16952 PyObject *pyobj = NULL;
d55e5bfc
RD
16953
16954 {
16955#if wxUSE_UNICODE
16956 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16957#else
16958 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
16959#endif
16960 }
16961 return pyobj;
16962}
16963
16964
c370783e 16965static int _wrap_ART_NEW_DIR_set(PyObject *) {
d55e5bfc
RD
16966 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
16967 return 1;
16968}
16969
16970
36ed4f51 16971static PyObject *_wrap_ART_NEW_DIR_get(void) {
32fe5131 16972 PyObject *pyobj = NULL;
d55e5bfc
RD
16973
16974 {
16975#if wxUSE_UNICODE
16976 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16977#else
16978 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
16979#endif
16980 }
16981 return pyobj;
16982}
16983
16984
f78cc896
RD
16985static int _wrap_ART_HARDDISK_set(PyObject *) {
16986 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
16987 return 1;
16988}
16989
16990
36ed4f51 16991static PyObject *_wrap_ART_HARDDISK_get(void) {
32fe5131 16992 PyObject *pyobj = NULL;
f78cc896
RD
16993
16994 {
16995#if wxUSE_UNICODE
16996 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16997#else
16998 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
16999#endif
17000 }
17001 return pyobj;
17002}
17003
17004
17005static int _wrap_ART_FLOPPY_set(PyObject *) {
17006 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
17007 return 1;
17008}
17009
17010
36ed4f51 17011static PyObject *_wrap_ART_FLOPPY_get(void) {
32fe5131 17012 PyObject *pyobj = NULL;
f78cc896
RD
17013
17014 {
17015#if wxUSE_UNICODE
17016 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
17017#else
17018 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
17019#endif
17020 }
17021 return pyobj;
17022}
17023
17024
17025static int _wrap_ART_CDROM_set(PyObject *) {
17026 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
17027 return 1;
17028}
17029
17030
36ed4f51 17031static PyObject *_wrap_ART_CDROM_get(void) {
32fe5131 17032 PyObject *pyobj = NULL;
f78cc896
RD
17033
17034 {
17035#if wxUSE_UNICODE
17036 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
17037#else
17038 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
17039#endif
17040 }
17041 return pyobj;
17042}
17043
17044
17045static int _wrap_ART_REMOVABLE_set(PyObject *) {
17046 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
17047 return 1;
17048}
17049
17050
36ed4f51 17051static PyObject *_wrap_ART_REMOVABLE_get(void) {
32fe5131 17052 PyObject *pyobj = NULL;
f78cc896
RD
17053
17054 {
17055#if wxUSE_UNICODE
17056 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
17057#else
17058 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
17059#endif
17060 }
17061 return pyobj;
17062}
17063
17064
c370783e 17065static int _wrap_ART_FOLDER_set(PyObject *) {
d55e5bfc
RD
17066 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
17067 return 1;
17068}
17069
17070
36ed4f51 17071static PyObject *_wrap_ART_FOLDER_get(void) {
32fe5131 17072 PyObject *pyobj = NULL;
d55e5bfc
RD
17073
17074 {
17075#if wxUSE_UNICODE
17076 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
17077#else
17078 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
17079#endif
17080 }
17081 return pyobj;
17082}
17083
17084
f78cc896
RD
17085static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
17086 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
17087 return 1;
17088}
17089
17090
36ed4f51 17091static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
32fe5131 17092 PyObject *pyobj = NULL;
f78cc896
RD
17093
17094 {
17095#if wxUSE_UNICODE
17096 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
17097#else
17098 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
17099#endif
17100 }
17101 return pyobj;
17102}
17103
17104
c370783e 17105static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
d55e5bfc
RD
17106 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
17107 return 1;
17108}
17109
17110
36ed4f51 17111static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
32fe5131 17112 PyObject *pyobj = NULL;
d55e5bfc
RD
17113
17114 {
17115#if wxUSE_UNICODE
17116 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
17117#else
17118 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
17119#endif
17120 }
17121 return pyobj;
17122}
17123
17124
c370783e 17125static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
d55e5bfc
RD
17126 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
17127 return 1;
17128}
17129
17130
36ed4f51 17131static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
32fe5131 17132 PyObject *pyobj = NULL;
d55e5bfc
RD
17133
17134 {
17135#if wxUSE_UNICODE
17136 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
17137#else
17138 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
17139#endif
17140 }
17141 return pyobj;
17142}
17143
17144
c370783e 17145static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
d55e5bfc
RD
17146 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
17147 return 1;
17148}
17149
17150
36ed4f51 17151static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
32fe5131 17152 PyObject *pyobj = NULL;
d55e5bfc
RD
17153
17154 {
17155#if wxUSE_UNICODE
17156 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
17157#else
17158 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
17159#endif
17160 }
17161 return pyobj;
17162}
17163
17164
c370783e 17165static int _wrap_ART_TICK_MARK_set(PyObject *) {
d55e5bfc
RD
17166 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
17167 return 1;
17168}
17169
17170
36ed4f51 17171static PyObject *_wrap_ART_TICK_MARK_get(void) {
32fe5131 17172 PyObject *pyobj = NULL;
d55e5bfc
RD
17173
17174 {
17175#if wxUSE_UNICODE
17176 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
17177#else
17178 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
17179#endif
17180 }
17181 return pyobj;
17182}
17183
17184
c370783e 17185static int _wrap_ART_CROSS_MARK_set(PyObject *) {
d55e5bfc
RD
17186 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
17187 return 1;
17188}
17189
17190
36ed4f51 17191static PyObject *_wrap_ART_CROSS_MARK_get(void) {
32fe5131 17192 PyObject *pyobj = NULL;
d55e5bfc
RD
17193
17194 {
17195#if wxUSE_UNICODE
17196 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
17197#else
17198 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
17199#endif
17200 }
17201 return pyobj;
17202}
17203
17204
c370783e 17205static int _wrap_ART_ERROR_set(PyObject *) {
d55e5bfc
RD
17206 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
17207 return 1;
17208}
17209
17210
36ed4f51 17211static PyObject *_wrap_ART_ERROR_get(void) {
32fe5131 17212 PyObject *pyobj = NULL;
d55e5bfc
RD
17213
17214 {
17215#if wxUSE_UNICODE
17216 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
17217#else
17218 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
17219#endif
17220 }
17221 return pyobj;
17222}
17223
17224
c370783e 17225static int _wrap_ART_QUESTION_set(PyObject *) {
d55e5bfc
RD
17226 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
17227 return 1;
17228}
17229
17230
36ed4f51 17231static PyObject *_wrap_ART_QUESTION_get(void) {
32fe5131 17232 PyObject *pyobj = NULL;
d55e5bfc
RD
17233
17234 {
17235#if wxUSE_UNICODE
17236 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
17237#else
17238 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
17239#endif
17240 }
17241 return pyobj;
17242}
17243
17244
c370783e 17245static int _wrap_ART_WARNING_set(PyObject *) {
d55e5bfc
RD
17246 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
17247 return 1;
17248}
17249
17250
36ed4f51 17251static PyObject *_wrap_ART_WARNING_get(void) {
32fe5131 17252 PyObject *pyobj = NULL;
d55e5bfc
RD
17253
17254 {
17255#if wxUSE_UNICODE
17256 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
17257#else
17258 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
17259#endif
17260 }
17261 return pyobj;
17262}
17263
17264
c370783e 17265static int _wrap_ART_INFORMATION_set(PyObject *) {
d55e5bfc
RD
17266 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
17267 return 1;
17268}
17269
17270
36ed4f51 17271static PyObject *_wrap_ART_INFORMATION_get(void) {
32fe5131 17272 PyObject *pyobj = NULL;
d55e5bfc
RD
17273
17274 {
17275#if wxUSE_UNICODE
17276 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
17277#else
17278 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
17279#endif
17280 }
17281 return pyobj;
17282}
17283
17284
c370783e 17285static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
d55e5bfc
RD
17286 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
17287 return 1;
17288}
17289
17290
36ed4f51 17291static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
32fe5131 17292 PyObject *pyobj = NULL;
d55e5bfc
RD
17293
17294 {
17295#if wxUSE_UNICODE
17296 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
17297#else
17298 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
17299#endif
17300 }
17301 return pyobj;
17302}
17303
17304
68350608
RD
17305static int _wrap_ART_COPY_set(PyObject *) {
17306 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
17307 return 1;
17308}
17309
17310
17311static PyObject *_wrap_ART_COPY_get(void) {
32fe5131 17312 PyObject *pyobj = NULL;
68350608
RD
17313
17314 {
17315#if wxUSE_UNICODE
17316 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
17317#else
17318 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
17319#endif
17320 }
17321 return pyobj;
17322}
17323
17324
17325static int _wrap_ART_CUT_set(PyObject *) {
17326 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
17327 return 1;
17328}
17329
17330
17331static PyObject *_wrap_ART_CUT_get(void) {
32fe5131 17332 PyObject *pyobj = NULL;
68350608
RD
17333
17334 {
17335#if wxUSE_UNICODE
17336 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
17337#else
17338 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
17339#endif
17340 }
17341 return pyobj;
17342}
17343
17344
17345static int _wrap_ART_PASTE_set(PyObject *) {
17346 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
17347 return 1;
17348}
17349
17350
17351static PyObject *_wrap_ART_PASTE_get(void) {
32fe5131 17352 PyObject *pyobj = NULL;
68350608
RD
17353
17354 {
17355#if wxUSE_UNICODE
17356 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
17357#else
17358 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
17359#endif
17360 }
17361 return pyobj;
17362}
17363
17364
17365static int _wrap_ART_DELETE_set(PyObject *) {
17366 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
17367 return 1;
17368}
17369
17370
17371static PyObject *_wrap_ART_DELETE_get(void) {
32fe5131 17372 PyObject *pyobj = NULL;
68350608
RD
17373
17374 {
17375#if wxUSE_UNICODE
17376 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
17377#else
17378 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
17379#endif
17380 }
17381 return pyobj;
17382}
17383
17384
a187dc0b
RD
17385static int _wrap_ART_NEW_set(PyObject *) {
17386 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW is read-only.");
17387 return 1;
17388}
17389
17390
17391static PyObject *_wrap_ART_NEW_get(void) {
32fe5131 17392 PyObject *pyobj = NULL;
a187dc0b
RD
17393
17394 {
17395#if wxUSE_UNICODE
17396 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
17397#else
17398 pyobj = PyString_FromStringAndSize((&wxPyART_NEW)->c_str(), (&wxPyART_NEW)->Len());
17399#endif
17400 }
17401 return pyobj;
17402}
17403
17404
68350608
RD
17405static int _wrap_ART_UNDO_set(PyObject *) {
17406 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
17407 return 1;
17408}
17409
17410
17411static PyObject *_wrap_ART_UNDO_get(void) {
32fe5131 17412 PyObject *pyobj = NULL;
68350608
RD
17413
17414 {
17415#if wxUSE_UNICODE
17416 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
17417#else
17418 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
17419#endif
17420 }
17421 return pyobj;
17422}
17423
17424
17425static int _wrap_ART_REDO_set(PyObject *) {
17426 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
17427 return 1;
17428}
17429
17430
17431static PyObject *_wrap_ART_REDO_get(void) {
32fe5131 17432 PyObject *pyobj = NULL;
68350608
RD
17433
17434 {
17435#if wxUSE_UNICODE
17436 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
17437#else
17438 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
17439#endif
17440 }
17441 return pyobj;
17442}
17443
17444
17445static int _wrap_ART_QUIT_set(PyObject *) {
17446 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
17447 return 1;
17448}
17449
17450
17451static PyObject *_wrap_ART_QUIT_get(void) {
32fe5131 17452 PyObject *pyobj = NULL;
68350608
RD
17453
17454 {
17455#if wxUSE_UNICODE
17456 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
17457#else
17458 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
17459#endif
17460 }
17461 return pyobj;
17462}
17463
17464
17465static int _wrap_ART_FIND_set(PyObject *) {
17466 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
17467 return 1;
17468}
17469
17470
17471static PyObject *_wrap_ART_FIND_get(void) {
32fe5131 17472 PyObject *pyobj = NULL;
68350608
RD
17473
17474 {
17475#if wxUSE_UNICODE
17476 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
17477#else
17478 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
17479#endif
17480 }
17481 return pyobj;
17482}
17483
17484
17485static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
17486 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
17487 return 1;
17488}
17489
17490
17491static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
32fe5131 17492 PyObject *pyobj = NULL;
68350608
RD
17493
17494 {
17495#if wxUSE_UNICODE
17496 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
17497#else
17498 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
17499#endif
17500 }
17501 return pyobj;
17502}
17503
17504
c370783e 17505static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17506 PyObject *resultobj = NULL;
d55e5bfc
RD
17507 wxPyArtProvider *result;
17508 char *kwnames[] = {
17509 NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
17513 {
0439c23b 17514 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (wxPyArtProvider *)new wxPyArtProvider();
17517
17518 wxPyEndAllowThreads(__tstate);
110da5b0 17519 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17520 }
17521 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
17522 return resultobj;
17523 fail:
17524 return NULL;
17525}
17526
17527
7e08d4ef
RD
17528static PyObject *_wrap_delete_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj = NULL;
17530 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ArtProvider",kwnames,&obj0)) goto fail;
17537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17538 if (SWIG_arg_fail(1)) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 delete arg1;
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 Py_INCREF(Py_None); resultobj = Py_None;
17547 return resultobj;
17548 fail:
17549 return NULL;
17550}
17551
17552
c370783e 17553static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17554 PyObject *resultobj = NULL;
d55e5bfc
RD
17555 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17556 PyObject *arg2 = (PyObject *) 0 ;
17557 PyObject *arg3 = (PyObject *) 0 ;
17558 PyObject * obj0 = 0 ;
17559 PyObject * obj1 = 0 ;
17560 PyObject * obj2 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self",(char *) "self",(char *) "_class", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
17566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17568 arg2 = obj1;
17569 arg3 = obj2;
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 (arg1)->_setCallbackInfo(arg2,arg3);
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 Py_INCREF(Py_None); resultobj = Py_None;
17578 return resultobj;
17579 fail:
17580 return NULL;
17581}
17582
17583
c370783e 17584static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17585 PyObject *resultobj = NULL;
d55e5bfc
RD
17586 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17587 PyObject * obj0 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "provider", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
7e08d4ef 17593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 17594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17595 {
17596 PyThreadState* __tstate = wxPyBeginAllowThreads();
17597 wxPyArtProvider::PushProvider(arg1);
17598
17599 wxPyEndAllowThreads(__tstate);
17600 if (PyErr_Occurred()) SWIG_fail;
17601 }
17602 Py_INCREF(Py_None); resultobj = Py_None;
17603 return resultobj;
17604 fail:
17605 return NULL;
17606}
17607
17608
c370783e 17609static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17610 PyObject *resultobj = NULL;
d55e5bfc
RD
17611 bool result;
17612 char *kwnames[] = {
17613 NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (bool)wxPyArtProvider::PopProvider();
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 {
17625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17626 }
17627 return resultobj;
17628 fail:
17629 return NULL;
17630}
17631
17632
c370783e 17633static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17634 PyObject *resultobj = NULL;
d55e5bfc
RD
17635 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17636 bool result;
17637 PyObject * obj0 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "provider", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
36ed4f51
RD
17643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17645 {
17646 PyThreadState* __tstate = wxPyBeginAllowThreads();
17647 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
17648
17649 wxPyEndAllowThreads(__tstate);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 {
17653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17654 }
17655 return resultobj;
17656 fail:
17657 return NULL;
17658}
17659
17660
c370783e 17661static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17662 PyObject *resultobj = NULL;
d55e5bfc
RD
17663 wxString *arg1 = 0 ;
17664 wxString const &arg2_defvalue = wxPyART_OTHER ;
17665 wxString *arg2 = (wxString *) &arg2_defvalue ;
17666 wxSize const &arg3_defvalue = wxDefaultSize ;
17667 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
17668 wxBitmap result;
b411df4a
RD
17669 bool temp1 = false ;
17670 bool temp2 = false ;
d55e5bfc
RD
17671 wxSize temp3 ;
17672 PyObject * obj0 = 0 ;
17673 PyObject * obj1 = 0 ;
17674 PyObject * obj2 = 0 ;
17675 char *kwnames[] = {
17676 (char *) "id",(char *) "client",(char *) "size", NULL
17677 };
17678
17679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
17680 {
17681 arg1 = wxString_in_helper(obj0);
17682 if (arg1 == NULL) SWIG_fail;
b411df4a 17683 temp1 = true;
d55e5bfc
RD
17684 }
17685 if (obj1) {
17686 {
17687 arg2 = wxString_in_helper(obj1);
17688 if (arg2 == NULL) SWIG_fail;
b411df4a 17689 temp2 = true;
d55e5bfc
RD
17690 }
17691 }
17692 if (obj2) {
17693 {
17694 arg3 = &temp3;
17695 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
17696 }
17697 }
17698 {
0439c23b 17699 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
17702
17703 wxPyEndAllowThreads(__tstate);
110da5b0 17704 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17705 }
17706 {
17707 wxBitmap * resultptr;
32fe5131 17708 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
17709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
17710 }
17711 {
17712 if (temp1)
17713 delete arg1;
17714 }
17715 {
17716 if (temp2)
17717 delete arg2;
17718 }
17719 return resultobj;
17720 fail:
17721 {
17722 if (temp1)
17723 delete arg1;
17724 }
17725 {
17726 if (temp2)
17727 delete arg2;
17728 }
17729 return NULL;
17730}
17731
17732
c370783e 17733static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17734 PyObject *resultobj = NULL;
d55e5bfc
RD
17735 wxString *arg1 = 0 ;
17736 wxString const &arg2_defvalue = wxPyART_OTHER ;
17737 wxString *arg2 = (wxString *) &arg2_defvalue ;
17738 wxSize const &arg3_defvalue = wxDefaultSize ;
17739 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
17740 wxIcon result;
b411df4a
RD
17741 bool temp1 = false ;
17742 bool temp2 = false ;
d55e5bfc
RD
17743 wxSize temp3 ;
17744 PyObject * obj0 = 0 ;
17745 PyObject * obj1 = 0 ;
17746 PyObject * obj2 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "id",(char *) "client",(char *) "size", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
17752 {
17753 arg1 = wxString_in_helper(obj0);
17754 if (arg1 == NULL) SWIG_fail;
b411df4a 17755 temp1 = true;
d55e5bfc
RD
17756 }
17757 if (obj1) {
17758 {
17759 arg2 = wxString_in_helper(obj1);
17760 if (arg2 == NULL) SWIG_fail;
b411df4a 17761 temp2 = true;
d55e5bfc
RD
17762 }
17763 }
17764 if (obj2) {
17765 {
17766 arg3 = &temp3;
17767 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
17768 }
17769 }
17770 {
0439c23b 17771 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
17774
17775 wxPyEndAllowThreads(__tstate);
110da5b0 17776 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17777 }
17778 {
17779 wxIcon * resultptr;
32fe5131 17780 resultptr = new wxIcon(static_cast<wxIcon & >(result));
d55e5bfc
RD
17781 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
17782 }
17783 {
17784 if (temp1)
17785 delete arg1;
17786 }
17787 {
17788 if (temp2)
17789 delete arg2;
17790 }
17791 return resultobj;
17792 fail:
17793 {
17794 if (temp1)
17795 delete arg1;
17796 }
17797 {
17798 if (temp2)
17799 delete arg2;
17800 }
17801 return NULL;
17802}
17803
17804
a95f9d4f 17805static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17806 PyObject *resultobj = NULL;
9c874b48
RD
17807 wxString *arg1 = 0 ;
17808 bool arg2 = (bool) false ;
17809 wxSize result;
17810 bool temp1 = false ;
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "client",(char *) "platform_dependent", NULL
17815 };
17816
a95f9d4f 17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
9c874b48
RD
17818 {
17819 arg1 = wxString_in_helper(obj0);
17820 if (arg1 == NULL) SWIG_fail;
17821 temp1 = true;
17822 }
17823 if (obj1) {
17824 {
32fe5131 17825 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
9c874b48
RD
17826 if (SWIG_arg_fail(2)) SWIG_fail;
17827 }
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
a95f9d4f 17831 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
9c874b48
RD
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 {
17837 wxSize * resultptr;
32fe5131 17838 resultptr = new wxSize(static_cast<wxSize & >(result));
9c874b48
RD
17839 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17840 }
17841 {
17842 if (temp1)
17843 delete arg1;
17844 }
17845 return resultobj;
17846 fail:
17847 {
17848 if (temp1)
17849 delete arg1;
17850 }
17851 return NULL;
17852}
17853
17854
c370783e 17855static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17856 PyObject *resultobj = NULL;
d55e5bfc
RD
17857 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
17858 PyObject * obj0 = 0 ;
17859 char *kwnames[] = {
17860 (char *) "self", NULL
17861 };
17862
17863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
17864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
17865 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 wxPyArtProvider_Destroy(arg1);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 Py_INCREF(Py_None); resultobj = Py_None;
17874 return resultobj;
17875 fail:
17876 return NULL;
17877}
17878
17879
c370783e 17880static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17881 PyObject *obj;
17882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17883 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
17884 Py_INCREF(obj);
17885 return Py_BuildValue((char *)"");
17886}
c370783e 17887static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17888 PyObject *resultobj = NULL;
d55e5bfc
RD
17889 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17890 PyObject * obj0 = 0 ;
17891 char *kwnames[] = {
17892 (char *) "self", NULL
17893 };
17894
17895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
36ed4f51
RD
17896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 delete arg1;
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 Py_INCREF(Py_None); resultobj = Py_None;
17906 return resultobj;
17907 fail:
17908 return NULL;
17909}
17910
17911
c370783e 17912static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17913 PyObject *resultobj = NULL;
d55e5bfc
RD
17914 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17915 wxConfigBase *result;
17916 PyObject * obj0 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "config", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
5ba5649b 17922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
36ed4f51 17923 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 result = (wxConfigBase *)wxConfigBase::Set(arg1);
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17932 return resultobj;
17933 fail:
17934 return NULL;
17935}
17936
17937
c370783e 17938static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17939 PyObject *resultobj = NULL;
b411df4a 17940 bool arg1 = (bool) true ;
d55e5bfc
RD
17941 wxConfigBase *result;
17942 PyObject * obj0 = 0 ;
17943 char *kwnames[] = {
17944 (char *) "createOnDemand", NULL
17945 };
17946
17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
17948 if (obj0) {
36ed4f51 17949 {
32fe5131 17950 arg1 = static_cast<bool >(SWIG_As_bool(obj0));
36ed4f51
RD
17951 if (SWIG_arg_fail(1)) SWIG_fail;
17952 }
d55e5bfc
RD
17953 }
17954 {
17955 PyThreadState* __tstate = wxPyBeginAllowThreads();
17956 result = (wxConfigBase *)wxConfigBase::Get(arg1);
17957
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17962 return resultobj;
17963 fail:
17964 return NULL;
17965}
17966
17967
c370783e 17968static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17969 PyObject *resultobj = NULL;
d55e5bfc
RD
17970 wxConfigBase *result;
17971 char *kwnames[] = {
17972 NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = (wxConfigBase *)wxConfigBase::Create();
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
17984 return resultobj;
17985 fail:
17986 return NULL;
17987}
17988
17989
c370783e 17990static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 17991 PyObject *resultobj = NULL;
d55e5bfc
RD
17992 char *kwnames[] = {
17993 NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
17997 {
17998 PyThreadState* __tstate = wxPyBeginAllowThreads();
17999 wxConfigBase::DontCreateOnDemand();
18000
18001 wxPyEndAllowThreads(__tstate);
18002 if (PyErr_Occurred()) SWIG_fail;
18003 }
18004 Py_INCREF(Py_None); resultobj = Py_None;
18005 return resultobj;
18006 fail:
18007 return NULL;
18008}
18009
18010
c370783e 18011static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18012 PyObject *resultobj = NULL;
d55e5bfc
RD
18013 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18014 wxString *arg2 = 0 ;
b411df4a 18015 bool temp2 = false ;
d55e5bfc
RD
18016 PyObject * obj0 = 0 ;
18017 PyObject * obj1 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self",(char *) "path", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18025 {
18026 arg2 = wxString_in_helper(obj1);
18027 if (arg2 == NULL) SWIG_fail;
b411df4a 18028 temp2 = true;
d55e5bfc
RD
18029 }
18030 {
18031 PyThreadState* __tstate = wxPyBeginAllowThreads();
18032 (arg1)->SetPath((wxString const &)*arg2);
18033
18034 wxPyEndAllowThreads(__tstate);
18035 if (PyErr_Occurred()) SWIG_fail;
18036 }
18037 Py_INCREF(Py_None); resultobj = Py_None;
18038 {
18039 if (temp2)
18040 delete arg2;
18041 }
18042 return resultobj;
18043 fail:
18044 {
18045 if (temp2)
18046 delete arg2;
18047 }
18048 return NULL;
18049}
18050
18051
c370783e 18052static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18053 PyObject *resultobj = NULL;
d55e5bfc
RD
18054 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18055 wxString *result;
18056 PyObject * obj0 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
18062 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 {
18067 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
18068 result = (wxString *) &_result_ref;
18069 }
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 {
18075#if wxUSE_UNICODE
18076 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18077#else
18078 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18079#endif
18080 }
18081 return resultobj;
18082 fail:
18083 return NULL;
18084}
18085
18086
c370783e 18087static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18088 PyObject *resultobj = NULL;
d55e5bfc
RD
18089 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18090 PyObject *result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
36ed4f51
RD
18097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 resultobj = result;
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
c370783e 18113static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18114 PyObject *resultobj = NULL;
d55e5bfc
RD
18115 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18116 long arg2 ;
18117 PyObject *result;
18118 PyObject * obj0 = 0 ;
18119 PyObject * obj1 = 0 ;
18120 char *kwnames[] = {
18121 (char *) "self",(char *) "index", NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18126 if (SWIG_arg_fail(1)) SWIG_fail;
18127 {
32fe5131 18128 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
18129 if (SWIG_arg_fail(2)) SWIG_fail;
18130 }
d55e5bfc
RD
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 resultobj = result;
18139 return resultobj;
18140 fail:
18141 return NULL;
18142}
18143
18144
c370783e 18145static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18146 PyObject *resultobj = NULL;
d55e5bfc
RD
18147 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18148 PyObject *result;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
36ed4f51
RD
18155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18156 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = result;
18165 return resultobj;
18166 fail:
18167 return NULL;
18168}
18169
18170
c370783e 18171static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18172 PyObject *resultobj = NULL;
d55e5bfc
RD
18173 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18174 long arg2 ;
18175 PyObject *result;
18176 PyObject * obj0 = 0 ;
18177 PyObject * obj1 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self",(char *) "index", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18184 if (SWIG_arg_fail(1)) SWIG_fail;
18185 {
32fe5131 18186 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
18187 if (SWIG_arg_fail(2)) SWIG_fail;
18188 }
d55e5bfc
RD
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
18192
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 resultobj = result;
18197 return resultobj;
18198 fail:
18199 return NULL;
18200}
18201
18202
c370783e 18203static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18204 PyObject *resultobj = NULL;
d55e5bfc 18205 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b411df4a 18206 bool arg2 = (bool) false ;
d55e5bfc
RD
18207 size_t result;
18208 PyObject * obj0 = 0 ;
18209 PyObject * obj1 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "self",(char *) "recursive", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18216 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18217 if (obj1) {
36ed4f51 18218 {
32fe5131 18219 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
18220 if (SWIG_arg_fail(2)) SWIG_fail;
18221 }
d55e5bfc
RD
18222 }
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
36ed4f51 18230 {
32fe5131 18231 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 18232 }
d55e5bfc
RD
18233 return resultobj;
18234 fail:
18235 return NULL;
18236}
18237
18238
c370783e 18239static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18240 PyObject *resultobj = NULL;
d55e5bfc 18241 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b411df4a 18242 bool arg2 = (bool) false ;
d55e5bfc
RD
18243 size_t result;
18244 PyObject * obj0 = 0 ;
18245 PyObject * obj1 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "self",(char *) "recursive", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18251 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18252 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18253 if (obj1) {
36ed4f51 18254 {
32fe5131 18255 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
18256 if (SWIG_arg_fail(2)) SWIG_fail;
18257 }
d55e5bfc
RD
18258 }
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
36ed4f51 18266 {
32fe5131 18267 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 18268 }
d55e5bfc
RD
18269 return resultobj;
18270 fail:
18271 return NULL;
18272}
18273
18274
c370783e 18275static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18276 PyObject *resultobj = NULL;
d55e5bfc
RD
18277 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18278 wxString *arg2 = 0 ;
18279 bool result;
b411df4a 18280 bool temp2 = false ;
d55e5bfc
RD
18281 PyObject * obj0 = 0 ;
18282 PyObject * obj1 = 0 ;
18283 char *kwnames[] = {
18284 (char *) "self",(char *) "name", NULL
18285 };
18286
18287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18290 {
18291 arg2 = wxString_in_helper(obj1);
18292 if (arg2 == NULL) SWIG_fail;
b411df4a 18293 temp2 = true;
d55e5bfc
RD
18294 }
18295 {
18296 PyThreadState* __tstate = wxPyBeginAllowThreads();
18297 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
18298
18299 wxPyEndAllowThreads(__tstate);
18300 if (PyErr_Occurred()) SWIG_fail;
18301 }
18302 {
18303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18304 }
18305 {
18306 if (temp2)
18307 delete arg2;
18308 }
18309 return resultobj;
18310 fail:
18311 {
18312 if (temp2)
18313 delete arg2;
18314 }
18315 return NULL;
18316}
18317
18318
c370783e 18319static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18320 PyObject *resultobj = NULL;
d55e5bfc
RD
18321 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18322 wxString *arg2 = 0 ;
18323 bool result;
b411df4a 18324 bool temp2 = false ;
d55e5bfc
RD
18325 PyObject * obj0 = 0 ;
18326 PyObject * obj1 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "self",(char *) "name", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18332 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18333 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18334 {
18335 arg2 = wxString_in_helper(obj1);
18336 if (arg2 == NULL) SWIG_fail;
b411df4a 18337 temp2 = true;
d55e5bfc
RD
18338 }
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 {
18347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18348 }
18349 {
18350 if (temp2)
18351 delete arg2;
18352 }
18353 return resultobj;
18354 fail:
18355 {
18356 if (temp2)
18357 delete arg2;
18358 }
18359 return NULL;
18360}
18361
18362
c370783e 18363static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18364 PyObject *resultobj = NULL;
d55e5bfc
RD
18365 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18366 wxString *arg2 = 0 ;
18367 bool result;
b411df4a 18368 bool temp2 = false ;
d55e5bfc
RD
18369 PyObject * obj0 = 0 ;
18370 PyObject * obj1 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self",(char *) "name", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18378 {
18379 arg2 = wxString_in_helper(obj1);
18380 if (arg2 == NULL) SWIG_fail;
b411df4a 18381 temp2 = true;
d55e5bfc
RD
18382 }
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
18386
18387 wxPyEndAllowThreads(__tstate);
18388 if (PyErr_Occurred()) SWIG_fail;
18389 }
18390 {
18391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18392 }
18393 {
18394 if (temp2)
18395 delete arg2;
18396 }
18397 return resultobj;
18398 fail:
18399 {
18400 if (temp2)
18401 delete arg2;
18402 }
18403 return NULL;
18404}
18405
18406
c370783e 18407static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18408 PyObject *resultobj = NULL;
d55e5bfc
RD
18409 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18410 wxString *arg2 = 0 ;
36ed4f51 18411 wxConfigBase::EntryType result;
b411df4a 18412 bool temp2 = false ;
d55e5bfc
RD
18413 PyObject * obj0 = 0 ;
18414 PyObject * obj1 = 0 ;
18415 char *kwnames[] = {
18416 (char *) "self",(char *) "name", NULL
18417 };
18418
18419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18422 {
18423 arg2 = wxString_in_helper(obj1);
18424 if (arg2 == NULL) SWIG_fail;
b411df4a 18425 temp2 = true;
d55e5bfc
RD
18426 }
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 18429 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
d55e5bfc
RD
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
36ed4f51 18434 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18435 {
18436 if (temp2)
18437 delete arg2;
18438 }
18439 return resultobj;
18440 fail:
18441 {
18442 if (temp2)
18443 delete arg2;
18444 }
18445 return NULL;
18446}
18447
18448
c370783e 18449static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18450 PyObject *resultobj = NULL;
d55e5bfc
RD
18451 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18452 wxString *arg2 = 0 ;
18453 wxString const &arg3_defvalue = wxPyEmptyString ;
18454 wxString *arg3 = (wxString *) &arg3_defvalue ;
18455 wxString result;
b411df4a
RD
18456 bool temp2 = false ;
18457 bool temp3 = false ;
d55e5bfc
RD
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 PyObject * obj2 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18468 {
18469 arg2 = wxString_in_helper(obj1);
18470 if (arg2 == NULL) SWIG_fail;
b411df4a 18471 temp2 = true;
d55e5bfc
RD
18472 }
18473 if (obj2) {
18474 {
18475 arg3 = wxString_in_helper(obj2);
18476 if (arg3 == NULL) SWIG_fail;
b411df4a 18477 temp3 = true;
d55e5bfc
RD
18478 }
18479 }
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 {
18488#if wxUSE_UNICODE
18489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18490#else
18491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18492#endif
18493 }
18494 {
18495 if (temp2)
18496 delete arg2;
18497 }
18498 {
18499 if (temp3)
18500 delete arg3;
18501 }
18502 return resultobj;
18503 fail:
18504 {
18505 if (temp2)
18506 delete arg2;
18507 }
18508 {
18509 if (temp3)
18510 delete arg3;
18511 }
18512 return NULL;
18513}
18514
18515
c370783e 18516static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18517 PyObject *resultobj = NULL;
d55e5bfc
RD
18518 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18519 wxString *arg2 = 0 ;
18520 long arg3 = (long) 0 ;
18521 long result;
b411df4a 18522 bool temp2 = false ;
d55e5bfc
RD
18523 PyObject * obj0 = 0 ;
18524 PyObject * obj1 = 0 ;
18525 PyObject * obj2 = 0 ;
18526 char *kwnames[] = {
18527 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18528 };
18529
18530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18533 {
18534 arg2 = wxString_in_helper(obj1);
18535 if (arg2 == NULL) SWIG_fail;
b411df4a 18536 temp2 = true;
d55e5bfc
RD
18537 }
18538 if (obj2) {
36ed4f51 18539 {
32fe5131 18540 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
18541 if (SWIG_arg_fail(3)) SWIG_fail;
18542 }
d55e5bfc
RD
18543 }
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
36ed4f51 18551 {
32fe5131 18552 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 18553 }
d55e5bfc
RD
18554 {
18555 if (temp2)
18556 delete arg2;
18557 }
18558 return resultobj;
18559 fail:
18560 {
18561 if (temp2)
18562 delete arg2;
18563 }
18564 return NULL;
18565}
18566
18567
c370783e 18568static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18569 PyObject *resultobj = NULL;
d55e5bfc
RD
18570 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18571 wxString *arg2 = 0 ;
18572 double arg3 = (double) 0.0 ;
18573 double result;
b411df4a 18574 bool temp2 = false ;
d55e5bfc
RD
18575 PyObject * obj0 = 0 ;
18576 PyObject * obj1 = 0 ;
18577 PyObject * obj2 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18584 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18585 {
18586 arg2 = wxString_in_helper(obj1);
18587 if (arg2 == NULL) SWIG_fail;
b411df4a 18588 temp2 = true;
d55e5bfc
RD
18589 }
18590 if (obj2) {
36ed4f51 18591 {
32fe5131 18592 arg3 = static_cast<double >(SWIG_As_double(obj2));
36ed4f51
RD
18593 if (SWIG_arg_fail(3)) SWIG_fail;
18594 }
d55e5bfc
RD
18595 }
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
36ed4f51 18603 {
32fe5131 18604 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 18605 }
d55e5bfc
RD
18606 {
18607 if (temp2)
18608 delete arg2;
18609 }
18610 return resultobj;
18611 fail:
18612 {
18613 if (temp2)
18614 delete arg2;
18615 }
18616 return NULL;
18617}
18618
18619
c370783e 18620static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18621 PyObject *resultobj = NULL;
d55e5bfc
RD
18622 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18623 wxString *arg2 = 0 ;
b411df4a 18624 bool arg3 = (bool) false ;
d55e5bfc 18625 bool result;
b411df4a 18626 bool temp2 = false ;
d55e5bfc
RD
18627 PyObject * obj0 = 0 ;
18628 PyObject * obj1 = 0 ;
18629 PyObject * obj2 = 0 ;
18630 char *kwnames[] = {
18631 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
18632 };
18633
18634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18637 {
18638 arg2 = wxString_in_helper(obj1);
18639 if (arg2 == NULL) SWIG_fail;
b411df4a 18640 temp2 = true;
d55e5bfc
RD
18641 }
18642 if (obj2) {
36ed4f51 18643 {
32fe5131 18644 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
18645 if (SWIG_arg_fail(3)) SWIG_fail;
18646 }
d55e5bfc
RD
18647 }
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 {
18656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18657 }
18658 {
18659 if (temp2)
18660 delete arg2;
18661 }
18662 return resultobj;
18663 fail:
18664 {
18665 if (temp2)
18666 delete arg2;
18667 }
18668 return NULL;
18669}
18670
18671
c370783e 18672static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18673 PyObject *resultobj = NULL;
d55e5bfc
RD
18674 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18675 wxString *arg2 = 0 ;
18676 wxString *arg3 = 0 ;
18677 bool result;
b411df4a
RD
18678 bool temp2 = false ;
18679 bool temp3 = false ;
d55e5bfc
RD
18680 PyObject * obj0 = 0 ;
18681 PyObject * obj1 = 0 ;
18682 PyObject * obj2 = 0 ;
18683 char *kwnames[] = {
18684 (char *) "self",(char *) "key",(char *) "value", NULL
18685 };
18686
18687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18689 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18690 {
18691 arg2 = wxString_in_helper(obj1);
18692 if (arg2 == NULL) SWIG_fail;
b411df4a 18693 temp2 = true;
d55e5bfc
RD
18694 }
18695 {
18696 arg3 = wxString_in_helper(obj2);
18697 if (arg3 == NULL) SWIG_fail;
b411df4a 18698 temp3 = true;
d55e5bfc
RD
18699 }
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 {
18708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18709 }
18710 {
18711 if (temp2)
18712 delete arg2;
18713 }
18714 {
18715 if (temp3)
18716 delete arg3;
18717 }
18718 return resultobj;
18719 fail:
18720 {
18721 if (temp2)
18722 delete arg2;
18723 }
18724 {
18725 if (temp3)
18726 delete arg3;
18727 }
18728 return NULL;
18729}
18730
18731
c370783e 18732static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18733 PyObject *resultobj = NULL;
d55e5bfc
RD
18734 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18735 wxString *arg2 = 0 ;
18736 long arg3 ;
18737 bool result;
b411df4a 18738 bool temp2 = false ;
d55e5bfc
RD
18739 PyObject * obj0 = 0 ;
18740 PyObject * obj1 = 0 ;
18741 PyObject * obj2 = 0 ;
18742 char *kwnames[] = {
18743 (char *) "self",(char *) "key",(char *) "value", NULL
18744 };
18745
18746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18748 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18749 {
18750 arg2 = wxString_in_helper(obj1);
18751 if (arg2 == NULL) SWIG_fail;
b411df4a 18752 temp2 = true;
d55e5bfc 18753 }
36ed4f51 18754 {
32fe5131 18755 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
18756 if (SWIG_arg_fail(3)) SWIG_fail;
18757 }
d55e5bfc
RD
18758 {
18759 PyThreadState* __tstate = wxPyBeginAllowThreads();
18760 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18761
18762 wxPyEndAllowThreads(__tstate);
18763 if (PyErr_Occurred()) SWIG_fail;
18764 }
18765 {
18766 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18767 }
18768 {
18769 if (temp2)
18770 delete arg2;
18771 }
18772 return resultobj;
18773 fail:
18774 {
18775 if (temp2)
18776 delete arg2;
18777 }
18778 return NULL;
18779}
18780
18781
c370783e 18782static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18783 PyObject *resultobj = NULL;
d55e5bfc
RD
18784 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18785 wxString *arg2 = 0 ;
18786 double arg3 ;
18787 bool result;
b411df4a 18788 bool temp2 = false ;
d55e5bfc
RD
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 PyObject * obj2 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self",(char *) "key",(char *) "value", NULL
18794 };
18795
18796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18799 {
18800 arg2 = wxString_in_helper(obj1);
18801 if (arg2 == NULL) SWIG_fail;
b411df4a 18802 temp2 = true;
d55e5bfc 18803 }
36ed4f51 18804 {
32fe5131 18805 arg3 = static_cast<double >(SWIG_As_double(obj2));
36ed4f51
RD
18806 if (SWIG_arg_fail(3)) SWIG_fail;
18807 }
d55e5bfc
RD
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18811
18812 wxPyEndAllowThreads(__tstate);
18813 if (PyErr_Occurred()) SWIG_fail;
18814 }
18815 {
18816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18817 }
18818 {
18819 if (temp2)
18820 delete arg2;
18821 }
18822 return resultobj;
18823 fail:
18824 {
18825 if (temp2)
18826 delete arg2;
18827 }
18828 return NULL;
18829}
18830
18831
c370783e 18832static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18833 PyObject *resultobj = NULL;
d55e5bfc
RD
18834 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18835 wxString *arg2 = 0 ;
18836 bool arg3 ;
18837 bool result;
b411df4a 18838 bool temp2 = false ;
d55e5bfc
RD
18839 PyObject * obj0 = 0 ;
18840 PyObject * obj1 = 0 ;
18841 PyObject * obj2 = 0 ;
18842 char *kwnames[] = {
18843 (char *) "self",(char *) "key",(char *) "value", NULL
18844 };
18845
18846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18848 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18849 {
18850 arg2 = wxString_in_helper(obj1);
18851 if (arg2 == NULL) SWIG_fail;
b411df4a 18852 temp2 = true;
d55e5bfc 18853 }
36ed4f51 18854 {
32fe5131 18855 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
18856 if (SWIG_arg_fail(3)) SWIG_fail;
18857 }
d55e5bfc
RD
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
18865 {
18866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18867 }
18868 {
18869 if (temp2)
18870 delete arg2;
18871 }
18872 return resultobj;
18873 fail:
18874 {
18875 if (temp2)
18876 delete arg2;
18877 }
18878 return NULL;
18879}
18880
18881
c370783e 18882static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18883 PyObject *resultobj = NULL;
d55e5bfc 18884 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b411df4a 18885 bool arg2 = (bool) false ;
d55e5bfc
RD
18886 bool result;
18887 PyObject * obj0 = 0 ;
18888 PyObject * obj1 = 0 ;
18889 char *kwnames[] = {
18890 (char *) "self",(char *) "currentOnly", NULL
18891 };
18892
18893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18895 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 18896 if (obj1) {
36ed4f51 18897 {
32fe5131 18898 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
18899 if (SWIG_arg_fail(2)) SWIG_fail;
18900 }
d55e5bfc
RD
18901 }
18902 {
18903 PyThreadState* __tstate = wxPyBeginAllowThreads();
18904 result = (bool)(arg1)->Flush(arg2);
18905
18906 wxPyEndAllowThreads(__tstate);
18907 if (PyErr_Occurred()) SWIG_fail;
18908 }
18909 {
18910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18911 }
18912 return resultobj;
18913 fail:
18914 return NULL;
18915}
18916
18917
c370783e 18918static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18919 PyObject *resultobj = NULL;
d55e5bfc
RD
18920 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18921 wxString *arg2 = 0 ;
18922 wxString *arg3 = 0 ;
18923 bool result;
b411df4a
RD
18924 bool temp2 = false ;
18925 bool temp3 = false ;
d55e5bfc
RD
18926 PyObject * obj0 = 0 ;
18927 PyObject * obj1 = 0 ;
18928 PyObject * obj2 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18935 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18936 {
18937 arg2 = wxString_in_helper(obj1);
18938 if (arg2 == NULL) SWIG_fail;
b411df4a 18939 temp2 = true;
d55e5bfc
RD
18940 }
18941 {
18942 arg3 = wxString_in_helper(obj2);
18943 if (arg3 == NULL) SWIG_fail;
b411df4a 18944 temp3 = true;
d55e5bfc
RD
18945 }
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 {
18954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18955 }
18956 {
18957 if (temp2)
18958 delete arg2;
18959 }
18960 {
18961 if (temp3)
18962 delete arg3;
18963 }
18964 return resultobj;
18965 fail:
18966 {
18967 if (temp2)
18968 delete arg2;
18969 }
18970 {
18971 if (temp3)
18972 delete arg3;
18973 }
18974 return NULL;
18975}
18976
18977
c370783e 18978static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 18979 PyObject *resultobj = NULL;
d55e5bfc
RD
18980 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18981 wxString *arg2 = 0 ;
18982 wxString *arg3 = 0 ;
18983 bool result;
b411df4a
RD
18984 bool temp2 = false ;
18985 bool temp3 = false ;
d55e5bfc
RD
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 PyObject * obj2 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "oldName",(char *) "newName", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
18994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18996 {
18997 arg2 = wxString_in_helper(obj1);
18998 if (arg2 == NULL) SWIG_fail;
b411df4a 18999 temp2 = true;
d55e5bfc
RD
19000 }
19001 {
19002 arg3 = wxString_in_helper(obj2);
19003 if (arg3 == NULL) SWIG_fail;
b411df4a 19004 temp3 = true;
d55e5bfc
RD
19005 }
19006 {
19007 PyThreadState* __tstate = wxPyBeginAllowThreads();
19008 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
19009
19010 wxPyEndAllowThreads(__tstate);
19011 if (PyErr_Occurred()) SWIG_fail;
19012 }
19013 {
19014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19015 }
19016 {
19017 if (temp2)
19018 delete arg2;
19019 }
19020 {
19021 if (temp3)
19022 delete arg3;
19023 }
19024 return resultobj;
19025 fail:
19026 {
19027 if (temp2)
19028 delete arg2;
19029 }
19030 {
19031 if (temp3)
19032 delete arg3;
19033 }
19034 return NULL;
19035}
19036
19037
c370783e 19038static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19039 PyObject *resultobj = NULL;
d55e5bfc
RD
19040 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19041 wxString *arg2 = 0 ;
b411df4a 19042 bool arg3 = (bool) true ;
d55e5bfc 19043 bool result;
b411df4a 19044 bool temp2 = false ;
d55e5bfc
RD
19045 PyObject * obj0 = 0 ;
19046 PyObject * obj1 = 0 ;
19047 PyObject * obj2 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19054 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19055 {
19056 arg2 = wxString_in_helper(obj1);
19057 if (arg2 == NULL) SWIG_fail;
b411df4a 19058 temp2 = true;
d55e5bfc
RD
19059 }
19060 if (obj2) {
36ed4f51 19061 {
32fe5131 19062 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
19063 if (SWIG_arg_fail(3)) SWIG_fail;
19064 }
d55e5bfc
RD
19065 }
19066 {
19067 PyThreadState* __tstate = wxPyBeginAllowThreads();
19068 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
19069
19070 wxPyEndAllowThreads(__tstate);
19071 if (PyErr_Occurred()) SWIG_fail;
19072 }
19073 {
19074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19075 }
19076 {
19077 if (temp2)
19078 delete arg2;
19079 }
19080 return resultobj;
19081 fail:
19082 {
19083 if (temp2)
19084 delete arg2;
19085 }
19086 return NULL;
19087}
19088
19089
c370783e 19090static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19091 PyObject *resultobj = NULL;
d55e5bfc
RD
19092 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19093 wxString *arg2 = 0 ;
19094 bool result;
b411df4a 19095 bool temp2 = false ;
d55e5bfc
RD
19096 PyObject * obj0 = 0 ;
19097 PyObject * obj1 = 0 ;
19098 char *kwnames[] = {
19099 (char *) "self",(char *) "key", NULL
19100 };
19101
19102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19104 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19105 {
19106 arg2 = wxString_in_helper(obj1);
19107 if (arg2 == NULL) SWIG_fail;
b411df4a 19108 temp2 = true;
d55e5bfc
RD
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 {
19118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19119 }
19120 {
19121 if (temp2)
19122 delete arg2;
19123 }
19124 return resultobj;
19125 fail:
19126 {
19127 if (temp2)
19128 delete arg2;
19129 }
19130 return NULL;
19131}
19132
19133
c370783e 19134static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19135 PyObject *resultobj = NULL;
d55e5bfc
RD
19136 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19137 bool result;
19138 PyObject * obj0 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
19144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19145 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19146 {
19147 PyThreadState* __tstate = wxPyBeginAllowThreads();
19148 result = (bool)(arg1)->DeleteAll();
19149
19150 wxPyEndAllowThreads(__tstate);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 {
19154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19155 }
19156 return resultobj;
19157 fail:
19158 return NULL;
19159}
19160
19161
c370783e 19162static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19163 PyObject *resultobj = NULL;
d55e5bfc 19164 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b411df4a 19165 bool arg2 = (bool) true ;
d55e5bfc
RD
19166 PyObject * obj0 = 0 ;
19167 PyObject * obj1 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "doIt", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19174 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 19175 if (obj1) {
36ed4f51 19176 {
32fe5131 19177 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
19178 if (SWIG_arg_fail(2)) SWIG_fail;
19179 }
d55e5bfc
RD
19180 }
19181 {
19182 PyThreadState* __tstate = wxPyBeginAllowThreads();
19183 (arg1)->SetExpandEnvVars(arg2);
19184
19185 wxPyEndAllowThreads(__tstate);
19186 if (PyErr_Occurred()) SWIG_fail;
19187 }
19188 Py_INCREF(Py_None); resultobj = Py_None;
19189 return resultobj;
19190 fail:
19191 return NULL;
19192}
19193
19194
c370783e 19195static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19196 PyObject *resultobj = NULL;
d55e5bfc
RD
19197 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19198 bool result;
19199 PyObject * obj0 = 0 ;
19200 char *kwnames[] = {
19201 (char *) "self", NULL
19202 };
19203
19204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
36ed4f51
RD
19205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19207 {
19208 PyThreadState* __tstate = wxPyBeginAllowThreads();
19209 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
19210
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 {
19215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19216 }
19217 return resultobj;
19218 fail:
19219 return NULL;
19220}
19221
19222
c370783e 19223static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19224 PyObject *resultobj = NULL;
d55e5bfc 19225 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
b411df4a 19226 bool arg2 = (bool) true ;
d55e5bfc
RD
19227 PyObject * obj0 = 0 ;
19228 PyObject * obj1 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self",(char *) "doIt", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19235 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 19236 if (obj1) {
36ed4f51 19237 {
32fe5131 19238 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
19239 if (SWIG_arg_fail(2)) SWIG_fail;
19240 }
d55e5bfc
RD
19241 }
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 (arg1)->SetRecordDefaults(arg2);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 Py_INCREF(Py_None); resultobj = Py_None;
19250 return resultobj;
19251 fail:
19252 return NULL;
19253}
19254
19255
c370783e 19256static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19257 PyObject *resultobj = NULL;
d55e5bfc
RD
19258 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19259 bool result;
19260 PyObject * obj0 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
36ed4f51
RD
19266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 {
19276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19277 }
19278 return resultobj;
19279 fail:
19280 return NULL;
19281}
19282
19283
c370783e 19284static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19285 PyObject *resultobj = NULL;
d55e5bfc
RD
19286 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19287 wxString *arg2 = 0 ;
19288 wxString result;
b411df4a 19289 bool temp2 = false ;
d55e5bfc
RD
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj1 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "str", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19299 {
19300 arg2 = wxString_in_helper(obj1);
19301 if (arg2 == NULL) SWIG_fail;
b411df4a 19302 temp2 = true;
d55e5bfc
RD
19303 }
19304 {
19305 PyThreadState* __tstate = wxPyBeginAllowThreads();
19306 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
19307
19308 wxPyEndAllowThreads(__tstate);
19309 if (PyErr_Occurred()) SWIG_fail;
19310 }
19311 {
19312#if wxUSE_UNICODE
19313 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19314#else
19315 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19316#endif
19317 }
19318 {
19319 if (temp2)
19320 delete arg2;
19321 }
19322 return resultobj;
19323 fail:
19324 {
19325 if (temp2)
19326 delete arg2;
19327 }
19328 return NULL;
19329}
19330
19331
c370783e 19332static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19333 PyObject *resultobj = NULL;
d55e5bfc
RD
19334 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19335 wxString result;
19336 PyObject * obj0 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
36ed4f51
RD
19342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19343 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19344 {
19345 PyThreadState* __tstate = wxPyBeginAllowThreads();
19346 result = ((wxConfigBase const *)arg1)->GetAppName();
19347
19348 wxPyEndAllowThreads(__tstate);
19349 if (PyErr_Occurred()) SWIG_fail;
19350 }
19351 {
19352#if wxUSE_UNICODE
19353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19354#else
19355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19356#endif
19357 }
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
c370783e 19364static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19365 PyObject *resultobj = NULL;
d55e5bfc
RD
19366 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19367 wxString result;
19368 PyObject * obj0 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
36ed4f51
RD
19374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19375 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19376 {
19377 PyThreadState* __tstate = wxPyBeginAllowThreads();
19378 result = ((wxConfigBase const *)arg1)->GetVendorName();
19379
19380 wxPyEndAllowThreads(__tstate);
19381 if (PyErr_Occurred()) SWIG_fail;
19382 }
19383 {
19384#if wxUSE_UNICODE
19385 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19386#else
19387 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19388#endif
19389 }
19390 return resultobj;
19391 fail:
19392 return NULL;
19393}
19394
19395
c370783e 19396static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19397 PyObject *resultobj = NULL;
d55e5bfc
RD
19398 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19399 wxString *arg2 = 0 ;
b411df4a 19400 bool temp2 = false ;
d55e5bfc
RD
19401 PyObject * obj0 = 0 ;
19402 PyObject * obj1 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "appName", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19409 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19410 {
19411 arg2 = wxString_in_helper(obj1);
19412 if (arg2 == NULL) SWIG_fail;
b411df4a 19413 temp2 = true;
d55e5bfc
RD
19414 }
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
19417 (arg1)->SetAppName((wxString const &)*arg2);
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 Py_INCREF(Py_None); resultobj = Py_None;
19423 {
19424 if (temp2)
19425 delete arg2;
19426 }
19427 return resultobj;
19428 fail:
19429 {
19430 if (temp2)
19431 delete arg2;
19432 }
19433 return NULL;
19434}
19435
19436
c370783e 19437static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19438 PyObject *resultobj = NULL;
d55e5bfc
RD
19439 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19440 wxString *arg2 = 0 ;
b411df4a 19441 bool temp2 = false ;
d55e5bfc
RD
19442 PyObject * obj0 = 0 ;
19443 PyObject * obj1 = 0 ;
19444 char *kwnames[] = {
19445 (char *) "self",(char *) "vendorName", NULL
19446 };
19447
19448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19451 {
19452 arg2 = wxString_in_helper(obj1);
19453 if (arg2 == NULL) SWIG_fail;
b411df4a 19454 temp2 = true;
d55e5bfc
RD
19455 }
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 (arg1)->SetVendorName((wxString const &)*arg2);
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 {
19465 if (temp2)
19466 delete arg2;
19467 }
19468 return resultobj;
19469 fail:
19470 {
19471 if (temp2)
19472 delete arg2;
19473 }
19474 return NULL;
19475}
19476
19477
c370783e 19478static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19479 PyObject *resultobj = NULL;
d55e5bfc
RD
19480 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19481 long arg2 ;
19482 PyObject * obj0 = 0 ;
19483 PyObject * obj1 = 0 ;
19484 char *kwnames[] = {
19485 (char *) "self",(char *) "style", NULL
19486 };
19487
19488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19490 if (SWIG_arg_fail(1)) SWIG_fail;
19491 {
32fe5131 19492 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
19493 if (SWIG_arg_fail(2)) SWIG_fail;
19494 }
d55e5bfc
RD
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 (arg1)->SetStyle(arg2);
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 Py_INCREF(Py_None); resultobj = Py_None;
19503 return resultobj;
19504 fail:
19505 return NULL;
19506}
19507
19508
c370783e 19509static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19510 PyObject *resultobj = NULL;
d55e5bfc
RD
19511 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19512 long result;
19513 PyObject * obj0 = 0 ;
19514 char *kwnames[] = {
19515 (char *) "self", NULL
19516 };
19517
19518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
19519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = (long)((wxConfigBase const *)arg1)->GetStyle();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
36ed4f51 19528 {
32fe5131 19529 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 19530 }
d55e5bfc
RD
19531 return resultobj;
19532 fail:
19533 return NULL;
19534}
19535
19536
c370783e 19537static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19538 PyObject *obj;
19539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19540 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
19541 Py_INCREF(obj);
19542 return Py_BuildValue((char *)"");
19543}
c370783e 19544static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19545 PyObject *resultobj = NULL;
d55e5bfc
RD
19546 wxString const &arg1_defvalue = wxPyEmptyString ;
19547 wxString *arg1 = (wxString *) &arg1_defvalue ;
19548 wxString const &arg2_defvalue = wxPyEmptyString ;
19549 wxString *arg2 = (wxString *) &arg2_defvalue ;
19550 wxString const &arg3_defvalue = wxPyEmptyString ;
19551 wxString *arg3 = (wxString *) &arg3_defvalue ;
19552 wxString const &arg4_defvalue = wxPyEmptyString ;
19553 wxString *arg4 = (wxString *) &arg4_defvalue ;
19554 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
19555 wxConfig *result;
b411df4a
RD
19556 bool temp1 = false ;
19557 bool temp2 = false ;
19558 bool temp3 = false ;
19559 bool temp4 = false ;
d55e5bfc
RD
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 PyObject * obj2 = 0 ;
19563 PyObject * obj3 = 0 ;
19564 PyObject * obj4 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19570 if (obj0) {
19571 {
19572 arg1 = wxString_in_helper(obj0);
19573 if (arg1 == NULL) SWIG_fail;
b411df4a 19574 temp1 = true;
d55e5bfc
RD
19575 }
19576 }
19577 if (obj1) {
19578 {
19579 arg2 = wxString_in_helper(obj1);
19580 if (arg2 == NULL) SWIG_fail;
b411df4a 19581 temp2 = true;
d55e5bfc
RD
19582 }
19583 }
19584 if (obj2) {
19585 {
19586 arg3 = wxString_in_helper(obj2);
19587 if (arg3 == NULL) SWIG_fail;
b411df4a 19588 temp3 = true;
d55e5bfc
RD
19589 }
19590 }
19591 if (obj3) {
19592 {
19593 arg4 = wxString_in_helper(obj3);
19594 if (arg4 == NULL) SWIG_fail;
b411df4a 19595 temp4 = true;
d55e5bfc
RD
19596 }
19597 }
19598 if (obj4) {
36ed4f51 19599 {
32fe5131 19600 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19601 if (SWIG_arg_fail(5)) SWIG_fail;
19602 }
d55e5bfc
RD
19603 }
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
19612 {
19613 if (temp1)
19614 delete arg1;
19615 }
19616 {
19617 if (temp2)
19618 delete arg2;
19619 }
19620 {
19621 if (temp3)
19622 delete arg3;
19623 }
19624 {
19625 if (temp4)
19626 delete arg4;
19627 }
19628 return resultobj;
19629 fail:
19630 {
19631 if (temp1)
19632 delete arg1;
19633 }
19634 {
19635 if (temp2)
19636 delete arg2;
19637 }
19638 {
19639 if (temp3)
19640 delete arg3;
19641 }
19642 {
19643 if (temp4)
19644 delete arg4;
19645 }
19646 return NULL;
19647}
19648
19649
c370783e 19650static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19651 PyObject *resultobj = NULL;
d55e5bfc
RD
19652 wxConfig *arg1 = (wxConfig *) 0 ;
19653 PyObject * obj0 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
36ed4f51
RD
19659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
19660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 delete arg1;
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 Py_INCREF(Py_None); resultobj = Py_None;
19669 return resultobj;
19670 fail:
19671 return NULL;
19672}
19673
19674
c370783e 19675static PyObject * Config_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19676 PyObject *obj;
19677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19678 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
19679 Py_INCREF(obj);
19680 return Py_BuildValue((char *)"");
19681}
c370783e 19682static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19683 PyObject *resultobj = NULL;
d55e5bfc
RD
19684 wxString const &arg1_defvalue = wxPyEmptyString ;
19685 wxString *arg1 = (wxString *) &arg1_defvalue ;
19686 wxString const &arg2_defvalue = wxPyEmptyString ;
19687 wxString *arg2 = (wxString *) &arg2_defvalue ;
19688 wxString const &arg3_defvalue = wxPyEmptyString ;
19689 wxString *arg3 = (wxString *) &arg3_defvalue ;
19690 wxString const &arg4_defvalue = wxPyEmptyString ;
19691 wxString *arg4 = (wxString *) &arg4_defvalue ;
19692 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
19693 wxFileConfig *result;
b411df4a
RD
19694 bool temp1 = false ;
19695 bool temp2 = false ;
19696 bool temp3 = false ;
19697 bool temp4 = false ;
d55e5bfc
RD
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700 PyObject * obj2 = 0 ;
19701 PyObject * obj3 = 0 ;
19702 PyObject * obj4 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19708 if (obj0) {
19709 {
19710 arg1 = wxString_in_helper(obj0);
19711 if (arg1 == NULL) SWIG_fail;
b411df4a 19712 temp1 = true;
d55e5bfc
RD
19713 }
19714 }
19715 if (obj1) {
19716 {
19717 arg2 = wxString_in_helper(obj1);
19718 if (arg2 == NULL) SWIG_fail;
b411df4a 19719 temp2 = true;
d55e5bfc
RD
19720 }
19721 }
19722 if (obj2) {
19723 {
19724 arg3 = wxString_in_helper(obj2);
19725 if (arg3 == NULL) SWIG_fail;
b411df4a 19726 temp3 = true;
d55e5bfc
RD
19727 }
19728 }
19729 if (obj3) {
19730 {
19731 arg4 = wxString_in_helper(obj3);
19732 if (arg4 == NULL) SWIG_fail;
b411df4a 19733 temp4 = true;
d55e5bfc
RD
19734 }
19735 }
19736 if (obj4) {
36ed4f51 19737 {
32fe5131 19738 arg5 = static_cast<long >(SWIG_As_long(obj4));
36ed4f51
RD
19739 if (SWIG_arg_fail(5)) SWIG_fail;
19740 }
d55e5bfc
RD
19741 }
19742 {
19743 PyThreadState* __tstate = wxPyBeginAllowThreads();
19744 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
19745
19746 wxPyEndAllowThreads(__tstate);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
19750 {
19751 if (temp1)
19752 delete arg1;
19753 }
19754 {
19755 if (temp2)
19756 delete arg2;
19757 }
19758 {
19759 if (temp3)
19760 delete arg3;
19761 }
19762 {
19763 if (temp4)
19764 delete arg4;
19765 }
19766 return resultobj;
19767 fail:
19768 {
19769 if (temp1)
19770 delete arg1;
19771 }
19772 {
19773 if (temp2)
19774 delete arg2;
19775 }
19776 {
19777 if (temp3)
19778 delete arg3;
19779 }
19780 {
19781 if (temp4)
19782 delete arg4;
19783 }
19784 return NULL;
19785}
19786
19787
c370783e 19788static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19789 PyObject *resultobj = NULL;
d55e5bfc
RD
19790 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
19791 PyObject * obj0 = 0 ;
19792 char *kwnames[] = {
19793 (char *) "self", NULL
19794 };
19795
19796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
36ed4f51
RD
19797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
19798 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 delete arg1;
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 Py_INCREF(Py_None); resultobj = Py_None;
19807 return resultobj;
19808 fail:
19809 return NULL;
19810}
19811
19812
c370783e 19813static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19814 PyObject *obj;
19815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19816 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
19817 Py_INCREF(obj);
19818 return Py_BuildValue((char *)"");
19819}
c370783e 19820static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19821 PyObject *resultobj = NULL;
d55e5bfc
RD
19822 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
19823 wxString *arg2 = 0 ;
19824 wxConfigPathChanger *result;
b411df4a 19825 bool temp2 = false ;
d55e5bfc
RD
19826 PyObject * obj0 = 0 ;
19827 PyObject * obj1 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "config",(char *) "entry", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19835 {
19836 arg2 = wxString_in_helper(obj1);
19837 if (arg2 == NULL) SWIG_fail;
b411df4a 19838 temp2 = true;
d55e5bfc
RD
19839 }
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
19848 {
19849 if (temp2)
19850 delete arg2;
19851 }
19852 return resultobj;
19853 fail:
19854 {
19855 if (temp2)
19856 delete arg2;
19857 }
19858 return NULL;
19859}
19860
19861
c370783e 19862static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19863 PyObject *resultobj = NULL;
d55e5bfc
RD
19864 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
36ed4f51
RD
19871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19872 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 delete arg1;
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 Py_INCREF(Py_None); resultobj = Py_None;
19881 return resultobj;
19882 fail:
19883 return NULL;
19884}
19885
19886
c370783e 19887static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19888 PyObject *resultobj = NULL;
d55e5bfc
RD
19889 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
19890 wxString *result;
19891 PyObject * obj0 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
36ed4f51
RD
19897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
19898 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19899 {
19900 PyThreadState* __tstate = wxPyBeginAllowThreads();
19901 {
19902 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
19903 result = (wxString *) &_result_ref;
19904 }
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 {
19910#if wxUSE_UNICODE
19911 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19912#else
19913 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19914#endif
19915 }
19916 return resultobj;
19917 fail:
19918 return NULL;
19919}
19920
19921
c370783e 19922static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19923 PyObject *obj;
19924 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19925 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
19926 Py_INCREF(obj);
19927 return Py_BuildValue((char *)"");
19928}
c370783e 19929static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 19930 PyObject *resultobj = NULL;
d55e5bfc
RD
19931 wxString *arg1 = 0 ;
19932 wxString result;
b411df4a 19933 bool temp1 = false ;
d55e5bfc
RD
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "sz", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
19940 {
19941 arg1 = wxString_in_helper(obj0);
19942 if (arg1 == NULL) SWIG_fail;
b411df4a 19943 temp1 = true;
d55e5bfc
RD
19944 }
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 result = wxExpandEnvVars((wxString const &)*arg1);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 {
19953#if wxUSE_UNICODE
19954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19955#else
19956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19957#endif
19958 }
19959 {
19960 if (temp1)
19961 delete arg1;
19962 }
19963 return resultobj;
19964 fail:
19965 {
19966 if (temp1)
19967 delete arg1;
19968 }
19969 return NULL;
19970}
19971
19972
fef4c27a
RD
19973static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
19974 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
d55e5bfc
RD
19975 return 1;
19976}
19977
19978
fef4c27a 19979static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
32fe5131 19980 PyObject *pyobj = NULL;
d55e5bfc
RD
19981
19982 {
19983#if wxUSE_UNICODE
fef4c27a 19984 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc 19985#else
fef4c27a 19986 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
d55e5bfc
RD
19987#endif
19988 }
19989 return pyobj;
19990}
19991
19992
fef4c27a
RD
19993static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
19994 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
d55e5bfc
RD
19995 return 1;
19996}
19997
19998
fef4c27a 19999static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
32fe5131 20000 PyObject *pyobj = NULL;
d55e5bfc
RD
20001
20002 {
20003#if wxUSE_UNICODE
fef4c27a 20004 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc 20005#else
fef4c27a 20006 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
d55e5bfc
RD
20007#endif
20008 }
20009 return pyobj;
20010}
20011
20012
c370783e 20013static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20014 PyObject *resultobj = NULL;
36ed4f51 20015 wxDateTime::Country arg1 ;
d55e5bfc
RD
20016 PyObject * obj0 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "country", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
36ed4f51 20022 {
32fe5131 20023 arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
36ed4f51
RD
20024 if (SWIG_arg_fail(1)) SWIG_fail;
20025 }
d55e5bfc
RD
20026 {
20027 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20028 wxDateTime::SetCountry(arg1);
d55e5bfc
RD
20029
20030 wxPyEndAllowThreads(__tstate);
20031 if (PyErr_Occurred()) SWIG_fail;
20032 }
20033 Py_INCREF(Py_None); resultobj = Py_None;
20034 return resultobj;
20035 fail:
20036 return NULL;
20037}
20038
20039
c370783e 20040static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20041 PyObject *resultobj = NULL;
36ed4f51 20042 wxDateTime::Country result;
d55e5bfc
RD
20043 char *kwnames[] = {
20044 NULL
20045 };
20046
20047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
20048 {
20049 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20050 result = (wxDateTime::Country)wxDateTime::GetCountry();
d55e5bfc
RD
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
36ed4f51 20055 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
c370783e 20062static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20063 PyObject *resultobj = NULL;
36ed4f51 20064 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20065 bool result;
20066 PyObject * obj0 = 0 ;
20067 char *kwnames[] = {
20068 (char *) "country", NULL
20069 };
20070
20071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
20072 if (obj0) {
36ed4f51 20073 {
32fe5131 20074 arg1 = static_cast<wxDateTime::Country >(SWIG_As_int(obj0));
36ed4f51
RD
20075 if (SWIG_arg_fail(1)) SWIG_fail;
20076 }
d55e5bfc
RD
20077 }
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20080 result = (bool)wxDateTime::IsWestEuropeanCountry(arg1);
d55e5bfc
RD
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 {
20086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20087 }
20088 return resultobj;
20089 fail:
20090 return NULL;
20091}
20092
20093
c370783e 20094static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20095 PyObject *resultobj = NULL;
36ed4f51 20096 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20097 int result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "cal", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
20104 if (obj0) {
36ed4f51 20105 {
32fe5131 20106 arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
36ed4f51
RD
20107 if (SWIG_arg_fail(1)) SWIG_fail;
20108 }
d55e5bfc
RD
20109 }
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20112 result = (int)wxDateTime::GetCurrentYear(arg1);
d55e5bfc
RD
20113
20114 wxPyEndAllowThreads(__tstate);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
36ed4f51 20117 {
32fe5131 20118 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20119 }
d55e5bfc
RD
20120 return resultobj;
20121 fail:
20122 return NULL;
20123}
20124
20125
c370783e 20126static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20127 PyObject *resultobj = NULL;
d55e5bfc
RD
20128 int arg1 ;
20129 int result;
20130 PyObject * obj0 = 0 ;
20131 char *kwnames[] = {
20132 (char *) "year", NULL
20133 };
20134
20135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
36ed4f51 20136 {
32fe5131 20137 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20138 if (SWIG_arg_fail(1)) SWIG_fail;
20139 }
d55e5bfc
RD
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 result = (int)wxDateTime::ConvertYearToBC(arg1);
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
36ed4f51 20147 {
32fe5131 20148 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20149 }
d55e5bfc
RD
20150 return resultobj;
20151 fail:
20152 return NULL;
20153}
20154
20155
c370783e 20156static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20157 PyObject *resultobj = NULL;
36ed4f51
RD
20158 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
20159 wxDateTime::Month result;
d55e5bfc
RD
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "cal", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
20166 if (obj0) {
36ed4f51 20167 {
32fe5131 20168 arg1 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj0));
36ed4f51
RD
20169 if (SWIG_arg_fail(1)) SWIG_fail;
20170 }
d55e5bfc
RD
20171 }
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20174 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth(arg1);
d55e5bfc
RD
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
36ed4f51 20179 resultobj = SWIG_From_int((result));
d55e5bfc
RD
20180 return resultobj;
20181 fail:
20182 return NULL;
20183}
20184
20185
c370783e 20186static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20187 PyObject *resultobj = NULL;
d55e5bfc 20188 int arg1 = (int) wxDateTime::Inv_Year ;
36ed4f51 20189 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20190 bool result;
20191 PyObject * obj0 = 0 ;
20192 PyObject * obj1 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "year",(char *) "cal", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
20198 if (obj0) {
36ed4f51 20199 {
32fe5131 20200 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20201 if (SWIG_arg_fail(1)) SWIG_fail;
20202 }
d55e5bfc
RD
20203 }
20204 if (obj1) {
36ed4f51 20205 {
32fe5131 20206 arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
36ed4f51
RD
20207 if (SWIG_arg_fail(2)) SWIG_fail;
20208 }
d55e5bfc
RD
20209 }
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20212 result = (bool)wxDateTime::IsLeapYear(arg1,arg2);
d55e5bfc
RD
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 {
20218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20219 }
20220 return resultobj;
20221 fail:
20222 return NULL;
20223}
20224
20225
c370783e 20226static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20227 PyObject *resultobj = NULL;
d55e5bfc
RD
20228 int arg1 = (int) wxDateTime::Inv_Year ;
20229 int result;
20230 PyObject * obj0 = 0 ;
20231 char *kwnames[] = {
20232 (char *) "year", NULL
20233 };
20234
20235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
20236 if (obj0) {
36ed4f51 20237 {
32fe5131 20238 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20239 if (SWIG_arg_fail(1)) SWIG_fail;
20240 }
d55e5bfc
RD
20241 }
20242 {
20243 PyThreadState* __tstate = wxPyBeginAllowThreads();
20244 result = (int)wxDateTime::GetCentury(arg1);
20245
20246 wxPyEndAllowThreads(__tstate);
20247 if (PyErr_Occurred()) SWIG_fail;
20248 }
36ed4f51 20249 {
32fe5131 20250 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20251 }
d55e5bfc
RD
20252 return resultobj;
20253 fail:
20254 return NULL;
20255}
20256
20257
c370783e 20258static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20259 PyObject *resultobj = NULL;
d55e5bfc 20260 int arg1 ;
36ed4f51 20261 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20262 int result;
20263 PyObject * obj0 = 0 ;
20264 PyObject * obj1 = 0 ;
20265 char *kwnames[] = {
20266 (char *) "year",(char *) "cal", NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 20270 {
32fe5131 20271 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20272 if (SWIG_arg_fail(1)) SWIG_fail;
20273 }
d55e5bfc 20274 if (obj1) {
36ed4f51 20275 {
32fe5131 20276 arg2 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj1));
36ed4f51
RD
20277 if (SWIG_arg_fail(2)) SWIG_fail;
20278 }
d55e5bfc
RD
20279 }
20280 {
20281 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20282 result = (int)wxDateTime::GetNumberOfDays(arg1,arg2);
d55e5bfc
RD
20283
20284 wxPyEndAllowThreads(__tstate);
20285 if (PyErr_Occurred()) SWIG_fail;
20286 }
36ed4f51 20287 {
32fe5131 20288 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20289 }
d55e5bfc
RD
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
c370783e 20296static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20297 PyObject *resultobj = NULL;
36ed4f51 20298 wxDateTime::Month arg1 ;
d55e5bfc 20299 int arg2 = (int) wxDateTime::Inv_Year ;
36ed4f51 20300 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
d55e5bfc
RD
20301 int result;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 PyObject * obj2 = 0 ;
20305 char *kwnames[] = {
20306 (char *) "month",(char *) "year",(char *) "cal", NULL
20307 };
20308
20309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51 20310 {
32fe5131 20311 arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
36ed4f51
RD
20312 if (SWIG_arg_fail(1)) SWIG_fail;
20313 }
d55e5bfc 20314 if (obj1) {
36ed4f51 20315 {
32fe5131 20316 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20317 if (SWIG_arg_fail(2)) SWIG_fail;
20318 }
d55e5bfc
RD
20319 }
20320 if (obj2) {
36ed4f51 20321 {
32fe5131 20322 arg3 = static_cast<wxDateTime::Calendar >(SWIG_As_int(obj2));
36ed4f51
RD
20323 if (SWIG_arg_fail(3)) SWIG_fail;
20324 }
d55e5bfc
RD
20325 }
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20328 result = (int)wxDateTime::GetNumberOfDays(arg1,arg2,arg3);
d55e5bfc
RD
20329
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
36ed4f51 20333 {
32fe5131 20334 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 20335 }
d55e5bfc
RD
20336 return resultobj;
20337 fail:
20338 return NULL;
20339}
20340
20341
c370783e 20342static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20343 PyObject *resultobj = NULL;
36ed4f51
RD
20344 wxDateTime::Month arg1 ;
20345 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
20346 wxString result;
20347 PyObject * obj0 = 0 ;
20348 PyObject * obj1 = 0 ;
20349 char *kwnames[] = {
20350 (char *) "month",(char *) "flags", NULL
20351 };
20352
20353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 20354 {
32fe5131 20355 arg1 = static_cast<wxDateTime::Month >(SWIG_As_int(obj0));
36ed4f51
RD
20356 if (SWIG_arg_fail(1)) SWIG_fail;
20357 }
d55e5bfc 20358 if (obj1) {
36ed4f51 20359 {
32fe5131 20360 arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
36ed4f51
RD
20361 if (SWIG_arg_fail(2)) SWIG_fail;
20362 }
d55e5bfc
RD
20363 }
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20366 result = wxDateTime::GetMonthName(arg1,arg2);
d55e5bfc
RD
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 {
20372#if wxUSE_UNICODE
20373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20374#else
20375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20376#endif
20377 }
20378 return resultobj;
20379 fail:
20380 return NULL;
20381}
20382
20383
c370783e 20384static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20385 PyObject *resultobj = NULL;
36ed4f51
RD
20386 wxDateTime::WeekDay arg1 ;
20387 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
d55e5bfc
RD
20388 wxString result;
20389 PyObject * obj0 = 0 ;
20390 PyObject * obj1 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "weekday",(char *) "flags", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
36ed4f51 20396 {
32fe5131 20397 arg1 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj0));
36ed4f51
RD
20398 if (SWIG_arg_fail(1)) SWIG_fail;
20399 }
d55e5bfc 20400 if (obj1) {
36ed4f51 20401 {
32fe5131 20402 arg2 = static_cast<wxDateTime::NameFlags >(SWIG_As_int(obj1));
36ed4f51
RD
20403 if (SWIG_arg_fail(2)) SWIG_fail;
20404 }
d55e5bfc
RD
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20408 result = wxDateTime::GetWeekDayName(arg1,arg2);
d55e5bfc
RD
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 {
20414#if wxUSE_UNICODE
20415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20416#else
20417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20418#endif
20419 }
20420 return resultobj;
20421 fail:
20422 return NULL;
20423}
20424
20425
c370783e 20426static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20427 PyObject *resultobj = NULL;
7fbf8399 20428 PyObject *result;
d55e5bfc 20429 char *kwnames[] = {
7fbf8399 20430 NULL
d55e5bfc
RD
20431 };
20432
7fbf8399 20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
d55e5bfc
RD
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20436 result = (PyObject *)wxDateTime_GetAmPmStrings();
d55e5bfc
RD
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
7fbf8399 20441 resultobj = result;
d55e5bfc
RD
20442 return resultobj;
20443 fail:
d55e5bfc
RD
20444 return NULL;
20445}
20446
20447
c370783e 20448static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20449 PyObject *resultobj = NULL;
d55e5bfc 20450 int arg1 = (int) wxDateTime::Inv_Year ;
36ed4f51 20451 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20452 bool result;
20453 PyObject * obj0 = 0 ;
20454 PyObject * obj1 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "year",(char *) "country", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
20460 if (obj0) {
36ed4f51 20461 {
32fe5131 20462 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20463 if (SWIG_arg_fail(1)) SWIG_fail;
20464 }
d55e5bfc
RD
20465 }
20466 if (obj1) {
36ed4f51 20467 {
32fe5131 20468 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
36ed4f51
RD
20469 if (SWIG_arg_fail(2)) SWIG_fail;
20470 }
d55e5bfc
RD
20471 }
20472 {
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20474 result = (bool)wxDateTime::IsDSTApplicable(arg1,arg2);
d55e5bfc
RD
20475
20476 wxPyEndAllowThreads(__tstate);
20477 if (PyErr_Occurred()) SWIG_fail;
20478 }
20479 {
20480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20481 }
20482 return resultobj;
20483 fail:
20484 return NULL;
20485}
20486
20487
c370783e 20488static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20489 PyObject *resultobj = NULL;
d55e5bfc 20490 int arg1 = (int) wxDateTime::Inv_Year ;
36ed4f51 20491 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20492 wxDateTime result;
20493 PyObject * obj0 = 0 ;
20494 PyObject * obj1 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "year",(char *) "country", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
20500 if (obj0) {
36ed4f51 20501 {
32fe5131 20502 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20503 if (SWIG_arg_fail(1)) SWIG_fail;
20504 }
d55e5bfc
RD
20505 }
20506 if (obj1) {
36ed4f51 20507 {
32fe5131 20508 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
36ed4f51
RD
20509 if (SWIG_arg_fail(2)) SWIG_fail;
20510 }
d55e5bfc
RD
20511 }
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20514 result = wxDateTime::GetBeginDST(arg1,arg2);
d55e5bfc
RD
20515
20516 wxPyEndAllowThreads(__tstate);
20517 if (PyErr_Occurred()) SWIG_fail;
20518 }
20519 {
20520 wxDateTime * resultptr;
32fe5131 20521 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20523 }
20524 return resultobj;
20525 fail:
20526 return NULL;
20527}
20528
20529
c370783e 20530static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20531 PyObject *resultobj = NULL;
d55e5bfc 20532 int arg1 = (int) wxDateTime::Inv_Year ;
36ed4f51 20533 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
20534 wxDateTime result;
20535 PyObject * obj0 = 0 ;
20536 PyObject * obj1 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "year",(char *) "country", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
20542 if (obj0) {
36ed4f51 20543 {
32fe5131 20544 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20545 if (SWIG_arg_fail(1)) SWIG_fail;
20546 }
d55e5bfc
RD
20547 }
20548 if (obj1) {
36ed4f51 20549 {
32fe5131 20550 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
36ed4f51
RD
20551 if (SWIG_arg_fail(2)) SWIG_fail;
20552 }
d55e5bfc
RD
20553 }
20554 {
20555 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20556 result = wxDateTime::GetEndDST(arg1,arg2);
d55e5bfc
RD
20557
20558 wxPyEndAllowThreads(__tstate);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 {
20562 wxDateTime * resultptr;
32fe5131 20563 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20565 }
20566 return resultobj;
20567 fail:
20568 return NULL;
20569}
20570
20571
c370783e 20572static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20573 PyObject *resultobj = NULL;
d55e5bfc
RD
20574 wxDateTime result;
20575 char *kwnames[] = {
20576 NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
20580 {
20581 PyThreadState* __tstate = wxPyBeginAllowThreads();
20582 result = wxDateTime::Now();
20583
20584 wxPyEndAllowThreads(__tstate);
20585 if (PyErr_Occurred()) SWIG_fail;
20586 }
20587 {
20588 wxDateTime * resultptr;
32fe5131 20589 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20590 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20591 }
20592 return resultobj;
20593 fail:
20594 return NULL;
20595}
20596
20597
c370783e 20598static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20599 PyObject *resultobj = NULL;
d55e5bfc
RD
20600 wxDateTime result;
20601 char *kwnames[] = {
20602 NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = wxDateTime::UNow();
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
20613 {
20614 wxDateTime * resultptr;
32fe5131 20615 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
c370783e 20624static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20625 PyObject *resultobj = NULL;
d55e5bfc
RD
20626 wxDateTime result;
20627 char *kwnames[] = {
20628 NULL
20629 };
20630
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
20632 {
20633 PyThreadState* __tstate = wxPyBeginAllowThreads();
20634 result = wxDateTime::Today();
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
20639 {
20640 wxDateTime * resultptr;
32fe5131 20641 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
20642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20643 }
20644 return resultobj;
20645 fail:
20646 return NULL;
20647}
20648
20649
c370783e 20650static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20651 PyObject *resultobj = NULL;
d55e5bfc
RD
20652 wxDateTime *result;
20653 char *kwnames[] = {
20654 NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 result = (wxDateTime *)new wxDateTime();
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20666 return resultobj;
20667 fail:
20668 return NULL;
20669}
20670
20671
c370783e 20672static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20673 PyObject *resultobj = NULL;
d55e5bfc
RD
20674 time_t arg1 ;
20675 wxDateTime *result;
20676 PyObject * obj0 = 0 ;
20677 char *kwnames[] = {
20678 (char *) "timet", NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
36ed4f51 20682 {
32fe5131 20683 arg1 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj0));
36ed4f51
RD
20684 if (SWIG_arg_fail(1)) SWIG_fail;
20685 }
d55e5bfc
RD
20686 {
20687 PyThreadState* __tstate = wxPyBeginAllowThreads();
20688 result = (wxDateTime *)new wxDateTime(arg1);
20689
20690 wxPyEndAllowThreads(__tstate);
20691 if (PyErr_Occurred()) SWIG_fail;
20692 }
20693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20694 return resultobj;
20695 fail:
20696 return NULL;
20697}
20698
20699
c370783e 20700static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20701 PyObject *resultobj = NULL;
d55e5bfc
RD
20702 double arg1 ;
20703 wxDateTime *result;
20704 PyObject * obj0 = 0 ;
20705 char *kwnames[] = {
20706 (char *) "jdn", NULL
20707 };
20708
20709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
36ed4f51 20710 {
32fe5131 20711 arg1 = static_cast<double >(SWIG_As_double(obj0));
36ed4f51
RD
20712 if (SWIG_arg_fail(1)) SWIG_fail;
20713 }
d55e5bfc
RD
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = (wxDateTime *)new wxDateTime(arg1);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20722 return resultobj;
20723 fail:
20724 return NULL;
20725}
20726
20727
c370783e 20728static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20729 PyObject *resultobj = NULL;
d55e5bfc
RD
20730 int arg1 ;
20731 int arg2 = (int) 0 ;
20732 int arg3 = (int) 0 ;
20733 int arg4 = (int) 0 ;
20734 wxDateTime *result;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 PyObject * obj2 = 0 ;
20738 PyObject * obj3 = 0 ;
20739 char *kwnames[] = {
20740 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51 20744 {
32fe5131 20745 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20746 if (SWIG_arg_fail(1)) SWIG_fail;
20747 }
d55e5bfc 20748 if (obj1) {
36ed4f51 20749 {
32fe5131 20750 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
20751 if (SWIG_arg_fail(2)) SWIG_fail;
20752 }
d55e5bfc
RD
20753 }
20754 if (obj2) {
36ed4f51 20755 {
32fe5131 20756 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20757 if (SWIG_arg_fail(3)) SWIG_fail;
20758 }
d55e5bfc
RD
20759 }
20760 if (obj3) {
36ed4f51 20761 {
32fe5131 20762 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
20763 if (SWIG_arg_fail(4)) SWIG_fail;
20764 }
d55e5bfc
RD
20765 }
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20774 return resultobj;
20775 fail:
20776 return NULL;
20777}
20778
20779
c370783e 20780static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20781 PyObject *resultobj = NULL;
d55e5bfc 20782 int arg1 ;
36ed4f51 20783 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
20784 int arg3 = (int) wxDateTime::Inv_Year ;
20785 int arg4 = (int) 0 ;
20786 int arg5 = (int) 0 ;
20787 int arg6 = (int) 0 ;
20788 int arg7 = (int) 0 ;
20789 wxDateTime *result;
20790 PyObject * obj0 = 0 ;
20791 PyObject * obj1 = 0 ;
20792 PyObject * obj2 = 0 ;
20793 PyObject * obj3 = 0 ;
20794 PyObject * obj4 = 0 ;
20795 PyObject * obj5 = 0 ;
20796 PyObject * obj6 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51 20802 {
32fe5131 20803 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
20804 if (SWIG_arg_fail(1)) SWIG_fail;
20805 }
d55e5bfc 20806 if (obj1) {
36ed4f51 20807 {
32fe5131 20808 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
36ed4f51
RD
20809 if (SWIG_arg_fail(2)) SWIG_fail;
20810 }
d55e5bfc
RD
20811 }
20812 if (obj2) {
36ed4f51 20813 {
32fe5131 20814 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
20815 if (SWIG_arg_fail(3)) SWIG_fail;
20816 }
d55e5bfc
RD
20817 }
20818 if (obj3) {
36ed4f51 20819 {
32fe5131 20820 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
20821 if (SWIG_arg_fail(4)) SWIG_fail;
20822 }
d55e5bfc
RD
20823 }
20824 if (obj4) {
36ed4f51 20825 {
32fe5131 20826 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
20827 if (SWIG_arg_fail(5)) SWIG_fail;
20828 }
d55e5bfc
RD
20829 }
20830 if (obj5) {
36ed4f51 20831 {
32fe5131 20832 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
20833 if (SWIG_arg_fail(6)) SWIG_fail;
20834 }
d55e5bfc
RD
20835 }
20836 if (obj6) {
36ed4f51 20837 {
32fe5131 20838 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
20839 if (SWIG_arg_fail(7)) SWIG_fail;
20840 }
d55e5bfc
RD
20841 }
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 20844 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d55e5bfc
RD
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
20850 return resultobj;
20851 fail:
20852 return NULL;
20853}
20854
20855
c370783e 20856static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20857 PyObject *resultobj = NULL;
d55e5bfc
RD
20858 wxDateTime *arg1 = (wxDateTime *) 0 ;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
36ed4f51
RD
20865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 delete arg1;
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 Py_INCREF(Py_None); resultobj = Py_None;
20875 return resultobj;
20876 fail:
20877 return NULL;
20878}
20879
20880
c370783e 20881static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20882 PyObject *resultobj = NULL;
d55e5bfc
RD
20883 wxDateTime *arg1 = (wxDateTime *) 0 ;
20884 wxDateTime *result;
20885 PyObject * obj0 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
36ed4f51
RD
20891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20892 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 {
20896 wxDateTime &_result_ref = (arg1)->SetToCurrent();
20897 result = (wxDateTime *) &_result_ref;
20898 }
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20904 return resultobj;
20905 fail:
20906 return NULL;
20907}
20908
20909
c370783e 20910static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20911 PyObject *resultobj = NULL;
d55e5bfc
RD
20912 wxDateTime *arg1 = (wxDateTime *) 0 ;
20913 time_t arg2 ;
20914 wxDateTime *result;
20915 PyObject * obj0 = 0 ;
20916 PyObject * obj1 = 0 ;
20917 char *kwnames[] = {
20918 (char *) "self",(char *) "timet", NULL
20919 };
20920
20921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20923 if (SWIG_arg_fail(1)) SWIG_fail;
20924 {
32fe5131 20925 arg2 = static_cast<time_t >(SWIG_As_unsigned_SS_int(obj1));
36ed4f51
RD
20926 if (SWIG_arg_fail(2)) SWIG_fail;
20927 }
d55e5bfc
RD
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 {
20931 wxDateTime &_result_ref = (arg1)->Set(arg2);
20932 result = (wxDateTime *) &_result_ref;
20933 }
20934
20935 wxPyEndAllowThreads(__tstate);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20939 return resultobj;
20940 fail:
20941 return NULL;
20942}
20943
20944
c370783e 20945static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20946 PyObject *resultobj = NULL;
d55e5bfc
RD
20947 wxDateTime *arg1 = (wxDateTime *) 0 ;
20948 double arg2 ;
20949 wxDateTime *result;
20950 PyObject * obj0 = 0 ;
20951 PyObject * obj1 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self",(char *) "jdn", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20958 if (SWIG_arg_fail(1)) SWIG_fail;
20959 {
32fe5131 20960 arg2 = static_cast<double >(SWIG_As_double(obj1));
36ed4f51
RD
20961 if (SWIG_arg_fail(2)) SWIG_fail;
20962 }
d55e5bfc
RD
20963 {
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 {
20966 wxDateTime &_result_ref = (arg1)->Set(arg2);
20967 result = (wxDateTime *) &_result_ref;
20968 }
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20974 return resultobj;
20975 fail:
20976 return NULL;
20977}
20978
20979
c370783e 20980static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 20981 PyObject *resultobj = NULL;
d55e5bfc
RD
20982 wxDateTime *arg1 = (wxDateTime *) 0 ;
20983 int arg2 ;
20984 int arg3 = (int) 0 ;
20985 int arg4 = (int) 0 ;
20986 int arg5 = (int) 0 ;
20987 wxDateTime *result;
20988 PyObject * obj0 = 0 ;
20989 PyObject * obj1 = 0 ;
20990 PyObject * obj2 = 0 ;
20991 PyObject * obj3 = 0 ;
20992 PyObject * obj4 = 0 ;
20993 char *kwnames[] = {
20994 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20995 };
20996
20997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
20998 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20999 if (SWIG_arg_fail(1)) SWIG_fail;
21000 {
32fe5131 21001 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21002 if (SWIG_arg_fail(2)) SWIG_fail;
21003 }
d55e5bfc 21004 if (obj2) {
36ed4f51 21005 {
32fe5131 21006 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
21007 if (SWIG_arg_fail(3)) SWIG_fail;
21008 }
d55e5bfc
RD
21009 }
21010 if (obj3) {
36ed4f51 21011 {
32fe5131 21012 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
21013 if (SWIG_arg_fail(4)) SWIG_fail;
21014 }
d55e5bfc
RD
21015 }
21016 if (obj4) {
36ed4f51 21017 {
32fe5131 21018 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
21019 if (SWIG_arg_fail(5)) SWIG_fail;
21020 }
d55e5bfc
RD
21021 }
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 {
21025 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
21026 result = (wxDateTime *) &_result_ref;
21027 }
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21033 return resultobj;
21034 fail:
21035 return NULL;
21036}
21037
21038
c370783e 21039static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21040 PyObject *resultobj = NULL;
d55e5bfc
RD
21041 wxDateTime *arg1 = (wxDateTime *) 0 ;
21042 int arg2 ;
36ed4f51 21043 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21044 int arg4 = (int) wxDateTime::Inv_Year ;
21045 int arg5 = (int) 0 ;
21046 int arg6 = (int) 0 ;
21047 int arg7 = (int) 0 ;
21048 int arg8 = (int) 0 ;
21049 wxDateTime *result;
21050 PyObject * obj0 = 0 ;
21051 PyObject * obj1 = 0 ;
21052 PyObject * obj2 = 0 ;
21053 PyObject * obj3 = 0 ;
21054 PyObject * obj4 = 0 ;
21055 PyObject * obj5 = 0 ;
21056 PyObject * obj6 = 0 ;
21057 PyObject * obj7 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
21063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21064 if (SWIG_arg_fail(1)) SWIG_fail;
21065 {
32fe5131 21066 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21067 if (SWIG_arg_fail(2)) SWIG_fail;
21068 }
d55e5bfc 21069 if (obj2) {
36ed4f51 21070 {
32fe5131 21071 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
36ed4f51
RD
21072 if (SWIG_arg_fail(3)) SWIG_fail;
21073 }
d55e5bfc
RD
21074 }
21075 if (obj3) {
36ed4f51 21076 {
32fe5131 21077 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
21078 if (SWIG_arg_fail(4)) SWIG_fail;
21079 }
d55e5bfc
RD
21080 }
21081 if (obj4) {
36ed4f51 21082 {
32fe5131 21083 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
21084 if (SWIG_arg_fail(5)) SWIG_fail;
21085 }
d55e5bfc
RD
21086 }
21087 if (obj5) {
36ed4f51 21088 {
32fe5131 21089 arg6 = static_cast<int >(SWIG_As_int(obj5));
36ed4f51
RD
21090 if (SWIG_arg_fail(6)) SWIG_fail;
21091 }
d55e5bfc
RD
21092 }
21093 if (obj6) {
36ed4f51 21094 {
32fe5131 21095 arg7 = static_cast<int >(SWIG_As_int(obj6));
36ed4f51
RD
21096 if (SWIG_arg_fail(7)) SWIG_fail;
21097 }
d55e5bfc
RD
21098 }
21099 if (obj7) {
36ed4f51 21100 {
32fe5131 21101 arg8 = static_cast<int >(SWIG_As_int(obj7));
36ed4f51
RD
21102 if (SWIG_arg_fail(8)) SWIG_fail;
21103 }
d55e5bfc
RD
21104 }
21105 {
21106 PyThreadState* __tstate = wxPyBeginAllowThreads();
21107 {
32fe5131 21108 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
d55e5bfc
RD
21109 result = (wxDateTime *) &_result_ref;
21110 }
21111
21112 wxPyEndAllowThreads(__tstate);
21113 if (PyErr_Occurred()) SWIG_fail;
21114 }
21115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21116 return resultobj;
21117 fail:
21118 return NULL;
21119}
21120
21121
c370783e 21122static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21123 PyObject *resultobj = NULL;
d55e5bfc
RD
21124 wxDateTime *arg1 = (wxDateTime *) 0 ;
21125 wxDateTime *result;
21126 PyObject * obj0 = 0 ;
21127 char *kwnames[] = {
21128 (char *) "self", NULL
21129 };
21130
21131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
36ed4f51
RD
21132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21133 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 {
21137 wxDateTime &_result_ref = (arg1)->ResetTime();
21138 result = (wxDateTime *) &_result_ref;
21139 }
21140
21141 wxPyEndAllowThreads(__tstate);
21142 if (PyErr_Occurred()) SWIG_fail;
21143 }
21144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21145 return resultobj;
21146 fail:
21147 return NULL;
21148}
21149
21150
c370783e 21151static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21152 PyObject *resultobj = NULL;
d55e5bfc
RD
21153 wxDateTime *arg1 = (wxDateTime *) 0 ;
21154 int arg2 ;
21155 wxDateTime *result;
21156 PyObject * obj0 = 0 ;
21157 PyObject * obj1 = 0 ;
21158 char *kwnames[] = {
21159 (char *) "self",(char *) "year", NULL
21160 };
21161
21162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21163 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21164 if (SWIG_arg_fail(1)) SWIG_fail;
21165 {
32fe5131 21166 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21167 if (SWIG_arg_fail(2)) SWIG_fail;
21168 }
d55e5bfc
RD
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 {
21172 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
21173 result = (wxDateTime *) &_result_ref;
21174 }
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
21179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21180 return resultobj;
21181 fail:
21182 return NULL;
21183}
21184
21185
c370783e 21186static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21187 PyObject *resultobj = NULL;
d55e5bfc 21188 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21189 wxDateTime::Month arg2 ;
d55e5bfc
RD
21190 wxDateTime *result;
21191 PyObject * obj0 = 0 ;
21192 PyObject * obj1 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self",(char *) "month", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail;
21200 {
32fe5131 21201 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
36ed4f51
RD
21202 if (SWIG_arg_fail(2)) SWIG_fail;
21203 }
d55e5bfc
RD
21204 {
21205 PyThreadState* __tstate = wxPyBeginAllowThreads();
21206 {
32fe5131 21207 wxDateTime &_result_ref = (arg1)->SetMonth(arg2);
d55e5bfc
RD
21208 result = (wxDateTime *) &_result_ref;
21209 }
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21215 return resultobj;
21216 fail:
21217 return NULL;
21218}
21219
21220
c370783e 21221static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21222 PyObject *resultobj = NULL;
d55e5bfc
RD
21223 wxDateTime *arg1 = (wxDateTime *) 0 ;
21224 int arg2 ;
21225 wxDateTime *result;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "day", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21234 if (SWIG_arg_fail(1)) SWIG_fail;
21235 {
32fe5131 21236 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21237 if (SWIG_arg_fail(2)) SWIG_fail;
21238 }
d55e5bfc
RD
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 {
21242 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
21243 result = (wxDateTime *) &_result_ref;
21244 }
21245
21246 wxPyEndAllowThreads(__tstate);
21247 if (PyErr_Occurred()) SWIG_fail;
21248 }
21249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21250 return resultobj;
21251 fail:
21252 return NULL;
21253}
21254
21255
c370783e 21256static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21257 PyObject *resultobj = NULL;
d55e5bfc
RD
21258 wxDateTime *arg1 = (wxDateTime *) 0 ;
21259 int arg2 ;
21260 wxDateTime *result;
21261 PyObject * obj0 = 0 ;
21262 PyObject * obj1 = 0 ;
21263 char *kwnames[] = {
21264 (char *) "self",(char *) "hour", NULL
21265 };
21266
21267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21269 if (SWIG_arg_fail(1)) SWIG_fail;
21270 {
32fe5131 21271 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21272 if (SWIG_arg_fail(2)) SWIG_fail;
21273 }
d55e5bfc
RD
21274 {
21275 PyThreadState* __tstate = wxPyBeginAllowThreads();
21276 {
21277 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
21278 result = (wxDateTime *) &_result_ref;
21279 }
21280
21281 wxPyEndAllowThreads(__tstate);
21282 if (PyErr_Occurred()) SWIG_fail;
21283 }
21284 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21285 return resultobj;
21286 fail:
21287 return NULL;
21288}
21289
21290
c370783e 21291static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21292 PyObject *resultobj = NULL;
d55e5bfc
RD
21293 wxDateTime *arg1 = (wxDateTime *) 0 ;
21294 int arg2 ;
21295 wxDateTime *result;
21296 PyObject * obj0 = 0 ;
21297 PyObject * obj1 = 0 ;
21298 char *kwnames[] = {
21299 (char *) "self",(char *) "minute", NULL
21300 };
21301
21302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21304 if (SWIG_arg_fail(1)) SWIG_fail;
21305 {
32fe5131 21306 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21307 if (SWIG_arg_fail(2)) SWIG_fail;
21308 }
d55e5bfc
RD
21309 {
21310 PyThreadState* __tstate = wxPyBeginAllowThreads();
21311 {
21312 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
21313 result = (wxDateTime *) &_result_ref;
21314 }
21315
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21320 return resultobj;
21321 fail:
21322 return NULL;
21323}
21324
21325
c370783e 21326static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21327 PyObject *resultobj = NULL;
d55e5bfc
RD
21328 wxDateTime *arg1 = (wxDateTime *) 0 ;
21329 int arg2 ;
21330 wxDateTime *result;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "second", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21339 if (SWIG_arg_fail(1)) SWIG_fail;
21340 {
32fe5131 21341 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21342 if (SWIG_arg_fail(2)) SWIG_fail;
21343 }
d55e5bfc
RD
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 {
21347 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
21348 result = (wxDateTime *) &_result_ref;
21349 }
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21355 return resultobj;
21356 fail:
21357 return NULL;
21358}
21359
21360
c370783e 21361static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21362 PyObject *resultobj = NULL;
d55e5bfc
RD
21363 wxDateTime *arg1 = (wxDateTime *) 0 ;
21364 int arg2 ;
21365 wxDateTime *result;
21366 PyObject * obj0 = 0 ;
21367 PyObject * obj1 = 0 ;
21368 char *kwnames[] = {
21369 (char *) "self",(char *) "millisecond", NULL
21370 };
21371
21372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21374 if (SWIG_arg_fail(1)) SWIG_fail;
21375 {
32fe5131 21376 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21377 if (SWIG_arg_fail(2)) SWIG_fail;
21378 }
d55e5bfc
RD
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 {
21382 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
21383 result = (wxDateTime *) &_result_ref;
21384 }
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21390 return resultobj;
21391 fail:
21392 return NULL;
21393}
21394
21395
c370783e 21396static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21397 PyObject *resultobj = NULL;
d55e5bfc 21398 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51
RD
21399 wxDateTime::WeekDay arg2 ;
21400 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21401 wxDateTime *result;
21402 PyObject * obj0 = 0 ;
21403 PyObject * obj1 = 0 ;
21404 PyObject * obj2 = 0 ;
21405 char *kwnames[] = {
21406 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21407 };
21408
21409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21411 if (SWIG_arg_fail(1)) SWIG_fail;
21412 {
32fe5131 21413 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21414 if (SWIG_arg_fail(2)) SWIG_fail;
21415 }
d55e5bfc 21416 if (obj2) {
36ed4f51 21417 {
32fe5131 21418 arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
36ed4f51
RD
21419 if (SWIG_arg_fail(3)) SWIG_fail;
21420 }
d55e5bfc
RD
21421 }
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 {
32fe5131 21425 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek(arg2,arg3);
d55e5bfc
RD
21426 result = (wxDateTime *) &_result_ref;
21427 }
21428
21429 wxPyEndAllowThreads(__tstate);
21430 if (PyErr_Occurred()) SWIG_fail;
21431 }
21432 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21433 return resultobj;
21434 fail:
21435 return NULL;
21436}
21437
21438
c370783e 21439static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21440 PyObject *resultobj = NULL;
d55e5bfc 21441 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51
RD
21442 wxDateTime::WeekDay arg2 ;
21443 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21444 wxDateTime result;
21445 PyObject * obj0 = 0 ;
21446 PyObject * obj1 = 0 ;
21447 PyObject * obj2 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self",(char *) "weekday",(char *) "flags", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21454 if (SWIG_arg_fail(1)) SWIG_fail;
21455 {
32fe5131 21456 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21457 if (SWIG_arg_fail(2)) SWIG_fail;
21458 }
d55e5bfc 21459 if (obj2) {
36ed4f51 21460 {
32fe5131 21461 arg3 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj2));
36ed4f51
RD
21462 if (SWIG_arg_fail(3)) SWIG_fail;
21463 }
d55e5bfc
RD
21464 }
21465 {
21466 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21467 result = (arg1)->GetWeekDayInSameWeek(arg2,arg3);
d55e5bfc
RD
21468
21469 wxPyEndAllowThreads(__tstate);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 {
21473 wxDateTime * resultptr;
32fe5131 21474 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21476 }
21477 return resultobj;
21478 fail:
21479 return NULL;
21480}
21481
21482
c370783e 21483static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21484 PyObject *resultobj = NULL;
d55e5bfc 21485 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21486 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21487 wxDateTime *result;
21488 PyObject * obj0 = 0 ;
21489 PyObject * obj1 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self",(char *) "weekday", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21496 if (SWIG_arg_fail(1)) SWIG_fail;
21497 {
32fe5131 21498 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21499 if (SWIG_arg_fail(2)) SWIG_fail;
21500 }
d55e5bfc
RD
21501 {
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 {
32fe5131 21504 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay(arg2);
d55e5bfc
RD
21505 result = (wxDateTime *) &_result_ref;
21506 }
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21512 return resultobj;
21513 fail:
21514 return NULL;
21515}
21516
21517
c370783e 21518static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21519 PyObject *resultobj = NULL;
d55e5bfc 21520 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21521 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21522 wxDateTime result;
21523 PyObject * obj0 = 0 ;
21524 PyObject * obj1 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "weekday", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail;
21532 {
32fe5131 21533 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21534 if (SWIG_arg_fail(2)) SWIG_fail;
21535 }
d55e5bfc
RD
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21538 result = (arg1)->GetNextWeekDay(arg2);
d55e5bfc
RD
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 wxDateTime * resultptr;
32fe5131 21545 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21547 }
21548 return resultobj;
21549 fail:
21550 return NULL;
21551}
21552
21553
c370783e 21554static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21555 PyObject *resultobj = NULL;
d55e5bfc 21556 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21557 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21558 wxDateTime *result;
21559 PyObject * obj0 = 0 ;
21560 PyObject * obj1 = 0 ;
21561 char *kwnames[] = {
21562 (char *) "self",(char *) "weekday", NULL
21563 };
21564
21565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21567 if (SWIG_arg_fail(1)) SWIG_fail;
21568 {
32fe5131 21569 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21570 if (SWIG_arg_fail(2)) SWIG_fail;
21571 }
d55e5bfc
RD
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 {
32fe5131 21575 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay(arg2);
d55e5bfc
RD
21576 result = (wxDateTime *) &_result_ref;
21577 }
21578
21579 wxPyEndAllowThreads(__tstate);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21583 return resultobj;
21584 fail:
21585 return NULL;
21586}
21587
21588
c370783e 21589static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21590 PyObject *resultobj = NULL;
d55e5bfc 21591 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21592 wxDateTime::WeekDay arg2 ;
d55e5bfc
RD
21593 wxDateTime result;
21594 PyObject * obj0 = 0 ;
21595 PyObject * obj1 = 0 ;
21596 char *kwnames[] = {
21597 (char *) "self",(char *) "weekday", NULL
21598 };
21599
21600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail;
21603 {
32fe5131 21604 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21605 if (SWIG_arg_fail(2)) SWIG_fail;
21606 }
d55e5bfc
RD
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21609 result = (arg1)->GetPrevWeekDay(arg2);
d55e5bfc
RD
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 {
21615 wxDateTime * resultptr;
32fe5131 21616 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21618 }
21619 return resultobj;
21620 fail:
21621 return NULL;
21622}
21623
21624
c370783e 21625static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21626 PyObject *resultobj = NULL;
d55e5bfc 21627 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21628 wxDateTime::WeekDay arg2 ;
d55e5bfc 21629 int arg3 = (int) 1 ;
36ed4f51 21630 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21631 int arg5 = (int) wxDateTime::Inv_Year ;
21632 bool result;
21633 PyObject * obj0 = 0 ;
21634 PyObject * obj1 = 0 ;
21635 PyObject * obj2 = 0 ;
21636 PyObject * obj3 = 0 ;
21637 PyObject * obj4 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
21643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21644 if (SWIG_arg_fail(1)) SWIG_fail;
21645 {
32fe5131 21646 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21647 if (SWIG_arg_fail(2)) SWIG_fail;
21648 }
d55e5bfc 21649 if (obj2) {
36ed4f51 21650 {
32fe5131 21651 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
21652 if (SWIG_arg_fail(3)) SWIG_fail;
21653 }
d55e5bfc
RD
21654 }
21655 if (obj3) {
36ed4f51 21656 {
32fe5131 21657 arg4 = static_cast<wxDateTime::Month >(SWIG_As_int(obj3));
36ed4f51
RD
21658 if (SWIG_arg_fail(4)) SWIG_fail;
21659 }
d55e5bfc
RD
21660 }
21661 if (obj4) {
36ed4f51 21662 {
32fe5131 21663 arg5 = static_cast<int >(SWIG_As_int(obj4));
36ed4f51
RD
21664 if (SWIG_arg_fail(5)) SWIG_fail;
21665 }
d55e5bfc
RD
21666 }
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21669 result = (bool)(arg1)->SetToWeekDay(arg2,arg3,arg4,arg5);
d55e5bfc
RD
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 {
21675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21676 }
21677 return resultobj;
21678 fail:
21679 return NULL;
21680}
21681
21682
c370783e 21683static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21684 PyObject *resultobj = NULL;
d55e5bfc 21685 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51
RD
21686 wxDateTime::WeekDay arg2 ;
21687 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21688 int arg4 = (int) wxDateTime::Inv_Year ;
21689 bool result;
21690 PyObject * obj0 = 0 ;
21691 PyObject * obj1 = 0 ;
21692 PyObject * obj2 = 0 ;
21693 PyObject * obj3 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
21699 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21700 if (SWIG_arg_fail(1)) SWIG_fail;
21701 {
32fe5131 21702 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21703 if (SWIG_arg_fail(2)) SWIG_fail;
21704 }
d55e5bfc 21705 if (obj2) {
36ed4f51 21706 {
32fe5131 21707 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
36ed4f51
RD
21708 if (SWIG_arg_fail(3)) SWIG_fail;
21709 }
d55e5bfc
RD
21710 }
21711 if (obj3) {
36ed4f51 21712 {
32fe5131 21713 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
21714 if (SWIG_arg_fail(4)) SWIG_fail;
21715 }
d55e5bfc
RD
21716 }
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21719 result = (bool)(arg1)->SetToLastWeekDay(arg2,arg3,arg4);
d55e5bfc
RD
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 {
21725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21726 }
21727 return resultobj;
21728 fail:
21729 return NULL;
21730}
21731
21732
c370783e 21733static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21734 PyObject *resultobj = NULL;
d55e5bfc 21735 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51
RD
21736 wxDateTime::WeekDay arg2 ;
21737 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21738 int arg4 = (int) wxDateTime::Inv_Year ;
21739 wxDateTime result;
21740 PyObject * obj0 = 0 ;
21741 PyObject * obj1 = 0 ;
21742 PyObject * obj2 = 0 ;
21743 PyObject * obj3 = 0 ;
21744 char *kwnames[] = {
21745 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
21746 };
21747
21748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
21749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21750 if (SWIG_arg_fail(1)) SWIG_fail;
21751 {
32fe5131 21752 arg2 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj1));
36ed4f51
RD
21753 if (SWIG_arg_fail(2)) SWIG_fail;
21754 }
d55e5bfc 21755 if (obj2) {
36ed4f51 21756 {
32fe5131 21757 arg3 = static_cast<wxDateTime::Month >(SWIG_As_int(obj2));
36ed4f51
RD
21758 if (SWIG_arg_fail(3)) SWIG_fail;
21759 }
d55e5bfc
RD
21760 }
21761 if (obj3) {
36ed4f51 21762 {
32fe5131 21763 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
21764 if (SWIG_arg_fail(4)) SWIG_fail;
21765 }
d55e5bfc
RD
21766 }
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21769 result = (arg1)->GetLastWeekDay(arg2,arg3,arg4);
d55e5bfc
RD
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 {
21775 wxDateTime * resultptr;
32fe5131 21776 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21778 }
21779 return resultobj;
21780 fail:
21781 return NULL;
21782}
21783
21784
c370783e 21785static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21786 PyObject *resultobj = NULL;
d55e5bfc
RD
21787 wxDateTime *arg1 = (wxDateTime *) 0 ;
21788 int arg2 ;
36ed4f51
RD
21789 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21790 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21791 bool result;
21792 PyObject * obj0 = 0 ;
21793 PyObject * obj1 = 0 ;
21794 PyObject * obj2 = 0 ;
21795 PyObject * obj3 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
21801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21802 if (SWIG_arg_fail(1)) SWIG_fail;
21803 {
32fe5131 21804 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21805 if (SWIG_arg_fail(2)) SWIG_fail;
21806 }
d55e5bfc 21807 if (obj2) {
36ed4f51 21808 {
32fe5131 21809 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
36ed4f51
RD
21810 if (SWIG_arg_fail(3)) SWIG_fail;
21811 }
d55e5bfc
RD
21812 }
21813 if (obj3) {
36ed4f51 21814 {
32fe5131 21815 arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
36ed4f51
RD
21816 if (SWIG_arg_fail(4)) SWIG_fail;
21817 }
d55e5bfc
RD
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21821 result = (bool)(arg1)->SetToTheWeek(arg2,arg3,arg4);
d55e5bfc
RD
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 {
21827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21828 }
21829 return resultobj;
21830 fail:
21831 return NULL;
21832}
21833
21834
c370783e 21835static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21836 PyObject *resultobj = NULL;
d55e5bfc
RD
21837 wxDateTime *arg1 = (wxDateTime *) 0 ;
21838 int arg2 ;
36ed4f51
RD
21839 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
21840 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
21841 wxDateTime result;
21842 PyObject * obj0 = 0 ;
21843 PyObject * obj1 = 0 ;
21844 PyObject * obj2 = 0 ;
21845 PyObject * obj3 = 0 ;
21846 char *kwnames[] = {
21847 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
21848 };
21849
21850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
21851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21852 if (SWIG_arg_fail(1)) SWIG_fail;
21853 {
32fe5131 21854 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21855 if (SWIG_arg_fail(2)) SWIG_fail;
21856 }
d55e5bfc 21857 if (obj2) {
36ed4f51 21858 {
32fe5131 21859 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
36ed4f51
RD
21860 if (SWIG_arg_fail(3)) SWIG_fail;
21861 }
d55e5bfc
RD
21862 }
21863 if (obj3) {
36ed4f51 21864 {
32fe5131 21865 arg4 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj3));
36ed4f51
RD
21866 if (SWIG_arg_fail(4)) SWIG_fail;
21867 }
d55e5bfc
RD
21868 }
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21871 result = (arg1)->GetWeek(arg2,arg3,arg4);
d55e5bfc
RD
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 {
21877 wxDateTime * resultptr;
32fe5131 21878 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
21879 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21880 }
21881 return resultobj;
21882 fail:
21883 return NULL;
21884}
21885
21886
629e65c2 21887static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21888 PyObject *resultobj = NULL;
629e65c2
RD
21889 int arg1 ;
21890 int arg2 ;
36ed4f51 21891 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
629e65c2
RD
21892 wxDateTime result;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 PyObject * obj2 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51 21901 {
32fe5131 21902 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
21903 if (SWIG_arg_fail(1)) SWIG_fail;
21904 }
21905 {
32fe5131 21906 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
21907 if (SWIG_arg_fail(2)) SWIG_fail;
21908 }
629e65c2 21909 if (obj2) {
36ed4f51 21910 {
32fe5131 21911 arg3 = static_cast<wxDateTime::WeekDay >(SWIG_As_int(obj2));
36ed4f51
RD
21912 if (SWIG_arg_fail(3)) SWIG_fail;
21913 }
629e65c2
RD
21914 }
21915 {
21916 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 21917 result = wxDateTime::SetToWeekOfYear(arg1,arg2,arg3);
629e65c2
RD
21918
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 {
21923 wxDateTime * resultptr;
32fe5131 21924 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
629e65c2
RD
21925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21926 }
21927 return resultobj;
21928 fail:
21929 return NULL;
21930}
21931
21932
c370783e 21933static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21934 PyObject *resultobj = NULL;
d55e5bfc 21935 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21936 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21937 int arg3 = (int) wxDateTime::Inv_Year ;
21938 wxDateTime *result;
21939 PyObject * obj0 = 0 ;
21940 PyObject * obj1 = 0 ;
21941 PyObject * obj2 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self",(char *) "month",(char *) "year", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21948 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21949 if (obj1) {
36ed4f51 21950 {
32fe5131 21951 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
36ed4f51
RD
21952 if (SWIG_arg_fail(2)) SWIG_fail;
21953 }
d55e5bfc
RD
21954 }
21955 if (obj2) {
36ed4f51 21956 {
32fe5131 21957 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
21958 if (SWIG_arg_fail(3)) SWIG_fail;
21959 }
d55e5bfc
RD
21960 }
21961 {
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 {
32fe5131 21964 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay(arg2,arg3);
d55e5bfc
RD
21965 result = (wxDateTime *) &_result_ref;
21966 }
21967
21968 wxPyEndAllowThreads(__tstate);
21969 if (PyErr_Occurred()) SWIG_fail;
21970 }
21971 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21972 return resultobj;
21973 fail:
21974 return NULL;
21975}
21976
21977
c370783e 21978static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 21979 PyObject *resultobj = NULL;
d55e5bfc 21980 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 21981 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
d55e5bfc
RD
21982 int arg3 = (int) wxDateTime::Inv_Year ;
21983 wxDateTime result;
21984 PyObject * obj0 = 0 ;
21985 PyObject * obj1 = 0 ;
21986 PyObject * obj2 = 0 ;
21987 char *kwnames[] = {
21988 (char *) "self",(char *) "month",(char *) "year", NULL
21989 };
21990
21991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 21994 if (obj1) {
36ed4f51 21995 {
32fe5131 21996 arg2 = static_cast<wxDateTime::Month >(SWIG_As_int(obj1));
36ed4f51
RD
21997 if (SWIG_arg_fail(2)) SWIG_fail;
21998 }
d55e5bfc
RD
21999 }
22000 if (obj2) {
36ed4f51 22001 {
32fe5131 22002 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
22003 if (SWIG_arg_fail(3)) SWIG_fail;
22004 }
d55e5bfc
RD
22005 }
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22008 result = (arg1)->GetLastMonthDay(arg2,arg3);
d55e5bfc
RD
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 {
22014 wxDateTime * resultptr;
32fe5131 22015 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22017 }
22018 return resultobj;
22019 fail:
22020 return NULL;
22021}
22022
22023
c370783e 22024static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22025 PyObject *resultobj = NULL;
d55e5bfc
RD
22026 wxDateTime *arg1 = (wxDateTime *) 0 ;
22027 int arg2 ;
22028 wxDateTime *result;
22029 PyObject * obj0 = 0 ;
22030 PyObject * obj1 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self",(char *) "yday", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22037 if (SWIG_arg_fail(1)) SWIG_fail;
22038 {
32fe5131 22039 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
22040 if (SWIG_arg_fail(2)) SWIG_fail;
22041 }
d55e5bfc
RD
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 {
22045 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
22046 result = (wxDateTime *) &_result_ref;
22047 }
22048
22049 wxPyEndAllowThreads(__tstate);
22050 if (PyErr_Occurred()) SWIG_fail;
22051 }
22052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22053 return resultobj;
22054 fail:
22055 return NULL;
22056}
22057
22058
c370783e 22059static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22060 PyObject *resultobj = NULL;
d55e5bfc
RD
22061 wxDateTime *arg1 = (wxDateTime *) 0 ;
22062 int arg2 ;
22063 wxDateTime result;
22064 PyObject * obj0 = 0 ;
22065 PyObject * obj1 = 0 ;
22066 char *kwnames[] = {
22067 (char *) "self",(char *) "yday", NULL
22068 };
22069
22070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22072 if (SWIG_arg_fail(1)) SWIG_fail;
22073 {
32fe5131 22074 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
22075 if (SWIG_arg_fail(2)) SWIG_fail;
22076 }
d55e5bfc
RD
22077 {
22078 PyThreadState* __tstate = wxPyBeginAllowThreads();
22079 result = (arg1)->GetYearDay(arg2);
22080
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 {
22085 wxDateTime * resultptr;
32fe5131 22086 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22087 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22088 }
22089 return resultobj;
22090 fail:
22091 return NULL;
22092}
22093
22094
c370783e 22095static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22096 PyObject *resultobj = NULL;
d55e5bfc
RD
22097 wxDateTime *arg1 = (wxDateTime *) 0 ;
22098 double result;
22099 PyObject * obj0 = 0 ;
22100 char *kwnames[] = {
22101 (char *) "self", NULL
22102 };
22103
22104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
36ed4f51
RD
22105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22106 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = (double)(arg1)->GetJulianDayNumber();
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
36ed4f51 22114 {
32fe5131 22115 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 22116 }
d55e5bfc
RD
22117 return resultobj;
22118 fail:
22119 return NULL;
22120}
22121
22122
c370783e 22123static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22124 PyObject *resultobj = NULL;
d55e5bfc
RD
22125 wxDateTime *arg1 = (wxDateTime *) 0 ;
22126 double result;
22127 PyObject * obj0 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
36ed4f51
RD
22133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22135 {
22136 PyThreadState* __tstate = wxPyBeginAllowThreads();
22137 result = (double)(arg1)->GetJDN();
22138
22139 wxPyEndAllowThreads(__tstate);
22140 if (PyErr_Occurred()) SWIG_fail;
22141 }
36ed4f51 22142 {
32fe5131 22143 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 22144 }
d55e5bfc
RD
22145 return resultobj;
22146 fail:
22147 return NULL;
22148}
22149
22150
c370783e 22151static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22152 PyObject *resultobj = NULL;
d55e5bfc
RD
22153 wxDateTime *arg1 = (wxDateTime *) 0 ;
22154 double result;
22155 PyObject * obj0 = 0 ;
22156 char *kwnames[] = {
22157 (char *) "self", NULL
22158 };
22159
22160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
36ed4f51
RD
22161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
36ed4f51 22170 {
32fe5131 22171 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 22172 }
d55e5bfc
RD
22173 return resultobj;
22174 fail:
22175 return NULL;
22176}
22177
22178
c370783e 22179static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22180 PyObject *resultobj = NULL;
d55e5bfc
RD
22181 wxDateTime *arg1 = (wxDateTime *) 0 ;
22182 double result;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
36ed4f51
RD
22189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22190 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = (double)(arg1)->GetMJD();
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
36ed4f51 22198 {
32fe5131 22199 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 22200 }
d55e5bfc
RD
22201 return resultobj;
22202 fail:
22203 return NULL;
22204}
22205
22206
c370783e 22207static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22208 PyObject *resultobj = NULL;
d55e5bfc
RD
22209 wxDateTime *arg1 = (wxDateTime *) 0 ;
22210 double result;
22211 PyObject * obj0 = 0 ;
22212 char *kwnames[] = {
22213 (char *) "self", NULL
22214 };
22215
22216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
36ed4f51
RD
22217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22218 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = (double)(arg1)->GetRataDie();
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
36ed4f51 22226 {
32fe5131 22227 resultobj = SWIG_From_double(static_cast<double >(result));
36ed4f51 22228 }
d55e5bfc
RD
22229 return resultobj;
22230 fail:
22231 return NULL;
22232}
22233
22234
c370783e 22235static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22236 PyObject *resultobj = NULL;
d55e5bfc
RD
22237 wxDateTime *arg1 = (wxDateTime *) 0 ;
22238 wxDateTime::TimeZone *arg2 = 0 ;
b411df4a 22239 bool arg3 = (bool) false ;
d55e5bfc 22240 wxDateTime result;
b411df4a 22241 bool temp2 = false ;
d55e5bfc
RD
22242 PyObject * obj0 = 0 ;
22243 PyObject * obj1 = 0 ;
22244 PyObject * obj2 = 0 ;
22245 char *kwnames[] = {
22246 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22247 };
22248
22249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22252 {
22253 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22254 temp2 = true;
d55e5bfc
RD
22255 }
22256 if (obj2) {
36ed4f51 22257 {
32fe5131 22258 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
22259 if (SWIG_arg_fail(3)) SWIG_fail;
22260 }
d55e5bfc
RD
22261 }
22262 {
22263 PyThreadState* __tstate = wxPyBeginAllowThreads();
22264 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22265
22266 wxPyEndAllowThreads(__tstate);
22267 if (PyErr_Occurred()) SWIG_fail;
22268 }
22269 {
22270 wxDateTime * resultptr;
32fe5131 22271 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22272 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22273 }
22274 {
22275 if (temp2) delete arg2;
22276 }
22277 return resultobj;
22278 fail:
22279 {
22280 if (temp2) delete arg2;
22281 }
22282 return NULL;
22283}
22284
22285
c370783e 22286static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22287 PyObject *resultobj = NULL;
d55e5bfc
RD
22288 wxDateTime *arg1 = (wxDateTime *) 0 ;
22289 wxDateTime::TimeZone *arg2 = 0 ;
b411df4a 22290 bool arg3 = (bool) false ;
d55e5bfc 22291 wxDateTime *result;
b411df4a 22292 bool temp2 = false ;
d55e5bfc
RD
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 PyObject * obj2 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
22301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22303 {
22304 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22305 temp2 = true;
d55e5bfc
RD
22306 }
22307 if (obj2) {
36ed4f51 22308 {
32fe5131 22309 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
22310 if (SWIG_arg_fail(3)) SWIG_fail;
22311 }
d55e5bfc
RD
22312 }
22313 {
22314 PyThreadState* __tstate = wxPyBeginAllowThreads();
22315 {
22316 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22317 result = (wxDateTime *) &_result_ref;
22318 }
22319
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22324 {
22325 if (temp2) delete arg2;
22326 }
22327 return resultobj;
22328 fail:
22329 {
22330 if (temp2) delete arg2;
22331 }
22332 return NULL;
22333}
22334
22335
943e8dfd 22336static PyObject *_wrap_DateTime_FromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22337 PyObject *resultobj = NULL;
943e8dfd
RD
22338 wxDateTime *arg1 = (wxDateTime *) 0 ;
22339 wxDateTime::TimeZone *arg2 = 0 ;
22340 bool arg3 = (bool) false ;
22341 wxDateTime result;
22342 bool temp2 = false ;
22343 PyObject * obj0 = 0 ;
22344 PyObject * obj1 = 0 ;
22345 PyObject * obj2 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_FromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
22351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail;
22353 {
22354 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
22355 temp2 = true;
22356 }
22357 if (obj2) {
22358 {
32fe5131 22359 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
943e8dfd
RD
22360 if (SWIG_arg_fail(3)) SWIG_fail;
22361 }
22362 }
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 result = ((wxDateTime const *)arg1)->FromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 {
22371 wxDateTime * resultptr;
32fe5131 22372 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
943e8dfd
RD
22373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22374 }
22375 {
22376 if (temp2) delete arg2;
22377 }
22378 return resultobj;
22379 fail:
22380 {
22381 if (temp2) delete arg2;
22382 }
22383 return NULL;
22384}
22385
22386
22387static PyObject *_wrap_DateTime_MakeFromTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22388 PyObject *resultobj = NULL;
943e8dfd
RD
22389 wxDateTime *arg1 = (wxDateTime *) 0 ;
22390 wxDateTime::TimeZone *arg2 = 0 ;
22391 bool arg3 = (bool) false ;
22392 wxDateTime *result;
22393 bool temp2 = false ;
22394 PyObject * obj0 = 0 ;
22395 PyObject * obj1 = 0 ;
22396 PyObject * obj2 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self",(char *) "tz",(char *) "noDST", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeFromTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
22402 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail;
22404 {
22405 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
22406 temp2 = true;
22407 }
22408 if (obj2) {
22409 {
32fe5131 22410 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
943e8dfd
RD
22411 if (SWIG_arg_fail(3)) SWIG_fail;
22412 }
22413 }
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 {
22417 wxDateTime &_result_ref = (arg1)->MakeFromTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
22418 result = (wxDateTime *) &_result_ref;
22419 }
22420
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22425 {
22426 if (temp2) delete arg2;
22427 }
22428 return resultobj;
22429 fail:
22430 {
22431 if (temp2) delete arg2;
22432 }
22433 return NULL;
22434}
22435
22436
22437static PyObject *_wrap_DateTime_ToUTC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22438 PyObject *resultobj = NULL;
943e8dfd
RD
22439 wxDateTime *arg1 = (wxDateTime *) 0 ;
22440 bool arg2 = (bool) false ;
22441 wxDateTime result;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "noDST", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToUTC",kwnames,&obj0,&obj1)) goto fail;
22449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22450 if (SWIG_arg_fail(1)) SWIG_fail;
22451 if (obj1) {
22452 {
32fe5131 22453 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
943e8dfd
RD
22454 if (SWIG_arg_fail(2)) SWIG_fail;
22455 }
22456 }
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 result = ((wxDateTime const *)arg1)->ToUTC(arg2);
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
22464 {
22465 wxDateTime * resultptr;
32fe5131 22466 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
943e8dfd
RD
22467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22468 }
22469 return resultobj;
22470 fail:
22471 return NULL;
22472}
22473
22474
22475static PyObject *_wrap_DateTime_MakeUTC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22476 PyObject *resultobj = NULL;
943e8dfd
RD
22477 wxDateTime *arg1 = (wxDateTime *) 0 ;
22478 bool arg2 = (bool) false ;
22479 wxDateTime *result;
22480 PyObject * obj0 = 0 ;
22481 PyObject * obj1 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self",(char *) "noDST", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeUTC",kwnames,&obj0,&obj1)) goto fail;
22487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22488 if (SWIG_arg_fail(1)) SWIG_fail;
22489 if (obj1) {
22490 {
32fe5131 22491 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
943e8dfd
RD
22492 if (SWIG_arg_fail(2)) SWIG_fail;
22493 }
22494 }
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 {
22498 wxDateTime &_result_ref = (arg1)->MakeUTC(arg2);
22499 result = (wxDateTime *) &_result_ref;
22500 }
22501
22502 wxPyEndAllowThreads(__tstate);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 }
22505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22506 return resultobj;
22507 fail:
22508 return NULL;
22509}
22510
22511
c370783e 22512static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22513 PyObject *resultobj = NULL;
d55e5bfc 22514 wxDateTime *arg1 = (wxDateTime *) 0 ;
b411df4a 22515 bool arg2 = (bool) false ;
d55e5bfc
RD
22516 wxDateTime result;
22517 PyObject * obj0 = 0 ;
22518 PyObject * obj1 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "noDST", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22526 if (obj1) {
36ed4f51 22527 {
32fe5131 22528 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22529 if (SWIG_arg_fail(2)) SWIG_fail;
22530 }
d55e5bfc
RD
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
943e8dfd 22534 result = ((wxDateTime const *)arg1)->ToGMT(arg2);
d55e5bfc
RD
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 {
22540 wxDateTime * resultptr;
32fe5131 22541 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
22542 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22543 }
22544 return resultobj;
22545 fail:
22546 return NULL;
22547}
22548
22549
c370783e 22550static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22551 PyObject *resultobj = NULL;
d55e5bfc 22552 wxDateTime *arg1 = (wxDateTime *) 0 ;
b411df4a 22553 bool arg2 = (bool) false ;
d55e5bfc
RD
22554 wxDateTime *result;
22555 PyObject * obj0 = 0 ;
22556 PyObject * obj1 = 0 ;
22557 char *kwnames[] = {
22558 (char *) "self",(char *) "noDST", NULL
22559 };
22560
22561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22563 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22564 if (obj1) {
36ed4f51 22565 {
32fe5131 22566 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
22567 if (SWIG_arg_fail(2)) SWIG_fail;
22568 }
d55e5bfc
RD
22569 }
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 {
22573 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
22574 result = (wxDateTime *) &_result_ref;
22575 }
22576
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22581 return resultobj;
22582 fail:
22583 return NULL;
22584}
22585
22586
943e8dfd 22587static PyObject *_wrap_DateTime_FromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22588 PyObject *resultobj = NULL;
943e8dfd
RD
22589 wxDateTime *arg1 = (wxDateTime *) 0 ;
22590 bool arg2 = (bool) false ;
22591 wxDateTime result;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "noDST", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_FromUTC",kwnames,&obj0,&obj1)) goto fail;
22599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail;
22601 if (obj1) {
22602 {
32fe5131 22603 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
943e8dfd
RD
22604 if (SWIG_arg_fail(2)) SWIG_fail;
22605 }
22606 }
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 result = ((wxDateTime const *)arg1)->FromUTC(arg2);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 {
22615 wxDateTime * resultptr;
32fe5131 22616 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
943e8dfd
RD
22617 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22618 }
22619 return resultobj;
22620 fail:
22621 return NULL;
22622}
22623
22624
22625static PyObject *_wrap_DateTime_MakeFromUTC(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22626 PyObject *resultobj = NULL;
943e8dfd
RD
22627 wxDateTime *arg1 = (wxDateTime *) 0 ;
22628 bool arg2 = (bool) false ;
22629 wxDateTime *result;
22630 PyObject * obj0 = 0 ;
22631 PyObject * obj1 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self",(char *) "noDST", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeFromUTC",kwnames,&obj0,&obj1)) goto fail;
22637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22638 if (SWIG_arg_fail(1)) SWIG_fail;
22639 if (obj1) {
22640 {
32fe5131 22641 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
943e8dfd
RD
22642 if (SWIG_arg_fail(2)) SWIG_fail;
22643 }
22644 }
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 {
22648 wxDateTime &_result_ref = (arg1)->MakeFromUTC(arg2);
22649 result = (wxDateTime *) &_result_ref;
22650 }
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
c370783e 22662static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22663 PyObject *resultobj = NULL;
d55e5bfc 22664 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 22665 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
22666 int result;
22667 PyObject * obj0 = 0 ;
22668 PyObject * obj1 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "country", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22675 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 22676 if (obj1) {
36ed4f51 22677 {
32fe5131 22678 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
36ed4f51
RD
22679 if (SWIG_arg_fail(2)) SWIG_fail;
22680 }
d55e5bfc
RD
22681 }
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 22684 result = (int)(arg1)->IsDST(arg2);
d55e5bfc
RD
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
36ed4f51 22689 {
32fe5131 22690 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22691 }
d55e5bfc
RD
22692 return resultobj;
22693 fail:
22694 return NULL;
22695}
22696
22697
c370783e 22698static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22699 PyObject *resultobj = NULL;
d55e5bfc
RD
22700 wxDateTime *arg1 = (wxDateTime *) 0 ;
22701 bool result;
22702 PyObject * obj0 = 0 ;
22703 char *kwnames[] = {
22704 (char *) "self", NULL
22705 };
22706
22707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
36ed4f51
RD
22708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22709 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = (bool)((wxDateTime const *)arg1)->IsValid();
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 {
22718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22719 }
22720 return resultobj;
22721 fail:
22722 return NULL;
22723}
22724
22725
c370783e 22726static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22727 PyObject *resultobj = NULL;
d55e5bfc
RD
22728 wxDateTime *arg1 = (wxDateTime *) 0 ;
22729 time_t result;
22730 PyObject * obj0 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
36ed4f51
RD
22736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
36ed4f51 22745 {
32fe5131 22746 resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result));
36ed4f51 22747 }
d55e5bfc
RD
22748 return resultobj;
22749 fail:
22750 return NULL;
22751}
22752
22753
c370783e 22754static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22755 PyObject *resultobj = NULL;
d55e5bfc
RD
22756 wxDateTime *arg1 = (wxDateTime *) 0 ;
22757 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22758 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22759 int result;
b411df4a 22760 bool temp2 = false ;
d55e5bfc
RD
22761 PyObject * obj0 = 0 ;
22762 PyObject * obj1 = 0 ;
22763 char *kwnames[] = {
22764 (char *) "self",(char *) "tz", NULL
22765 };
22766
22767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22770 if (obj1) {
22771 {
22772 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22773 temp2 = true;
d55e5bfc
RD
22774 }
22775 }
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
22779
22780 wxPyEndAllowThreads(__tstate);
22781 if (PyErr_Occurred()) SWIG_fail;
22782 }
36ed4f51 22783 {
32fe5131 22784 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22785 }
d55e5bfc
RD
22786 {
22787 if (temp2) delete arg2;
22788 }
22789 return resultobj;
22790 fail:
22791 {
22792 if (temp2) delete arg2;
22793 }
22794 return NULL;
22795}
22796
22797
c370783e 22798static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22799 PyObject *resultobj = NULL;
d55e5bfc
RD
22800 wxDateTime *arg1 = (wxDateTime *) 0 ;
22801 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22802 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
36ed4f51 22803 wxDateTime::Month result;
b411df4a 22804 bool temp2 = false ;
d55e5bfc
RD
22805 PyObject * obj0 = 0 ;
22806 PyObject * obj1 = 0 ;
22807 char *kwnames[] = {
22808 (char *) "self",(char *) "tz", NULL
22809 };
22810
22811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22813 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22814 if (obj1) {
22815 {
22816 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22817 temp2 = true;
d55e5bfc
RD
22818 }
22819 }
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22822 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
22823
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
36ed4f51 22827 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22828 {
22829 if (temp2) delete arg2;
22830 }
22831 return resultobj;
22832 fail:
22833 {
22834 if (temp2) delete arg2;
22835 }
22836 return NULL;
22837}
22838
22839
c370783e 22840static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22841 PyObject *resultobj = NULL;
d55e5bfc
RD
22842 wxDateTime *arg1 = (wxDateTime *) 0 ;
22843 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22844 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22845 int result;
b411df4a 22846 bool temp2 = false ;
d55e5bfc
RD
22847 PyObject * obj0 = 0 ;
22848 PyObject * obj1 = 0 ;
22849 char *kwnames[] = {
22850 (char *) "self",(char *) "tz", NULL
22851 };
22852
22853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22855 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22856 if (obj1) {
22857 {
22858 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22859 temp2 = true;
d55e5bfc
RD
22860 }
22861 }
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
36ed4f51 22869 {
32fe5131 22870 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22871 }
d55e5bfc
RD
22872 {
22873 if (temp2) delete arg2;
22874 }
22875 return resultobj;
22876 fail:
22877 {
22878 if (temp2) delete arg2;
22879 }
22880 return NULL;
22881}
22882
22883
c370783e 22884static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22885 PyObject *resultobj = NULL;
d55e5bfc
RD
22886 wxDateTime *arg1 = (wxDateTime *) 0 ;
22887 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22888 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
36ed4f51 22889 wxDateTime::WeekDay result;
b411df4a 22890 bool temp2 = false ;
d55e5bfc
RD
22891 PyObject * obj0 = 0 ;
22892 PyObject * obj1 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self",(char *) "tz", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22900 if (obj1) {
22901 {
22902 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22903 temp2 = true;
d55e5bfc
RD
22904 }
22905 }
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22908 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
d55e5bfc
RD
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
36ed4f51 22913 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22914 {
22915 if (temp2) delete arg2;
22916 }
22917 return resultobj;
22918 fail:
22919 {
22920 if (temp2) delete arg2;
22921 }
22922 return NULL;
22923}
22924
22925
c370783e 22926static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22927 PyObject *resultobj = NULL;
d55e5bfc
RD
22928 wxDateTime *arg1 = (wxDateTime *) 0 ;
22929 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22930 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22931 int result;
b411df4a 22932 bool temp2 = false ;
d55e5bfc
RD
22933 PyObject * obj0 = 0 ;
22934 PyObject * obj1 = 0 ;
22935 char *kwnames[] = {
22936 (char *) "self",(char *) "tz", NULL
22937 };
22938
22939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22941 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22942 if (obj1) {
22943 {
22944 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22945 temp2 = true;
d55e5bfc
RD
22946 }
22947 }
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
36ed4f51 22955 {
32fe5131 22956 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 22957 }
d55e5bfc
RD
22958 {
22959 if (temp2) delete arg2;
22960 }
22961 return resultobj;
22962 fail:
22963 {
22964 if (temp2) delete arg2;
22965 }
22966 return NULL;
22967}
22968
22969
c370783e 22970static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 22971 PyObject *resultobj = NULL;
d55e5bfc
RD
22972 wxDateTime *arg1 = (wxDateTime *) 0 ;
22973 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
22974 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
22975 int result;
b411df4a 22976 bool temp2 = false ;
d55e5bfc
RD
22977 PyObject * obj0 = 0 ;
22978 PyObject * obj1 = 0 ;
22979 char *kwnames[] = {
22980 (char *) "self",(char *) "tz", NULL
22981 };
22982
22983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22986 if (obj1) {
22987 {
22988 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 22989 temp2 = true;
d55e5bfc
RD
22990 }
22991 }
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
22995
22996 wxPyEndAllowThreads(__tstate);
22997 if (PyErr_Occurred()) SWIG_fail;
22998 }
36ed4f51 22999 {
32fe5131 23000 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23001 }
d55e5bfc
RD
23002 {
23003 if (temp2) delete arg2;
23004 }
23005 return resultobj;
23006 fail:
23007 {
23008 if (temp2) delete arg2;
23009 }
23010 return NULL;
23011}
23012
23013
c370783e 23014static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23015 PyObject *resultobj = NULL;
d55e5bfc
RD
23016 wxDateTime *arg1 = (wxDateTime *) 0 ;
23017 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23018 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23019 int result;
b411df4a 23020 bool temp2 = false ;
d55e5bfc
RD
23021 PyObject * obj0 = 0 ;
23022 PyObject * obj1 = 0 ;
23023 char *kwnames[] = {
23024 (char *) "self",(char *) "tz", NULL
23025 };
23026
23027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23029 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23030 if (obj1) {
23031 {
23032 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 23033 temp2 = true;
d55e5bfc
RD
23034 }
23035 }
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
36ed4f51 23043 {
32fe5131 23044 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23045 }
d55e5bfc
RD
23046 {
23047 if (temp2) delete arg2;
23048 }
23049 return resultobj;
23050 fail:
23051 {
23052 if (temp2) delete arg2;
23053 }
23054 return NULL;
23055}
23056
23057
c370783e 23058static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23059 PyObject *resultobj = NULL;
d55e5bfc
RD
23060 wxDateTime *arg1 = (wxDateTime *) 0 ;
23061 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23062 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23063 int result;
b411df4a 23064 bool temp2 = false ;
d55e5bfc
RD
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 char *kwnames[] = {
23068 (char *) "self",(char *) "tz", NULL
23069 };
23070
23071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23074 if (obj1) {
23075 {
23076 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 23077 temp2 = true;
d55e5bfc
RD
23078 }
23079 }
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
36ed4f51 23087 {
32fe5131 23088 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23089 }
d55e5bfc
RD
23090 {
23091 if (temp2) delete arg2;
23092 }
23093 return resultobj;
23094 fail:
23095 {
23096 if (temp2) delete arg2;
23097 }
23098 return NULL;
23099}
23100
23101
c370783e 23102static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23103 PyObject *resultobj = NULL;
d55e5bfc
RD
23104 wxDateTime *arg1 = (wxDateTime *) 0 ;
23105 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
23106 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
23107 int result;
b411df4a 23108 bool temp2 = false ;
d55e5bfc
RD
23109 PyObject * obj0 = 0 ;
23110 PyObject * obj1 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self",(char *) "tz", NULL
23113 };
23114
23115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23118 if (obj1) {
23119 {
23120 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
b411df4a 23121 temp2 = true;
d55e5bfc
RD
23122 }
23123 }
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
36ed4f51 23131 {
32fe5131 23132 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23133 }
d55e5bfc
RD
23134 {
23135 if (temp2) delete arg2;
23136 }
23137 return resultobj;
23138 fail:
23139 {
23140 if (temp2) delete arg2;
23141 }
23142 return NULL;
23143}
23144
23145
c370783e 23146static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23147 PyObject *resultobj = NULL;
d55e5bfc 23148 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 23149 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
23150 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23151 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23152 int result;
b411df4a 23153 bool temp3 = false ;
d55e5bfc
RD
23154 PyObject * obj0 = 0 ;
23155 PyObject * obj1 = 0 ;
23156 PyObject * obj2 = 0 ;
23157 char *kwnames[] = {
23158 (char *) "self",(char *) "flags",(char *) "tz", NULL
23159 };
23160
23161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23163 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23164 if (obj1) {
36ed4f51 23165 {
32fe5131 23166 arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
36ed4f51
RD
23167 if (SWIG_arg_fail(2)) SWIG_fail;
23168 }
d55e5bfc
RD
23169 }
23170 if (obj2) {
23171 {
23172 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
b411df4a 23173 temp3 = true;
d55e5bfc
RD
23174 }
23175 }
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 23178 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear(arg2,(wxDateTime::TimeZone const &)*arg3);
d55e5bfc
RD
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
36ed4f51 23183 {
32fe5131 23184 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23185 }
d55e5bfc
RD
23186 {
23187 if (temp3) delete arg3;
23188 }
23189 return resultobj;
23190 fail:
23191 {
23192 if (temp3) delete arg3;
23193 }
23194 return NULL;
23195}
23196
23197
c370783e 23198static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23199 PyObject *resultobj = NULL;
d55e5bfc 23200 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 23201 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
d55e5bfc
RD
23202 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23203 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23204 int result;
b411df4a 23205 bool temp3 = false ;
d55e5bfc
RD
23206 PyObject * obj0 = 0 ;
23207 PyObject * obj1 = 0 ;
23208 PyObject * obj2 = 0 ;
23209 char *kwnames[] = {
23210 (char *) "self",(char *) "flags",(char *) "tz", NULL
23211 };
23212
23213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23216 if (obj1) {
36ed4f51 23217 {
32fe5131 23218 arg2 = static_cast<wxDateTime::WeekFlags >(SWIG_As_int(obj1));
36ed4f51
RD
23219 if (SWIG_arg_fail(2)) SWIG_fail;
23220 }
d55e5bfc
RD
23221 }
23222 if (obj2) {
23223 {
23224 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
b411df4a 23225 temp3 = true;
d55e5bfc
RD
23226 }
23227 }
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 23230 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth(arg2,(wxDateTime::TimeZone const &)*arg3);
d55e5bfc
RD
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
36ed4f51 23235 {
32fe5131 23236 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 23237 }
d55e5bfc
RD
23238 {
23239 if (temp3) delete arg3;
23240 }
23241 return resultobj;
23242 fail:
23243 {
23244 if (temp3) delete arg3;
23245 }
23246 return NULL;
23247}
23248
23249
c370783e 23250static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23251 PyObject *resultobj = NULL;
d55e5bfc 23252 wxDateTime *arg1 = (wxDateTime *) 0 ;
36ed4f51 23253 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
d55e5bfc
RD
23254 bool result;
23255 PyObject * obj0 = 0 ;
23256 PyObject * obj1 = 0 ;
23257 char *kwnames[] = {
23258 (char *) "self",(char *) "country", NULL
23259 };
23260
23261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23264 if (obj1) {
36ed4f51 23265 {
32fe5131 23266 arg2 = static_cast<wxDateTime::Country >(SWIG_As_int(obj1));
36ed4f51
RD
23267 if (SWIG_arg_fail(2)) SWIG_fail;
23268 }
d55e5bfc
RD
23269 }
23270 {
23271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 23272 result = (bool)((wxDateTime const *)arg1)->IsWorkDay(arg2);
d55e5bfc
RD
23273
23274 wxPyEndAllowThreads(__tstate);
23275 if (PyErr_Occurred()) SWIG_fail;
23276 }
23277 {
23278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23279 }
23280 return resultobj;
23281 fail:
23282 return NULL;
23283}
23284
23285
c370783e 23286static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23287 PyObject *resultobj = NULL;
d55e5bfc
RD
23288 wxDateTime *arg1 = (wxDateTime *) 0 ;
23289 wxDateTime *arg2 = 0 ;
23290 bool result;
23291 PyObject * obj0 = 0 ;
23292 PyObject * obj1 = 0 ;
23293 char *kwnames[] = {
23294 (char *) "self",(char *) "datetime", NULL
23295 };
23296
23297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23298 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail;
23300 {
23301 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(2)) SWIG_fail;
23303 if (arg2 == NULL) {
23304 SWIG_null_ref("wxDateTime");
23305 }
23306 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23307 }
23308 {
23309 PyThreadState* __tstate = wxPyBeginAllowThreads();
23310 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
23311
23312 wxPyEndAllowThreads(__tstate);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 {
23316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23317 }
23318 return resultobj;
23319 fail:
23320 return NULL;
23321}
23322
23323
c370783e 23324static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23325 PyObject *resultobj = NULL;
d55e5bfc
RD
23326 wxDateTime *arg1 = (wxDateTime *) 0 ;
23327 wxDateTime *arg2 = 0 ;
23328 bool result;
23329 PyObject * obj0 = 0 ;
23330 PyObject * obj1 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self",(char *) "datetime", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail;
23338 {
23339 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23340 if (SWIG_arg_fail(2)) SWIG_fail;
23341 if (arg2 == NULL) {
23342 SWIG_null_ref("wxDateTime");
23343 }
23344 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23345 }
23346 {
23347 PyThreadState* __tstate = wxPyBeginAllowThreads();
23348 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
23349
23350 wxPyEndAllowThreads(__tstate);
23351 if (PyErr_Occurred()) SWIG_fail;
23352 }
23353 {
23354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23355 }
23356 return resultobj;
23357 fail:
23358 return NULL;
23359}
23360
23361
c370783e 23362static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23363 PyObject *resultobj = NULL;
d55e5bfc
RD
23364 wxDateTime *arg1 = (wxDateTime *) 0 ;
23365 wxDateTime *arg2 = 0 ;
23366 bool result;
23367 PyObject * obj0 = 0 ;
23368 PyObject * obj1 = 0 ;
23369 char *kwnames[] = {
23370 (char *) "self",(char *) "datetime", NULL
23371 };
23372
23373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23375 if (SWIG_arg_fail(1)) SWIG_fail;
23376 {
23377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23378 if (SWIG_arg_fail(2)) SWIG_fail;
23379 if (arg2 == NULL) {
23380 SWIG_null_ref("wxDateTime");
23381 }
23382 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23383 }
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
23387
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 {
23392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23393 }
23394 return resultobj;
23395 fail:
23396 return NULL;
23397}
23398
23399
c370783e 23400static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23401 PyObject *resultobj = NULL;
d55e5bfc
RD
23402 wxDateTime *arg1 = (wxDateTime *) 0 ;
23403 wxDateTime *arg2 = 0 ;
23404 wxDateTime *arg3 = 0 ;
23405 bool result;
23406 PyObject * obj0 = 0 ;
23407 PyObject * obj1 = 0 ;
23408 PyObject * obj2 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "t1",(char *) "t2", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23415 if (SWIG_arg_fail(1)) SWIG_fail;
23416 {
23417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23418 if (SWIG_arg_fail(2)) SWIG_fail;
23419 if (arg2 == NULL) {
23420 SWIG_null_ref("wxDateTime");
23421 }
23422 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23423 }
36ed4f51
RD
23424 {
23425 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23426 if (SWIG_arg_fail(3)) SWIG_fail;
23427 if (arg3 == NULL) {
23428 SWIG_null_ref("wxDateTime");
23429 }
23430 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23431 }
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 {
23440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23441 }
23442 return resultobj;
23443 fail:
23444 return NULL;
23445}
23446
23447
c370783e 23448static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23449 PyObject *resultobj = NULL;
d55e5bfc
RD
23450 wxDateTime *arg1 = (wxDateTime *) 0 ;
23451 wxDateTime *arg2 = 0 ;
23452 wxDateTime *arg3 = 0 ;
23453 bool result;
23454 PyObject * obj0 = 0 ;
23455 PyObject * obj1 = 0 ;
23456 PyObject * obj2 = 0 ;
23457 char *kwnames[] = {
23458 (char *) "self",(char *) "t1",(char *) "t2", NULL
23459 };
23460
23461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23463 if (SWIG_arg_fail(1)) SWIG_fail;
23464 {
23465 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23466 if (SWIG_arg_fail(2)) SWIG_fail;
23467 if (arg2 == NULL) {
23468 SWIG_null_ref("wxDateTime");
23469 }
23470 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23471 }
36ed4f51
RD
23472 {
23473 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23474 if (SWIG_arg_fail(3)) SWIG_fail;
23475 if (arg3 == NULL) {
23476 SWIG_null_ref("wxDateTime");
23477 }
23478 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23479 }
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 {
23488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23489 }
23490 return resultobj;
23491 fail:
23492 return NULL;
23493}
23494
23495
c370783e 23496static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23497 PyObject *resultobj = NULL;
d55e5bfc
RD
23498 wxDateTime *arg1 = (wxDateTime *) 0 ;
23499 wxDateTime *arg2 = 0 ;
23500 bool result;
23501 PyObject * obj0 = 0 ;
23502 PyObject * obj1 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "self",(char *) "dt", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23509 if (SWIG_arg_fail(1)) SWIG_fail;
23510 {
23511 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23512 if (SWIG_arg_fail(2)) SWIG_fail;
23513 if (arg2 == NULL) {
23514 SWIG_null_ref("wxDateTime");
23515 }
23516 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23517 }
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 {
23526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23527 }
23528 return resultobj;
23529 fail:
23530 return NULL;
23531}
23532
23533
c370783e 23534static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23535 PyObject *resultobj = NULL;
d55e5bfc
RD
23536 wxDateTime *arg1 = (wxDateTime *) 0 ;
23537 wxDateTime *arg2 = 0 ;
23538 bool result;
23539 PyObject * obj0 = 0 ;
23540 PyObject * obj1 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self",(char *) "dt", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23547 if (SWIG_arg_fail(1)) SWIG_fail;
23548 {
23549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23550 if (SWIG_arg_fail(2)) SWIG_fail;
23551 if (arg2 == NULL) {
23552 SWIG_null_ref("wxDateTime");
23553 }
23554 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23555 }
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 {
23564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23565 }
23566 return resultobj;
23567 fail:
23568 return NULL;
23569}
23570
23571
c370783e 23572static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23573 PyObject *resultobj = NULL;
d55e5bfc
RD
23574 wxDateTime *arg1 = (wxDateTime *) 0 ;
23575 wxDateTime *arg2 = 0 ;
23576 wxTimeSpan *arg3 = 0 ;
23577 bool result;
23578 PyObject * obj0 = 0 ;
23579 PyObject * obj1 = 0 ;
23580 PyObject * obj2 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "dt",(char *) "ts", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23587 if (SWIG_arg_fail(1)) SWIG_fail;
23588 {
23589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23590 if (SWIG_arg_fail(2)) SWIG_fail;
23591 if (arg2 == NULL) {
23592 SWIG_null_ref("wxDateTime");
23593 }
23594 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23595 }
36ed4f51
RD
23596 {
23597 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23598 if (SWIG_arg_fail(3)) SWIG_fail;
23599 if (arg3 == NULL) {
23600 SWIG_null_ref("wxTimeSpan");
23601 }
23602 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
23603 }
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 {
23612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23613 }
23614 return resultobj;
23615 fail:
23616 return NULL;
23617}
23618
23619
c370783e 23620static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23621 PyObject *resultobj = NULL;
d55e5bfc
RD
23622 wxDateTime *arg1 = (wxDateTime *) 0 ;
23623 wxTimeSpan *arg2 = 0 ;
23624 wxDateTime *result;
23625 PyObject * obj0 = 0 ;
23626 PyObject * obj1 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self",(char *) "diff", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail;
23634 {
23635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23636 if (SWIG_arg_fail(2)) SWIG_fail;
23637 if (arg2 == NULL) {
23638 SWIG_null_ref("wxTimeSpan");
23639 }
23640 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23641 }
23642 {
23643 PyThreadState* __tstate = wxPyBeginAllowThreads();
23644 {
23645 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
23646 result = (wxDateTime *) &_result_ref;
23647 }
23648
23649 wxPyEndAllowThreads(__tstate);
23650 if (PyErr_Occurred()) SWIG_fail;
23651 }
23652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23653 return resultobj;
23654 fail:
23655 return NULL;
23656}
23657
23658
c370783e 23659static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23660 PyObject *resultobj = NULL;
d55e5bfc
RD
23661 wxDateTime *arg1 = (wxDateTime *) 0 ;
23662 wxDateSpan *arg2 = 0 ;
23663 wxDateTime *result;
23664 PyObject * obj0 = 0 ;
23665 PyObject * obj1 = 0 ;
23666 char *kwnames[] = {
23667 (char *) "self",(char *) "diff", NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23672 if (SWIG_arg_fail(1)) SWIG_fail;
23673 {
23674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23675 if (SWIG_arg_fail(2)) SWIG_fail;
23676 if (arg2 == NULL) {
23677 SWIG_null_ref("wxDateSpan");
23678 }
23679 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23680 }
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 {
23684 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
23685 result = (wxDateTime *) &_result_ref;
23686 }
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23692 return resultobj;
23693 fail:
23694 return NULL;
23695}
23696
23697
c370783e 23698static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23699 PyObject *resultobj = NULL;
d55e5bfc
RD
23700 wxDateTime *arg1 = (wxDateTime *) 0 ;
23701 wxTimeSpan *arg2 = 0 ;
23702 wxDateTime *result;
23703 PyObject * obj0 = 0 ;
23704 PyObject * obj1 = 0 ;
23705 char *kwnames[] = {
23706 (char *) "self",(char *) "diff", NULL
23707 };
23708
23709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23711 if (SWIG_arg_fail(1)) SWIG_fail;
23712 {
23713 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23714 if (SWIG_arg_fail(2)) SWIG_fail;
23715 if (arg2 == NULL) {
23716 SWIG_null_ref("wxTimeSpan");
23717 }
23718 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23719 }
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 {
23723 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
23724 result = (wxDateTime *) &_result_ref;
23725 }
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23731 return resultobj;
23732 fail:
23733 return NULL;
23734}
23735
23736
c370783e 23737static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23738 PyObject *resultobj = NULL;
d55e5bfc
RD
23739 wxDateTime *arg1 = (wxDateTime *) 0 ;
23740 wxDateSpan *arg2 = 0 ;
23741 wxDateTime *result;
23742 PyObject * obj0 = 0 ;
23743 PyObject * obj1 = 0 ;
23744 char *kwnames[] = {
23745 (char *) "self",(char *) "diff", NULL
23746 };
23747
23748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23750 if (SWIG_arg_fail(1)) SWIG_fail;
23751 {
23752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23753 if (SWIG_arg_fail(2)) SWIG_fail;
23754 if (arg2 == NULL) {
23755 SWIG_null_ref("wxDateSpan");
23756 }
23757 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23758 }
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 {
23762 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
23763 result = (wxDateTime *) &_result_ref;
23764 }
23765
23766 wxPyEndAllowThreads(__tstate);
23767 if (PyErr_Occurred()) SWIG_fail;
23768 }
23769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
23770 return resultobj;
23771 fail:
23772 return NULL;
23773}
23774
23775
c370783e 23776static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 23777 PyObject *resultobj = NULL;
d55e5bfc
RD
23778 wxDateTime *arg1 = (wxDateTime *) 0 ;
23779 wxDateTime *arg2 = 0 ;
23780 wxTimeSpan result;
23781 PyObject * obj0 = 0 ;
23782 PyObject * obj1 = 0 ;
23783 char *kwnames[] = {
23784 (char *) "self",(char *) "dt", NULL
23785 };
23786
23787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail;
23790 {
23791 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23792 if (SWIG_arg_fail(2)) SWIG_fail;
23793 if (arg2 == NULL) {
23794 SWIG_null_ref("wxDateTime");
23795 }
23796 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23797 }
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 wxTimeSpan * resultptr;
32fe5131 23807 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
23808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23809 }
23810 return resultobj;
23811 fail:
23812 return NULL;
23813}
23814
23815
c370783e 23816static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
32fe5131 23817 PyObject *resultobj = NULL;
d55e5bfc
RD
23818 wxDateTime *arg1 = (wxDateTime *) 0 ;
23819 wxTimeSpan *arg2 = 0 ;
23820 wxDateTime *result;
23821 PyObject * obj0 = 0 ;
23822 PyObject * obj1 = 0 ;
23823
23824 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
36ed4f51
RD
23825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23826 if (SWIG_arg_fail(1)) SWIG_fail;
23827 {
23828 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23829 if (SWIG_arg_fail(2)) SWIG_fail;
23830 if (arg2 == NULL) {
23831 SWIG_null_ref("wxTimeSpan");
23832 }
23833 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23834 }
23835 {
23836 PyThreadState* __tstate = wxPyBeginAllowThreads();
23837 {
23838 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
23839 result = (wxDateTime *) &_result_ref;
23840 }
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
c370783e 23845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23846 return resultobj;
23847 fail:
23848 return NULL;
23849}
23850
23851
c370783e 23852static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
32fe5131 23853 PyObject *resultobj = NULL;
d55e5bfc
RD
23854 wxDateTime *arg1 = (wxDateTime *) 0 ;
23855 wxDateSpan *arg2 = 0 ;
23856 wxDateTime *result;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859
23860 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
36ed4f51
RD
23861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23862 if (SWIG_arg_fail(1)) SWIG_fail;
23863 {
23864 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23865 if (SWIG_arg_fail(2)) SWIG_fail;
23866 if (arg2 == NULL) {
23867 SWIG_null_ref("wxDateSpan");
23868 }
23869 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23870 }
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 {
23874 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
23875 result = (wxDateTime *) &_result_ref;
23876 }
23877
23878 wxPyEndAllowThreads(__tstate);
23879 if (PyErr_Occurred()) SWIG_fail;
23880 }
c370783e 23881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23882 return resultobj;
23883 fail:
23884 return NULL;
23885}
23886
23887
23888static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
23889 int argc;
23890 PyObject *argv[3];
23891 int ii;
23892
23893 argc = PyObject_Length(args);
23894 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23895 argv[ii] = PyTuple_GetItem(args,ii);
23896 }
23897 if (argc == 2) {
23898 int _v;
23899 {
23900 void *ptr;
23901 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23902 _v = 0;
23903 PyErr_Clear();
23904 } else {
23905 _v = 1;
23906 }
23907 }
23908 if (_v) {
23909 {
36ed4f51 23910 void *ptr = 0;
d55e5bfc
RD
23911 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23912 _v = 0;
23913 PyErr_Clear();
23914 } else {
36ed4f51 23915 _v = (ptr != 0);
d55e5bfc
RD
23916 }
23917 }
23918 if (_v) {
23919 return _wrap_DateTime___iadd____SWIG_0(self,args);
23920 }
23921 }
23922 }
23923 if (argc == 2) {
23924 int _v;
23925 {
23926 void *ptr;
23927 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23928 _v = 0;
23929 PyErr_Clear();
23930 } else {
23931 _v = 1;
23932 }
23933 }
23934 if (_v) {
23935 {
36ed4f51 23936 void *ptr = 0;
d55e5bfc
RD
23937 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23938 _v = 0;
23939 PyErr_Clear();
23940 } else {
36ed4f51 23941 _v = (ptr != 0);
d55e5bfc
RD
23942 }
23943 }
23944 if (_v) {
23945 return _wrap_DateTime___iadd____SWIG_1(self,args);
23946 }
23947 }
23948 }
23949
36ed4f51 23950 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
d55e5bfc
RD
23951 return NULL;
23952}
23953
23954
c370783e 23955static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
32fe5131 23956 PyObject *resultobj = NULL;
d55e5bfc
RD
23957 wxDateTime *arg1 = (wxDateTime *) 0 ;
23958 wxTimeSpan *arg2 = 0 ;
23959 wxDateTime *result;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962
23963 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
36ed4f51
RD
23964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
23965 if (SWIG_arg_fail(1)) SWIG_fail;
23966 {
23967 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
23968 if (SWIG_arg_fail(2)) SWIG_fail;
23969 if (arg2 == NULL) {
23970 SWIG_null_ref("wxTimeSpan");
23971 }
23972 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23973 }
23974 {
23975 PyThreadState* __tstate = wxPyBeginAllowThreads();
23976 {
23977 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
23978 result = (wxDateTime *) &_result_ref;
23979 }
23980
23981 wxPyEndAllowThreads(__tstate);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 }
c370783e 23984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
23985 return resultobj;
23986 fail:
23987 return NULL;
23988}
23989
23990
c370783e 23991static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
32fe5131 23992 PyObject *resultobj = NULL;
d55e5bfc
RD
23993 wxDateTime *arg1 = (wxDateTime *) 0 ;
23994 wxDateSpan *arg2 = 0 ;
23995 wxDateTime *result;
23996 PyObject * obj0 = 0 ;
23997 PyObject * obj1 = 0 ;
23998
23999 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
36ed4f51
RD
24000 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24001 if (SWIG_arg_fail(1)) SWIG_fail;
24002 {
24003 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24004 if (SWIG_arg_fail(2)) SWIG_fail;
24005 if (arg2 == NULL) {
24006 SWIG_null_ref("wxDateSpan");
24007 }
24008 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24009 }
24010 {
24011 PyThreadState* __tstate = wxPyBeginAllowThreads();
24012 {
24013 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
24014 result = (wxDateTime *) &_result_ref;
24015 }
24016
24017 wxPyEndAllowThreads(__tstate);
24018 if (PyErr_Occurred()) SWIG_fail;
24019 }
c370783e 24020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
d55e5bfc
RD
24021 return resultobj;
24022 fail:
24023 return NULL;
24024}
24025
24026
24027static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
24028 int argc;
24029 PyObject *argv[3];
24030 int ii;
24031
24032 argc = PyObject_Length(args);
24033 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24034 argv[ii] = PyTuple_GetItem(args,ii);
24035 }
24036 if (argc == 2) {
24037 int _v;
24038 {
24039 void *ptr;
24040 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24041 _v = 0;
24042 PyErr_Clear();
24043 } else {
24044 _v = 1;
24045 }
24046 }
24047 if (_v) {
24048 {
36ed4f51 24049 void *ptr = 0;
d55e5bfc
RD
24050 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24051 _v = 0;
24052 PyErr_Clear();
24053 } else {
36ed4f51 24054 _v = (ptr != 0);
d55e5bfc
RD
24055 }
24056 }
24057 if (_v) {
24058 return _wrap_DateTime___isub____SWIG_0(self,args);
24059 }
24060 }
24061 }
24062 if (argc == 2) {
24063 int _v;
24064 {
24065 void *ptr;
24066 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24067 _v = 0;
24068 PyErr_Clear();
24069 } else {
24070 _v = 1;
24071 }
24072 }
24073 if (_v) {
24074 {
36ed4f51 24075 void *ptr = 0;
d55e5bfc
RD
24076 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24077 _v = 0;
24078 PyErr_Clear();
24079 } else {
36ed4f51 24080 _v = (ptr != 0);
d55e5bfc
RD
24081 }
24082 }
24083 if (_v) {
24084 return _wrap_DateTime___isub____SWIG_1(self,args);
24085 }
24086 }
24087 }
24088
36ed4f51 24089 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
d55e5bfc
RD
24090 return NULL;
24091}
24092
24093
c370783e 24094static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
32fe5131 24095 PyObject *resultobj = NULL;
d55e5bfc
RD
24096 wxDateTime *arg1 = (wxDateTime *) 0 ;
24097 wxTimeSpan *arg2 = 0 ;
24098 wxDateTime result;
24099 PyObject * obj0 = 0 ;
24100 PyObject * obj1 = 0 ;
24101
24102 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
36ed4f51
RD
24103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24104 if (SWIG_arg_fail(1)) SWIG_fail;
24105 {
24106 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24107 if (SWIG_arg_fail(2)) SWIG_fail;
24108 if (arg2 == NULL) {
24109 SWIG_null_ref("wxTimeSpan");
24110 }
24111 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24112 }
24113 {
24114 PyThreadState* __tstate = wxPyBeginAllowThreads();
24115 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
24116
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 {
24121 wxDateTime * resultptr;
32fe5131 24122 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24123 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24124 }
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
c370783e 24131static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
32fe5131 24132 PyObject *resultobj = NULL;
d55e5bfc
RD
24133 wxDateTime *arg1 = (wxDateTime *) 0 ;
24134 wxDateSpan *arg2 = 0 ;
24135 wxDateTime result;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138
24139 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
36ed4f51
RD
24140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24141 if (SWIG_arg_fail(1)) SWIG_fail;
24142 {
24143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24144 if (SWIG_arg_fail(2)) SWIG_fail;
24145 if (arg2 == NULL) {
24146 SWIG_null_ref("wxDateSpan");
24147 }
24148 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24149 }
24150 {
24151 PyThreadState* __tstate = wxPyBeginAllowThreads();
24152 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
24153
24154 wxPyEndAllowThreads(__tstate);
24155 if (PyErr_Occurred()) SWIG_fail;
24156 }
24157 {
24158 wxDateTime * resultptr;
32fe5131 24159 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24160 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24161 }
24162 return resultobj;
24163 fail:
24164 return NULL;
24165}
24166
24167
24168static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
24169 int argc;
24170 PyObject *argv[3];
24171 int ii;
24172
24173 argc = PyObject_Length(args);
24174 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24175 argv[ii] = PyTuple_GetItem(args,ii);
24176 }
24177 if (argc == 2) {
24178 int _v;
24179 {
24180 void *ptr;
24181 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24182 _v = 0;
24183 PyErr_Clear();
24184 } else {
24185 _v = 1;
24186 }
24187 }
24188 if (_v) {
24189 {
36ed4f51 24190 void *ptr = 0;
d55e5bfc
RD
24191 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24192 _v = 0;
24193 PyErr_Clear();
24194 } else {
36ed4f51 24195 _v = (ptr != 0);
d55e5bfc
RD
24196 }
24197 }
24198 if (_v) {
24199 return _wrap_DateTime___add____SWIG_0(self,args);
24200 }
24201 }
24202 }
24203 if (argc == 2) {
24204 int _v;
24205 {
24206 void *ptr;
24207 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24208 _v = 0;
24209 PyErr_Clear();
24210 } else {
24211 _v = 1;
24212 }
24213 }
24214 if (_v) {
24215 {
36ed4f51 24216 void *ptr = 0;
d55e5bfc
RD
24217 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24218 _v = 0;
24219 PyErr_Clear();
24220 } else {
36ed4f51 24221 _v = (ptr != 0);
d55e5bfc
RD
24222 }
24223 }
24224 if (_v) {
24225 return _wrap_DateTime___add____SWIG_1(self,args);
24226 }
24227 }
24228 }
24229
36ed4f51
RD
24230 Py_INCREF(Py_NotImplemented);
24231 return Py_NotImplemented;
d55e5bfc
RD
24232}
24233
24234
c370783e 24235static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
32fe5131 24236 PyObject *resultobj = NULL;
d55e5bfc
RD
24237 wxDateTime *arg1 = (wxDateTime *) 0 ;
24238 wxDateTime *arg2 = 0 ;
24239 wxTimeSpan result;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242
24243 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
36ed4f51
RD
24244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24245 if (SWIG_arg_fail(1)) SWIG_fail;
24246 {
24247 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail;
24249 if (arg2 == NULL) {
24250 SWIG_null_ref("wxDateTime");
24251 }
24252 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24253 }
24254 {
24255 PyThreadState* __tstate = wxPyBeginAllowThreads();
24256 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
24257
24258 wxPyEndAllowThreads(__tstate);
24259 if (PyErr_Occurred()) SWIG_fail;
24260 }
24261 {
24262 wxTimeSpan * resultptr;
32fe5131 24263 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
24264 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24265 }
24266 return resultobj;
24267 fail:
24268 return NULL;
24269}
24270
24271
c370783e 24272static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
32fe5131 24273 PyObject *resultobj = NULL;
d55e5bfc
RD
24274 wxDateTime *arg1 = (wxDateTime *) 0 ;
24275 wxTimeSpan *arg2 = 0 ;
24276 wxDateTime result;
24277 PyObject * obj0 = 0 ;
24278 PyObject * obj1 = 0 ;
24279
24280 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
36ed4f51
RD
24281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24282 if (SWIG_arg_fail(1)) SWIG_fail;
24283 {
24284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24285 if (SWIG_arg_fail(2)) SWIG_fail;
24286 if (arg2 == NULL) {
24287 SWIG_null_ref("wxTimeSpan");
24288 }
24289 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24290 }
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 {
24299 wxDateTime * resultptr;
32fe5131 24300 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24301 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24302 }
24303 return resultobj;
24304 fail:
24305 return NULL;
24306}
24307
24308
c370783e 24309static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
32fe5131 24310 PyObject *resultobj = NULL;
d55e5bfc
RD
24311 wxDateTime *arg1 = (wxDateTime *) 0 ;
24312 wxDateSpan *arg2 = 0 ;
24313 wxDateTime result;
24314 PyObject * obj0 = 0 ;
24315 PyObject * obj1 = 0 ;
24316
24317 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
36ed4f51
RD
24318 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24319 if (SWIG_arg_fail(1)) SWIG_fail;
24320 {
24321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
24322 if (SWIG_arg_fail(2)) SWIG_fail;
24323 if (arg2 == NULL) {
24324 SWIG_null_ref("wxDateSpan");
24325 }
24326 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24327 }
24328 {
24329 PyThreadState* __tstate = wxPyBeginAllowThreads();
24330 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
24331
24332 wxPyEndAllowThreads(__tstate);
24333 if (PyErr_Occurred()) SWIG_fail;
24334 }
24335 {
24336 wxDateTime * resultptr;
32fe5131 24337 resultptr = new wxDateTime(static_cast<wxDateTime & >(result));
d55e5bfc
RD
24338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
24339 }
24340 return resultobj;
24341 fail:
24342 return NULL;
24343}
24344
24345
24346static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
24347 int argc;
24348 PyObject *argv[3];
24349 int ii;
24350
24351 argc = PyObject_Length(args);
24352 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
24353 argv[ii] = PyTuple_GetItem(args,ii);
24354 }
24355 if (argc == 2) {
24356 int _v;
24357 {
24358 void *ptr;
24359 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24360 _v = 0;
24361 PyErr_Clear();
24362 } else {
24363 _v = 1;
24364 }
24365 }
24366 if (_v) {
24367 {
36ed4f51 24368 void *ptr = 0;
d55e5bfc
RD
24369 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24370 _v = 0;
24371 PyErr_Clear();
24372 } else {
36ed4f51 24373 _v = (ptr != 0);
d55e5bfc
RD
24374 }
24375 }
24376 if (_v) {
24377 return _wrap_DateTime___sub____SWIG_0(self,args);
24378 }
24379 }
24380 }
24381 if (argc == 2) {
24382 int _v;
24383 {
24384 void *ptr;
24385 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24386 _v = 0;
24387 PyErr_Clear();
24388 } else {
24389 _v = 1;
24390 }
24391 }
24392 if (_v) {
24393 {
36ed4f51 24394 void *ptr = 0;
d55e5bfc
RD
24395 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
24396 _v = 0;
24397 PyErr_Clear();
24398 } else {
36ed4f51 24399 _v = (ptr != 0);
d55e5bfc
RD
24400 }
24401 }
24402 if (_v) {
24403 return _wrap_DateTime___sub____SWIG_1(self,args);
24404 }
24405 }
24406 }
24407 if (argc == 2) {
24408 int _v;
24409 {
24410 void *ptr;
24411 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
24412 _v = 0;
24413 PyErr_Clear();
24414 } else {
24415 _v = 1;
24416 }
24417 }
24418 if (_v) {
24419 {
36ed4f51 24420 void *ptr = 0;
d55e5bfc
RD
24421 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
24422 _v = 0;
24423 PyErr_Clear();
24424 } else {
36ed4f51 24425 _v = (ptr != 0);
d55e5bfc
RD
24426 }
24427 }
24428 if (_v) {
24429 return _wrap_DateTime___sub____SWIG_2(self,args);
24430 }
24431 }
24432 }
24433
36ed4f51
RD
24434 Py_INCREF(Py_NotImplemented);
24435 return Py_NotImplemented;
d55e5bfc
RD
24436}
24437
24438
fef4c27a 24439static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24440 PyObject *resultobj = NULL;
d55e5bfc
RD
24441 wxDateTime *arg1 = (wxDateTime *) 0 ;
24442 wxDateTime *arg2 = (wxDateTime *) 0 ;
24443 bool result;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
fef4c27a
RD
24446 char *kwnames[] = {
24447 (char *) "self",(char *) "other", NULL
24448 };
d55e5bfc 24449
fef4c27a 24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24451 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24452 if (SWIG_arg_fail(1)) SWIG_fail;
24453 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24454 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 {
24463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24464 }
24465 return resultobj;
24466 fail:
24467 return NULL;
24468}
24469
24470
fef4c27a 24471static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24472 PyObject *resultobj = NULL;
d55e5bfc
RD
24473 wxDateTime *arg1 = (wxDateTime *) 0 ;
24474 wxDateTime *arg2 = (wxDateTime *) 0 ;
24475 bool result;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
fef4c27a
RD
24478 char *kwnames[] = {
24479 (char *) "self",(char *) "other", NULL
24480 };
d55e5bfc 24481
fef4c27a 24482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail;
24485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24486 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24487 {
24488 PyThreadState* __tstate = wxPyBeginAllowThreads();
24489 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
24490
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 {
24495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24496 }
24497 return resultobj;
24498 fail:
24499 return NULL;
24500}
24501
24502
fef4c27a 24503static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24504 PyObject *resultobj = NULL;
d55e5bfc
RD
24505 wxDateTime *arg1 = (wxDateTime *) 0 ;
24506 wxDateTime *arg2 = (wxDateTime *) 0 ;
24507 bool result;
24508 PyObject * obj0 = 0 ;
24509 PyObject * obj1 = 0 ;
fef4c27a
RD
24510 char *kwnames[] = {
24511 (char *) "self",(char *) "other", NULL
24512 };
d55e5bfc 24513
fef4c27a 24514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24516 if (SWIG_arg_fail(1)) SWIG_fail;
24517 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24518 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24519 {
24520 PyThreadState* __tstate = wxPyBeginAllowThreads();
24521 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
24522
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 {
24527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24528 }
24529 return resultobj;
24530 fail:
24531 return NULL;
24532}
24533
24534
fef4c27a 24535static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24536 PyObject *resultobj = NULL;
d55e5bfc
RD
24537 wxDateTime *arg1 = (wxDateTime *) 0 ;
24538 wxDateTime *arg2 = (wxDateTime *) 0 ;
24539 bool result;
24540 PyObject * obj0 = 0 ;
24541 PyObject * obj1 = 0 ;
fef4c27a
RD
24542 char *kwnames[] = {
24543 (char *) "self",(char *) "other", NULL
24544 };
d55e5bfc 24545
fef4c27a 24546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24548 if (SWIG_arg_fail(1)) SWIG_fail;
24549 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24550 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 {
24559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24560 }
24561 return resultobj;
24562 fail:
24563 return NULL;
24564}
24565
24566
fef4c27a 24567static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24568 PyObject *resultobj = NULL;
d55e5bfc
RD
24569 wxDateTime *arg1 = (wxDateTime *) 0 ;
24570 wxDateTime *arg2 = (wxDateTime *) 0 ;
24571 bool result;
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
fef4c27a
RD
24574 char *kwnames[] = {
24575 (char *) "self",(char *) "other", NULL
24576 };
d55e5bfc 24577
fef4c27a 24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24580 if (SWIG_arg_fail(1)) SWIG_fail;
24581 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24582 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 {
24591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24592 }
24593 return resultobj;
24594 fail:
24595 return NULL;
24596}
24597
24598
fef4c27a 24599static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24600 PyObject *resultobj = NULL;
d55e5bfc
RD
24601 wxDateTime *arg1 = (wxDateTime *) 0 ;
24602 wxDateTime *arg2 = (wxDateTime *) 0 ;
24603 bool result;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
fef4c27a
RD
24606 char *kwnames[] = {
24607 (char *) "self",(char *) "other", NULL
24608 };
d55e5bfc 24609
fef4c27a 24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24612 if (SWIG_arg_fail(1)) SWIG_fail;
24613 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24614 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
24618
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
24622 {
24623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24624 }
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
c370783e 24631static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24632 PyObject *resultobj = NULL;
d55e5bfc
RD
24633 wxDateTime *arg1 = (wxDateTime *) 0 ;
24634 wxString *arg2 = 0 ;
24635 int result;
b411df4a 24636 bool temp2 = false ;
d55e5bfc
RD
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 char *kwnames[] = {
24640 (char *) "self",(char *) "date", NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24645 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24646 {
24647 arg2 = wxString_in_helper(obj1);
24648 if (arg2 == NULL) SWIG_fail;
b411df4a 24649 temp2 = true;
d55e5bfc
RD
24650 }
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
24654
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
36ed4f51 24658 {
32fe5131 24659 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24660 }
d55e5bfc
RD
24661 {
24662 if (temp2)
24663 delete arg2;
24664 }
24665 return resultobj;
24666 fail:
24667 {
24668 if (temp2)
24669 delete arg2;
24670 }
24671 return NULL;
24672}
24673
24674
c370783e 24675static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24676 PyObject *resultobj = NULL;
d55e5bfc
RD
24677 wxDateTime *arg1 = (wxDateTime *) 0 ;
24678 wxString *arg2 = 0 ;
fef4c27a 24679 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
24680 wxString *arg3 = (wxString *) &arg3_defvalue ;
24681 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
24682 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
24683 int result;
b411df4a
RD
24684 bool temp2 = false ;
24685 bool temp3 = false ;
d55e5bfc
RD
24686 PyObject * obj0 = 0 ;
24687 PyObject * obj1 = 0 ;
24688 PyObject * obj2 = 0 ;
24689 PyObject * obj3 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24696 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24697 {
24698 arg2 = wxString_in_helper(obj1);
24699 if (arg2 == NULL) SWIG_fail;
b411df4a 24700 temp2 = true;
d55e5bfc
RD
24701 }
24702 if (obj2) {
24703 {
24704 arg3 = wxString_in_helper(obj2);
24705 if (arg3 == NULL) SWIG_fail;
b411df4a 24706 temp3 = true;
d55e5bfc
RD
24707 }
24708 }
24709 if (obj3) {
36ed4f51
RD
24710 {
24711 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24712 if (SWIG_arg_fail(4)) SWIG_fail;
24713 if (arg4 == NULL) {
24714 SWIG_null_ref("wxDateTime");
24715 }
24716 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
24717 }
24718 }
24719 {
24720 PyThreadState* __tstate = wxPyBeginAllowThreads();
24721 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
24722
24723 wxPyEndAllowThreads(__tstate);
24724 if (PyErr_Occurred()) SWIG_fail;
24725 }
36ed4f51 24726 {
32fe5131 24727 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24728 }
d55e5bfc
RD
24729 {
24730 if (temp2)
24731 delete arg2;
24732 }
24733 {
24734 if (temp3)
24735 delete arg3;
24736 }
24737 return resultobj;
24738 fail:
24739 {
24740 if (temp2)
24741 delete arg2;
24742 }
24743 {
24744 if (temp3)
24745 delete arg3;
24746 }
24747 return NULL;
24748}
24749
24750
c370783e 24751static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24752 PyObject *resultobj = NULL;
d55e5bfc
RD
24753 wxDateTime *arg1 = (wxDateTime *) 0 ;
24754 wxString *arg2 = 0 ;
24755 int result;
b411df4a 24756 bool temp2 = false ;
d55e5bfc
RD
24757 PyObject * obj0 = 0 ;
24758 PyObject * obj1 = 0 ;
24759 char *kwnames[] = {
24760 (char *) "self",(char *) "datetime", NULL
24761 };
24762
24763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24766 {
24767 arg2 = wxString_in_helper(obj1);
24768 if (arg2 == NULL) SWIG_fail;
b411df4a 24769 temp2 = true;
d55e5bfc
RD
24770 }
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
24774
24775 wxPyEndAllowThreads(__tstate);
24776 if (PyErr_Occurred()) SWIG_fail;
24777 }
36ed4f51 24778 {
32fe5131 24779 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24780 }
d55e5bfc
RD
24781 {
24782 if (temp2)
24783 delete arg2;
24784 }
24785 return resultobj;
24786 fail:
24787 {
24788 if (temp2)
24789 delete arg2;
24790 }
24791 return NULL;
24792}
24793
24794
c370783e 24795static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24796 PyObject *resultobj = NULL;
d55e5bfc
RD
24797 wxDateTime *arg1 = (wxDateTime *) 0 ;
24798 wxString *arg2 = 0 ;
24799 int result;
b411df4a 24800 bool temp2 = false ;
d55e5bfc
RD
24801 PyObject * obj0 = 0 ;
24802 PyObject * obj1 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self",(char *) "date", NULL
24805 };
24806
24807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24809 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24810 {
24811 arg2 = wxString_in_helper(obj1);
24812 if (arg2 == NULL) SWIG_fail;
b411df4a 24813 temp2 = true;
d55e5bfc
RD
24814 }
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
24818
24819 wxPyEndAllowThreads(__tstate);
24820 if (PyErr_Occurred()) SWIG_fail;
24821 }
36ed4f51 24822 {
32fe5131 24823 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24824 }
d55e5bfc
RD
24825 {
24826 if (temp2)
24827 delete arg2;
24828 }
24829 return resultobj;
24830 fail:
24831 {
24832 if (temp2)
24833 delete arg2;
24834 }
24835 return NULL;
24836}
24837
24838
c370783e 24839static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24840 PyObject *resultobj = NULL;
d55e5bfc
RD
24841 wxDateTime *arg1 = (wxDateTime *) 0 ;
24842 wxString *arg2 = 0 ;
24843 int result;
b411df4a 24844 bool temp2 = false ;
d55e5bfc
RD
24845 PyObject * obj0 = 0 ;
24846 PyObject * obj1 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self",(char *) "time", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24854 {
24855 arg2 = wxString_in_helper(obj1);
24856 if (arg2 == NULL) SWIG_fail;
b411df4a 24857 temp2 = true;
d55e5bfc
RD
24858 }
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
24862
24863 wxPyEndAllowThreads(__tstate);
24864 if (PyErr_Occurred()) SWIG_fail;
24865 }
36ed4f51 24866 {
32fe5131 24867 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 24868 }
d55e5bfc
RD
24869 {
24870 if (temp2)
24871 delete arg2;
24872 }
24873 return resultobj;
24874 fail:
24875 {
24876 if (temp2)
24877 delete arg2;
24878 }
24879 return NULL;
24880}
24881
24882
c370783e 24883static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24884 PyObject *resultobj = NULL;
d55e5bfc 24885 wxDateTime *arg1 = (wxDateTime *) 0 ;
fef4c27a 24886 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
d55e5bfc
RD
24887 wxString *arg2 = (wxString *) &arg2_defvalue ;
24888 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
24889 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
24890 wxString result;
b411df4a
RD
24891 bool temp2 = false ;
24892 bool temp3 = false ;
d55e5bfc
RD
24893 PyObject * obj0 = 0 ;
24894 PyObject * obj1 = 0 ;
24895 PyObject * obj2 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self",(char *) "format",(char *) "tz", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24901 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24902 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24903 if (obj1) {
24904 {
24905 arg2 = wxString_in_helper(obj1);
24906 if (arg2 == NULL) SWIG_fail;
b411df4a 24907 temp2 = true;
d55e5bfc
RD
24908 }
24909 }
24910 if (obj2) {
24911 {
24912 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
b411df4a 24913 temp3 = true;
d55e5bfc
RD
24914 }
24915 }
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 {
24924#if wxUSE_UNICODE
24925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24926#else
24927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24928#endif
24929 }
24930 {
24931 if (temp2)
24932 delete arg2;
24933 }
24934 {
24935 if (temp3) delete arg3;
24936 }
24937 return resultobj;
24938 fail:
24939 {
24940 if (temp2)
24941 delete arg2;
24942 }
24943 {
24944 if (temp3) delete arg3;
24945 }
24946 return NULL;
24947}
24948
24949
c370783e 24950static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24951 PyObject *resultobj = NULL;
d55e5bfc
RD
24952 wxDateTime *arg1 = (wxDateTime *) 0 ;
24953 wxString result;
24954 PyObject * obj0 = 0 ;
24955 char *kwnames[] = {
24956 (char *) "self", NULL
24957 };
24958
24959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
36ed4f51
RD
24960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = ((wxDateTime const *)arg1)->FormatDate();
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 {
24970#if wxUSE_UNICODE
24971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24972#else
24973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24974#endif
24975 }
24976 return resultobj;
24977 fail:
24978 return NULL;
24979}
24980
24981
c370783e 24982static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 24983 PyObject *resultobj = NULL;
d55e5bfc
RD
24984 wxDateTime *arg1 = (wxDateTime *) 0 ;
24985 wxString result;
24986 PyObject * obj0 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
36ed4f51
RD
24992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
24993 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24994 {
24995 PyThreadState* __tstate = wxPyBeginAllowThreads();
24996 result = ((wxDateTime const *)arg1)->FormatTime();
24997
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 {
25002#if wxUSE_UNICODE
25003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25004#else
25005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25006#endif
25007 }
25008 return resultobj;
25009 fail:
25010 return NULL;
25011}
25012
25013
c370783e 25014static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25015 PyObject *resultobj = NULL;
d55e5bfc
RD
25016 wxDateTime *arg1 = (wxDateTime *) 0 ;
25017 wxString result;
25018 PyObject * obj0 = 0 ;
25019 char *kwnames[] = {
25020 (char *) "self", NULL
25021 };
25022
25023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
36ed4f51
RD
25024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
25025 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25026 {
25027 PyThreadState* __tstate = wxPyBeginAllowThreads();
25028 result = ((wxDateTime const *)arg1)->FormatISODate();
25029
25030 wxPyEndAllowThreads(__tstate);
25031 if (PyErr_Occurred()) SWIG_fail;
25032 }
25033 {
25034#if wxUSE_UNICODE
25035 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25036#else
25037 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25038#endif
25039 }
25040 return resultobj;
25041 fail:
25042 return NULL;
25043}
25044
25045
c370783e 25046static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25047 PyObject *resultobj = NULL;
d55e5bfc
RD
25048 wxDateTime *arg1 = (wxDateTime *) 0 ;
25049 wxString result;
25050 PyObject * obj0 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
36ed4f51
RD
25056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
25057 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = ((wxDateTime const *)arg1)->FormatISOTime();
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 {
25066#if wxUSE_UNICODE
25067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25068#else
25069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25070#endif
25071 }
25072 return resultobj;
25073 fail:
25074 return NULL;
25075}
25076
25077
c370783e 25078static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
25079 PyObject *obj;
25080 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25081 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
25082 Py_INCREF(obj);
25083 return Py_BuildValue((char *)"");
25084}
c370783e 25085static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25086 PyObject *resultobj = NULL;
d55e5bfc
RD
25087 long arg1 ;
25088 wxTimeSpan result;
25089 PyObject * obj0 = 0 ;
25090 char *kwnames[] = {
25091 (char *) "sec", NULL
25092 };
25093
25094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
36ed4f51 25095 {
32fe5131 25096 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
25097 if (SWIG_arg_fail(1)) SWIG_fail;
25098 }
d55e5bfc
RD
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 result = wxTimeSpan::Seconds(arg1);
25102
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 {
25107 wxTimeSpan * resultptr;
32fe5131 25108 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25110 }
25111 return resultobj;
25112 fail:
25113 return NULL;
25114}
25115
25116
c370783e 25117static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25118 PyObject *resultobj = NULL;
d55e5bfc
RD
25119 wxTimeSpan result;
25120 char *kwnames[] = {
25121 NULL
25122 };
25123
25124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
25125 {
25126 PyThreadState* __tstate = wxPyBeginAllowThreads();
25127 result = wxTimeSpan::Second();
25128
25129 wxPyEndAllowThreads(__tstate);
25130 if (PyErr_Occurred()) SWIG_fail;
25131 }
25132 {
25133 wxTimeSpan * resultptr;
32fe5131 25134 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25135 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25136 }
25137 return resultobj;
25138 fail:
25139 return NULL;
25140}
25141
25142
c370783e 25143static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25144 PyObject *resultobj = NULL;
d55e5bfc
RD
25145 long arg1 ;
25146 wxTimeSpan result;
25147 PyObject * obj0 = 0 ;
25148 char *kwnames[] = {
25149 (char *) "min", NULL
25150 };
25151
25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
36ed4f51 25153 {
32fe5131 25154 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
25155 if (SWIG_arg_fail(1)) SWIG_fail;
25156 }
d55e5bfc
RD
25157 {
25158 PyThreadState* __tstate = wxPyBeginAllowThreads();
25159 result = wxTimeSpan::Minutes(arg1);
25160
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 {
25165 wxTimeSpan * resultptr;
32fe5131 25166 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25167 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25168 }
25169 return resultobj;
25170 fail:
25171 return NULL;
25172}
25173
25174
c370783e 25175static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25176 PyObject *resultobj = NULL;
d55e5bfc
RD
25177 wxTimeSpan result;
25178 char *kwnames[] = {
25179 NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = wxTimeSpan::Minute();
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 {
25191 wxTimeSpan * resultptr;
32fe5131 25192 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25193 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25194 }
25195 return resultobj;
25196 fail:
25197 return NULL;
25198}
25199
25200
c370783e 25201static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25202 PyObject *resultobj = NULL;
d55e5bfc
RD
25203 long arg1 ;
25204 wxTimeSpan result;
25205 PyObject * obj0 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "hours", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
36ed4f51 25211 {
32fe5131 25212 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
25213 if (SWIG_arg_fail(1)) SWIG_fail;
25214 }
d55e5bfc
RD
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 result = wxTimeSpan::Hours(arg1);
25218
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 {
25223 wxTimeSpan * resultptr;
32fe5131 25224 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25226 }
25227 return resultobj;
25228 fail:
25229 return NULL;
25230}
25231
25232
c370783e 25233static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25234 PyObject *resultobj = NULL;
d55e5bfc
RD
25235 wxTimeSpan result;
25236 char *kwnames[] = {
25237 NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
25241 {
25242 PyThreadState* __tstate = wxPyBeginAllowThreads();
25243 result = wxTimeSpan::Hour();
25244
25245 wxPyEndAllowThreads(__tstate);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
25248 {
25249 wxTimeSpan * resultptr;
32fe5131 25250 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25252 }
25253 return resultobj;
25254 fail:
25255 return NULL;
25256}
25257
25258
c370783e 25259static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25260 PyObject *resultobj = NULL;
d55e5bfc
RD
25261 long arg1 ;
25262 wxTimeSpan result;
25263 PyObject * obj0 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "days", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
36ed4f51 25269 {
32fe5131 25270 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
25271 if (SWIG_arg_fail(1)) SWIG_fail;
25272 }
d55e5bfc
RD
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 result = wxTimeSpan::Days(arg1);
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 {
25281 wxTimeSpan * resultptr;
32fe5131 25282 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25284 }
25285 return resultobj;
25286 fail:
25287 return NULL;
25288}
25289
25290
c370783e 25291static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25292 PyObject *resultobj = NULL;
d55e5bfc
RD
25293 wxTimeSpan result;
25294 char *kwnames[] = {
25295 NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = wxTimeSpan::Day();
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 {
25307 wxTimeSpan * resultptr;
32fe5131 25308 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25310 }
25311 return resultobj;
25312 fail:
25313 return NULL;
25314}
25315
25316
c370783e 25317static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25318 PyObject *resultobj = NULL;
d55e5bfc
RD
25319 long arg1 ;
25320 wxTimeSpan result;
25321 PyObject * obj0 = 0 ;
25322 char *kwnames[] = {
25323 (char *) "days", NULL
25324 };
25325
25326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
36ed4f51 25327 {
32fe5131 25328 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
25329 if (SWIG_arg_fail(1)) SWIG_fail;
25330 }
d55e5bfc
RD
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 result = wxTimeSpan::Weeks(arg1);
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 {
25339 wxTimeSpan * resultptr;
32fe5131 25340 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25341 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25342 }
25343 return resultobj;
25344 fail:
25345 return NULL;
25346}
25347
25348
c370783e 25349static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25350 PyObject *resultobj = NULL;
d55e5bfc
RD
25351 wxTimeSpan result;
25352 char *kwnames[] = {
25353 NULL
25354 };
25355
25356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
25357 {
25358 PyThreadState* __tstate = wxPyBeginAllowThreads();
25359 result = wxTimeSpan::Week();
25360
25361 wxPyEndAllowThreads(__tstate);
25362 if (PyErr_Occurred()) SWIG_fail;
25363 }
25364 {
25365 wxTimeSpan * resultptr;
32fe5131 25366 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25367 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25368 }
25369 return resultobj;
25370 fail:
25371 return NULL;
25372}
25373
25374
c370783e 25375static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25376 PyObject *resultobj = NULL;
d55e5bfc
RD
25377 long arg1 = (long) 0 ;
25378 long arg2 = (long) 0 ;
25379 long arg3 = (long) 0 ;
25380 long arg4 = (long) 0 ;
25381 wxTimeSpan *result;
25382 PyObject * obj0 = 0 ;
25383 PyObject * obj1 = 0 ;
25384 PyObject * obj2 = 0 ;
25385 PyObject * obj3 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25391 if (obj0) {
36ed4f51 25392 {
32fe5131 25393 arg1 = static_cast<long >(SWIG_As_long(obj0));
36ed4f51
RD
25394 if (SWIG_arg_fail(1)) SWIG_fail;
25395 }
d55e5bfc
RD
25396 }
25397 if (obj1) {
36ed4f51 25398 {
32fe5131 25399 arg2 = static_cast<long >(SWIG_As_long(obj1));
36ed4f51
RD
25400 if (SWIG_arg_fail(2)) SWIG_fail;
25401 }
d55e5bfc
RD
25402 }
25403 if (obj2) {
36ed4f51 25404 {
32fe5131 25405 arg3 = static_cast<long >(SWIG_As_long(obj2));
36ed4f51
RD
25406 if (SWIG_arg_fail(3)) SWIG_fail;
25407 }
d55e5bfc
RD
25408 }
25409 if (obj3) {
36ed4f51 25410 {
32fe5131 25411 arg4 = static_cast<long >(SWIG_As_long(obj3));
36ed4f51
RD
25412 if (SWIG_arg_fail(4)) SWIG_fail;
25413 }
d55e5bfc
RD
25414 }
25415 {
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
25418
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
25423 return resultobj;
25424 fail:
25425 return NULL;
25426}
25427
25428
c370783e 25429static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25430 PyObject *resultobj = NULL;
d55e5bfc
RD
25431 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25432 PyObject * obj0 = 0 ;
25433 char *kwnames[] = {
25434 (char *) "self", NULL
25435 };
25436
25437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
36ed4f51
RD
25438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25440 {
25441 PyThreadState* __tstate = wxPyBeginAllowThreads();
25442 delete arg1;
25443
25444 wxPyEndAllowThreads(__tstate);
25445 if (PyErr_Occurred()) SWIG_fail;
25446 }
25447 Py_INCREF(Py_None); resultobj = Py_None;
25448 return resultobj;
25449 fail:
25450 return NULL;
25451}
25452
25453
c370783e 25454static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25455 PyObject *resultobj = NULL;
d55e5bfc
RD
25456 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25457 wxTimeSpan *arg2 = 0 ;
25458 wxTimeSpan *result;
25459 PyObject * obj0 = 0 ;
25460 PyObject * obj1 = 0 ;
25461 char *kwnames[] = {
25462 (char *) "self",(char *) "diff", NULL
25463 };
25464
25465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25467 if (SWIG_arg_fail(1)) SWIG_fail;
25468 {
25469 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25470 if (SWIG_arg_fail(2)) SWIG_fail;
25471 if (arg2 == NULL) {
25472 SWIG_null_ref("wxTimeSpan");
25473 }
25474 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25475 }
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 {
25479 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
25480 result = (wxTimeSpan *) &_result_ref;
25481 }
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25487 return resultobj;
25488 fail:
25489 return NULL;
25490}
25491
25492
c370783e 25493static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25494 PyObject *resultobj = NULL;
d55e5bfc
RD
25495 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25496 wxTimeSpan *arg2 = 0 ;
25497 wxTimeSpan *result;
25498 PyObject * obj0 = 0 ;
25499 PyObject * obj1 = 0 ;
25500 char *kwnames[] = {
25501 (char *) "self",(char *) "diff", NULL
25502 };
25503
25504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25506 if (SWIG_arg_fail(1)) SWIG_fail;
25507 {
25508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25509 if (SWIG_arg_fail(2)) SWIG_fail;
25510 if (arg2 == NULL) {
25511 SWIG_null_ref("wxTimeSpan");
25512 }
25513 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25514 }
25515 {
25516 PyThreadState* __tstate = wxPyBeginAllowThreads();
25517 {
25518 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
25519 result = (wxTimeSpan *) &_result_ref;
25520 }
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25526 return resultobj;
25527 fail:
25528 return NULL;
25529}
25530
25531
c370783e 25532static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25533 PyObject *resultobj = NULL;
d55e5bfc
RD
25534 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25535 int arg2 ;
25536 wxTimeSpan *result;
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self",(char *) "n", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25545 if (SWIG_arg_fail(1)) SWIG_fail;
25546 {
32fe5131 25547 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25548 if (SWIG_arg_fail(2)) SWIG_fail;
25549 }
d55e5bfc
RD
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 {
25553 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
25554 result = (wxTimeSpan *) &_result_ref;
25555 }
25556
25557 wxPyEndAllowThreads(__tstate);
25558 if (PyErr_Occurred()) SWIG_fail;
25559 }
25560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25561 return resultobj;
25562 fail:
25563 return NULL;
25564}
25565
25566
c370783e 25567static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25568 PyObject *resultobj = NULL;
d55e5bfc
RD
25569 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25570 wxTimeSpan *result;
25571 PyObject * obj0 = 0 ;
25572 char *kwnames[] = {
25573 (char *) "self", NULL
25574 };
25575
25576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
36ed4f51
RD
25577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25578 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25579 {
25580 PyThreadState* __tstate = wxPyBeginAllowThreads();
25581 {
25582 wxTimeSpan &_result_ref = (arg1)->Neg();
25583 result = (wxTimeSpan *) &_result_ref;
25584 }
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25590 return resultobj;
25591 fail:
25592 return NULL;
25593}
25594
25595
c370783e 25596static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25597 PyObject *resultobj = NULL;
d55e5bfc
RD
25598 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25599 wxTimeSpan result;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
36ed4f51
RD
25606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = ((wxTimeSpan const *)arg1)->Abs();
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 {
25616 wxTimeSpan * resultptr;
32fe5131 25617 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25619 }
25620 return resultobj;
25621 fail:
25622 return NULL;
25623}
25624
25625
c370783e 25626static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25627 PyObject *resultobj = NULL;
d55e5bfc
RD
25628 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25629 wxTimeSpan *arg2 = 0 ;
25630 wxTimeSpan *result;
25631 PyObject * obj0 = 0 ;
25632 PyObject * obj1 = 0 ;
25633 char *kwnames[] = {
25634 (char *) "self",(char *) "diff", NULL
25635 };
25636
25637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25639 if (SWIG_arg_fail(1)) SWIG_fail;
25640 {
25641 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25642 if (SWIG_arg_fail(2)) SWIG_fail;
25643 if (arg2 == NULL) {
25644 SWIG_null_ref("wxTimeSpan");
25645 }
25646 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25647 }
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 {
25651 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
25652 result = (wxTimeSpan *) &_result_ref;
25653 }
25654
25655 wxPyEndAllowThreads(__tstate);
25656 if (PyErr_Occurred()) SWIG_fail;
25657 }
c370783e 25658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25659 return resultobj;
25660 fail:
25661 return NULL;
25662}
25663
25664
c370783e 25665static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25666 PyObject *resultobj = NULL;
d55e5bfc
RD
25667 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25668 wxTimeSpan *arg2 = 0 ;
25669 wxTimeSpan *result;
25670 PyObject * obj0 = 0 ;
25671 PyObject * obj1 = 0 ;
25672 char *kwnames[] = {
25673 (char *) "self",(char *) "diff", NULL
25674 };
25675
25676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25678 if (SWIG_arg_fail(1)) SWIG_fail;
25679 {
25680 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25681 if (SWIG_arg_fail(2)) SWIG_fail;
25682 if (arg2 == NULL) {
25683 SWIG_null_ref("wxTimeSpan");
25684 }
25685 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25686 }
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
25689 {
25690 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
25691 result = (wxTimeSpan *) &_result_ref;
25692 }
25693
25694 wxPyEndAllowThreads(__tstate);
25695 if (PyErr_Occurred()) SWIG_fail;
25696 }
c370783e 25697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25698 return resultobj;
25699 fail:
25700 return NULL;
25701}
25702
25703
c370783e 25704static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25705 PyObject *resultobj = NULL;
d55e5bfc
RD
25706 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25707 int arg2 ;
25708 wxTimeSpan *result;
25709 PyObject * obj0 = 0 ;
25710 PyObject * obj1 = 0 ;
25711 char *kwnames[] = {
25712 (char *) "self",(char *) "n", NULL
25713 };
25714
25715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25717 if (SWIG_arg_fail(1)) SWIG_fail;
25718 {
32fe5131 25719 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25720 if (SWIG_arg_fail(2)) SWIG_fail;
25721 }
d55e5bfc
RD
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 {
25725 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
25726 result = (wxTimeSpan *) &_result_ref;
25727 }
25728
25729 wxPyEndAllowThreads(__tstate);
25730 if (PyErr_Occurred()) SWIG_fail;
25731 }
c370783e 25732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
d55e5bfc
RD
25733 return resultobj;
25734 fail:
25735 return NULL;
25736}
25737
25738
c370783e 25739static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25740 PyObject *resultobj = NULL;
d55e5bfc
RD
25741 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25742 wxTimeSpan *result;
25743 PyObject * obj0 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
36ed4f51
RD
25749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 {
25754 wxTimeSpan &_result_ref = (arg1)->operator -();
25755 result = (wxTimeSpan *) &_result_ref;
25756 }
25757
25758 wxPyEndAllowThreads(__tstate);
25759 if (PyErr_Occurred()) SWIG_fail;
25760 }
25761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
25762 return resultobj;
25763 fail:
25764 return NULL;
25765}
25766
25767
c370783e 25768static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25769 PyObject *resultobj = NULL;
d55e5bfc
RD
25770 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25771 wxTimeSpan *arg2 = 0 ;
25772 wxTimeSpan result;
25773 PyObject * obj0 = 0 ;
25774 PyObject * obj1 = 0 ;
25775 char *kwnames[] = {
25776 (char *) "self",(char *) "other", NULL
25777 };
25778
25779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25781 if (SWIG_arg_fail(1)) SWIG_fail;
25782 {
25783 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25784 if (SWIG_arg_fail(2)) SWIG_fail;
25785 if (arg2 == NULL) {
25786 SWIG_null_ref("wxTimeSpan");
25787 }
25788 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25789 }
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
25793
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 {
25798 wxTimeSpan * resultptr;
32fe5131 25799 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25801 }
25802 return resultobj;
25803 fail:
25804 return NULL;
25805}
25806
25807
c370783e 25808static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25809 PyObject *resultobj = NULL;
d55e5bfc
RD
25810 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25811 wxTimeSpan *arg2 = 0 ;
25812 wxTimeSpan result;
25813 PyObject * obj0 = 0 ;
25814 PyObject * obj1 = 0 ;
25815 char *kwnames[] = {
25816 (char *) "self",(char *) "other", NULL
25817 };
25818
25819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25821 if (SWIG_arg_fail(1)) SWIG_fail;
25822 {
25823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25824 if (SWIG_arg_fail(2)) SWIG_fail;
25825 if (arg2 == NULL) {
25826 SWIG_null_ref("wxTimeSpan");
25827 }
25828 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25829 }
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
25833
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
25837 {
25838 wxTimeSpan * resultptr;
32fe5131 25839 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25840 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25841 }
25842 return resultobj;
25843 fail:
25844 return NULL;
25845}
25846
25847
c370783e 25848static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25849 PyObject *resultobj = NULL;
d55e5bfc
RD
25850 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25851 int arg2 ;
25852 wxTimeSpan result;
25853 PyObject * obj0 = 0 ;
25854 PyObject * obj1 = 0 ;
25855 char *kwnames[] = {
25856 (char *) "self",(char *) "n", NULL
25857 };
25858
25859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25861 if (SWIG_arg_fail(1)) SWIG_fail;
25862 {
32fe5131 25863 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25864 if (SWIG_arg_fail(2)) SWIG_fail;
25865 }
d55e5bfc
RD
25866 {
25867 PyThreadState* __tstate = wxPyBeginAllowThreads();
25868 result = wxTimeSpan___mul__(arg1,arg2);
25869
25870 wxPyEndAllowThreads(__tstate);
25871 if (PyErr_Occurred()) SWIG_fail;
25872 }
25873 {
25874 wxTimeSpan * resultptr;
32fe5131 25875 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25876 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25877 }
25878 return resultobj;
25879 fail:
25880 return NULL;
25881}
25882
25883
c370783e 25884static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25885 PyObject *resultobj = NULL;
d55e5bfc
RD
25886 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25887 int arg2 ;
25888 wxTimeSpan result;
25889 PyObject * obj0 = 0 ;
25890 PyObject * obj1 = 0 ;
25891 char *kwnames[] = {
25892 (char *) "self",(char *) "n", NULL
25893 };
25894
25895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail;
25898 {
32fe5131 25899 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
25900 if (SWIG_arg_fail(2)) SWIG_fail;
25901 }
d55e5bfc
RD
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 result = wxTimeSpan___rmul__(arg1,arg2);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 {
25910 wxTimeSpan * resultptr;
32fe5131 25911 resultptr = new wxTimeSpan(static_cast<wxTimeSpan & >(result));
d55e5bfc
RD
25912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
25913 }
25914 return resultobj;
25915 fail:
25916 return NULL;
25917}
25918
25919
c370783e 25920static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25921 PyObject *resultobj = NULL;
d55e5bfc
RD
25922 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25923 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25924 bool result;
25925 PyObject * obj0 = 0 ;
25926 PyObject * obj1 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "other", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail;
25934 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25935 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25936 {
25937 PyThreadState* __tstate = wxPyBeginAllowThreads();
25938 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
25939
25940 wxPyEndAllowThreads(__tstate);
25941 if (PyErr_Occurred()) SWIG_fail;
25942 }
25943 {
25944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25945 }
25946 return resultobj;
25947 fail:
25948 return NULL;
25949}
25950
25951
c370783e 25952static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25953 PyObject *resultobj = NULL;
d55e5bfc
RD
25954 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25955 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25956 bool result;
25957 PyObject * obj0 = 0 ;
25958 PyObject * obj1 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "other", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail;
25966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25967 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
25971
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 {
25976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25977 }
25978 return resultobj;
25979 fail:
25980 return NULL;
25981}
25982
25983
c370783e 25984static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 25985 PyObject *resultobj = NULL;
d55e5bfc
RD
25986 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25987 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
25988 bool result;
25989 PyObject * obj0 = 0 ;
25990 PyObject * obj1 = 0 ;
25991 char *kwnames[] = {
25992 (char *) "self",(char *) "other", NULL
25993 };
25994
25995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail;
25998 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25999 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26000 {
26001 PyThreadState* __tstate = wxPyBeginAllowThreads();
26002 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
26003
26004 wxPyEndAllowThreads(__tstate);
26005 if (PyErr_Occurred()) SWIG_fail;
26006 }
26007 {
26008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26009 }
26010 return resultobj;
26011 fail:
26012 return NULL;
26013}
26014
26015
c370783e 26016static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26017 PyObject *resultobj = NULL;
d55e5bfc
RD
26018 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26019 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26020 bool result;
26021 PyObject * obj0 = 0 ;
26022 PyObject * obj1 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self",(char *) "other", NULL
26025 };
26026
26027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26029 if (SWIG_arg_fail(1)) SWIG_fail;
26030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26031 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 {
26040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26041 }
26042 return resultobj;
26043 fail:
26044 return NULL;
26045}
26046
26047
c370783e 26048static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26049 PyObject *resultobj = NULL;
d55e5bfc
RD
26050 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26051 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26052 bool result;
26053 PyObject * obj0 = 0 ;
26054 PyObject * obj1 = 0 ;
26055 char *kwnames[] = {
26056 (char *) "self",(char *) "other", NULL
26057 };
26058
26059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26060 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26061 if (SWIG_arg_fail(1)) SWIG_fail;
26062 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26063 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 {
26072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26073 }
26074 return resultobj;
26075 fail:
26076 return NULL;
26077}
26078
26079
c370783e 26080static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26081 PyObject *resultobj = NULL;
d55e5bfc
RD
26082 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26083 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
26084 bool result;
26085 PyObject * obj0 = 0 ;
26086 PyObject * obj1 = 0 ;
26087 char *kwnames[] = {
26088 (char *) "self",(char *) "other", NULL
26089 };
26090
26091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26093 if (SWIG_arg_fail(1)) SWIG_fail;
26094 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26095 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26096 {
26097 PyThreadState* __tstate = wxPyBeginAllowThreads();
26098 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
26099
26100 wxPyEndAllowThreads(__tstate);
26101 if (PyErr_Occurred()) SWIG_fail;
26102 }
26103 {
26104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26105 }
26106 return resultobj;
26107 fail:
26108 return NULL;
26109}
26110
26111
c370783e 26112static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26113 PyObject *resultobj = NULL;
d55e5bfc
RD
26114 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26115 bool result;
26116 PyObject * obj0 = 0 ;
26117 char *kwnames[] = {
26118 (char *) "self", NULL
26119 };
26120
26121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
36ed4f51
RD
26122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26123 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26124 {
26125 PyThreadState* __tstate = wxPyBeginAllowThreads();
26126 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
26127
26128 wxPyEndAllowThreads(__tstate);
26129 if (PyErr_Occurred()) SWIG_fail;
26130 }
26131 {
26132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26133 }
26134 return resultobj;
26135 fail:
26136 return NULL;
26137}
26138
26139
c370783e 26140static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26141 PyObject *resultobj = NULL;
d55e5bfc
RD
26142 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26143 bool result;
26144 PyObject * obj0 = 0 ;
26145 char *kwnames[] = {
26146 (char *) "self", NULL
26147 };
26148
26149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
36ed4f51
RD
26150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26151 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
26155
26156 wxPyEndAllowThreads(__tstate);
26157 if (PyErr_Occurred()) SWIG_fail;
26158 }
26159 {
26160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26161 }
26162 return resultobj;
26163 fail:
26164 return NULL;
26165}
26166
26167
c370783e 26168static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26169 PyObject *resultobj = NULL;
d55e5bfc
RD
26170 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26171 bool result;
26172 PyObject * obj0 = 0 ;
26173 char *kwnames[] = {
26174 (char *) "self", NULL
26175 };
26176
26177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
36ed4f51
RD
26178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26179 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 {
26188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26189 }
26190 return resultobj;
26191 fail:
26192 return NULL;
26193}
26194
26195
c370783e 26196static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26197 PyObject *resultobj = NULL;
d55e5bfc
RD
26198 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26199 wxTimeSpan *arg2 = 0 ;
26200 bool result;
26201 PyObject * obj0 = 0 ;
26202 PyObject * obj1 = 0 ;
26203 char *kwnames[] = {
26204 (char *) "self",(char *) "ts", NULL
26205 };
26206
26207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26209 if (SWIG_arg_fail(1)) SWIG_fail;
26210 {
26211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26212 if (SWIG_arg_fail(2)) SWIG_fail;
26213 if (arg2 == NULL) {
26214 SWIG_null_ref("wxTimeSpan");
26215 }
26216 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26217 }
26218 {
26219 PyThreadState* __tstate = wxPyBeginAllowThreads();
26220 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
26221
26222 wxPyEndAllowThreads(__tstate);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 {
26226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26227 }
26228 return resultobj;
26229 fail:
26230 return NULL;
26231}
26232
26233
c370783e 26234static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26235 PyObject *resultobj = NULL;
d55e5bfc
RD
26236 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26237 wxTimeSpan *arg2 = 0 ;
26238 bool result;
26239 PyObject * obj0 = 0 ;
26240 PyObject * obj1 = 0 ;
26241 char *kwnames[] = {
26242 (char *) "self",(char *) "ts", NULL
26243 };
26244
26245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26247 if (SWIG_arg_fail(1)) SWIG_fail;
26248 {
26249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26250 if (SWIG_arg_fail(2)) SWIG_fail;
26251 if (arg2 == NULL) {
26252 SWIG_null_ref("wxTimeSpan");
26253 }
26254 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26255 }
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 {
26264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26265 }
26266 return resultobj;
26267 fail:
26268 return NULL;
26269}
26270
26271
c370783e 26272static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26273 PyObject *resultobj = NULL;
d55e5bfc
RD
26274 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26275 wxTimeSpan *arg2 = 0 ;
26276 bool result;
26277 PyObject * obj0 = 0 ;
26278 PyObject * obj1 = 0 ;
26279 char *kwnames[] = {
26280 (char *) "self",(char *) "t", NULL
26281 };
26282
26283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail;
26286 {
26287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26288 if (SWIG_arg_fail(2)) SWIG_fail;
26289 if (arg2 == NULL) {
26290 SWIG_null_ref("wxTimeSpan");
26291 }
26292 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
26293 }
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 {
26302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26303 }
26304 return resultobj;
26305 fail:
26306 return NULL;
26307}
26308
26309
c370783e 26310static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26311 PyObject *resultobj = NULL;
d55e5bfc
RD
26312 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26313 int result;
26314 PyObject * obj0 = 0 ;
26315 char *kwnames[] = {
26316 (char *) "self", NULL
26317 };
26318
26319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
36ed4f51
RD
26320 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
26325
26326 wxPyEndAllowThreads(__tstate);
26327 if (PyErr_Occurred()) SWIG_fail;
26328 }
36ed4f51 26329 {
32fe5131 26330 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26331 }
d55e5bfc
RD
26332 return resultobj;
26333 fail:
26334 return NULL;
26335}
26336
26337
c370783e 26338static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26339 PyObject *resultobj = NULL;
d55e5bfc
RD
26340 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26341 int result;
26342 PyObject * obj0 = 0 ;
26343 char *kwnames[] = {
26344 (char *) "self", NULL
26345 };
26346
26347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
36ed4f51
RD
26348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26349 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (int)((wxTimeSpan const *)arg1)->GetDays();
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
36ed4f51 26357 {
32fe5131 26358 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26359 }
d55e5bfc
RD
26360 return resultobj;
26361 fail:
26362 return NULL;
26363}
26364
26365
c370783e 26366static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26367 PyObject *resultobj = NULL;
d55e5bfc
RD
26368 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26369 int result;
26370 PyObject * obj0 = 0 ;
26371 char *kwnames[] = {
26372 (char *) "self", NULL
26373 };
26374
26375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
36ed4f51
RD
26376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 result = (int)((wxTimeSpan const *)arg1)->GetHours();
26381
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
36ed4f51 26385 {
32fe5131 26386 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26387 }
d55e5bfc
RD
26388 return resultobj;
26389 fail:
26390 return NULL;
26391}
26392
26393
c370783e 26394static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26395 PyObject *resultobj = NULL;
d55e5bfc
RD
26396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26397 int result;
26398 PyObject * obj0 = 0 ;
26399 char *kwnames[] = {
26400 (char *) "self", NULL
26401 };
26402
26403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
36ed4f51
RD
26404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26405 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
36ed4f51 26413 {
32fe5131 26414 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 26415 }
d55e5bfc
RD
26416 return resultobj;
26417 fail:
26418 return NULL;
26419}
26420
26421
c370783e 26422static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26423 PyObject *resultobj = NULL;
d55e5bfc
RD
26424 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26425 wxLongLong result;
26426 PyObject * obj0 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
36ed4f51
RD
26432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26433 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = ((wxTimeSpan const *)arg1)->GetSeconds();
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 {
26442 PyObject *hi, *lo, *shifter, *shifted;
26443 hi = PyLong_FromLong( (&result)->GetHi() );
26444 lo = PyLong_FromLong( (&result)->GetLo() );
26445 shifter = PyLong_FromLong(32);
26446 shifted = PyNumber_Lshift(hi, shifter);
26447 resultobj = PyNumber_Or(shifted, lo);
26448 Py_DECREF(hi);
26449 Py_DECREF(lo);
26450 Py_DECREF(shifter);
26451 Py_DECREF(shifted);
26452 }
26453 return resultobj;
26454 fail:
26455 return NULL;
26456}
26457
26458
c370783e 26459static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26460 PyObject *resultobj = NULL;
d55e5bfc
RD
26461 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
26462 wxLongLong result;
26463 PyObject * obj0 = 0 ;
26464 char *kwnames[] = {
26465 (char *) "self", NULL
26466 };
26467
26468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
36ed4f51
RD
26469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
26474
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 {
26479 PyObject *hi, *lo, *shifter, *shifted;
26480 hi = PyLong_FromLong( (&result)->GetHi() );
26481 lo = PyLong_FromLong( (&result)->GetLo() );
26482 shifter = PyLong_FromLong(32);
26483 shifted = PyNumber_Lshift(hi, shifter);
26484 resultobj = PyNumber_Or(shifted, lo);
26485 Py_DECREF(hi);
26486 Py_DECREF(lo);
26487 Py_DECREF(shifter);
26488 Py_DECREF(shifted);
26489 }
26490 return resultobj;
26491 fail:
26492 return NULL;
26493}
26494
26495
c370783e 26496static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26497 PyObject *resultobj = NULL;
d55e5bfc 26498 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
fef4c27a 26499 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
d55e5bfc
RD
26500 wxString *arg2 = (wxString *) &arg2_defvalue ;
26501 wxString result;
b411df4a 26502 bool temp2 = false ;
d55e5bfc
RD
26503 PyObject * obj0 = 0 ;
26504 PyObject * obj1 = 0 ;
26505 char *kwnames[] = {
26506 (char *) "self",(char *) "format", NULL
26507 };
26508
26509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26512 if (obj1) {
26513 {
26514 arg2 = wxString_in_helper(obj1);
26515 if (arg2 == NULL) SWIG_fail;
b411df4a 26516 temp2 = true;
d55e5bfc
RD
26517 }
26518 }
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
26522
26523 wxPyEndAllowThreads(__tstate);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 }
26526 {
26527#if wxUSE_UNICODE
26528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26529#else
26530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26531#endif
26532 }
26533 {
26534 if (temp2)
26535 delete arg2;
26536 }
26537 return resultobj;
26538 fail:
26539 {
26540 if (temp2)
26541 delete arg2;
26542 }
26543 return NULL;
26544}
26545
26546
c370783e 26547static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26548 PyObject *obj;
26549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26550 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
26551 Py_INCREF(obj);
26552 return Py_BuildValue((char *)"");
26553}
c370783e 26554static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26555 PyObject *resultobj = NULL;
d55e5bfc
RD
26556 int arg1 = (int) 0 ;
26557 int arg2 = (int) 0 ;
26558 int arg3 = (int) 0 ;
26559 int arg4 = (int) 0 ;
26560 wxDateSpan *result;
26561 PyObject * obj0 = 0 ;
26562 PyObject * obj1 = 0 ;
26563 PyObject * obj2 = 0 ;
26564 PyObject * obj3 = 0 ;
26565 char *kwnames[] = {
26566 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
26567 };
26568
26569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26570 if (obj0) {
36ed4f51 26571 {
32fe5131 26572 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
26573 if (SWIG_arg_fail(1)) SWIG_fail;
26574 }
d55e5bfc
RD
26575 }
26576 if (obj1) {
36ed4f51 26577 {
32fe5131 26578 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26579 if (SWIG_arg_fail(2)) SWIG_fail;
26580 }
d55e5bfc
RD
26581 }
26582 if (obj2) {
36ed4f51 26583 {
32fe5131 26584 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
26585 if (SWIG_arg_fail(3)) SWIG_fail;
26586 }
d55e5bfc
RD
26587 }
26588 if (obj3) {
36ed4f51 26589 {
32fe5131 26590 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
26591 if (SWIG_arg_fail(4)) SWIG_fail;
26592 }
d55e5bfc
RD
26593 }
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
26602 return resultobj;
26603 fail:
26604 return NULL;
26605}
26606
26607
c370783e 26608static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26609 PyObject *resultobj = NULL;
d55e5bfc
RD
26610 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26611 PyObject * obj0 = 0 ;
26612 char *kwnames[] = {
26613 (char *) "self", NULL
26614 };
26615
26616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
36ed4f51
RD
26617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26618 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26619 {
26620 PyThreadState* __tstate = wxPyBeginAllowThreads();
26621 delete arg1;
26622
26623 wxPyEndAllowThreads(__tstate);
26624 if (PyErr_Occurred()) SWIG_fail;
26625 }
26626 Py_INCREF(Py_None); resultobj = Py_None;
26627 return resultobj;
26628 fail:
26629 return NULL;
26630}
26631
26632
c370783e 26633static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26634 PyObject *resultobj = NULL;
d55e5bfc
RD
26635 int arg1 ;
26636 wxDateSpan result;
26637 PyObject * obj0 = 0 ;
26638 char *kwnames[] = {
26639 (char *) "days", NULL
26640 };
26641
26642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
36ed4f51 26643 {
32fe5131 26644 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
26645 if (SWIG_arg_fail(1)) SWIG_fail;
26646 }
d55e5bfc
RD
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 result = wxDateSpan::Days(arg1);
26650
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 {
26655 wxDateSpan * resultptr;
32fe5131 26656 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26657 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26658 }
26659 return resultobj;
26660 fail:
26661 return NULL;
26662}
26663
26664
c370783e 26665static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26666 PyObject *resultobj = NULL;
d55e5bfc
RD
26667 wxDateSpan result;
26668 char *kwnames[] = {
26669 NULL
26670 };
26671
26672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
26673 {
26674 PyThreadState* __tstate = wxPyBeginAllowThreads();
26675 result = wxDateSpan::Day();
26676
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 {
26681 wxDateSpan * resultptr;
32fe5131 26682 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26684 }
26685 return resultobj;
26686 fail:
26687 return NULL;
26688}
26689
26690
c370783e 26691static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26692 PyObject *resultobj = NULL;
d55e5bfc
RD
26693 int arg1 ;
26694 wxDateSpan result;
26695 PyObject * obj0 = 0 ;
26696 char *kwnames[] = {
26697 (char *) "weeks", NULL
26698 };
26699
26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
36ed4f51 26701 {
32fe5131 26702 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
26703 if (SWIG_arg_fail(1)) SWIG_fail;
26704 }
d55e5bfc
RD
26705 {
26706 PyThreadState* __tstate = wxPyBeginAllowThreads();
26707 result = wxDateSpan::Weeks(arg1);
26708
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 {
26713 wxDateSpan * resultptr;
32fe5131 26714 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26716 }
26717 return resultobj;
26718 fail:
26719 return NULL;
26720}
26721
26722
c370783e 26723static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26724 PyObject *resultobj = NULL;
d55e5bfc
RD
26725 wxDateSpan result;
26726 char *kwnames[] = {
26727 NULL
26728 };
26729
26730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
26731 {
26732 PyThreadState* __tstate = wxPyBeginAllowThreads();
26733 result = wxDateSpan::Week();
26734
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 {
26739 wxDateSpan * resultptr;
32fe5131 26740 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26742 }
26743 return resultobj;
26744 fail:
26745 return NULL;
26746}
26747
26748
c370783e 26749static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26750 PyObject *resultobj = NULL;
d55e5bfc
RD
26751 int arg1 ;
26752 wxDateSpan result;
26753 PyObject * obj0 = 0 ;
26754 char *kwnames[] = {
26755 (char *) "mon", NULL
26756 };
26757
26758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
36ed4f51 26759 {
32fe5131 26760 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
26761 if (SWIG_arg_fail(1)) SWIG_fail;
26762 }
d55e5bfc
RD
26763 {
26764 PyThreadState* __tstate = wxPyBeginAllowThreads();
26765 result = wxDateSpan::Months(arg1);
26766
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 {
26771 wxDateSpan * resultptr;
32fe5131 26772 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26774 }
26775 return resultobj;
26776 fail:
26777 return NULL;
26778}
26779
26780
c370783e 26781static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26782 PyObject *resultobj = NULL;
d55e5bfc
RD
26783 wxDateSpan result;
26784 char *kwnames[] = {
26785 NULL
26786 };
26787
26788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
26789 {
26790 PyThreadState* __tstate = wxPyBeginAllowThreads();
26791 result = wxDateSpan::Month();
26792
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 {
26797 wxDateSpan * resultptr;
32fe5131 26798 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26800 }
26801 return resultobj;
26802 fail:
26803 return NULL;
26804}
26805
26806
c370783e 26807static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26808 PyObject *resultobj = NULL;
d55e5bfc
RD
26809 int arg1 ;
26810 wxDateSpan result;
26811 PyObject * obj0 = 0 ;
26812 char *kwnames[] = {
26813 (char *) "years", NULL
26814 };
26815
26816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
36ed4f51 26817 {
32fe5131 26818 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
26819 if (SWIG_arg_fail(1)) SWIG_fail;
26820 }
d55e5bfc
RD
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 result = wxDateSpan::Years(arg1);
26824
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 {
26829 wxDateSpan * resultptr;
32fe5131 26830 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26831 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26832 }
26833 return resultobj;
26834 fail:
26835 return NULL;
26836}
26837
26838
c370783e 26839static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26840 PyObject *resultobj = NULL;
d55e5bfc
RD
26841 wxDateSpan result;
26842 char *kwnames[] = {
26843 NULL
26844 };
26845
26846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
26847 {
26848 PyThreadState* __tstate = wxPyBeginAllowThreads();
26849 result = wxDateSpan::Year();
26850
26851 wxPyEndAllowThreads(__tstate);
26852 if (PyErr_Occurred()) SWIG_fail;
26853 }
26854 {
26855 wxDateSpan * resultptr;
32fe5131 26856 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
26857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26858 }
26859 return resultobj;
26860 fail:
26861 return NULL;
26862}
26863
26864
c370783e 26865static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26866 PyObject *resultobj = NULL;
d55e5bfc
RD
26867 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26868 int arg2 ;
26869 wxDateSpan *result;
26870 PyObject * obj0 = 0 ;
26871 PyObject * obj1 = 0 ;
26872 char *kwnames[] = {
26873 (char *) "self",(char *) "n", NULL
26874 };
26875
26876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26878 if (SWIG_arg_fail(1)) SWIG_fail;
26879 {
32fe5131 26880 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26881 if (SWIG_arg_fail(2)) SWIG_fail;
26882 }
d55e5bfc
RD
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 {
26886 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
26887 result = (wxDateSpan *) &_result_ref;
26888 }
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26894 return resultobj;
26895 fail:
26896 return NULL;
26897}
26898
26899
c370783e 26900static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26901 PyObject *resultobj = NULL;
d55e5bfc
RD
26902 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26903 int arg2 ;
26904 wxDateSpan *result;
26905 PyObject * obj0 = 0 ;
26906 PyObject * obj1 = 0 ;
26907 char *kwnames[] = {
26908 (char *) "self",(char *) "n", NULL
26909 };
26910
26911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26913 if (SWIG_arg_fail(1)) SWIG_fail;
26914 {
32fe5131 26915 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26916 if (SWIG_arg_fail(2)) SWIG_fail;
26917 }
d55e5bfc
RD
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 {
26921 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
26922 result = (wxDateSpan *) &_result_ref;
26923 }
26924
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26929 return resultobj;
26930 fail:
26931 return NULL;
26932}
26933
26934
c370783e 26935static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26936 PyObject *resultobj = NULL;
d55e5bfc
RD
26937 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26938 int arg2 ;
26939 wxDateSpan *result;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
26942 char *kwnames[] = {
26943 (char *) "self",(char *) "n", NULL
26944 };
26945
26946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26948 if (SWIG_arg_fail(1)) SWIG_fail;
26949 {
32fe5131 26950 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26951 if (SWIG_arg_fail(2)) SWIG_fail;
26952 }
d55e5bfc
RD
26953 {
26954 PyThreadState* __tstate = wxPyBeginAllowThreads();
26955 {
26956 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
26957 result = (wxDateSpan *) &_result_ref;
26958 }
26959
26960 wxPyEndAllowThreads(__tstate);
26961 if (PyErr_Occurred()) SWIG_fail;
26962 }
26963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26964 return resultobj;
26965 fail:
26966 return NULL;
26967}
26968
26969
c370783e 26970static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 26971 PyObject *resultobj = NULL;
d55e5bfc
RD
26972 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26973 int arg2 ;
26974 wxDateSpan *result;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 char *kwnames[] = {
26978 (char *) "self",(char *) "n", NULL
26979 };
26980
26981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26983 if (SWIG_arg_fail(1)) SWIG_fail;
26984 {
32fe5131 26985 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
26986 if (SWIG_arg_fail(2)) SWIG_fail;
26987 }
d55e5bfc
RD
26988 {
26989 PyThreadState* __tstate = wxPyBeginAllowThreads();
26990 {
26991 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
26992 result = (wxDateSpan *) &_result_ref;
26993 }
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26999 return resultobj;
27000 fail:
27001 return NULL;
27002}
27003
27004
c370783e 27005static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27006 PyObject *resultobj = NULL;
d55e5bfc
RD
27007 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27008 int result;
27009 PyObject * obj0 = 0 ;
27010 char *kwnames[] = {
27011 (char *) "self", NULL
27012 };
27013
27014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
36ed4f51
RD
27015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27016 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
27019 result = (int)((wxDateSpan const *)arg1)->GetYears();
27020
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
36ed4f51 27024 {
32fe5131 27025 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 27026 }
d55e5bfc
RD
27027 return resultobj;
27028 fail:
27029 return NULL;
27030}
27031
27032
c370783e 27033static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27034 PyObject *resultobj = NULL;
d55e5bfc
RD
27035 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27036 int result;
27037 PyObject * obj0 = 0 ;
27038 char *kwnames[] = {
27039 (char *) "self", NULL
27040 };
27041
27042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
36ed4f51
RD
27043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27044 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 result = (int)((wxDateSpan const *)arg1)->GetMonths();
27048
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
36ed4f51 27052 {
32fe5131 27053 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 27054 }
d55e5bfc
RD
27055 return resultobj;
27056 fail:
27057 return NULL;
27058}
27059
27060
c370783e 27061static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27062 PyObject *resultobj = NULL;
d55e5bfc
RD
27063 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27064 int result;
27065 PyObject * obj0 = 0 ;
27066 char *kwnames[] = {
27067 (char *) "self", NULL
27068 };
27069
27070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
36ed4f51
RD
27071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27072 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
27076
27077 wxPyEndAllowThreads(__tstate);
27078 if (PyErr_Occurred()) SWIG_fail;
27079 }
36ed4f51 27080 {
32fe5131 27081 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 27082 }
d55e5bfc
RD
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
c370783e 27089static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27090 PyObject *resultobj = NULL;
d55e5bfc
RD
27091 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27092 int result;
27093 PyObject * obj0 = 0 ;
27094 char *kwnames[] = {
27095 (char *) "self", NULL
27096 };
27097
27098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
36ed4f51
RD
27099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27100 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (int)((wxDateSpan const *)arg1)->GetDays();
27104
27105 wxPyEndAllowThreads(__tstate);
27106 if (PyErr_Occurred()) SWIG_fail;
27107 }
36ed4f51 27108 {
32fe5131 27109 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 27110 }
d55e5bfc
RD
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
c370783e 27117static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27118 PyObject *resultobj = NULL;
d55e5bfc
RD
27119 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27120 int result;
27121 PyObject * obj0 = 0 ;
27122 char *kwnames[] = {
27123 (char *) "self", NULL
27124 };
27125
27126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
36ed4f51
RD
27127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
27132
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
36ed4f51 27136 {
32fe5131 27137 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 27138 }
d55e5bfc
RD
27139 return resultobj;
27140 fail:
27141 return NULL;
27142}
27143
27144
c370783e 27145static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27146 PyObject *resultobj = NULL;
d55e5bfc
RD
27147 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27148 wxDateSpan *arg2 = 0 ;
27149 wxDateSpan *result;
27150 PyObject * obj0 = 0 ;
27151 PyObject * obj1 = 0 ;
27152 char *kwnames[] = {
27153 (char *) "self",(char *) "other", NULL
27154 };
27155
27156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27158 if (SWIG_arg_fail(1)) SWIG_fail;
27159 {
27160 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27161 if (SWIG_arg_fail(2)) SWIG_fail;
27162 if (arg2 == NULL) {
27163 SWIG_null_ref("wxDateSpan");
27164 }
27165 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27166 }
27167 {
27168 PyThreadState* __tstate = wxPyBeginAllowThreads();
27169 {
27170 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
27171 result = (wxDateSpan *) &_result_ref;
27172 }
27173
27174 wxPyEndAllowThreads(__tstate);
27175 if (PyErr_Occurred()) SWIG_fail;
27176 }
27177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27178 return resultobj;
27179 fail:
27180 return NULL;
27181}
27182
27183
c370783e 27184static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27185 PyObject *resultobj = NULL;
d55e5bfc
RD
27186 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27187 wxDateSpan *arg2 = 0 ;
27188 wxDateSpan *result;
27189 PyObject * obj0 = 0 ;
27190 PyObject * obj1 = 0 ;
27191 char *kwnames[] = {
27192 (char *) "self",(char *) "other", NULL
27193 };
27194
27195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27197 if (SWIG_arg_fail(1)) SWIG_fail;
27198 {
27199 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27200 if (SWIG_arg_fail(2)) SWIG_fail;
27201 if (arg2 == NULL) {
27202 SWIG_null_ref("wxDateSpan");
27203 }
27204 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27205 }
27206 {
27207 PyThreadState* __tstate = wxPyBeginAllowThreads();
27208 {
27209 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
27210 result = (wxDateSpan *) &_result_ref;
27211 }
27212
27213 wxPyEndAllowThreads(__tstate);
27214 if (PyErr_Occurred()) SWIG_fail;
27215 }
27216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27217 return resultobj;
27218 fail:
27219 return NULL;
27220}
27221
27222
c370783e 27223static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27224 PyObject *resultobj = NULL;
d55e5bfc
RD
27225 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27226 wxDateSpan *result;
27227 PyObject * obj0 = 0 ;
27228 char *kwnames[] = {
27229 (char *) "self", NULL
27230 };
27231
27232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
36ed4f51
RD
27233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27234 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27235 {
27236 PyThreadState* __tstate = wxPyBeginAllowThreads();
27237 {
27238 wxDateSpan &_result_ref = (arg1)->Neg();
27239 result = (wxDateSpan *) &_result_ref;
27240 }
27241
27242 wxPyEndAllowThreads(__tstate);
27243 if (PyErr_Occurred()) SWIG_fail;
27244 }
27245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27246 return resultobj;
27247 fail:
27248 return NULL;
27249}
27250
27251
c370783e 27252static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27253 PyObject *resultobj = NULL;
d55e5bfc
RD
27254 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27255 int arg2 ;
27256 wxDateSpan *result;
27257 PyObject * obj0 = 0 ;
27258 PyObject * obj1 = 0 ;
27259 char *kwnames[] = {
27260 (char *) "self",(char *) "factor", NULL
27261 };
27262
27263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27264 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27265 if (SWIG_arg_fail(1)) SWIG_fail;
27266 {
32fe5131 27267 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27268 if (SWIG_arg_fail(2)) SWIG_fail;
27269 }
d55e5bfc
RD
27270 {
27271 PyThreadState* __tstate = wxPyBeginAllowThreads();
27272 {
27273 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
27274 result = (wxDateSpan *) &_result_ref;
27275 }
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27281 return resultobj;
27282 fail:
27283 return NULL;
27284}
27285
27286
c370783e 27287static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27288 PyObject *resultobj = NULL;
d55e5bfc
RD
27289 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27290 wxDateSpan *arg2 = 0 ;
27291 wxDateSpan *result;
27292 PyObject * obj0 = 0 ;
27293 PyObject * obj1 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "self",(char *) "other", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27300 if (SWIG_arg_fail(1)) SWIG_fail;
27301 {
27302 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27303 if (SWIG_arg_fail(2)) SWIG_fail;
27304 if (arg2 == NULL) {
27305 SWIG_null_ref("wxDateSpan");
27306 }
27307 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27308 }
27309 {
27310 PyThreadState* __tstate = wxPyBeginAllowThreads();
27311 {
27312 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
27313 result = (wxDateSpan *) &_result_ref;
27314 }
27315
27316 wxPyEndAllowThreads(__tstate);
27317 if (PyErr_Occurred()) SWIG_fail;
27318 }
c370783e 27319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27320 return resultobj;
27321 fail:
27322 return NULL;
27323}
27324
27325
c370783e 27326static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27327 PyObject *resultobj = NULL;
d55e5bfc
RD
27328 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27329 wxDateSpan *arg2 = 0 ;
27330 wxDateSpan *result;
27331 PyObject * obj0 = 0 ;
27332 PyObject * obj1 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self",(char *) "other", NULL
27335 };
27336
27337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27339 if (SWIG_arg_fail(1)) SWIG_fail;
27340 {
27341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27342 if (SWIG_arg_fail(2)) SWIG_fail;
27343 if (arg2 == NULL) {
27344 SWIG_null_ref("wxDateSpan");
27345 }
27346 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27347 }
27348 {
27349 PyThreadState* __tstate = wxPyBeginAllowThreads();
27350 {
27351 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
27352 result = (wxDateSpan *) &_result_ref;
27353 }
27354
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
c370783e 27358 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27359 return resultobj;
27360 fail:
27361 return NULL;
27362}
27363
27364
c370783e 27365static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27366 PyObject *resultobj = NULL;
d55e5bfc
RD
27367 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27368 wxDateSpan *result;
27369 PyObject * obj0 = 0 ;
27370 char *kwnames[] = {
27371 (char *) "self", NULL
27372 };
27373
27374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
36ed4f51
RD
27375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27376 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27377 {
27378 PyThreadState* __tstate = wxPyBeginAllowThreads();
27379 {
27380 wxDateSpan &_result_ref = (arg1)->operator -();
27381 result = (wxDateSpan *) &_result_ref;
27382 }
27383
27384 wxPyEndAllowThreads(__tstate);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
27388 return resultobj;
27389 fail:
27390 return NULL;
27391}
27392
27393
c370783e 27394static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27395 PyObject *resultobj = NULL;
d55e5bfc
RD
27396 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27397 int arg2 ;
27398 wxDateSpan *result;
27399 PyObject * obj0 = 0 ;
27400 PyObject * obj1 = 0 ;
27401 char *kwnames[] = {
27402 (char *) "self",(char *) "factor", NULL
27403 };
27404
27405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27407 if (SWIG_arg_fail(1)) SWIG_fail;
27408 {
32fe5131 27409 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27410 if (SWIG_arg_fail(2)) SWIG_fail;
27411 }
d55e5bfc
RD
27412 {
27413 PyThreadState* __tstate = wxPyBeginAllowThreads();
27414 {
27415 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
27416 result = (wxDateSpan *) &_result_ref;
27417 }
27418
27419 wxPyEndAllowThreads(__tstate);
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
c370783e 27422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
d55e5bfc
RD
27423 return resultobj;
27424 fail:
27425 return NULL;
27426}
27427
27428
c370783e 27429static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27430 PyObject *resultobj = NULL;
d55e5bfc
RD
27431 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27432 wxDateSpan *arg2 = 0 ;
27433 wxDateSpan result;
27434 PyObject * obj0 = 0 ;
27435 PyObject * obj1 = 0 ;
27436 char *kwnames[] = {
27437 (char *) "self",(char *) "other", NULL
27438 };
27439
27440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27442 if (SWIG_arg_fail(1)) SWIG_fail;
27443 {
27444 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27445 if (SWIG_arg_fail(2)) SWIG_fail;
27446 if (arg2 == NULL) {
27447 SWIG_null_ref("wxDateSpan");
27448 }
27449 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27450 }
27451 {
27452 PyThreadState* __tstate = wxPyBeginAllowThreads();
27453 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
27454
27455 wxPyEndAllowThreads(__tstate);
27456 if (PyErr_Occurred()) SWIG_fail;
27457 }
27458 {
27459 wxDateSpan * resultptr;
32fe5131 27460 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27462 }
27463 return resultobj;
27464 fail:
27465 return NULL;
27466}
27467
27468
c370783e 27469static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27470 PyObject *resultobj = NULL;
d55e5bfc
RD
27471 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27472 wxDateSpan *arg2 = 0 ;
27473 wxDateSpan result;
27474 PyObject * obj0 = 0 ;
27475 PyObject * obj1 = 0 ;
27476 char *kwnames[] = {
27477 (char *) "self",(char *) "other", NULL
27478 };
27479
27480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27482 if (SWIG_arg_fail(1)) SWIG_fail;
27483 {
27484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27485 if (SWIG_arg_fail(2)) SWIG_fail;
27486 if (arg2 == NULL) {
27487 SWIG_null_ref("wxDateSpan");
27488 }
27489 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27490 }
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
27494
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 {
27499 wxDateSpan * resultptr;
32fe5131 27500 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27502 }
27503 return resultobj;
27504 fail:
27505 return NULL;
27506}
27507
27508
c370783e 27509static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27510 PyObject *resultobj = NULL;
d55e5bfc
RD
27511 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27512 int arg2 ;
27513 wxDateSpan result;
27514 PyObject * obj0 = 0 ;
27515 PyObject * obj1 = 0 ;
27516 char *kwnames[] = {
27517 (char *) "self",(char *) "n", NULL
27518 };
27519
27520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail;
27523 {
32fe5131 27524 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27525 if (SWIG_arg_fail(2)) SWIG_fail;
27526 }
d55e5bfc
RD
27527 {
27528 PyThreadState* __tstate = wxPyBeginAllowThreads();
27529 result = wxDateSpan___mul__(arg1,arg2);
27530
27531 wxPyEndAllowThreads(__tstate);
27532 if (PyErr_Occurred()) SWIG_fail;
27533 }
27534 {
27535 wxDateSpan * resultptr;
32fe5131 27536 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27537 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27538 }
27539 return resultobj;
27540 fail:
27541 return NULL;
27542}
27543
27544
c370783e 27545static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27546 PyObject *resultobj = NULL;
d55e5bfc
RD
27547 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27548 int arg2 ;
27549 wxDateSpan result;
27550 PyObject * obj0 = 0 ;
27551 PyObject * obj1 = 0 ;
27552 char *kwnames[] = {
27553 (char *) "self",(char *) "n", NULL
27554 };
27555
27556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27558 if (SWIG_arg_fail(1)) SWIG_fail;
27559 {
32fe5131 27560 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
27561 if (SWIG_arg_fail(2)) SWIG_fail;
27562 }
d55e5bfc
RD
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 result = wxDateSpan___rmul__(arg1,arg2);
27566
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 {
27571 wxDateSpan * resultptr;
32fe5131 27572 resultptr = new wxDateSpan(static_cast<wxDateSpan & >(result));
d55e5bfc
RD
27573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
27574 }
27575 return resultobj;
27576 fail:
27577 return NULL;
27578}
27579
27580
c370783e 27581static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27582 PyObject *resultobj = NULL;
d55e5bfc
RD
27583 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27584 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
27585 bool result;
27586 PyObject * obj0 = 0 ;
27587 PyObject * obj1 = 0 ;
27588 char *kwnames[] = {
27589 (char *) "self",(char *) "other", NULL
27590 };
27591
27592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27594 if (SWIG_arg_fail(1)) SWIG_fail;
27595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27596 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27597 {
27598 PyThreadState* __tstate = wxPyBeginAllowThreads();
27599 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
27600
27601 wxPyEndAllowThreads(__tstate);
27602 if (PyErr_Occurred()) SWIG_fail;
27603 }
27604 {
27605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27606 }
27607 return resultobj;
27608 fail:
27609 return NULL;
27610}
27611
27612
c370783e 27613static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27614 PyObject *resultobj = NULL;
d55e5bfc
RD
27615 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
27616 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
27617 bool result;
27618 PyObject * obj0 = 0 ;
27619 PyObject * obj1 = 0 ;
27620 char *kwnames[] = {
27621 (char *) "self",(char *) "other", NULL
27622 };
27623
27624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27626 if (SWIG_arg_fail(1)) SWIG_fail;
27627 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
27628 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27629 {
27630 PyThreadState* __tstate = wxPyBeginAllowThreads();
27631 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
27632
27633 wxPyEndAllowThreads(__tstate);
27634 if (PyErr_Occurred()) SWIG_fail;
27635 }
27636 {
27637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27638 }
27639 return resultobj;
27640 fail:
27641 return NULL;
27642}
27643
27644
c370783e 27645static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27646 PyObject *obj;
27647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27648 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
27649 Py_INCREF(obj);
27650 return Py_BuildValue((char *)"");
27651}
c370783e 27652static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27653 PyObject *resultobj = NULL;
d55e5bfc
RD
27654 long result;
27655 char *kwnames[] = {
27656 NULL
27657 };
27658
27659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
27660 {
27661 PyThreadState* __tstate = wxPyBeginAllowThreads();
27662 result = (long)wxGetLocalTime();
27663
27664 wxPyEndAllowThreads(__tstate);
27665 if (PyErr_Occurred()) SWIG_fail;
27666 }
36ed4f51 27667 {
32fe5131 27668 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27669 }
d55e5bfc
RD
27670 return resultobj;
27671 fail:
27672 return NULL;
27673}
27674
27675
c370783e 27676static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27677 PyObject *resultobj = NULL;
d55e5bfc
RD
27678 long result;
27679 char *kwnames[] = {
27680 NULL
27681 };
27682
27683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
27684 {
27685 PyThreadState* __tstate = wxPyBeginAllowThreads();
27686 result = (long)wxGetUTCTime();
27687
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
36ed4f51 27691 {
32fe5131 27692 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27693 }
d55e5bfc
RD
27694 return resultobj;
27695 fail:
27696 return NULL;
27697}
27698
27699
c370783e 27700static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27701 PyObject *resultobj = NULL;
d55e5bfc
RD
27702 long result;
27703 char *kwnames[] = {
27704 NULL
27705 };
27706
27707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
27708 {
27709 PyThreadState* __tstate = wxPyBeginAllowThreads();
27710 result = (long)wxGetCurrentTime();
27711
27712 wxPyEndAllowThreads(__tstate);
27713 if (PyErr_Occurred()) SWIG_fail;
27714 }
36ed4f51 27715 {
32fe5131 27716 resultobj = SWIG_From_long(static_cast<long >(result));
36ed4f51 27717 }
d55e5bfc
RD
27718 return resultobj;
27719 fail:
27720 return NULL;
27721}
27722
27723
c370783e 27724static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27725 PyObject *resultobj = NULL;
d55e5bfc
RD
27726 wxLongLong result;
27727 char *kwnames[] = {
27728 NULL
27729 };
27730
27731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 result = wxGetLocalTimeMillis();
27735
27736 wxPyEndAllowThreads(__tstate);
27737 if (PyErr_Occurred()) SWIG_fail;
27738 }
27739 {
27740 PyObject *hi, *lo, *shifter, *shifted;
27741 hi = PyLong_FromLong( (&result)->GetHi() );
27742 lo = PyLong_FromLong( (&result)->GetLo() );
27743 shifter = PyLong_FromLong(32);
27744 shifted = PyNumber_Lshift(hi, shifter);
27745 resultobj = PyNumber_Or(shifted, lo);
27746 Py_DECREF(hi);
27747 Py_DECREF(lo);
27748 Py_DECREF(shifter);
27749 Py_DECREF(shifted);
27750 }
27751 return resultobj;
27752 fail:
27753 return NULL;
27754}
27755
27756
c370783e 27757static int _wrap_DefaultDateTime_set(PyObject *) {
d55e5bfc
RD
27758 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
27759 return 1;
27760}
27761
27762
36ed4f51 27763static PyObject *_wrap_DefaultDateTime_get(void) {
32fe5131 27764 PyObject *pyobj = NULL;
d55e5bfc
RD
27765
27766 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
27767 return pyobj;
27768}
27769
27770
c370783e 27771static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27772 PyObject *resultobj = NULL;
36ed4f51 27773 wxDataFormatId arg1 ;
d55e5bfc
RD
27774 wxDataFormat *result;
27775 PyObject * obj0 = 0 ;
27776 char *kwnames[] = {
27777 (char *) "type", NULL
27778 };
27779
27780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
36ed4f51 27781 {
32fe5131 27782 arg1 = static_cast<wxDataFormatId >(SWIG_As_int(obj0));
36ed4f51
RD
27783 if (SWIG_arg_fail(1)) SWIG_fail;
27784 }
d55e5bfc
RD
27785 {
27786 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27787 result = (wxDataFormat *)new wxDataFormat(arg1);
d55e5bfc
RD
27788
27789 wxPyEndAllowThreads(__tstate);
27790 if (PyErr_Occurred()) SWIG_fail;
27791 }
27792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
27793 return resultobj;
27794 fail:
27795 return NULL;
27796}
27797
27798
c370783e 27799static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27800 PyObject *resultobj = NULL;
d55e5bfc
RD
27801 wxString *arg1 = 0 ;
27802 wxDataFormat *result;
b411df4a 27803 bool temp1 = false ;
d55e5bfc
RD
27804 PyObject * obj0 = 0 ;
27805 char *kwnames[] = {
27806 (char *) "format", NULL
27807 };
27808
27809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
27810 {
27811 arg1 = wxString_in_helper(obj0);
27812 if (arg1 == NULL) SWIG_fail;
b411df4a 27813 temp1 = true;
d55e5bfc
RD
27814 }
27815 {
27816 PyThreadState* __tstate = wxPyBeginAllowThreads();
27817 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
27818
27819 wxPyEndAllowThreads(__tstate);
27820 if (PyErr_Occurred()) SWIG_fail;
27821 }
27822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
27823 {
27824 if (temp1)
27825 delete arg1;
27826 }
27827 return resultobj;
27828 fail:
27829 {
27830 if (temp1)
27831 delete arg1;
27832 }
27833 return NULL;
27834}
27835
27836
c370783e 27837static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 27838 PyObject *resultobj = NULL;
d55e5bfc
RD
27839 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27840 PyObject * obj0 = 0 ;
27841 char *kwnames[] = {
27842 (char *) "self", NULL
27843 };
27844
27845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
36ed4f51
RD
27846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27847 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
27850 delete arg1;
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 Py_INCREF(Py_None); resultobj = Py_None;
27856 return resultobj;
27857 fail:
27858 return NULL;
27859}
27860
27861
c370783e 27862static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
32fe5131 27863 PyObject *resultobj = NULL;
d55e5bfc 27864 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
36ed4f51 27865 wxDataFormatId arg2 ;
d55e5bfc
RD
27866 bool result;
27867 PyObject * obj0 = 0 ;
27868 PyObject * obj1 = 0 ;
27869
27870 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
36ed4f51
RD
27871 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27872 if (SWIG_arg_fail(1)) SWIG_fail;
27873 {
32fe5131 27874 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
36ed4f51
RD
27875 if (SWIG_arg_fail(2)) SWIG_fail;
27876 }
d55e5bfc
RD
27877 {
27878 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27879 result = (bool)((wxDataFormat const *)arg1)->operator ==(arg2);
d55e5bfc
RD
27880
27881 wxPyEndAllowThreads(__tstate);
27882 if (PyErr_Occurred()) SWIG_fail;
27883 }
27884 {
27885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27886 }
27887 return resultobj;
27888 fail:
27889 return NULL;
27890}
27891
27892
c370783e 27893static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
32fe5131 27894 PyObject *resultobj = NULL;
d55e5bfc 27895 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
36ed4f51 27896 wxDataFormatId arg2 ;
d55e5bfc
RD
27897 bool result;
27898 PyObject * obj0 = 0 ;
27899 PyObject * obj1 = 0 ;
27900
27901 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
36ed4f51
RD
27902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27903 if (SWIG_arg_fail(1)) SWIG_fail;
27904 {
32fe5131 27905 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
36ed4f51
RD
27906 if (SWIG_arg_fail(2)) SWIG_fail;
27907 }
d55e5bfc
RD
27908 {
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 27910 result = (bool)((wxDataFormat const *)arg1)->operator !=(arg2);
d55e5bfc
RD
27911
27912 wxPyEndAllowThreads(__tstate);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 {
27916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27917 }
27918 return resultobj;
27919 fail:
27920 return NULL;
27921}
27922
27923
c370783e 27924static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
32fe5131 27925 PyObject *resultobj = NULL;
d55e5bfc
RD
27926 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
27927 wxDataFormat *arg2 = 0 ;
27928 bool result;
27929 PyObject * obj0 = 0 ;
27930 PyObject * obj1 = 0 ;
27931
27932 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
36ed4f51
RD
27933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail;
27935 {
27936 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27937 if (SWIG_arg_fail(2)) SWIG_fail;
27938 if (arg2 == NULL) {
27939 SWIG_null_ref("wxDataFormat");
27940 }
27941 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27942 }
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
27946
27947 wxPyEndAllowThreads(__tstate);
27948 if (PyErr_Occurred()) SWIG_fail;
27949 }
27950 {
27951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27952 }
27953 return resultobj;
27954 fail:
27955 return NULL;
27956}
27957
27958
27959static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
27960 int argc;
27961 PyObject *argv[3];
27962 int ii;
27963
27964 argc = PyObject_Length(args);
27965 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27966 argv[ii] = PyTuple_GetItem(args,ii);
27967 }
27968 if (argc == 2) {
27969 int _v;
27970 {
27971 void *ptr;
27972 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27973 _v = 0;
27974 PyErr_Clear();
27975 } else {
27976 _v = 1;
27977 }
27978 }
27979 if (_v) {
27980 {
36ed4f51 27981 void *ptr = 0;
d55e5bfc
RD
27982 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27983 _v = 0;
27984 PyErr_Clear();
27985 } else {
36ed4f51 27986 _v = (ptr != 0);
d55e5bfc
RD
27987 }
27988 }
27989 if (_v) {
27990 return _wrap_DataFormat___eq____SWIG_1(self,args);
27991 }
27992 }
27993 }
27994 if (argc == 2) {
27995 int _v;
27996 {
27997 void *ptr;
27998 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
27999 _v = 0;
28000 PyErr_Clear();
28001 } else {
28002 _v = 1;
28003 }
28004 }
28005 if (_v) {
c370783e 28006 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
28007 if (_v) {
28008 return _wrap_DataFormat___eq____SWIG_0(self,args);
28009 }
28010 }
28011 }
28012
36ed4f51
RD
28013 Py_INCREF(Py_NotImplemented);
28014 return Py_NotImplemented;
d55e5bfc
RD
28015}
28016
28017
c370783e 28018static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
32fe5131 28019 PyObject *resultobj = NULL;
d55e5bfc
RD
28020 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28021 wxDataFormat *arg2 = 0 ;
28022 bool result;
28023 PyObject * obj0 = 0 ;
28024 PyObject * obj1 = 0 ;
28025
28026 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
36ed4f51
RD
28027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28028 if (SWIG_arg_fail(1)) SWIG_fail;
28029 {
28030 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28031 if (SWIG_arg_fail(2)) SWIG_fail;
28032 if (arg2 == NULL) {
28033 SWIG_null_ref("wxDataFormat");
28034 }
28035 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28036 }
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
28040
28041 wxPyEndAllowThreads(__tstate);
28042 if (PyErr_Occurred()) SWIG_fail;
28043 }
28044 {
28045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28046 }
28047 return resultobj;
28048 fail:
28049 return NULL;
28050}
28051
28052
28053static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
28054 int argc;
28055 PyObject *argv[3];
28056 int ii;
28057
28058 argc = PyObject_Length(args);
28059 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
28060 argv[ii] = PyTuple_GetItem(args,ii);
28061 }
28062 if (argc == 2) {
28063 int _v;
28064 {
28065 void *ptr;
28066 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28067 _v = 0;
28068 PyErr_Clear();
28069 } else {
28070 _v = 1;
28071 }
28072 }
28073 if (_v) {
28074 {
36ed4f51 28075 void *ptr = 0;
d55e5bfc
RD
28076 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28077 _v = 0;
28078 PyErr_Clear();
28079 } else {
36ed4f51 28080 _v = (ptr != 0);
d55e5bfc
RD
28081 }
28082 }
28083 if (_v) {
28084 return _wrap_DataFormat___ne____SWIG_1(self,args);
28085 }
28086 }
28087 }
28088 if (argc == 2) {
28089 int _v;
28090 {
28091 void *ptr;
28092 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28093 _v = 0;
28094 PyErr_Clear();
28095 } else {
28096 _v = 1;
28097 }
28098 }
28099 if (_v) {
c370783e 28100 _v = SWIG_Check_int(argv[1]);
d55e5bfc
RD
28101 if (_v) {
28102 return _wrap_DataFormat___ne____SWIG_0(self,args);
28103 }
28104 }
28105 }
28106
36ed4f51
RD
28107 Py_INCREF(Py_NotImplemented);
28108 return Py_NotImplemented;
d55e5bfc
RD
28109}
28110
28111
c370783e 28112static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28113 PyObject *resultobj = NULL;
d55e5bfc 28114 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
36ed4f51 28115 wxDataFormatId arg2 ;
d55e5bfc
RD
28116 PyObject * obj0 = 0 ;
28117 PyObject * obj1 = 0 ;
28118 char *kwnames[] = {
28119 (char *) "self",(char *) "format", NULL
28120 };
28121
28122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28124 if (SWIG_arg_fail(1)) SWIG_fail;
28125 {
32fe5131 28126 arg2 = static_cast<wxDataFormatId >(SWIG_As_int(obj1));
36ed4f51
RD
28127 if (SWIG_arg_fail(2)) SWIG_fail;
28128 }
d55e5bfc
RD
28129 {
28130 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 28131 (arg1)->SetType(arg2);
d55e5bfc
RD
28132
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
28136 Py_INCREF(Py_None); resultobj = Py_None;
28137 return resultobj;
28138 fail:
28139 return NULL;
28140}
28141
28142
c370783e 28143static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28144 PyObject *resultobj = NULL;
d55e5bfc 28145 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
36ed4f51 28146 wxDataFormatId result;
d55e5bfc
RD
28147 PyObject * obj0 = 0 ;
28148 char *kwnames[] = {
28149 (char *) "self", NULL
28150 };
28151
28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
36ed4f51
RD
28153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28155 {
28156 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 28157 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
d55e5bfc
RD
28158
28159 wxPyEndAllowThreads(__tstate);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 }
36ed4f51 28162 resultobj = SWIG_From_int((result));
d55e5bfc
RD
28163 return resultobj;
28164 fail:
28165 return NULL;
28166}
28167
28168
c370783e 28169static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28170 PyObject *resultobj = NULL;
d55e5bfc
RD
28171 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28172 wxString result;
28173 PyObject * obj0 = 0 ;
28174 char *kwnames[] = {
28175 (char *) "self", NULL
28176 };
28177
28178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
28179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28180 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28181 {
28182 PyThreadState* __tstate = wxPyBeginAllowThreads();
28183 result = ((wxDataFormat const *)arg1)->GetId();
28184
28185 wxPyEndAllowThreads(__tstate);
28186 if (PyErr_Occurred()) SWIG_fail;
28187 }
28188 {
28189#if wxUSE_UNICODE
28190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28191#else
28192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28193#endif
28194 }
28195 return resultobj;
28196 fail:
28197 return NULL;
28198}
28199
28200
c370783e 28201static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28202 PyObject *resultobj = NULL;
d55e5bfc
RD
28203 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
28204 wxString *arg2 = 0 ;
b411df4a 28205 bool temp2 = false ;
d55e5bfc
RD
28206 PyObject * obj0 = 0 ;
28207 PyObject * obj1 = 0 ;
28208 char *kwnames[] = {
28209 (char *) "self",(char *) "format", NULL
28210 };
28211
28212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28214 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28215 {
28216 arg2 = wxString_in_helper(obj1);
28217 if (arg2 == NULL) SWIG_fail;
b411df4a 28218 temp2 = true;
d55e5bfc
RD
28219 }
28220 {
28221 PyThreadState* __tstate = wxPyBeginAllowThreads();
28222 (arg1)->SetId((wxString const &)*arg2);
28223
28224 wxPyEndAllowThreads(__tstate);
28225 if (PyErr_Occurred()) SWIG_fail;
28226 }
28227 Py_INCREF(Py_None); resultobj = Py_None;
28228 {
28229 if (temp2)
28230 delete arg2;
28231 }
28232 return resultobj;
28233 fail:
28234 {
28235 if (temp2)
28236 delete arg2;
28237 }
28238 return NULL;
28239}
28240
28241
c370783e 28242static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28243 PyObject *obj;
28244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28245 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
28246 Py_INCREF(obj);
28247 return Py_BuildValue((char *)"");
28248}
c370783e 28249static int _wrap_FormatInvalid_set(PyObject *) {
d55e5bfc
RD
28250 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
28251 return 1;
28252}
28253
28254
36ed4f51 28255static PyObject *_wrap_FormatInvalid_get(void) {
32fe5131 28256 PyObject *pyobj = NULL;
d55e5bfc
RD
28257
28258 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
28259 return pyobj;
28260}
28261
28262
c370783e 28263static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28264 PyObject *resultobj = NULL;
d55e5bfc
RD
28265 wxDataObject *arg1 = (wxDataObject *) 0 ;
28266 PyObject * obj0 = 0 ;
28267 char *kwnames[] = {
28268 (char *) "self", NULL
28269 };
28270
28271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
36ed4f51
RD
28272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28273 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 delete arg1;
28277
28278 wxPyEndAllowThreads(__tstate);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 Py_INCREF(Py_None); resultobj = Py_None;
28282 return resultobj;
28283 fail:
28284 return NULL;
28285}
28286
28287
c370783e 28288static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28289 PyObject *resultobj = NULL;
d55e5bfc 28290 wxDataObject *arg1 = (wxDataObject *) 0 ;
36ed4f51
RD
28291 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
28292 SwigValueWrapper<wxDataFormat > result;
d55e5bfc
RD
28293 PyObject * obj0 = 0 ;
28294 PyObject * obj1 = 0 ;
28295 char *kwnames[] = {
28296 (char *) "self",(char *) "dir", NULL
28297 };
28298
28299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28302 if (obj1) {
36ed4f51 28303 {
32fe5131 28304 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
36ed4f51
RD
28305 if (SWIG_arg_fail(2)) SWIG_fail;
28306 }
d55e5bfc
RD
28307 }
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 28310 result = ((wxDataObject const *)arg1)->GetPreferredFormat(arg2);
d55e5bfc
RD
28311
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 {
28316 wxDataFormat * resultptr;
32fe5131 28317 resultptr = new wxDataFormat(static_cast<wxDataFormat & >(result));
d55e5bfc
RD
28318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
28319 }
28320 return resultobj;
28321 fail:
28322 return NULL;
28323}
28324
28325
c370783e 28326static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28327 PyObject *resultobj = NULL;
d55e5bfc 28328 wxDataObject *arg1 = (wxDataObject *) 0 ;
36ed4f51 28329 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
28330 size_t result;
28331 PyObject * obj0 = 0 ;
28332 PyObject * obj1 = 0 ;
28333 char *kwnames[] = {
28334 (char *) "self",(char *) "dir", NULL
28335 };
28336
28337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 28340 if (obj1) {
36ed4f51 28341 {
32fe5131 28342 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
36ed4f51
RD
28343 if (SWIG_arg_fail(2)) SWIG_fail;
28344 }
d55e5bfc
RD
28345 }
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 28348 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount(arg2);
d55e5bfc
RD
28349
28350 wxPyEndAllowThreads(__tstate);
28351 if (PyErr_Occurred()) SWIG_fail;
28352 }
36ed4f51 28353 {
32fe5131 28354 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 28355 }
d55e5bfc
RD
28356 return resultobj;
28357 fail:
28358 return NULL;
28359}
28360
28361
c370783e 28362static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28363 PyObject *resultobj = NULL;
d55e5bfc
RD
28364 wxDataObject *arg1 = (wxDataObject *) 0 ;
28365 wxDataFormat *arg2 = 0 ;
36ed4f51 28366 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
d55e5bfc
RD
28367 bool result;
28368 PyObject * obj0 = 0 ;
28369 PyObject * obj1 = 0 ;
28370 PyObject * obj2 = 0 ;
28371 char *kwnames[] = {
28372 (char *) "self",(char *) "format",(char *) "dir", NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail;
28378 {
28379 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28380 if (SWIG_arg_fail(2)) SWIG_fail;
28381 if (arg2 == NULL) {
28382 SWIG_null_ref("wxDataFormat");
28383 }
28384 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28385 }
28386 if (obj2) {
36ed4f51 28387 {
32fe5131 28388 arg3 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj2));
36ed4f51
RD
28389 if (SWIG_arg_fail(3)) SWIG_fail;
28390 }
d55e5bfc
RD
28391 }
28392 {
28393 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 28394 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
28395
28396 wxPyEndAllowThreads(__tstate);
28397 if (PyErr_Occurred()) SWIG_fail;
28398 }
28399 {
28400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28401 }
28402 return resultobj;
28403 fail:
28404 return NULL;
28405}
28406
28407
c370783e 28408static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28409 PyObject *resultobj = NULL;
d55e5bfc
RD
28410 wxDataObject *arg1 = (wxDataObject *) 0 ;
28411 wxDataFormat *arg2 = 0 ;
28412 size_t result;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "self",(char *) "format", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28421 if (SWIG_arg_fail(1)) SWIG_fail;
28422 {
28423 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28424 if (SWIG_arg_fail(2)) SWIG_fail;
28425 if (arg2 == NULL) {
28426 SWIG_null_ref("wxDataFormat");
28427 }
28428 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28429 }
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
28433
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
36ed4f51 28437 {
32fe5131 28438 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 28439 }
d55e5bfc
RD
28440 return resultobj;
28441 fail:
28442 return NULL;
28443}
28444
28445
c370783e 28446static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28447 PyObject *resultobj = NULL;
d55e5bfc 28448 wxDataObject *arg1 = (wxDataObject *) 0 ;
36ed4f51 28449 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
68e533f8 28450 PyObject *result;
d55e5bfc
RD
28451 PyObject * obj0 = 0 ;
28452 PyObject * obj1 = 0 ;
d55e5bfc 28453 char *kwnames[] = {
68e533f8 28454 (char *) "self",(char *) "dir", NULL
d55e5bfc
RD
28455 };
28456
68e533f8 28457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28459 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8 28460 if (obj1) {
36ed4f51 28461 {
32fe5131 28462 arg2 = static_cast<wxDataObject::Direction >(SWIG_As_int(obj1));
36ed4f51
RD
28463 if (SWIG_arg_fail(2)) SWIG_fail;
28464 }
d55e5bfc
RD
28465 }
28466 {
28467 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 28468 result = (PyObject *)wxDataObject_GetAllFormats(arg1,arg2);
d55e5bfc
RD
28469
28470 wxPyEndAllowThreads(__tstate);
28471 if (PyErr_Occurred()) SWIG_fail;
28472 }
68e533f8 28473 resultobj = result;
d55e5bfc
RD
28474 return resultobj;
28475 fail:
28476 return NULL;
28477}
28478
28479
c370783e 28480static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28481 PyObject *resultobj = NULL;
d55e5bfc
RD
28482 wxDataObject *arg1 = (wxDataObject *) 0 ;
28483 wxDataFormat *arg2 = 0 ;
68e533f8 28484 PyObject *result;
d55e5bfc
RD
28485 PyObject * obj0 = 0 ;
28486 PyObject * obj1 = 0 ;
d55e5bfc 28487 char *kwnames[] = {
68e533f8 28488 (char *) "self",(char *) "format", NULL
d55e5bfc
RD
28489 };
28490
68e533f8 28491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28492 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28493 if (SWIG_arg_fail(1)) SWIG_fail;
28494 {
28495 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28496 if (SWIG_arg_fail(2)) SWIG_fail;
28497 if (arg2 == NULL) {
28498 SWIG_null_ref("wxDataFormat");
28499 }
28500 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28501 }
d55e5bfc
RD
28502 {
28503 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 28504 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
d55e5bfc
RD
28505
28506 wxPyEndAllowThreads(__tstate);
28507 if (PyErr_Occurred()) SWIG_fail;
28508 }
68e533f8 28509 resultobj = result;
d55e5bfc
RD
28510 return resultobj;
28511 fail:
28512 return NULL;
28513}
28514
28515
c370783e 28516static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28517 PyObject *resultobj = NULL;
d55e5bfc
RD
28518 wxDataObject *arg1 = (wxDataObject *) 0 ;
28519 wxDataFormat *arg2 = 0 ;
68e533f8 28520 PyObject *arg3 = (PyObject *) 0 ;
d55e5bfc
RD
28521 bool result;
28522 PyObject * obj0 = 0 ;
28523 PyObject * obj1 = 0 ;
28524 PyObject * obj2 = 0 ;
d55e5bfc 28525 char *kwnames[] = {
68e533f8 28526 (char *) "self",(char *) "format",(char *) "data", NULL
d55e5bfc
RD
28527 };
28528
68e533f8 28529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28531 if (SWIG_arg_fail(1)) SWIG_fail;
28532 {
28533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28534 if (SWIG_arg_fail(2)) SWIG_fail;
28535 if (arg2 == NULL) {
28536 SWIG_null_ref("wxDataFormat");
28537 }
28538 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28539 }
68e533f8 28540 arg3 = obj2;
d55e5bfc
RD
28541 {
28542 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 28543 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
d55e5bfc
RD
28544
28545 wxPyEndAllowThreads(__tstate);
28546 if (PyErr_Occurred()) SWIG_fail;
28547 }
28548 {
28549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28550 }
28551 return resultobj;
28552 fail:
28553 return NULL;
28554}
28555
28556
c370783e 28557static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28558 PyObject *obj;
28559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28560 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
28561 Py_INCREF(obj);
28562 return Py_BuildValue((char *)"");
28563}
c370783e 28564static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28565 PyObject *resultobj = NULL;
d55e5bfc
RD
28566 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
28567 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
28568 wxDataObjectSimple *result;
28569 PyObject * obj0 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "format", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
28575 if (obj0) {
36ed4f51
RD
28576 {
28577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28578 if (SWIG_arg_fail(1)) SWIG_fail;
28579 if (arg1 == NULL) {
28580 SWIG_null_ref("wxDataFormat");
28581 }
28582 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28583 }
28584 }
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
28592 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
28593 return resultobj;
28594 fail:
28595 return NULL;
28596}
28597
28598
c370783e 28599static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28600 PyObject *resultobj = NULL;
d55e5bfc
RD
28601 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28602 wxDataFormat *result;
28603 PyObject * obj0 = 0 ;
28604 char *kwnames[] = {
28605 (char *) "self", NULL
28606 };
28607
28608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
36ed4f51
RD
28609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28610 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28611 {
28612 PyThreadState* __tstate = wxPyBeginAllowThreads();
28613 {
28614 wxDataFormat const &_result_ref = (arg1)->GetFormat();
28615 result = (wxDataFormat *) &_result_ref;
28616 }
28617
28618 wxPyEndAllowThreads(__tstate);
28619 if (PyErr_Occurred()) SWIG_fail;
28620 }
28621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
28622 return resultobj;
28623 fail:
28624 return NULL;
28625}
28626
28627
c370783e 28628static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28629 PyObject *resultobj = NULL;
d55e5bfc
RD
28630 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28631 wxDataFormat *arg2 = 0 ;
28632 PyObject * obj0 = 0 ;
28633 PyObject * obj1 = 0 ;
28634 char *kwnames[] = {
28635 (char *) "self",(char *) "format", NULL
28636 };
28637
28638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28640 if (SWIG_arg_fail(1)) SWIG_fail;
28641 {
28642 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28643 if (SWIG_arg_fail(2)) SWIG_fail;
28644 if (arg2 == NULL) {
28645 SWIG_null_ref("wxDataFormat");
28646 }
28647 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28648 }
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 (arg1)->SetFormat((wxDataFormat const &)*arg2);
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 Py_INCREF(Py_None); resultobj = Py_None;
28657 return resultobj;
28658 fail:
28659 return NULL;
28660}
28661
28662
c370783e 28663static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28664 PyObject *resultobj = NULL;
68e533f8
RD
28665 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28666 size_t result;
28667 PyObject * obj0 = 0 ;
28668 char *kwnames[] = {
28669 (char *) "self", NULL
28670 };
28671
28672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
28673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28674 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
28678
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
36ed4f51 28682 {
32fe5131 28683 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 28684 }
68e533f8
RD
28685 return resultobj;
28686 fail:
28687 return NULL;
28688}
28689
28690
c370783e 28691static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28692 PyObject *resultobj = NULL;
68e533f8
RD
28693 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28694 PyObject *result;
28695 PyObject * obj0 = 0 ;
28696 char *kwnames[] = {
28697 (char *) "self", NULL
28698 };
28699
28700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
36ed4f51
RD
28701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28702 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
28703 {
28704 PyThreadState* __tstate = wxPyBeginAllowThreads();
28705 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
28706
28707 wxPyEndAllowThreads(__tstate);
28708 if (PyErr_Occurred()) SWIG_fail;
28709 }
28710 resultobj = result;
28711 return resultobj;
28712 fail:
28713 return NULL;
28714}
28715
28716
c370783e 28717static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28718 PyObject *resultobj = NULL;
68e533f8
RD
28719 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
28720 PyObject *arg2 = (PyObject *) 0 ;
28721 bool result;
28722 PyObject * obj0 = 0 ;
28723 PyObject * obj1 = 0 ;
28724 char *kwnames[] = {
28725 (char *) "self",(char *) "data", NULL
28726 };
28727
28728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28730 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
28731 arg2 = obj1;
28732 {
28733 PyThreadState* __tstate = wxPyBeginAllowThreads();
28734 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
28735
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 {
28740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28741 }
28742 return resultobj;
28743 fail:
28744 return NULL;
28745}
28746
28747
c370783e 28748static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28749 PyObject *obj;
28750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28751 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
28752 Py_INCREF(obj);
28753 return Py_BuildValue((char *)"");
28754}
c370783e 28755static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28756 PyObject *resultobj = NULL;
d55e5bfc
RD
28757 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
28758 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
28759 wxPyDataObjectSimple *result;
28760 PyObject * obj0 = 0 ;
28761 char *kwnames[] = {
28762 (char *) "format", NULL
28763 };
28764
28765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
28766 if (obj0) {
36ed4f51
RD
28767 {
28768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28769 if (SWIG_arg_fail(1)) SWIG_fail;
28770 if (arg1 == NULL) {
28771 SWIG_null_ref("wxDataFormat");
28772 }
28773 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28774 }
28775 }
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
28779
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
28784 return resultobj;
28785 fail:
28786 return NULL;
28787}
28788
28789
c370783e 28790static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28791 PyObject *resultobj = NULL;
d55e5bfc
RD
28792 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
28793 PyObject *arg2 = (PyObject *) 0 ;
28794 PyObject *arg3 = (PyObject *) 0 ;
28795 PyObject * obj0 = 0 ;
28796 PyObject * obj1 = 0 ;
28797 PyObject * obj2 = 0 ;
28798 char *kwnames[] = {
28799 (char *) "self",(char *) "self",(char *) "_class", NULL
28800 };
28801
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28803 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
28804 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28805 arg2 = obj1;
28806 arg3 = obj2;
28807 {
28808 PyThreadState* __tstate = wxPyBeginAllowThreads();
28809 (arg1)->_setCallbackInfo(arg2,arg3);
28810
28811 wxPyEndAllowThreads(__tstate);
28812 if (PyErr_Occurred()) SWIG_fail;
28813 }
28814 Py_INCREF(Py_None); resultobj = Py_None;
28815 return resultobj;
28816 fail:
28817 return NULL;
28818}
28819
28820
c370783e 28821static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28822 PyObject *obj;
28823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28824 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
28825 Py_INCREF(obj);
28826 return Py_BuildValue((char *)"");
28827}
c370783e 28828static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28829 PyObject *resultobj = NULL;
d55e5bfc
RD
28830 wxDataObjectComposite *result;
28831 char *kwnames[] = {
28832 NULL
28833 };
28834
28835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
28836 {
28837 PyThreadState* __tstate = wxPyBeginAllowThreads();
28838 result = (wxDataObjectComposite *)new wxDataObjectComposite();
28839
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
28843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
28844 return resultobj;
28845 fail:
28846 return NULL;
28847}
28848
28849
c370783e 28850static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28851 PyObject *resultobj = NULL;
d55e5bfc
RD
28852 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
28853 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
b411df4a 28854 bool arg3 = (bool) false ;
d55e5bfc
RD
28855 PyObject * obj0 = 0 ;
28856 PyObject * obj1 = 0 ;
28857 PyObject * obj2 = 0 ;
28858 char *kwnames[] = {
28859 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
28860 };
28861
28862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
28864 if (SWIG_arg_fail(1)) SWIG_fail;
28865 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28866 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28867 if (obj2) {
36ed4f51 28868 {
32fe5131 28869 arg3 = static_cast<bool >(SWIG_As_bool(obj2));
36ed4f51
RD
28870 if (SWIG_arg_fail(3)) SWIG_fail;
28871 }
d55e5bfc
RD
28872 }
28873 {
28874 PyThreadState* __tstate = wxPyBeginAllowThreads();
28875 (arg1)->Add(arg2,arg3);
28876
28877 wxPyEndAllowThreads(__tstate);
28878 if (PyErr_Occurred()) SWIG_fail;
28879 }
28880 Py_INCREF(Py_None); resultobj = Py_None;
28881 return resultobj;
28882 fail:
28883 return NULL;
28884}
28885
28886
c370783e 28887static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
28888 PyObject *obj;
28889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28890 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
28891 Py_INCREF(obj);
28892 return Py_BuildValue((char *)"");
28893}
c370783e 28894static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28895 PyObject *resultobj = NULL;
d55e5bfc
RD
28896 wxString const &arg1_defvalue = wxPyEmptyString ;
28897 wxString *arg1 = (wxString *) &arg1_defvalue ;
28898 wxTextDataObject *result;
b411df4a 28899 bool temp1 = false ;
d55e5bfc
RD
28900 PyObject * obj0 = 0 ;
28901 char *kwnames[] = {
28902 (char *) "text", NULL
28903 };
28904
28905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
28906 if (obj0) {
28907 {
28908 arg1 = wxString_in_helper(obj0);
28909 if (arg1 == NULL) SWIG_fail;
b411df4a 28910 temp1 = true;
d55e5bfc
RD
28911 }
28912 }
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
28915 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
28916
28917 wxPyEndAllowThreads(__tstate);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
28920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
28921 {
28922 if (temp1)
28923 delete arg1;
28924 }
28925 return resultobj;
28926 fail:
28927 {
28928 if (temp1)
28929 delete arg1;
28930 }
28931 return NULL;
28932}
28933
28934
c370783e 28935static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28936 PyObject *resultobj = NULL;
d55e5bfc
RD
28937 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28938 size_t result;
28939 PyObject * obj0 = 0 ;
28940 char *kwnames[] = {
28941 (char *) "self", NULL
28942 };
28943
28944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
28945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28946 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 result = (size_t)(arg1)->GetTextLength();
28950
28951 wxPyEndAllowThreads(__tstate);
28952 if (PyErr_Occurred()) SWIG_fail;
28953 }
36ed4f51 28954 {
32fe5131 28955 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 28956 }
d55e5bfc
RD
28957 return resultobj;
28958 fail:
28959 return NULL;
28960}
28961
28962
c370783e 28963static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28964 PyObject *resultobj = NULL;
d55e5bfc
RD
28965 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28966 wxString result;
28967 PyObject * obj0 = 0 ;
28968 char *kwnames[] = {
28969 (char *) "self", NULL
28970 };
28971
28972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
28973 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
28974 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28975 {
28976 PyThreadState* __tstate = wxPyBeginAllowThreads();
28977 result = (arg1)->GetText();
28978
28979 wxPyEndAllowThreads(__tstate);
28980 if (PyErr_Occurred()) SWIG_fail;
28981 }
28982 {
28983#if wxUSE_UNICODE
28984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28985#else
28986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28987#endif
28988 }
28989 return resultobj;
28990 fail:
28991 return NULL;
28992}
28993
28994
c370783e 28995static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 28996 PyObject *resultobj = NULL;
d55e5bfc
RD
28997 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
28998 wxString *arg2 = 0 ;
b411df4a 28999 bool temp2 = false ;
d55e5bfc
RD
29000 PyObject * obj0 = 0 ;
29001 PyObject * obj1 = 0 ;
29002 char *kwnames[] = {
29003 (char *) "self",(char *) "text", NULL
29004 };
29005
29006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
29008 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29009 {
29010 arg2 = wxString_in_helper(obj1);
29011 if (arg2 == NULL) SWIG_fail;
b411df4a 29012 temp2 = true;
d55e5bfc
RD
29013 }
29014 {
29015 PyThreadState* __tstate = wxPyBeginAllowThreads();
29016 (arg1)->SetText((wxString const &)*arg2);
29017
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 Py_INCREF(Py_None); resultobj = Py_None;
29022 {
29023 if (temp2)
29024 delete arg2;
29025 }
29026 return resultobj;
29027 fail:
29028 {
29029 if (temp2)
29030 delete arg2;
29031 }
29032 return NULL;
29033}
29034
29035
c370783e 29036static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29037 PyObject *obj;
29038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29039 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
29040 Py_INCREF(obj);
29041 return Py_BuildValue((char *)"");
29042}
c370783e 29043static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29044 PyObject *resultobj = NULL;
d55e5bfc
RD
29045 wxString const &arg1_defvalue = wxPyEmptyString ;
29046 wxString *arg1 = (wxString *) &arg1_defvalue ;
29047 wxPyTextDataObject *result;
b411df4a 29048 bool temp1 = false ;
d55e5bfc
RD
29049 PyObject * obj0 = 0 ;
29050 char *kwnames[] = {
29051 (char *) "text", NULL
29052 };
29053
29054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
29055 if (obj0) {
29056 {
29057 arg1 = wxString_in_helper(obj0);
29058 if (arg1 == NULL) SWIG_fail;
b411df4a 29059 temp1 = true;
d55e5bfc
RD
29060 }
29061 }
29062 {
29063 PyThreadState* __tstate = wxPyBeginAllowThreads();
29064 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
29065
29066 wxPyEndAllowThreads(__tstate);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 }
29069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
29070 {
29071 if (temp1)
29072 delete arg1;
29073 }
29074 return resultobj;
29075 fail:
29076 {
29077 if (temp1)
29078 delete arg1;
29079 }
29080 return NULL;
29081}
29082
29083
c370783e 29084static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29085 PyObject *resultobj = NULL;
d55e5bfc
RD
29086 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
29087 PyObject *arg2 = (PyObject *) 0 ;
29088 PyObject *arg3 = (PyObject *) 0 ;
29089 PyObject * obj0 = 0 ;
29090 PyObject * obj1 = 0 ;
29091 PyObject * obj2 = 0 ;
29092 char *kwnames[] = {
29093 (char *) "self",(char *) "self",(char *) "_class", NULL
29094 };
29095
29096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
29098 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29099 arg2 = obj1;
29100 arg3 = obj2;
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 (arg1)->_setCallbackInfo(arg2,arg3);
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 Py_INCREF(Py_None); resultobj = Py_None;
29109 return resultobj;
29110 fail:
29111 return NULL;
29112}
29113
29114
c370783e 29115static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29116 PyObject *obj;
29117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29118 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
29119 Py_INCREF(obj);
29120 return Py_BuildValue((char *)"");
29121}
c370783e 29122static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29123 PyObject *resultobj = NULL;
d55e5bfc
RD
29124 wxBitmap const &arg1_defvalue = wxNullBitmap ;
29125 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
29126 wxBitmapDataObject *result;
29127 PyObject * obj0 = 0 ;
29128 char *kwnames[] = {
29129 (char *) "bitmap", NULL
29130 };
29131
29132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
29133 if (obj0) {
36ed4f51
RD
29134 {
29135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29136 if (SWIG_arg_fail(1)) SWIG_fail;
29137 if (arg1 == NULL) {
29138 SWIG_null_ref("wxBitmap");
29139 }
29140 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29141 }
29142 }
29143 {
29144 PyThreadState* __tstate = wxPyBeginAllowThreads();
29145 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
29146
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
29151 return resultobj;
29152 fail:
29153 return NULL;
29154}
29155
29156
c370783e 29157static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29158 PyObject *resultobj = NULL;
d55e5bfc
RD
29159 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
29160 wxBitmap result;
29161 PyObject * obj0 = 0 ;
29162 char *kwnames[] = {
29163 (char *) "self", NULL
29164 };
29165
29166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
29167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29168 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29169 {
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
29172
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 {
29177 wxBitmap * resultptr;
32fe5131 29178 resultptr = new wxBitmap(static_cast<wxBitmap & >(result));
d55e5bfc
RD
29179 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
29180 }
29181 return resultobj;
29182 fail:
29183 return NULL;
29184}
29185
29186
c370783e 29187static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29188 PyObject *resultobj = NULL;
d55e5bfc
RD
29189 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
29190 wxBitmap *arg2 = 0 ;
29191 PyObject * obj0 = 0 ;
29192 PyObject * obj1 = 0 ;
29193 char *kwnames[] = {
29194 (char *) "self",(char *) "bitmap", NULL
29195 };
29196
29197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29199 if (SWIG_arg_fail(1)) SWIG_fail;
29200 {
29201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29202 if (SWIG_arg_fail(2)) SWIG_fail;
29203 if (arg2 == NULL) {
29204 SWIG_null_ref("wxBitmap");
29205 }
29206 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29207 }
29208 {
29209 PyThreadState* __tstate = wxPyBeginAllowThreads();
29210 (arg1)->SetBitmap((wxBitmap const &)*arg2);
29211
29212 wxPyEndAllowThreads(__tstate);
29213 if (PyErr_Occurred()) SWIG_fail;
29214 }
29215 Py_INCREF(Py_None); resultobj = Py_None;
29216 return resultobj;
29217 fail:
29218 return NULL;
29219}
29220
29221
c370783e 29222static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29223 PyObject *obj;
29224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29225 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
29226 Py_INCREF(obj);
29227 return Py_BuildValue((char *)"");
29228}
c370783e 29229static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29230 PyObject *resultobj = NULL;
d55e5bfc
RD
29231 wxBitmap const &arg1_defvalue = wxNullBitmap ;
29232 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
29233 wxPyBitmapDataObject *result;
29234 PyObject * obj0 = 0 ;
29235 char *kwnames[] = {
29236 (char *) "bitmap", NULL
29237 };
29238
29239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
29240 if (obj0) {
36ed4f51
RD
29241 {
29242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
29243 if (SWIG_arg_fail(1)) SWIG_fail;
29244 if (arg1 == NULL) {
29245 SWIG_null_ref("wxBitmap");
29246 }
29247 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29248 }
29249 }
29250 {
29251 PyThreadState* __tstate = wxPyBeginAllowThreads();
29252 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
29253
29254 wxPyEndAllowThreads(__tstate);
29255 if (PyErr_Occurred()) SWIG_fail;
29256 }
29257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
29258 return resultobj;
29259 fail:
29260 return NULL;
29261}
29262
29263
c370783e 29264static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29265 PyObject *resultobj = NULL;
d55e5bfc
RD
29266 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
29267 PyObject *arg2 = (PyObject *) 0 ;
29268 PyObject *arg3 = (PyObject *) 0 ;
29269 PyObject * obj0 = 0 ;
29270 PyObject * obj1 = 0 ;
29271 PyObject * obj2 = 0 ;
29272 char *kwnames[] = {
29273 (char *) "self",(char *) "self",(char *) "_class", NULL
29274 };
29275
29276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
29278 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29279 arg2 = obj1;
29280 arg3 = obj2;
29281 {
29282 PyThreadState* __tstate = wxPyBeginAllowThreads();
29283 (arg1)->_setCallbackInfo(arg2,arg3);
29284
29285 wxPyEndAllowThreads(__tstate);
29286 if (PyErr_Occurred()) SWIG_fail;
29287 }
29288 Py_INCREF(Py_None); resultobj = Py_None;
29289 return resultobj;
29290 fail:
29291 return NULL;
29292}
29293
29294
c370783e 29295static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29296 PyObject *obj;
29297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29298 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
29299 Py_INCREF(obj);
29300 return Py_BuildValue((char *)"");
29301}
c370783e 29302static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29303 PyObject *resultobj = NULL;
d55e5bfc
RD
29304 wxFileDataObject *result;
29305 char *kwnames[] = {
29306 NULL
29307 };
29308
29309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 result = (wxFileDataObject *)new wxFileDataObject();
29313
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
29318 return resultobj;
29319 fail:
29320 return NULL;
29321}
29322
29323
c370783e 29324static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29325 PyObject *resultobj = NULL;
d55e5bfc
RD
29326 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
29327 wxArrayString *result;
29328 PyObject * obj0 = 0 ;
29329 char *kwnames[] = {
29330 (char *) "self", NULL
29331 };
29332
29333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
36ed4f51
RD
29334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29336 {
29337 PyThreadState* __tstate = wxPyBeginAllowThreads();
29338 {
29339 wxArrayString const &_result_ref = (arg1)->GetFilenames();
29340 result = (wxArrayString *) &_result_ref;
29341 }
29342
29343 wxPyEndAllowThreads(__tstate);
29344 if (PyErr_Occurred()) SWIG_fail;
29345 }
29346 {
29347 resultobj = wxArrayString2PyList_helper(*result);
29348 }
29349 return resultobj;
29350 fail:
29351 return NULL;
29352}
29353
29354
c370783e 29355static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29356 PyObject *resultobj = NULL;
d55e5bfc
RD
29357 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
29358 wxString *arg2 = 0 ;
b411df4a 29359 bool temp2 = false ;
d55e5bfc
RD
29360 PyObject * obj0 = 0 ;
29361 PyObject * obj1 = 0 ;
29362 char *kwnames[] = {
29363 (char *) "self",(char *) "filename", NULL
29364 };
29365
29366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
29368 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29369 {
29370 arg2 = wxString_in_helper(obj1);
29371 if (arg2 == NULL) SWIG_fail;
b411df4a 29372 temp2 = true;
d55e5bfc
RD
29373 }
29374 {
29375 PyThreadState* __tstate = wxPyBeginAllowThreads();
29376 (arg1)->AddFile((wxString const &)*arg2);
29377
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 Py_INCREF(Py_None); resultobj = Py_None;
29382 {
29383 if (temp2)
29384 delete arg2;
29385 }
29386 return resultobj;
29387 fail:
29388 {
29389 if (temp2)
29390 delete arg2;
29391 }
29392 return NULL;
29393}
29394
29395
c370783e 29396static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29397 PyObject *obj;
29398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29399 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
29400 Py_INCREF(obj);
29401 return Py_BuildValue((char *)"");
29402}
fef4c27a 29403static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
32fe5131 29404 PyObject *resultobj = NULL;
fef4c27a 29405 wxDataFormat *arg1 = 0 ;
d55e5bfc
RD
29406 wxCustomDataObject *result;
29407 PyObject * obj0 = 0 ;
d55e5bfc 29408
fef4c27a
RD
29409 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
29410 {
29411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
29412 if (SWIG_arg_fail(1)) SWIG_fail;
29413 if (arg1 == NULL) {
29414 SWIG_null_ref("wxDataFormat");
d55e5bfc 29415 }
fef4c27a 29416 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29417 }
29418 {
29419 PyThreadState* __tstate = wxPyBeginAllowThreads();
29420 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
29421
29422 wxPyEndAllowThreads(__tstate);
29423 if (PyErr_Occurred()) SWIG_fail;
29424 }
29425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29426 return resultobj;
29427 fail:
29428 return NULL;
29429}
29430
29431
fef4c27a 29432static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
32fe5131 29433 PyObject *resultobj = NULL;
fef4c27a
RD
29434 wxString *arg1 = 0 ;
29435 wxCustomDataObject *result;
29436 bool temp1 = false ;
29437 PyObject * obj0 = 0 ;
29438
29439 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
29440 {
29441 arg1 = wxString_in_helper(obj0);
29442 if (arg1 == NULL) SWIG_fail;
29443 temp1 = true;
29444 }
29445 {
29446 PyThreadState* __tstate = wxPyBeginAllowThreads();
29447 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
29448
29449 wxPyEndAllowThreads(__tstate);
29450 if (PyErr_Occurred()) SWIG_fail;
29451 }
29452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29453 {
29454 if (temp1)
29455 delete arg1;
29456 }
29457 return resultobj;
29458 fail:
29459 {
29460 if (temp1)
29461 delete arg1;
29462 }
29463 return NULL;
29464}
29465
29466
29467static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
32fe5131 29468 PyObject *resultobj = NULL;
fef4c27a
RD
29469 wxCustomDataObject *result;
29470
29471 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
29472 {
29473 PyThreadState* __tstate = wxPyBeginAllowThreads();
29474 result = (wxCustomDataObject *)new wxCustomDataObject();
29475
29476 wxPyEndAllowThreads(__tstate);
29477 if (PyErr_Occurred()) SWIG_fail;
29478 }
29479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
29480 return resultobj;
29481 fail:
29482 return NULL;
29483}
29484
29485
29486static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
29487 int argc;
29488 PyObject *argv[2];
29489 int ii;
29490
29491 argc = PyObject_Length(args);
29492 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
29493 argv[ii] = PyTuple_GetItem(args,ii);
29494 }
29495 if (argc == 0) {
29496 return _wrap_new_CustomDataObject__SWIG_2(self,args);
29497 }
29498 if (argc == 1) {
29499 int _v;
29500 {
29501 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
29502 }
29503 if (_v) {
29504 return _wrap_new_CustomDataObject__SWIG_1(self,args);
29505 }
29506 }
29507 if (argc == 1) {
29508 int _v;
29509 {
29510 void *ptr = 0;
29511 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
29512 _v = 0;
29513 PyErr_Clear();
29514 } else {
29515 _v = (ptr != 0);
29516 }
29517 }
29518 if (_v) {
29519 return _wrap_new_CustomDataObject__SWIG_0(self,args);
29520 }
29521 }
29522
29523 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
29524 return NULL;
29525}
29526
29527
c370783e 29528static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29529 PyObject *resultobj = NULL;
d55e5bfc
RD
29530 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29531 PyObject *arg2 = (PyObject *) 0 ;
29532 bool result;
29533 PyObject * obj0 = 0 ;
29534 PyObject * obj1 = 0 ;
29535 char *kwnames[] = {
29536 (char *) "self",(char *) "data", NULL
29537 };
29538
29539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29541 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29542 arg2 = obj1;
29543 {
29544 PyThreadState* __tstate = wxPyBeginAllowThreads();
29545 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
29546
29547 wxPyEndAllowThreads(__tstate);
29548 if (PyErr_Occurred()) SWIG_fail;
29549 }
29550 {
29551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29552 }
29553 return resultobj;
29554 fail:
29555 return NULL;
29556}
29557
29558
c370783e 29559static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29560 PyObject *resultobj = NULL;
d55e5bfc
RD
29561 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29562 size_t result;
29563 PyObject * obj0 = 0 ;
29564 char *kwnames[] = {
29565 (char *) "self", NULL
29566 };
29567
29568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
29569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29571 {
29572 PyThreadState* __tstate = wxPyBeginAllowThreads();
29573 result = (size_t)(arg1)->GetSize();
29574
29575 wxPyEndAllowThreads(__tstate);
29576 if (PyErr_Occurred()) SWIG_fail;
29577 }
36ed4f51 29578 {
32fe5131 29579 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 29580 }
d55e5bfc
RD
29581 return resultobj;
29582 fail:
29583 return NULL;
29584}
29585
29586
c370783e 29587static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29588 PyObject *resultobj = NULL;
d55e5bfc
RD
29589 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
29590 PyObject *result;
29591 PyObject * obj0 = 0 ;
29592 char *kwnames[] = {
29593 (char *) "self", NULL
29594 };
29595
29596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
29597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
29598 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 result = (PyObject *)wxCustomDataObject_GetData(arg1);
29602
29603 wxPyEndAllowThreads(__tstate);
29604 if (PyErr_Occurred()) SWIG_fail;
29605 }
29606 resultobj = result;
29607 return resultobj;
29608 fail:
29609 return NULL;
29610}
29611
29612
c370783e 29613static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29614 PyObject *obj;
29615 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29616 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
29617 Py_INCREF(obj);
29618 return Py_BuildValue((char *)"");
29619}
c370783e 29620static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29621 PyObject *resultobj = NULL;
d55e5bfc
RD
29622 wxURLDataObject *result;
29623 char *kwnames[] = {
29624 NULL
29625 };
29626
29627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
29628 {
29629 PyThreadState* __tstate = wxPyBeginAllowThreads();
29630 result = (wxURLDataObject *)new wxURLDataObject();
29631
29632 wxPyEndAllowThreads(__tstate);
29633 if (PyErr_Occurred()) SWIG_fail;
29634 }
29635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
29636 return resultobj;
29637 fail:
29638 return NULL;
29639}
29640
29641
c370783e 29642static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29643 PyObject *resultobj = NULL;
d55e5bfc
RD
29644 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
29645 wxString result;
29646 PyObject * obj0 = 0 ;
29647 char *kwnames[] = {
29648 (char *) "self", NULL
29649 };
29650
29651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
36ed4f51
RD
29652 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
29653 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29654 {
29655 PyThreadState* __tstate = wxPyBeginAllowThreads();
29656 result = (arg1)->GetURL();
29657
29658 wxPyEndAllowThreads(__tstate);
29659 if (PyErr_Occurred()) SWIG_fail;
29660 }
29661 {
29662#if wxUSE_UNICODE
29663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29664#else
29665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29666#endif
29667 }
29668 return resultobj;
29669 fail:
29670 return NULL;
29671}
29672
29673
c370783e 29674static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29675 PyObject *resultobj = NULL;
d55e5bfc
RD
29676 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
29677 wxString *arg2 = 0 ;
b411df4a 29678 bool temp2 = false ;
d55e5bfc
RD
29679 PyObject * obj0 = 0 ;
29680 PyObject * obj1 = 0 ;
29681 char *kwnames[] = {
29682 (char *) "self",(char *) "url", NULL
29683 };
29684
29685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
29687 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29688 {
29689 arg2 = wxString_in_helper(obj1);
29690 if (arg2 == NULL) SWIG_fail;
b411df4a 29691 temp2 = true;
d55e5bfc
RD
29692 }
29693 {
29694 PyThreadState* __tstate = wxPyBeginAllowThreads();
29695 (arg1)->SetURL((wxString const &)*arg2);
29696
29697 wxPyEndAllowThreads(__tstate);
29698 if (PyErr_Occurred()) SWIG_fail;
29699 }
29700 Py_INCREF(Py_None); resultobj = Py_None;
29701 {
29702 if (temp2)
29703 delete arg2;
29704 }
29705 return resultobj;
29706 fail:
29707 {
29708 if (temp2)
29709 delete arg2;
29710 }
29711 return NULL;
29712}
29713
29714
c370783e 29715static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29716 PyObject *obj;
29717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29718 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
29719 Py_INCREF(obj);
29720 return Py_BuildValue((char *)"");
29721}
c370783e 29722static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29723 PyObject *resultobj = NULL;
d55e5bfc
RD
29724 wxMetafileDataObject *result;
29725 char *kwnames[] = {
29726 NULL
29727 };
29728
29729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
29730 {
29731 PyThreadState* __tstate = wxPyBeginAllowThreads();
29732 result = (wxMetafileDataObject *)new wxMetafileDataObject();
29733
29734 wxPyEndAllowThreads(__tstate);
29735 if (PyErr_Occurred()) SWIG_fail;
29736 }
29737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
29738 return resultobj;
29739 fail:
29740 return NULL;
29741}
29742
29743
c370783e 29744static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29745 PyObject *resultobj = NULL;
d55e5bfc
RD
29746 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
29747 wxMetafile *arg2 = 0 ;
29748 PyObject * obj0 = 0 ;
29749 PyObject * obj1 = 0 ;
29750 char *kwnames[] = {
29751 (char *) "self",(char *) "metafile", NULL
29752 };
29753
29754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
29756 if (SWIG_arg_fail(1)) SWIG_fail;
29757 {
29758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
29759 if (SWIG_arg_fail(2)) SWIG_fail;
29760 if (arg2 == NULL) {
29761 SWIG_null_ref("wxMetafile");
29762 }
29763 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29764 }
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 (arg1)->SetMetafile((wxMetafile const &)*arg2);
29768
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 Py_INCREF(Py_None); resultobj = Py_None;
29773 return resultobj;
29774 fail:
29775 return NULL;
29776}
29777
29778
c370783e 29779static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29780 PyObject *resultobj = NULL;
d55e5bfc
RD
29781 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
29782 wxMetafile result;
29783 PyObject * obj0 = 0 ;
29784 char *kwnames[] = {
29785 (char *) "self", NULL
29786 };
29787
29788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
36ed4f51
RD
29789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
29790 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29791 {
29792 PyThreadState* __tstate = wxPyBeginAllowThreads();
29793 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
29794
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 {
29799 wxMetafile * resultptr;
32fe5131 29800 resultptr = new wxMetafile(static_cast<wxMetafile & >(result));
d55e5bfc
RD
29801 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
29802 }
29803 return resultobj;
29804 fail:
29805 return NULL;
29806}
29807
29808
c370783e 29809static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
29810 PyObject *obj;
29811 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29812 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
29813 Py_INCREF(obj);
29814 return Py_BuildValue((char *)"");
29815}
c370783e 29816static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29817 PyObject *resultobj = NULL;
36ed4f51 29818 wxDragResult arg1 ;
d55e5bfc
RD
29819 bool result;
29820 PyObject * obj0 = 0 ;
29821 char *kwnames[] = {
29822 (char *) "res", NULL
29823 };
29824
29825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
36ed4f51 29826 {
32fe5131 29827 arg1 = static_cast<wxDragResult >(SWIG_As_int(obj0));
36ed4f51
RD
29828 if (SWIG_arg_fail(1)) SWIG_fail;
29829 }
d55e5bfc
RD
29830 {
29831 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 29832 result = (bool)wxIsDragResultOk(arg1);
d55e5bfc
RD
29833
29834 wxPyEndAllowThreads(__tstate);
29835 if (PyErr_Occurred()) SWIG_fail;
29836 }
29837 {
29838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29839 }
29840 return resultobj;
29841 fail:
29842 return NULL;
29843}
29844
29845
c370783e 29846static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29847 PyObject *resultobj = NULL;
d55e5bfc
RD
29848 wxWindow *arg1 = (wxWindow *) 0 ;
29849 wxCursor const &arg2_defvalue = wxNullCursor ;
29850 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29851 wxCursor const &arg3_defvalue = wxNullCursor ;
29852 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
29853 wxCursor const &arg4_defvalue = wxNullCursor ;
29854 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
29855 wxPyDropSource *result;
29856 PyObject * obj0 = 0 ;
29857 PyObject * obj1 = 0 ;
29858 PyObject * obj2 = 0 ;
29859 PyObject * obj3 = 0 ;
29860 char *kwnames[] = {
29861 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
29862 };
29863
29864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
29865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
29866 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 29867 if (obj1) {
36ed4f51
RD
29868 {
29869 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29870 if (SWIG_arg_fail(2)) SWIG_fail;
29871 if (arg2 == NULL) {
29872 SWIG_null_ref("wxCursor");
29873 }
29874 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29875 }
29876 }
29877 if (obj2) {
36ed4f51
RD
29878 {
29879 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29880 if (SWIG_arg_fail(3)) SWIG_fail;
29881 if (arg3 == NULL) {
29882 SWIG_null_ref("wxCursor");
29883 }
29884 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29885 }
29886 }
29887 if (obj3) {
36ed4f51
RD
29888 {
29889 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
29890 if (SWIG_arg_fail(4)) SWIG_fail;
29891 if (arg4 == NULL) {
29892 SWIG_null_ref("wxCursor");
29893 }
29894 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
29895 }
29896 }
29897 {
29898 PyThreadState* __tstate = wxPyBeginAllowThreads();
29899 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
29900
29901 wxPyEndAllowThreads(__tstate);
29902 if (PyErr_Occurred()) SWIG_fail;
29903 }
29904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
29905 return resultobj;
29906 fail:
29907 return NULL;
29908}
29909
29910
c370783e 29911static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29912 PyObject *resultobj = NULL;
d55e5bfc
RD
29913 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29914 PyObject *arg2 = (PyObject *) 0 ;
29915 PyObject *arg3 = (PyObject *) 0 ;
29916 int arg4 ;
29917 PyObject * obj0 = 0 ;
29918 PyObject * obj1 = 0 ;
29919 PyObject * obj2 = 0 ;
29920 PyObject * obj3 = 0 ;
29921 char *kwnames[] = {
29922 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29923 };
29924
29925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
29926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29927 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29928 arg2 = obj1;
29929 arg3 = obj2;
36ed4f51 29930 {
32fe5131 29931 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
29932 if (SWIG_arg_fail(4)) SWIG_fail;
29933 }
d55e5bfc
RD
29934 {
29935 PyThreadState* __tstate = wxPyBeginAllowThreads();
29936 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
29937
29938 wxPyEndAllowThreads(__tstate);
29939 if (PyErr_Occurred()) SWIG_fail;
29940 }
29941 Py_INCREF(Py_None); resultobj = Py_None;
29942 return resultobj;
29943 fail:
29944 return NULL;
29945}
29946
29947
c370783e 29948static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29949 PyObject *resultobj = NULL;
d55e5bfc
RD
29950 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29951 PyObject * obj0 = 0 ;
29952 char *kwnames[] = {
29953 (char *) "self", NULL
29954 };
29955
29956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
36ed4f51
RD
29957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29958 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29959 {
29960 PyThreadState* __tstate = wxPyBeginAllowThreads();
29961 delete arg1;
29962
29963 wxPyEndAllowThreads(__tstate);
29964 if (PyErr_Occurred()) SWIG_fail;
29965 }
29966 Py_INCREF(Py_None); resultobj = Py_None;
29967 return resultobj;
29968 fail:
29969 return NULL;
29970}
29971
29972
c370783e 29973static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 29974 PyObject *resultobj = NULL;
d55e5bfc
RD
29975 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
29976 wxDataObject *arg2 = 0 ;
29977 PyObject * obj0 = 0 ;
29978 PyObject * obj1 = 0 ;
29979 char *kwnames[] = {
29980 (char *) "self",(char *) "data", NULL
29981 };
29982
29983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail;
29986 {
29987 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
29988 if (SWIG_arg_fail(2)) SWIG_fail;
29989 if (arg2 == NULL) {
29990 SWIG_null_ref("wxDataObject");
29991 }
29992 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29993 }
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->SetData(*arg2);
29997
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
30001 Py_INCREF(Py_None); resultobj = Py_None;
30002 return resultobj;
30003 fail:
30004 return NULL;
30005}
30006
30007
c370783e 30008static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30009 PyObject *resultobj = NULL;
d55e5bfc
RD
30010 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
30011 wxDataObject *result;
30012 PyObject * obj0 = 0 ;
30013 char *kwnames[] = {
30014 (char *) "self", NULL
30015 };
30016
30017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
36ed4f51
RD
30018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30019 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30020 {
30021 PyThreadState* __tstate = wxPyBeginAllowThreads();
30022 result = (wxDataObject *)(arg1)->GetDataObject();
30023
30024 wxPyEndAllowThreads(__tstate);
30025 if (PyErr_Occurred()) SWIG_fail;
30026 }
30027 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
30028 return resultobj;
30029 fail:
30030 return NULL;
30031}
30032
30033
c370783e 30034static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30035 PyObject *resultobj = NULL;
d55e5bfc 30036 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
36ed4f51 30037 wxDragResult arg2 ;
d55e5bfc
RD
30038 wxCursor *arg3 = 0 ;
30039 PyObject * obj0 = 0 ;
30040 PyObject * obj1 = 0 ;
30041 PyObject * obj2 = 0 ;
30042 char *kwnames[] = {
30043 (char *) "self",(char *) "res",(char *) "cursor", NULL
30044 };
30045
30046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30048 if (SWIG_arg_fail(1)) SWIG_fail;
30049 {
32fe5131 30050 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
36ed4f51
RD
30051 if (SWIG_arg_fail(2)) SWIG_fail;
30052 }
30053 {
30054 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
30055 if (SWIG_arg_fail(3)) SWIG_fail;
30056 if (arg3 == NULL) {
30057 SWIG_null_ref("wxCursor");
30058 }
30059 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
30060 }
30061 {
30062 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 30063 (arg1)->SetCursor(arg2,(wxCursor const &)*arg3);
d55e5bfc
RD
30064
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
30068 Py_INCREF(Py_None); resultobj = Py_None;
30069 return resultobj;
30070 fail:
30071 return NULL;
30072}
30073
30074
c370783e 30075static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30076 PyObject *resultobj = NULL;
d55e5bfc
RD
30077 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
30078 int arg2 = (int) wxDrag_CopyOnly ;
36ed4f51 30079 wxDragResult result;
d55e5bfc
RD
30080 PyObject * obj0 = 0 ;
30081 PyObject * obj1 = 0 ;
30082 char *kwnames[] = {
30083 (char *) "self",(char *) "flags", NULL
30084 };
30085
30086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30088 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30089 if (obj1) {
36ed4f51 30090 {
32fe5131 30091 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30092 if (SWIG_arg_fail(2)) SWIG_fail;
30093 }
d55e5bfc
RD
30094 }
30095 {
30096 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 30097 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
d55e5bfc
RD
30098
30099 wxPyEndAllowThreads(__tstate);
30100 if (PyErr_Occurred()) SWIG_fail;
30101 }
36ed4f51 30102 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30103 return resultobj;
30104 fail:
30105 return NULL;
30106}
30107
30108
7f7aa166 30109static PyObject *_wrap_DropSource_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30110 PyObject *resultobj = NULL;
d55e5bfc 30111 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
36ed4f51 30112 wxDragResult arg2 ;
d55e5bfc
RD
30113 bool result;
30114 PyObject * obj0 = 0 ;
30115 PyObject * obj1 = 0 ;
30116 char *kwnames[] = {
30117 (char *) "self",(char *) "effect", NULL
30118 };
30119
7f7aa166 30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
30122 if (SWIG_arg_fail(1)) SWIG_fail;
30123 {
32fe5131 30124 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
36ed4f51
RD
30125 if (SWIG_arg_fail(2)) SWIG_fail;
30126 }
d55e5bfc
RD
30127 {
30128 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30129 result = (bool)(arg1)->GiveFeedback(arg2);
d55e5bfc
RD
30130
30131 wxPyEndAllowThreads(__tstate);
30132 if (PyErr_Occurred()) SWIG_fail;
30133 }
30134 {
30135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30136 }
30137 return resultobj;
30138 fail:
30139 return NULL;
30140}
30141
30142
c370783e 30143static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30144 PyObject *obj;
30145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30146 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
30147 Py_INCREF(obj);
30148 return Py_BuildValue((char *)"");
30149}
c370783e 30150static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30151 PyObject *resultobj = NULL;
d55e5bfc
RD
30152 wxDataObject *arg1 = (wxDataObject *) NULL ;
30153 wxPyDropTarget *result;
30154 PyObject * obj0 = 0 ;
30155 char *kwnames[] = {
30156 (char *) "dataObject", NULL
30157 };
30158
30159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
30160 if (obj0) {
36ed4f51
RD
30161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30163 }
30164 {
30165 PyThreadState* __tstate = wxPyBeginAllowThreads();
30166 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
30167
30168 wxPyEndAllowThreads(__tstate);
30169 if (PyErr_Occurred()) SWIG_fail;
30170 }
30171 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
30172 return resultobj;
30173 fail:
30174 return NULL;
30175}
30176
30177
c370783e 30178static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30179 PyObject *resultobj = NULL;
d55e5bfc
RD
30180 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30181 PyObject *arg2 = (PyObject *) 0 ;
30182 PyObject *arg3 = (PyObject *) 0 ;
30183 PyObject * obj0 = 0 ;
30184 PyObject * obj1 = 0 ;
30185 PyObject * obj2 = 0 ;
30186 char *kwnames[] = {
30187 (char *) "self",(char *) "self",(char *) "_class", NULL
30188 };
30189
30190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30192 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30193 arg2 = obj1;
30194 arg3 = obj2;
30195 {
30196 PyThreadState* __tstate = wxPyBeginAllowThreads();
30197 (arg1)->_setCallbackInfo(arg2,arg3);
30198
30199 wxPyEndAllowThreads(__tstate);
30200 if (PyErr_Occurred()) SWIG_fail;
30201 }
30202 Py_INCREF(Py_None); resultobj = Py_None;
30203 return resultobj;
30204 fail:
30205 return NULL;
30206}
30207
30208
c370783e 30209static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30210 PyObject *resultobj = NULL;
d55e5bfc
RD
30211 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30212 PyObject * obj0 = 0 ;
30213 char *kwnames[] = {
30214 (char *) "self", NULL
30215 };
30216
30217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
30218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30220 {
30221 PyThreadState* __tstate = wxPyBeginAllowThreads();
30222 delete arg1;
30223
30224 wxPyEndAllowThreads(__tstate);
30225 if (PyErr_Occurred()) SWIG_fail;
30226 }
30227 Py_INCREF(Py_None); resultobj = Py_None;
30228 return resultobj;
30229 fail:
30230 return NULL;
30231}
30232
30233
c370783e 30234static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30235 PyObject *resultobj = NULL;
d55e5bfc
RD
30236 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30237 wxDataObject *result;
30238 PyObject * obj0 = 0 ;
30239 char *kwnames[] = {
30240 (char *) "self", NULL
30241 };
30242
30243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
36ed4f51
RD
30244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30245 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30246 {
30247 PyThreadState* __tstate = wxPyBeginAllowThreads();
30248 result = (wxDataObject *)(arg1)->GetDataObject();
30249
30250 wxPyEndAllowThreads(__tstate);
30251 if (PyErr_Occurred()) SWIG_fail;
30252 }
30253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
30254 return resultobj;
30255 fail:
30256 return NULL;
30257}
30258
30259
c370783e 30260static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30261 PyObject *resultobj = NULL;
d55e5bfc
RD
30262 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30263 wxDataObject *arg2 = (wxDataObject *) 0 ;
30264 PyObject * obj0 = 0 ;
30265 PyObject * obj1 = 0 ;
30266 char *kwnames[] = {
30267 (char *) "self",(char *) "dataObject", NULL
30268 };
30269
30270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30272 if (SWIG_arg_fail(1)) SWIG_fail;
30273 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
30274 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30275 {
30276 PyThreadState* __tstate = wxPyBeginAllowThreads();
30277 (arg1)->SetDataObject(arg2);
30278
30279 wxPyEndAllowThreads(__tstate);
30280 if (PyErr_Occurred()) SWIG_fail;
30281 }
30282 Py_INCREF(Py_None); resultobj = Py_None;
30283 return resultobj;
30284 fail:
30285 return NULL;
30286}
30287
30288
7f7aa166 30289static PyObject *_wrap_DropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30290 PyObject *resultobj = NULL;
d55e5bfc
RD
30291 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30292 int arg2 ;
30293 int arg3 ;
36ed4f51
RD
30294 wxDragResult arg4 ;
30295 wxDragResult result;
d55e5bfc
RD
30296 PyObject * obj0 = 0 ;
30297 PyObject * obj1 = 0 ;
30298 PyObject * obj2 = 0 ;
30299 PyObject * obj3 = 0 ;
30300 char *kwnames[] = {
30301 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30302 };
30303
7f7aa166 30304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30306 if (SWIG_arg_fail(1)) SWIG_fail;
30307 {
32fe5131 30308 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30309 if (SWIG_arg_fail(2)) SWIG_fail;
30310 }
30311 {
32fe5131 30312 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30313 if (SWIG_arg_fail(3)) SWIG_fail;
30314 }
30315 {
32fe5131 30316 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
30317 if (SWIG_arg_fail(4)) SWIG_fail;
30318 }
d55e5bfc
RD
30319 {
30320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30321 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30322
30323 wxPyEndAllowThreads(__tstate);
30324 if (PyErr_Occurred()) SWIG_fail;
30325 }
36ed4f51 30326 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30327 return resultobj;
30328 fail:
30329 return NULL;
30330}
30331
30332
7f7aa166 30333static PyObject *_wrap_DropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30334 PyObject *resultobj = NULL;
d55e5bfc
RD
30335 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30336 int arg2 ;
30337 int arg3 ;
36ed4f51
RD
30338 wxDragResult arg4 ;
30339 wxDragResult result;
d55e5bfc
RD
30340 PyObject * obj0 = 0 ;
30341 PyObject * obj1 = 0 ;
30342 PyObject * obj2 = 0 ;
30343 PyObject * obj3 = 0 ;
30344 char *kwnames[] = {
30345 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30346 };
30347
7f7aa166 30348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30350 if (SWIG_arg_fail(1)) SWIG_fail;
30351 {
32fe5131 30352 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30353 if (SWIG_arg_fail(2)) SWIG_fail;
30354 }
30355 {
32fe5131 30356 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30357 if (SWIG_arg_fail(3)) SWIG_fail;
30358 }
30359 {
32fe5131 30360 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
30361 if (SWIG_arg_fail(4)) SWIG_fail;
30362 }
d55e5bfc
RD
30363 {
30364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30365 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
30366
30367 wxPyEndAllowThreads(__tstate);
30368 if (PyErr_Occurred()) SWIG_fail;
30369 }
36ed4f51 30370 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30371 return resultobj;
30372 fail:
30373 return NULL;
30374}
30375
30376
7f7aa166 30377static PyObject *_wrap_DropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30378 PyObject *resultobj = NULL;
d55e5bfc
RD
30379 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30380 PyObject * obj0 = 0 ;
30381 char *kwnames[] = {
30382 (char *) "self", NULL
30383 };
30384
7f7aa166 30385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_OnLeave",kwnames,&obj0)) goto fail;
36ed4f51
RD
30386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30388 {
30389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30390 (arg1)->OnLeave();
d55e5bfc
RD
30391
30392 wxPyEndAllowThreads(__tstate);
30393 if (PyErr_Occurred()) SWIG_fail;
30394 }
30395 Py_INCREF(Py_None); resultobj = Py_None;
30396 return resultobj;
30397 fail:
30398 return NULL;
30399}
30400
30401
7f7aa166 30402static PyObject *_wrap_DropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30403 PyObject *resultobj = NULL;
d55e5bfc
RD
30404 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30405 int arg2 ;
30406 int arg3 ;
30407 bool result;
30408 PyObject * obj0 = 0 ;
30409 PyObject * obj1 = 0 ;
30410 PyObject * obj2 = 0 ;
30411 char *kwnames[] = {
30412 (char *) "self",(char *) "x",(char *) "y", NULL
30413 };
30414
7f7aa166 30415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30416 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30417 if (SWIG_arg_fail(1)) SWIG_fail;
30418 {
32fe5131 30419 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30420 if (SWIG_arg_fail(2)) SWIG_fail;
30421 }
30422 {
32fe5131 30423 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30424 if (SWIG_arg_fail(3)) SWIG_fail;
30425 }
d55e5bfc
RD
30426 {
30427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30428 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
30429
30430 wxPyEndAllowThreads(__tstate);
30431 if (PyErr_Occurred()) SWIG_fail;
30432 }
30433 {
30434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30435 }
30436 return resultobj;
30437 fail:
30438 return NULL;
30439}
30440
30441
c370783e 30442static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30443 PyObject *resultobj = NULL;
d55e5bfc
RD
30444 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30445 bool result;
30446 PyObject * obj0 = 0 ;
30447 char *kwnames[] = {
30448 (char *) "self", NULL
30449 };
30450
30451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
30452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30453 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30454 {
30455 PyThreadState* __tstate = wxPyBeginAllowThreads();
30456 result = (bool)(arg1)->GetData();
30457
30458 wxPyEndAllowThreads(__tstate);
30459 if (PyErr_Occurred()) SWIG_fail;
30460 }
30461 {
30462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30463 }
30464 return resultobj;
30465 fail:
30466 return NULL;
30467}
30468
30469
a95f9d4f 30470static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30471 PyObject *resultobj = NULL;
a95f9d4f
RD
30472 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30473 wxDragResult arg2 ;
30474 PyObject * obj0 = 0 ;
30475 PyObject * obj1 = 0 ;
30476 char *kwnames[] = {
30477 (char *) "self",(char *) "action", NULL
30478 };
30479
30480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
30481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30482 if (SWIG_arg_fail(1)) SWIG_fail;
30483 {
32fe5131 30484 arg2 = static_cast<wxDragResult >(SWIG_As_int(obj1));
a95f9d4f
RD
30485 if (SWIG_arg_fail(2)) SWIG_fail;
30486 }
30487 {
30488 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 30489 (arg1)->SetDefaultAction(arg2);
a95f9d4f
RD
30490
30491 wxPyEndAllowThreads(__tstate);
30492 if (PyErr_Occurred()) SWIG_fail;
30493 }
30494 Py_INCREF(Py_None); resultobj = Py_None;
30495 return resultobj;
30496 fail:
30497 return NULL;
30498}
30499
30500
30501static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30502 PyObject *resultobj = NULL;
a95f9d4f
RD
30503 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
30504 wxDragResult result;
30505 PyObject * obj0 = 0 ;
30506 char *kwnames[] = {
30507 (char *) "self", NULL
30508 };
30509
30510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
30511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
30512 if (SWIG_arg_fail(1)) SWIG_fail;
30513 {
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 result = (wxDragResult)(arg1)->GetDefaultAction();
30516
30517 wxPyEndAllowThreads(__tstate);
30518 if (PyErr_Occurred()) SWIG_fail;
30519 }
30520 resultobj = SWIG_From_int((result));
30521 return resultobj;
30522 fail:
30523 return NULL;
30524}
30525
30526
c370783e 30527static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30528 PyObject *obj;
30529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30530 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
30531 Py_INCREF(obj);
30532 return Py_BuildValue((char *)"");
30533}
c370783e 30534static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30535 PyObject *resultobj = NULL;
d55e5bfc
RD
30536 wxPyTextDropTarget *result;
30537 char *kwnames[] = {
30538 NULL
30539 };
30540
30541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
30545
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
30550 return resultobj;
30551 fail:
30552 return NULL;
30553}
30554
30555
c370783e 30556static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30557 PyObject *resultobj = NULL;
d55e5bfc
RD
30558 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30559 PyObject *arg2 = (PyObject *) 0 ;
30560 PyObject *arg3 = (PyObject *) 0 ;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 PyObject * obj2 = 0 ;
30564 char *kwnames[] = {
30565 (char *) "self",(char *) "self",(char *) "_class", NULL
30566 };
30567
30568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30570 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30571 arg2 = obj1;
30572 arg3 = obj2;
30573 {
30574 PyThreadState* __tstate = wxPyBeginAllowThreads();
30575 (arg1)->_setCallbackInfo(arg2,arg3);
30576
30577 wxPyEndAllowThreads(__tstate);
30578 if (PyErr_Occurred()) SWIG_fail;
30579 }
30580 Py_INCREF(Py_None); resultobj = Py_None;
30581 return resultobj;
30582 fail:
30583 return NULL;
30584}
30585
30586
7f7aa166
RD
30587static PyObject *_wrap_TextDropTarget_OnDropText(PyObject *, PyObject *args, PyObject *kwargs) {
30588 PyObject *resultobj = NULL;
30589 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30590 int arg2 ;
30591 int arg3 ;
30592 wxString *arg4 = 0 ;
30593 bool result;
30594 bool temp4 = false ;
30595 PyObject * obj0 = 0 ;
30596 PyObject * obj1 = 0 ;
30597 PyObject * obj2 = 0 ;
30598 PyObject * obj3 = 0 ;
30599 char *kwnames[] = {
30600 (char *) "self",(char *) "x",(char *) "y",(char *) "text", NULL
30601 };
30602
30603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30605 if (SWIG_arg_fail(1)) SWIG_fail;
30606 {
30607 arg2 = static_cast<int >(SWIG_As_int(obj1));
30608 if (SWIG_arg_fail(2)) SWIG_fail;
30609 }
30610 {
30611 arg3 = static_cast<int >(SWIG_As_int(obj2));
30612 if (SWIG_arg_fail(3)) SWIG_fail;
30613 }
30614 {
30615 arg4 = wxString_in_helper(obj3);
30616 if (arg4 == NULL) SWIG_fail;
30617 temp4 = true;
30618 }
30619 {
30620 PyThreadState* __tstate = wxPyBeginAllowThreads();
30621 result = (bool)(arg1)->OnDropText(arg2,arg3,(wxString const &)*arg4);
30622
30623 wxPyEndAllowThreads(__tstate);
30624 if (PyErr_Occurred()) SWIG_fail;
30625 }
30626 {
30627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30628 }
30629 {
30630 if (temp4)
30631 delete arg4;
30632 }
30633 return resultobj;
30634 fail:
30635 {
30636 if (temp4)
30637 delete arg4;
30638 }
30639 return NULL;
30640}
30641
30642
30643static PyObject *_wrap_TextDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30644 PyObject *resultobj = NULL;
d55e5bfc
RD
30645 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30646 int arg2 ;
30647 int arg3 ;
36ed4f51
RD
30648 wxDragResult arg4 ;
30649 wxDragResult result;
d55e5bfc
RD
30650 PyObject * obj0 = 0 ;
30651 PyObject * obj1 = 0 ;
30652 PyObject * obj2 = 0 ;
30653 PyObject * obj3 = 0 ;
30654 char *kwnames[] = {
30655 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30656 };
30657
7f7aa166 30658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30660 if (SWIG_arg_fail(1)) SWIG_fail;
30661 {
32fe5131 30662 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30663 if (SWIG_arg_fail(2)) SWIG_fail;
30664 }
30665 {
32fe5131 30666 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30667 if (SWIG_arg_fail(3)) SWIG_fail;
30668 }
30669 {
32fe5131 30670 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
30671 if (SWIG_arg_fail(4)) SWIG_fail;
30672 }
d55e5bfc
RD
30673 {
30674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30675 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30676
30677 wxPyEndAllowThreads(__tstate);
30678 if (PyErr_Occurred()) SWIG_fail;
30679 }
36ed4f51 30680 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30681 return resultobj;
30682 fail:
30683 return NULL;
30684}
30685
30686
7f7aa166 30687static PyObject *_wrap_TextDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30688 PyObject *resultobj = NULL;
d55e5bfc
RD
30689 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30690 int arg2 ;
30691 int arg3 ;
36ed4f51
RD
30692 wxDragResult arg4 ;
30693 wxDragResult result;
d55e5bfc
RD
30694 PyObject * obj0 = 0 ;
30695 PyObject * obj1 = 0 ;
30696 PyObject * obj2 = 0 ;
30697 PyObject * obj3 = 0 ;
30698 char *kwnames[] = {
30699 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30700 };
30701
7f7aa166 30702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30704 if (SWIG_arg_fail(1)) SWIG_fail;
30705 {
32fe5131 30706 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30707 if (SWIG_arg_fail(2)) SWIG_fail;
30708 }
30709 {
32fe5131 30710 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30711 if (SWIG_arg_fail(3)) SWIG_fail;
30712 }
30713 {
32fe5131 30714 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
30715 if (SWIG_arg_fail(4)) SWIG_fail;
30716 }
d55e5bfc
RD
30717 {
30718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30719 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
30720
30721 wxPyEndAllowThreads(__tstate);
30722 if (PyErr_Occurred()) SWIG_fail;
30723 }
36ed4f51 30724 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30725 return resultobj;
30726 fail:
30727 return NULL;
30728}
30729
30730
7f7aa166 30731static PyObject *_wrap_TextDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30732 PyObject *resultobj = NULL;
d55e5bfc
RD
30733 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30734 PyObject * obj0 = 0 ;
30735 char *kwnames[] = {
30736 (char *) "self", NULL
30737 };
30738
7f7aa166 30739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_OnLeave",kwnames,&obj0)) goto fail;
36ed4f51
RD
30740 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30741 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30742 {
30743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30744 (arg1)->OnLeave();
d55e5bfc
RD
30745
30746 wxPyEndAllowThreads(__tstate);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 Py_INCREF(Py_None); resultobj = Py_None;
30750 return resultobj;
30751 fail:
30752 return NULL;
30753}
30754
30755
7f7aa166 30756static PyObject *_wrap_TextDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30757 PyObject *resultobj = NULL;
d55e5bfc
RD
30758 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30759 int arg2 ;
30760 int arg3 ;
30761 bool result;
30762 PyObject * obj0 = 0 ;
30763 PyObject * obj1 = 0 ;
30764 PyObject * obj2 = 0 ;
30765 char *kwnames[] = {
30766 (char *) "self",(char *) "x",(char *) "y", NULL
30767 };
30768
7f7aa166 30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30771 if (SWIG_arg_fail(1)) SWIG_fail;
30772 {
32fe5131 30773 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30774 if (SWIG_arg_fail(2)) SWIG_fail;
30775 }
30776 {
32fe5131 30777 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30778 if (SWIG_arg_fail(3)) SWIG_fail;
30779 }
d55e5bfc
RD
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30782 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
30783
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 {
30788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30789 }
30790 return resultobj;
30791 fail:
30792 return NULL;
30793}
30794
30795
7f7aa166 30796static PyObject *_wrap_TextDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30797 PyObject *resultobj = NULL;
d55e5bfc
RD
30798 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
30799 int arg2 ;
30800 int arg3 ;
36ed4f51
RD
30801 wxDragResult arg4 ;
30802 wxDragResult result;
d55e5bfc
RD
30803 PyObject * obj0 = 0 ;
30804 PyObject * obj1 = 0 ;
30805 PyObject * obj2 = 0 ;
30806 PyObject * obj3 = 0 ;
30807 char *kwnames[] = {
30808 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30809 };
30810
7f7aa166 30811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
30813 if (SWIG_arg_fail(1)) SWIG_fail;
30814 {
32fe5131 30815 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30816 if (SWIG_arg_fail(2)) SWIG_fail;
30817 }
30818 {
32fe5131 30819 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30820 if (SWIG_arg_fail(3)) SWIG_fail;
30821 }
30822 {
32fe5131 30823 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
30824 if (SWIG_arg_fail(4)) SWIG_fail;
30825 }
d55e5bfc
RD
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30828 result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
d55e5bfc
RD
30829
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
36ed4f51 30833 resultobj = SWIG_From_int((result));
d55e5bfc
RD
30834 return resultobj;
30835 fail:
30836 return NULL;
30837}
30838
30839
c370783e 30840static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30841 PyObject *obj;
30842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30843 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
30844 Py_INCREF(obj);
30845 return Py_BuildValue((char *)"");
30846}
c370783e 30847static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30848 PyObject *resultobj = NULL;
d55e5bfc
RD
30849 wxPyFileDropTarget *result;
30850 char *kwnames[] = {
30851 NULL
30852 };
30853
30854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
30855 {
30856 PyThreadState* __tstate = wxPyBeginAllowThreads();
30857 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
30858
30859 wxPyEndAllowThreads(__tstate);
30860 if (PyErr_Occurred()) SWIG_fail;
30861 }
30862 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
30863 return resultobj;
30864 fail:
30865 return NULL;
30866}
30867
30868
c370783e 30869static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30870 PyObject *resultobj = NULL;
d55e5bfc
RD
30871 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30872 PyObject *arg2 = (PyObject *) 0 ;
30873 PyObject *arg3 = (PyObject *) 0 ;
30874 PyObject * obj0 = 0 ;
30875 PyObject * obj1 = 0 ;
30876 PyObject * obj2 = 0 ;
30877 char *kwnames[] = {
30878 (char *) "self",(char *) "self",(char *) "_class", NULL
30879 };
30880
30881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30884 arg2 = obj1;
30885 arg3 = obj2;
30886 {
30887 PyThreadState* __tstate = wxPyBeginAllowThreads();
30888 (arg1)->_setCallbackInfo(arg2,arg3);
30889
30890 wxPyEndAllowThreads(__tstate);
30891 if (PyErr_Occurred()) SWIG_fail;
30892 }
30893 Py_INCREF(Py_None); resultobj = Py_None;
30894 return resultobj;
30895 fail:
30896 return NULL;
30897}
30898
30899
7f7aa166
RD
30900static PyObject *_wrap_FileDropTarget_OnDropFiles(PyObject *, PyObject *args, PyObject *kwargs) {
30901 PyObject *resultobj = NULL;
30902 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30903 int arg2 ;
30904 int arg3 ;
30905 wxArrayString *arg4 = 0 ;
30906 bool result;
30907 bool temp4 = false ;
30908 PyObject * obj0 = 0 ;
30909 PyObject * obj1 = 0 ;
30910 PyObject * obj2 = 0 ;
30911 PyObject * obj3 = 0 ;
30912 char *kwnames[] = {
30913 (char *) "self",(char *) "x",(char *) "y",(char *) "filenames", NULL
30914 };
30915
30916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDropFiles",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30918 if (SWIG_arg_fail(1)) SWIG_fail;
30919 {
30920 arg2 = static_cast<int >(SWIG_As_int(obj1));
30921 if (SWIG_arg_fail(2)) SWIG_fail;
30922 }
30923 {
30924 arg3 = static_cast<int >(SWIG_As_int(obj2));
30925 if (SWIG_arg_fail(3)) SWIG_fail;
30926 }
30927 {
30928 if (! PySequence_Check(obj3)) {
30929 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
30930 SWIG_fail;
30931 }
30932 arg4 = new wxArrayString;
30933 temp4 = true;
30934 int i, len=PySequence_Length(obj3);
30935 for (i=0; i<len; i++) {
30936 PyObject* item = PySequence_GetItem(obj3, i);
30937 wxString* s = wxString_in_helper(item);
30938 if (PyErr_Occurred()) SWIG_fail;
30939 arg4->Add(*s);
30940 delete s;
30941 Py_DECREF(item);
30942 }
30943 }
30944 {
30945 PyThreadState* __tstate = wxPyBeginAllowThreads();
30946 result = (bool)(arg1)->OnDropFiles(arg2,arg3,(wxArrayString const &)*arg4);
30947
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 {
30952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30953 }
30954 {
30955 if (temp4) delete arg4;
30956 }
30957 return resultobj;
30958 fail:
30959 {
30960 if (temp4) delete arg4;
30961 }
30962 return NULL;
30963}
30964
30965
30966static PyObject *_wrap_FileDropTarget_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 30967 PyObject *resultobj = NULL;
d55e5bfc
RD
30968 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
30969 int arg2 ;
30970 int arg3 ;
36ed4f51
RD
30971 wxDragResult arg4 ;
30972 wxDragResult result;
d55e5bfc
RD
30973 PyObject * obj0 = 0 ;
30974 PyObject * obj1 = 0 ;
30975 PyObject * obj2 = 0 ;
30976 PyObject * obj3 = 0 ;
30977 char *kwnames[] = {
30978 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
30979 };
30980
7f7aa166 30981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
30982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
30983 if (SWIG_arg_fail(1)) SWIG_fail;
30984 {
32fe5131 30985 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
30986 if (SWIG_arg_fail(2)) SWIG_fail;
30987 }
30988 {
32fe5131 30989 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
30990 if (SWIG_arg_fail(3)) SWIG_fail;
30991 }
30992 {
32fe5131 30993 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
30994 if (SWIG_arg_fail(4)) SWIG_fail;
30995 }
d55e5bfc
RD
30996 {
30997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 30998 result = (wxDragResult)(arg1)->OnEnter(arg2,arg3,arg4);
d55e5bfc
RD
30999
31000 wxPyEndAllowThreads(__tstate);
31001 if (PyErr_Occurred()) SWIG_fail;
31002 }
36ed4f51 31003 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31004 return resultobj;
31005 fail:
31006 return NULL;
31007}
31008
31009
7f7aa166 31010static PyObject *_wrap_FileDropTarget_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31011 PyObject *resultobj = NULL;
d55e5bfc
RD
31012 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31013 int arg2 ;
31014 int arg3 ;
36ed4f51
RD
31015 wxDragResult arg4 ;
31016 wxDragResult result;
d55e5bfc
RD
31017 PyObject * obj0 = 0 ;
31018 PyObject * obj1 = 0 ;
31019 PyObject * obj2 = 0 ;
31020 PyObject * obj3 = 0 ;
31021 char *kwnames[] = {
31022 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31023 };
31024
7f7aa166 31025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
31026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31027 if (SWIG_arg_fail(1)) SWIG_fail;
31028 {
32fe5131 31029 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
31030 if (SWIG_arg_fail(2)) SWIG_fail;
31031 }
31032 {
32fe5131 31033 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
31034 if (SWIG_arg_fail(3)) SWIG_fail;
31035 }
31036 {
32fe5131 31037 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
31038 if (SWIG_arg_fail(4)) SWIG_fail;
31039 }
d55e5bfc
RD
31040 {
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 31042 result = (wxDragResult)(arg1)->OnDragOver(arg2,arg3,arg4);
d55e5bfc
RD
31043
31044 wxPyEndAllowThreads(__tstate);
31045 if (PyErr_Occurred()) SWIG_fail;
31046 }
36ed4f51 31047 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31048 return resultobj;
31049 fail:
31050 return NULL;
31051}
31052
31053
7f7aa166 31054static PyObject *_wrap_FileDropTarget_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31055 PyObject *resultobj = NULL;
d55e5bfc
RD
31056 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31057 PyObject * obj0 = 0 ;
31058 char *kwnames[] = {
31059 (char *) "self", NULL
31060 };
31061
7f7aa166 31062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_OnLeave",kwnames,&obj0)) goto fail;
36ed4f51
RD
31063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31064 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31065 {
31066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 31067 (arg1)->OnLeave();
d55e5bfc
RD
31068
31069 wxPyEndAllowThreads(__tstate);
31070 if (PyErr_Occurred()) SWIG_fail;
31071 }
31072 Py_INCREF(Py_None); resultobj = Py_None;
31073 return resultobj;
31074 fail:
31075 return NULL;
31076}
31077
31078
7f7aa166 31079static PyObject *_wrap_FileDropTarget_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31080 PyObject *resultobj = NULL;
d55e5bfc
RD
31081 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31082 int arg2 ;
31083 int arg3 ;
31084 bool result;
31085 PyObject * obj0 = 0 ;
31086 PyObject * obj1 = 0 ;
31087 PyObject * obj2 = 0 ;
31088 char *kwnames[] = {
31089 (char *) "self",(char *) "x",(char *) "y", NULL
31090 };
31091
7f7aa166 31092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31094 if (SWIG_arg_fail(1)) SWIG_fail;
31095 {
32fe5131 31096 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
31097 if (SWIG_arg_fail(2)) SWIG_fail;
31098 }
31099 {
32fe5131 31100 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
31101 if (SWIG_arg_fail(3)) SWIG_fail;
31102 }
d55e5bfc
RD
31103 {
31104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 31105 result = (bool)(arg1)->OnDrop(arg2,arg3);
d55e5bfc
RD
31106
31107 wxPyEndAllowThreads(__tstate);
31108 if (PyErr_Occurred()) SWIG_fail;
31109 }
31110 {
31111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31112 }
31113 return resultobj;
31114 fail:
31115 return NULL;
31116}
31117
31118
7f7aa166 31119static PyObject *_wrap_FileDropTarget_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31120 PyObject *resultobj = NULL;
d55e5bfc
RD
31121 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
31122 int arg2 ;
31123 int arg3 ;
36ed4f51
RD
31124 wxDragResult arg4 ;
31125 wxDragResult result;
d55e5bfc
RD
31126 PyObject * obj0 = 0 ;
31127 PyObject * obj1 = 0 ;
31128 PyObject * obj2 = 0 ;
31129 PyObject * obj3 = 0 ;
31130 char *kwnames[] = {
31131 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
31132 };
31133
7f7aa166 31134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
31135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
31136 if (SWIG_arg_fail(1)) SWIG_fail;
31137 {
32fe5131 31138 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
31139 if (SWIG_arg_fail(2)) SWIG_fail;
31140 }
31141 {
32fe5131 31142 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
31143 if (SWIG_arg_fail(3)) SWIG_fail;
31144 }
31145 {
32fe5131 31146 arg4 = static_cast<wxDragResult >(SWIG_As_int(obj3));
36ed4f51
RD
31147 if (SWIG_arg_fail(4)) SWIG_fail;
31148 }
d55e5bfc
RD
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7f7aa166 31151 result = (wxDragResult)(arg1)->OnData(arg2,arg3,arg4);
d55e5bfc
RD
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
36ed4f51 31156 resultobj = SWIG_From_int((result));
d55e5bfc
RD
31157 return resultobj;
31158 fail:
31159 return NULL;
31160}
31161
31162
c370783e 31163static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31164 PyObject *obj;
31165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31166 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
31167 Py_INCREF(obj);
31168 return Py_BuildValue((char *)"");
31169}
c370783e 31170static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31171 PyObject *resultobj = NULL;
d55e5bfc
RD
31172 wxClipboard *result;
31173 char *kwnames[] = {
31174 NULL
31175 };
31176
31177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
31178 {
31179 PyThreadState* __tstate = wxPyBeginAllowThreads();
31180 result = (wxClipboard *)new wxClipboard();
31181
31182 wxPyEndAllowThreads(__tstate);
31183 if (PyErr_Occurred()) SWIG_fail;
31184 }
31185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
31186 return resultobj;
31187 fail:
31188 return NULL;
31189}
31190
31191
c370783e 31192static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31193 PyObject *resultobj = NULL;
d55e5bfc
RD
31194 wxClipboard *arg1 = (wxClipboard *) 0 ;
31195 PyObject * obj0 = 0 ;
31196 char *kwnames[] = {
31197 (char *) "self", NULL
31198 };
31199
31200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
31201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31202 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31203 {
31204 PyThreadState* __tstate = wxPyBeginAllowThreads();
31205 delete arg1;
31206
31207 wxPyEndAllowThreads(__tstate);
31208 if (PyErr_Occurred()) SWIG_fail;
31209 }
31210 Py_INCREF(Py_None); resultobj = Py_None;
31211 return resultobj;
31212 fail:
31213 return NULL;
31214}
31215
31216
c370783e 31217static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31218 PyObject *resultobj = NULL;
d55e5bfc
RD
31219 wxClipboard *arg1 = (wxClipboard *) 0 ;
31220 bool result;
31221 PyObject * obj0 = 0 ;
31222 char *kwnames[] = {
31223 (char *) "self", NULL
31224 };
31225
31226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
36ed4f51
RD
31227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31228 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31229 {
31230 PyThreadState* __tstate = wxPyBeginAllowThreads();
31231 result = (bool)(arg1)->Open();
31232
31233 wxPyEndAllowThreads(__tstate);
31234 if (PyErr_Occurred()) SWIG_fail;
31235 }
31236 {
31237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31238 }
31239 return resultobj;
31240 fail:
31241 return NULL;
31242}
31243
31244
c370783e 31245static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31246 PyObject *resultobj = NULL;
d55e5bfc
RD
31247 wxClipboard *arg1 = (wxClipboard *) 0 ;
31248 PyObject * obj0 = 0 ;
31249 char *kwnames[] = {
31250 (char *) "self", NULL
31251 };
31252
31253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
36ed4f51
RD
31254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31255 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31256 {
31257 PyThreadState* __tstate = wxPyBeginAllowThreads();
31258 (arg1)->Close();
31259
31260 wxPyEndAllowThreads(__tstate);
31261 if (PyErr_Occurred()) SWIG_fail;
31262 }
31263 Py_INCREF(Py_None); resultobj = Py_None;
31264 return resultobj;
31265 fail:
31266 return NULL;
31267}
31268
31269
c370783e 31270static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31271 PyObject *resultobj = NULL;
d55e5bfc
RD
31272 wxClipboard *arg1 = (wxClipboard *) 0 ;
31273 bool result;
31274 PyObject * obj0 = 0 ;
31275 char *kwnames[] = {
31276 (char *) "self", NULL
31277 };
31278
31279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
36ed4f51
RD
31280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31281 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31282 {
31283 PyThreadState* __tstate = wxPyBeginAllowThreads();
31284 result = (bool)((wxClipboard const *)arg1)->IsOpened();
31285
31286 wxPyEndAllowThreads(__tstate);
31287 if (PyErr_Occurred()) SWIG_fail;
31288 }
31289 {
31290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31291 }
31292 return resultobj;
31293 fail:
31294 return NULL;
31295}
31296
31297
c370783e 31298static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31299 PyObject *resultobj = NULL;
d55e5bfc
RD
31300 wxClipboard *arg1 = (wxClipboard *) 0 ;
31301 wxDataObject *arg2 = (wxDataObject *) 0 ;
31302 bool result;
31303 PyObject * obj0 = 0 ;
31304 PyObject * obj1 = 0 ;
31305 char *kwnames[] = {
31306 (char *) "self",(char *) "data", NULL
31307 };
31308
31309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail;
31312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31313 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31314 {
31315 PyThreadState* __tstate = wxPyBeginAllowThreads();
31316 result = (bool)(arg1)->AddData(arg2);
31317
31318 wxPyEndAllowThreads(__tstate);
31319 if (PyErr_Occurred()) SWIG_fail;
31320 }
31321 {
31322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31323 }
31324 return resultobj;
31325 fail:
31326 return NULL;
31327}
31328
31329
c370783e 31330static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31331 PyObject *resultobj = NULL;
d55e5bfc
RD
31332 wxClipboard *arg1 = (wxClipboard *) 0 ;
31333 wxDataObject *arg2 = (wxDataObject *) 0 ;
31334 bool result;
31335 PyObject * obj0 = 0 ;
31336 PyObject * obj1 = 0 ;
31337 char *kwnames[] = {
31338 (char *) "self",(char *) "data", NULL
31339 };
31340
31341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31343 if (SWIG_arg_fail(1)) SWIG_fail;
31344 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
31345 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31346 {
31347 PyThreadState* __tstate = wxPyBeginAllowThreads();
31348 result = (bool)(arg1)->SetData(arg2);
31349
31350 wxPyEndAllowThreads(__tstate);
31351 if (PyErr_Occurred()) SWIG_fail;
31352 }
31353 {
31354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31355 }
31356 return resultobj;
31357 fail:
31358 return NULL;
31359}
31360
31361
c370783e 31362static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31363 PyObject *resultobj = NULL;
d55e5bfc
RD
31364 wxClipboard *arg1 = (wxClipboard *) 0 ;
31365 wxDataFormat *arg2 = 0 ;
31366 bool result;
31367 PyObject * obj0 = 0 ;
31368 PyObject * obj1 = 0 ;
31369 char *kwnames[] = {
31370 (char *) "self",(char *) "format", NULL
31371 };
31372
31373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31375 if (SWIG_arg_fail(1)) SWIG_fail;
31376 {
31377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
31378 if (SWIG_arg_fail(2)) SWIG_fail;
31379 if (arg2 == NULL) {
31380 SWIG_null_ref("wxDataFormat");
31381 }
31382 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31383 }
31384 {
31385 PyThreadState* __tstate = wxPyBeginAllowThreads();
31386 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
31387
31388 wxPyEndAllowThreads(__tstate);
31389 if (PyErr_Occurred()) SWIG_fail;
31390 }
31391 {
31392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31393 }
31394 return resultobj;
31395 fail:
31396 return NULL;
31397}
31398
31399
c370783e 31400static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31401 PyObject *resultobj = NULL;
d55e5bfc
RD
31402 wxClipboard *arg1 = (wxClipboard *) 0 ;
31403 wxDataObject *arg2 = 0 ;
31404 bool result;
31405 PyObject * obj0 = 0 ;
31406 PyObject * obj1 = 0 ;
31407 char *kwnames[] = {
31408 (char *) "self",(char *) "data", NULL
31409 };
31410
31411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31413 if (SWIG_arg_fail(1)) SWIG_fail;
31414 {
31415 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
31416 if (SWIG_arg_fail(2)) SWIG_fail;
31417 if (arg2 == NULL) {
31418 SWIG_null_ref("wxDataObject");
31419 }
31420 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31421 }
31422 {
31423 PyThreadState* __tstate = wxPyBeginAllowThreads();
31424 result = (bool)(arg1)->GetData(*arg2);
31425
31426 wxPyEndAllowThreads(__tstate);
31427 if (PyErr_Occurred()) SWIG_fail;
31428 }
31429 {
31430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31431 }
31432 return resultobj;
31433 fail:
31434 return NULL;
31435}
31436
31437
c370783e 31438static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31439 PyObject *resultobj = NULL;
d55e5bfc
RD
31440 wxClipboard *arg1 = (wxClipboard *) 0 ;
31441 PyObject * obj0 = 0 ;
31442 char *kwnames[] = {
31443 (char *) "self", NULL
31444 };
31445
31446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
31447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31448 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31449 {
31450 PyThreadState* __tstate = wxPyBeginAllowThreads();
31451 (arg1)->Clear();
31452
31453 wxPyEndAllowThreads(__tstate);
31454 if (PyErr_Occurred()) SWIG_fail;
31455 }
31456 Py_INCREF(Py_None); resultobj = Py_None;
31457 return resultobj;
31458 fail:
31459 return NULL;
31460}
31461
31462
c370783e 31463static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31464 PyObject *resultobj = NULL;
d55e5bfc
RD
31465 wxClipboard *arg1 = (wxClipboard *) 0 ;
31466 bool result;
31467 PyObject * obj0 = 0 ;
31468 char *kwnames[] = {
31469 (char *) "self", NULL
31470 };
31471
31472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
36ed4f51
RD
31473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31474 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31475 {
31476 PyThreadState* __tstate = wxPyBeginAllowThreads();
31477 result = (bool)(arg1)->Flush();
31478
31479 wxPyEndAllowThreads(__tstate);
31480 if (PyErr_Occurred()) SWIG_fail;
31481 }
31482 {
31483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31484 }
31485 return resultobj;
31486 fail:
31487 return NULL;
31488}
31489
31490
c370783e 31491static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31492 PyObject *resultobj = NULL;
d55e5bfc 31493 wxClipboard *arg1 = (wxClipboard *) 0 ;
b411df4a 31494 bool arg2 = (bool) true ;
d55e5bfc
RD
31495 PyObject * obj0 = 0 ;
31496 PyObject * obj1 = 0 ;
31497 char *kwnames[] = {
31498 (char *) "self",(char *) "primary", NULL
31499 };
31500
31501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31504 if (obj1) {
36ed4f51 31505 {
32fe5131 31506 arg2 = static_cast<bool >(SWIG_As_bool(obj1));
36ed4f51
RD
31507 if (SWIG_arg_fail(2)) SWIG_fail;
31508 }
d55e5bfc
RD
31509 }
31510 {
31511 PyThreadState* __tstate = wxPyBeginAllowThreads();
31512 (arg1)->UsePrimarySelection(arg2);
31513
31514 wxPyEndAllowThreads(__tstate);
31515 if (PyErr_Occurred()) SWIG_fail;
31516 }
31517 Py_INCREF(Py_None); resultobj = Py_None;
31518 return resultobj;
31519 fail:
31520 return NULL;
31521}
31522
31523
c370783e 31524static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31525 PyObject *resultobj = NULL;
a001823c
RD
31526 wxClipboard *result;
31527 char *kwnames[] = {
31528 NULL
31529 };
31530
31531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
31532 {
31533 PyThreadState* __tstate = wxPyBeginAllowThreads();
31534 result = (wxClipboard *)wxClipboard::Get();
31535
31536 wxPyEndAllowThreads(__tstate);
31537 if (PyErr_Occurred()) SWIG_fail;
31538 }
31539 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
31540 return resultobj;
31541 fail:
31542 return NULL;
31543}
31544
31545
c370783e 31546static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31547 PyObject *obj;
31548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31549 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
31550 Py_INCREF(obj);
31551 return Py_BuildValue((char *)"");
31552}
c370783e 31553static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31554 PyObject *resultobj = NULL;
d55e5bfc
RD
31555 wxClipboard *arg1 = (wxClipboard *) NULL ;
31556 wxClipboardLocker *result;
31557 PyObject * obj0 = 0 ;
31558 char *kwnames[] = {
31559 (char *) "clipboard", NULL
31560 };
31561
31562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
31563 if (obj0) {
36ed4f51
RD
31564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
31565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31566 }
31567 {
31568 PyThreadState* __tstate = wxPyBeginAllowThreads();
31569 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
31570
31571 wxPyEndAllowThreads(__tstate);
31572 if (PyErr_Occurred()) SWIG_fail;
31573 }
31574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
31575 return resultobj;
31576 fail:
31577 return NULL;
31578}
31579
31580
c370783e 31581static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31582 PyObject *resultobj = NULL;
d55e5bfc
RD
31583 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
31584 PyObject * obj0 = 0 ;
31585 char *kwnames[] = {
31586 (char *) "self", NULL
31587 };
31588
31589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
36ed4f51
RD
31590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
31591 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31592 {
31593 PyThreadState* __tstate = wxPyBeginAllowThreads();
31594 delete arg1;
31595
31596 wxPyEndAllowThreads(__tstate);
31597 if (PyErr_Occurred()) SWIG_fail;
31598 }
31599 Py_INCREF(Py_None); resultobj = Py_None;
31600 return resultobj;
31601 fail:
31602 return NULL;
31603}
31604
31605
c370783e 31606static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31607 PyObject *resultobj = NULL;
d55e5bfc
RD
31608 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
31609 bool result;
31610 PyObject * obj0 = 0 ;
31611 char *kwnames[] = {
31612 (char *) "self", NULL
31613 };
31614
31615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
36ed4f51
RD
31616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
31617 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31618 {
31619 PyThreadState* __tstate = wxPyBeginAllowThreads();
31620 result = (bool)wxClipboardLocker___nonzero__(arg1);
31621
31622 wxPyEndAllowThreads(__tstate);
31623 if (PyErr_Occurred()) SWIG_fail;
31624 }
31625 {
31626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31627 }
31628 return resultobj;
31629 fail:
31630 return NULL;
31631}
31632
31633
c370783e 31634static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31635 PyObject *obj;
31636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31637 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
31638 Py_INCREF(obj);
31639 return Py_BuildValue((char *)"");
31640}
c370783e 31641static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31642 PyObject *resultobj = NULL;
d55e5bfc
RD
31643 int arg1 = (int) 0 ;
31644 int arg2 = (int) 0 ;
31645 int arg3 = (int) 0 ;
31646 int arg4 = (int) 0 ;
31647 wxVideoMode *result;
31648 PyObject * obj0 = 0 ;
31649 PyObject * obj1 = 0 ;
31650 PyObject * obj2 = 0 ;
31651 PyObject * obj3 = 0 ;
31652 char *kwnames[] = {
31653 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
31654 };
31655
31656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31657 if (obj0) {
36ed4f51 31658 {
32fe5131 31659 arg1 = static_cast<int >(SWIG_As_int(obj0));
36ed4f51
RD
31660 if (SWIG_arg_fail(1)) SWIG_fail;
31661 }
d55e5bfc
RD
31662 }
31663 if (obj1) {
36ed4f51 31664 {
32fe5131 31665 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
31666 if (SWIG_arg_fail(2)) SWIG_fail;
31667 }
d55e5bfc
RD
31668 }
31669 if (obj2) {
36ed4f51 31670 {
32fe5131 31671 arg3 = static_cast<int >(SWIG_As_int(obj2));
36ed4f51
RD
31672 if (SWIG_arg_fail(3)) SWIG_fail;
31673 }
d55e5bfc
RD
31674 }
31675 if (obj3) {
36ed4f51 31676 {
32fe5131 31677 arg4 = static_cast<int >(SWIG_As_int(obj3));
36ed4f51
RD
31678 if (SWIG_arg_fail(4)) SWIG_fail;
31679 }
d55e5bfc
RD
31680 }
31681 {
31682 PyThreadState* __tstate = wxPyBeginAllowThreads();
31683 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
31684
31685 wxPyEndAllowThreads(__tstate);
31686 if (PyErr_Occurred()) SWIG_fail;
31687 }
31688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
31689 return resultobj;
31690 fail:
31691 return NULL;
31692}
31693
31694
c370783e 31695static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31696 PyObject *resultobj = NULL;
d55e5bfc
RD
31697 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31698 PyObject * obj0 = 0 ;
31699 char *kwnames[] = {
31700 (char *) "self", NULL
31701 };
31702
31703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
31704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31705 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31706 {
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 delete arg1;
31709
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 Py_INCREF(Py_None); resultobj = Py_None;
31714 return resultobj;
31715 fail:
31716 return NULL;
31717}
31718
31719
c370783e 31720static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31721 PyObject *resultobj = NULL;
d55e5bfc
RD
31722 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31723 wxVideoMode *arg2 = 0 ;
31724 bool result;
31725 PyObject * obj0 = 0 ;
31726 PyObject * obj1 = 0 ;
31727 char *kwnames[] = {
31728 (char *) "self",(char *) "other", NULL
31729 };
31730
31731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31733 if (SWIG_arg_fail(1)) SWIG_fail;
31734 {
31735 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31736 if (SWIG_arg_fail(2)) SWIG_fail;
31737 if (arg2 == NULL) {
31738 SWIG_null_ref("wxVideoMode");
31739 }
31740 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31741 }
31742 {
31743 PyThreadState* __tstate = wxPyBeginAllowThreads();
31744 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
31745
31746 wxPyEndAllowThreads(__tstate);
31747 if (PyErr_Occurred()) SWIG_fail;
31748 }
31749 {
31750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31751 }
31752 return resultobj;
31753 fail:
31754 return NULL;
31755}
31756
31757
c370783e 31758static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31759 PyObject *resultobj = NULL;
d55e5bfc
RD
31760 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31761 int result;
31762 PyObject * obj0 = 0 ;
31763 char *kwnames[] = {
31764 (char *) "self", NULL
31765 };
31766
31767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
31768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31769 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31770 {
31771 PyThreadState* __tstate = wxPyBeginAllowThreads();
31772 result = (int)((wxVideoMode const *)arg1)->GetWidth();
31773
31774 wxPyEndAllowThreads(__tstate);
31775 if (PyErr_Occurred()) SWIG_fail;
31776 }
36ed4f51 31777 {
32fe5131 31778 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 31779 }
d55e5bfc
RD
31780 return resultobj;
31781 fail:
31782 return NULL;
31783}
31784
31785
c370783e 31786static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31787 PyObject *resultobj = NULL;
d55e5bfc
RD
31788 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31789 int result;
31790 PyObject * obj0 = 0 ;
31791 char *kwnames[] = {
31792 (char *) "self", NULL
31793 };
31794
31795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
36ed4f51
RD
31796 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31797 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31798 {
31799 PyThreadState* __tstate = wxPyBeginAllowThreads();
31800 result = (int)((wxVideoMode const *)arg1)->GetHeight();
31801
31802 wxPyEndAllowThreads(__tstate);
31803 if (PyErr_Occurred()) SWIG_fail;
31804 }
36ed4f51 31805 {
32fe5131 31806 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 31807 }
d55e5bfc
RD
31808 return resultobj;
31809 fail:
31810 return NULL;
31811}
31812
31813
c370783e 31814static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31815 PyObject *resultobj = NULL;
d55e5bfc
RD
31816 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31817 int result;
31818 PyObject * obj0 = 0 ;
31819 char *kwnames[] = {
31820 (char *) "self", NULL
31821 };
31822
31823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
36ed4f51
RD
31824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31825 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31826 {
31827 PyThreadState* __tstate = wxPyBeginAllowThreads();
31828 result = (int)((wxVideoMode const *)arg1)->GetDepth();
31829
31830 wxPyEndAllowThreads(__tstate);
31831 if (PyErr_Occurred()) SWIG_fail;
31832 }
36ed4f51 31833 {
32fe5131 31834 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 31835 }
d55e5bfc
RD
31836 return resultobj;
31837 fail:
31838 return NULL;
31839}
31840
31841
c370783e 31842static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31843 PyObject *resultobj = NULL;
d55e5bfc
RD
31844 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31845 bool result;
31846 PyObject * obj0 = 0 ;
31847 char *kwnames[] = {
31848 (char *) "self", NULL
31849 };
31850
31851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
31852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31853 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31854 {
31855 PyThreadState* __tstate = wxPyBeginAllowThreads();
31856 result = (bool)((wxVideoMode const *)arg1)->IsOk();
31857
31858 wxPyEndAllowThreads(__tstate);
31859 if (PyErr_Occurred()) SWIG_fail;
31860 }
31861 {
31862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31863 }
31864 return resultobj;
31865 fail:
31866 return NULL;
31867}
31868
31869
c370783e 31870static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31871 PyObject *resultobj = NULL;
d55e5bfc
RD
31872 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31873 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
31874 bool result;
31875 PyObject * obj0 = 0 ;
31876 PyObject * obj1 = 0 ;
31877 char *kwnames[] = {
31878 (char *) "self",(char *) "other", NULL
31879 };
31880
31881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31883 if (SWIG_arg_fail(1)) SWIG_fail;
31884 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31885 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31886 {
31887 PyThreadState* __tstate = wxPyBeginAllowThreads();
31888 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
31889
31890 wxPyEndAllowThreads(__tstate);
31891 if (PyErr_Occurred()) SWIG_fail;
31892 }
31893 {
31894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31895 }
31896 return resultobj;
31897 fail:
31898 return NULL;
31899}
31900
31901
c370783e 31902static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31903 PyObject *resultobj = NULL;
d55e5bfc
RD
31904 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31905 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
31906 bool result;
31907 PyObject * obj0 = 0 ;
31908 PyObject * obj1 = 0 ;
31909 char *kwnames[] = {
31910 (char *) "self",(char *) "other", NULL
31911 };
31912
31913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31915 if (SWIG_arg_fail(1)) SWIG_fail;
31916 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31917 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
31918 {
31919 PyThreadState* __tstate = wxPyBeginAllowThreads();
31920 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
31921
31922 wxPyEndAllowThreads(__tstate);
31923 if (PyErr_Occurred()) SWIG_fail;
31924 }
31925 {
31926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31927 }
31928 return resultobj;
31929 fail:
31930 return NULL;
31931}
31932
31933
c370783e 31934static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31935 PyObject *resultobj = NULL;
d55e5bfc
RD
31936 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31937 int arg2 ;
31938 PyObject * obj0 = 0 ;
31939 PyObject * obj1 = 0 ;
31940 char *kwnames[] = {
31941 (char *) "self",(char *) "w", NULL
31942 };
31943
31944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31946 if (SWIG_arg_fail(1)) SWIG_fail;
31947 {
32fe5131 31948 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
31949 if (SWIG_arg_fail(2)) SWIG_fail;
31950 }
d55e5bfc
RD
31951 if (arg1) (arg1)->w = arg2;
31952
31953 Py_INCREF(Py_None); resultobj = Py_None;
31954 return resultobj;
31955 fail:
31956 return NULL;
31957}
31958
31959
c370783e 31960static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31961 PyObject *resultobj = NULL;
d55e5bfc
RD
31962 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31963 int result;
31964 PyObject * obj0 = 0 ;
31965 char *kwnames[] = {
31966 (char *) "self", NULL
31967 };
31968
31969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
31970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31971 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31972 result = (int) ((arg1)->w);
31973
36ed4f51 31974 {
32fe5131 31975 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 31976 }
d55e5bfc
RD
31977 return resultobj;
31978 fail:
31979 return NULL;
31980}
31981
31982
c370783e 31983static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 31984 PyObject *resultobj = NULL;
d55e5bfc
RD
31985 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
31986 int arg2 ;
31987 PyObject * obj0 = 0 ;
31988 PyObject * obj1 = 0 ;
31989 char *kwnames[] = {
31990 (char *) "self",(char *) "h", NULL
31991 };
31992
31993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31995 if (SWIG_arg_fail(1)) SWIG_fail;
31996 {
32fe5131 31997 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
31998 if (SWIG_arg_fail(2)) SWIG_fail;
31999 }
d55e5bfc
RD
32000 if (arg1) (arg1)->h = arg2;
32001
32002 Py_INCREF(Py_None); resultobj = Py_None;
32003 return resultobj;
32004 fail:
32005 return NULL;
32006}
32007
32008
c370783e 32009static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32010 PyObject *resultobj = NULL;
d55e5bfc
RD
32011 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32012 int result;
32013 PyObject * obj0 = 0 ;
32014 char *kwnames[] = {
32015 (char *) "self", NULL
32016 };
32017
32018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
32019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32020 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32021 result = (int) ((arg1)->h);
32022
36ed4f51 32023 {
32fe5131 32024 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 32025 }
d55e5bfc
RD
32026 return resultobj;
32027 fail:
32028 return NULL;
32029}
32030
32031
c370783e 32032static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32033 PyObject *resultobj = NULL;
d55e5bfc
RD
32034 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32035 int arg2 ;
32036 PyObject * obj0 = 0 ;
32037 PyObject * obj1 = 0 ;
32038 char *kwnames[] = {
32039 (char *) "self",(char *) "bpp", NULL
32040 };
32041
32042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32044 if (SWIG_arg_fail(1)) SWIG_fail;
32045 {
32fe5131 32046 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
32047 if (SWIG_arg_fail(2)) SWIG_fail;
32048 }
d55e5bfc
RD
32049 if (arg1) (arg1)->bpp = arg2;
32050
32051 Py_INCREF(Py_None); resultobj = Py_None;
32052 return resultobj;
32053 fail:
32054 return NULL;
32055}
32056
32057
c370783e 32058static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32059 PyObject *resultobj = NULL;
d55e5bfc
RD
32060 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32061 int result;
32062 PyObject * obj0 = 0 ;
32063 char *kwnames[] = {
32064 (char *) "self", NULL
32065 };
32066
32067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
32068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32069 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32070 result = (int) ((arg1)->bpp);
32071
36ed4f51 32072 {
32fe5131 32073 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 32074 }
d55e5bfc
RD
32075 return resultobj;
32076 fail:
32077 return NULL;
32078}
32079
32080
c370783e 32081static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32082 PyObject *resultobj = NULL;
d55e5bfc
RD
32083 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32084 int arg2 ;
32085 PyObject * obj0 = 0 ;
32086 PyObject * obj1 = 0 ;
32087 char *kwnames[] = {
32088 (char *) "self",(char *) "refresh", NULL
32089 };
32090
32091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32093 if (SWIG_arg_fail(1)) SWIG_fail;
32094 {
32fe5131 32095 arg2 = static_cast<int >(SWIG_As_int(obj1));
36ed4f51
RD
32096 if (SWIG_arg_fail(2)) SWIG_fail;
32097 }
d55e5bfc
RD
32098 if (arg1) (arg1)->refresh = arg2;
32099
32100 Py_INCREF(Py_None); resultobj = Py_None;
32101 return resultobj;
32102 fail:
32103 return NULL;
32104}
32105
32106
c370783e 32107static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32108 PyObject *resultobj = NULL;
d55e5bfc
RD
32109 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
32110 int result;
32111 PyObject * obj0 = 0 ;
32112 char *kwnames[] = {
32113 (char *) "self", NULL
32114 };
32115
32116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
32117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32118 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32119 result = (int) ((arg1)->refresh);
32120
36ed4f51 32121 {
32fe5131 32122 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 32123 }
d55e5bfc
RD
32124 return resultobj;
32125 fail:
32126 return NULL;
32127}
32128
32129
c370783e 32130static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32131 PyObject *obj;
32132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32133 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
32134 Py_INCREF(obj);
32135 return Py_BuildValue((char *)"");
32136}
c370783e 32137static int _wrap_DefaultVideoMode_set(PyObject *) {
d55e5bfc
RD
32138 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
32139 return 1;
32140}
32141
32142
36ed4f51 32143static PyObject *_wrap_DefaultVideoMode_get(void) {
32fe5131 32144 PyObject *pyobj = NULL;
d55e5bfc
RD
32145
32146 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
32147 return pyobj;
32148}
32149
32150
c370783e 32151static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32152 PyObject *resultobj = NULL;
d55e5bfc
RD
32153 size_t arg1 = (size_t) 0 ;
32154 wxDisplay *result;
32155 PyObject * obj0 = 0 ;
32156 char *kwnames[] = {
32157 (char *) "index", NULL
32158 };
32159
32160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
32161 if (obj0) {
36ed4f51 32162 {
32fe5131 32163 arg1 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj0));
36ed4f51
RD
32164 if (SWIG_arg_fail(1)) SWIG_fail;
32165 }
d55e5bfc
RD
32166 }
32167 {
32168 PyThreadState* __tstate = wxPyBeginAllowThreads();
32169 result = (wxDisplay *)new wxDisplay(arg1);
32170
32171 wxPyEndAllowThreads(__tstate);
32172 if (PyErr_Occurred()) SWIG_fail;
32173 }
32174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
32175 return resultobj;
32176 fail:
32177 return NULL;
32178}
32179
32180
c370783e 32181static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32182 PyObject *resultobj = NULL;
d55e5bfc
RD
32183 wxDisplay *arg1 = (wxDisplay *) 0 ;
32184 PyObject * obj0 = 0 ;
32185 char *kwnames[] = {
32186 (char *) "self", NULL
32187 };
32188
32189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
36ed4f51
RD
32190 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32191 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32192 {
32193 PyThreadState* __tstate = wxPyBeginAllowThreads();
32194 delete arg1;
32195
32196 wxPyEndAllowThreads(__tstate);
32197 if (PyErr_Occurred()) SWIG_fail;
32198 }
32199 Py_INCREF(Py_None); resultobj = Py_None;
32200 return resultobj;
32201 fail:
32202 return NULL;
32203}
32204
32205
c370783e 32206static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32207 PyObject *resultobj = NULL;
d55e5bfc
RD
32208 size_t result;
32209 char *kwnames[] = {
32210 NULL
32211 };
32212
32213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
32214 {
32215 PyThreadState* __tstate = wxPyBeginAllowThreads();
32216 result = (size_t)wxDisplay::GetCount();
32217
32218 wxPyEndAllowThreads(__tstate);
32219 if (PyErr_Occurred()) SWIG_fail;
32220 }
36ed4f51 32221 {
32fe5131 32222 resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result));
36ed4f51 32223 }
d55e5bfc
RD
32224 return resultobj;
32225 fail:
32226 return NULL;
32227}
32228
32229
c370783e 32230static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32231 PyObject *resultobj = NULL;
d55e5bfc
RD
32232 wxPoint *arg1 = 0 ;
32233 int result;
32234 wxPoint temp1 ;
32235 PyObject * obj0 = 0 ;
32236 char *kwnames[] = {
32237 (char *) "pt", NULL
32238 };
32239
32240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
32241 {
32242 arg1 = &temp1;
32243 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
32244 }
32245 {
32246 PyThreadState* __tstate = wxPyBeginAllowThreads();
32247 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
32248
32249 wxPyEndAllowThreads(__tstate);
32250 if (PyErr_Occurred()) SWIG_fail;
32251 }
36ed4f51 32252 {
32fe5131 32253 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 32254 }
d55e5bfc
RD
32255 return resultobj;
32256 fail:
32257 return NULL;
32258}
32259
32260
c370783e 32261static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32262 PyObject *resultobj = NULL;
d55e5bfc
RD
32263 wxWindow *arg1 = (wxWindow *) 0 ;
32264 int result;
32265 PyObject * obj0 = 0 ;
32266 char *kwnames[] = {
32267 (char *) "window", NULL
32268 };
32269
32270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32272 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32273 {
32274 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 32275 result = (int)wxDisplay_GetFromWindow(arg1);
d55e5bfc
RD
32276
32277 wxPyEndAllowThreads(__tstate);
32278 if (PyErr_Occurred()) SWIG_fail;
32279 }
36ed4f51 32280 {
32fe5131 32281 resultobj = SWIG_From_int(static_cast<int >(result));
36ed4f51 32282 }
d55e5bfc
RD
32283 return resultobj;
32284 fail:
32285 return NULL;
32286}
32287
32288
c370783e 32289static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32290 PyObject *resultobj = NULL;
d55e5bfc
RD
32291 wxDisplay *arg1 = (wxDisplay *) 0 ;
32292 bool result;
32293 PyObject * obj0 = 0 ;
32294 char *kwnames[] = {
32295 (char *) "self", NULL
32296 };
32297
32298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
32299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32300 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32301 {
32302 PyThreadState* __tstate = wxPyBeginAllowThreads();
32303 result = (bool)((wxDisplay const *)arg1)->IsOk();
32304
32305 wxPyEndAllowThreads(__tstate);
32306 if (PyErr_Occurred()) SWIG_fail;
32307 }
32308 {
32309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32310 }
32311 return resultobj;
32312 fail:
32313 return NULL;
32314}
32315
32316
c370783e 32317static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32318 PyObject *resultobj = NULL;
d55e5bfc
RD
32319 wxDisplay *arg1 = (wxDisplay *) 0 ;
32320 wxRect result;
32321 PyObject * obj0 = 0 ;
32322 char *kwnames[] = {
32323 (char *) "self", NULL
32324 };
32325
32326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
36ed4f51
RD
32327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32328 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32329 {
32330 PyThreadState* __tstate = wxPyBeginAllowThreads();
32331 result = ((wxDisplay const *)arg1)->GetGeometry();
32332
32333 wxPyEndAllowThreads(__tstate);
32334 if (PyErr_Occurred()) SWIG_fail;
32335 }
32336 {
32337 wxRect * resultptr;
32fe5131 32338 resultptr = new wxRect(static_cast<wxRect & >(result));
d55e5bfc
RD
32339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
32340 }
32341 return resultobj;
32342 fail:
32343 return NULL;
32344}
32345
32346
c370783e 32347static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32348 PyObject *resultobj = NULL;
d55e5bfc
RD
32349 wxDisplay *arg1 = (wxDisplay *) 0 ;
32350 wxString result;
32351 PyObject * obj0 = 0 ;
32352 char *kwnames[] = {
32353 (char *) "self", NULL
32354 };
32355
32356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
36ed4f51
RD
32357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32358 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32359 {
32360 PyThreadState* __tstate = wxPyBeginAllowThreads();
32361 result = ((wxDisplay const *)arg1)->GetName();
32362
32363 wxPyEndAllowThreads(__tstate);
32364 if (PyErr_Occurred()) SWIG_fail;
32365 }
32366 {
32367#if wxUSE_UNICODE
32368 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32369#else
32370 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32371#endif
32372 }
32373 return resultobj;
32374 fail:
32375 return NULL;
32376}
32377
32378
c370783e 32379static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32380 PyObject *resultobj = NULL;
d55e5bfc
RD
32381 wxDisplay *arg1 = (wxDisplay *) 0 ;
32382 bool result;
32383 PyObject * obj0 = 0 ;
32384 char *kwnames[] = {
32385 (char *) "self", NULL
32386 };
32387
32388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
36ed4f51
RD
32389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32391 {
32392 PyThreadState* __tstate = wxPyBeginAllowThreads();
32393 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
32394
32395 wxPyEndAllowThreads(__tstate);
32396 if (PyErr_Occurred()) SWIG_fail;
32397 }
32398 {
32399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32400 }
32401 return resultobj;
32402 fail:
32403 return NULL;
32404}
32405
32406
c370783e 32407static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32408 PyObject *resultobj = NULL;
d55e5bfc
RD
32409 wxDisplay *arg1 = (wxDisplay *) 0 ;
32410 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
32411 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
32412 PyObject *result;
32413 PyObject * obj0 = 0 ;
32414 PyObject * obj1 = 0 ;
32415 char *kwnames[] = {
32416 (char *) "self",(char *) "mode", NULL
32417 };
32418
32419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32421 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32422 if (obj1) {
36ed4f51
RD
32423 {
32424 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32425 if (SWIG_arg_fail(2)) SWIG_fail;
32426 if (arg2 == NULL) {
32427 SWIG_null_ref("wxVideoMode");
32428 }
32429 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32430 }
32431 }
32432 {
32433 PyThreadState* __tstate = wxPyBeginAllowThreads();
32434 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
32435
32436 wxPyEndAllowThreads(__tstate);
32437 if (PyErr_Occurred()) SWIG_fail;
32438 }
32439 resultobj = result;
32440 return resultobj;
32441 fail:
32442 return NULL;
32443}
32444
32445
c370783e 32446static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32447 PyObject *resultobj = NULL;
d55e5bfc
RD
32448 wxDisplay *arg1 = (wxDisplay *) 0 ;
32449 wxVideoMode result;
32450 PyObject * obj0 = 0 ;
32451 char *kwnames[] = {
32452 (char *) "self", NULL
32453 };
32454
32455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
32456 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32457 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32458 {
32459 PyThreadState* __tstate = wxPyBeginAllowThreads();
32460 result = ((wxDisplay const *)arg1)->GetCurrentMode();
32461
32462 wxPyEndAllowThreads(__tstate);
32463 if (PyErr_Occurred()) SWIG_fail;
32464 }
32465 {
32466 wxVideoMode * resultptr;
32fe5131 32467 resultptr = new wxVideoMode(static_cast<wxVideoMode & >(result));
d55e5bfc
RD
32468 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
32469 }
32470 return resultobj;
32471 fail:
32472 return NULL;
32473}
32474
32475
c370783e 32476static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32477 PyObject *resultobj = NULL;
d55e5bfc
RD
32478 wxDisplay *arg1 = (wxDisplay *) 0 ;
32479 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
32480 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
32481 bool result;
32482 PyObject * obj0 = 0 ;
32483 PyObject * obj1 = 0 ;
32484 char *kwnames[] = {
32485 (char *) "self",(char *) "mode", NULL
32486 };
32487
32488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 32491 if (obj1) {
36ed4f51
RD
32492 {
32493 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
32494 if (SWIG_arg_fail(2)) SWIG_fail;
32495 if (arg2 == NULL) {
32496 SWIG_null_ref("wxVideoMode");
32497 }
32498 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32499 }
32500 }
32501 {
32502 PyThreadState* __tstate = wxPyBeginAllowThreads();
32503 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
32504
32505 wxPyEndAllowThreads(__tstate);
32506 if (PyErr_Occurred()) SWIG_fail;
32507 }
32508 {
32509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32510 }
32511 return resultobj;
32512 fail:
32513 return NULL;
32514}
32515
32516
c370783e 32517static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32518 PyObject *resultobj = NULL;
d55e5bfc
RD
32519 wxDisplay *arg1 = (wxDisplay *) 0 ;
32520 PyObject * obj0 = 0 ;
32521 char *kwnames[] = {
32522 (char *) "self", NULL
32523 };
32524
32525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
36ed4f51
RD
32526 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
32527 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32528 {
32529 PyThreadState* __tstate = wxPyBeginAllowThreads();
32530 (arg1)->ResetMode();
32531
32532 wxPyEndAllowThreads(__tstate);
32533 if (PyErr_Occurred()) SWIG_fail;
32534 }
32535 Py_INCREF(Py_None); resultobj = Py_None;
32536 return resultobj;
32537 fail:
32538 return NULL;
32539}
32540
32541
c370783e 32542static PyObject * Display_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32543 PyObject *obj;
32544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32545 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
32546 Py_INCREF(obj);
32547 return Py_BuildValue((char *)"");
32548}
070c48b4 32549static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32550 PyObject *resultobj = NULL;
070c48b4
RD
32551 wxStandardPaths *result;
32552 char *kwnames[] = {
32553 NULL
32554 };
32555
32556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32fe5131 32559 result = (wxStandardPaths *)wxStandardPaths_Get();
070c48b4
RD
32560
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
32565 return resultobj;
32566 fail:
32567 return NULL;
32568}
32569
32570
32571static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32572 PyObject *resultobj = NULL;
070c48b4
RD
32573 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32574 wxString result;
32575 PyObject * obj0 = 0 ;
32576 char *kwnames[] = {
32577 (char *) "self", NULL
32578 };
32579
32580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32582 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32583 {
32584 PyThreadState* __tstate = wxPyBeginAllowThreads();
32585 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
32586
32587 wxPyEndAllowThreads(__tstate);
32588 if (PyErr_Occurred()) SWIG_fail;
32589 }
32590 {
32591#if wxUSE_UNICODE
32592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32593#else
32594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32595#endif
32596 }
32597 return resultobj;
32598 fail:
32599 return NULL;
32600}
32601
32602
32603static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32604 PyObject *resultobj = NULL;
070c48b4
RD
32605 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32606 wxString result;
32607 PyObject * obj0 = 0 ;
32608 char *kwnames[] = {
32609 (char *) "self", NULL
32610 };
32611
32612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32614 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32615 {
32616 PyThreadState* __tstate = wxPyBeginAllowThreads();
32617 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
32618
32619 wxPyEndAllowThreads(__tstate);
32620 if (PyErr_Occurred()) SWIG_fail;
32621 }
32622 {
32623#if wxUSE_UNICODE
32624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32625#else
32626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32627#endif
32628 }
32629 return resultobj;
32630 fail:
32631 return NULL;
32632}
32633
32634
32635static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32636 PyObject *resultobj = NULL;
070c48b4
RD
32637 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32638 wxString result;
32639 PyObject * obj0 = 0 ;
32640 char *kwnames[] = {
32641 (char *) "self", NULL
32642 };
32643
32644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32646 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32647 {
32648 PyThreadState* __tstate = wxPyBeginAllowThreads();
32649 result = ((wxStandardPaths const *)arg1)->GetDataDir();
32650
32651 wxPyEndAllowThreads(__tstate);
32652 if (PyErr_Occurred()) SWIG_fail;
32653 }
32654 {
32655#if wxUSE_UNICODE
32656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32657#else
32658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32659#endif
32660 }
32661 return resultobj;
32662 fail:
32663 return NULL;
32664}
32665
32666
32667static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32668 PyObject *resultobj = NULL;
070c48b4
RD
32669 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32670 wxString result;
32671 PyObject * obj0 = 0 ;
32672 char *kwnames[] = {
32673 (char *) "self", NULL
32674 };
32675
32676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32678 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32679 {
32680 PyThreadState* __tstate = wxPyBeginAllowThreads();
32681 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
32682
32683 wxPyEndAllowThreads(__tstate);
32684 if (PyErr_Occurred()) SWIG_fail;
32685 }
32686 {
32687#if wxUSE_UNICODE
32688 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32689#else
32690 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32691#endif
32692 }
32693 return resultobj;
32694 fail:
32695 return NULL;
32696}
32697
32698
32699static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32700 PyObject *resultobj = NULL;
070c48b4
RD
32701 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32702 wxString result;
32703 PyObject * obj0 = 0 ;
32704 char *kwnames[] = {
32705 (char *) "self", NULL
32706 };
32707
32708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32710 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32711 {
32712 PyThreadState* __tstate = wxPyBeginAllowThreads();
32713 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
32714
32715 wxPyEndAllowThreads(__tstate);
32716 if (PyErr_Occurred()) SWIG_fail;
32717 }
32718 {
32719#if wxUSE_UNICODE
32720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32721#else
32722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32723#endif
32724 }
32725 return resultobj;
32726 fail:
32727 return NULL;
32728}
32729
32730
32731static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32732 PyObject *resultobj = NULL;
070c48b4
RD
32733 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32734 wxString result;
32735 PyObject * obj0 = 0 ;
32736 char *kwnames[] = {
32737 (char *) "self", NULL
32738 };
32739
32740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32742 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32743 {
32744 PyThreadState* __tstate = wxPyBeginAllowThreads();
32745 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
32746
32747 wxPyEndAllowThreads(__tstate);
32748 if (PyErr_Occurred()) SWIG_fail;
32749 }
32750 {
32751#if wxUSE_UNICODE
32752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32753#else
32754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32755#endif
32756 }
32757 return resultobj;
32758 fail:
32759 return NULL;
32760}
32761
32762
32763static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32764 PyObject *resultobj = NULL;
070c48b4
RD
32765 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32766 wxString result;
32767 PyObject * obj0 = 0 ;
32768 char *kwnames[] = {
32769 (char *) "self", NULL
32770 };
32771
32772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
36ed4f51
RD
32773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32774 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32775 {
32776 PyThreadState* __tstate = wxPyBeginAllowThreads();
32777 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
32778
32779 wxPyEndAllowThreads(__tstate);
32780 if (PyErr_Occurred()) SWIG_fail;
32781 }
32782 {
32783#if wxUSE_UNICODE
32784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32785#else
32786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32787#endif
32788 }
32789 return resultobj;
32790 fail:
32791 return NULL;
32792}
32793
32794
32795static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32796 PyObject *resultobj = NULL;
070c48b4
RD
32797 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32798 wxString *arg2 = 0 ;
32799 bool temp2 = false ;
32800 PyObject * obj0 = 0 ;
32801 PyObject * obj1 = 0 ;
32802 char *kwnames[] = {
32803 (char *) "self",(char *) "prefix", NULL
32804 };
32805
32806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32808 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32809 {
32810 arg2 = wxString_in_helper(obj1);
32811 if (arg2 == NULL) SWIG_fail;
32812 temp2 = true;
32813 }
32814 {
32815 PyThreadState* __tstate = wxPyBeginAllowThreads();
32816 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
32817
32818 wxPyEndAllowThreads(__tstate);
32819 if (PyErr_Occurred()) SWIG_fail;
32820 }
32821 Py_INCREF(Py_None); resultobj = Py_None;
32822 {
32823 if (temp2)
32824 delete arg2;
32825 }
32826 return resultobj;
32827 fail:
32828 {
32829 if (temp2)
32830 delete arg2;
32831 }
32832 return NULL;
32833}
32834
32835
32836static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
32fe5131 32837 PyObject *resultobj = NULL;
070c48b4
RD
32838 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
32839 wxString result;
32840 PyObject * obj0 = 0 ;
32841 char *kwnames[] = {
32842 (char *) "self", NULL
32843 };
32844
32845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
36ed4f51
RD
32846 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
32847 if (SWIG_arg_fail(1)) SWIG_fail;
070c48b4
RD
32848 {
32849 PyThreadState* __tstate = wxPyBeginAllowThreads();
32850 result = wxStandardPaths_GetInstallPrefix(arg1);
32851
32852 wxPyEndAllowThreads(__tstate);
32853 if (PyErr_Occurred()) SWIG_fail;
32854 }
32855 {
32856#if wxUSE_UNICODE
32857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32858#else
32859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32860#endif
32861 }
32862 return resultobj;
32863 fail:
32864 return NULL;
32865}
32866
32867
32868static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
32869 PyObject *obj;
32870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32871 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
32872 Py_INCREF(obj);
32873 return Py_BuildValue((char *)"");
32874}
d55e5bfc 32875static PyMethodDef SwigMethods[] = {
36ed4f51
RD
32876 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32877 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
32878 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
32879 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
32880 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
32881 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
32882 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
32883 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
32884 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
32885 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
32886 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
32887 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
32888 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
3837a853 32889 { (char *)"SystemOptions_IsFalse", (PyCFunction) _wrap_SystemOptions_IsFalse, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32890 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
32891 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
32892 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
32893 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
32894 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
32895 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
32896 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
32897 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
32898 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32899 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32900 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
32901 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
32902 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
32903 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
32904 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
32905 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
32906 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
32907 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
32908 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
32909 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
32910 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
32911 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
32912 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
32913 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
32914 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
32915 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
32916 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
32917 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
32918 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
32919 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
32920 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
32921 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
32922 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32923 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32924 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32925 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
32926 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32927 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32928 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
32929 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32930 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32931 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
32932 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32933 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32934 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
32935 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
32936 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32937 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32938 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
32939 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
32940 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
a97cefba 32941 { (char *)"GetXDisplay", (PyCFunction) _wrap_GetXDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32942 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
32943 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
32944 { (char *)"FindWindowAtPointer", (PyCFunction) _wrap_FindWindowAtPointer, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32945 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32946 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32947 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32948 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
d04418a7 32949 { (char *)"LaunchDefaultBrowser", (PyCFunction) _wrap_LaunchDefaultBrowser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32950 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
32fe5131
RD
32951 { (char *)"new_MouseState", (PyCFunction) _wrap_new_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
32952 { (char *)"delete_MouseState", (PyCFunction) _wrap_delete_MouseState, METH_VARARGS | METH_KEYWORDS, NULL},
32953 { (char *)"MouseState_GetX", (PyCFunction) _wrap_MouseState_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
32954 { (char *)"MouseState_GetY", (PyCFunction) _wrap_MouseState_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
32955 { (char *)"MouseState_LeftDown", (PyCFunction) _wrap_MouseState_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32956 { (char *)"MouseState_MiddleDown", (PyCFunction) _wrap_MouseState_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
32957 { (char *)"MouseState_RightDown", (PyCFunction) _wrap_MouseState_RightDown, METH_VARARGS | METH_KEYWORDS, NULL},
32958 { (char *)"MouseState_ControlDown", (PyCFunction) _wrap_MouseState_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
32959 { (char *)"MouseState_ShiftDown", (PyCFunction) _wrap_MouseState_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32960 { (char *)"MouseState_AltDown", (PyCFunction) _wrap_MouseState_AltDown, METH_VARARGS | METH_KEYWORDS, NULL},
32961 { (char *)"MouseState_MetaDown", (PyCFunction) _wrap_MouseState_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
32962 { (char *)"MouseState_CmdDown", (PyCFunction) _wrap_MouseState_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL},
32963 { (char *)"MouseState_SetX", (PyCFunction) _wrap_MouseState_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
32964 { (char *)"MouseState_SetY", (PyCFunction) _wrap_MouseState_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
32965 { (char *)"MouseState_SetLeftDown", (PyCFunction) _wrap_MouseState_SetLeftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32966 { (char *)"MouseState_SetMiddleDown", (PyCFunction) _wrap_MouseState_SetMiddleDown, METH_VARARGS | METH_KEYWORDS, NULL},
32967 { (char *)"MouseState_SetRightDown", (PyCFunction) _wrap_MouseState_SetRightDown, METH_VARARGS | METH_KEYWORDS, NULL},
32968 { (char *)"MouseState_SetControlDown", (PyCFunction) _wrap_MouseState_SetControlDown, METH_VARARGS | METH_KEYWORDS, NULL},
32969 { (char *)"MouseState_SetShiftDown", (PyCFunction) _wrap_MouseState_SetShiftDown, METH_VARARGS | METH_KEYWORDS, NULL},
32970 { (char *)"MouseState_SetAltDown", (PyCFunction) _wrap_MouseState_SetAltDown, METH_VARARGS | METH_KEYWORDS, NULL},
32971 { (char *)"MouseState_SetMetaDown", (PyCFunction) _wrap_MouseState_SetMetaDown, METH_VARARGS | METH_KEYWORDS, NULL},
32972 { (char *)"MouseState_swigregister", MouseState_swigregister, METH_VARARGS, NULL},
32973 { (char *)"GetMouseState", (PyCFunction) _wrap_GetMouseState, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32974 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
32975 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32976 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32977 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32978 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32979 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
32980 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
32981 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 32982 { (char *)"delete_ToolTip", (PyCFunction) _wrap_delete_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32983 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
32984 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
32985 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32986 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
32987 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
32988 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
32989 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 32990 { (char *)"delete_Caret", (PyCFunction) _wrap_delete_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 32991 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32992 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32993 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32994 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
32995 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
32996 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32997 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
32998 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32999 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
33000 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
33001 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
33002 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33003 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
33004 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33005 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
33006 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 33007 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
33008 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33009 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33010 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
33011 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
33012 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
33013 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
33014 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33015 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33016 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
33017 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
33018 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33019 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
33020 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
33021 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
33022 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
33023 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33024 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33025 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33026 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
33027 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
33028 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33029 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33030 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
33031 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
33032 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33033 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
33034 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
33035 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
33036 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
33037 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33038 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33039 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
33040 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33041 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
33042 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
68350608 33043 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33044 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33045 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
33046 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
33047 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
33048 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
33049 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33050 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33051 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
33052 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
33053 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33054 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
33055 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
33056 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33057 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
33058 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
33059 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33060 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 33061 { (char *)"Timer_Notify", (PyCFunction) _wrap_Timer_Notify, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33062 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
33063 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
33064 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
33065 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
33066 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
33067 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33068 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
33069 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
33070 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
33071 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
33072 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
33073 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
33074 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 33075 { (char *)"delete_Log", (PyCFunction) _wrap_delete_Log, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33076 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
33077 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
33078 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
33079 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33080 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
33081 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33082 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33083 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
33084 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
33085 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33086 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
33087 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
33088 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33089 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33090 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33091 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
33092 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
33093 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
33094 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33095 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33096 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
33097 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
33098 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
33099 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
33100 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
33101 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
33102 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
33103 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
33104 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
33105 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
33106 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
33107 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
33108 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33109 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
33110 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33111 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
33112 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33113 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33114 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
33115 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
33116 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
33117 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33118 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
33119 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
33120 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
be9b1dca
RD
33121 { (char *)"new_LogBuffer", (PyCFunction) _wrap_new_LogBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
33122 { (char *)"LogBuffer_GetBuffer", (PyCFunction) _wrap_LogBuffer_GetBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
33123 { (char *)"LogBuffer_Flush", (PyCFunction) _wrap_LogBuffer_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33124 { (char *)"LogBuffer_swigregister", LogBuffer_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
33125 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
33126 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
33127 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
33128 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
33129 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
33130 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
33131 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33132 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
33133 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
33134 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
33135 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
33136 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
33137 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
33138 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
33139 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
33140 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
33141 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
33142 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
33143 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
33144 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33145 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
33146 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
33147 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
33148 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
33149 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
33150 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 33151 { (char *)"Process_OnTerminate", (PyCFunction) _wrap_Process_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33152 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
33153 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
33154 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
33155 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
33156 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
33157 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
33158 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
33159 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
33160 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
33161 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
33162 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
33163 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33164 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
33165 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
33166 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
33167 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
33168 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
33169 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
33170 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
33171 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
33172 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
33173 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
33174 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
33175 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33176 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33177 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33178 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33179 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33180 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33181 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33182 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33183 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
33184 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
33185 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33186 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
33187 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
33188 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
33189 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
33190 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
33191 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
33192 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
33193 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
33194 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
33195 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
33196 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
33197 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
33198 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
33199 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
33200 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
33201 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
33202 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
33203 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
33204 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
33205 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
33206 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
33207 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
33208 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
33209 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
33210 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
33211 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
33212 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
33213 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
33214 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
33215 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
33216 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
33217 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
36ed4f51
RD
33218 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
33219 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33220 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33221 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33222 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
33223 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
33224 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
33225 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
33226 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
33227 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33228 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
33229 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
33230 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
33231 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
33232 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
33233 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
33234 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
33235 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
33236 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
33237 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
33238 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
33239 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33240 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
33241 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33242 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
33243 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
33244 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
33245 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
33246 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33247 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
33248 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33249 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
33250 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33251 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
33252 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33253 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33254 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33255 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
33256 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
33257 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
33258 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
33259 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
33260 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
33261 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
33262 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
33263 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
33264 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33265 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33266 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
33267 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33268 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33269 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
33270 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33271 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33272 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
33273 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33274 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
33275 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
33276 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
33277 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
33278 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
33279 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
33280 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
33281 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
33282 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
33283 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
33284 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
33285 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33286 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
33287 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
33288 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
33289 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
33290 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
33291 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
33292 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
7e08d4ef 33293 { (char *)"delete_ArtProvider", (PyCFunction) _wrap_delete_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33294 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33295 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33296 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33297 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
33298 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33299 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
a95f9d4f 33300 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33301 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
33302 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
33303 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
33304 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
33305 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33306 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
33307 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
33308 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
33309 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
33310 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33311 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33312 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33313 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33314 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
33315 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
33316 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33317 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33318 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
33319 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
33320 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
33321 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
33322 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
33323 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
33324 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
33325 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
33326 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
33327 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
33328 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33329 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33330 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33331 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
33332 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
33333 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
33334 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33335 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33336 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
33337 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
33338 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33339 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
33340 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
33341 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
33342 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
33343 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
33344 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
33345 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
33346 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
33347 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
33348 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
33349 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
33350 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
33351 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
33352 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
33353 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
33354 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
33355 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
33356 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
33357 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33358 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33359 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
33360 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
33361 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
33362 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33363 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
33364 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
33365 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
33366 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33367 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
33368 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
33369 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
33370 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
33371 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
33372 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
33373 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
33374 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
33375 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
33376 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33377 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
33378 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33379 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
33380 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
33381 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33382 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
33383 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
33384 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33385 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
33386 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
33387 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
33388 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
33389 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33390 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
33391 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
33392 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
33393 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
33394 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
33395 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33396 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33397 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33398 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33399 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33400 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33401 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33402 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33403 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33404 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33405 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
33406 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33407 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
33408 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
33409 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
33410 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
33411 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
33412 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
33413 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
33414 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
33415 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
33416 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33417 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd
RD
33418 { (char *)"DateTime_FromTimezone", (PyCFunction) _wrap_DateTime_FromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33419 { (char *)"DateTime_MakeFromTimezone", (PyCFunction) _wrap_DateTime_MakeFromTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
33420 { (char *)"DateTime_ToUTC", (PyCFunction) _wrap_DateTime_ToUTC, METH_VARARGS | METH_KEYWORDS, NULL},
33421 { (char *)"DateTime_MakeUTC", (PyCFunction) _wrap_DateTime_MakeUTC, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33422 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
33423 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
943e8dfd
RD
33424 { (char *)"DateTime_FromUTC", (PyCFunction) _wrap_DateTime_FromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
33425 { (char *)"DateTime_MakeFromUTC", (PyCFunction) _wrap_DateTime_MakeFromUTC, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33426 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
33427 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
33428 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
33429 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
33430 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33431 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
33432 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
33433 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
33434 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
33435 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
33436 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
33437 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33438 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
33439 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
33440 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
33441 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
33442 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
33443 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
33444 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
33445 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
33446 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
33447 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
33448 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
33449 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
33450 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
33451 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
33452 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
33453 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33454 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
33455 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
33456 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
33457 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
fef4c27a
RD
33458 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
33459 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
33460 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
33461 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
33462 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33463 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33464 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
33465 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33466 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
33467 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
33468 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
33469 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
33470 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
33471 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
33472 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
33473 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
33474 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
33475 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
33476 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
33477 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
33478 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
33479 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
33480 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
33481 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
33482 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
33483 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
33484 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
33485 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33486 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33487 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33488 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33489 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
33490 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
33491 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
33492 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
33493 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
33494 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
33495 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
33496 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
33497 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
33498 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
33499 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
33500 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
33501 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
33502 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
33503 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
33504 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33505 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33506 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
33507 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
33508 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
33509 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
33510 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
33511 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
33512 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33513 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33514 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
33515 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
33516 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
33517 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
33518 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
33519 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
33520 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33521 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
33522 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
33523 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
33524 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
33525 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
33526 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
33527 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
33528 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
33529 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
33530 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
33531 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
33532 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33533 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33534 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
33535 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
33536 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
33537 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
33538 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
33539 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33540 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
33541 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
33542 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
33543 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
33544 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
33545 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
33546 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
33547 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
33548 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
33549 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
33550 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
33551 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33552 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33553 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
33554 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
33555 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
33556 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
33557 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
33558 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33559 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33560 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33561 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
33562 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
33563 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
33564 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
33565 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
33566 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
33567 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
33568 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33569 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33570 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
33571 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
33572 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
33573 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
33574 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
33575 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33576 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
33577 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
33578 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33579 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
33580 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
33581 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
33582 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33583 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
33584 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
33585 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33586 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
33587 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
33588 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
33589 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
33590 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33591 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
33592 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
33593 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
33594 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
33595 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33596 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33597 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
33598 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33599 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33600 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
33601 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
33602 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33603 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33604 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
33605 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33606 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
33607 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
33608 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
fef4c27a 33609 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
36ed4f51
RD
33610 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33611 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
33612 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
33613 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
33614 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33615 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
33616 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
33617 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
33618 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33619 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
33620 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
33621 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
33622 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
33623 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
33624 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33625 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
33626 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33627 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33628 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
33629 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 33630 { (char *)"DropSource_GiveFeedback", (PyCFunction) _wrap_DropSource_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33631 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
33632 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33633 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
33634 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33635 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
33636 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
33637 { (char *)"DropTarget_OnEnter", (PyCFunction) _wrap_DropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33638 { (char *)"DropTarget_OnDragOver", (PyCFunction) _wrap_DropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33639 { (char *)"DropTarget_OnLeave", (PyCFunction) _wrap_DropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33640 { (char *)"DropTarget_OnDrop", (PyCFunction) _wrap_DropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 33641 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
a95f9d4f
RD
33642 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
33643 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33644 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
33645 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33646 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
33647 { (char *)"TextDropTarget_OnDropText", (PyCFunction) _wrap_TextDropTarget_OnDropText, METH_VARARGS | METH_KEYWORDS, NULL},
33648 { (char *)"TextDropTarget_OnEnter", (PyCFunction) _wrap_TextDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33649 { (char *)"TextDropTarget_OnDragOver", (PyCFunction) _wrap_TextDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33650 { (char *)"TextDropTarget_OnLeave", (PyCFunction) _wrap_TextDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33651 { (char *)"TextDropTarget_OnDrop", (PyCFunction) _wrap_TextDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
33652 { (char *)"TextDropTarget_OnData", (PyCFunction) _wrap_TextDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33653 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
33654 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
33655 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
33656 { (char *)"FileDropTarget_OnDropFiles", (PyCFunction) _wrap_FileDropTarget_OnDropFiles, METH_VARARGS | METH_KEYWORDS, NULL},
33657 { (char *)"FileDropTarget_OnEnter", (PyCFunction) _wrap_FileDropTarget_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
33658 { (char *)"FileDropTarget_OnDragOver", (PyCFunction) _wrap_FileDropTarget_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
33659 { (char *)"FileDropTarget_OnLeave", (PyCFunction) _wrap_FileDropTarget_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
33660 { (char *)"FileDropTarget_OnDrop", (PyCFunction) _wrap_FileDropTarget_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
33661 { (char *)"FileDropTarget_OnData", (PyCFunction) _wrap_FileDropTarget_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
33662 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
33663 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
33664 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
33665 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
33666 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
33667 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
33668 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
33669 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
33670 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
33671 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
33672 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
33673 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
33674 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
33675 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33676 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
33677 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
33678 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
33679 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
33680 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
33681 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
33682 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
33683 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
33684 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
33685 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
33686 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
33687 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33688 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
33689 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
33690 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
33691 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
33692 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
33693 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
33694 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
33695 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
33696 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
33697 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
33698 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
33699 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
33700 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
33701 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
33702 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
33703 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
33704 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
33705 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
33706 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
33707 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
33708 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
33709 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
33710 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
33711 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
33712 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
33713 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
33714 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
33715 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
33716 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33717 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33718 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33719 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
33720 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
33721 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
33722 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
33723 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
c370783e 33724 { NULL, NULL, 0, NULL }
d55e5bfc
RD
33725};
33726
33727
33728/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
33729
33730static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
33731 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
33732}
33733static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
33734 return (void *)((wxEvent *) ((wxMenuEvent *) x));
33735}
33736static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
33737 return (void *)((wxEvent *) ((wxCloseEvent *) x));
33738}
33739static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
33740 return (void *)((wxEvent *) ((wxMouseEvent *) x));
33741}
33742static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
33743 return (void *)((wxEvent *) ((wxEraseEvent *) x));
33744}
33745static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
33746 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
33747}
33748static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
33749 return (void *)((wxEvent *) ((wxTimerEvent *) x));
33750}
33751static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
33752 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
33753}
33754static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
33755 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
33756}
33757static void *_p_wxPyEventTo_p_wxEvent(void *x) {
33758 return (void *)((wxEvent *) ((wxPyEvent *) x));
33759}
33760static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
33761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
33762}
33763static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
33764 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
33765}
33766static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
33767 return (void *)((wxEvent *) ((wxIdleEvent *) x));
33768}
33769static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
33770 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
33771}
33772static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
33773 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
33774}
33775static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
33776 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
33777}
33778static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
33779 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
33780}
33781static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
33782 return (void *)((wxEvent *) ((wxActivateEvent *) x));
33783}
33784static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
33785 return (void *)((wxEvent *) ((wxSizeEvent *) x));
33786}
33787static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
33788 return (void *)((wxEvent *) ((wxMoveEvent *) x));
33789}
53aa7709
RD
33790static void *_p_wxDateEventTo_p_wxEvent(void *x) {
33791 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
33792}
d55e5bfc
RD
33793static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
33794 return (void *)((wxEvent *) ((wxPaintEvent *) x));
33795}
33796static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
33797 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
33798}
33799static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
33800 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
33801}
33802static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
33803 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
33804}
33805static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
33806 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
33807}
33808static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
33809 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
33810}
33811static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
33812 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
33813}
33814static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
33815 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
33816}
33817static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
33818 return (void *)((wxEvent *) ((wxFocusEvent *) x));
33819}
33820static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
33821 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
33822}
33823static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
33824 return (void *)((wxEvent *) ((wxProcessEvent *) x));
33825}
33826static void *_p_wxShowEventTo_p_wxEvent(void *x) {
33827 return (void *)((wxEvent *) ((wxShowEvent *) x));
33828}
33829static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
33830 return (void *)((wxEvent *) ((wxCommandEvent *) x));
33831}
33832static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
33833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
33834}
33835static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
33836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33837}
33838static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
33839 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
33840}
33841static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
33842 return (void *)((wxEvent *) ((wxKeyEvent *) x));
33843}
33844static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
33845 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
33846}
33847static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
33848 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
33849}
33850static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
33851 return (void *)((wxConfigBase *) ((wxConfig *) x));
33852}
33853static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
33854 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33855}
33856static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
33857 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
33858}
33859static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
33860 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
33861}
33862static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
33863 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
33864}
33865static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
33866 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
33867}
33868static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
33869 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
33870}
33871static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
33872 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
33873}
33874static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
33875 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
33876}
33877static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
33878 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33879}
33880static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
33881 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
33882}
33883static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
33884 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
33885}
33886static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
32fe5131 33887 return (void *)((wxDataObject *) ((wxURLDataObject *) x));
d55e5bfc
RD
33888}
33889static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
33890 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
33891}
d55e5bfc
RD
33892static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
33893 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
33894}
33895static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
33896 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
33897}
33898static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
33899 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
33900}
33901static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
33902 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
33903}
33904static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
33905 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
33906}
33907static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
33908 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
33909}
33910static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
33911 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
33912}
33913static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
33914 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
33915}
33916static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
33917 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
33918}
33919static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
33920 return (void *)((wxEvtHandler *) ((wxWindow *) x));
33921}
33922static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
33923 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33924}
33925static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
33926 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
33927}
33928static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
33929 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
33930}
33931static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
33932 return (void *)((wxEvtHandler *) ((wxValidator *) x));
33933}
33934static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
33935 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
33936}
33937static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
33938 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
33939}
33940static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
33941 return (void *)((wxEvtHandler *) ((wxMenu *) x));
33942}
33943static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
33944 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
33945}
33946static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
33947 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
33948}
33949static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
33950 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
33951}
33952static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
33953 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
33954}
33955static void *_p_wxSizerItemTo_p_wxObject(void *x) {
33956 return (void *)((wxObject *) ((wxSizerItem *) x));
33957}
33958static void *_p_wxScrollEventTo_p_wxObject(void *x) {
33959 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
33960}
33961static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
33962 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
33963}
33964static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
33965 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
33966}
33967static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
33968 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
33969}
33970static void *_p_wxSizerTo_p_wxObject(void *x) {
33971 return (void *)((wxObject *) ((wxSizer *) x));
33972}
33973static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
33974 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
33975}
33976static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
33977 return (void *)((wxObject *) ((wxFileHistory *) x));
33978}
33979static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
33980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
33981}
33982static void *_p_wxEventTo_p_wxObject(void *x) {
33983 return (void *)((wxObject *) ((wxEvent *) x));
33984}
33985static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
33986 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
33987}
33988static void *_p_wxGridSizerTo_p_wxObject(void *x) {
33989 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
33990}
33991static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
33992 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
33993}
33994static void *_p_wxPaintEventTo_p_wxObject(void *x) {
33995 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
33996}
33997static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
33998 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
33999}
34000static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
34001 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
34002}
34003static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
34004 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
34005}
34006static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
34007 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34008}
34009static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
34010 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
34011}
34012static void *_p_wxControlTo_p_wxObject(void *x) {
34013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
34014}
34015static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
34016 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
34017}
34018static void *_p_wxTimerEventTo_p_wxObject(void *x) {
34019 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
34020}
34021static void *_p_wxFSFileTo_p_wxObject(void *x) {
34022 return (void *)((wxObject *) ((wxFSFile *) x));
34023}
34024static void *_p_wxClipboardTo_p_wxObject(void *x) {
34025 return (void *)((wxObject *) ((wxClipboard *) x));
34026}
34027static void *_p_wxPySizerTo_p_wxObject(void *x) {
34028 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
34029}
34030static void *_p_wxPyEventTo_p_wxObject(void *x) {
34031 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
34032}
34033static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
34034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
34035}
34036static void *_p_wxShowEventTo_p_wxObject(void *x) {
34037 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
34038}
34039static void *_p_wxToolTipTo_p_wxObject(void *x) {
34040 return (void *)((wxObject *) ((wxToolTip *) x));
34041}
34042static void *_p_wxMenuItemTo_p_wxObject(void *x) {
34043 return (void *)((wxObject *) ((wxMenuItem *) x));
34044}
53aa7709
RD
34045static void *_p_wxDateEventTo_p_wxObject(void *x) {
34046 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
34047}
d55e5bfc
RD
34048static void *_p_wxIdleEventTo_p_wxObject(void *x) {
34049 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
34050}
34051static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
34052 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
34053}
34054static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
34055 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
34056}
34057static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
34058 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
34059}
34060static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
34061 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
34062}
34063static void *_p_wxSizeEventTo_p_wxObject(void *x) {
34064 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
34065}
34066static void *_p_wxMoveEventTo_p_wxObject(void *x) {
34067 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
34068}
34069static void *_p_wxActivateEventTo_p_wxObject(void *x) {
34070 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
34071}
d55e5bfc
RD
34072static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
34073 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
34074}
34075static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
34076 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
34077}
34078static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
34079 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
34080}
34081static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
34082 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
34083}
34084static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
34085 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
34086}
34087static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
34088 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
34089}
34090static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
34091 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
34092}
34093static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
34094 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
34095}
34096static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
34097 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
34098}
943e8dfd
RD
34099static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
34100 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
34101}
d55e5bfc
RD
34102static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
34103 return (void *)((wxObject *) ((wxImageHandler *) x));
34104}
943e8dfd
RD
34105static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
34106 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
34107}
d55e5bfc
RD
34108static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
34109 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
34110}
34111static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
34112 return (void *)((wxObject *) ((wxEvtHandler *) x));
34113}
51b83b37
RD
34114static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
34115 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
34116}
d55e5bfc
RD
34117static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
34118 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
34119}
34120static void *_p_wxImageTo_p_wxObject(void *x) {
34121 return (void *)((wxObject *) ((wxImage *) x));
34122}
34123static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
34124 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
34125}
34126static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
34127 return (void *)((wxObject *) ((wxSystemOptions *) x));
34128}
34129static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
34130 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
34131}
34132static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
34133 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34134}
34135static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
34136 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
34137}
34138static void *_p_wxKeyEventTo_p_wxObject(void *x) {
34139 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
34140}
34141static void *_p_wxWindowTo_p_wxObject(void *x) {
34142 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
34143}
34144static void *_p_wxMenuTo_p_wxObject(void *x) {
34145 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
34146}
34147static void *_p_wxMenuBarTo_p_wxObject(void *x) {
34148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
34149}
34150static void *_p_wxPyProcessTo_p_wxObject(void *x) {
34151 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
34152}
34153static void *_p_wxFileSystemTo_p_wxObject(void *x) {
34154 return (void *)((wxObject *) ((wxFileSystem *) x));
34155}
34156static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
34157 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
34158}
34159static void *_p_wxMenuEventTo_p_wxObject(void *x) {
34160 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
34161}
34162static void *_p_wxPyAppTo_p_wxObject(void *x) {
34163 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
34164}
34165static void *_p_wxCloseEventTo_p_wxObject(void *x) {
34166 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
34167}
34168static void *_p_wxMouseEventTo_p_wxObject(void *x) {
34169 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
34170}
34171static void *_p_wxEraseEventTo_p_wxObject(void *x) {
34172 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
34173}
34174static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
34175 return (void *)((wxObject *) ((wxBusyInfo *) x));
34176}
34177static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
34178 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
34179}
34180static void *_p_wxCommandEventTo_p_wxObject(void *x) {
34181 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
34182}
34183static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
34184 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
34185}
34186static void *_p_wxFocusEventTo_p_wxObject(void *x) {
34187 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
34188}
34189static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
34190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
34191}
34192static void *_p_wxProcessEventTo_p_wxObject(void *x) {
34193 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
34194}
34195static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
34196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
34197}
34198static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
34199 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
34200}
34201static void *_p_wxValidatorTo_p_wxObject(void *x) {
34202 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
34203}
34204static void *_p_wxPyTimerTo_p_wxObject(void *x) {
34205 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
34206}
be9b1dca
RD
34207static void *_p_wxLogBufferTo_p_wxLog(void *x) {
34208 return (void *)((wxLog *) ((wxLogBuffer *) x));
34209}
d55e5bfc
RD
34210static void *_p_wxLogStderrTo_p_wxLog(void *x) {
34211 return (void *)((wxLog *) ((wxLogStderr *) x));
34212}
34213static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
34214 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
34215}
34216static void *_p_wxLogWindowTo_p_wxLog(void *x) {
34217 return (void *)((wxLog *) ((wxLogWindow *) x));
34218}
34219static void *_p_wxLogChainTo_p_wxLog(void *x) {
34220 return (void *)((wxLog *) ((wxLogChain *) x));
34221}
34222static void *_p_wxLogGuiTo_p_wxLog(void *x) {
34223 return (void *)((wxLog *) ((wxLogGui *) x));
34224}
34225static void *_p_wxPyLogTo_p_wxLog(void *x) {
34226 return (void *)((wxLog *) ((wxPyLog *) x));
34227}
34228static void *_p_wxControlTo_p_wxWindow(void *x) {
34229 return (void *)((wxWindow *) ((wxControl *) x));
34230}
34231static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
34232 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
34233}
34234static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
34235 return (void *)((wxWindow *) ((wxMenuBar *) x));
34236}
34237static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
34238 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
34239}
34240static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
34241 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
34242}
32fe5131
RD
34243static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0};
34244static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
34245static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0};
34246static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
34247static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
34248static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxLogLevel *", 0, 0, 0};
34249static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, 0};
34250static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0};
34251static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
34252static swig_type_info _swigt__p_wxBitmapDataObject = {"_p_wxBitmapDataObject", "wxBitmapDataObject *", 0, 0, 0};
34253static swig_type_info _swigt__p_wxBusyCursor = {"_p_wxBusyCursor", "wxBusyCursor *", 0, 0, 0};
34254static swig_type_info _swigt__p_wxBusyInfo = {"_p_wxBusyInfo", "wxBusyInfo *", 0, 0, 0};
34255static swig_type_info _swigt__p_wxCaret = {"_p_wxCaret", "wxCaret *", 0, 0, 0};
34256static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, 0};
34257static swig_type_info _swigt__p_wxClipboard = {"_p_wxClipboard", "wxClipboard *", 0, 0, 0};
34258static swig_type_info _swigt__p_wxClipboardLocker = {"_p_wxClipboardLocker", "wxClipboardLocker *", 0, 0, 0};
34259static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0};
34260static swig_type_info _swigt__p_wxConfig = {"_p_wxConfig", "wxConfig *", 0, 0, 0};
34261static swig_type_info _swigt__p_wxConfigBase = {"_p_wxConfigBase", "wxConfigBase *", 0, 0, 0};
34262static swig_type_info _swigt__p_wxConfigPathChanger = {"_p_wxConfigPathChanger", "wxConfigPathChanger *", 0, 0, 0};
34263static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, 0};
34264static swig_type_info _swigt__p_wxCustomDataObject = {"_p_wxCustomDataObject", "wxCustomDataObject *", 0, 0, 0};
34265static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, 0};
34266static swig_type_info _swigt__p_wxDataFormat = {"_p_wxDataFormat", "wxDataFormat *", 0, 0, 0};
34267static swig_type_info _swigt__p_wxDataObject = {"_p_wxDataObject", "wxDataObject *", 0, 0, 0};
34268static swig_type_info _swigt__p_wxDataObjectComposite = {"_p_wxDataObjectComposite", "wxDataObjectComposite *", 0, 0, 0};
34269static swig_type_info _swigt__p_wxDataObjectSimple = {"_p_wxDataObjectSimple", "wxDataObjectSimple *", 0, 0, 0};
34270static swig_type_info _swigt__p_wxDateSpan = {"_p_wxDateSpan", "wxDateSpan *", 0, 0, 0};
34271static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, 0};
34272static swig_type_info _swigt__p_wxDateTime__TimeZone = {"_p_wxDateTime__TimeZone", "wxDateTime::TimeZone *", 0, 0, 0};
34273static swig_type_info _swigt__p_wxDisplay = {"_p_wxDisplay", "wxDisplay *", 0, 0, 0};
34274static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
34275static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0};
34276static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0};
34277static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0};
34278static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0};
34279static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0};
34280static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0};
34281static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0};
34282static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0};
34283static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0};
34284static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0};
34285static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0};
34286static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0};
34287static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
34288static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
34289static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0};
34290static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0};
34291static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0};
34292static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0};
34293static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0};
34294static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0};
34295static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0};
34296static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0};
34297static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
34298static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
34299static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
34300static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
34301static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
34302static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0};
34303static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0};
34304static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0};
34305static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0};
34306static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", 0, 0, 0, 0};
34307static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0};
34308static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
34309static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
34310static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0};
34311static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0};
34312static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
34313static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0};
34314static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0};
34315static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0};
34316static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0};
34317static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0};
34318static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0};
34319static swig_type_info _swigt__p_wxFileConfig = {"_p_wxFileConfig", "wxFileConfig *", 0, 0, 0};
34320static swig_type_info _swigt__p_wxFileDataObject = {"_p_wxFileDataObject", "wxFileDataObject *", 0, 0, 0};
34321static swig_type_info _swigt__p_wxFileHistory = {"_p_wxFileHistory", "wxFileHistory *", 0, 0, 0};
34322static swig_type_info _swigt__p_wxFileType = {"_p_wxFileType", "wxFileType *", 0, 0, 0};
34323static swig_type_info _swigt__p_wxFileTypeInfo = {"_p_wxFileTypeInfo", "wxFileTypeInfo *", 0, 0, 0};
34324static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0};
34325static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, 0};
34326static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0};
34327static swig_type_info _swigt__p_wxJoystick = {"_p_wxJoystick", "wxJoystick *", 0, 0, 0};
34328static swig_type_info _swigt__p_wxJoystickEvent = {"_p_wxJoystickEvent", "wxJoystickEvent *", 0, 0, 0};
34329static swig_type_info _swigt__p_wxKillError = {"_p_wxKillError", "enum wxKillError *|wxKillError *", 0, 0, 0};
34330static swig_type_info _swigt__p_wxLog = {"_p_wxLog", "wxLog *", 0, 0, 0};
34331static swig_type_info _swigt__p_wxLogBuffer = {"_p_wxLogBuffer", "wxLogBuffer *", 0, 0, 0};
34332static swig_type_info _swigt__p_wxLogChain = {"_p_wxLogChain", "wxLogChain *", 0, 0, 0};
34333static swig_type_info _swigt__p_wxLogGui = {"_p_wxLogGui", "wxLogGui *", 0, 0, 0};
34334static swig_type_info _swigt__p_wxLogNull = {"_p_wxLogNull", "wxLogNull *", 0, 0, 0};
34335static swig_type_info _swigt__p_wxLogStderr = {"_p_wxLogStderr", "wxLogStderr *", 0, 0, 0};
34336static swig_type_info _swigt__p_wxLogTextCtrl = {"_p_wxLogTextCtrl", "wxLogTextCtrl *", 0, 0, 0};
34337static swig_type_info _swigt__p_wxLogWindow = {"_p_wxLogWindow", "wxLogWindow *", 0, 0, 0};
34338static swig_type_info _swigt__p_wxMemorySize = {"_p_wxMemorySize", "wxMemorySize *", 0, 0, 0};
34339static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, 0};
34340static swig_type_info _swigt__p_wxMetafile = {"_p_wxMetafile", "wxMetafile *", 0, 0, 0};
34341static swig_type_info _swigt__p_wxMetafileDataObject = {"_p_wxMetafileDataObject", "wxMetafileDataObject *", 0, 0, 0};
34342static swig_type_info _swigt__p_wxMimeTypesManager = {"_p_wxMimeTypesManager", "wxMimeTypesManager *", 0, 0, 0};
34343static swig_type_info _swigt__p_wxMouseState = {"_p_wxMouseState", "wxMouseState *", 0, 0, 0};
34344static swig_type_info _swigt__p_wxMutexGuiLocker = {"_p_wxMutexGuiLocker", "wxMutexGuiLocker *", 0, 0, 0};
34345static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0};
34346static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0};
34347static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0};
34348static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0};
34349static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
34350static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
34351static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0};
34352static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0};
34353static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0};
34354static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0};
34355static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0};
34356static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0};
34357static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0};
34358static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0};
34359static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0};
34360static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0};
34361static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0};
34362static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0};
34363static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0};
34364static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0};
34365static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0};
34366static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0};
34367static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0};
34368static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0};
34369static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0};
34370static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0};
34371static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0};
34372static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0};
34373static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0};
34374static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0};
34375static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0};
34376static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, 0};
34377static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
34378static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, 0};
34379static swig_type_info _swigt__p_wxProcessEvent = {"_p_wxProcessEvent", "wxProcessEvent *", 0, 0, 0};
34380static swig_type_info _swigt__p_wxPyArtProvider = {"_p_wxPyArtProvider", "wxPyArtProvider *", 0, 0, 0};
34381static swig_type_info _swigt__p_wxPyBitmapDataObject = {"_p_wxPyBitmapDataObject", "wxPyBitmapDataObject *", 0, 0, 0};
34382static swig_type_info _swigt__p_wxPyDataObjectSimple = {"_p_wxPyDataObjectSimple", "wxPyDataObjectSimple *", 0, 0, 0};
34383static swig_type_info _swigt__p_wxPyDropSource = {"_p_wxPyDropSource", "wxPyDropSource *", 0, 0, 0};
34384static swig_type_info _swigt__p_wxPyDropTarget = {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, 0};
34385static swig_type_info _swigt__p_wxPyFileDropTarget = {"_p_wxPyFileDropTarget", "wxPyFileDropTarget *", 0, 0, 0};
34386static swig_type_info _swigt__p_wxPyLog = {"_p_wxPyLog", "wxPyLog *", 0, 0, 0};
34387static swig_type_info _swigt__p_wxPyProcess = {"_p_wxPyProcess", "wxPyProcess *", 0, 0, 0};
34388static swig_type_info _swigt__p_wxPyTextDataObject = {"_p_wxPyTextDataObject", "wxPyTextDataObject *", 0, 0, 0};
34389static swig_type_info _swigt__p_wxPyTextDropTarget = {"_p_wxPyTextDropTarget", "wxPyTextDropTarget *", 0, 0, 0};
34390static swig_type_info _swigt__p_wxPyTimer = {"_p_wxPyTimer", "wxPyTimer *", 0, 0, 0};
34391static swig_type_info _swigt__p_wxPyTipProvider = {"_p_wxPyTipProvider", "wxPyTipProvider *", 0, 0, 0};
34392static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, 0};
34393static swig_type_info _swigt__p_wxSingleInstanceChecker = {"_p_wxSingleInstanceChecker", "wxSingleInstanceChecker *", 0, 0, 0};
34394static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, 0};
34395static swig_type_info _swigt__p_wxSound = {"_p_wxSound", "wxSound *", 0, 0, 0};
34396static swig_type_info _swigt__p_wxStandardPaths = {"_p_wxStandardPaths", "wxStandardPaths *", 0, 0, 0};
34397static swig_type_info _swigt__p_wxStopWatch = {"_p_wxStopWatch", "wxStopWatch *", 0, 0, 0};
34398static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, 0};
34399static swig_type_info _swigt__p_wxSystemOptions = {"_p_wxSystemOptions", "wxSystemOptions *", 0, 0, 0};
34400static swig_type_info _swigt__p_wxSystemSettings = {"_p_wxSystemSettings", "wxSystemSettings *", 0, 0, 0};
34401static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, 0};
34402static swig_type_info _swigt__p_wxTextDataObject = {"_p_wxTextDataObject", "wxTextDataObject *", 0, 0, 0};
34403static swig_type_info _swigt__p_wxTimeSpan = {"_p_wxTimeSpan", "wxTimeSpan *", 0, 0, 0};
34404static swig_type_info _swigt__p_wxTimer = {"_p_wxTimer", "wxTimer *", 0, 0, 0};
34405static swig_type_info _swigt__p_wxTimerEvent = {"_p_wxTimerEvent", "wxTimerEvent *", 0, 0, 0};
34406static swig_type_info _swigt__p_wxTimerRunner = {"_p_wxTimerRunner", "wxTimerRunner *", 0, 0, 0};
34407static swig_type_info _swigt__p_wxTipProvider = {"_p_wxTipProvider", "wxTipProvider *", 0, 0, 0};
34408static swig_type_info _swigt__p_wxToolTip = {"_p_wxToolTip", "wxToolTip *", 0, 0, 0};
34409static swig_type_info _swigt__p_wxURLDataObject = {"_p_wxURLDataObject", "wxURLDataObject *", 0, 0, 0};
34410static swig_type_info _swigt__p_wxVideoMode = {"_p_wxVideoMode", "wxVideoMode *", 0, 0, 0};
34411static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0};
34412static swig_type_info _swigt__p_wxWindowDisabler = {"_p_wxWindowDisabler", "wxWindowDisabler *", 0, 0, 0};
34413static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
34414static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
34415static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
34416
34417static swig_type_info *swig_type_initial[] = {
34418 &_swigt__p_char,
34419 &_swigt__p_form_ops_t,
34420 &_swigt__p_int,
34421 &_swigt__p_unsigned_char,
34422 &_swigt__p_unsigned_int,
34423 &_swigt__p_unsigned_long,
34424 &_swigt__p_void,
34425 &_swigt__p_wxANIHandler,
34426 &_swigt__p_wxAcceleratorTable,
34427 &_swigt__p_wxActivateEvent,
34428 &_swigt__p_wxArrayString,
34429 &_swigt__p_wxBMPHandler,
34430 &_swigt__p_wxBitmap,
34431 &_swigt__p_wxBitmapDataObject,
34432 &_swigt__p_wxBoxSizer,
34433 &_swigt__p_wxBusyCursor,
34434 &_swigt__p_wxBusyInfo,
34435 &_swigt__p_wxCURHandler,
34436 &_swigt__p_wxCaret,
34437 &_swigt__p_wxChar,
34438 &_swigt__p_wxChildFocusEvent,
34439 &_swigt__p_wxClipboard,
34440 &_swigt__p_wxClipboardLocker,
34441 &_swigt__p_wxCloseEvent,
34442 &_swigt__p_wxColour,
34443 &_swigt__p_wxCommandEvent,
34444 &_swigt__p_wxConfig,
34445 &_swigt__p_wxConfigBase,
34446 &_swigt__p_wxConfigPathChanger,
34447 &_swigt__p_wxContextMenuEvent,
34448 &_swigt__p_wxControl,
34449 &_swigt__p_wxControlWithItems,
34450 &_swigt__p_wxCursor,
34451 &_swigt__p_wxCustomDataObject,
34452 &_swigt__p_wxDC,
34453 &_swigt__p_wxDataFormat,
34454 &_swigt__p_wxDataObject,
34455 &_swigt__p_wxDataObjectComposite,
34456 &_swigt__p_wxDataObjectSimple,
34457 &_swigt__p_wxDateEvent,
34458 &_swigt__p_wxDateSpan,
34459 &_swigt__p_wxDateTime,
34460 &_swigt__p_wxDateTime__TimeZone,
34461 &_swigt__p_wxDisplay,
34462 &_swigt__p_wxDisplayChangedEvent,
34463 &_swigt__p_wxDropFilesEvent,
34464 &_swigt__p_wxDuplexMode,
34465 &_swigt__p_wxEraseEvent,
34466 &_swigt__p_wxEvent,
34467 &_swigt__p_wxEvtHandler,
34468 &_swigt__p_wxFSFile,
34469 &_swigt__p_wxFileConfig,
34470 &_swigt__p_wxFileDataObject,
34471 &_swigt__p_wxFileHistory,
34472 &_swigt__p_wxFileSystem,
34473 &_swigt__p_wxFileType,
34474 &_swigt__p_wxFileTypeInfo,
34475 &_swigt__p_wxFlexGridSizer,
34476 &_swigt__p_wxFocusEvent,
34477 &_swigt__p_wxFont,
34478 &_swigt__p_wxFrame,
34479 &_swigt__p_wxGBSizerItem,
34480 &_swigt__p_wxGIFHandler,
34481 &_swigt__p_wxGridBagSizer,
34482 &_swigt__p_wxGridSizer,
34483 &_swigt__p_wxICOHandler,
34484 &_swigt__p_wxIcon,
34485 &_swigt__p_wxIconizeEvent,
34486 &_swigt__p_wxIdleEvent,
34487 &_swigt__p_wxImage,
34488 &_swigt__p_wxImageHandler,
34489 &_swigt__p_wxIndividualLayoutConstraint,
34490 &_swigt__p_wxInitDialogEvent,
34491 &_swigt__p_wxJPEGHandler,
34492 &_swigt__p_wxJoystick,
34493 &_swigt__p_wxJoystickEvent,
34494 &_swigt__p_wxKeyEvent,
34495 &_swigt__p_wxKillError,
34496 &_swigt__p_wxLayoutConstraints,
34497 &_swigt__p_wxLog,
34498 &_swigt__p_wxLogBuffer,
34499 &_swigt__p_wxLogChain,
34500 &_swigt__p_wxLogGui,
34501 &_swigt__p_wxLogNull,
34502 &_swigt__p_wxLogStderr,
34503 &_swigt__p_wxLogTextCtrl,
34504 &_swigt__p_wxLogWindow,
34505 &_swigt__p_wxMaximizeEvent,
34506 &_swigt__p_wxMemorySize,
34507 &_swigt__p_wxMenu,
34508 &_swigt__p_wxMenuBar,
34509 &_swigt__p_wxMenuEvent,
34510 &_swigt__p_wxMenuItem,
34511 &_swigt__p_wxMetafile,
34512 &_swigt__p_wxMetafileDataObject,
34513 &_swigt__p_wxMimeTypesManager,
34514 &_swigt__p_wxMouseCaptureChangedEvent,
34515 &_swigt__p_wxMouseEvent,
34516 &_swigt__p_wxMouseState,
34517 &_swigt__p_wxMoveEvent,
34518 &_swigt__p_wxMutexGuiLocker,
34519 &_swigt__p_wxNavigationKeyEvent,
34520 &_swigt__p_wxNcPaintEvent,
34521 &_swigt__p_wxNotifyEvent,
34522 &_swigt__p_wxObject,
34523 &_swigt__p_wxOutputStream,
34524 &_swigt__p_wxPCXHandler,
34525 &_swigt__p_wxPNGHandler,
34526 &_swigt__p_wxPNMHandler,
34527 &_swigt__p_wxPaintEvent,
34528 &_swigt__p_wxPaletteChangedEvent,
34529 &_swigt__p_wxPaperSize,
34530 &_swigt__p_wxPoint,
34531 &_swigt__p_wxProcessEvent,
34532 &_swigt__p_wxPyApp,
34533 &_swigt__p_wxPyArtProvider,
34534 &_swigt__p_wxPyBitmapDataObject,
34535 &_swigt__p_wxPyCommandEvent,
34536 &_swigt__p_wxPyDataObjectSimple,
34537 &_swigt__p_wxPyDropSource,
34538 &_swigt__p_wxPyDropTarget,
34539 &_swigt__p_wxPyEvent,
34540 &_swigt__p_wxPyFileDropTarget,
34541 &_swigt__p_wxPyImageHandler,
34542 &_swigt__p_wxPyLog,
34543 &_swigt__p_wxPyProcess,
34544 &_swigt__p_wxPySizer,
34545 &_swigt__p_wxPyTextDataObject,
34546 &_swigt__p_wxPyTextDropTarget,
34547 &_swigt__p_wxPyTimer,
34548 &_swigt__p_wxPyTipProvider,
34549 &_swigt__p_wxPyValidator,
34550 &_swigt__p_wxQueryNewPaletteEvent,
34551 &_swigt__p_wxRect,
34552 &_swigt__p_wxScrollEvent,
34553 &_swigt__p_wxScrollWinEvent,
34554 &_swigt__p_wxSetCursorEvent,
34555 &_swigt__p_wxShowEvent,
34556 &_swigt__p_wxSingleInstanceChecker,
34557 &_swigt__p_wxSize,
34558 &_swigt__p_wxSizeEvent,
34559 &_swigt__p_wxSizer,
34560 &_swigt__p_wxSizerItem,
34561 &_swigt__p_wxSound,
34562 &_swigt__p_wxStandardPaths,
34563 &_swigt__p_wxStaticBoxSizer,
34564 &_swigt__p_wxStdDialogButtonSizer,
34565 &_swigt__p_wxStopWatch,
34566 &_swigt__p_wxString,
34567 &_swigt__p_wxSysColourChangedEvent,
34568 &_swigt__p_wxSystemOptions,
34569 &_swigt__p_wxSystemSettings,
34570 &_swigt__p_wxTIFFHandler,
34571 &_swigt__p_wxTextCtrl,
34572 &_swigt__p_wxTextDataObject,
34573 &_swigt__p_wxTimeSpan,
34574 &_swigt__p_wxTimer,
34575 &_swigt__p_wxTimerEvent,
34576 &_swigt__p_wxTimerRunner,
34577 &_swigt__p_wxTipProvider,
34578 &_swigt__p_wxToolTip,
34579 &_swigt__p_wxURLDataObject,
34580 &_swigt__p_wxUpdateUIEvent,
34581 &_swigt__p_wxValidator,
34582 &_swigt__p_wxVideoMode,
34583 &_swigt__p_wxWindow,
34584 &_swigt__p_wxWindowCreateEvent,
34585 &_swigt__p_wxWindowDestroyEvent,
34586 &_swigt__p_wxWindowDisabler,
34587 &_swigt__p_wxXPMHandler,
34588 &_swigt__ptrdiff_t,
34589 &_swigt__std__ptrdiff_t,
34590 &_swigt__unsigned_int,
34591};
34592
34593static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
34594static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
34595static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
34596static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
34597static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34598static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
34599static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
34600static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
34601static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
34602static 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}};
34603static swig_cast_info _swigc__p_wxBusyCursor[] = { {&_swigt__p_wxBusyCursor, 0, 0, 0},{0, 0, 0, 0}};
34604static swig_cast_info _swigc__p_wxBusyInfo[] = { {&_swigt__p_wxBusyInfo, 0, 0, 0},{0, 0, 0, 0}};
34605static swig_cast_info _swigc__p_wxCaret[] = { {&_swigt__p_wxCaret, 0, 0, 0},{0, 0, 0, 0}};
34606static swig_cast_info _swigc__p_wxChar[] = { {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
34607static swig_cast_info _swigc__p_wxClipboard[] = { {&_swigt__p_wxClipboard, 0, 0, 0},{0, 0, 0, 0}};
34608static swig_cast_info _swigc__p_wxClipboardLocker[] = { {&_swigt__p_wxClipboardLocker, 0, 0, 0},{0, 0, 0, 0}};
34609static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
34610static swig_cast_info _swigc__p_wxConfig[] = { {&_swigt__p_wxConfig, 0, 0, 0},{0, 0, 0, 0}};
34611static 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}};
34612static swig_cast_info _swigc__p_wxConfigPathChanger[] = { {&_swigt__p_wxConfigPathChanger, 0, 0, 0},{0, 0, 0, 0}};
34613static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
34614static swig_cast_info _swigc__p_wxCustomDataObject[] = { {&_swigt__p_wxCustomDataObject, 0, 0, 0},{0, 0, 0, 0}};
34615static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
34616static swig_cast_info _swigc__p_wxDataFormat[] = { {&_swigt__p_wxDataFormat, 0, 0, 0},{0, 0, 0, 0}};
34617static 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}};
34618static swig_cast_info _swigc__p_wxDataObjectComposite[] = { {&_swigt__p_wxDataObjectComposite, 0, 0, 0},{0, 0, 0, 0}};
34619static 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}};
34620static swig_cast_info _swigc__p_wxDateSpan[] = { {&_swigt__p_wxDateSpan, 0, 0, 0},{0, 0, 0, 0}};
34621static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
34622static swig_cast_info _swigc__p_wxDateTime__TimeZone[] = { {&_swigt__p_wxDateTime__TimeZone, 0, 0, 0},{0, 0, 0, 0}};
34623static swig_cast_info _swigc__p_wxDisplay[] = { {&_swigt__p_wxDisplay, 0, 0, 0},{0, 0, 0, 0}};
34624static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
34625static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34626static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
34627static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
34628static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
34629static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
34630static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
34631static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34632static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
34633static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34634static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
34635static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
34636static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
34637static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
34638static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34639static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34640static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
34641static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
34642static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
34643static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
34644static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34645static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
34646static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
34647static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34648static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34649static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34650static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34651static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34652static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34653static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34654static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34655static swig_cast_info _swigc__p_wxCommandEvent[] = {{&_swigt__p_wxCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34656static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
34657static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
34658static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34659static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34660static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34661static 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}};
34662static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34663static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34664static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34665static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34666static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
34667static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34668static 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}};
34669static swig_cast_info _swigc__p_wxFileConfig[] = { {&_swigt__p_wxFileConfig, 0, 0, 0},{0, 0, 0, 0}};
34670static swig_cast_info _swigc__p_wxFileDataObject[] = { {&_swigt__p_wxFileDataObject, 0, 0, 0},{0, 0, 0, 0}};
34671static swig_cast_info _swigc__p_wxFileHistory[] = { {&_swigt__p_wxFileHistory, 0, 0, 0},{0, 0, 0, 0}};
34672static swig_cast_info _swigc__p_wxFileType[] = { {&_swigt__p_wxFileType, 0, 0, 0},{0, 0, 0, 0}};
34673static swig_cast_info _swigc__p_wxFileTypeInfo[] = { {&_swigt__p_wxFileTypeInfo, 0, 0, 0},{0, 0, 0, 0}};
34674static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34675static swig_cast_info _swigc__p_wxFrame[] = { {&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
34676static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34677static swig_cast_info _swigc__p_wxJoystick[] = { {&_swigt__p_wxJoystick, 0, 0, 0},{0, 0, 0, 0}};
34678static swig_cast_info _swigc__p_wxJoystickEvent[] = { {&_swigt__p_wxJoystickEvent, 0, 0, 0},{0, 0, 0, 0}};
34679static swig_cast_info _swigc__p_wxKillError[] = { {&_swigt__p_wxKillError, 0, 0, 0},{0, 0, 0, 0}};
34680static 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}};
34681static swig_cast_info _swigc__p_wxLogBuffer[] = { {&_swigt__p_wxLogBuffer, 0, 0, 0},{0, 0, 0, 0}};
34682static swig_cast_info _swigc__p_wxLogChain[] = { {&_swigt__p_wxLogChain, 0, 0, 0},{0, 0, 0, 0}};
34683static swig_cast_info _swigc__p_wxLogGui[] = { {&_swigt__p_wxLogGui, 0, 0, 0},{0, 0, 0, 0}};
34684static swig_cast_info _swigc__p_wxLogNull[] = { {&_swigt__p_wxLogNull, 0, 0, 0},{0, 0, 0, 0}};
34685static swig_cast_info _swigc__p_wxLogStderr[] = { {&_swigt__p_wxLogStderr, 0, 0, 0},{0, 0, 0, 0}};
34686static swig_cast_info _swigc__p_wxLogTextCtrl[] = { {&_swigt__p_wxLogTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
34687static swig_cast_info _swigc__p_wxLogWindow[] = { {&_swigt__p_wxLogWindow, 0, 0, 0},{0, 0, 0, 0}};
34688static swig_cast_info _swigc__p_wxMemorySize[] = { {&_swigt__p_wxMemorySize, 0, 0, 0},{0, 0, 0, 0}};
34689static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34690static swig_cast_info _swigc__p_wxMetafile[] = { {&_swigt__p_wxMetafile, 0, 0, 0},{0, 0, 0, 0}};
34691static swig_cast_info _swigc__p_wxMetafileDataObject[] = { {&_swigt__p_wxMetafileDataObject, 0, 0, 0},{0, 0, 0, 0}};
34692static swig_cast_info _swigc__p_wxMimeTypesManager[] = { {&_swigt__p_wxMimeTypesManager, 0, 0, 0},{0, 0, 0, 0}};
34693static swig_cast_info _swigc__p_wxMouseState[] = { {&_swigt__p_wxMouseState, 0, 0, 0},{0, 0, 0, 0}};
34694static swig_cast_info _swigc__p_wxMutexGuiLocker[] = { {&_swigt__p_wxMutexGuiLocker, 0, 0, 0},{0, 0, 0, 0}};
34695static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34696static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34697static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34698static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34699static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34700static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34701static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34702static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34703static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34704static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34705static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34706static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34707static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34708static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34709static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34710static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34711static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34712static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34713static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34714static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34715static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34716static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34717static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34718static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34719static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34720static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34721static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34722static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34723static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34724static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34725static 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}};
34726static swig_cast_info _swigc__p_wxOutputStream[] = { {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
34727static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34728static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34729static swig_cast_info _swigc__p_wxProcessEvent[] = { {&_swigt__p_wxProcessEvent, 0, 0, 0},{0, 0, 0, 0}};
34730static swig_cast_info _swigc__p_wxPyArtProvider[] = { {&_swigt__p_wxPyArtProvider, 0, 0, 0},{0, 0, 0, 0}};
34731static swig_cast_info _swigc__p_wxPyBitmapDataObject[] = { {&_swigt__p_wxPyBitmapDataObject, 0, 0, 0},{0, 0, 0, 0}};
34732static swig_cast_info _swigc__p_wxPyDataObjectSimple[] = { {&_swigt__p_wxPyDataObjectSimple, 0, 0, 0},{0, 0, 0, 0}};
34733static swig_cast_info _swigc__p_wxPyDropSource[] = { {&_swigt__p_wxPyDropSource, 0, 0, 0},{0, 0, 0, 0}};
34734static 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}};
34735static swig_cast_info _swigc__p_wxPyFileDropTarget[] = { {&_swigt__p_wxPyFileDropTarget, 0, 0, 0},{0, 0, 0, 0}};
34736static swig_cast_info _swigc__p_wxPyLog[] = { {&_swigt__p_wxPyLog, 0, 0, 0},{0, 0, 0, 0}};
34737static swig_cast_info _swigc__p_wxPyProcess[] = { {&_swigt__p_wxPyProcess, 0, 0, 0},{0, 0, 0, 0}};
34738static swig_cast_info _swigc__p_wxPyTextDataObject[] = { {&_swigt__p_wxPyTextDataObject, 0, 0, 0},{0, 0, 0, 0}};
34739static swig_cast_info _swigc__p_wxPyTextDropTarget[] = { {&_swigt__p_wxPyTextDropTarget, 0, 0, 0},{0, 0, 0, 0}};
34740static swig_cast_info _swigc__p_wxPyTimer[] = { {&_swigt__p_wxPyTimer, 0, 0, 0},{0, 0, 0, 0}};
34741static swig_cast_info _swigc__p_wxPyTipProvider[] = { {&_swigt__p_wxPyTipProvider, 0, 0, 0},{0, 0, 0, 0}};
34742static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34743static swig_cast_info _swigc__p_wxSingleInstanceChecker[] = { {&_swigt__p_wxSingleInstanceChecker, 0, 0, 0},{0, 0, 0, 0}};
34744static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34745static swig_cast_info _swigc__p_wxSound[] = { {&_swigt__p_wxSound, 0, 0, 0},{0, 0, 0, 0}};
34746static swig_cast_info _swigc__p_wxStandardPaths[] = { {&_swigt__p_wxStandardPaths, 0, 0, 0},{0, 0, 0, 0}};
34747static swig_cast_info _swigc__p_wxStopWatch[] = { {&_swigt__p_wxStopWatch, 0, 0, 0},{0, 0, 0, 0}};
34748static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34749static swig_cast_info _swigc__p_wxSystemOptions[] = { {&_swigt__p_wxSystemOptions, 0, 0, 0},{0, 0, 0, 0}};
34750static swig_cast_info _swigc__p_wxSystemSettings[] = { {&_swigt__p_wxSystemSettings, 0, 0, 0},{0, 0, 0, 0}};
34751static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
34752static 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}};
34753static swig_cast_info _swigc__p_wxTimeSpan[] = { {&_swigt__p_wxTimeSpan, 0, 0, 0},{0, 0, 0, 0}};
34754static swig_cast_info _swigc__p_wxTimer[] = { {&_swigt__p_wxTimer, 0, 0, 0},{0, 0, 0, 0}};
34755static swig_cast_info _swigc__p_wxTimerEvent[] = { {&_swigt__p_wxTimerEvent, 0, 0, 0},{0, 0, 0, 0}};
34756static swig_cast_info _swigc__p_wxTimerRunner[] = { {&_swigt__p_wxTimerRunner, 0, 0, 0},{0, 0, 0, 0}};
34757static 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}};
34758static swig_cast_info _swigc__p_wxToolTip[] = { {&_swigt__p_wxToolTip, 0, 0, 0},{0, 0, 0, 0}};
34759static swig_cast_info _swigc__p_wxURLDataObject[] = { {&_swigt__p_wxURLDataObject, 0, 0, 0},{0, 0, 0, 0}};
34760static swig_cast_info _swigc__p_wxVideoMode[] = { {&_swigt__p_wxVideoMode, 0, 0, 0},{0, 0, 0, 0}};
34761static 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}};
34762static swig_cast_info _swigc__p_wxWindowDisabler[] = { {&_swigt__p_wxWindowDisabler, 0, 0, 0},{0, 0, 0, 0}};
34763static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
34764static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}};
34765static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
34766
34767static swig_cast_info *swig_cast_initial[] = {
34768 _swigc__p_char,
34769 _swigc__p_form_ops_t,
34770 _swigc__p_int,
34771 _swigc__p_unsigned_char,
34772 _swigc__p_unsigned_int,
34773 _swigc__p_unsigned_long,
34774 _swigc__p_void,
34775 _swigc__p_wxANIHandler,
34776 _swigc__p_wxAcceleratorTable,
34777 _swigc__p_wxActivateEvent,
34778 _swigc__p_wxArrayString,
34779 _swigc__p_wxBMPHandler,
34780 _swigc__p_wxBitmap,
34781 _swigc__p_wxBitmapDataObject,
34782 _swigc__p_wxBoxSizer,
34783 _swigc__p_wxBusyCursor,
34784 _swigc__p_wxBusyInfo,
34785 _swigc__p_wxCURHandler,
34786 _swigc__p_wxCaret,
34787 _swigc__p_wxChar,
34788 _swigc__p_wxChildFocusEvent,
34789 _swigc__p_wxClipboard,
34790 _swigc__p_wxClipboardLocker,
34791 _swigc__p_wxCloseEvent,
34792 _swigc__p_wxColour,
34793 _swigc__p_wxCommandEvent,
34794 _swigc__p_wxConfig,
34795 _swigc__p_wxConfigBase,
34796 _swigc__p_wxConfigPathChanger,
34797 _swigc__p_wxContextMenuEvent,
34798 _swigc__p_wxControl,
34799 _swigc__p_wxControlWithItems,
34800 _swigc__p_wxCursor,
34801 _swigc__p_wxCustomDataObject,
34802 _swigc__p_wxDC,
34803 _swigc__p_wxDataFormat,
34804 _swigc__p_wxDataObject,
34805 _swigc__p_wxDataObjectComposite,
34806 _swigc__p_wxDataObjectSimple,
34807 _swigc__p_wxDateEvent,
34808 _swigc__p_wxDateSpan,
34809 _swigc__p_wxDateTime,
34810 _swigc__p_wxDateTime__TimeZone,
34811 _swigc__p_wxDisplay,
34812 _swigc__p_wxDisplayChangedEvent,
34813 _swigc__p_wxDropFilesEvent,
34814 _swigc__p_wxDuplexMode,
34815 _swigc__p_wxEraseEvent,
34816 _swigc__p_wxEvent,
34817 _swigc__p_wxEvtHandler,
34818 _swigc__p_wxFSFile,
34819 _swigc__p_wxFileConfig,
34820 _swigc__p_wxFileDataObject,
34821 _swigc__p_wxFileHistory,
34822 _swigc__p_wxFileSystem,
34823 _swigc__p_wxFileType,
34824 _swigc__p_wxFileTypeInfo,
34825 _swigc__p_wxFlexGridSizer,
34826 _swigc__p_wxFocusEvent,
34827 _swigc__p_wxFont,
34828 _swigc__p_wxFrame,
34829 _swigc__p_wxGBSizerItem,
34830 _swigc__p_wxGIFHandler,
34831 _swigc__p_wxGridBagSizer,
34832 _swigc__p_wxGridSizer,
34833 _swigc__p_wxICOHandler,
34834 _swigc__p_wxIcon,
34835 _swigc__p_wxIconizeEvent,
34836 _swigc__p_wxIdleEvent,
34837 _swigc__p_wxImage,
34838 _swigc__p_wxImageHandler,
34839 _swigc__p_wxIndividualLayoutConstraint,
34840 _swigc__p_wxInitDialogEvent,
34841 _swigc__p_wxJPEGHandler,
34842 _swigc__p_wxJoystick,
34843 _swigc__p_wxJoystickEvent,
34844 _swigc__p_wxKeyEvent,
34845 _swigc__p_wxKillError,
34846 _swigc__p_wxLayoutConstraints,
34847 _swigc__p_wxLog,
34848 _swigc__p_wxLogBuffer,
34849 _swigc__p_wxLogChain,
34850 _swigc__p_wxLogGui,
34851 _swigc__p_wxLogNull,
34852 _swigc__p_wxLogStderr,
34853 _swigc__p_wxLogTextCtrl,
34854 _swigc__p_wxLogWindow,
34855 _swigc__p_wxMaximizeEvent,
34856 _swigc__p_wxMemorySize,
34857 _swigc__p_wxMenu,
34858 _swigc__p_wxMenuBar,
34859 _swigc__p_wxMenuEvent,
34860 _swigc__p_wxMenuItem,
34861 _swigc__p_wxMetafile,
34862 _swigc__p_wxMetafileDataObject,
34863 _swigc__p_wxMimeTypesManager,
34864 _swigc__p_wxMouseCaptureChangedEvent,
34865 _swigc__p_wxMouseEvent,
34866 _swigc__p_wxMouseState,
34867 _swigc__p_wxMoveEvent,
34868 _swigc__p_wxMutexGuiLocker,
34869 _swigc__p_wxNavigationKeyEvent,
34870 _swigc__p_wxNcPaintEvent,
34871 _swigc__p_wxNotifyEvent,
34872 _swigc__p_wxObject,
34873 _swigc__p_wxOutputStream,
34874 _swigc__p_wxPCXHandler,
34875 _swigc__p_wxPNGHandler,
34876 _swigc__p_wxPNMHandler,
34877 _swigc__p_wxPaintEvent,
34878 _swigc__p_wxPaletteChangedEvent,
34879 _swigc__p_wxPaperSize,
34880 _swigc__p_wxPoint,
34881 _swigc__p_wxProcessEvent,
34882 _swigc__p_wxPyApp,
34883 _swigc__p_wxPyArtProvider,
34884 _swigc__p_wxPyBitmapDataObject,
34885 _swigc__p_wxPyCommandEvent,
34886 _swigc__p_wxPyDataObjectSimple,
34887 _swigc__p_wxPyDropSource,
34888 _swigc__p_wxPyDropTarget,
34889 _swigc__p_wxPyEvent,
34890 _swigc__p_wxPyFileDropTarget,
34891 _swigc__p_wxPyImageHandler,
34892 _swigc__p_wxPyLog,
34893 _swigc__p_wxPyProcess,
34894 _swigc__p_wxPySizer,
34895 _swigc__p_wxPyTextDataObject,
34896 _swigc__p_wxPyTextDropTarget,
34897 _swigc__p_wxPyTimer,
34898 _swigc__p_wxPyTipProvider,
34899 _swigc__p_wxPyValidator,
34900 _swigc__p_wxQueryNewPaletteEvent,
34901 _swigc__p_wxRect,
34902 _swigc__p_wxScrollEvent,
34903 _swigc__p_wxScrollWinEvent,
34904 _swigc__p_wxSetCursorEvent,
34905 _swigc__p_wxShowEvent,
34906 _swigc__p_wxSingleInstanceChecker,
34907 _swigc__p_wxSize,
34908 _swigc__p_wxSizeEvent,
34909 _swigc__p_wxSizer,
34910 _swigc__p_wxSizerItem,
34911 _swigc__p_wxSound,
34912 _swigc__p_wxStandardPaths,
34913 _swigc__p_wxStaticBoxSizer,
34914 _swigc__p_wxStdDialogButtonSizer,
34915 _swigc__p_wxStopWatch,
34916 _swigc__p_wxString,
34917 _swigc__p_wxSysColourChangedEvent,
34918 _swigc__p_wxSystemOptions,
34919 _swigc__p_wxSystemSettings,
34920 _swigc__p_wxTIFFHandler,
34921 _swigc__p_wxTextCtrl,
34922 _swigc__p_wxTextDataObject,
34923 _swigc__p_wxTimeSpan,
34924 _swigc__p_wxTimer,
34925 _swigc__p_wxTimerEvent,
34926 _swigc__p_wxTimerRunner,
34927 _swigc__p_wxTipProvider,
34928 _swigc__p_wxToolTip,
34929 _swigc__p_wxURLDataObject,
34930 _swigc__p_wxUpdateUIEvent,
34931 _swigc__p_wxValidator,
34932 _swigc__p_wxVideoMode,
34933 _swigc__p_wxWindow,
34934 _swigc__p_wxWindowCreateEvent,
34935 _swigc__p_wxWindowDestroyEvent,
34936 _swigc__p_wxWindowDisabler,
34937 _swigc__p_wxXPMHandler,
34938 _swigc__ptrdiff_t,
34939 _swigc__std__ptrdiff_t,
34940 _swigc__unsigned_int,
d55e5bfc
RD
34941};
34942
34943
34944/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34945
34946static swig_const_info swig_const_table[] = {
34947{ SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
34948{ SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
34949{ SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
34950{ SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
34951{ SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
c370783e 34952{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
34953
34954#ifdef __cplusplus
34955}
34956#endif
32fe5131
RD
34957/*************************************************************************
34958 * Type initialization:
34959 * This problem is tough by the requirement that no dynamic
34960 * memory is used. Also, since swig_type_info structures store pointers to
34961 * swig_cast_info structures and swig_cast_info structures store pointers back
34962 * to swig_type_info structures, we need some lookup code at initialization.
34963 * The idea is that swig generates all the structures that are needed.
34964 * The runtime then collects these partially filled structures.
34965 * The SWIG_InitializeModule function takes these initial arrays out of
34966 * swig_module, and does all the lookup, filling in the swig_module.types
34967 * array with the correct data and linking the correct swig_cast_info
34968 * structures together.
34969
34970 * The generated swig_type_info structures are assigned staticly to an initial
34971 * array. We just loop though that array, and handle each type individually.
34972 * First we lookup if this type has been already loaded, and if so, use the
34973 * loaded structure instead of the generated one. Then we have to fill in the
34974 * cast linked list. The cast data is initially stored in something like a
34975 * two-dimensional array. Each row corresponds to a type (there are the same
34976 * number of rows as there are in the swig_type_initial array). Each entry in
34977 * a column is one of the swig_cast_info structures for that type.
34978 * The cast_initial array is actually an array of arrays, because each row has
34979 * a variable number of columns. So to actually build the cast linked list,
34980 * we find the array of casts associated with the type, and loop through it
34981 * adding the casts to the list. The one last trick we need to do is making
34982 * sure the type pointer in the swig_cast_info struct is correct.
34983
34984 * First off, we lookup the cast->type name to see if it is already loaded.
34985 * There are three cases to handle:
34986 * 1) If the cast->type has already been loaded AND the type we are adding
34987 * casting info to has not been loaded (it is in this module), THEN we
34988 * replace the cast->type pointer with the type pointer that has already
34989 * been loaded.
34990 * 2) If BOTH types (the one we are adding casting info to, and the
34991 * cast->type) are loaded, THEN the cast info has already been loaded by
34992 * the previous module so we just ignore it.
34993 * 3) Finally, if cast->type has not already been loaded, then we add that
34994 * swig_cast_info to the linked list (because the cast->type) pointer will
34995 * be correct.
34996**/
34997
34998#ifdef __cplusplus
34999extern "C" {
35000#if 0
35001} /* c-mode */
35002#endif
35003#endif
35004
35005#if 0
35006#define SWIGRUNTIME_DEBUG
35007#endif
35008
35009SWIGRUNTIME void
35010SWIG_InitializeModule(void *clientdata) {
35011 size_t i;
35012 swig_module_info *module_head;
35013 static int init_run = 0;
35014
35015 clientdata = clientdata;
35016
35017 if (init_run) return;
35018 init_run = 1;
35019
35020 /* Initialize the swig_module */
35021 swig_module.type_initial = swig_type_initial;
35022 swig_module.cast_initial = swig_cast_initial;
35023
35024 /* Try and load any already created modules */
35025 module_head = SWIG_GetModule(clientdata);
35026 if (module_head) {
35027 swig_module.next = module_head->next;
35028 module_head->next = &swig_module;
35029 } else {
35030 /* This is the first module loaded */
35031 swig_module.next = &swig_module;
35032 SWIG_SetModule(clientdata, &swig_module);
35033 }
35034
35035 /* Now work on filling in swig_module.types */
35036#ifdef SWIGRUNTIME_DEBUG
35037 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
35038#endif
35039 for (i = 0; i < swig_module.size; ++i) {
35040 swig_type_info *type = 0;
35041 swig_type_info *ret;
35042 swig_cast_info *cast;
35043
35044#ifdef SWIGRUNTIME_DEBUG
35045 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
35046#endif
35047
35048 /* if there is another module already loaded */
35049 if (swig_module.next != &swig_module) {
35050 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
35051 }
35052 if (type) {
35053 /* Overwrite clientdata field */
35054#ifdef SWIGRUNTIME_DEBUG
35055 printf("SWIG_InitializeModule: found type %s\n", type->name);
35056#endif
35057 if (swig_module.type_initial[i]->clientdata) {
35058 type->clientdata = swig_module.type_initial[i]->clientdata;
35059#ifdef SWIGRUNTIME_DEBUG
35060 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
35061#endif
35062 }
35063 } else {
35064 type = swig_module.type_initial[i];
35065 }
35066
35067 /* Insert casting types */
35068 cast = swig_module.cast_initial[i];
35069 while (cast->type) {
35070 /* Don't need to add information already in the list */
35071 ret = 0;
35072#ifdef SWIGRUNTIME_DEBUG
35073 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
35074#endif
35075 if (swig_module.next != &swig_module) {
35076 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
35077#ifdef SWIGRUNTIME_DEBUG
35078 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
35079#endif
35080 }
35081 if (ret) {
35082 if (type == swig_module.type_initial[i]) {
35083#ifdef SWIGRUNTIME_DEBUG
35084 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
35085#endif
35086 cast->type = ret;
35087 ret = 0;
35088 } else {
35089 /* Check for casting already in the list */
35090 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
35091#ifdef SWIGRUNTIME_DEBUG
35092 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
35093#endif
35094 if (!ocast) ret = 0;
35095 }
35096 }
35097
35098 if (!ret) {
35099#ifdef SWIGRUNTIME_DEBUG
35100 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
35101#endif
35102 if (type->cast) {
35103 type->cast->prev = cast;
35104 cast->next = type->cast;
35105 }
35106 type->cast = cast;
35107 }
35108 cast++;
35109 }
35110 /* Set entry in modules->types array equal to the type */
35111 swig_module.types[i] = type;
35112 }
35113 swig_module.types[i] = 0;
35114
35115#ifdef SWIGRUNTIME_DEBUG
35116 printf("**** SWIG_InitializeModule: Cast List ******\n");
35117 for (i = 0; i < swig_module.size; ++i) {
35118 int j = 0;
35119 swig_cast_info *cast = swig_module.cast_initial[i];
35120 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
35121 while (cast->type) {
35122 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
35123 cast++;
35124 ++j;
35125 }
35126 printf("---- Total casts: %d\n",j);
35127 }
35128 printf("**** SWIG_InitializeModule: Cast List ******\n");
35129#endif
35130}
35131
35132/* This function will propagate the clientdata field of type to
35133* any new swig_type_info structures that have been added into the list
35134* of equivalent types. It is like calling
35135* SWIG_TypeClientData(type, clientdata) a second time.
35136*/
35137SWIGRUNTIME void
35138SWIG_PropagateClientData(void) {
35139 size_t i;
35140 swig_cast_info *equiv;
35141 static int init_run = 0;
35142
35143 if (init_run) return;
35144 init_run = 1;
35145
35146 for (i = 0; i < swig_module.size; i++) {
35147 if (swig_module.types[i]->clientdata) {
35148 equiv = swig_module.types[i]->cast;
35149 while (equiv) {
35150 if (!equiv->converter) {
35151 if (equiv->type && !equiv->type->clientdata)
35152 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
35153 }
35154 equiv = equiv->next;
35155 }
35156 }
35157 }
35158}
35159
35160#ifdef __cplusplus
35161#if 0
35162{
35163 /* c-mode */
35164#endif
35165}
35166#endif
35167
d55e5bfc 35168
36ed4f51
RD
35169
35170#ifdef __cplusplus
35171extern "C" {
35172#endif
35173
35174 /* Python-specific SWIG API */
35175#define SWIG_newvarlink() SWIG_Python_newvarlink()
35176#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
35177#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
35178
35179 /* -----------------------------------------------------------------------------
35180 * global variable support code.
35181 * ----------------------------------------------------------------------------- */
35182
35183 typedef struct swig_globalvar {
35184 char *name; /* Name of global variable */
32fe5131 35185 PyObject *(*get_attr)(void); /* Return the current value */
36ed4f51
RD
35186 int (*set_attr)(PyObject *); /* Set the value */
35187 struct swig_globalvar *next;
35188 } swig_globalvar;
35189
35190 typedef struct swig_varlinkobject {
35191 PyObject_HEAD
35192 swig_globalvar *vars;
35193 } swig_varlinkobject;
35194
32fe5131 35195 SWIGINTERN PyObject *
36ed4f51
RD
35196 swig_varlink_repr(swig_varlinkobject *v) {
35197 v = v;
35198 return PyString_FromString("<Swig global variables>");
35199 }
35200
32fe5131 35201 SWIGINTERN int
36ed4f51
RD
35202 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
35203 swig_globalvar *var;
35204 flags = flags;
35205 fprintf(fp,"Swig global variables { ");
35206 for (var = v->vars; var; var=var->next) {
35207 fprintf(fp,"%s", var->name);
35208 if (var->next) fprintf(fp,", ");
35209 }
35210 fprintf(fp," }\n");
35211 return 0;
35212 }
35213
32fe5131 35214 SWIGINTERN PyObject *
36ed4f51
RD
35215 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
35216 swig_globalvar *var = v->vars;
35217 while (var) {
35218 if (strcmp(var->name,n) == 0) {
35219 return (*var->get_attr)();
35220 }
35221 var = var->next;
35222 }
35223 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
35224 return NULL;
35225 }
35226
32fe5131 35227 SWIGINTERN int
36ed4f51
RD
35228 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
35229 swig_globalvar *var = v->vars;
35230 while (var) {
35231 if (strcmp(var->name,n) == 0) {
35232 return (*var->set_attr)(p);
35233 }
35234 var = var->next;
35235 }
35236 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
35237 return 1;
35238 }
35239
32fe5131
RD
35240 SWIGINTERN PyTypeObject*
35241 swig_varlink_type(void) {
35242 static char varlink__doc__[] = "Swig var link object";
35243 static PyTypeObject varlink_type
35244#if !defined(__cplusplus)
35245 ;
35246 static int type_init = 0;
35247 if (!type_init) {
35248 PyTypeObject tmp
35249#endif
35250 = {
35251 PyObject_HEAD_INIT(&PyType_Type)
35252 0, /* Number of items in variable part (ob_size) */
35253 (char *)"swigvarlink", /* Type name (tp_name) */
35254 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
35255 0, /* Itemsize (tp_itemsize) */
35256 0, /* Deallocator (tp_dealloc) */
35257 (printfunc) swig_varlink_print, /* Print (tp_print) */
35258 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
35259 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
35260 0, /* tp_compare */
35261 (reprfunc) swig_varlink_repr, /* tp_repr */
35262 0, /* tp_as_number */
35263 0, /* tp_as_sequence */
35264 0, /* tp_as_mapping */
35265 0, /* tp_hash */
35266 0, /* tp_call */
35267 0, /* tp_str */
35268 0, /* tp_getattro */
35269 0, /* tp_setattro */
35270 0, /* tp_as_buffer */
35271 0, /* tp_flags */
35272 varlink__doc__, /* tp_doc */
36ed4f51 35273#if PY_VERSION_HEX >= 0x02000000
32fe5131
RD
35274 0, /* tp_traverse */
35275 0, /* tp_clear */
36ed4f51
RD
35276#endif
35277#if PY_VERSION_HEX >= 0x02010000
32fe5131
RD
35278 0, /* tp_richcompare */
35279 0, /* tp_weaklistoffset */
36ed4f51
RD
35280#endif
35281#if PY_VERSION_HEX >= 0x02020000
32fe5131 35282 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36ed4f51
RD
35283#endif
35284#if PY_VERSION_HEX >= 0x02030000
32fe5131 35285 0, /* tp_del */
36ed4f51
RD
35286#endif
35287#ifdef COUNT_ALLOCS
32fe5131 35288 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 35289#endif
32fe5131
RD
35290 };
35291#if !defined(__cplusplus)
35292 varlink_type = tmp;
35293 type_init = 1;
35294 }
35295#endif
35296 return &varlink_type;
35297 }
36ed4f51
RD
35298
35299 /* Create a variable linking object for use later */
32fe5131 35300 SWIGINTERN PyObject *
36ed4f51 35301 SWIG_Python_newvarlink(void) {
32fe5131
RD
35302 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
35303 if (result) {
35304 result->vars = 0;
35305 }
36ed4f51
RD
35306 return ((PyObject*) result);
35307 }
35308
32fe5131 35309 SWIGINTERN void
36ed4f51 35310 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
32fe5131
RD
35311 swig_varlinkobject *v = (swig_varlinkobject *) p;
35312 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
35313 if (gv) {
35314 size_t size = strlen(name)+1;
35315 gv->name = (char *)malloc(size);
35316 if (gv->name) {
35317 strncpy(gv->name,name,size);
35318 gv->get_attr = get_attr;
35319 gv->set_attr = set_attr;
35320 gv->next = v->vars;
35321 }
35322 }
36ed4f51
RD
35323 v->vars = gv;
35324 }
35325
35326 /* -----------------------------------------------------------------------------
35327 * constants/methods manipulation
35328 * ----------------------------------------------------------------------------- */
35329
35330 /* Install Constants */
32fe5131 35331 SWIGINTERN void
36ed4f51
RD
35332 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
35333 PyObject *obj = 0;
35334 size_t i;
32fe5131 35335 for (i = 0; constants[i].type; ++i) {
36ed4f51
RD
35336 switch(constants[i].type) {
35337 case SWIG_PY_INT:
35338 obj = PyInt_FromLong(constants[i].lvalue);
35339 break;
35340 case SWIG_PY_FLOAT:
35341 obj = PyFloat_FromDouble(constants[i].dvalue);
35342 break;
35343 case SWIG_PY_STRING:
35344 if (constants[i].pvalue) {
35345 obj = PyString_FromString((char *) constants[i].pvalue);
35346 } else {
35347 Py_INCREF(Py_None);
35348 obj = Py_None;
35349 }
35350 break;
35351 case SWIG_PY_POINTER:
35352 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
35353 break;
35354 case SWIG_PY_BINARY:
35355 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
35356 break;
35357 default:
35358 obj = 0;
35359 break;
35360 }
35361 if (obj) {
35362 PyDict_SetItemString(d,constants[i].name,obj);
35363 Py_DECREF(obj);
35364 }
35365 }
35366 }
35367
35368 /* -----------------------------------------------------------------------------*/
35369 /* Fix SwigMethods to carry the callback ptrs when needed */
35370 /* -----------------------------------------------------------------------------*/
35371
32fe5131 35372 SWIGINTERN void
36ed4f51
RD
35373 SWIG_Python_FixMethods(PyMethodDef *methods,
35374 swig_const_info *const_table,
35375 swig_type_info **types,
35376 swig_type_info **types_initial) {
35377 size_t i;
35378 for (i = 0; methods[i].ml_name; ++i) {
35379 char *c = methods[i].ml_doc;
35380 if (c && (c = strstr(c, "swig_ptr: "))) {
35381 int j;
35382 swig_const_info *ci = 0;
35383 char *name = c + 10;
32fe5131 35384 for (j = 0; const_table[j].type; ++j) {
36ed4f51
RD
35385 if (strncmp(const_table[j].name, name,
35386 strlen(const_table[j].name)) == 0) {
35387 ci = &(const_table[j]);
35388 break;
35389 }
35390 }
35391 if (ci) {
35392 size_t shift = (ci->ptype) - types;
35393 swig_type_info *ty = types_initial[shift];
35394 size_t ldoc = (c - methods[i].ml_doc);
35395 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
35396 char *ndoc = (char*)malloc(ldoc + lptr + 10);
32fe5131
RD
35397 if (ndoc) {
35398 char *buff = ndoc;
35399 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
35400 if (ptr) {
35401 strncpy(buff, methods[i].ml_doc, ldoc);
35402 buff += ldoc;
35403 strncpy(buff, "swig_ptr: ", 10);
35404 buff += 10;
35405 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
35406 methods[i].ml_doc = ndoc;
35407 }
35408 }
36ed4f51
RD
35409 }
35410 }
35411 }
35412 }
35413
35414 /* -----------------------------------------------------------------------------*
35415 * Initialize type list
35416 * -----------------------------------------------------------------------------*/
35417
36ed4f51
RD
35418#ifdef __cplusplus
35419}
35420#endif
35421
35422/* -----------------------------------------------------------------------------*
35423 * Partial Init method
35424 * -----------------------------------------------------------------------------*/
35425
d55e5bfc
RD
35426#ifdef __cplusplus
35427extern "C"
35428#endif
32fe5131 35429SWIGEXPORT void SWIG_init(void) {
d55e5bfc 35430 static PyObject *SWIG_globals = 0;
d55e5bfc 35431 PyObject *m, *d;
d55e5bfc 35432 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
35433
35434 /* Fix SwigMethods to carry the callback ptrs when needed */
32fe5131 35435 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
36ed4f51 35436
d55e5bfc
RD
35437 m = Py_InitModule((char *) SWIG_name, SwigMethods);
35438 d = PyModule_GetDict(m);
35439
32fe5131 35440 SWIG_InitializeModule(0);
d55e5bfc
RD
35441 SWIG_InstallConstants(d,swig_const_table);
35442
36ed4f51 35443 {
32fe5131 35444 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_OEM_FIXED_FONT)));
36ed4f51
RD
35445 }
35446 {
32fe5131 35447 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_FIXED_FONT)));
36ed4f51
RD
35448 }
35449 {
32fe5131 35450 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int(static_cast<int >(wxSYS_ANSI_VAR_FONT)));
36ed4f51
RD
35451 }
35452 {
32fe5131 35453 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FONT)));
36ed4f51
RD
35454 }
35455 {
32fe5131 35456 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEVICE_DEFAULT_FONT)));
36ed4f51
RD
35457 }
35458 {
32fe5131 35459 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_PALETTE)));
36ed4f51
RD
35460 }
35461 {
32fe5131 35462 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int(static_cast<int >(wxSYS_SYSTEM_FIXED_FONT)));
36ed4f51
RD
35463 }
35464 {
32fe5131 35465 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int(static_cast<int >(wxSYS_DEFAULT_GUI_FONT)));
36ed4f51
RD
35466 }
35467 {
32fe5131 35468 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int(static_cast<int >(wxSYS_ICONTITLE_FONT)));
36ed4f51
RD
35469 }
35470 {
32fe5131 35471 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_SCROLLBAR)));
36ed4f51
RD
35472 }
35473 {
32fe5131 35474 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BACKGROUND)));
36ed4f51
RD
35475 }
35476 {
32fe5131 35477 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_DESKTOP)));
36ed4f51
RD
35478 }
35479 {
32fe5131 35480 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVECAPTION)));
36ed4f51
RD
35481 }
35482 {
32fe5131 35483 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTION)));
36ed4f51
RD
35484 }
35485 {
32fe5131 35486 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENU)));
36ed4f51
RD
35487 }
35488 {
32fe5131 35489 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOW)));
36ed4f51
RD
35490 }
35491 {
32fe5131 35492 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWFRAME)));
36ed4f51
RD
35493 }
35494 {
32fe5131 35495 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUTEXT)));
36ed4f51
RD
35496 }
35497 {
32fe5131 35498 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_WINDOWTEXT)));
36ed4f51
RD
35499 }
35500 {
32fe5131 35501 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_CAPTIONTEXT)));
36ed4f51
RD
35502 }
35503 {
32fe5131 35504 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_ACTIVEBORDER)));
36ed4f51
RD
35505 }
35506 {
32fe5131 35507 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVEBORDER)));
36ed4f51
RD
35508 }
35509 {
32fe5131 35510 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_APPWORKSPACE)));
36ed4f51
RD
35511 }
35512 {
32fe5131 35513 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHT)));
36ed4f51
RD
35514 }
35515 {
32fe5131 35516 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HIGHLIGHTTEXT)));
36ed4f51
RD
35517 }
35518 {
32fe5131 35519 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNFACE)));
36ed4f51
RD
35520 }
35521 {
32fe5131 35522 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DFACE)));
36ed4f51
RD
35523 }
35524 {
32fe5131 35525 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNSHADOW)));
36ed4f51
RD
35526 }
35527 {
32fe5131 35528 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DSHADOW)));
36ed4f51
RD
35529 }
35530 {
32fe5131 35531 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRAYTEXT)));
36ed4f51
RD
35532 }
35533 {
32fe5131 35534 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNTEXT)));
36ed4f51
RD
35535 }
35536 {
32fe5131 35537 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
36ed4f51
RD
35538 }
35539 {
32fe5131 35540 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHIGHLIGHT)));
36ed4f51
RD
35541 }
35542 {
32fe5131 35543 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_BTNHILIGHT)));
36ed4f51
RD
35544 }
35545 {
32fe5131 35546 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHIGHLIGHT)));
36ed4f51
RD
35547 }
35548 {
32fe5131 35549 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DHILIGHT)));
36ed4f51
RD
35550 }
35551 {
32fe5131 35552 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DDKSHADOW)));
36ed4f51
RD
35553 }
35554 {
32fe5131 35555 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_3DLIGHT)));
36ed4f51
RD
35556 }
35557 {
32fe5131 35558 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOTEXT)));
36ed4f51
RD
35559 }
35560 {
32fe5131 35561 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_INFOBK)));
36ed4f51
RD
35562 }
35563 {
32fe5131 35564 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_LISTBOX)));
36ed4f51
RD
35565 }
35566 {
32fe5131 35567 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_HOTLIGHT)));
36ed4f51
RD
35568 }
35569 {
32fe5131 35570 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
36ed4f51
RD
35571 }
35572 {
32fe5131 35573 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
36ed4f51
RD
35574 }
35575 {
32fe5131 35576 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUHILIGHT)));
36ed4f51
RD
35577 }
35578 {
32fe5131 35579 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MENUBAR)));
36ed4f51
RD
35580 }
35581 {
32fe5131 35582 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int(static_cast<int >(wxSYS_COLOUR_MAX)));
36ed4f51
RD
35583 }
35584 {
32fe5131 35585 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_MOUSE_BUTTONS)));
36ed4f51
RD
35586 }
35587 {
32fe5131 35588 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int(static_cast<int >(wxSYS_BORDER_X)));
36ed4f51
RD
35589 }
35590 {
32fe5131 35591 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int(static_cast<int >(wxSYS_BORDER_Y)));
36ed4f51
RD
35592 }
35593 {
32fe5131 35594 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_X)));
36ed4f51
RD
35595 }
35596 {
32fe5131 35597 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int(static_cast<int >(wxSYS_CURSOR_Y)));
36ed4f51
RD
35598 }
35599 {
32fe5131 35600 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_X)));
36ed4f51
RD
35601 }
35602 {
32fe5131 35603 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int(static_cast<int >(wxSYS_DCLICK_Y)));
36ed4f51
RD
35604 }
35605 {
32fe5131 35606 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int(static_cast<int >(wxSYS_DRAG_X)));
36ed4f51
RD
35607 }
35608 {
32fe5131 35609 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int(static_cast<int >(wxSYS_DRAG_Y)));
36ed4f51
RD
35610 }
35611 {
32fe5131 35612 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int(static_cast<int >(wxSYS_EDGE_X)));
36ed4f51
RD
35613 }
35614 {
32fe5131 35615 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int(static_cast<int >(wxSYS_EDGE_Y)));
36ed4f51
RD
35616 }
35617 {
32fe5131 35618 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_X)));
36ed4f51
RD
35619 }
35620 {
32fe5131 35621 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_ARROW_Y)));
36ed4f51
RD
35622 }
35623 {
32fe5131 35624 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int(static_cast<int >(wxSYS_HTHUMB_X)));
36ed4f51
RD
35625 }
35626 {
32fe5131 35627 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int(static_cast<int >(wxSYS_ICON_X)));
36ed4f51
RD
35628 }
35629 {
32fe5131 35630 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int(static_cast<int >(wxSYS_ICON_Y)));
36ed4f51
RD
35631 }
35632 {
32fe5131 35633 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_X)));
36ed4f51
RD
35634 }
35635 {
32fe5131 35636 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int(static_cast<int >(wxSYS_ICONSPACING_Y)));
36ed4f51
RD
35637 }
35638 {
32fe5131 35639 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_X)));
36ed4f51
RD
35640 }
35641 {
32fe5131 35642 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int(static_cast<int >(wxSYS_WINDOWMIN_Y)));
36ed4f51
RD
35643 }
35644 {
32fe5131 35645 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_X)));
36ed4f51
RD
35646 }
35647 {
32fe5131 35648 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_Y)));
36ed4f51
RD
35649 }
35650 {
32fe5131 35651 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_X)));
36ed4f51
RD
35652 }
35653 {
32fe5131 35654 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int(static_cast<int >(wxSYS_FRAMESIZE_Y)));
36ed4f51
RD
35655 }
35656 {
32fe5131 35657 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_X)));
36ed4f51
RD
35658 }
35659 {
32fe5131 35660 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int(static_cast<int >(wxSYS_SMALLICON_Y)));
36ed4f51
RD
35661 }
35662 {
32fe5131 35663 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int(static_cast<int >(wxSYS_HSCROLL_Y)));
36ed4f51
RD
35664 }
35665 {
32fe5131 35666 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_X)));
36ed4f51
RD
35667 }
35668 {
32fe5131 35669 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_X)));
36ed4f51
RD
35670 }
35671 {
32fe5131 35672 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int(static_cast<int >(wxSYS_VSCROLL_ARROW_Y)));
36ed4f51
RD
35673 }
35674 {
32fe5131 35675 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int(static_cast<int >(wxSYS_VTHUMB_Y)));
36ed4f51
RD
35676 }
35677 {
32fe5131 35678 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int(static_cast<int >(wxSYS_CAPTION_Y)));
36ed4f51
RD
35679 }
35680 {
32fe5131 35681 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int(static_cast<int >(wxSYS_MENU_Y)));
36ed4f51
RD
35682 }
35683 {
32fe5131 35684 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_NETWORK_PRESENT)));
36ed4f51
RD
35685 }
35686 {
32fe5131 35687 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_PENWINDOWS_PRESENT)));
36ed4f51
RD
35688 }
35689 {
32fe5131 35690 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int(static_cast<int >(wxSYS_SHOW_SOUNDS)));
36ed4f51
RD
35691 }
35692 {
32fe5131 35693 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int(static_cast<int >(wxSYS_SWAP_BUTTONS)));
36ed4f51
RD
35694 }
35695 {
32fe5131 35696 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int(static_cast<int >(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
36ed4f51
RD
35697 }
35698 {
32fe5131 35699 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int(static_cast<int >(wxSYS_CAN_ICONIZE_FRAME)));
36ed4f51 35700 }
7f7aa166
RD
35701 {
35702 PyDict_SetItemString(d,"SYS_TABLET_PRESENT", SWIG_From_int(static_cast<int >(wxSYS_TABLET_PRESENT)));
35703 }
36ed4f51 35704 {
32fe5131 35705 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_NONE)));
36ed4f51
RD
35706 }
35707 {
32fe5131 35708 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_TINY)));
36ed4f51
RD
35709 }
35710 {
32fe5131 35711 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_PDA)));
36ed4f51
RD
35712 }
35713 {
32fe5131 35714 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_SMALL)));
36ed4f51
RD
35715 }
35716 {
32fe5131 35717 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int(static_cast<int >(wxSYS_SCREEN_DESKTOP)));
36ed4f51 35718 }
d55e5bfc 35719 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
629e65c2 35720 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
d55e5bfc
RD
35721 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
35722 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
35723 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
36ed4f51 35724 {
32fe5131 35725 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int(static_cast<int >(wxSHUTDOWN_POWEROFF)));
36ed4f51
RD
35726 }
35727 {
32fe5131 35728 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int(static_cast<int >(wxSHUTDOWN_REBOOT)));
36ed4f51
RD
35729 }
35730 {
32fe5131 35731 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int(static_cast<int >(wxTIMER_CONTINUOUS)));
36ed4f51
RD
35732 }
35733 {
32fe5131 35734 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int(static_cast<int >(wxTIMER_ONE_SHOT)));
36ed4f51 35735 }
d55e5bfc 35736 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
1a6bba1e
RD
35737
35738 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
35739
36ed4f51 35740 {
32fe5131 35741 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int(static_cast<int >(wxLOG_FatalError)));
36ed4f51
RD
35742 }
35743 {
32fe5131 35744 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int(static_cast<int >(wxLOG_Error)));
36ed4f51
RD
35745 }
35746 {
32fe5131 35747 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int(static_cast<int >(wxLOG_Warning)));
36ed4f51
RD
35748 }
35749 {
32fe5131 35750 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int(static_cast<int >(wxLOG_Message)));
36ed4f51
RD
35751 }
35752 {
32fe5131 35753 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int(static_cast<int >(wxLOG_Status)));
36ed4f51
RD
35754 }
35755 {
32fe5131 35756 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int(static_cast<int >(wxLOG_Info)));
36ed4f51
RD
35757 }
35758 {
32fe5131 35759 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int(static_cast<int >(wxLOG_Debug)));
36ed4f51
RD
35760 }
35761 {
32fe5131 35762 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int(static_cast<int >(wxLOG_Trace)));
36ed4f51
RD
35763 }
35764 {
32fe5131 35765 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int(static_cast<int >(wxLOG_Progress)));
36ed4f51
RD
35766 }
35767 {
32fe5131 35768 PyDict_SetItemString(d,"LOG_User", SWIG_From_int(static_cast<int >(wxLOG_User)));
36ed4f51
RD
35769 }
35770 {
32fe5131 35771 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int(static_cast<int >(wxLOG_Max)));
36ed4f51 35772 }
d55e5bfc
RD
35773 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
35774 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
35775 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
35776 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
35777 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
36ed4f51 35778 {
32fe5131 35779 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int(static_cast<int >(0x0001)));
36ed4f51
RD
35780 }
35781 {
32fe5131 35782 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int(static_cast<int >(0x0002)));
36ed4f51
RD
35783 }
35784 {
32fe5131 35785 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int(static_cast<int >(0x0004)));
36ed4f51
RD
35786 }
35787 {
32fe5131 35788 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int(static_cast<int >(0x0008)));
36ed4f51
RD
35789 }
35790 {
32fe5131 35791 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int(static_cast<int >(0x0100)));
36ed4f51
RD
35792 }
35793 {
32fe5131 35794 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int(static_cast<int >(wxPROCESS_DEFAULT)));
36ed4f51
RD
35795 }
35796 {
32fe5131 35797 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int(static_cast<int >(wxPROCESS_REDIRECT)));
36ed4f51
RD
35798 }
35799 {
32fe5131 35800 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int(static_cast<int >(wxKILL_OK)));
36ed4f51
RD
35801 }
35802 {
32fe5131 35803 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int(static_cast<int >(wxKILL_BAD_SIGNAL)));
36ed4f51
RD
35804 }
35805 {
32fe5131 35806 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int(static_cast<int >(wxKILL_ACCESS_DENIED)));
36ed4f51
RD
35807 }
35808 {
32fe5131 35809 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int(static_cast<int >(wxKILL_NO_PROCESS)));
36ed4f51
RD
35810 }
35811 {
32fe5131 35812 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int(static_cast<int >(wxKILL_ERROR)));
36ed4f51
RD
35813 }
35814 {
32fe5131 35815 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int(static_cast<int >(wxKILL_NOCHILDREN)));
36ed4f51
RD
35816 }
35817 {
32fe5131 35818 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int(static_cast<int >(wxKILL_CHILDREN)));
36ed4f51
RD
35819 }
35820 {
32fe5131 35821 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int(static_cast<int >(wxSIGNONE)));
36ed4f51
RD
35822 }
35823 {
32fe5131 35824 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int(static_cast<int >(wxSIGHUP)));
36ed4f51
RD
35825 }
35826 {
32fe5131 35827 PyDict_SetItemString(d,"SIGINT", SWIG_From_int(static_cast<int >(wxSIGINT)));
36ed4f51
RD
35828 }
35829 {
32fe5131 35830 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int(static_cast<int >(wxSIGQUIT)));
36ed4f51
RD
35831 }
35832 {
32fe5131 35833 PyDict_SetItemString(d,"SIGILL", SWIG_From_int(static_cast<int >(wxSIGILL)));
36ed4f51
RD
35834 }
35835 {
32fe5131 35836 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int(static_cast<int >(wxSIGTRAP)));
36ed4f51
RD
35837 }
35838 {
32fe5131 35839 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int(static_cast<int >(wxSIGABRT)));
36ed4f51
RD
35840 }
35841 {
32fe5131 35842 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int(static_cast<int >(wxSIGIOT)));
36ed4f51
RD
35843 }
35844 {
32fe5131 35845 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int(static_cast<int >(wxSIGEMT)));
36ed4f51
RD
35846 }
35847 {
32fe5131 35848 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int(static_cast<int >(wxSIGFPE)));
36ed4f51
RD
35849 }
35850 {
32fe5131 35851 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int(static_cast<int >(wxSIGKILL)));
36ed4f51
RD
35852 }
35853 {
32fe5131 35854 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int(static_cast<int >(wxSIGBUS)));
36ed4f51
RD
35855 }
35856 {
32fe5131 35857 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int(static_cast<int >(wxSIGSEGV)));
36ed4f51
RD
35858 }
35859 {
32fe5131 35860 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int(static_cast<int >(wxSIGSYS)));
36ed4f51
RD
35861 }
35862 {
32fe5131 35863 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int(static_cast<int >(wxSIGPIPE)));
36ed4f51
RD
35864 }
35865 {
32fe5131 35866 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int(static_cast<int >(wxSIGALRM)));
36ed4f51
RD
35867 }
35868 {
32fe5131 35869 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int(static_cast<int >(wxSIGTERM)));
36ed4f51
RD
35870 }
35871 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
35872 {
32fe5131 35873 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int(static_cast<int >(wxEXEC_ASYNC)));
36ed4f51
RD
35874 }
35875 {
32fe5131 35876 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int(static_cast<int >(wxEXEC_SYNC)));
36ed4f51
RD
35877 }
35878 {
32fe5131 35879 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int(static_cast<int >(wxEXEC_NOHIDE)));
36ed4f51
RD
35880 }
35881 {
32fe5131 35882 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int(static_cast<int >(wxEXEC_MAKE_GROUP_LEADER)));
36ed4f51
RD
35883 }
35884 {
32fe5131 35885 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int(static_cast<int >(wxEXEC_NODISABLE)));
36ed4f51
RD
35886 }
35887
35888 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
35889
35890 {
32fe5131 35891 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int(static_cast<int >(wxJOYSTICK1)));
36ed4f51
RD
35892 }
35893 {
32fe5131 35894 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int(static_cast<int >(wxJOYSTICK2)));
36ed4f51
RD
35895 }
35896 {
32fe5131 35897 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int(static_cast<int >(wxJOY_BUTTON_ANY)));
36ed4f51
RD
35898 }
35899 {
32fe5131 35900 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int(static_cast<int >(wxJOY_BUTTON1)));
36ed4f51
RD
35901 }
35902 {
32fe5131 35903 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int(static_cast<int >(wxJOY_BUTTON2)));
36ed4f51
RD
35904 }
35905 {
32fe5131 35906 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int(static_cast<int >(wxJOY_BUTTON3)));
36ed4f51
RD
35907 }
35908 {
32fe5131 35909 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int(static_cast<int >(wxJOY_BUTTON4)));
36ed4f51
RD
35910 }
35911 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
35912 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
35913 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
35914 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
35915 {
32fe5131 35916 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int(static_cast<int >(wxSOUND_SYNC)));
36ed4f51
RD
35917 }
35918 {
32fe5131 35919 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int(static_cast<int >(wxSOUND_ASYNC)));
36ed4f51
RD
35920 }
35921 {
32fe5131 35922 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int(static_cast<int >(wxSOUND_LOOP)));
36ed4f51
RD
35923 }
35924 {
32fe5131 35925 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int(static_cast<int >(wxMAILCAP_STANDARD)));
36ed4f51
RD
35926 }
35927 {
32fe5131 35928 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int(static_cast<int >(wxMAILCAP_NETSCAPE)));
36ed4f51
RD
35929 }
35930 {
32fe5131 35931 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int(static_cast<int >(wxMAILCAP_KDE)));
36ed4f51
RD
35932 }
35933 {
32fe5131 35934 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int(static_cast<int >(wxMAILCAP_GNOME)));
36ed4f51
RD
35935 }
35936 {
32fe5131 35937 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int(static_cast<int >(wxMAILCAP_ALL)));
36ed4f51
RD
35938 }
35939 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
35940 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
35941 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
35942 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
35943 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
35944 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
35945 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
35946 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
35947 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
35948 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
35949 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
35950 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
35951 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
35952 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
35953 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
35954 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
35955 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
35956 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
35957 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
35958 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
35959 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
35960 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
35961 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
68350608
RD
35962 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
35963 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
36ed4f51
RD
35964 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
35965 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
35966 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
35967 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
35968 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
35969 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
35970 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
35971 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
35972 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
35973 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
d55e5bfc 35974 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
f78cc896 35975 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
d55e5bfc
RD
35976 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
35977 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
35978 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
35979 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
35980 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
35981 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
35982 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
35983 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
35984 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
35985 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
68350608
RD
35986 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
35987 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
35988 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
35989 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
a187dc0b 35990 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW",_wrap_ART_NEW_get, _wrap_ART_NEW_set);
68350608
RD
35991 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
35992 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
35993 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
35994 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
35995 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
d55e5bfc
RD
35996
35997 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
35998
36ed4f51 35999 {
32fe5131 36000 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_LOCAL_FILE)));
36ed4f51
RD
36001 }
36002 {
32fe5131 36003 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int(static_cast<int >(wxCONFIG_USE_GLOBAL_FILE)));
36ed4f51
RD
36004 }
36005 {
32fe5131 36006 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int(static_cast<int >(wxCONFIG_USE_RELATIVE_PATH)));
36ed4f51
RD
36007 }
36008 {
32fe5131 36009 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int(static_cast<int >(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
36ed4f51
RD
36010 }
36011 {
32fe5131 36012 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Unknown)));
36ed4f51
RD
36013 }
36014 {
32fe5131 36015 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int(static_cast<int >(wxConfigBase::Type_String)));
36ed4f51
RD
36016 }
36017 {
32fe5131 36018 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Boolean)));
36ed4f51
RD
36019 }
36020 {
32fe5131 36021 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Integer)));
36ed4f51
RD
36022 }
36023 {
32fe5131 36024 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int(static_cast<int >(wxConfigBase::Type_Float)));
36ed4f51 36025 }
fef4c27a
RD
36026 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
36027 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
36ed4f51 36028 {
32fe5131 36029 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int(static_cast<int >(wxDateTime::Local)));
36ed4f51
RD
36030 }
36031 {
32fe5131 36032 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int(static_cast<int >(wxDateTime::GMT_12)));
36ed4f51
RD
36033 }
36034 {
32fe5131 36035 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int(static_cast<int >(wxDateTime::GMT_11)));
36ed4f51
RD
36036 }
36037 {
32fe5131 36038 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int(static_cast<int >(wxDateTime::GMT_10)));
36ed4f51
RD
36039 }
36040 {
32fe5131 36041 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int(static_cast<int >(wxDateTime::GMT_9)));
36ed4f51
RD
36042 }
36043 {
32fe5131 36044 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int(static_cast<int >(wxDateTime::GMT_8)));
36ed4f51
RD
36045 }
36046 {
32fe5131 36047 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int(static_cast<int >(wxDateTime::GMT_7)));
36ed4f51
RD
36048 }
36049 {
32fe5131 36050 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int(static_cast<int >(wxDateTime::GMT_6)));
36ed4f51
RD
36051 }
36052 {
32fe5131 36053 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int(static_cast<int >(wxDateTime::GMT_5)));
36ed4f51
RD
36054 }
36055 {
32fe5131 36056 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int(static_cast<int >(wxDateTime::GMT_4)));
36ed4f51
RD
36057 }
36058 {
32fe5131 36059 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int(static_cast<int >(wxDateTime::GMT_3)));
36ed4f51
RD
36060 }
36061 {
32fe5131 36062 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int(static_cast<int >(wxDateTime::GMT_2)));
36ed4f51
RD
36063 }
36064 {
32fe5131 36065 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int(static_cast<int >(wxDateTime::GMT_1)));
36ed4f51
RD
36066 }
36067 {
32fe5131 36068 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int(static_cast<int >(wxDateTime::GMT0)));
36ed4f51
RD
36069 }
36070 {
32fe5131 36071 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int(static_cast<int >(wxDateTime::GMT1)));
36ed4f51
RD
36072 }
36073 {
32fe5131 36074 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int(static_cast<int >(wxDateTime::GMT2)));
36ed4f51
RD
36075 }
36076 {
32fe5131 36077 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int(static_cast<int >(wxDateTime::GMT3)));
36ed4f51
RD
36078 }
36079 {
32fe5131 36080 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int(static_cast<int >(wxDateTime::GMT4)));
36ed4f51
RD
36081 }
36082 {
32fe5131 36083 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int(static_cast<int >(wxDateTime::GMT5)));
36ed4f51
RD
36084 }
36085 {
32fe5131 36086 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int(static_cast<int >(wxDateTime::GMT6)));
36ed4f51
RD
36087 }
36088 {
32fe5131 36089 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int(static_cast<int >(wxDateTime::GMT7)));
36ed4f51
RD
36090 }
36091 {
32fe5131 36092 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int(static_cast<int >(wxDateTime::GMT8)));
36ed4f51
RD
36093 }
36094 {
32fe5131 36095 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int(static_cast<int >(wxDateTime::GMT9)));
36ed4f51
RD
36096 }
36097 {
32fe5131 36098 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int(static_cast<int >(wxDateTime::GMT10)));
36ed4f51
RD
36099 }
36100 {
32fe5131 36101 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int(static_cast<int >(wxDateTime::GMT11)));
36ed4f51
RD
36102 }
36103 {
32fe5131 36104 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int(static_cast<int >(wxDateTime::GMT12)));
36ed4f51
RD
36105 }
36106 {
32fe5131 36107 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int(static_cast<int >(wxDateTime::WET)));
36ed4f51
RD
36108 }
36109 {
32fe5131 36110 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int(static_cast<int >(wxDateTime::WEST)));
36ed4f51
RD
36111 }
36112 {
32fe5131 36113 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int(static_cast<int >(wxDateTime::CET)));
36ed4f51
RD
36114 }
36115 {
32fe5131 36116 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int(static_cast<int >(wxDateTime::CEST)));
36ed4f51
RD
36117 }
36118 {
32fe5131 36119 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int(static_cast<int >(wxDateTime::EET)));
36ed4f51
RD
36120 }
36121 {
32fe5131 36122 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int(static_cast<int >(wxDateTime::EEST)));
36ed4f51
RD
36123 }
36124 {
32fe5131 36125 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int(static_cast<int >(wxDateTime::MSK)));
36ed4f51
RD
36126 }
36127 {
32fe5131 36128 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int(static_cast<int >(wxDateTime::MSD)));
36ed4f51
RD
36129 }
36130 {
32fe5131 36131 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int(static_cast<int >(wxDateTime::AST)));
36ed4f51
RD
36132 }
36133 {
32fe5131 36134 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int(static_cast<int >(wxDateTime::ADT)));
36ed4f51
RD
36135 }
36136 {
32fe5131 36137 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int(static_cast<int >(wxDateTime::EST)));
36ed4f51
RD
36138 }
36139 {
32fe5131 36140 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int(static_cast<int >(wxDateTime::EDT)));
36ed4f51
RD
36141 }
36142 {
32fe5131 36143 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int(static_cast<int >(wxDateTime::CST)));
36ed4f51
RD
36144 }
36145 {
32fe5131 36146 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int(static_cast<int >(wxDateTime::CDT)));
36ed4f51
RD
36147 }
36148 {
32fe5131 36149 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int(static_cast<int >(wxDateTime::MST)));
36ed4f51
RD
36150 }
36151 {
32fe5131 36152 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int(static_cast<int >(wxDateTime::MDT)));
36ed4f51
RD
36153 }
36154 {
32fe5131 36155 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int(static_cast<int >(wxDateTime::PST)));
36ed4f51
RD
36156 }
36157 {
32fe5131 36158 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int(static_cast<int >(wxDateTime::PDT)));
36ed4f51
RD
36159 }
36160 {
32fe5131 36161 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int(static_cast<int >(wxDateTime::HST)));
36ed4f51
RD
36162 }
36163 {
32fe5131 36164 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int(static_cast<int >(wxDateTime::AKST)));
36ed4f51
RD
36165 }
36166 {
32fe5131 36167 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int(static_cast<int >(wxDateTime::AKDT)));
36ed4f51
RD
36168 }
36169 {
32fe5131 36170 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int(static_cast<int >(wxDateTime::A_WST)));
36ed4f51
RD
36171 }
36172 {
32fe5131 36173 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int(static_cast<int >(wxDateTime::A_CST)));
36ed4f51
RD
36174 }
36175 {
32fe5131 36176 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int(static_cast<int >(wxDateTime::A_EST)));
36ed4f51
RD
36177 }
36178 {
32fe5131 36179 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int(static_cast<int >(wxDateTime::A_ESST)));
36ed4f51
RD
36180 }
36181 {
32fe5131 36182 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int(static_cast<int >(wxDateTime::UTC)));
36ed4f51
RD
36183 }
36184 {
32fe5131 36185 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int(static_cast<int >(wxDateTime::Gregorian)));
36ed4f51
RD
36186 }
36187 {
32fe5131 36188 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int(static_cast<int >(wxDateTime::Julian)));
36ed4f51
RD
36189 }
36190 {
32fe5131 36191 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Unknown)));
36ed4f51
RD
36192 }
36193 {
32fe5131 36194 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Standard)));
36ed4f51
RD
36195 }
36196 {
32fe5131 36197 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Alaska)));
36ed4f51
RD
36198 }
36199 {
32fe5131 36200 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Albania)));
36ed4f51
RD
36201 }
36202 {
32fe5131 36203 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria)));
36ed4f51
RD
36204 }
36205 {
32fe5131 36206 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Brixen)));
36ed4f51
RD
36207 }
36208 {
32fe5131 36209 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Salzburg)));
36ed4f51
RD
36210 }
36211 {
32fe5131 36212 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Tyrol)));
36ed4f51
RD
36213 }
36214 {
32fe5131 36215 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Carinthia)));
36ed4f51
RD
36216 }
36217 {
32fe5131 36218 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Austria_Styria)));
36ed4f51
RD
36219 }
36220 {
32fe5131 36221 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Belgium)));
36ed4f51
RD
36222 }
36223 {
32fe5131 36224 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria)));
36ed4f51
RD
36225 }
36226 {
32fe5131 36227 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_1)));
36ed4f51
RD
36228 }
36229 {
32fe5131 36230 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_2)));
36ed4f51
RD
36231 }
36232 {
32fe5131 36233 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Bulgaria_3)));
36ed4f51
RD
36234 }
36235 {
32fe5131 36236 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Canada)));
36ed4f51
RD
36237 }
36238 {
32fe5131 36239 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China)));
36ed4f51
RD
36240 }
36241 {
32fe5131 36242 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_1)));
36ed4f51
RD
36243 }
36244 {
32fe5131 36245 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_China_2)));
36ed4f51
RD
36246 }
36247 {
32fe5131 36248 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Czechoslovakia)));
36ed4f51
RD
36249 }
36250 {
32fe5131 36251 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Denmark)));
36ed4f51
RD
36252 }
36253 {
32fe5131 36254 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Egypt)));
36ed4f51
RD
36255 }
36256 {
32fe5131 36257 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Estonia)));
36ed4f51
RD
36258 }
36259 {
32fe5131 36260 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Finland)));
36ed4f51
RD
36261 }
36262 {
32fe5131 36263 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France)));
36ed4f51
RD
36264 }
36265 {
32fe5131 36266 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Alsace)));
36ed4f51
RD
36267 }
36268 {
32fe5131 36269 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Lorraine)));
36ed4f51
RD
36270 }
36271 {
32fe5131 36272 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_France_Strasbourg)));
36ed4f51
RD
36273 }
36274 {
32fe5131 36275 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany)));
36ed4f51
RD
36276 }
36277 {
32fe5131 36278 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Catholic)));
36ed4f51
RD
36279 }
36280 {
32fe5131 36281 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Prussia)));
36ed4f51
RD
36282 }
36283 {
32fe5131 36284 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Germany_Protestant)));
36ed4f51
RD
36285 }
36286 {
32fe5131 36287 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_GreatBritain)));
36ed4f51
RD
36288 }
36289 {
32fe5131 36290 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Greece)));
36ed4f51
RD
36291 }
36292 {
32fe5131 36293 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Hungary)));
36ed4f51
RD
36294 }
36295 {
32fe5131 36296 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Ireland)));
36ed4f51
RD
36297 }
36298 {
32fe5131 36299 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Italy)));
36ed4f51
RD
36300 }
36301 {
32fe5131 36302 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan)));
36ed4f51
RD
36303 }
36304 {
32fe5131 36305 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_1)));
36ed4f51
RD
36306 }
36307 {
32fe5131 36308 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_2)));
36ed4f51
RD
36309 }
36310 {
32fe5131 36311 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Japan_3)));
36ed4f51
RD
36312 }
36313 {
32fe5131 36314 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Latvia)));
36ed4f51
RD
36315 }
36316 {
32fe5131 36317 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Lithuania)));
36ed4f51
RD
36318 }
36319 {
32fe5131 36320 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Luxemburg)));
36ed4f51
RD
36321 }
36322 {
32fe5131 36323 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands)));
36ed4f51
RD
36324 }
36325 {
32fe5131 36326 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Groningen)));
36ed4f51
RD
36327 }
36328 {
32fe5131 36329 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Gelderland)));
36ed4f51
RD
36330 }
36331 {
32fe5131 36332 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Utrecht)));
36ed4f51
RD
36333 }
36334 {
32fe5131 36335 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Netherlands_Friesland)));
36ed4f51
RD
36336 }
36337 {
32fe5131 36338 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Norway)));
36ed4f51
RD
36339 }
36340 {
32fe5131 36341 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Poland)));
36ed4f51
RD
36342 }
36343 {
32fe5131 36344 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Portugal)));
36ed4f51
RD
36345 }
36346 {
32fe5131 36347 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Romania)));
36ed4f51
RD
36348 }
36349 {
32fe5131 36350 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Russia)));
36ed4f51
RD
36351 }
36352 {
32fe5131 36353 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Scotland)));
36ed4f51
RD
36354 }
36355 {
32fe5131 36356 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Spain)));
36ed4f51
RD
36357 }
36358 {
32fe5131 36359 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Sweden)));
36ed4f51
RD
36360 }
36361 {
32fe5131 36362 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland)));
36ed4f51
RD
36363 }
36364 {
32fe5131 36365 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Catholic)));
36ed4f51
RD
36366 }
36367 {
32fe5131 36368 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Switzerland_Protestant)));
36ed4f51
RD
36369 }
36370 {
32fe5131 36371 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Turkey)));
36ed4f51
RD
36372 }
36373 {
32fe5131 36374 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int(static_cast<int >(wxDateTime::Gr_USA)));
36ed4f51
RD
36375 }
36376 {
32fe5131 36377 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Wales)));
36ed4f51
RD
36378 }
36379 {
32fe5131 36380 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int(static_cast<int >(wxDateTime::Gr_Yugoslavia)));
36ed4f51
RD
36381 }
36382 {
32fe5131 36383 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int(static_cast<int >(wxDateTime::Country_Unknown)));
36ed4f51
RD
36384 }
36385 {
32fe5131 36386 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int(static_cast<int >(wxDateTime::Country_Default)));
36ed4f51
RD
36387 }
36388 {
32fe5131 36389 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_Start)));
36ed4f51
RD
36390 }
36391 {
32fe5131 36392 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int(static_cast<int >(wxDateTime::Country_EEC)));
36ed4f51
RD
36393 }
36394 {
32fe5131 36395 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int(static_cast<int >(wxDateTime::France)));
36ed4f51
RD
36396 }
36397 {
32fe5131 36398 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int(static_cast<int >(wxDateTime::Germany)));
36ed4f51
RD
36399 }
36400 {
32fe5131 36401 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int(static_cast<int >(wxDateTime::UK)));
36ed4f51
RD
36402 }
36403 {
32fe5131 36404 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int(static_cast<int >(wxDateTime::Country_WesternEurope_End)));
36ed4f51
RD
36405 }
36406 {
32fe5131 36407 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int(static_cast<int >(wxDateTime::Russia)));
36ed4f51
RD
36408 }
36409 {
32fe5131 36410 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int(static_cast<int >(wxDateTime::USA)));
36ed4f51
RD
36411 }
36412 {
32fe5131 36413 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int(static_cast<int >(wxDateTime::Jan)));
36ed4f51
RD
36414 }
36415 {
32fe5131 36416 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int(static_cast<int >(wxDateTime::Feb)));
36ed4f51
RD
36417 }
36418 {
32fe5131 36419 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int(static_cast<int >(wxDateTime::Mar)));
36ed4f51
RD
36420 }
36421 {
32fe5131 36422 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int(static_cast<int >(wxDateTime::Apr)));
36ed4f51
RD
36423 }
36424 {
32fe5131 36425 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int(static_cast<int >(wxDateTime::May)));
36ed4f51
RD
36426 }
36427 {
32fe5131 36428 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int(static_cast<int >(wxDateTime::Jun)));
36ed4f51
RD
36429 }
36430 {
32fe5131 36431 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int(static_cast<int >(wxDateTime::Jul)));
36ed4f51
RD
36432 }
36433 {
32fe5131 36434 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int(static_cast<int >(wxDateTime::Aug)));
36ed4f51
RD
36435 }
36436 {
32fe5131 36437 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int(static_cast<int >(wxDateTime::Sep)));
36ed4f51
RD
36438 }
36439 {
32fe5131 36440 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int(static_cast<int >(wxDateTime::Oct)));
36ed4f51
RD
36441 }
36442 {
32fe5131 36443 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int(static_cast<int >(wxDateTime::Nov)));
36ed4f51
RD
36444 }
36445 {
32fe5131 36446 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int(static_cast<int >(wxDateTime::Dec)));
36ed4f51
RD
36447 }
36448 {
32fe5131 36449 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Month)));
36ed4f51
RD
36450 }
36451 {
32fe5131 36452 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int(static_cast<int >(wxDateTime::Sun)));
36ed4f51
RD
36453 }
36454 {
32fe5131 36455 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int(static_cast<int >(wxDateTime::Mon)));
36ed4f51
RD
36456 }
36457 {
32fe5131 36458 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int(static_cast<int >(wxDateTime::Tue)));
36ed4f51
RD
36459 }
36460 {
32fe5131 36461 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int(static_cast<int >(wxDateTime::Wed)));
36ed4f51
RD
36462 }
36463 {
32fe5131 36464 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int(static_cast<int >(wxDateTime::Thu)));
36ed4f51
RD
36465 }
36466 {
32fe5131 36467 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int(static_cast<int >(wxDateTime::Fri)));
36ed4f51
RD
36468 }
36469 {
32fe5131 36470 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int(static_cast<int >(wxDateTime::Sat)));
36ed4f51
RD
36471 }
36472 {
32fe5131 36473 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int(static_cast<int >(wxDateTime::Inv_WeekDay)));
36ed4f51
RD
36474 }
36475 {
32fe5131 36476 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int(static_cast<int >(wxDateTime::Inv_Year)));
36ed4f51
RD
36477 }
36478 {
32fe5131 36479 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int(static_cast<int >(wxDateTime::Name_Full)));
36ed4f51
RD
36480 }
36481 {
32fe5131 36482 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int(static_cast<int >(wxDateTime::Name_Abbr)));
36ed4f51
RD
36483 }
36484 {
32fe5131 36485 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int(static_cast<int >(wxDateTime::Default_First)));
36ed4f51
RD
36486 }
36487 {
32fe5131 36488 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int(static_cast<int >(wxDateTime::Monday_First)));
36ed4f51
RD
36489 }
36490 {
32fe5131 36491 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int(static_cast<int >(wxDateTime::Sunday_First)));
36ed4f51
RD
36492 }
36493 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
36494 {
32fe5131 36495 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int(static_cast<int >(wxDF_INVALID)));
36ed4f51
RD
36496 }
36497 {
32fe5131 36498 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int(static_cast<int >(wxDF_TEXT)));
36ed4f51
RD
36499 }
36500 {
32fe5131 36501 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int(static_cast<int >(wxDF_BITMAP)));
36ed4f51
RD
36502 }
36503 {
32fe5131 36504 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int(static_cast<int >(wxDF_METAFILE)));
36ed4f51
RD
36505 }
36506 {
32fe5131 36507 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int(static_cast<int >(wxDF_SYLK)));
36ed4f51
RD
36508 }
36509 {
32fe5131 36510 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int(static_cast<int >(wxDF_DIF)));
36ed4f51
RD
36511 }
36512 {
32fe5131 36513 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int(static_cast<int >(wxDF_TIFF)));
36ed4f51
RD
36514 }
36515 {
32fe5131 36516 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int(static_cast<int >(wxDF_OEMTEXT)));
36ed4f51
RD
36517 }
36518 {
32fe5131 36519 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int(static_cast<int >(wxDF_DIB)));
36ed4f51
RD
36520 }
36521 {
32fe5131 36522 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int(static_cast<int >(wxDF_PALETTE)));
36ed4f51
RD
36523 }
36524 {
32fe5131 36525 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int(static_cast<int >(wxDF_PENDATA)));
36ed4f51
RD
36526 }
36527 {
32fe5131 36528 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int(static_cast<int >(wxDF_RIFF)));
36ed4f51
RD
36529 }
36530 {
32fe5131 36531 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int(static_cast<int >(wxDF_WAVE)));
36ed4f51
RD
36532 }
36533 {
32fe5131 36534 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int(static_cast<int >(wxDF_UNICODETEXT)));
36ed4f51
RD
36535 }
36536 {
32fe5131 36537 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int(static_cast<int >(wxDF_ENHMETAFILE)));
36ed4f51
RD
36538 }
36539 {
32fe5131 36540 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int(static_cast<int >(wxDF_FILENAME)));
36ed4f51
RD
36541 }
36542 {
32fe5131 36543 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int(static_cast<int >(wxDF_LOCALE)));
36ed4f51
RD
36544 }
36545 {
32fe5131 36546 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int(static_cast<int >(wxDF_PRIVATE)));
36ed4f51
RD
36547 }
36548 {
32fe5131 36549 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int(static_cast<int >(wxDF_HTML)));
36ed4f51
RD
36550 }
36551 {
32fe5131 36552 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int(static_cast<int >(wxDF_MAX)));
36ed4f51
RD
36553 }
36554 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
36555 {
32fe5131 36556 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int(static_cast<int >(wxDataObject::Get)));
36ed4f51
RD
36557 }
36558 {
32fe5131 36559 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int(static_cast<int >(wxDataObject::Set)));
36ed4f51
RD
36560 }
36561 {
32fe5131 36562 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int(static_cast<int >(wxDataObject::Both)));
36ed4f51
RD
36563 }
36564 {
32fe5131 36565 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int(static_cast<int >(wxDrag_CopyOnly)));
36ed4f51
RD
36566 }
36567 {
32fe5131 36568 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int(static_cast<int >(wxDrag_AllowMove)));
36ed4f51
RD
36569 }
36570 {
32fe5131 36571 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int(static_cast<int >(wxDrag_DefaultMove)));
36ed4f51
RD
36572 }
36573 {
32fe5131 36574 PyDict_SetItemString(d,"DragError", SWIG_From_int(static_cast<int >(wxDragError)));
36ed4f51
RD
36575 }
36576 {
32fe5131 36577 PyDict_SetItemString(d,"DragNone", SWIG_From_int(static_cast<int >(wxDragNone)));
36ed4f51
RD
36578 }
36579 {
32fe5131 36580 PyDict_SetItemString(d,"DragCopy", SWIG_From_int(static_cast<int >(wxDragCopy)));
36ed4f51
RD
36581 }
36582 {
32fe5131 36583 PyDict_SetItemString(d,"DragMove", SWIG_From_int(static_cast<int >(wxDragMove)));
36ed4f51
RD
36584 }
36585 {
32fe5131 36586 PyDict_SetItemString(d,"DragLink", SWIG_From_int(static_cast<int >(wxDragLink)));
36ed4f51
RD
36587 }
36588 {
32fe5131 36589 PyDict_SetItemString(d,"DragCancel", SWIG_From_int(static_cast<int >(wxDragCancel)));
36ed4f51 36590 }
d55e5bfc
RD
36591
36592 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
36593 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
36594 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
36595 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
36596
d55e5bfc
RD
36597 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
36598}
36599