]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_misc_wrap.cpp
src/common/wxchar.cpps/wxConvLocal/wxConvLibs/g as otherwise we may fail to convert...
[wxWidgets.git] / wxPython / src / msw / _misc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxLogChain swig_types[0]
1342 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
1343 #define SWIGTYPE_p_wxMetafile swig_types[2]
1344 #define SWIGTYPE_p_wxFileHistory swig_types[3]
1345 #define SWIGTYPE_p_wxLog swig_types[4]
1346 #define SWIGTYPE_p_wxMenu swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[7]
1349 #define SWIGTYPE_p_wxConfigBase swig_types[8]
1350 #define SWIGTYPE_p_wxDisplay swig_types[9]
1351 #define SWIGTYPE_p_wxFileType swig_types[10]
1352 #define SWIGTYPE_p_wxLogGui swig_types[11]
1353 #define SWIGTYPE_p_wxFont swig_types[12]
1354 #define SWIGTYPE_p_wxDataFormat swig_types[13]
1355 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
1356 #define SWIGTYPE_p_wxCaret swig_types[15]
1357 #define SWIGTYPE_ptrdiff_t swig_types[16]
1358 #define SWIGTYPE_std__ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_p_int swig_types[18]
1360 #define SWIGTYPE_p_wxSize swig_types[19]
1361 #define SWIGTYPE_p_wxClipboard swig_types[20]
1362 #define SWIGTYPE_p_wxStopWatch swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxClipboardLocker swig_types[23]
1365 #define SWIGTYPE_p_wxIcon swig_types[24]
1366 #define SWIGTYPE_p_wxLogStderr swig_types[25]
1367 #define SWIGTYPE_p_wxLogTextCtrl swig_types[26]
1368 #define SWIGTYPE_p_wxTextCtrl swig_types[27]
1369 #define SWIGTYPE_p_wxBusyCursor swig_types[28]
1370 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
1371 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
1372 #define SWIGTYPE_p_wxDataObject swig_types[31]
1373 #define SWIGTYPE_p_wxPyTextDataObject swig_types[32]
1374 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[33]
1375 #define SWIGTYPE_p_wxFileDataObject swig_types[34]
1376 #define SWIGTYPE_p_wxCustomDataObject swig_types[35]
1377 #define SWIGTYPE_p_wxURLDataObject swig_types[36]
1378 #define SWIGTYPE_p_wxMetafileDataObject swig_types[37]
1379 #define SWIGTYPE_p_wxSound swig_types[38]
1380 #define SWIGTYPE_p_wxTimerRunner swig_types[39]
1381 #define SWIGTYPE_p_wxLogWindow swig_types[40]
1382 #define SWIGTYPE_p_wxTimeSpan swig_types[41]
1383 #define SWIGTYPE_p_wxArrayString swig_types[42]
1384 #define SWIGTYPE_p_wxWindowDisabler swig_types[43]
1385 #define SWIGTYPE_p_form_ops_t swig_types[44]
1386 #define SWIGTYPE_p_wxToolTip swig_types[45]
1387 #define SWIGTYPE_p_wxDataObjectComposite swig_types[46]
1388 #define SWIGTYPE_p_wxSystemSettings swig_types[47]
1389 #define SWIGTYPE_p_wxFileConfig swig_types[48]
1390 #define SWIGTYPE_p_wxVideoMode swig_types[49]
1391 #define SWIGTYPE_p_wxDataObjectSimple swig_types[50]
1392 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[51]
1393 #define SWIGTYPE_p_wxDuplexMode swig_types[52]
1394 #define SWIGTYPE_p_wxEvtHandler swig_types[53]
1395 #define SWIGTYPE_p_wxRect swig_types[54]
1396 #define SWIGTYPE_p_char swig_types[55]
1397 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[56]
1398 #define SWIGTYPE_p_wxStandardPaths swig_types[57]
1399 #define SWIGTYPE_p_wxFileTypeInfo swig_types[58]
1400 #define SWIGTYPE_p_wxFrame swig_types[59]
1401 #define SWIGTYPE_p_wxTimer swig_types[60]
1402 #define SWIGTYPE_p_wxPaperSize swig_types[61]
1403 #define SWIGTYPE_p_wxMimeTypesManager swig_types[62]
1404 #define SWIGTYPE_p_wxPyArtProvider swig_types[63]
1405 #define SWIGTYPE_p_wxPyTipProvider swig_types[64]
1406 #define SWIGTYPE_p_wxTipProvider swig_types[65]
1407 #define SWIGTYPE_p_wxJoystick swig_types[66]
1408 #define SWIGTYPE_p_wxSystemOptions swig_types[67]
1409 #define SWIGTYPE_p_wxPoint swig_types[68]
1410 #define SWIGTYPE_p_wxJoystickEvent swig_types[69]
1411 #define SWIGTYPE_p_wxCursor swig_types[70]
1412 #define SWIGTYPE_p_wxObject swig_types[71]
1413 #define SWIGTYPE_p_wxOutputStream swig_types[72]
1414 #define SWIGTYPE_p_wxDateTime swig_types[73]
1415 #define SWIGTYPE_p_wxPyDropSource swig_types[74]
1416 #define SWIGTYPE_p_unsigned_long swig_types[75]
1417 #define SWIGTYPE_p_wxKillError swig_types[76]
1418 #define SWIGTYPE_p_wxWindow swig_types[77]
1419 #define SWIGTYPE_p_wxString swig_types[78]
1420 #define SWIGTYPE_p_wxPyProcess swig_types[79]
1421 #define SWIGTYPE_p_wxBitmap swig_types[80]
1422 #define SWIGTYPE_p_wxConfig swig_types[81]
1423 #define SWIGTYPE_unsigned_int swig_types[82]
1424 #define SWIGTYPE_p_unsigned_int swig_types[83]
1425 #define SWIGTYPE_p_unsigned_char swig_types[84]
1426 #define SWIGTYPE_p_wxChar swig_types[85]
1427 #define SWIGTYPE_p_wxBusyInfo swig_types[86]
1428 #define SWIGTYPE_p_wxPyDropTarget swig_types[87]
1429 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[88]
1430 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[89]
1431 #define SWIGTYPE_p_wxProcessEvent swig_types[90]
1432 #define SWIGTYPE_p_wxPyLog swig_types[91]
1433 #define SWIGTYPE_p_wxLogNull swig_types[92]
1434 #define SWIGTYPE_p_wxColour swig_types[93]
1435 #define SWIGTYPE_p_wxPyTimer swig_types[94]
1436 #define SWIGTYPE_p_wxConfigPathChanger swig_types[95]
1437 #define SWIGTYPE_p_wxDateSpan swig_types[96]
1438 static swig_type_info *swig_types[98];
1439
1440 /* -------- TYPES TABLE (END) -------- */
1441
1442
1443 /*-----------------------------------------------
1444 @(target):= _misc_.so
1445 ------------------------------------------------*/
1446 #define SWIG_init init_misc_
1447
1448 #define SWIG_name "_misc_"
1449
1450 #include "wx/wxPython/wxPython.h"
1451 #include "wx/wxPython/pyclasses.h"
1452 #include "wx/wxPython/pyistream.h"
1453
1454 static const wxString wxPyEmptyString(wxEmptyString);
1455
1456
1457
1458 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1459 #define SWIG_From_int PyInt_FromLong
1460 /*@@*/
1461
1462
1463 #include <limits.h>
1464
1465
1466 SWIGINTERN int
1467 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1468 const char *errmsg)
1469 {
1470 if (value < min_value) {
1471 if (errmsg) {
1472 PyErr_Format(PyExc_OverflowError,
1473 "value %ld is less than '%s' minimum %ld",
1474 value, errmsg, min_value);
1475 }
1476 return 0;
1477 } else if (value > max_value) {
1478 if (errmsg) {
1479 PyErr_Format(PyExc_OverflowError,
1480 "value %ld is greater than '%s' maximum %ld",
1481 value, errmsg, max_value);
1482 }
1483 return 0;
1484 }
1485 return 1;
1486 }
1487
1488
1489 SWIGINTERN int
1490 SWIG_AsVal_long(PyObject* obj, long* val)
1491 {
1492 if (PyNumber_Check(obj)) {
1493 if (val) *val = PyInt_AsLong(obj);
1494 return 1;
1495 }
1496 else {
1497 SWIG_type_error("number", obj);
1498 }
1499 return 0;
1500 }
1501
1502
1503 #if INT_MAX != LONG_MAX
1504 SWIGINTERN int
1505 SWIG_AsVal_int(PyObject *obj, int *val)
1506 {
1507 const char* errmsg = val ? "int" : (char*)0;
1508 long v;
1509 if (SWIG_AsVal_long(obj, &v)) {
1510 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1511 if (val) *val = (int)(v);
1512 return 1;
1513 } else {
1514 return 0;
1515 }
1516 } else {
1517 PyErr_Clear();
1518 }
1519 if (val) {
1520 SWIG_type_error(errmsg, obj);
1521 }
1522 return 0;
1523 }
1524 #else
1525 SWIGINTERNSHORT int
1526 SWIG_AsVal_int(PyObject *obj, int *val)
1527 {
1528 return SWIG_AsVal_long(obj,(long*)val);
1529 }
1530 #endif
1531
1532
1533 SWIGINTERNSHORT int
1534 SWIG_As_int(PyObject* obj)
1535 {
1536 int v;
1537 if (!SWIG_AsVal_int(obj, &v)) {
1538 /*
1539 this is needed to make valgrind/purify happier.
1540 */
1541 memset((void*)&v, 0, sizeof(int));
1542 }
1543 return v;
1544 }
1545
1546
1547 SWIGINTERNSHORT int
1548 SWIG_Check_int(PyObject* obj)
1549 {
1550 return SWIG_AsVal_int(obj, (int*)0);
1551 }
1552
1553 static const wxString wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT);
1554
1555 #include <wx/stockitem.h>
1556
1557 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
1558 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
1559 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
1560
1561 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1562 #define SWIG_From_long PyInt_FromLong
1563 /*@@*/
1564
1565
1566 SWIGINTERNSHORT long
1567 SWIG_As_long(PyObject* obj)
1568 {
1569 long v;
1570 if (!SWIG_AsVal_long(obj, &v)) {
1571 /*
1572 this is needed to make valgrind/purify happier.
1573 */
1574 memset((void*)&v, 0, sizeof(long));
1575 }
1576 return v;
1577 }
1578
1579
1580 SWIGINTERNSHORT int
1581 SWIG_Check_long(PyObject* obj)
1582 {
1583 return SWIG_AsVal_long(obj, (long*)0);
1584 }
1585
1586
1587 SWIGINTERN int
1588 SWIG_AsVal_bool(PyObject *obj, bool *val)
1589 {
1590 if (obj == Py_True) {
1591 if (val) *val = true;
1592 return 1;
1593 }
1594 if (obj == Py_False) {
1595 if (val) *val = false;
1596 return 1;
1597 }
1598 int res = 0;
1599 if (SWIG_AsVal_int(obj, &res)) {
1600 if (val) *val = res ? true : false;
1601 return 1;
1602 } else {
1603 PyErr_Clear();
1604 }
1605 if (val) {
1606 SWIG_type_error("bool", obj);
1607 }
1608 return 0;
1609 }
1610
1611
1612 SWIGINTERNSHORT bool
1613 SWIG_As_bool(PyObject* obj)
1614 {
1615 bool v;
1616 if (!SWIG_AsVal_bool(obj, &v)) {
1617 /*
1618 this is needed to make valgrind/purify happier.
1619 */
1620 memset((void*)&v, 0, sizeof(bool));
1621 }
1622 return v;
1623 }
1624
1625
1626 SWIGINTERNSHORT int
1627 SWIG_Check_bool(PyObject* obj)
1628 {
1629 return SWIG_AsVal_bool(obj, (bool*)0);
1630 }
1631
1632
1633 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1634 PyObject* o2;
1635 PyObject* o3;
1636
1637 if (!target) {
1638 target = o;
1639 } else if (target == Py_None) {
1640 Py_DECREF(Py_None);
1641 target = o;
1642 } else {
1643 if (!PyTuple_Check(target)) {
1644 o2 = target;
1645 target = PyTuple_New(1);
1646 PyTuple_SetItem(target, 0, o2);
1647 }
1648 o3 = PyTuple_New(1);
1649 PyTuple_SetItem(o3, 0, o);
1650
1651 o2 = target;
1652 target = PySequence_Concat(o2, o3);
1653 Py_DECREF(o2);
1654 Py_DECREF(o3);
1655 }
1656 return target;
1657 }
1658
1659
1660
1661 SWIGINTERN int
1662 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1663 {
1664 long v = 0;
1665 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1666 SWIG_type_error("unsigned number", obj);
1667 }
1668 else if (val)
1669 *val = (unsigned long)v;
1670 return 1;
1671 }
1672
1673
1674 SWIGINTERNSHORT unsigned long
1675 SWIG_As_unsigned_SS_long(PyObject* obj)
1676 {
1677 unsigned long v;
1678 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1679 /*
1680 this is needed to make valgrind/purify happier.
1681 */
1682 memset((void*)&v, 0, sizeof(unsigned long));
1683 }
1684 return v;
1685 }
1686
1687
1688 SWIGINTERNSHORT int
1689 SWIG_Check_unsigned_SS_long(PyObject* obj)
1690 {
1691 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1692 }
1693
1694
1695 SWIGINTERNSHORT PyObject*
1696 SWIG_From_unsigned_SS_long(unsigned long value)
1697 {
1698 return (value > LONG_MAX) ?
1699 PyLong_FromUnsignedLong(value)
1700 : PyInt_FromLong((long)(value));
1701 }
1702
1703
1704 bool wxThread_IsMain() {
1705 #ifdef WXP_WITH_THREAD
1706 return wxThread::IsMain();
1707 #else
1708 return true;
1709 #endif
1710 }
1711
1712 static void wxCaret_Destroy(wxCaret *self){
1713 delete self;
1714 }
1715
1716 #include <wx/snglinst.h>
1717
1718
1719 #ifdef __WXMSW__
1720 #include <wx/msw/private.h>
1721 #include <wx/dynload.h>
1722 #endif
1723
1724
1725
1726 bool wxDrawWindowOnDC(wxWindow* window, const wxDC& dc
1727 #if 0
1728 , int method
1729 #endif
1730 )
1731 {
1732 #ifdef __WXMSW__
1733 #if 0
1734 switch (method)
1735 {
1736 case 1:
1737 // This one only partially works. Appears to be an undocumented
1738 // "standard" convention that not all widgets adhear to. For
1739 // example, for some widgets backgrounds or non-client areas may
1740 // not be painted.
1741 ::SendMessage(GetHwndOf(window), WM_PAINT, (long)GetHdcOf(dc), 0);
1742 break;
1743
1744 case 2:
1745 #endif
1746 // This one works much better, nearly all widgets and their
1747 // children are captured correctly[**]. Prior to the big
1748 // background erase changes that Vadim did in 2004-2005 this
1749 // method failed badly on XP with Themes activated, most native
1750 // widgets draw only partially, if at all. Without themes it
1751 // worked just like on Win2k. After those changes this method
1752 // works very well.
1753 //
1754 // ** For example the radio buttons in a wxRadioBox are not its
1755 // children by default, but you can capture it via the panel
1756 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
1757 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1758 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1759 PRF_ERASEBKGND | PRF_OWNED );
1760 return true;
1761 #if 0
1762 break;
1763
1764 case 3:
1765 // This one is only defined in the latest SDK and is only
1766 // available on XP. MSDN says it is similar to sending WM_PRINT
1767 // so I expect that it will work similar to the above. Since it
1768 // is avaialble only on XP, it can't be compiled like this and
1769 // will have to be loaded dynamically.
1770 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
1771
1772 // fall through
1773
1774 case 4:
1775 // Use PrintWindow if available, or fallback to WM_PRINT
1776 // otherwise. Unfortunately using PrintWindow is even worse than
1777 // WM_PRINT. For most native widgets nothing is drawn to the dc
1778 // at all, with or without Themes.
1779 typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
1780 static bool s_triedToLoad = false;
1781 static PrintWindow_t pfnPrintWindow = NULL;
1782 if ( !s_triedToLoad )
1783 {
1784
1785 s_triedToLoad = true;
1786 wxDynamicLibrary dllUser32(_T("user32.dll"));
1787 if ( dllUser32.IsLoaded() )
1788 {
1789 wxLogNull nolog; // Don't report errors here
1790 pfnPrintWindow = (PrintWindow_t)dllUser32.GetSymbol(_T("PrintWindow"));
1791 }
1792 }
1793 if (pfnPrintWindow)
1794 {
1795 //printf("Using PrintWindow\n");
1796 pfnPrintWindow(GetHwndOf(window), GetHdcOf(dc), 0);
1797 }
1798 else
1799 {
1800 //printf("Using WM_PRINT\n");
1801 ::SendMessage(GetHwndOf(window), WM_PRINT, (long)GetHdcOf(dc),
1802 PRF_CLIENT | PRF_NONCLIENT | PRF_CHILDREN |
1803 PRF_ERASEBKGND | PRF_OWNED );
1804 }
1805 }
1806 #endif // 0
1807 #else
1808 return false;
1809 #endif // __WXMSW__
1810 }
1811
1812
1813
1814 #include <wx/tipdlg.h>
1815
1816
1817 class wxPyTipProvider : public wxTipProvider {
1818 public:
1819 wxPyTipProvider(size_t currentTip)
1820 : wxTipProvider(currentTip) {}
1821
1822 DEC_PYCALLBACK_STRING__pure(GetTip);
1823 DEC_PYCALLBACK_STRING_STRING(PreprocessTip);
1824 PYPRIVATE;
1825 };
1826
1827 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider, wxTipProvider, GetTip);
1828 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider, wxTipProvider, PreprocessTip);
1829
1830
1831 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
1832
1833 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer, wxTimer);
1834
1835 wxPyTimer::wxPyTimer(wxEvtHandler *owner, int id)
1836 : wxTimer(owner, id)
1837 {
1838 if (owner == NULL) SetOwner(this);
1839 }
1840
1841
1842 void wxPyTimer::Notify() {
1843 bool found;
1844 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1845 if ((found = wxPyCBH_findCallback(m_myInst, "Notify")))
1846 wxPyCBH_callCallback(m_myInst, Py_BuildValue("()"));
1847 wxPyEndBlockThreads(blocked);
1848 if (! found)
1849 wxTimer::Notify();
1850 }
1851 void wxPyTimer::base_Notify() {
1852 wxTimer::Notify();
1853 }
1854
1855
1856
1857 SWIGINTERN PyObject *
1858 SWIG_FromCharPtr(const char* cptr)
1859 {
1860 if (cptr) {
1861 size_t size = strlen(cptr);
1862 if (size > INT_MAX) {
1863 return SWIG_NewPointerObj((char*)(cptr),
1864 SWIG_TypeQuery("char *"), 0);
1865 } else {
1866 if (size != 0) {
1867 return PyString_FromStringAndSize(cptr, size);
1868 } else {
1869 return PyString_FromString(cptr);
1870 }
1871 }
1872 }
1873 Py_INCREF(Py_None);
1874 return Py_None;
1875 }
1876
1877
1878 SWIGINTERNSHORT int
1879 SWIG_CheckUnsignedLongInRange(unsigned long value,
1880 unsigned long max_value,
1881 const char *errmsg)
1882 {
1883 if (value > max_value) {
1884 if (errmsg) {
1885 PyErr_Format(PyExc_OverflowError,
1886 "value %lu is greater than '%s' minimum %lu",
1887 value, errmsg, max_value);
1888 }
1889 return 0;
1890 }
1891 return 1;
1892 }
1893
1894
1895 #if UINT_MAX != ULONG_MAX
1896 SWIGINTERN int
1897 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1898 {
1899 const char* errmsg = val ? "unsigned int" : (char*)0;
1900 unsigned long v;
1901 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1902 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1903 if (val) *val = (unsigned int)(v);
1904 return 1;
1905 }
1906 } else {
1907 PyErr_Clear();
1908 }
1909 if (val) {
1910 SWIG_type_error(errmsg, obj);
1911 }
1912 return 0;
1913 }
1914 #else
1915 SWIGINTERNSHORT unsigned int
1916 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1917 {
1918 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1919 }
1920 #endif
1921
1922
1923 SWIGINTERNSHORT unsigned int
1924 SWIG_As_unsigned_SS_int(PyObject* obj)
1925 {
1926 unsigned int v;
1927 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1928 /*
1929 this is needed to make valgrind/purify happier.
1930 */
1931 memset((void*)&v, 0, sizeof(unsigned int));
1932 }
1933 return v;
1934 }
1935
1936
1937 SWIGINTERNSHORT int
1938 SWIG_Check_unsigned_SS_int(PyObject* obj)
1939 {
1940 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
1941 }
1942
1943 static wxString Log_TimeStamp(){
1944 wxString msg;
1945 wxLog::TimeStamp(&msg);
1946 return msg;
1947 }
1948 static void wxLog_Destroy(wxLog *self){ delete self; }
1949 // Make somce wrappers that double any % signs so they are 'escaped'
1950 void wxPyLogFatalError(const wxString& msg)
1951 {
1952 wxString m(msg);
1953 m.Replace(wxT("%"), wxT("%%"));
1954 wxLogFatalError(m);
1955 }
1956
1957 void wxPyLogError(const wxString& msg)
1958 {
1959 wxString m(msg);
1960 m.Replace(wxT("%"), wxT("%%"));
1961 wxLogError(m);
1962 }
1963
1964 void wxPyLogWarning(const wxString& msg)
1965 {
1966 wxString m(msg);
1967 m.Replace(wxT("%"), wxT("%%"));
1968 wxLogWarning(m);
1969 }
1970
1971 void wxPyLogMessage(const wxString& msg)
1972 {
1973 wxString m(msg);
1974 m.Replace(wxT("%"), wxT("%%"));
1975 wxLogMessage(m);
1976 }
1977
1978 void wxPyLogInfo(const wxString& msg)
1979 {
1980 wxString m(msg);
1981 m.Replace(wxT("%"), wxT("%%"));
1982 wxLogInfo(m);
1983 }
1984
1985 void wxPyLogDebug(const wxString& msg)
1986 {
1987 wxString m(msg);
1988 m.Replace(wxT("%"), wxT("%%"));
1989 wxLogDebug(m);
1990 }
1991
1992 void wxPyLogVerbose(const wxString& msg)
1993 {
1994 wxString m(msg);
1995 m.Replace(wxT("%"), wxT("%%"));
1996 wxLogVerbose(m);
1997 }
1998
1999 void wxPyLogStatus(const wxString& msg)
2000 {
2001 wxString m(msg);
2002 m.Replace(wxT("%"), wxT("%%"));
2003 wxLogStatus(m);
2004 }
2005
2006 void wxPyLogStatusFrame(wxFrame *pFrame, const wxString& msg)
2007 {
2008 wxString m(msg);
2009 m.Replace(wxT("%"), wxT("%%"));
2010 wxLogStatus(pFrame, m);
2011 }
2012
2013 void wxPyLogSysError(const wxString& msg)
2014 {
2015 wxString m(msg);
2016 m.Replace(wxT("%"), wxT("%%"));
2017 wxLogSysError(m);
2018 }
2019
2020 void wxPyLogGeneric(unsigned long level, const wxString& msg)
2021 {
2022 wxString m(msg);
2023 m.Replace(wxT("%"), wxT("%%"));
2024 wxLogGeneric(level, m);
2025 }
2026
2027 void wxPyLogTrace(unsigned long mask, const wxString& msg)
2028 {
2029 wxString m(msg);
2030 m.Replace(wxT("%"), wxT("%%"));
2031 wxLogTrace(mask, m);
2032 }
2033
2034 void wxPyLogTrace(const wxString& mask, const wxString& msg)
2035 {
2036 wxString m(msg);
2037 m.Replace(wxT("%"), wxT("%%"));
2038 wxLogTrace(mask, m);
2039 }
2040
2041
2042
2043 // A wxLog class that can be derived from in wxPython
2044 class wxPyLog : public wxLog {
2045 public:
2046 wxPyLog() : wxLog() {}
2047
2048 virtual void DoLog(wxLogLevel level, const wxChar *szString, time_t t) {
2049 bool found;
2050 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2051 if ((found = wxPyCBH_findCallback(m_myInst, "DoLog"))) {
2052 PyObject* s = wx2PyString(szString);
2053 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iOi)", level, s, t));
2054 Py_DECREF(s);
2055 }
2056 wxPyEndBlockThreads(blocked);
2057 if (! found)
2058 wxLog::DoLog(level, szString, t);
2059 }
2060
2061 virtual void DoLogString(const wxChar *szString, time_t t) {
2062 bool found;
2063 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2064 if ((found = wxPyCBH_findCallback(m_myInst, "DoLogString"))) {
2065 PyObject* s = wx2PyString(szString);
2066 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(Oi)", s, t));
2067 Py_DECREF(s);
2068 }
2069 wxPyEndBlockThreads(blocked);
2070 if (! found)
2071 wxLog::DoLogString(szString, t);
2072 }
2073
2074 PYPRIVATE;
2075 };
2076
2077
2078
2079
2080 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess, wxProcess, OnTerminate);
2081
2082
2083 #include <wx/joystick.h>
2084
2085
2086 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
2087 // A C++ stub class for wxJoystick for platforms that don't have it.
2088 class wxJoystick : public wxObject {
2089 public:
2090 wxJoystick(int joystick = wxJOYSTICK1) {
2091 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2092 PyErr_SetString(PyExc_NotImplementedError,
2093 "wxJoystick is not available on this platform.");
2094 wxPyEndBlockThreads(blocked);
2095 }
2096 wxPoint GetPosition() { return wxPoint(-1,-1); }
2097 int GetZPosition() { return -1; }
2098 int GetButtonState() { return -1; }
2099 int GetPOVPosition() { return -1; }
2100 int GetPOVCTSPosition() { return -1; }
2101 int GetRudderPosition() { return -1; }
2102 int GetUPosition() { return -1; }
2103 int GetVPosition() { return -1; }
2104 int GetMovementThreshold() { return -1; }
2105 void SetMovementThreshold(int threshold) {}
2106
2107 bool IsOk(void) { return false; }
2108 int GetNumberJoysticks() { return -1; }
2109 int GetManufacturerId() { return -1; }
2110 int GetProductId() { return -1; }
2111 wxString GetProductName() { return wxEmptyString; }
2112 int GetXMin() { return -1; }
2113 int GetYMin() { return -1; }
2114 int GetZMin() { return -1; }
2115 int GetXMax() { return -1; }
2116 int GetYMax() { return -1; }
2117 int GetZMax() { return -1; }
2118 int GetNumberButtons() { return -1; }
2119 int GetNumberAxes() { return -1; }
2120 int GetMaxButtons() { return -1; }
2121 int GetMaxAxes() { return -1; }
2122 int GetPollingMin() { return -1; }
2123 int GetPollingMax() { return -1; }
2124 int GetRudderMin() { return -1; }
2125 int GetRudderMax() { return -1; }
2126 int GetUMin() { return -1; }
2127 int GetUMax() { return -1; }
2128 int GetVMin() { return -1; }
2129 int GetVMax() { return -1; }
2130
2131 bool HasRudder() { return false; }
2132 bool HasZ() { return false; }
2133 bool HasU() { return false; }
2134 bool HasV() { return false; }
2135 bool HasPOV() { return false; }
2136 bool HasPOV4Dir() { return false; }
2137 bool HasPOVCTS() { return false; }
2138
2139 bool SetCapture(wxWindow* win, int pollingFreq = 0) { return false; }
2140 bool ReleaseCapture() { return false; }
2141 };
2142 #endif
2143
2144
2145 #include <wx/sound.h>
2146
2147
2148 #if !wxUSE_SOUND
2149 // A C++ stub class for wxWave for platforms that don't have it.
2150 class wxSound : public wxObject
2151 {
2152 public:
2153 wxSound() {
2154 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2155 PyErr_SetString(PyExc_NotImplementedError,
2156 "wxSound is not available on this platform.");
2157 wxPyEndBlockThreads(blocked);
2158 }
2159 wxSound(const wxString&/*, bool*/) {
2160 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2161 PyErr_SetString(PyExc_NotImplementedError,
2162 "wxSound is not available on this platform.");
2163 wxPyEndBlockThreads(blocked);
2164 }
2165 wxSound(int, const wxByte*) {
2166 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2167 PyErr_SetString(PyExc_NotImplementedError,
2168 "wxSound is not available on this platform.");
2169 wxPyEndBlockThreads(blocked);
2170 }
2171
2172 ~wxSound() {};
2173
2174 bool Create(const wxString&/*, bool*/) { return false; }
2175 bool Create(int, const wxByte*) { return false; };
2176 bool IsOk() { return false; };
2177 bool Play(unsigned) const { return false; }
2178 static bool Play(const wxString&, unsigned) { return false; }
2179 static void Stop() {}
2180 };
2181
2182 #endif
2183
2184 static wxSound *new_wxSound(wxString const &fileName=wxPyEmptyString){
2185 if (fileName.Length() == 0)
2186 return new wxSound;
2187 else
2188 return new wxSound(fileName);
2189 }
2190 static wxSound *new_wxSound(PyObject *data){
2191 unsigned char* buffer; int size;
2192 wxSound *sound = NULL;
2193
2194 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2195 if (!PyArg_Parse(data, "t#", &buffer, &size))
2196 goto done;
2197 sound = new wxSound(size, buffer);
2198 done:
2199 wxPyEndBlockThreads(blocked);
2200 return sound;
2201 }
2202 static bool wxSound_CreateFromData(wxSound *self,PyObject *data){
2203 #ifndef __WXMAC__
2204 unsigned char* buffer;
2205 int size;
2206 bool rv = false;
2207
2208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2209 if (!PyArg_Parse(data, "t#", &buffer, &size))
2210 goto done;
2211 rv = self->Create(size, buffer);
2212 done:
2213 wxPyEndBlockThreads(blocked);
2214 return rv;
2215 #else
2216 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2217 PyErr_SetString(PyExc_NotImplementedError,
2218 "Create from data is not available on this platform.");
2219 wxPyEndBlockThreads(blocked);
2220 return false;
2221 #endif
2222 }
2223
2224 #include <wx/mimetype.h>
2225
2226 static PyObject *wxFileType_GetMimeType(wxFileType *self){
2227 wxString str;
2228 if (self->GetMimeType(&str))
2229 return wx2PyString(str);
2230 else
2231 RETURN_NONE();
2232 }
2233 static PyObject *wxFileType_GetMimeTypes(wxFileType *self){
2234 wxArrayString arr;
2235 if (self->GetMimeTypes(arr))
2236 return wxArrayString2PyList_helper(arr);
2237 else
2238 RETURN_NONE();
2239 }
2240 static PyObject *wxFileType_GetExtensions(wxFileType *self){
2241 wxArrayString arr;
2242 if (self->GetExtensions(arr))
2243 return wxArrayString2PyList_helper(arr);
2244 else
2245 RETURN_NONE();
2246 }
2247 static wxIcon *wxFileType_GetIcon(wxFileType *self){
2248 wxIconLocation loc;
2249 if (self->GetIcon(&loc))
2250 return new wxIcon(loc);
2251 else
2252 return NULL;
2253 }
2254 static PyObject *wxFileType_GetIconInfo(wxFileType *self){
2255 wxIconLocation loc;
2256 if (self->GetIcon(&loc)) {
2257 wxString iconFile = loc.GetFileName();
2258 int iconIndex = -1;
2259
2260 iconIndex = loc.GetIndex();
2261
2262 // Make a tuple and put the values in it
2263 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2264 PyObject* tuple = PyTuple_New(3);
2265 PyTuple_SetItem(tuple, 0, wxPyConstructObject(new wxIcon(loc),
2266 wxT("wxIcon"), true));
2267 PyTuple_SetItem(tuple, 1, wx2PyString(iconFile));
2268 PyTuple_SetItem(tuple, 2, PyInt_FromLong(iconIndex));
2269 wxPyEndBlockThreads(blocked);
2270 return tuple;
2271 }
2272 else
2273 RETURN_NONE();
2274 }
2275 static PyObject *wxFileType_GetDescription(wxFileType *self){
2276 wxString str;
2277 if (self->GetDescription(&str))
2278 return wx2PyString(str);
2279 else
2280 RETURN_NONE();
2281 }
2282 static PyObject *wxFileType_GetOpenCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2283 wxString str;
2284 if (self->GetOpenCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2285 return wx2PyString(str);
2286 else
2287 RETURN_NONE();
2288 }
2289 static PyObject *wxFileType_GetPrintCommand(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2290 wxString str;
2291 if (self->GetPrintCommand(&str, wxFileType::MessageParameters(filename, mimetype)))
2292 return wx2PyString(str);
2293 else
2294 RETURN_NONE();
2295 }
2296 static PyObject *wxFileType_GetAllCommands(wxFileType *self,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2297 wxArrayString verbs;
2298 wxArrayString commands;
2299 if (self->GetAllCommands(&verbs, &commands,
2300 wxFileType::MessageParameters(filename, mimetype))) {
2301 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2302 PyObject* tuple = PyTuple_New(2);
2303 PyTuple_SetItem(tuple, 0, wxArrayString2PyList_helper(verbs));
2304 PyTuple_SetItem(tuple, 1, wxArrayString2PyList_helper(commands));
2305 wxPyEndBlockThreads(blocked);
2306 return tuple;
2307 }
2308 else
2309 RETURN_NONE();
2310 }
2311 static wxString FileType_ExpandCommand(wxString const &command,wxString const &filename,wxString const &mimetype=wxPyEmptyString){
2312 return wxFileType::ExpandCommand(command,
2313 wxFileType::MessageParameters(filename, mimetype));
2314 }
2315 static PyObject *wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager *self){
2316 wxArrayString arr;
2317 self->EnumAllFileTypes(arr);
2318 return wxArrayString2PyList_helper(arr);
2319 }
2320
2321 #include <wx/artprov.h>
2322
2323 static const wxString wxPyART_TOOLBAR(wxART_TOOLBAR);
2324 static const wxString wxPyART_MENU(wxART_MENU);
2325 static const wxString wxPyART_FRAME_ICON(wxART_FRAME_ICON);
2326 static const wxString wxPyART_CMN_DIALOG(wxART_CMN_DIALOG);
2327 static const wxString wxPyART_HELP_BROWSER(wxART_HELP_BROWSER);
2328 static const wxString wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX);
2329 static const wxString wxPyART_BUTTON(wxART_BUTTON);
2330 static const wxString wxPyART_OTHER(wxART_OTHER);
2331 static const wxString wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK);
2332 static const wxString wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK);
2333 static const wxString wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL);
2334 static const wxString wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS);
2335 static const wxString wxPyART_HELP_BOOK(wxART_HELP_BOOK);
2336 static const wxString wxPyART_HELP_FOLDER(wxART_HELP_FOLDER);
2337 static const wxString wxPyART_HELP_PAGE(wxART_HELP_PAGE);
2338 static const wxString wxPyART_GO_BACK(wxART_GO_BACK);
2339 static const wxString wxPyART_GO_FORWARD(wxART_GO_FORWARD);
2340 static const wxString wxPyART_GO_UP(wxART_GO_UP);
2341 static const wxString wxPyART_GO_DOWN(wxART_GO_DOWN);
2342 static const wxString wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT);
2343 static const wxString wxPyART_GO_HOME(wxART_GO_HOME);
2344 static const wxString wxPyART_FILE_OPEN(wxART_FILE_OPEN);
2345 static const wxString wxPyART_FILE_SAVE(wxART_FILE_SAVE);
2346 static const wxString wxPyART_FILE_SAVE_AS(wxART_FILE_SAVE_AS);
2347 static const wxString wxPyART_PRINT(wxART_PRINT);
2348 static const wxString wxPyART_HELP(wxART_HELP);
2349 static const wxString wxPyART_TIP(wxART_TIP);
2350 static const wxString wxPyART_REPORT_VIEW(wxART_REPORT_VIEW);
2351 static const wxString wxPyART_LIST_VIEW(wxART_LIST_VIEW);
2352 static const wxString wxPyART_NEW_DIR(wxART_NEW_DIR);
2353 static const wxString wxPyART_HARDDISK(wxART_HARDDISK);
2354 static const wxString wxPyART_FLOPPY(wxART_FLOPPY);
2355 static const wxString wxPyART_CDROM(wxART_CDROM);
2356 static const wxString wxPyART_REMOVABLE(wxART_REMOVABLE);
2357 static const wxString wxPyART_FOLDER(wxART_FOLDER);
2358 static const wxString wxPyART_FOLDER_OPEN(wxART_FOLDER_OPEN);
2359 static const wxString wxPyART_GO_DIR_UP(wxART_GO_DIR_UP);
2360 static const wxString wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE);
2361 static const wxString wxPyART_NORMAL_FILE(wxART_NORMAL_FILE);
2362 static const wxString wxPyART_TICK_MARK(wxART_TICK_MARK);
2363 static const wxString wxPyART_CROSS_MARK(wxART_CROSS_MARK);
2364 static const wxString wxPyART_ERROR(wxART_ERROR);
2365 static const wxString wxPyART_QUESTION(wxART_QUESTION);
2366 static const wxString wxPyART_WARNING(wxART_WARNING);
2367 static const wxString wxPyART_INFORMATION(wxART_INFORMATION);
2368 static const wxString wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE);
2369 static const wxString wxPyART_COPY(wxART_COPY);
2370 static const wxString wxPyART_CUT(wxART_CUT);
2371 static const wxString wxPyART_PASTE(wxART_PASTE);
2372 static const wxString wxPyART_DELETE(wxART_DELETE);
2373 static const wxString wxPyART_UNDO(wxART_UNDO);
2374 static const wxString wxPyART_REDO(wxART_REDO);
2375 static const wxString wxPyART_QUIT(wxART_QUIT);
2376 static const wxString wxPyART_FIND(wxART_FIND);
2377 static const wxString wxPyART_FIND_AND_REPLACE(wxART_FIND_AND_REPLACE);
2378 // Python aware wxArtProvider
2379 class wxPyArtProvider : public wxArtProvider {
2380 public:
2381
2382 virtual wxBitmap CreateBitmap(const wxArtID& id,
2383 const wxArtClient& client,
2384 const wxSize& size) {
2385 wxBitmap rval = wxNullBitmap;
2386 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2387 if ((wxPyCBH_findCallback(m_myInst, "CreateBitmap"))) {
2388 PyObject* so = wxPyConstructObject((void*)&size, wxT("wxSize"), 0);
2389 PyObject* ro;
2390 wxBitmap* ptr;
2391 PyObject* s1, *s2;
2392 s1 = wx2PyString(id);
2393 s2 = wx2PyString(client);
2394 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(OOO)", s1, s2, so));
2395 Py_DECREF(so);
2396 Py_DECREF(s1);
2397 Py_DECREF(s2);
2398 if (ro) {
2399 if (wxPyConvertSwigPtr(ro, (void**)&ptr, wxT("wxBitmap")))
2400 rval = *ptr;
2401 Py_DECREF(ro);
2402 }
2403 }
2404 wxPyEndBlockThreads(blocked);
2405 return rval;
2406 }
2407
2408 PYPRIVATE;
2409 };
2410
2411 static void wxPyArtProvider_Destroy(wxPyArtProvider *self){ delete self; }
2412
2413
2414
2415 static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
2416 PyObject* ret = PyTuple_New(3);
2417 if (ret) {
2418 PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
2419 PyTuple_SET_ITEM(ret, 1, wx2PyString(str));
2420 PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
2421 }
2422 return ret;
2423 }
2424
2425 static PyObject *wxConfigBase_GetFirstGroup(wxConfigBase *self){
2426 bool cont;
2427 long index = 0;
2428 wxString value;
2429
2430 cont = self->GetFirstGroup(value, index);
2431 return __EnumerationHelper(cont, value, index);
2432 }
2433 static PyObject *wxConfigBase_GetNextGroup(wxConfigBase *self,long index){
2434 bool cont;
2435 wxString value;
2436
2437 cont = self->GetNextGroup(value, index);
2438 return __EnumerationHelper(cont, value, index);
2439 }
2440 static PyObject *wxConfigBase_GetFirstEntry(wxConfigBase *self){
2441 bool cont;
2442 long index = 0;
2443 wxString value;
2444
2445 cont = self->GetFirstEntry(value, index);
2446 return __EnumerationHelper(cont, value, index);
2447 }
2448 static PyObject *wxConfigBase_GetNextEntry(wxConfigBase *self,long index){
2449 bool cont;
2450 wxString value;
2451
2452 cont = self->GetNextEntry(value, index);
2453 return __EnumerationHelper(cont, value, index);
2454 }
2455 static long wxConfigBase_ReadInt(wxConfigBase *self,wxString const &key,long defaultVal=0){
2456 long rv;
2457 self->Read(key, &rv, defaultVal);
2458 return rv;
2459 }
2460
2461 SWIGINTERN int
2462 SWIG_AsVal_double(PyObject *obj, double* val)
2463 {
2464 if (PyNumber_Check(obj)) {
2465 if (val) *val = PyFloat_AsDouble(obj);
2466 return 1;
2467 }
2468 else {
2469 SWIG_type_error("number", obj);
2470 }
2471 return 0;
2472 }
2473
2474
2475 SWIGINTERNSHORT double
2476 SWIG_As_double(PyObject* obj)
2477 {
2478 double v;
2479 if (!SWIG_AsVal_double(obj, &v)) {
2480 /*
2481 this is needed to make valgrind/purify happier.
2482 */
2483 memset((void*)&v, 0, sizeof(double));
2484 }
2485 return v;
2486 }
2487
2488
2489 SWIGINTERNSHORT int
2490 SWIG_Check_double(PyObject* obj)
2491 {
2492 return SWIG_AsVal_double(obj, (double*)0);
2493 }
2494
2495 static double wxConfigBase_ReadFloat(wxConfigBase *self,wxString const &key,double defaultVal=0.0){
2496 double rv;
2497 self->Read(key, &rv, defaultVal);
2498 return rv;
2499 }
2500
2501 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2502 #define SWIG_From_double PyFloat_FromDouble
2503 /*@@*/
2504
2505 static bool wxConfigBase_ReadBool(wxConfigBase *self,wxString const &key,bool defaultVal=false){
2506 bool rv;
2507 self->Read(key, &rv, defaultVal);
2508 return rv;
2509 }
2510
2511 #include <wx/datetime.h>
2512
2513 static const wxString wxPyDefaultDateTimeFormat(wxDefaultDateTimeFormat);
2514 static const wxString wxPyDefaultTimeSpanFormat(wxDefaultTimeSpanFormat);
2515
2516 #define LOCAL_TZ wxDateTime::Local
2517
2518 static PyObject *DateTime_GetAmPmStrings(){
2519 wxString am;
2520 wxString pm;
2521 wxDateTime::GetAmPmStrings(&am, &pm);
2522 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2523 PyObject* tup = PyTuple_New(2);
2524 PyTuple_SET_ITEM(tup, 0, wx2PyString(am));
2525 PyTuple_SET_ITEM(tup, 1, wx2PyString(pm));
2526 wxPyEndBlockThreads(blocked);
2527 return tup;
2528 }
2529
2530 #if UINT_MAX < LONG_MAX
2531 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2532 #define SWIG_From_unsigned_SS_int SWIG_From_long
2533 /*@@*/
2534 #else
2535 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2536 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2537 /*@@*/
2538 #endif
2539
2540 static wxDateTime wxDateTime___add____SWIG_0(wxDateTime *self,wxTimeSpan const &other){ return *self + other; }
2541 static wxDateTime wxDateTime___add____SWIG_1(wxDateTime *self,wxDateSpan const &other){ return *self + other; }
2542 static wxTimeSpan wxDateTime___sub____SWIG_0(wxDateTime *self,wxDateTime const &other){ return *self - other; }
2543 static wxDateTime wxDateTime___sub____SWIG_1(wxDateTime *self,wxTimeSpan const &other){ return *self - other; }
2544 static wxDateTime wxDateTime___sub____SWIG_2(wxDateTime *self,wxDateSpan const &other){ return *self - other; }
2545 static bool wxDateTime___lt__(wxDateTime *self,wxDateTime const *other){
2546 if (!other || !self->IsValid() || !other->IsValid()) return self < other;
2547 return (*self < *other);
2548 }
2549 static bool wxDateTime___le__(wxDateTime *self,wxDateTime const *other){
2550 if (!other || !self->IsValid() || !other->IsValid()) return self <= other;
2551 return (*self <= *other);
2552 }
2553 static bool wxDateTime___gt__(wxDateTime *self,wxDateTime const *other){
2554 if (!other || !self->IsValid() || !other->IsValid()) return self > other;
2555 return (*self > *other);
2556 }
2557 static bool wxDateTime___ge__(wxDateTime *self,wxDateTime const *other){
2558 if (!other || !self->IsValid() || !other->IsValid()) return self >= other;
2559 return (*self >= *other);
2560 }
2561 static bool wxDateTime___eq__(wxDateTime *self,wxDateTime const *other){
2562 if (!other || !self->IsValid() || !other->IsValid()) return self == other;
2563 return (*self == *other);
2564 }
2565 static bool wxDateTime___ne__(wxDateTime *self,wxDateTime const *other){
2566 if (!other || !self->IsValid() || !other->IsValid()) return self != other;
2567 return (*self != *other);
2568 }
2569 static int wxDateTime_ParseRfc822Date(wxDateTime *self,wxString const &date){
2570 const wxChar* rv;
2571 const wxChar* _date = date;
2572 rv = self->ParseRfc822Date(_date);
2573 if (rv == NULL) return -1;
2574 return rv - _date;
2575 }
2576 static int wxDateTime_ParseFormat(wxDateTime *self,wxString const &date,wxString const &format=wxPyDefaultDateTimeFormat,wxDateTime const &dateDef=wxDefaultDateTime){
2577 const wxChar* rv;
2578 const wxChar* _date = date;
2579 rv = self->ParseFormat(_date, format, dateDef);
2580 if (rv == NULL) return -1;
2581 return rv - _date;
2582 }
2583 static int wxDateTime_ParseDateTime(wxDateTime *self,wxString const &datetime){
2584 const wxChar* rv;
2585 const wxChar* _datetime = datetime;
2586 rv = self->ParseDateTime(_datetime);
2587 if (rv == NULL) return -1;
2588 return rv - _datetime;
2589 }
2590 static int wxDateTime_ParseDate(wxDateTime *self,wxString const &date){
2591 const wxChar* rv;
2592 const wxChar* _date = date;
2593 rv = self->ParseDate(_date);
2594 if (rv == NULL) return -1;
2595 return rv - _date;
2596 }
2597 static int wxDateTime_ParseTime(wxDateTime *self,wxString const &time){
2598 const wxChar* rv;
2599 const wxChar* _time = time;
2600 rv = self->ParseTime(_time);
2601 if (rv == NULL) return -1;
2602 return rv - _time;
2603 }
2604 static wxTimeSpan wxTimeSpan___add__(wxTimeSpan *self,wxTimeSpan const &other){ return *self + other; }
2605 static wxTimeSpan wxTimeSpan___sub__(wxTimeSpan *self,wxTimeSpan const &other){ return *self - other; }
2606 static wxTimeSpan wxTimeSpan___mul__(wxTimeSpan *self,int n){ return *self * n; }
2607 static wxTimeSpan wxTimeSpan___rmul__(wxTimeSpan *self,int n){ return n * *self; }
2608 static bool wxTimeSpan___lt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self < *other) : false; }
2609 static bool wxTimeSpan___le__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self <= *other) : false; }
2610 static bool wxTimeSpan___gt__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self > *other) : true; }
2611 static bool wxTimeSpan___ge__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self >= *other) : true; }
2612 static bool wxTimeSpan___eq__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self == *other) : false; }
2613 static bool wxTimeSpan___ne__(wxTimeSpan *self,wxTimeSpan const *other){ return other ? (*self != *other) : true; }
2614 static wxDateSpan wxDateSpan___add__(wxDateSpan *self,wxDateSpan const &other){ return *self + other; }
2615 static wxDateSpan wxDateSpan___sub__(wxDateSpan *self,wxDateSpan const &other){ return *self - other; }
2616 static wxDateSpan wxDateSpan___mul__(wxDateSpan *self,int n){ return *self * n; }
2617 static wxDateSpan wxDateSpan___rmul__(wxDateSpan *self,int n){ return n * *self; }
2618 static bool wxDateSpan___eq__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self == *other) : false; }
2619 static bool wxDateSpan___ne__(wxDateSpan *self,wxDateSpan const *other){ return other ? (*self != *other) : true; }
2620
2621 #include <wx/dataobj.h>
2622
2623 static PyObject *wxDataObject_GetAllFormats(wxDataObject *self,wxDataObject::Direction dir=wxDataObject::Get){
2624 size_t count = self->GetFormatCount(dir);
2625 wxDataFormat* formats = new wxDataFormat[count];
2626 self->GetAllFormats(formats, dir);
2627
2628 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2629 PyObject* list = PyList_New(count);
2630 for (size_t i=0; i<count; i++) {
2631 wxDataFormat* format = new wxDataFormat(formats[i]);
2632 PyObject* obj = wxPyConstructObject((void*)format, wxT("wxDataFormat"), true);
2633 PyList_Append(list, obj);
2634 Py_DECREF(obj);
2635 }
2636 wxPyEndBlockThreads(blocked);
2637 delete [] formats;
2638 return list;
2639 }
2640 static PyObject *wxDataObject_GetDataHere(wxDataObject *self,wxDataFormat const &format){
2641 PyObject* rval = NULL;
2642 size_t size = self->GetDataSize(format);
2643 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2644 if (size) {
2645 char* buf = new char[size];
2646 if (self->GetDataHere(format, buf))
2647 rval = PyString_FromStringAndSize(buf, size);
2648 delete [] buf;
2649 }
2650 if (! rval) {
2651 rval = Py_None;
2652 Py_INCREF(rval);
2653 }
2654 wxPyEndBlockThreads(blocked);
2655 return rval;
2656 }
2657 static bool wxDataObject_SetData(wxDataObject *self,wxDataFormat const &format,PyObject *data){
2658 bool rval;
2659 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2660 if (PyString_Check(data)) {
2661 rval = self->SetData(format, PyString_Size(data), PyString_AsString(data));
2662 }
2663 else {
2664 // raise a TypeError if not a string
2665 PyErr_SetString(PyExc_TypeError, "String expected.");
2666 rval = false;
2667 }
2668 wxPyEndBlockThreads(blocked);
2669 return rval;
2670 }
2671 static PyObject *wxDataObjectSimple_GetDataHere(wxDataObjectSimple *self){
2672 PyObject* rval = NULL;
2673 size_t size = self->GetDataSize();
2674 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2675 if (size) {
2676 char* buf = new char[size];
2677 if (self->GetDataHere(buf))
2678 rval = PyString_FromStringAndSize(buf, size);
2679 delete [] buf;
2680 }
2681 if (! rval) {
2682 rval = Py_None;
2683 Py_INCREF(rval);
2684 }
2685 wxPyEndBlockThreads(blocked);
2686 return rval;
2687 }
2688 static bool wxDataObjectSimple_SetData(wxDataObjectSimple *self,PyObject *data){
2689 bool rval;
2690 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2691 if (PyString_Check(data)) {
2692 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2693 }
2694 else {
2695 // raise a TypeError if not a string
2696 PyErr_SetString(PyExc_TypeError, "String expected.");
2697 rval = false;
2698 }
2699 wxPyEndBlockThreads(blocked);
2700 return rval;
2701 }
2702 // Create a new class for wxPython to use
2703 class wxPyDataObjectSimple : public wxDataObjectSimple {
2704 public:
2705 wxPyDataObjectSimple(const wxDataFormat& format = wxFormatInvalid)
2706 : wxDataObjectSimple(format) {}
2707
2708 DEC_PYCALLBACK_SIZET__const(GetDataSize);
2709 bool GetDataHere(void *buf) const;
2710 bool SetData(size_t len, const void *buf) const;
2711 PYPRIVATE;
2712 };
2713
2714 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple, wxDataObjectSimple, GetDataSize);
2715
2716 bool wxPyDataObjectSimple::GetDataHere(void *buf) const {
2717 // We need to get the data for this object and write it to buf. I think
2718 // the best way to do this for wxPython is to have the Python method
2719 // return either a string or None and then act appropriately with the
2720 // C++ version.
2721
2722 bool rval = false;
2723 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2724 if (wxPyCBH_findCallback(m_myInst, "GetDataHere")) {
2725 PyObject* ro;
2726 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2727 if (ro) {
2728 rval = (ro != Py_None && PyString_Check(ro));
2729 if (rval)
2730 memcpy(buf, PyString_AsString(ro), PyString_Size(ro));
2731 Py_DECREF(ro);
2732 }
2733 }
2734 wxPyEndBlockThreads(blocked);
2735 return rval;
2736 }
2737
2738 bool wxPyDataObjectSimple::SetData(size_t len, const void *buf) const{
2739 // For this one we simply need to make a string from buf and len
2740 // and send it to the Python method.
2741 bool rval = false;
2742 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2743 if (wxPyCBH_findCallback(m_myInst, "SetData")) {
2744 PyObject* data = PyString_FromStringAndSize((char*)buf, len);
2745 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", data));
2746 Py_DECREF(data);
2747 }
2748 wxPyEndBlockThreads(blocked);
2749 return rval;
2750 }
2751
2752 // Create a new class for wxPython to use
2753 class wxPyTextDataObject : public wxTextDataObject {
2754 public:
2755 wxPyTextDataObject(const wxString& text = wxPyEmptyString)
2756 : wxTextDataObject(text) {}
2757
2758 DEC_PYCALLBACK_SIZET__const(GetTextLength);
2759 DEC_PYCALLBACK_STRING__const(GetText);
2760 DEC_PYCALLBACK__STRING(SetText);
2761 PYPRIVATE;
2762 };
2763
2764 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject, wxTextDataObject, GetTextLength);
2765 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject, wxTextDataObject, GetText);
2766 IMP_PYCALLBACK__STRING(wxPyTextDataObject, wxTextDataObject, SetText);
2767
2768
2769 // Create a new class for wxPython to use
2770 class wxPyBitmapDataObject : public wxBitmapDataObject {
2771 public:
2772 wxPyBitmapDataObject(const wxBitmap& bitmap = wxNullBitmap)
2773 : wxBitmapDataObject(bitmap) {}
2774
2775 wxBitmap GetBitmap() const;
2776 void SetBitmap(const wxBitmap& bitmap);
2777 PYPRIVATE;
2778 };
2779
2780 wxBitmap wxPyBitmapDataObject::GetBitmap() const {
2781 wxBitmap* rval = &wxNullBitmap;
2782 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2783 if (wxPyCBH_findCallback(m_myInst, "GetBitmap")) {
2784 PyObject* ro;
2785 wxBitmap* ptr;
2786 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
2787 if (ro) {
2788 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxBitmap")))
2789 rval = ptr;
2790 Py_DECREF(ro);
2791 }
2792 }
2793 wxPyEndBlockThreads(blocked);
2794 return *rval;
2795 }
2796
2797 void wxPyBitmapDataObject::SetBitmap(const wxBitmap& bitmap) {
2798 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2799 if (wxPyCBH_findCallback(m_myInst, "SetBitmap")) {
2800 PyObject* bo = wxPyConstructObject((void*)&bitmap, wxT("wxBitmap"), false);
2801 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(O)", bo));
2802 Py_DECREF(bo);
2803 }
2804 wxPyEndBlockThreads(blocked);
2805 }
2806
2807 static wxCustomDataObject *new_wxCustomDataObject__SWIG_1(wxString const &formatName){
2808 return new wxCustomDataObject(wxDataFormat(formatName));
2809 }
2810 static bool wxCustomDataObject_SetData(wxCustomDataObject *self,PyObject *data){
2811 bool rval;
2812 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2813 if (PyString_Check(data)) {
2814 rval = self->SetData(PyString_Size(data), PyString_AsString(data));
2815 }
2816 else {
2817 // raise a TypeError if not a string
2818 PyErr_SetString(PyExc_TypeError, "String expected.");
2819 rval = false;
2820 }
2821 wxPyEndBlockThreads(blocked);
2822 return rval;
2823 }
2824 static PyObject *wxCustomDataObject_GetData(wxCustomDataObject *self){
2825 PyObject* obj;
2826 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2827 obj = PyString_FromStringAndSize((char*)self->GetData(), self->GetSize());
2828 wxPyEndBlockThreads(blocked);
2829 return obj;
2830 }
2831
2832 #include <wx/metafile.h>
2833
2834
2835 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource, wxDropSource, GiveFeedback);
2836
2837
2838 IMP_PYCALLBACK__(wxPyDropTarget, wxDropTarget, OnLeave);
2839 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnEnter);
2840 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget, wxDropTarget, OnDragOver);
2841 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget, wxDropTarget, OnData);
2842 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget, wxDropTarget, OnDrop);
2843
2844
2845 class wxPyTextDropTarget : public wxTextDropTarget {
2846 public:
2847 wxPyTextDropTarget() {}
2848
2849 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText);
2850
2851 DEC_PYCALLBACK__(OnLeave);
2852 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2853 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2854 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2855 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2856
2857 PYPRIVATE;
2858 };
2859
2860 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget, wxTextDropTarget, OnDropText);
2861 IMP_PYCALLBACK__(wxPyTextDropTarget, wxTextDropTarget, OnLeave);
2862 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnEnter);
2863 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnDragOver);
2864 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget, wxTextDropTarget, OnData);
2865 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget, wxTextDropTarget, OnDrop);
2866
2867
2868
2869 class wxPyFileDropTarget : public wxFileDropTarget {
2870 public:
2871 wxPyFileDropTarget() {}
2872
2873 virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& filenames);
2874
2875 DEC_PYCALLBACK__(OnLeave);
2876 DEC_PYCALLBACK_DR_2WXCDR(OnEnter);
2877 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver);
2878 DEC_PYCALLBACK_DR_2WXCDR(OnData);
2879 DEC_PYCALLBACK_BOOL_INTINT(OnDrop);
2880
2881 PYPRIVATE;
2882 };
2883
2884 bool wxPyFileDropTarget::OnDropFiles(wxCoord x, wxCoord y,
2885 const wxArrayString& filenames) {
2886 bool rval = false;
2887 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2888 if (wxPyCBH_findCallback(m_myInst, "OnDropFiles")) {
2889 PyObject* list = wxArrayString2PyList_helper(filenames);
2890 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iiO)",x,y,list));
2891 Py_DECREF(list);
2892 }
2893 wxPyEndBlockThreads(blocked);
2894 return rval;
2895 }
2896
2897
2898
2899 IMP_PYCALLBACK__(wxPyFileDropTarget, wxFileDropTarget, OnLeave);
2900 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnEnter);
2901 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnDragOver);
2902 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget, wxFileDropTarget, OnData);
2903 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget, wxFileDropTarget, OnDrop);
2904
2905
2906
2907
2908 static bool wxClipboardLocker___nonzero__(wxClipboardLocker *self){ return !!(*self); }
2909
2910 #include <wx/display.h>
2911
2912 static bool wxVideoMode___eq__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self == *other) : false; }
2913 static bool wxVideoMode___ne__(wxVideoMode *self,wxVideoMode const *other){ return other ? (*self != *other) : true; }
2914
2915 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
2916 #if !wxUSE_DISPLAY
2917 #include <wx/dynarray.h>
2918 #include <wx/vidmode.h>
2919
2920 WX_DECLARE_OBJARRAY(wxVideoMode, wxArrayVideoModes);
2921 #include "wx/arrimpl.cpp"
2922 WX_DEFINE_OBJARRAY(wxArrayVideoModes);
2923 const wxVideoMode wxDefaultVideoMode;
2924
2925 class wxDisplay
2926 {
2927 public:
2928 wxDisplay(size_t index = 0) { wxPyRaiseNotImplemented(); }
2929 ~wxDisplay() {}
2930
2931 static size_t GetCount()
2932 { wxPyRaiseNotImplemented(); return 0; }
2933
2934 static int GetFromPoint(const wxPoint& pt)
2935 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2936 static int GetFromWindow(wxWindow *window)
2937 { wxPyRaiseNotImplemented(); return wxNOT_FOUND; }
2938
2939 virtual bool IsOk() const { return false; }
2940 virtual wxRect GetGeometry() const { wxRect r; return r; }
2941 virtual wxString GetName() const { return wxEmptyString; }
2942 bool IsPrimary() const { return false; }
2943
2944 wxArrayVideoModes GetModes(const wxVideoMode& mode = wxDefaultVideoMode)
2945 { wxArrayVideoModes a; return a; }
2946
2947 virtual wxVideoMode GetCurrentMode() const
2948 { return wxDefaultVideoMode; }
2949
2950 virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode)
2951 { return false; }
2952
2953 void ResetMode() {}
2954 };
2955 #endif
2956
2957 static PyObject *wxDisplay_GetModes(wxDisplay *self,wxVideoMode const &mode=wxDefaultVideoMode){
2958 PyObject* pyList = NULL;
2959 wxArrayVideoModes arr = self->GetModes(mode);
2960 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2961 pyList = PyList_New(0);
2962 for (int i=0; i < arr.GetCount(); i++) {
2963 wxVideoMode* m = new wxVideoMode(arr.Item(i));
2964 PyObject* pyObj = wxPyConstructObject(m, wxT("wxVideoMode"), true);
2965 PyList_Append(pyList, pyObj);
2966 Py_DECREF(pyObj);
2967 }
2968 wxPyEndBlockThreads(blocked);
2969 return pyList;
2970 }
2971
2972 #include <wx/stdpaths.h>
2973
2974 static wxStandardPaths *StandardPaths_Get(){
2975 return (wxStandardPaths*) &wxStandardPaths::Get();
2976 }
2977 static void wxStandardPaths_SetInstallPrefix(wxStandardPaths *self,wxString const &prefix){}
2978 static wxString wxStandardPaths_GetInstallPrefix(wxStandardPaths *self){ return wxEmptyString; }
2979 #ifdef __cplusplus
2980 extern "C" {
2981 #endif
2982 static PyObject *_wrap_SystemSettings_GetColour(PyObject *, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj;
2984 wxSystemColour arg1 ;
2985 wxColour result;
2986 PyObject * obj0 = 0 ;
2987 char *kwnames[] = {
2988 (char *) "index", NULL
2989 };
2990
2991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetColour",kwnames,&obj0)) goto fail;
2992 {
2993 arg1 = (wxSystemColour)(SWIG_As_int(obj0));
2994 if (SWIG_arg_fail(1)) SWIG_fail;
2995 }
2996 {
2997 if (!wxPyCheckForApp()) SWIG_fail;
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 result = wxSystemSettings::GetColour((wxSystemColour )arg1);
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) SWIG_fail;
3003 }
3004 {
3005 wxColour * resultptr;
3006 resultptr = new wxColour((wxColour &)(result));
3007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3008 }
3009 return resultobj;
3010 fail:
3011 return NULL;
3012 }
3013
3014
3015 static PyObject *_wrap_SystemSettings_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
3016 PyObject *resultobj;
3017 wxSystemFont arg1 ;
3018 wxFont result;
3019 PyObject * obj0 = 0 ;
3020 char *kwnames[] = {
3021 (char *) "index", NULL
3022 };
3023
3024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_GetFont",kwnames,&obj0)) goto fail;
3025 {
3026 arg1 = (wxSystemFont)(SWIG_As_int(obj0));
3027 if (SWIG_arg_fail(1)) SWIG_fail;
3028 }
3029 {
3030 if (!wxPyCheckForApp()) SWIG_fail;
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 result = wxSystemSettings::GetFont((wxSystemFont )arg1);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 {
3038 wxFont * resultptr;
3039 resultptr = new wxFont((wxFont &)(result));
3040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
3041 }
3042 return resultobj;
3043 fail:
3044 return NULL;
3045 }
3046
3047
3048 static PyObject *_wrap_SystemSettings_GetMetric(PyObject *, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxSystemMetric arg1 ;
3051 wxWindow *arg2 = (wxWindow *) NULL ;
3052 int result;
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 char *kwnames[] = {
3056 (char *) "index",(char *) "win", NULL
3057 };
3058
3059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SystemSettings_GetMetric",kwnames,&obj0,&obj1)) goto fail;
3060 {
3061 arg1 = (wxSystemMetric)(SWIG_As_int(obj0));
3062 if (SWIG_arg_fail(1)) SWIG_fail;
3063 }
3064 if (obj1) {
3065 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3066 if (SWIG_arg_fail(2)) SWIG_fail;
3067 }
3068 {
3069 if (!wxPyCheckForApp()) SWIG_fail;
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 result = (int)wxSystemSettings::GetMetric((wxSystemMetric )arg1,arg2);
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
3076 {
3077 resultobj = SWIG_From_int((int)(result));
3078 }
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_SystemSettings_HasFeature(PyObject *, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxSystemFeature arg1 ;
3088 bool result;
3089 PyObject * obj0 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "index", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_HasFeature",kwnames,&obj0)) goto fail;
3095 {
3096 arg1 = (wxSystemFeature)(SWIG_As_int(obj0));
3097 if (SWIG_arg_fail(1)) SWIG_fail;
3098 }
3099 {
3100 if (!wxPyCheckForApp()) SWIG_fail;
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 result = (bool)wxSystemSettings::HasFeature((wxSystemFeature )arg1);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 {
3108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3109 }
3110 return resultobj;
3111 fail:
3112 return NULL;
3113 }
3114
3115
3116 static PyObject *_wrap_SystemSettings_GetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj;
3118 wxSystemScreenType result;
3119 char *kwnames[] = {
3120 NULL
3121 };
3122
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SystemSettings_GetScreenType",kwnames)) goto fail;
3124 {
3125 if (!wxPyCheckForApp()) SWIG_fail;
3126 PyThreadState* __tstate = wxPyBeginAllowThreads();
3127 result = (wxSystemScreenType)wxSystemSettings::GetScreenType();
3128
3129 wxPyEndAllowThreads(__tstate);
3130 if (PyErr_Occurred()) SWIG_fail;
3131 }
3132 resultobj = SWIG_From_int((result));
3133 return resultobj;
3134 fail:
3135 return NULL;
3136 }
3137
3138
3139 static PyObject *_wrap_SystemSettings_SetScreenType(PyObject *, PyObject *args, PyObject *kwargs) {
3140 PyObject *resultobj;
3141 wxSystemScreenType arg1 ;
3142 PyObject * obj0 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "screen", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemSettings_SetScreenType",kwnames,&obj0)) goto fail;
3148 {
3149 arg1 = (wxSystemScreenType)(SWIG_As_int(obj0));
3150 if (SWIG_arg_fail(1)) SWIG_fail;
3151 }
3152 {
3153 if (!wxPyCheckForApp()) SWIG_fail;
3154 PyThreadState* __tstate = wxPyBeginAllowThreads();
3155 wxSystemSettings::SetScreenType((wxSystemScreenType )arg1);
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
3160 Py_INCREF(Py_None); resultobj = Py_None;
3161 return resultobj;
3162 fail:
3163 return NULL;
3164 }
3165
3166
3167 static PyObject * SystemSettings_swigregister(PyObject *, PyObject *args) {
3168 PyObject *obj;
3169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3170 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings, obj);
3171 Py_INCREF(obj);
3172 return Py_BuildValue((char *)"");
3173 }
3174 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject *) {
3175 PyErr_SetString(PyExc_TypeError,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
3176 return 1;
3177 }
3178
3179
3180 static PyObject *_wrap_WINDOW_DEFAULT_VARIANT_get(void) {
3181 PyObject *pyobj;
3182
3183 {
3184 #if wxUSE_UNICODE
3185 pyobj = PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3186 #else
3187 pyobj = PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT)->Len());
3188 #endif
3189 }
3190 return pyobj;
3191 }
3192
3193
3194 static PyObject *_wrap_new_SystemOptions(PyObject *, PyObject *args, PyObject *kwargs) {
3195 PyObject *resultobj;
3196 wxSystemOptions *result;
3197 char *kwnames[] = {
3198 NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SystemOptions",kwnames)) goto fail;
3202 {
3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
3204 result = (wxSystemOptions *)new wxSystemOptions();
3205
3206 wxPyEndAllowThreads(__tstate);
3207 if (PyErr_Occurred()) SWIG_fail;
3208 }
3209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSystemOptions, 1);
3210 return resultobj;
3211 fail:
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_SystemOptions_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxString *arg1 = 0 ;
3219 wxString *arg2 = 0 ;
3220 bool temp1 = false ;
3221 bool temp2 = false ;
3222 PyObject * obj0 = 0 ;
3223 PyObject * obj1 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "name",(char *) "value", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOption",kwnames,&obj0,&obj1)) goto fail;
3229 {
3230 arg1 = wxString_in_helper(obj0);
3231 if (arg1 == NULL) SWIG_fail;
3232 temp1 = true;
3233 }
3234 {
3235 arg2 = wxString_in_helper(obj1);
3236 if (arg2 == NULL) SWIG_fail;
3237 temp2 = true;
3238 }
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 wxSystemOptions::SetOption((wxString const &)*arg1,(wxString const &)*arg2);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 Py_INCREF(Py_None); resultobj = Py_None;
3247 {
3248 if (temp1)
3249 delete arg1;
3250 }
3251 {
3252 if (temp2)
3253 delete arg2;
3254 }
3255 return resultobj;
3256 fail:
3257 {
3258 if (temp1)
3259 delete arg1;
3260 }
3261 {
3262 if (temp2)
3263 delete arg2;
3264 }
3265 return NULL;
3266 }
3267
3268
3269 static PyObject *_wrap_SystemOptions_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
3270 PyObject *resultobj;
3271 wxString *arg1 = 0 ;
3272 int arg2 ;
3273 bool temp1 = false ;
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "name",(char *) "value", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SystemOptions_SetOptionInt",kwnames,&obj0,&obj1)) goto fail;
3281 {
3282 arg1 = wxString_in_helper(obj0);
3283 if (arg1 == NULL) SWIG_fail;
3284 temp1 = true;
3285 }
3286 {
3287 arg2 = (int)(SWIG_As_int(obj1));
3288 if (SWIG_arg_fail(2)) SWIG_fail;
3289 }
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 wxSystemOptions::SetOption((wxString const &)*arg1,arg2);
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 Py_INCREF(Py_None); resultobj = Py_None;
3298 {
3299 if (temp1)
3300 delete arg1;
3301 }
3302 return resultobj;
3303 fail:
3304 {
3305 if (temp1)
3306 delete arg1;
3307 }
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_SystemOptions_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxString *arg1 = 0 ;
3315 wxString result;
3316 bool temp1 = false ;
3317 PyObject * obj0 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "name", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOption",kwnames,&obj0)) goto fail;
3323 {
3324 arg1 = wxString_in_helper(obj0);
3325 if (arg1 == NULL) SWIG_fail;
3326 temp1 = true;
3327 }
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 result = wxSystemOptions::GetOption((wxString const &)*arg1);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 {
3336 #if wxUSE_UNICODE
3337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3338 #else
3339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3340 #endif
3341 }
3342 {
3343 if (temp1)
3344 delete arg1;
3345 }
3346 return resultobj;
3347 fail:
3348 {
3349 if (temp1)
3350 delete arg1;
3351 }
3352 return NULL;
3353 }
3354
3355
3356 static PyObject *_wrap_SystemOptions_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxString *arg1 = 0 ;
3359 int result;
3360 bool temp1 = false ;
3361 PyObject * obj0 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "name", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_GetOptionInt",kwnames,&obj0)) goto fail;
3367 {
3368 arg1 = wxString_in_helper(obj0);
3369 if (arg1 == NULL) SWIG_fail;
3370 temp1 = true;
3371 }
3372 {
3373 PyThreadState* __tstate = wxPyBeginAllowThreads();
3374 result = (int)wxSystemOptions::GetOptionInt((wxString const &)*arg1);
3375
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
3380 resultobj = SWIG_From_int((int)(result));
3381 }
3382 {
3383 if (temp1)
3384 delete arg1;
3385 }
3386 return resultobj;
3387 fail:
3388 {
3389 if (temp1)
3390 delete arg1;
3391 }
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_SystemOptions_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxString *arg1 = 0 ;
3399 bool result;
3400 bool temp1 = false ;
3401 PyObject * obj0 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "name", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SystemOptions_HasOption",kwnames,&obj0)) goto fail;
3407 {
3408 arg1 = wxString_in_helper(obj0);
3409 if (arg1 == NULL) SWIG_fail;
3410 temp1 = true;
3411 }
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 result = (bool)wxSystemOptions::HasOption((wxString const &)*arg1);
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
3419 {
3420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3421 }
3422 {
3423 if (temp1)
3424 delete arg1;
3425 }
3426 return resultobj;
3427 fail:
3428 {
3429 if (temp1)
3430 delete arg1;
3431 }
3432 return NULL;
3433 }
3434
3435
3436 static PyObject * SystemOptions_swigregister(PyObject *, PyObject *args) {
3437 PyObject *obj;
3438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3439 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions, obj);
3440 Py_INCREF(obj);
3441 return Py_BuildValue((char *)"");
3442 }
3443 static int _wrap_FileSelectorPromptStr_set(PyObject *) {
3444 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
3445 return 1;
3446 }
3447
3448
3449 static PyObject *_wrap_FileSelectorPromptStr_get(void) {
3450 PyObject *pyobj;
3451
3452 {
3453 #if wxUSE_UNICODE
3454 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3455 #else
3456 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
3457 #endif
3458 }
3459 return pyobj;
3460 }
3461
3462
3463 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
3464 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
3465 return 1;
3466 }
3467
3468
3469 static PyObject *_wrap_FileSelectorDefaultWildcardStr_get(void) {
3470 PyObject *pyobj;
3471
3472 {
3473 #if wxUSE_UNICODE
3474 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3475 #else
3476 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
3477 #endif
3478 }
3479 return pyobj;
3480 }
3481
3482
3483 static int _wrap_DirSelectorPromptStr_set(PyObject *) {
3484 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
3485 return 1;
3486 }
3487
3488
3489 static PyObject *_wrap_DirSelectorPromptStr_get(void) {
3490 PyObject *pyobj;
3491
3492 {
3493 #if wxUSE_UNICODE
3494 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3495 #else
3496 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
3497 #endif
3498 }
3499 return pyobj;
3500 }
3501
3502
3503 static PyObject *_wrap_NewId(PyObject *, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 long result;
3506 char *kwnames[] = {
3507 NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewId",kwnames)) goto fail;
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 result = (long)wxNewId();
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 {
3519 resultobj = SWIG_From_long((long)(result));
3520 }
3521 return resultobj;
3522 fail:
3523 return NULL;
3524 }
3525
3526
3527 static PyObject *_wrap_RegisterId(PyObject *, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 long arg1 ;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "id", NULL
3533 };
3534
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RegisterId",kwnames,&obj0)) goto fail;
3536 {
3537 arg1 = (long)(SWIG_As_long(obj0));
3538 if (SWIG_arg_fail(1)) SWIG_fail;
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 wxRegisterId(arg1);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 Py_INCREF(Py_None); resultobj = Py_None;
3548 return resultobj;
3549 fail:
3550 return NULL;
3551 }
3552
3553
3554 static PyObject *_wrap_GetCurrentId(PyObject *, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 long result;
3557 char *kwnames[] = {
3558 NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentId",kwnames)) goto fail;
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (long)wxGetCurrentId();
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 {
3570 resultobj = SWIG_From_long((long)(result));
3571 }
3572 return resultobj;
3573 fail:
3574 return NULL;
3575 }
3576
3577
3578 static PyObject *_wrap_IsStockID(PyObject *, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj;
3580 int arg1 ;
3581 bool result;
3582 PyObject * obj0 = 0 ;
3583 char *kwnames[] = {
3584 (char *) "id", NULL
3585 };
3586
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsStockID",kwnames,&obj0)) goto fail;
3588 {
3589 arg1 = (int)(SWIG_As_int(obj0));
3590 if (SWIG_arg_fail(1)) SWIG_fail;
3591 }
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (bool)wxIsStockID(arg1);
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 {
3600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3601 }
3602 return resultobj;
3603 fail:
3604 return NULL;
3605 }
3606
3607
3608 static PyObject *_wrap_IsStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 int arg1 ;
3611 wxString *arg2 = 0 ;
3612 bool result;
3613 bool temp2 = false ;
3614 PyObject * obj0 = 0 ;
3615 PyObject * obj1 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "id",(char *) "label", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IsStockLabel",kwnames,&obj0,&obj1)) goto fail;
3621 {
3622 arg1 = (int)(SWIG_As_int(obj0));
3623 if (SWIG_arg_fail(1)) SWIG_fail;
3624 }
3625 {
3626 arg2 = wxString_in_helper(obj1);
3627 if (arg2 == NULL) SWIG_fail;
3628 temp2 = true;
3629 }
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 result = (bool)wxIsStockLabel(arg1,(wxString const &)*arg2);
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 {
3638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3639 }
3640 {
3641 if (temp2)
3642 delete arg2;
3643 }
3644 return resultobj;
3645 fail:
3646 {
3647 if (temp2)
3648 delete arg2;
3649 }
3650 return NULL;
3651 }
3652
3653
3654 static PyObject *_wrap_GetStockLabel(PyObject *, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 int arg1 ;
3657 bool arg2 = (bool) true ;
3658 wxString arg3 = (wxString) wxPyEmptyString ;
3659 wxString result;
3660 PyObject * obj0 = 0 ;
3661 PyObject * obj1 = 0 ;
3662 PyObject * obj2 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "id",(char *) "withCodes",(char *) "accelerator", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GetStockLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
3668 {
3669 arg1 = (int)(SWIG_As_int(obj0));
3670 if (SWIG_arg_fail(1)) SWIG_fail;
3671 }
3672 if (obj1) {
3673 {
3674 arg2 = (bool)(SWIG_As_bool(obj1));
3675 if (SWIG_arg_fail(2)) SWIG_fail;
3676 }
3677 }
3678 if (obj2) {
3679 {
3680 wxString* sptr = wxString_in_helper(obj2);
3681 if (sptr == NULL) SWIG_fail;
3682 arg3 = *sptr;
3683 delete sptr;
3684 }
3685 }
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 result = wxGetStockLabel(arg1,arg2,arg3);
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 {
3694 #if wxUSE_UNICODE
3695 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3696 #else
3697 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3698 #endif
3699 }
3700 return resultobj;
3701 fail:
3702 return NULL;
3703 }
3704
3705
3706 static PyObject *_wrap_Bell(PyObject *, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 char *kwnames[] = {
3709 NULL
3710 };
3711
3712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Bell",kwnames)) goto fail;
3713 {
3714 if (!wxPyCheckForApp()) SWIG_fail;
3715 PyThreadState* __tstate = wxPyBeginAllowThreads();
3716 wxBell();
3717
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 Py_INCREF(Py_None); resultobj = Py_None;
3722 return resultobj;
3723 fail:
3724 return NULL;
3725 }
3726
3727
3728 static PyObject *_wrap_EndBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj;
3730 char *kwnames[] = {
3731 NULL
3732 };
3733
3734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EndBusyCursor",kwnames)) goto fail;
3735 {
3736 if (!wxPyCheckForApp()) SWIG_fail;
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 wxEndBusyCursor();
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 Py_INCREF(Py_None); resultobj = Py_None;
3744 return resultobj;
3745 fail:
3746 return NULL;
3747 }
3748
3749
3750 static PyObject *_wrap_GetElapsedTime(PyObject *, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 bool arg1 = (bool) true ;
3753 long result;
3754 PyObject * obj0 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "resetTimer", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetElapsedTime",kwnames,&obj0)) goto fail;
3760 if (obj0) {
3761 {
3762 arg1 = (bool)(SWIG_As_bool(obj0));
3763 if (SWIG_arg_fail(1)) SWIG_fail;
3764 }
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 result = (long)wxGetElapsedTime(arg1);
3769
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 {
3774 resultobj = SWIG_From_long((long)(result));
3775 }
3776 return resultobj;
3777 fail:
3778 return NULL;
3779 }
3780
3781
3782 static PyObject *_wrap_GetMousePosition(PyObject *, PyObject *args, PyObject *kwargs) {
3783 PyObject *resultobj;
3784 int *arg1 = (int *) 0 ;
3785 int *arg2 = (int *) 0 ;
3786 int temp1 ;
3787 int res1 = 0 ;
3788 int temp2 ;
3789 int res2 = 0 ;
3790 char *kwnames[] = {
3791 NULL
3792 };
3793
3794 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3795 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetMousePosition",kwnames)) goto fail;
3797 {
3798 if (!wxPyCheckForApp()) SWIG_fail;
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 wxGetMousePosition(arg1,arg2);
3801
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 Py_INCREF(Py_None); resultobj = Py_None;
3806 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3807 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3808 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3809 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_IsBusy(PyObject *, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 bool result;
3819 char *kwnames[] = {
3820 NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IsBusy",kwnames)) goto fail;
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (bool)wxIsBusy();
3827
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) SWIG_fail;
3830 }
3831 {
3832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3833 }
3834 return resultobj;
3835 fail:
3836 return NULL;
3837 }
3838
3839
3840 static PyObject *_wrap_Now(PyObject *, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxString result;
3843 char *kwnames[] = {
3844 NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Now",kwnames)) goto fail;
3848 {
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = wxNow();
3851
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 {
3856 #if wxUSE_UNICODE
3857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3858 #else
3859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3860 #endif
3861 }
3862 return resultobj;
3863 fail:
3864 return NULL;
3865 }
3866
3867
3868 static PyObject *_wrap_Shell(PyObject *, PyObject *args, PyObject *kwargs) {
3869 PyObject *resultobj;
3870 wxString const &arg1_defvalue = wxPyEmptyString ;
3871 wxString *arg1 = (wxString *) &arg1_defvalue ;
3872 bool result;
3873 bool temp1 = false ;
3874 PyObject * obj0 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "command", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Shell",kwnames,&obj0)) goto fail;
3880 if (obj0) {
3881 {
3882 arg1 = wxString_in_helper(obj0);
3883 if (arg1 == NULL) SWIG_fail;
3884 temp1 = true;
3885 }
3886 }
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (bool)wxShell((wxString const &)*arg1);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 {
3895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3896 }
3897 {
3898 if (temp1)
3899 delete arg1;
3900 }
3901 return resultobj;
3902 fail:
3903 {
3904 if (temp1)
3905 delete arg1;
3906 }
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_StartTimer(PyObject *, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 char *kwnames[] = {
3914 NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StartTimer",kwnames)) goto fail;
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 wxStartTimer();
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 return resultobj;
3927 fail:
3928 return NULL;
3929 }
3930
3931
3932 static PyObject *_wrap_GetOsVersion(PyObject *, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 int *arg1 = (int *) 0 ;
3935 int *arg2 = (int *) 0 ;
3936 int result;
3937 int temp1 ;
3938 int res1 = 0 ;
3939 int temp2 ;
3940 int res2 = 0 ;
3941 char *kwnames[] = {
3942 NULL
3943 };
3944
3945 arg1 = &temp1; res1 = SWIG_NEWOBJ;
3946 arg2 = &temp2; res2 = SWIG_NEWOBJ;
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsVersion",kwnames)) goto fail;
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (int)wxGetOsVersion(arg1,arg2);
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = SWIG_From_int((int)(result));
3957 }
3958 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
3959 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
3960 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
3961 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
3962 return resultobj;
3963 fail:
3964 return NULL;
3965 }
3966
3967
3968 static PyObject *_wrap_GetOsDescription(PyObject *, PyObject *args, PyObject *kwargs) {
3969 PyObject *resultobj;
3970 wxString result;
3971 char *kwnames[] = {
3972 NULL
3973 };
3974
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetOsDescription",kwnames)) goto fail;
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 result = wxGetOsDescription();
3979
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 {
3984 #if wxUSE_UNICODE
3985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3986 #else
3987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3988 #endif
3989 }
3990 return resultobj;
3991 fail:
3992 return NULL;
3993 }
3994
3995
3996 static PyObject *_wrap_GetFreeMemory(PyObject *, PyObject *args, PyObject *kwargs) {
3997 PyObject *resultobj;
3998 long result;
3999 char *kwnames[] = {
4000 NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFreeMemory",kwnames)) goto fail;
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (long)wxGetFreeMemory();
4007
4008 wxPyEndAllowThreads(__tstate);
4009 if (PyErr_Occurred()) SWIG_fail;
4010 }
4011 {
4012 resultobj = SWIG_From_long((long)(result));
4013 }
4014 return resultobj;
4015 fail:
4016 return NULL;
4017 }
4018
4019
4020 static PyObject *_wrap_Shutdown(PyObject *, PyObject *args, PyObject *kwargs) {
4021 PyObject *resultobj;
4022 wxShutdownFlags arg1 ;
4023 bool result;
4024 PyObject * obj0 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "wFlags", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Shutdown",kwnames,&obj0)) goto fail;
4030 {
4031 arg1 = (wxShutdownFlags)(SWIG_As_int(obj0));
4032 if (SWIG_arg_fail(1)) SWIG_fail;
4033 }
4034 {
4035 if (!wxPyCheckForApp()) SWIG_fail;
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 result = (bool)wxShutdown((wxShutdownFlags )arg1);
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 {
4043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4044 }
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_Sleep(PyObject *, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 int arg1 ;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "secs", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sleep",kwnames,&obj0)) goto fail;
4060 {
4061 arg1 = (int)(SWIG_As_int(obj0));
4062 if (SWIG_arg_fail(1)) SWIG_fail;
4063 }
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 wxSleep(arg1);
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 Py_INCREF(Py_None); resultobj = Py_None;
4072 return resultobj;
4073 fail:
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_MilliSleep(PyObject *, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 unsigned long arg1 ;
4081 PyObject * obj0 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "milliseconds", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MilliSleep",kwnames,&obj0)) goto fail;
4087 {
4088 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4089 if (SWIG_arg_fail(1)) SWIG_fail;
4090 }
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 wxMilliSleep(arg1);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 Py_INCREF(Py_None); resultobj = Py_None;
4099 return resultobj;
4100 fail:
4101 return NULL;
4102 }
4103
4104
4105 static PyObject *_wrap_MicroSleep(PyObject *, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 unsigned long arg1 ;
4108 PyObject * obj0 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "microseconds", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MicroSleep",kwnames,&obj0)) goto fail;
4114 {
4115 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
4116 if (SWIG_arg_fail(1)) SWIG_fail;
4117 }
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 wxMicroSleep(arg1);
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 Py_INCREF(Py_None); resultobj = Py_None;
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_EnableTopLevelWindows(PyObject *, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 bool arg1 ;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "enable", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EnableTopLevelWindows",kwnames,&obj0)) goto fail;
4141 {
4142 arg1 = (bool)(SWIG_As_bool(obj0));
4143 if (SWIG_arg_fail(1)) SWIG_fail;
4144 }
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 wxEnableTopLevelWindows(arg1);
4148
4149 wxPyEndAllowThreads(__tstate);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 Py_INCREF(Py_None); resultobj = Py_None;
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 static PyObject *_wrap_StripMenuCodes(PyObject *, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxString *arg1 = 0 ;
4162 wxString result;
4163 bool temp1 = false ;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "in", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StripMenuCodes",kwnames,&obj0)) goto fail;
4170 {
4171 arg1 = wxString_in_helper(obj0);
4172 if (arg1 == NULL) SWIG_fail;
4173 temp1 = true;
4174 }
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = wxStripMenuCodes((wxString const &)*arg1);
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 {
4183 #if wxUSE_UNICODE
4184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4185 #else
4186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4187 #endif
4188 }
4189 {
4190 if (temp1)
4191 delete arg1;
4192 }
4193 return resultobj;
4194 fail:
4195 {
4196 if (temp1)
4197 delete arg1;
4198 }
4199 return NULL;
4200 }
4201
4202
4203 static PyObject *_wrap_GetEmailAddress(PyObject *, PyObject *args, PyObject *kwargs) {
4204 PyObject *resultobj;
4205 wxString result;
4206 char *kwnames[] = {
4207 NULL
4208 };
4209
4210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetEmailAddress",kwnames)) goto fail;
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 result = wxGetEmailAddress();
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 {
4219 #if wxUSE_UNICODE
4220 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4221 #else
4222 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4223 #endif
4224 }
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 static PyObject *_wrap_GetHostName(PyObject *, PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj;
4233 wxString result;
4234 char *kwnames[] = {
4235 NULL
4236 };
4237
4238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHostName",kwnames)) goto fail;
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = wxGetHostName();
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 {
4247 #if wxUSE_UNICODE
4248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4249 #else
4250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4251 #endif
4252 }
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_GetFullHostName(PyObject *, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxString result;
4262 char *kwnames[] = {
4263 NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetFullHostName",kwnames)) goto fail;
4267 {
4268 PyThreadState* __tstate = wxPyBeginAllowThreads();
4269 result = wxGetFullHostName();
4270
4271 wxPyEndAllowThreads(__tstate);
4272 if (PyErr_Occurred()) SWIG_fail;
4273 }
4274 {
4275 #if wxUSE_UNICODE
4276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4277 #else
4278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4279 #endif
4280 }
4281 return resultobj;
4282 fail:
4283 return NULL;
4284 }
4285
4286
4287 static PyObject *_wrap_GetUserId(PyObject *, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj;
4289 wxString result;
4290 char *kwnames[] = {
4291 NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserId",kwnames)) goto fail;
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 result = wxGetUserId();
4298
4299 wxPyEndAllowThreads(__tstate);
4300 if (PyErr_Occurred()) SWIG_fail;
4301 }
4302 {
4303 #if wxUSE_UNICODE
4304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4305 #else
4306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4307 #endif
4308 }
4309 return resultobj;
4310 fail:
4311 return NULL;
4312 }
4313
4314
4315 static PyObject *_wrap_GetUserName(PyObject *, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxString result;
4318 char *kwnames[] = {
4319 NULL
4320 };
4321
4322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUserName",kwnames)) goto fail;
4323 {
4324 PyThreadState* __tstate = wxPyBeginAllowThreads();
4325 result = wxGetUserName();
4326
4327 wxPyEndAllowThreads(__tstate);
4328 if (PyErr_Occurred()) SWIG_fail;
4329 }
4330 {
4331 #if wxUSE_UNICODE
4332 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4333 #else
4334 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4335 #endif
4336 }
4337 return resultobj;
4338 fail:
4339 return NULL;
4340 }
4341
4342
4343 static PyObject *_wrap_GetHomeDir(PyObject *, PyObject *args, PyObject *kwargs) {
4344 PyObject *resultobj;
4345 wxString result;
4346 char *kwnames[] = {
4347 NULL
4348 };
4349
4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetHomeDir",kwnames)) goto fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = wxGetHomeDir();
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 {
4359 #if wxUSE_UNICODE
4360 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4361 #else
4362 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4363 #endif
4364 }
4365 return resultobj;
4366 fail:
4367 return NULL;
4368 }
4369
4370
4371 static PyObject *_wrap_GetUserHome(PyObject *, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxString const &arg1_defvalue = wxPyEmptyString ;
4374 wxString *arg1 = (wxString *) &arg1_defvalue ;
4375 wxString result;
4376 bool temp1 = false ;
4377 PyObject * obj0 = 0 ;
4378 char *kwnames[] = {
4379 (char *) "user", NULL
4380 };
4381
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:GetUserHome",kwnames,&obj0)) goto fail;
4383 if (obj0) {
4384 {
4385 arg1 = wxString_in_helper(obj0);
4386 if (arg1 == NULL) SWIG_fail;
4387 temp1 = true;
4388 }
4389 }
4390 {
4391 PyThreadState* __tstate = wxPyBeginAllowThreads();
4392 result = wxGetUserHome((wxString const &)*arg1);
4393
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 {
4398 #if wxUSE_UNICODE
4399 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4400 #else
4401 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4402 #endif
4403 }
4404 {
4405 if (temp1)
4406 delete arg1;
4407 }
4408 return resultobj;
4409 fail:
4410 {
4411 if (temp1)
4412 delete arg1;
4413 }
4414 return NULL;
4415 }
4416
4417
4418 static PyObject *_wrap_GetProcessId(PyObject *, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 unsigned long result;
4421 char *kwnames[] = {
4422 NULL
4423 };
4424
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetProcessId",kwnames)) goto fail;
4426 {
4427 PyThreadState* __tstate = wxPyBeginAllowThreads();
4428 result = (unsigned long)wxGetProcessId();
4429
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 {
4434 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4435 }
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 static PyObject *_wrap_Trap(PyObject *, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 char *kwnames[] = {
4445 NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Trap",kwnames)) goto fail;
4449 {
4450 PyThreadState* __tstate = wxPyBeginAllowThreads();
4451 wxTrap();
4452
4453 wxPyEndAllowThreads(__tstate);
4454 if (PyErr_Occurred()) SWIG_fail;
4455 }
4456 Py_INCREF(Py_None); resultobj = Py_None;
4457 return resultobj;
4458 fail:
4459 return NULL;
4460 }
4461
4462
4463 static PyObject *_wrap_FileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 wxString const &arg1_defvalue = wxPyFileSelectorPromptStr ;
4466 wxString *arg1 = (wxString *) &arg1_defvalue ;
4467 wxString const &arg2_defvalue = wxPyEmptyString ;
4468 wxString *arg2 = (wxString *) &arg2_defvalue ;
4469 wxString const &arg3_defvalue = wxPyEmptyString ;
4470 wxString *arg3 = (wxString *) &arg3_defvalue ;
4471 wxString const &arg4_defvalue = wxPyEmptyString ;
4472 wxString *arg4 = (wxString *) &arg4_defvalue ;
4473 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
4474 wxString *arg5 = (wxString *) &arg5_defvalue ;
4475 int arg6 = (int) 0 ;
4476 wxWindow *arg7 = (wxWindow *) NULL ;
4477 int arg8 = (int) -1 ;
4478 int arg9 = (int) -1 ;
4479 wxString result;
4480 bool temp1 = false ;
4481 bool temp2 = false ;
4482 bool temp3 = false ;
4483 bool temp4 = false ;
4484 bool temp5 = false ;
4485 PyObject * obj0 = 0 ;
4486 PyObject * obj1 = 0 ;
4487 PyObject * obj2 = 0 ;
4488 PyObject * obj3 = 0 ;
4489 PyObject * obj4 = 0 ;
4490 PyObject * obj5 = 0 ;
4491 PyObject * obj6 = 0 ;
4492 PyObject * obj7 = 0 ;
4493 PyObject * obj8 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOOOOO:FileSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
4499 if (obj0) {
4500 {
4501 arg1 = wxString_in_helper(obj0);
4502 if (arg1 == NULL) SWIG_fail;
4503 temp1 = true;
4504 }
4505 }
4506 if (obj1) {
4507 {
4508 arg2 = wxString_in_helper(obj1);
4509 if (arg2 == NULL) SWIG_fail;
4510 temp2 = true;
4511 }
4512 }
4513 if (obj2) {
4514 {
4515 arg3 = wxString_in_helper(obj2);
4516 if (arg3 == NULL) SWIG_fail;
4517 temp3 = true;
4518 }
4519 }
4520 if (obj3) {
4521 {
4522 arg4 = wxString_in_helper(obj3);
4523 if (arg4 == NULL) SWIG_fail;
4524 temp4 = true;
4525 }
4526 }
4527 if (obj4) {
4528 {
4529 arg5 = wxString_in_helper(obj4);
4530 if (arg5 == NULL) SWIG_fail;
4531 temp5 = true;
4532 }
4533 }
4534 if (obj5) {
4535 {
4536 arg6 = (int)(SWIG_As_int(obj5));
4537 if (SWIG_arg_fail(6)) SWIG_fail;
4538 }
4539 }
4540 if (obj6) {
4541 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4542 if (SWIG_arg_fail(7)) SWIG_fail;
4543 }
4544 if (obj7) {
4545 {
4546 arg8 = (int)(SWIG_As_int(obj7));
4547 if (SWIG_arg_fail(8)) SWIG_fail;
4548 }
4549 }
4550 if (obj8) {
4551 {
4552 arg9 = (int)(SWIG_As_int(obj8));
4553 if (SWIG_arg_fail(9)) SWIG_fail;
4554 }
4555 }
4556 {
4557 if (!wxPyCheckForApp()) SWIG_fail;
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 result = wxFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,arg7,arg8,arg9);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 {
4565 #if wxUSE_UNICODE
4566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4567 #else
4568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4569 #endif
4570 }
4571 {
4572 if (temp1)
4573 delete arg1;
4574 }
4575 {
4576 if (temp2)
4577 delete arg2;
4578 }
4579 {
4580 if (temp3)
4581 delete arg3;
4582 }
4583 {
4584 if (temp4)
4585 delete arg4;
4586 }
4587 {
4588 if (temp5)
4589 delete arg5;
4590 }
4591 return resultobj;
4592 fail:
4593 {
4594 if (temp1)
4595 delete arg1;
4596 }
4597 {
4598 if (temp2)
4599 delete arg2;
4600 }
4601 {
4602 if (temp3)
4603 delete arg3;
4604 }
4605 {
4606 if (temp4)
4607 delete arg4;
4608 }
4609 {
4610 if (temp5)
4611 delete arg5;
4612 }
4613 return NULL;
4614 }
4615
4616
4617 static PyObject *_wrap_LoadFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4618 PyObject *resultobj;
4619 wxString *arg1 = 0 ;
4620 wxString *arg2 = 0 ;
4621 wxString const &arg3_defvalue = wxPyEmptyString ;
4622 wxString *arg3 = (wxString *) &arg3_defvalue ;
4623 wxWindow *arg4 = (wxWindow *) NULL ;
4624 wxString result;
4625 bool temp1 = false ;
4626 bool temp2 = false ;
4627 bool temp3 = false ;
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 PyObject * obj2 = 0 ;
4631 PyObject * obj3 = 0 ;
4632 char *kwnames[] = {
4633 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4634 };
4635
4636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:LoadFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4637 {
4638 arg1 = wxString_in_helper(obj0);
4639 if (arg1 == NULL) SWIG_fail;
4640 temp1 = true;
4641 }
4642 {
4643 arg2 = wxString_in_helper(obj1);
4644 if (arg2 == NULL) SWIG_fail;
4645 temp2 = true;
4646 }
4647 if (obj2) {
4648 {
4649 arg3 = wxString_in_helper(obj2);
4650 if (arg3 == NULL) SWIG_fail;
4651 temp3 = true;
4652 }
4653 }
4654 if (obj3) {
4655 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4656 if (SWIG_arg_fail(4)) SWIG_fail;
4657 }
4658 {
4659 if (!wxPyCheckForApp()) SWIG_fail;
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 result = wxLoadFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 {
4667 #if wxUSE_UNICODE
4668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4669 #else
4670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4671 #endif
4672 }
4673 {
4674 if (temp1)
4675 delete arg1;
4676 }
4677 {
4678 if (temp2)
4679 delete arg2;
4680 }
4681 {
4682 if (temp3)
4683 delete arg3;
4684 }
4685 return resultobj;
4686 fail:
4687 {
4688 if (temp1)
4689 delete arg1;
4690 }
4691 {
4692 if (temp2)
4693 delete arg2;
4694 }
4695 {
4696 if (temp3)
4697 delete arg3;
4698 }
4699 return NULL;
4700 }
4701
4702
4703 static PyObject *_wrap_SaveFileSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4704 PyObject *resultobj;
4705 wxString *arg1 = 0 ;
4706 wxString *arg2 = 0 ;
4707 wxString const &arg3_defvalue = wxPyEmptyString ;
4708 wxString *arg3 = (wxString *) &arg3_defvalue ;
4709 wxWindow *arg4 = (wxWindow *) NULL ;
4710 wxString result;
4711 bool temp1 = false ;
4712 bool temp2 = false ;
4713 bool temp3 = false ;
4714 PyObject * obj0 = 0 ;
4715 PyObject * obj1 = 0 ;
4716 PyObject * obj2 = 0 ;
4717 PyObject * obj3 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:SaveFileSelector",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4723 {
4724 arg1 = wxString_in_helper(obj0);
4725 if (arg1 == NULL) SWIG_fail;
4726 temp1 = true;
4727 }
4728 {
4729 arg2 = wxString_in_helper(obj1);
4730 if (arg2 == NULL) SWIG_fail;
4731 temp2 = true;
4732 }
4733 if (obj2) {
4734 {
4735 arg3 = wxString_in_helper(obj2);
4736 if (arg3 == NULL) SWIG_fail;
4737 temp3 = true;
4738 }
4739 }
4740 if (obj3) {
4741 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4742 if (SWIG_arg_fail(4)) SWIG_fail;
4743 }
4744 {
4745 if (!wxPyCheckForApp()) SWIG_fail;
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = wxSaveFileSelector((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 {
4753 #if wxUSE_UNICODE
4754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4755 #else
4756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4757 #endif
4758 }
4759 {
4760 if (temp1)
4761 delete arg1;
4762 }
4763 {
4764 if (temp2)
4765 delete arg2;
4766 }
4767 {
4768 if (temp3)
4769 delete arg3;
4770 }
4771 return resultobj;
4772 fail:
4773 {
4774 if (temp1)
4775 delete arg1;
4776 }
4777 {
4778 if (temp2)
4779 delete arg2;
4780 }
4781 {
4782 if (temp3)
4783 delete arg3;
4784 }
4785 return NULL;
4786 }
4787
4788
4789 static PyObject *_wrap_DirSelector(PyObject *, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxString const &arg1_defvalue = wxPyDirSelectorPromptStr ;
4792 wxString *arg1 = (wxString *) &arg1_defvalue ;
4793 wxString const &arg2_defvalue = wxPyEmptyString ;
4794 wxString *arg2 = (wxString *) &arg2_defvalue ;
4795 long arg3 = (long) wxDD_DEFAULT_STYLE ;
4796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4798 wxWindow *arg5 = (wxWindow *) NULL ;
4799 wxString result;
4800 bool temp1 = false ;
4801 bool temp2 = false ;
4802 wxPoint temp4 ;
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 PyObject * obj2 = 0 ;
4806 PyObject * obj3 = 0 ;
4807 PyObject * obj4 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:DirSelector",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4813 if (obj0) {
4814 {
4815 arg1 = wxString_in_helper(obj0);
4816 if (arg1 == NULL) SWIG_fail;
4817 temp1 = true;
4818 }
4819 }
4820 if (obj1) {
4821 {
4822 arg2 = wxString_in_helper(obj1);
4823 if (arg2 == NULL) SWIG_fail;
4824 temp2 = true;
4825 }
4826 }
4827 if (obj2) {
4828 {
4829 arg3 = (long)(SWIG_As_long(obj2));
4830 if (SWIG_arg_fail(3)) SWIG_fail;
4831 }
4832 }
4833 if (obj3) {
4834 {
4835 arg4 = &temp4;
4836 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4837 }
4838 }
4839 if (obj4) {
4840 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4841 if (SWIG_arg_fail(5)) SWIG_fail;
4842 }
4843 {
4844 if (!wxPyCheckForApp()) SWIG_fail;
4845 PyThreadState* __tstate = wxPyBeginAllowThreads();
4846 result = wxDirSelector((wxString const &)*arg1,(wxString const &)*arg2,arg3,(wxPoint const &)*arg4,arg5);
4847
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 {
4852 #if wxUSE_UNICODE
4853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4854 #else
4855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4856 #endif
4857 }
4858 {
4859 if (temp1)
4860 delete arg1;
4861 }
4862 {
4863 if (temp2)
4864 delete arg2;
4865 }
4866 return resultobj;
4867 fail:
4868 {
4869 if (temp1)
4870 delete arg1;
4871 }
4872 {
4873 if (temp2)
4874 delete arg2;
4875 }
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_GetTextFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxString *arg1 = 0 ;
4883 wxString const &arg2_defvalue = wxPyEmptyString ;
4884 wxString *arg2 = (wxString *) &arg2_defvalue ;
4885 wxString const &arg3_defvalue = wxPyEmptyString ;
4886 wxString *arg3 = (wxString *) &arg3_defvalue ;
4887 wxWindow *arg4 = (wxWindow *) NULL ;
4888 int arg5 = (int) -1 ;
4889 int arg6 = (int) -1 ;
4890 bool arg7 = (bool) true ;
4891 wxString result;
4892 bool temp1 = false ;
4893 bool temp2 = false ;
4894 bool temp3 = false ;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 PyObject * obj2 = 0 ;
4898 PyObject * obj3 = 0 ;
4899 PyObject * obj4 = 0 ;
4900 PyObject * obj5 = 0 ;
4901 PyObject * obj6 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:GetTextFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4907 {
4908 arg1 = wxString_in_helper(obj0);
4909 if (arg1 == NULL) SWIG_fail;
4910 temp1 = true;
4911 }
4912 if (obj1) {
4913 {
4914 arg2 = wxString_in_helper(obj1);
4915 if (arg2 == NULL) SWIG_fail;
4916 temp2 = true;
4917 }
4918 }
4919 if (obj2) {
4920 {
4921 arg3 = wxString_in_helper(obj2);
4922 if (arg3 == NULL) SWIG_fail;
4923 temp3 = true;
4924 }
4925 }
4926 if (obj3) {
4927 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4928 if (SWIG_arg_fail(4)) SWIG_fail;
4929 }
4930 if (obj4) {
4931 {
4932 arg5 = (int)(SWIG_As_int(obj4));
4933 if (SWIG_arg_fail(5)) SWIG_fail;
4934 }
4935 }
4936 if (obj5) {
4937 {
4938 arg6 = (int)(SWIG_As_int(obj5));
4939 if (SWIG_arg_fail(6)) SWIG_fail;
4940 }
4941 }
4942 if (obj6) {
4943 {
4944 arg7 = (bool)(SWIG_As_bool(obj6));
4945 if (SWIG_arg_fail(7)) SWIG_fail;
4946 }
4947 }
4948 {
4949 if (!wxPyCheckForApp()) SWIG_fail;
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 result = wxGetTextFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7);
4952
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 {
4957 #if wxUSE_UNICODE
4958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4959 #else
4960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4961 #endif
4962 }
4963 {
4964 if (temp1)
4965 delete arg1;
4966 }
4967 {
4968 if (temp2)
4969 delete arg2;
4970 }
4971 {
4972 if (temp3)
4973 delete arg3;
4974 }
4975 return resultobj;
4976 fail:
4977 {
4978 if (temp1)
4979 delete arg1;
4980 }
4981 {
4982 if (temp2)
4983 delete arg2;
4984 }
4985 {
4986 if (temp3)
4987 delete arg3;
4988 }
4989 return NULL;
4990 }
4991
4992
4993 static PyObject *_wrap_GetPasswordFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxString *arg1 = 0 ;
4996 wxString const &arg2_defvalue = wxPyEmptyString ;
4997 wxString *arg2 = (wxString *) &arg2_defvalue ;
4998 wxString const &arg3_defvalue = wxPyEmptyString ;
4999 wxString *arg3 = (wxString *) &arg3_defvalue ;
5000 wxWindow *arg4 = (wxWindow *) NULL ;
5001 wxString result;
5002 bool temp1 = false ;
5003 bool temp2 = false ;
5004 bool temp3 = false ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj1 = 0 ;
5007 PyObject * obj2 = 0 ;
5008 PyObject * obj3 = 0 ;
5009 char *kwnames[] = {
5010 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
5011 };
5012
5013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:GetPasswordFromUser",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5014 {
5015 arg1 = wxString_in_helper(obj0);
5016 if (arg1 == NULL) SWIG_fail;
5017 temp1 = true;
5018 }
5019 if (obj1) {
5020 {
5021 arg2 = wxString_in_helper(obj1);
5022 if (arg2 == NULL) SWIG_fail;
5023 temp2 = true;
5024 }
5025 }
5026 if (obj2) {
5027 {
5028 arg3 = wxString_in_helper(obj2);
5029 if (arg3 == NULL) SWIG_fail;
5030 temp3 = true;
5031 }
5032 }
5033 if (obj3) {
5034 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5035 if (SWIG_arg_fail(4)) SWIG_fail;
5036 }
5037 {
5038 if (!wxPyCheckForApp()) SWIG_fail;
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = wxGetPasswordFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046 #if wxUSE_UNICODE
5047 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5048 #else
5049 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5050 #endif
5051 }
5052 {
5053 if (temp1)
5054 delete arg1;
5055 }
5056 {
5057 if (temp2)
5058 delete arg2;
5059 }
5060 {
5061 if (temp3)
5062 delete arg3;
5063 }
5064 return resultobj;
5065 fail:
5066 {
5067 if (temp1)
5068 delete arg1;
5069 }
5070 {
5071 if (temp2)
5072 delete arg2;
5073 }
5074 {
5075 if (temp3)
5076 delete arg3;
5077 }
5078 return NULL;
5079 }
5080
5081
5082 static PyObject *_wrap_GetSingleChoice(PyObject *, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxString *arg1 = 0 ;
5085 wxString *arg2 = 0 ;
5086 int arg3 ;
5087 wxString *arg4 = (wxString *) 0 ;
5088 wxWindow *arg5 = (wxWindow *) NULL ;
5089 int arg6 = (int) -1 ;
5090 int arg7 = (int) -1 ;
5091 bool arg8 = (bool) true ;
5092 int arg9 = (int) 150 ;
5093 int arg10 = (int) 200 ;
5094 wxString result;
5095 bool temp1 = false ;
5096 bool temp2 = false ;
5097 PyObject * obj0 = 0 ;
5098 PyObject * obj1 = 0 ;
5099 PyObject * obj2 = 0 ;
5100 PyObject * obj3 = 0 ;
5101 PyObject * obj4 = 0 ;
5102 PyObject * obj5 = 0 ;
5103 PyObject * obj6 = 0 ;
5104 PyObject * obj7 = 0 ;
5105 PyObject * obj8 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5111 {
5112 arg1 = wxString_in_helper(obj0);
5113 if (arg1 == NULL) SWIG_fail;
5114 temp1 = true;
5115 }
5116 {
5117 arg2 = wxString_in_helper(obj1);
5118 if (arg2 == NULL) SWIG_fail;
5119 temp2 = true;
5120 }
5121 {
5122 arg3 = PyList_Size(obj2);
5123 arg4 = wxString_LIST_helper(obj2);
5124 if (arg4 == NULL) SWIG_fail;
5125 }
5126 if (obj3) {
5127 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5128 if (SWIG_arg_fail(5)) SWIG_fail;
5129 }
5130 if (obj4) {
5131 {
5132 arg6 = (int)(SWIG_As_int(obj4));
5133 if (SWIG_arg_fail(6)) SWIG_fail;
5134 }
5135 }
5136 if (obj5) {
5137 {
5138 arg7 = (int)(SWIG_As_int(obj5));
5139 if (SWIG_arg_fail(7)) SWIG_fail;
5140 }
5141 }
5142 if (obj6) {
5143 {
5144 arg8 = (bool)(SWIG_As_bool(obj6));
5145 if (SWIG_arg_fail(8)) SWIG_fail;
5146 }
5147 }
5148 if (obj7) {
5149 {
5150 arg9 = (int)(SWIG_As_int(obj7));
5151 if (SWIG_arg_fail(9)) SWIG_fail;
5152 }
5153 }
5154 if (obj8) {
5155 {
5156 arg10 = (int)(SWIG_As_int(obj8));
5157 if (SWIG_arg_fail(10)) SWIG_fail;
5158 }
5159 }
5160 {
5161 if (!wxPyCheckForApp()) SWIG_fail;
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 result = wxGetSingleChoice((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 {
5169 #if wxUSE_UNICODE
5170 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5171 #else
5172 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5173 #endif
5174 }
5175 {
5176 if (temp1)
5177 delete arg1;
5178 }
5179 {
5180 if (temp2)
5181 delete arg2;
5182 }
5183 {
5184 if (arg4) delete [] arg4;
5185 }
5186 return resultobj;
5187 fail:
5188 {
5189 if (temp1)
5190 delete arg1;
5191 }
5192 {
5193 if (temp2)
5194 delete arg2;
5195 }
5196 {
5197 if (arg4) delete [] arg4;
5198 }
5199 return NULL;
5200 }
5201
5202
5203 static PyObject *_wrap_GetSingleChoiceIndex(PyObject *, PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj;
5205 wxString *arg1 = 0 ;
5206 wxString *arg2 = 0 ;
5207 int arg3 ;
5208 wxString *arg4 = (wxString *) 0 ;
5209 wxWindow *arg5 = (wxWindow *) NULL ;
5210 int arg6 = (int) -1 ;
5211 int arg7 = (int) -1 ;
5212 bool arg8 = (bool) true ;
5213 int arg9 = (int) 150 ;
5214 int arg10 = (int) 200 ;
5215 int result;
5216 bool temp1 = false ;
5217 bool temp2 = false ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 PyObject * obj2 = 0 ;
5221 PyObject * obj3 = 0 ;
5222 PyObject * obj4 = 0 ;
5223 PyObject * obj5 = 0 ;
5224 PyObject * obj6 = 0 ;
5225 PyObject * obj7 = 0 ;
5226 PyObject * obj8 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5232 {
5233 arg1 = wxString_in_helper(obj0);
5234 if (arg1 == NULL) SWIG_fail;
5235 temp1 = true;
5236 }
5237 {
5238 arg2 = wxString_in_helper(obj1);
5239 if (arg2 == NULL) SWIG_fail;
5240 temp2 = true;
5241 }
5242 {
5243 arg3 = PyList_Size(obj2);
5244 arg4 = wxString_LIST_helper(obj2);
5245 if (arg4 == NULL) SWIG_fail;
5246 }
5247 if (obj3) {
5248 SWIG_Python_ConvertPtr(obj3, (void **)&arg5, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5249 if (SWIG_arg_fail(5)) SWIG_fail;
5250 }
5251 if (obj4) {
5252 {
5253 arg6 = (int)(SWIG_As_int(obj4));
5254 if (SWIG_arg_fail(6)) SWIG_fail;
5255 }
5256 }
5257 if (obj5) {
5258 {
5259 arg7 = (int)(SWIG_As_int(obj5));
5260 if (SWIG_arg_fail(7)) SWIG_fail;
5261 }
5262 }
5263 if (obj6) {
5264 {
5265 arg8 = (bool)(SWIG_As_bool(obj6));
5266 if (SWIG_arg_fail(8)) SWIG_fail;
5267 }
5268 }
5269 if (obj7) {
5270 {
5271 arg9 = (int)(SWIG_As_int(obj7));
5272 if (SWIG_arg_fail(9)) SWIG_fail;
5273 }
5274 }
5275 if (obj8) {
5276 {
5277 arg10 = (int)(SWIG_As_int(obj8));
5278 if (SWIG_arg_fail(10)) SWIG_fail;
5279 }
5280 }
5281 {
5282 if (!wxPyCheckForApp()) SWIG_fail;
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 result = (int)wxGetSingleChoiceIndex((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10);
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 {
5290 resultobj = SWIG_From_int((int)(result));
5291 }
5292 {
5293 if (temp1)
5294 delete arg1;
5295 }
5296 {
5297 if (temp2)
5298 delete arg2;
5299 }
5300 {
5301 if (arg4) delete [] arg4;
5302 }
5303 return resultobj;
5304 fail:
5305 {
5306 if (temp1)
5307 delete arg1;
5308 }
5309 {
5310 if (temp2)
5311 delete arg2;
5312 }
5313 {
5314 if (arg4) delete [] arg4;
5315 }
5316 return NULL;
5317 }
5318
5319
5320 static PyObject *_wrap_MessageBox(PyObject *, PyObject *args, PyObject *kwargs) {
5321 PyObject *resultobj;
5322 wxString *arg1 = 0 ;
5323 wxString const &arg2_defvalue = wxPyEmptyString ;
5324 wxString *arg2 = (wxString *) &arg2_defvalue ;
5325 int arg3 = (int) wxOK|wxCENTRE ;
5326 wxWindow *arg4 = (wxWindow *) NULL ;
5327 int arg5 = (int) -1 ;
5328 int arg6 = (int) -1 ;
5329 int result;
5330 bool temp1 = false ;
5331 bool temp2 = false ;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 PyObject * obj2 = 0 ;
5335 PyObject * obj3 = 0 ;
5336 PyObject * obj4 = 0 ;
5337 PyObject * obj5 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:MessageBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5343 {
5344 arg1 = wxString_in_helper(obj0);
5345 if (arg1 == NULL) SWIG_fail;
5346 temp1 = true;
5347 }
5348 if (obj1) {
5349 {
5350 arg2 = wxString_in_helper(obj1);
5351 if (arg2 == NULL) SWIG_fail;
5352 temp2 = true;
5353 }
5354 }
5355 if (obj2) {
5356 {
5357 arg3 = (int)(SWIG_As_int(obj2));
5358 if (SWIG_arg_fail(3)) SWIG_fail;
5359 }
5360 }
5361 if (obj3) {
5362 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5363 if (SWIG_arg_fail(4)) SWIG_fail;
5364 }
5365 if (obj4) {
5366 {
5367 arg5 = (int)(SWIG_As_int(obj4));
5368 if (SWIG_arg_fail(5)) SWIG_fail;
5369 }
5370 }
5371 if (obj5) {
5372 {
5373 arg6 = (int)(SWIG_As_int(obj5));
5374 if (SWIG_arg_fail(6)) SWIG_fail;
5375 }
5376 }
5377 {
5378 if (!wxPyCheckForApp()) SWIG_fail;
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 result = (int)wxMessageBox((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5,arg6);
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 {
5386 resultobj = SWIG_From_int((int)(result));
5387 }
5388 {
5389 if (temp1)
5390 delete arg1;
5391 }
5392 {
5393 if (temp2)
5394 delete arg2;
5395 }
5396 return resultobj;
5397 fail:
5398 {
5399 if (temp1)
5400 delete arg1;
5401 }
5402 {
5403 if (temp2)
5404 delete arg2;
5405 }
5406 return NULL;
5407 }
5408
5409
5410 static PyObject *_wrap_GetNumberFromUser(PyObject *, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxString *arg1 = 0 ;
5413 wxString *arg2 = 0 ;
5414 wxString *arg3 = 0 ;
5415 long arg4 ;
5416 long arg5 = (long) 0 ;
5417 long arg6 = (long) 100 ;
5418 wxWindow *arg7 = (wxWindow *) NULL ;
5419 wxPoint const &arg8_defvalue = wxDefaultPosition ;
5420 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
5421 long result;
5422 bool temp1 = false ;
5423 bool temp2 = false ;
5424 bool temp3 = false ;
5425 wxPoint temp8 ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 PyObject * obj2 = 0 ;
5429 PyObject * obj3 = 0 ;
5430 PyObject * obj4 = 0 ;
5431 PyObject * obj5 = 0 ;
5432 PyObject * obj6 = 0 ;
5433 PyObject * obj7 = 0 ;
5434 char *kwnames[] = {
5435 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
5436 };
5437
5438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5439 {
5440 arg1 = wxString_in_helper(obj0);
5441 if (arg1 == NULL) SWIG_fail;
5442 temp1 = true;
5443 }
5444 {
5445 arg2 = wxString_in_helper(obj1);
5446 if (arg2 == NULL) SWIG_fail;
5447 temp2 = true;
5448 }
5449 {
5450 arg3 = wxString_in_helper(obj2);
5451 if (arg3 == NULL) SWIG_fail;
5452 temp3 = true;
5453 }
5454 {
5455 arg4 = (long)(SWIG_As_long(obj3));
5456 if (SWIG_arg_fail(4)) SWIG_fail;
5457 }
5458 if (obj4) {
5459 {
5460 arg5 = (long)(SWIG_As_long(obj4));
5461 if (SWIG_arg_fail(5)) SWIG_fail;
5462 }
5463 }
5464 if (obj5) {
5465 {
5466 arg6 = (long)(SWIG_As_long(obj5));
5467 if (SWIG_arg_fail(6)) SWIG_fail;
5468 }
5469 }
5470 if (obj6) {
5471 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5472 if (SWIG_arg_fail(7)) SWIG_fail;
5473 }
5474 if (obj7) {
5475 {
5476 arg8 = &temp8;
5477 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
5478 }
5479 }
5480 {
5481 if (!wxPyCheckForApp()) SWIG_fail;
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (long)wxGetNumberFromUser((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) SWIG_fail;
5487 }
5488 {
5489 resultobj = SWIG_From_long((long)(result));
5490 }
5491 {
5492 if (temp1)
5493 delete arg1;
5494 }
5495 {
5496 if (temp2)
5497 delete arg2;
5498 }
5499 {
5500 if (temp3)
5501 delete arg3;
5502 }
5503 return resultobj;
5504 fail:
5505 {
5506 if (temp1)
5507 delete arg1;
5508 }
5509 {
5510 if (temp2)
5511 delete arg2;
5512 }
5513 {
5514 if (temp3)
5515 delete arg3;
5516 }
5517 return NULL;
5518 }
5519
5520
5521 static PyObject *_wrap_ColourDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 bool result;
5524 char *kwnames[] = {
5525 NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ColourDisplay",kwnames)) goto fail;
5529 {
5530 if (!wxPyCheckForApp()) SWIG_fail;
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (bool)wxColourDisplay();
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5539 }
5540 return resultobj;
5541 fail:
5542 return NULL;
5543 }
5544
5545
5546 static PyObject *_wrap_DisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5547 PyObject *resultobj;
5548 int result;
5549 char *kwnames[] = {
5550 NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplayDepth",kwnames)) goto fail;
5554 {
5555 if (!wxPyCheckForApp()) SWIG_fail;
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 result = (int)wxDisplayDepth();
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 {
5563 resultobj = SWIG_From_int((int)(result));
5564 }
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_GetDisplayDepth(PyObject *, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 int result;
5574 char *kwnames[] = {
5575 NULL
5576 };
5577
5578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplayDepth",kwnames)) goto fail;
5579 {
5580 if (!wxPyCheckForApp()) SWIG_fail;
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (int)wxGetDisplayDepth();
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 {
5588 resultobj = SWIG_From_int((int)(result));
5589 }
5590 return resultobj;
5591 fail:
5592 return NULL;
5593 }
5594
5595
5596 static PyObject *_wrap_DisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
5597 PyObject *resultobj;
5598 int *arg1 = (int *) 0 ;
5599 int *arg2 = (int *) 0 ;
5600 int temp1 ;
5601 int res1 = 0 ;
5602 int temp2 ;
5603 int res2 = 0 ;
5604 char *kwnames[] = {
5605 NULL
5606 };
5607
5608 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5609 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySize",kwnames)) goto fail;
5611 {
5612 if (!wxPyCheckForApp()) SWIG_fail;
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 wxDisplaySize(arg1,arg2);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5621 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5622 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5623 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_GetDisplaySize(PyObject *, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxSize result;
5633 char *kwnames[] = {
5634 NULL
5635 };
5636
5637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySize",kwnames)) goto fail;
5638 {
5639 if (!wxPyCheckForApp()) SWIG_fail;
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = wxGetDisplaySize();
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 wxSize * resultptr;
5648 resultptr = new wxSize((wxSize &)(result));
5649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5650 }
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_DisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 int *arg1 = (int *) 0 ;
5660 int *arg2 = (int *) 0 ;
5661 int temp1 ;
5662 int res1 = 0 ;
5663 int temp2 ;
5664 int res2 = 0 ;
5665 char *kwnames[] = {
5666 NULL
5667 };
5668
5669 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5670 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DisplaySizeMM",kwnames)) goto fail;
5672 {
5673 if (!wxPyCheckForApp()) SWIG_fail;
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 wxDisplaySizeMM(arg1,arg2);
5676
5677 wxPyEndAllowThreads(__tstate);
5678 if (PyErr_Occurred()) SWIG_fail;
5679 }
5680 Py_INCREF(Py_None); resultobj = Py_None;
5681 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5682 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5683 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5684 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 static PyObject *_wrap_GetDisplaySizeMM(PyObject *, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxSize result;
5694 char *kwnames[] = {
5695 NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetDisplaySizeMM",kwnames)) goto fail;
5699 {
5700 if (!wxPyCheckForApp()) SWIG_fail;
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = wxGetDisplaySizeMM();
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 {
5708 wxSize * resultptr;
5709 resultptr = new wxSize((wxSize &)(result));
5710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 static PyObject *_wrap_ClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
5719 PyObject *resultobj;
5720 int *arg1 = (int *) 0 ;
5721 int *arg2 = (int *) 0 ;
5722 int *arg3 = (int *) 0 ;
5723 int *arg4 = (int *) 0 ;
5724 int temp1 ;
5725 int res1 = 0 ;
5726 int temp2 ;
5727 int res2 = 0 ;
5728 int temp3 ;
5729 int res3 = 0 ;
5730 int temp4 ;
5731 int res4 = 0 ;
5732 char *kwnames[] = {
5733 NULL
5734 };
5735
5736 arg1 = &temp1; res1 = SWIG_NEWOBJ;
5737 arg2 = &temp2; res2 = SWIG_NEWOBJ;
5738 arg3 = &temp3; res3 = SWIG_NEWOBJ;
5739 arg4 = &temp4; res4 = SWIG_NEWOBJ;
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ClientDisplayRect",kwnames)) goto fail;
5741 {
5742 if (!wxPyCheckForApp()) SWIG_fail;
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 wxClientDisplayRect(arg1,arg2,arg3,arg4);
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 Py_INCREF(Py_None); resultobj = Py_None;
5750 resultobj = t_output_helper(resultobj, ((res1 == SWIG_NEWOBJ) ?
5751 SWIG_From_int((*arg1)) : SWIG_NewPointerObj((void*)(arg1), SWIGTYPE_p_int, 0)));
5752 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
5753 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
5754 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
5755 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
5756 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
5757 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 static PyObject *_wrap_GetClientDisplayRect(PyObject *, PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj;
5766 wxRect result;
5767 char *kwnames[] = {
5768 NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetClientDisplayRect",kwnames)) goto fail;
5772 {
5773 if (!wxPyCheckForApp()) SWIG_fail;
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 result = wxGetClientDisplayRect();
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 {
5781 wxRect * resultptr;
5782 resultptr = new wxRect((wxRect &)(result));
5783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
5784 }
5785 return resultobj;
5786 fail:
5787 return NULL;
5788 }
5789
5790
5791 static PyObject *_wrap_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5792 PyObject *resultobj;
5793 wxCursor *arg1 = 0 ;
5794 PyObject * obj0 = 0 ;
5795 char *kwnames[] = {
5796 (char *) "cursor", NULL
5797 };
5798
5799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursor",kwnames,&obj0)) goto fail;
5800 {
5801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(1)) SWIG_fail;
5803 if (arg1 == NULL) {
5804 SWIG_null_ref("wxCursor");
5805 }
5806 if (SWIG_arg_fail(1)) SWIG_fail;
5807 }
5808 {
5809 if (!wxPyCheckForApp()) SWIG_fail;
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 wxSetCursor(*arg1);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 Py_INCREF(Py_None); resultobj = Py_None;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820 }
5821
5822
5823 static PyObject *_wrap_BeginBusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
5824 PyObject *resultobj;
5825 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
5826 PyObject * obj0 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "cursor", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BeginBusyCursor",kwnames,&obj0)) goto fail;
5832 if (obj0) {
5833 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
5834 if (SWIG_arg_fail(1)) SWIG_fail;
5835 }
5836 {
5837 if (!wxPyCheckForApp()) SWIG_fail;
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 wxBeginBusyCursor(arg1);
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 Py_INCREF(Py_None); resultobj = Py_None;
5845 return resultobj;
5846 fail:
5847 return NULL;
5848 }
5849
5850
5851 static PyObject *_wrap_GetActiveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 wxWindow *result;
5854 char *kwnames[] = {
5855 NULL
5856 };
5857
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetActiveWindow",kwnames)) goto fail;
5859 {
5860 if (!wxPyCheckForApp()) SWIG_fail;
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 result = (wxWindow *)wxGetActiveWindow();
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 {
5868 resultobj = wxPyMake_wxObject(result, 0);
5869 }
5870 return resultobj;
5871 fail:
5872 return NULL;
5873 }
5874
5875
5876 static PyObject *_wrap_GenericFindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj;
5878 wxPoint *arg1 = 0 ;
5879 wxWindow *result;
5880 wxPoint temp1 ;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "pt", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericFindWindowAtPoint",kwnames,&obj0)) goto fail;
5887 {
5888 arg1 = &temp1;
5889 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5890 }
5891 {
5892 if (!wxPyCheckForApp()) SWIG_fail;
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 result = (wxWindow *)wxGenericFindWindowAtPoint((wxPoint const &)*arg1);
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 {
5900 resultobj = wxPyMake_wxObject(result, 0);
5901 }
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_FindWindowAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxPoint *arg1 = 0 ;
5911 wxWindow *result;
5912 wxPoint temp1 ;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "pt", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindWindowAtPoint",kwnames,&obj0)) goto fail;
5919 {
5920 arg1 = &temp1;
5921 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
5922 }
5923 {
5924 if (!wxPyCheckForApp()) SWIG_fail;
5925 PyThreadState* __tstate = wxPyBeginAllowThreads();
5926 result = (wxWindow *)wxFindWindowAtPoint((wxPoint const &)*arg1);
5927
5928 wxPyEndAllowThreads(__tstate);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
5931 {
5932 resultobj = wxPyMake_wxObject(result, 0);
5933 }
5934 return resultobj;
5935 fail:
5936 return NULL;
5937 }
5938
5939
5940 static PyObject *_wrap_GetTopLevelParent(PyObject *, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 wxWindow *arg1 = (wxWindow *) 0 ;
5943 wxWindow *result;
5944 PyObject * obj0 = 0 ;
5945 char *kwnames[] = {
5946 (char *) "win", NULL
5947 };
5948
5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetTopLevelParent",kwnames,&obj0)) goto fail;
5950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5951 if (SWIG_arg_fail(1)) SWIG_fail;
5952 {
5953 if (!wxPyCheckForApp()) SWIG_fail;
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (wxWindow *)wxGetTopLevelParent(arg1);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 {
5961 resultobj = wxPyMake_wxObject(result, 0);
5962 }
5963 return resultobj;
5964 fail:
5965 return NULL;
5966 }
5967
5968
5969 static PyObject *_wrap_GetKeyState(PyObject *, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxKeyCode arg1 ;
5972 bool result;
5973 PyObject * obj0 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "key", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetKeyState",kwnames,&obj0)) goto fail;
5979 {
5980 arg1 = (wxKeyCode)(SWIG_As_int(obj0));
5981 if (SWIG_arg_fail(1)) SWIG_fail;
5982 }
5983 {
5984 if (!wxPyCheckForApp()) SWIG_fail;
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (bool)wxGetKeyState((wxKeyCode )arg1);
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
5991 {
5992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5993 }
5994 return resultobj;
5995 fail:
5996 return NULL;
5997 }
5998
5999
6000 static PyObject *_wrap_WakeUpMainThread(PyObject *, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 char *kwnames[] = {
6003 NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpMainThread",kwnames)) goto fail;
6007 {
6008 if (!wxPyCheckForApp()) SWIG_fail;
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 wxWakeUpMainThread();
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 Py_INCREF(Py_None); resultobj = Py_None;
6016 return resultobj;
6017 fail:
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_MutexGuiEnter(PyObject *, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 char *kwnames[] = {
6025 NULL
6026 };
6027
6028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiEnter",kwnames)) goto fail;
6029 {
6030 if (!wxPyCheckForApp()) SWIG_fail;
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 wxMutexGuiEnter();
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 Py_INCREF(Py_None); resultobj = Py_None;
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_MutexGuiLeave(PyObject *, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 char *kwnames[] = {
6047 NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MutexGuiLeave",kwnames)) goto fail;
6051 {
6052 if (!wxPyCheckForApp()) SWIG_fail;
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 wxMutexGuiLeave();
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 Py_INCREF(Py_None); resultobj = Py_None;
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 static PyObject *_wrap_new_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxMutexGuiLocker *result;
6069 char *kwnames[] = {
6070 NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MutexGuiLocker",kwnames)) goto fail;
6074 {
6075 if (!wxPyCheckForApp()) SWIG_fail;
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (wxMutexGuiLocker *)new wxMutexGuiLocker();
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMutexGuiLocker, 1);
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_delete_MutexGuiLocker(PyObject *, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj;
6091 wxMutexGuiLocker *arg1 = (wxMutexGuiLocker *) 0 ;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MutexGuiLocker",kwnames,&obj0)) goto fail;
6098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMutexGuiLocker, SWIG_POINTER_EXCEPTION | 0);
6099 if (SWIG_arg_fail(1)) SWIG_fail;
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 delete arg1;
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 Py_INCREF(Py_None); resultobj = Py_None;
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 static PyObject * MutexGuiLocker_swigregister(PyObject *, PyObject *args) {
6115 PyObject *obj;
6116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6117 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker, obj);
6118 Py_INCREF(obj);
6119 return Py_BuildValue((char *)"");
6120 }
6121 static PyObject *_wrap_Thread_IsMain(PyObject *, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 bool result;
6124 char *kwnames[] = {
6125 NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Thread_IsMain",kwnames)) goto fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (bool)wxThread_IsMain();
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 {
6137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6138 }
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject *_wrap_new_ToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
6146 PyObject *resultobj;
6147 wxString *arg1 = 0 ;
6148 wxToolTip *result;
6149 bool temp1 = false ;
6150 PyObject * obj0 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "tip", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ToolTip",kwnames,&obj0)) goto fail;
6156 {
6157 arg1 = wxString_in_helper(obj0);
6158 if (arg1 == NULL) SWIG_fail;
6159 temp1 = true;
6160 }
6161 {
6162 if (!wxPyCheckForApp()) SWIG_fail;
6163 PyThreadState* __tstate = wxPyBeginAllowThreads();
6164 result = (wxToolTip *)new wxToolTip((wxString const &)*arg1);
6165
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 {
6170 resultobj = wxPyMake_wxObject(result, 1);
6171 }
6172 {
6173 if (temp1)
6174 delete arg1;
6175 }
6176 return resultobj;
6177 fail:
6178 {
6179 if (temp1)
6180 delete arg1;
6181 }
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_ToolTip_SetTip(PyObject *, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxToolTip *arg1 = (wxToolTip *) 0 ;
6189 wxString *arg2 = 0 ;
6190 bool temp2 = false ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "tip", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolTip_SetTip",kwnames,&obj0,&obj1)) goto fail;
6198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6199 if (SWIG_arg_fail(1)) SWIG_fail;
6200 {
6201 arg2 = wxString_in_helper(obj1);
6202 if (arg2 == NULL) SWIG_fail;
6203 temp2 = true;
6204 }
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 (arg1)->SetTip((wxString const &)*arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 {
6214 if (temp2)
6215 delete arg2;
6216 }
6217 return resultobj;
6218 fail:
6219 {
6220 if (temp2)
6221 delete arg2;
6222 }
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_ToolTip_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxToolTip *arg1 = (wxToolTip *) 0 ;
6230 wxString result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetTip",kwnames,&obj0)) goto fail;
6237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (arg1)->GetTip();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 {
6247 #if wxUSE_UNICODE
6248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6249 #else
6250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6251 #endif
6252 }
6253 return resultobj;
6254 fail:
6255 return NULL;
6256 }
6257
6258
6259 static PyObject *_wrap_ToolTip_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj;
6261 wxToolTip *arg1 = (wxToolTip *) 0 ;
6262 wxWindow *result;
6263 PyObject * obj0 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_GetWindow",kwnames,&obj0)) goto fail;
6269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolTip, SWIG_POINTER_EXCEPTION | 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail;
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 result = (wxWindow *)(arg1)->GetWindow();
6274
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 {
6279 resultobj = wxPyMake_wxObject(result, 0);
6280 }
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_ToolTip_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 bool arg1 ;
6290 PyObject * obj0 = 0 ;
6291 char *kwnames[] = {
6292 (char *) "flag", NULL
6293 };
6294
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_Enable",kwnames,&obj0)) goto fail;
6296 {
6297 arg1 = (bool)(SWIG_As_bool(obj0));
6298 if (SWIG_arg_fail(1)) SWIG_fail;
6299 }
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 wxToolTip::Enable(arg1);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311 }
6312
6313
6314 static PyObject *_wrap_ToolTip_SetDelay(PyObject *, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 long arg1 ;
6317 PyObject * obj0 = 0 ;
6318 char *kwnames[] = {
6319 (char *) "milliseconds", NULL
6320 };
6321
6322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolTip_SetDelay",kwnames,&obj0)) goto fail;
6323 {
6324 arg1 = (long)(SWIG_As_long(obj0));
6325 if (SWIG_arg_fail(1)) SWIG_fail;
6326 }
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 wxToolTip::SetDelay(arg1);
6330
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 Py_INCREF(Py_None); resultobj = Py_None;
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 static PyObject * ToolTip_swigregister(PyObject *, PyObject *args) {
6342 PyObject *obj;
6343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6344 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip, obj);
6345 Py_INCREF(obj);
6346 return Py_BuildValue((char *)"");
6347 }
6348 static PyObject *_wrap_new_Caret(PyObject *, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxWindow *arg1 = (wxWindow *) 0 ;
6351 wxSize *arg2 = 0 ;
6352 wxCaret *result;
6353 wxSize temp2 ;
6354 PyObject * obj0 = 0 ;
6355 PyObject * obj1 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "window",(char *) "size", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_Caret",kwnames,&obj0,&obj1)) goto fail;
6361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6362 if (SWIG_arg_fail(1)) SWIG_fail;
6363 {
6364 arg2 = &temp2;
6365 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6366 }
6367 {
6368 if (!wxPyCheckForApp()) SWIG_fail;
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (wxCaret *)new wxCaret(arg1,(wxSize const &)*arg2);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 1);
6376 return resultobj;
6377 fail:
6378 return NULL;
6379 }
6380
6381
6382 static PyObject *_wrap_Caret_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
6383 PyObject *resultobj;
6384 wxCaret *arg1 = (wxCaret *) 0 ;
6385 PyObject * obj0 = 0 ;
6386 char *kwnames[] = {
6387 (char *) "self", NULL
6388 };
6389
6390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Destroy",kwnames,&obj0)) goto fail;
6391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6392 if (SWIG_arg_fail(1)) SWIG_fail;
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 wxCaret_Destroy(arg1);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 Py_INCREF(Py_None); resultobj = Py_None;
6401 return resultobj;
6402 fail:
6403 return NULL;
6404 }
6405
6406
6407 static PyObject *_wrap_Caret_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
6408 PyObject *resultobj;
6409 wxCaret *arg1 = (wxCaret *) 0 ;
6410 bool result;
6411 PyObject * obj0 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsOk",kwnames,&obj0)) goto fail;
6417 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6418 if (SWIG_arg_fail(1)) SWIG_fail;
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (bool)(arg1)->IsOk();
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 {
6427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6428 }
6429 return resultobj;
6430 fail:
6431 return NULL;
6432 }
6433
6434
6435 static PyObject *_wrap_Caret_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
6436 PyObject *resultobj;
6437 wxCaret *arg1 = (wxCaret *) 0 ;
6438 bool result;
6439 PyObject * obj0 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "self", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_IsVisible",kwnames,&obj0)) goto fail;
6445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6446 if (SWIG_arg_fail(1)) SWIG_fail;
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = (bool)(arg1)->IsVisible();
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 {
6455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6456 }
6457 return resultobj;
6458 fail:
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_Caret_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxCaret *arg1 = (wxCaret *) 0 ;
6466 wxPoint result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPosition",kwnames,&obj0)) goto fail;
6473 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6474 if (SWIG_arg_fail(1)) SWIG_fail;
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (arg1)->GetPosition();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 {
6483 wxPoint * resultptr;
6484 resultptr = new wxPoint((wxPoint &)(result));
6485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
6486 }
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_Caret_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxCaret *arg1 = (wxCaret *) 0 ;
6496 int *arg2 = (int *) 0 ;
6497 int *arg3 = (int *) 0 ;
6498 int temp2 ;
6499 int res2 = 0 ;
6500 int temp3 ;
6501 int res3 = 0 ;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self", NULL
6505 };
6506
6507 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6508 arg3 = &temp3; res3 = SWIG_NEWOBJ;
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetPositionTuple",kwnames,&obj0)) goto fail;
6510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6511 if (SWIG_arg_fail(1)) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 (arg1)->GetPosition(arg2,arg3);
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 Py_INCREF(Py_None); resultobj = Py_None;
6520 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6521 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6522 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6523 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_Caret_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj;
6532 wxCaret *arg1 = (wxCaret *) 0 ;
6533 wxSize result;
6534 PyObject * obj0 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSize",kwnames,&obj0)) goto fail;
6540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail;
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (arg1)->GetSize();
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 {
6550 wxSize * resultptr;
6551 resultptr = new wxSize((wxSize &)(result));
6552 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
6553 }
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 static PyObject *_wrap_Caret_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxCaret *arg1 = (wxCaret *) 0 ;
6563 int *arg2 = (int *) 0 ;
6564 int *arg3 = (int *) 0 ;
6565 int temp2 ;
6566 int res2 = 0 ;
6567 int temp3 ;
6568 int res3 = 0 ;
6569 PyObject * obj0 = 0 ;
6570 char *kwnames[] = {
6571 (char *) "self", NULL
6572 };
6573
6574 arg2 = &temp2; res2 = SWIG_NEWOBJ;
6575 arg3 = &temp3; res3 = SWIG_NEWOBJ;
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetSizeTuple",kwnames,&obj0)) goto fail;
6577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6578 if (SWIG_arg_fail(1)) SWIG_fail;
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 (arg1)->GetSize(arg2,arg3);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 Py_INCREF(Py_None); resultobj = Py_None;
6587 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
6588 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
6589 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
6590 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 static PyObject *_wrap_Caret_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj;
6599 wxCaret *arg1 = (wxCaret *) 0 ;
6600 wxWindow *result;
6601 PyObject * obj0 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_GetWindow",kwnames,&obj0)) goto fail;
6607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail;
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 result = (wxWindow *)(arg1)->GetWindow();
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
6617 resultobj = wxPyMake_wxObject(result, 0);
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_Caret_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxCaret *arg1 = (wxCaret *) 0 ;
6628 int arg2 ;
6629 int arg3 ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 PyObject * obj2 = 0 ;
6633 char *kwnames[] = {
6634 (char *) "self",(char *) "x",(char *) "y", NULL
6635 };
6636
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_MoveXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6639 if (SWIG_arg_fail(1)) SWIG_fail;
6640 {
6641 arg2 = (int)(SWIG_As_int(obj1));
6642 if (SWIG_arg_fail(2)) SWIG_fail;
6643 }
6644 {
6645 arg3 = (int)(SWIG_As_int(obj2));
6646 if (SWIG_arg_fail(3)) SWIG_fail;
6647 }
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 (arg1)->Move(arg2,arg3);
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 Py_INCREF(Py_None); resultobj = Py_None;
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_Caret_Move(PyObject *, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxCaret *arg1 = (wxCaret *) 0 ;
6665 wxPoint *arg2 = 0 ;
6666 wxPoint temp2 ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 char *kwnames[] = {
6670 (char *) "self",(char *) "pt", NULL
6671 };
6672
6673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_Move",kwnames,&obj0,&obj1)) goto fail;
6674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6675 if (SWIG_arg_fail(1)) SWIG_fail;
6676 {
6677 arg2 = &temp2;
6678 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6679 }
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->Move((wxPoint const &)*arg2);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_Caret_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxCaret *arg1 = (wxCaret *) 0 ;
6697 int arg2 ;
6698 int arg3 ;
6699 PyObject * obj0 = 0 ;
6700 PyObject * obj1 = 0 ;
6701 PyObject * obj2 = 0 ;
6702 char *kwnames[] = {
6703 (char *) "self",(char *) "width",(char *) "height", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Caret_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
6707 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6708 if (SWIG_arg_fail(1)) SWIG_fail;
6709 {
6710 arg2 = (int)(SWIG_As_int(obj1));
6711 if (SWIG_arg_fail(2)) SWIG_fail;
6712 }
6713 {
6714 arg3 = (int)(SWIG_As_int(obj2));
6715 if (SWIG_arg_fail(3)) SWIG_fail;
6716 }
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 (arg1)->SetSize(arg2,arg3);
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 Py_INCREF(Py_None); resultobj = Py_None;
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_Caret_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxCaret *arg1 = (wxCaret *) 0 ;
6734 wxSize *arg2 = 0 ;
6735 wxSize temp2 ;
6736 PyObject * obj0 = 0 ;
6737 PyObject * obj1 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self",(char *) "size", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Caret_SetSize",kwnames,&obj0,&obj1)) goto fail;
6743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6744 if (SWIG_arg_fail(1)) SWIG_fail;
6745 {
6746 arg2 = &temp2;
6747 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 (arg1)->SetSize((wxSize const &)*arg2);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_Caret_Show(PyObject *, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxCaret *arg1 = (wxCaret *) 0 ;
6766 int arg2 = (int) true ;
6767 PyObject * obj0 = 0 ;
6768 PyObject * obj1 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self",(char *) "show", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Caret_Show",kwnames,&obj0,&obj1)) goto fail;
6774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail;
6776 if (obj1) {
6777 {
6778 arg2 = (int)(SWIG_As_int(obj1));
6779 if (SWIG_arg_fail(2)) SWIG_fail;
6780 }
6781 }
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 (arg1)->Show(arg2);
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 Py_INCREF(Py_None); resultobj = Py_None;
6790 return resultobj;
6791 fail:
6792 return NULL;
6793 }
6794
6795
6796 static PyObject *_wrap_Caret_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
6797 PyObject *resultobj;
6798 wxCaret *arg1 = (wxCaret *) 0 ;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_Hide",kwnames,&obj0)) goto fail;
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCaret, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->Hide();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818 }
6819
6820
6821 static PyObject *_wrap_Caret_GetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 int result;
6824 char *kwnames[] = {
6825 NULL
6826 };
6827
6828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Caret_GetBlinkTime",kwnames)) goto fail;
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (int)wxCaret::GetBlinkTime();
6832
6833 wxPyEndAllowThreads(__tstate);
6834 if (PyErr_Occurred()) SWIG_fail;
6835 }
6836 {
6837 resultobj = SWIG_From_int((int)(result));
6838 }
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject *_wrap_Caret_SetBlinkTime(PyObject *, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 int arg1 ;
6848 PyObject * obj0 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "milliseconds", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Caret_SetBlinkTime",kwnames,&obj0)) goto fail;
6854 {
6855 arg1 = (int)(SWIG_As_int(obj0));
6856 if (SWIG_arg_fail(1)) SWIG_fail;
6857 }
6858 {
6859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6860 wxCaret::SetBlinkTime(arg1);
6861
6862 wxPyEndAllowThreads(__tstate);
6863 if (PyErr_Occurred()) SWIG_fail;
6864 }
6865 Py_INCREF(Py_None); resultobj = Py_None;
6866 return resultobj;
6867 fail:
6868 return NULL;
6869 }
6870
6871
6872 static PyObject * Caret_swigregister(PyObject *, PyObject *args) {
6873 PyObject *obj;
6874 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6875 SWIG_TypeClientData(SWIGTYPE_p_wxCaret, obj);
6876 Py_INCREF(obj);
6877 return Py_BuildValue((char *)"");
6878 }
6879 static PyObject *_wrap_new_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxCursor *arg1 = (wxCursor *) wxHOURGLASS_CURSOR ;
6882 wxBusyCursor *result;
6883 PyObject * obj0 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "cursor", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BusyCursor",kwnames,&obj0)) goto fail;
6889 if (obj0) {
6890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail;
6892 }
6893 {
6894 if (!wxPyCheckForApp()) SWIG_fail;
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 result = (wxBusyCursor *)new wxBusyCursor(arg1);
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyCursor, 1);
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 static PyObject *_wrap_delete_BusyCursor(PyObject *, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxBusyCursor *arg1 = (wxBusyCursor *) 0 ;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyCursor",kwnames,&obj0)) goto fail;
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyCursor, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 delete arg1;
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 Py_INCREF(Py_None); resultobj = Py_None;
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject * BusyCursor_swigregister(PyObject *, PyObject *args) {
6934 PyObject *obj;
6935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6936 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor, obj);
6937 Py_INCREF(obj);
6938 return Py_BuildValue((char *)"");
6939 }
6940 static PyObject *_wrap_new_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj;
6942 wxWindow *arg1 = (wxWindow *) NULL ;
6943 wxWindowDisabler *result;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "winToSkip", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDisabler",kwnames,&obj0)) goto fail;
6950 if (obj0) {
6951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6952 if (SWIG_arg_fail(1)) SWIG_fail;
6953 }
6954 {
6955 if (!wxPyCheckForApp()) SWIG_fail;
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (wxWindowDisabler *)new wxWindowDisabler(arg1);
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDisabler, 1);
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_delete_WindowDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxWindowDisabler *arg1 = (wxWindowDisabler *) 0 ;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_WindowDisabler",kwnames,&obj0)) goto fail;
6978 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindowDisabler, SWIG_POINTER_EXCEPTION | 0);
6979 if (SWIG_arg_fail(1)) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 delete arg1;
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject * WindowDisabler_swigregister(PyObject *, PyObject *args) {
6995 PyObject *obj;
6996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6997 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler, obj);
6998 Py_INCREF(obj);
6999 return Py_BuildValue((char *)"");
7000 }
7001 static PyObject *_wrap_new_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj;
7003 wxString *arg1 = 0 ;
7004 wxBusyInfo *result;
7005 bool temp1 = false ;
7006 PyObject * obj0 = 0 ;
7007 char *kwnames[] = {
7008 (char *) "message", NULL
7009 };
7010
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BusyInfo",kwnames,&obj0)) goto fail;
7012 {
7013 arg1 = wxString_in_helper(obj0);
7014 if (arg1 == NULL) SWIG_fail;
7015 temp1 = true;
7016 }
7017 {
7018 if (!wxPyCheckForApp()) SWIG_fail;
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (wxBusyInfo *)new wxBusyInfo((wxString const &)*arg1);
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBusyInfo, 1);
7026 {
7027 if (temp1)
7028 delete arg1;
7029 }
7030 return resultobj;
7031 fail:
7032 {
7033 if (temp1)
7034 delete arg1;
7035 }
7036 return NULL;
7037 }
7038
7039
7040 static PyObject *_wrap_delete_BusyInfo(PyObject *, PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj;
7042 wxBusyInfo *arg1 = (wxBusyInfo *) 0 ;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_BusyInfo",kwnames,&obj0)) goto fail;
7049 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBusyInfo, SWIG_POINTER_EXCEPTION | 0);
7050 if (SWIG_arg_fail(1)) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 delete arg1;
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject * BusyInfo_swigregister(PyObject *, PyObject *args) {
7066 PyObject *obj;
7067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7068 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo, obj);
7069 Py_INCREF(obj);
7070 return Py_BuildValue((char *)"");
7071 }
7072 static PyObject *_wrap_new_StopWatch(PyObject *, PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj;
7074 wxStopWatch *result;
7075 char *kwnames[] = {
7076 NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_StopWatch",kwnames)) goto fail;
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 result = (wxStopWatch *)new wxStopWatch();
7083
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStopWatch, 1);
7088 return resultobj;
7089 fail:
7090 return NULL;
7091 }
7092
7093
7094 static PyObject *_wrap_StopWatch_Start(PyObject *, PyObject *args, PyObject *kwargs) {
7095 PyObject *resultobj;
7096 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7097 long arg2 = (long) 0 ;
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char *kwnames[] = {
7101 (char *) "self",(char *) "t0", NULL
7102 };
7103
7104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StopWatch_Start",kwnames,&obj0,&obj1)) goto fail;
7105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail;
7107 if (obj1) {
7108 {
7109 arg2 = (long)(SWIG_As_long(obj1));
7110 if (SWIG_arg_fail(2)) SWIG_fail;
7111 }
7112 }
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->Start(arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_StopWatch_Pause(PyObject *, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7130 PyObject * obj0 = 0 ;
7131 char *kwnames[] = {
7132 (char *) "self", NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Pause",kwnames,&obj0)) goto fail;
7136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7137 if (SWIG_arg_fail(1)) SWIG_fail;
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 (arg1)->Pause();
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 Py_INCREF(Py_None); resultobj = Py_None;
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_StopWatch_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7155 PyObject * obj0 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Resume",kwnames,&obj0)) goto fail;
7161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7162 if (SWIG_arg_fail(1)) SWIG_fail;
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->Resume();
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 Py_INCREF(Py_None); resultobj = Py_None;
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_StopWatch_Time(PyObject *, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxStopWatch *arg1 = (wxStopWatch *) 0 ;
7180 long result;
7181 PyObject * obj0 = 0 ;
7182 char *kwnames[] = {
7183 (char *) "self", NULL
7184 };
7185
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StopWatch_Time",kwnames,&obj0)) goto fail;
7187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStopWatch, SWIG_POINTER_EXCEPTION | 0);
7188 if (SWIG_arg_fail(1)) SWIG_fail;
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (long)((wxStopWatch const *)arg1)->Time();
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 {
7197 resultobj = SWIG_From_long((long)(result));
7198 }
7199 return resultobj;
7200 fail:
7201 return NULL;
7202 }
7203
7204
7205 static PyObject * StopWatch_swigregister(PyObject *, PyObject *args) {
7206 PyObject *obj;
7207 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7208 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch, obj);
7209 Py_INCREF(obj);
7210 return Py_BuildValue((char *)"");
7211 }
7212 static PyObject *_wrap_new_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 int arg1 = (int) 9 ;
7215 int arg2 = (int) wxID_FILE1 ;
7216 wxFileHistory *result;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "maxFiles",(char *) "idBase", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FileHistory",kwnames,&obj0,&obj1)) goto fail;
7224 if (obj0) {
7225 {
7226 arg1 = (int)(SWIG_As_int(obj0));
7227 if (SWIG_arg_fail(1)) SWIG_fail;
7228 }
7229 }
7230 if (obj1) {
7231 {
7232 arg2 = (int)(SWIG_As_int(obj1));
7233 if (SWIG_arg_fail(2)) SWIG_fail;
7234 }
7235 }
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 result = (wxFileHistory *)new wxFileHistory(arg1,arg2);
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileHistory, 1);
7244 return resultobj;
7245 fail:
7246 return NULL;
7247 }
7248
7249
7250 static PyObject *_wrap_delete_FileHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj;
7252 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7253 PyObject * obj0 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileHistory",kwnames,&obj0)) goto fail;
7259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7260 if (SWIG_arg_fail(1)) SWIG_fail;
7261 {
7262 PyThreadState* __tstate = wxPyBeginAllowThreads();
7263 delete arg1;
7264
7265 wxPyEndAllowThreads(__tstate);
7266 if (PyErr_Occurred()) SWIG_fail;
7267 }
7268 Py_INCREF(Py_None); resultobj = Py_None;
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 static PyObject *_wrap_FileHistory_AddFileToHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj;
7277 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7278 wxString *arg2 = 0 ;
7279 bool temp2 = false ;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "file", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFileToHistory",kwnames,&obj0,&obj1)) goto fail;
7287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7288 if (SWIG_arg_fail(1)) SWIG_fail;
7289 {
7290 arg2 = wxString_in_helper(obj1);
7291 if (arg2 == NULL) SWIG_fail;
7292 temp2 = true;
7293 }
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 (arg1)->AddFileToHistory((wxString const &)*arg2);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 Py_INCREF(Py_None); resultobj = Py_None;
7302 {
7303 if (temp2)
7304 delete arg2;
7305 }
7306 return resultobj;
7307 fail:
7308 {
7309 if (temp2)
7310 delete arg2;
7311 }
7312 return NULL;
7313 }
7314
7315
7316 static PyObject *_wrap_FileHistory_RemoveFileFromHistory(PyObject *, PyObject *args, PyObject *kwargs) {
7317 PyObject *resultobj;
7318 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7319 int arg2 ;
7320 PyObject * obj0 = 0 ;
7321 PyObject * obj1 = 0 ;
7322 char *kwnames[] = {
7323 (char *) "self",(char *) "i", NULL
7324 };
7325
7326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames,&obj0,&obj1)) goto fail;
7327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7328 if (SWIG_arg_fail(1)) SWIG_fail;
7329 {
7330 arg2 = (int)(SWIG_As_int(obj1));
7331 if (SWIG_arg_fail(2)) SWIG_fail;
7332 }
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 (arg1)->RemoveFileFromHistory(arg2);
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 Py_INCREF(Py_None); resultobj = Py_None;
7341 return resultobj;
7342 fail:
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_FileHistory_GetMaxFiles(PyObject *, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7350 int result;
7351 PyObject * obj0 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetMaxFiles",kwnames,&obj0)) goto fail;
7357 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7358 if (SWIG_arg_fail(1)) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (int)((wxFileHistory const *)arg1)->GetMaxFiles();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 {
7367 resultobj = SWIG_From_int((int)(result));
7368 }
7369 return resultobj;
7370 fail:
7371 return NULL;
7372 }
7373
7374
7375 static PyObject *_wrap_FileHistory_UseMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7378 wxMenu *arg2 = (wxMenu *) 0 ;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "menu", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_UseMenu",kwnames,&obj0,&obj1)) goto fail;
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7389 if (SWIG_arg_fail(2)) SWIG_fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->UseMenu(arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 return resultobj;
7399 fail:
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_FileHistory_RemoveMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7407 wxMenu *arg2 = (wxMenu *) 0 ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "self",(char *) "menu", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_RemoveMenu",kwnames,&obj0,&obj1)) goto fail;
7415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail;
7417 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7418 if (SWIG_arg_fail(2)) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 (arg1)->RemoveMenu(arg2);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 Py_INCREF(Py_None); resultobj = Py_None;
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_FileHistory_Load(PyObject *, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7436 wxConfigBase *arg2 = 0 ;
7437 PyObject * obj0 = 0 ;
7438 PyObject * obj1 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "config", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Load",kwnames,&obj0,&obj1)) goto fail;
7444 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7445 if (SWIG_arg_fail(1)) SWIG_fail;
7446 {
7447 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7448 if (SWIG_arg_fail(2)) SWIG_fail;
7449 if (arg2 == NULL) {
7450 SWIG_null_ref("wxConfigBase");
7451 }
7452 if (SWIG_arg_fail(2)) SWIG_fail;
7453 }
7454 {
7455 PyThreadState* __tstate = wxPyBeginAllowThreads();
7456 (arg1)->Load(*arg2);
7457
7458 wxPyEndAllowThreads(__tstate);
7459 if (PyErr_Occurred()) SWIG_fail;
7460 }
7461 Py_INCREF(Py_None); resultobj = Py_None;
7462 return resultobj;
7463 fail:
7464 return NULL;
7465 }
7466
7467
7468 static PyObject *_wrap_FileHistory_Save(PyObject *, PyObject *args, PyObject *kwargs) {
7469 PyObject *resultobj;
7470 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7471 wxConfigBase *arg2 = 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self",(char *) "config", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_Save",kwnames,&obj0,&obj1)) goto fail;
7479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail;
7481 {
7482 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(2)) SWIG_fail;
7484 if (arg2 == NULL) {
7485 SWIG_null_ref("wxConfigBase");
7486 }
7487 if (SWIG_arg_fail(2)) SWIG_fail;
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 (arg1)->Save(*arg2);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 Py_INCREF(Py_None); resultobj = Py_None;
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject *_wrap_FileHistory_AddFilesToMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_AddFilesToMenu",kwnames,&obj0)) goto fail;
7512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7513 if (SWIG_arg_fail(1)) SWIG_fail;
7514 {
7515 PyThreadState* __tstate = wxPyBeginAllowThreads();
7516 (arg1)->AddFilesToMenu();
7517
7518 wxPyEndAllowThreads(__tstate);
7519 if (PyErr_Occurred()) SWIG_fail;
7520 }
7521 Py_INCREF(Py_None); resultobj = Py_None;
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_FileHistory_AddFilesToThisMenu(PyObject *, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7531 wxMenu *arg2 = (wxMenu *) 0 ;
7532 PyObject * obj0 = 0 ;
7533 PyObject * obj1 = 0 ;
7534 char *kwnames[] = {
7535 (char *) "self",(char *) "menu", NULL
7536 };
7537
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames,&obj0,&obj1)) goto fail;
7539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7540 if (SWIG_arg_fail(1)) SWIG_fail;
7541 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMenu, SWIG_POINTER_EXCEPTION | 0);
7542 if (SWIG_arg_fail(2)) SWIG_fail;
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 (arg1)->AddFilesToMenu(arg2);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 Py_INCREF(Py_None); resultobj = Py_None;
7551 return resultobj;
7552 fail:
7553 return NULL;
7554 }
7555
7556
7557 static PyObject *_wrap_FileHistory_GetHistoryFile(PyObject *, PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj;
7559 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7560 int arg2 ;
7561 wxString result;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 char *kwnames[] = {
7565 (char *) "self",(char *) "i", NULL
7566 };
7567
7568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileHistory_GetHistoryFile",kwnames,&obj0,&obj1)) goto fail;
7569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7570 if (SWIG_arg_fail(1)) SWIG_fail;
7571 {
7572 arg2 = (int)(SWIG_As_int(obj1));
7573 if (SWIG_arg_fail(2)) SWIG_fail;
7574 }
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = ((wxFileHistory const *)arg1)->GetHistoryFile(arg2);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 {
7583 #if wxUSE_UNICODE
7584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7585 #else
7586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7587 #endif
7588 }
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_FileHistory_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxFileHistory *arg1 = (wxFileHistory *) 0 ;
7598 int result;
7599 PyObject * obj0 = 0 ;
7600 char *kwnames[] = {
7601 (char *) "self", NULL
7602 };
7603
7604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileHistory_GetCount",kwnames,&obj0)) goto fail;
7605 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileHistory, SWIG_POINTER_EXCEPTION | 0);
7606 if (SWIG_arg_fail(1)) SWIG_fail;
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (int)((wxFileHistory const *)arg1)->GetCount();
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 {
7615 resultobj = SWIG_From_int((int)(result));
7616 }
7617 return resultobj;
7618 fail:
7619 return NULL;
7620 }
7621
7622
7623 static PyObject * FileHistory_swigregister(PyObject *, PyObject *args) {
7624 PyObject *obj;
7625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7626 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory, obj);
7627 Py_INCREF(obj);
7628 return Py_BuildValue((char *)"");
7629 }
7630 static PyObject *_wrap_new_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxString *arg1 = 0 ;
7633 wxString const &arg2_defvalue = wxPyEmptyString ;
7634 wxString *arg2 = (wxString *) &arg2_defvalue ;
7635 wxSingleInstanceChecker *result;
7636 bool temp1 = false ;
7637 bool temp2 = false ;
7638 PyObject * obj0 = 0 ;
7639 PyObject * obj1 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "name",(char *) "path", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_SingleInstanceChecker",kwnames,&obj0,&obj1)) goto fail;
7645 {
7646 arg1 = wxString_in_helper(obj0);
7647 if (arg1 == NULL) SWIG_fail;
7648 temp1 = true;
7649 }
7650 if (obj1) {
7651 {
7652 arg2 = wxString_in_helper(obj1);
7653 if (arg2 == NULL) SWIG_fail;
7654 temp2 = true;
7655 }
7656 }
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker((wxString const &)*arg1,(wxString const &)*arg2);
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) SWIG_fail;
7663 }
7664 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7665 {
7666 if (temp1)
7667 delete arg1;
7668 }
7669 {
7670 if (temp2)
7671 delete arg2;
7672 }
7673 return resultobj;
7674 fail:
7675 {
7676 if (temp1)
7677 delete arg1;
7678 }
7679 {
7680 if (temp2)
7681 delete arg2;
7682 }
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_new_PreSingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxSingleInstanceChecker *result;
7690 char *kwnames[] = {
7691 NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSingleInstanceChecker",kwnames)) goto fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (wxSingleInstanceChecker *)new wxSingleInstanceChecker();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSingleInstanceChecker, 1);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_delete_SingleInstanceChecker(PyObject *, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_SingleInstanceChecker",kwnames,&obj0)) goto fail;
7718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7719 if (SWIG_arg_fail(1)) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 delete arg1;
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_SingleInstanceChecker_Create(PyObject *, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7737 wxString *arg2 = 0 ;
7738 wxString const &arg3_defvalue = wxPyEmptyString ;
7739 wxString *arg3 = (wxString *) &arg3_defvalue ;
7740 bool result;
7741 bool temp2 = false ;
7742 bool temp3 = false ;
7743 PyObject * obj0 = 0 ;
7744 PyObject * obj1 = 0 ;
7745 PyObject * obj2 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self",(char *) "name",(char *) "path", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SingleInstanceChecker_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
7751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7752 if (SWIG_arg_fail(1)) SWIG_fail;
7753 {
7754 arg2 = wxString_in_helper(obj1);
7755 if (arg2 == NULL) SWIG_fail;
7756 temp2 = true;
7757 }
7758 if (obj2) {
7759 {
7760 arg3 = wxString_in_helper(obj2);
7761 if (arg3 == NULL) SWIG_fail;
7762 temp3 = true;
7763 }
7764 }
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (bool)(arg1)->Create((wxString const &)*arg2,(wxString const &)*arg3);
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 {
7773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7774 }
7775 {
7776 if (temp2)
7777 delete arg2;
7778 }
7779 {
7780 if (temp3)
7781 delete arg3;
7782 }
7783 return resultobj;
7784 fail:
7785 {
7786 if (temp2)
7787 delete arg2;
7788 }
7789 {
7790 if (temp3)
7791 delete arg3;
7792 }
7793 return NULL;
7794 }
7795
7796
7797 static PyObject *_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject *, PyObject *args, PyObject *kwargs) {
7798 PyObject *resultobj;
7799 wxSingleInstanceChecker *arg1 = (wxSingleInstanceChecker *) 0 ;
7800 bool result;
7801 PyObject * obj0 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames,&obj0)) goto fail;
7807 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSingleInstanceChecker, SWIG_POINTER_EXCEPTION | 0);
7808 if (SWIG_arg_fail(1)) SWIG_fail;
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 result = (bool)((wxSingleInstanceChecker const *)arg1)->IsAnotherRunning();
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) SWIG_fail;
7815 }
7816 {
7817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7818 }
7819 return resultobj;
7820 fail:
7821 return NULL;
7822 }
7823
7824
7825 static PyObject * SingleInstanceChecker_swigregister(PyObject *, PyObject *args) {
7826 PyObject *obj;
7827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7828 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker, obj);
7829 Py_INCREF(obj);
7830 return Py_BuildValue((char *)"");
7831 }
7832 static PyObject *_wrap_DrawWindowOnDC(PyObject *, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxWindow *arg1 = (wxWindow *) 0 ;
7835 wxDC *arg2 = 0 ;
7836 bool result;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "window",(char *) "dc", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DrawWindowOnDC",kwnames,&obj0,&obj1)) goto fail;
7844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail;
7846 {
7847 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
7848 if (SWIG_arg_fail(2)) SWIG_fail;
7849 if (arg2 == NULL) {
7850 SWIG_null_ref("wxDC");
7851 }
7852 if (SWIG_arg_fail(2)) SWIG_fail;
7853 }
7854 {
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (bool)wxDrawWindowOnDC(arg1,(wxDC const &)*arg2);
7857
7858 wxPyEndAllowThreads(__tstate);
7859 if (PyErr_Occurred()) SWIG_fail;
7860 }
7861 {
7862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7863 }
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 static PyObject *_wrap_delete_TipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
7871 PyObject *resultobj;
7872 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7873 PyObject * obj0 = 0 ;
7874 char *kwnames[] = {
7875 (char *) "self", NULL
7876 };
7877
7878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TipProvider",kwnames,&obj0)) goto fail;
7879 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7880 if (SWIG_arg_fail(1)) SWIG_fail;
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 delete arg1;
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 Py_INCREF(Py_None); resultobj = Py_None;
7889 return resultobj;
7890 fail:
7891 return NULL;
7892 }
7893
7894
7895 static PyObject *_wrap_TipProvider_GetTip(PyObject *, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7898 wxString result;
7899 PyObject * obj0 = 0 ;
7900 char *kwnames[] = {
7901 (char *) "self", NULL
7902 };
7903
7904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetTip",kwnames,&obj0)) goto fail;
7905 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7906 if (SWIG_arg_fail(1)) SWIG_fail;
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (arg1)->GetTip();
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 {
7915 #if wxUSE_UNICODE
7916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7917 #else
7918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7919 #endif
7920 }
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_TipProvider_GetCurrentTip(PyObject *, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7930 size_t result;
7931 PyObject * obj0 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipProvider_GetCurrentTip",kwnames,&obj0)) goto fail;
7937 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7938 if (SWIG_arg_fail(1)) SWIG_fail;
7939 {
7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
7941 result = (size_t)(arg1)->GetCurrentTip();
7942
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 {
7947 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
7948 }
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_TipProvider_PreprocessTip(PyObject *, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxTipProvider *arg1 = (wxTipProvider *) 0 ;
7958 wxString *arg2 = 0 ;
7959 wxString result;
7960 bool temp2 = false ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self",(char *) "tip", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipProvider_PreprocessTip",kwnames,&obj0,&obj1)) goto fail;
7968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
7969 if (SWIG_arg_fail(1)) SWIG_fail;
7970 {
7971 arg2 = wxString_in_helper(obj1);
7972 if (arg2 == NULL) SWIG_fail;
7973 temp2 = true;
7974 }
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (arg1)->PreprocessTip((wxString const &)*arg2);
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 {
7983 #if wxUSE_UNICODE
7984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7985 #else
7986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7987 #endif
7988 }
7989 {
7990 if (temp2)
7991 delete arg2;
7992 }
7993 return resultobj;
7994 fail:
7995 {
7996 if (temp2)
7997 delete arg2;
7998 }
7999 return NULL;
8000 }
8001
8002
8003 static PyObject * TipProvider_swigregister(PyObject *, PyObject *args) {
8004 PyObject *obj;
8005 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8006 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider, obj);
8007 Py_INCREF(obj);
8008 return Py_BuildValue((char *)"");
8009 }
8010 static PyObject *_wrap_new_PyTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 size_t arg1 ;
8013 wxPyTipProvider *result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "currentTip", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PyTipProvider",kwnames,&obj0)) goto fail;
8020 {
8021 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
8022 if (SWIG_arg_fail(1)) SWIG_fail;
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (wxPyTipProvider *)new wxPyTipProvider(arg1);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTipProvider, 1);
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_PyTipProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxPyTipProvider *arg1 = (wxPyTipProvider *) 0 ;
8041 PyObject *arg2 = (PyObject *) 0 ;
8042 PyObject *arg3 = (PyObject *) 0 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 PyObject * obj2 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "self",(char *) "_class", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTipProvider, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(1)) SWIG_fail;
8053 arg2 = obj1;
8054 arg3 = obj2;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 (arg1)->_setCallbackInfo(arg2,arg3);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject * PyTipProvider_swigregister(PyObject *, PyObject *args) {
8070 PyObject *obj;
8071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8072 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider, obj);
8073 Py_INCREF(obj);
8074 return Py_BuildValue((char *)"");
8075 }
8076 static PyObject *_wrap_ShowTip(PyObject *, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxWindow *arg1 = (wxWindow *) 0 ;
8079 wxTipProvider *arg2 = (wxTipProvider *) 0 ;
8080 bool arg3 = (bool) true ;
8081 bool result;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ShowTip",kwnames,&obj0,&obj1,&obj2)) goto fail;
8090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8091 if (SWIG_arg_fail(1)) SWIG_fail;
8092 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTipProvider, SWIG_POINTER_EXCEPTION | 0);
8093 if (SWIG_arg_fail(2)) SWIG_fail;
8094 if (obj2) {
8095 {
8096 arg3 = (bool)(SWIG_As_bool(obj2));
8097 if (SWIG_arg_fail(3)) SWIG_fail;
8098 }
8099 }
8100 {
8101 if (!wxPyCheckForApp()) SWIG_fail;
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (bool)wxShowTip(arg1,arg2,arg3);
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) SWIG_fail;
8107 }
8108 {
8109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8110 }
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 static PyObject *_wrap_CreateFileTipProvider(PyObject *, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxString *arg1 = 0 ;
8120 size_t arg2 ;
8121 wxTipProvider *result;
8122 bool temp1 = false ;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "filename",(char *) "currentTip", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CreateFileTipProvider",kwnames,&obj0,&obj1)) goto fail;
8130 {
8131 arg1 = wxString_in_helper(obj0);
8132 if (arg1 == NULL) SWIG_fail;
8133 temp1 = true;
8134 }
8135 {
8136 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
8137 if (SWIG_arg_fail(2)) SWIG_fail;
8138 }
8139 {
8140 if (!wxPyCheckForApp()) SWIG_fail;
8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
8142 result = (wxTipProvider *)wxCreateFileTipProvider((wxString const &)*arg1,arg2);
8143
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
8147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTipProvider, 1);
8148 {
8149 if (temp1)
8150 delete arg1;
8151 }
8152 return resultobj;
8153 fail:
8154 {
8155 if (temp1)
8156 delete arg1;
8157 }
8158 return NULL;
8159 }
8160
8161
8162 static PyObject *_wrap_new_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
8163 PyObject *resultobj;
8164 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
8165 int arg2 = (int) -1 ;
8166 wxPyTimer *result;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "owner",(char *) "id", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Timer",kwnames,&obj0,&obj1)) goto fail;
8174 if (obj0) {
8175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8176 if (SWIG_arg_fail(1)) SWIG_fail;
8177 }
8178 if (obj1) {
8179 {
8180 arg2 = (int)(SWIG_As_int(obj1));
8181 if (SWIG_arg_fail(2)) SWIG_fail;
8182 }
8183 }
8184 {
8185 if (!wxPyCheckForApp()) SWIG_fail;
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 result = (wxPyTimer *)new wxPyTimer(arg1,arg2);
8188
8189 wxPyEndAllowThreads(__tstate);
8190 if (PyErr_Occurred()) SWIG_fail;
8191 }
8192 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTimer, 1);
8193 return resultobj;
8194 fail:
8195 return NULL;
8196 }
8197
8198
8199 static PyObject *_wrap_delete_Timer(PyObject *, PyObject *args, PyObject *kwargs) {
8200 PyObject *resultobj;
8201 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8202 PyObject * obj0 = 0 ;
8203 char *kwnames[] = {
8204 (char *) "self", NULL
8205 };
8206
8207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Timer",kwnames,&obj0)) goto fail;
8208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail;
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 delete arg1;
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 Py_INCREF(Py_None); resultobj = Py_None;
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 static PyObject *_wrap_Timer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8227 PyObject *arg2 = (PyObject *) 0 ;
8228 PyObject *arg3 = (PyObject *) 0 ;
8229 int arg4 = (int) 1 ;
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 PyObject * obj2 = 0 ;
8233 PyObject * obj3 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Timer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8240 if (SWIG_arg_fail(1)) SWIG_fail;
8241 arg2 = obj1;
8242 arg3 = obj2;
8243 if (obj3) {
8244 {
8245 arg4 = (int)(SWIG_As_int(obj3));
8246 if (SWIG_arg_fail(4)) SWIG_fail;
8247 }
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
8252
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 Py_INCREF(Py_None); resultobj = Py_None;
8257 return resultobj;
8258 fail:
8259 return NULL;
8260 }
8261
8262
8263 static PyObject *_wrap_Timer_SetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj;
8265 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8266 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
8267 int arg3 = (int) -1 ;
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
8270 PyObject * obj2 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self",(char *) "owner",(char *) "id", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Timer_SetOwner",kwnames,&obj0,&obj1,&obj2)) goto fail;
8276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8277 if (SWIG_arg_fail(1)) SWIG_fail;
8278 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
8279 if (SWIG_arg_fail(2)) SWIG_fail;
8280 if (obj2) {
8281 {
8282 arg3 = (int)(SWIG_As_int(obj2));
8283 if (SWIG_arg_fail(3)) SWIG_fail;
8284 }
8285 }
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 (arg1)->SetOwner(arg2,arg3);
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 Py_INCREF(Py_None); resultobj = Py_None;
8294 return resultobj;
8295 fail:
8296 return NULL;
8297 }
8298
8299
8300 static PyObject *_wrap_Timer_GetOwner(PyObject *, PyObject *args, PyObject *kwargs) {
8301 PyObject *resultobj;
8302 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8303 wxEvtHandler *result;
8304 PyObject * obj0 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetOwner",kwnames,&obj0)) goto fail;
8310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8311 if (SWIG_arg_fail(1)) SWIG_fail;
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (wxEvtHandler *)(arg1)->GetOwner();
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 {
8320 resultobj = wxPyMake_wxObject(result, 0);
8321 }
8322 return resultobj;
8323 fail:
8324 return NULL;
8325 }
8326
8327
8328 static PyObject *_wrap_Timer_Start(PyObject *, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj;
8330 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8331 int arg2 = (int) -1 ;
8332 bool arg3 = (bool) false ;
8333 bool result;
8334 PyObject * obj0 = 0 ;
8335 PyObject * obj1 = 0 ;
8336 PyObject * obj2 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Timer_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 if (obj1) {
8345 {
8346 arg2 = (int)(SWIG_As_int(obj1));
8347 if (SWIG_arg_fail(2)) SWIG_fail;
8348 }
8349 }
8350 if (obj2) {
8351 {
8352 arg3 = (bool)(SWIG_As_bool(obj2));
8353 if (SWIG_arg_fail(3)) SWIG_fail;
8354 }
8355 }
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (bool)(arg1)->Start(arg2,arg3);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 {
8364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8365 }
8366 return resultobj;
8367 fail:
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_Timer_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8375 PyObject * obj0 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "self", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_Stop",kwnames,&obj0)) goto fail;
8381 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8382 if (SWIG_arg_fail(1)) SWIG_fail;
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 (arg1)->Stop();
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 Py_INCREF(Py_None); resultobj = Py_None;
8391 return resultobj;
8392 fail:
8393 return NULL;
8394 }
8395
8396
8397 static PyObject *_wrap_Timer_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8400 bool result;
8401 PyObject * obj0 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsRunning",kwnames,&obj0)) goto fail;
8407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8408 if (SWIG_arg_fail(1)) SWIG_fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (bool)((wxPyTimer const *)arg1)->IsRunning();
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 {
8417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8418 }
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_Timer_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8428 int result;
8429 PyObject * obj0 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetInterval",kwnames,&obj0)) goto fail;
8435 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8436 if (SWIG_arg_fail(1)) SWIG_fail;
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (int)((wxPyTimer const *)arg1)->GetInterval();
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 {
8445 resultobj = SWIG_From_int((int)(result));
8446 }
8447 return resultobj;
8448 fail:
8449 return NULL;
8450 }
8451
8452
8453 static PyObject *_wrap_Timer_IsOneShot(PyObject *, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8456 bool result;
8457 PyObject * obj0 = 0 ;
8458 char *kwnames[] = {
8459 (char *) "self", NULL
8460 };
8461
8462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_IsOneShot",kwnames,&obj0)) goto fail;
8463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8464 if (SWIG_arg_fail(1)) SWIG_fail;
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 result = (bool)((wxPyTimer const *)arg1)->IsOneShot();
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 {
8473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8474 }
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 static PyObject *_wrap_Timer_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
8482 PyObject *resultobj;
8483 wxPyTimer *arg1 = (wxPyTimer *) 0 ;
8484 int result;
8485 PyObject * obj0 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Timer_GetId",kwnames,&obj0)) goto fail;
8491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTimer, SWIG_POINTER_EXCEPTION | 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail;
8493 {
8494 PyThreadState* __tstate = wxPyBeginAllowThreads();
8495 result = (int)((wxPyTimer const *)arg1)->GetId();
8496
8497 wxPyEndAllowThreads(__tstate);
8498 if (PyErr_Occurred()) SWIG_fail;
8499 }
8500 {
8501 resultobj = SWIG_From_int((int)(result));
8502 }
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject * Timer_swigregister(PyObject *, PyObject *args) {
8510 PyObject *obj;
8511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8512 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer, obj);
8513 Py_INCREF(obj);
8514 return Py_BuildValue((char *)"");
8515 }
8516 static PyObject *_wrap_new_TimerEvent(PyObject *, PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj;
8518 int arg1 = (int) 0 ;
8519 int arg2 = (int) 0 ;
8520 wxTimerEvent *result;
8521 PyObject * obj0 = 0 ;
8522 PyObject * obj1 = 0 ;
8523 char *kwnames[] = {
8524 (char *) "timerid",(char *) "interval", NULL
8525 };
8526
8527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TimerEvent",kwnames,&obj0,&obj1)) goto fail;
8528 if (obj0) {
8529 {
8530 arg1 = (int)(SWIG_As_int(obj0));
8531 if (SWIG_arg_fail(1)) SWIG_fail;
8532 }
8533 }
8534 if (obj1) {
8535 {
8536 arg2 = (int)(SWIG_As_int(obj1));
8537 if (SWIG_arg_fail(2)) SWIG_fail;
8538 }
8539 }
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 result = (wxTimerEvent *)new wxTimerEvent(arg1,arg2);
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerEvent, 1);
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 static PyObject *_wrap_TimerEvent_GetInterval(PyObject *, PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj;
8556 wxTimerEvent *arg1 = (wxTimerEvent *) 0 ;
8557 int result;
8558 PyObject * obj0 = 0 ;
8559 char *kwnames[] = {
8560 (char *) "self", NULL
8561 };
8562
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimerEvent_GetInterval",kwnames,&obj0)) goto fail;
8564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerEvent, SWIG_POINTER_EXCEPTION | 0);
8565 if (SWIG_arg_fail(1)) SWIG_fail;
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (int)((wxTimerEvent const *)arg1)->GetInterval();
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 {
8574 resultobj = SWIG_From_int((int)(result));
8575 }
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 static PyObject * TimerEvent_swigregister(PyObject *, PyObject *args) {
8583 PyObject *obj;
8584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8585 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent, obj);
8586 Py_INCREF(obj);
8587 return Py_BuildValue((char *)"");
8588 }
8589 static PyObject *_wrap_new_TimerRunner__SWIG_0(PyObject *, PyObject *args) {
8590 PyObject *resultobj;
8591 wxTimer *arg1 = 0 ;
8592 wxTimerRunner *result;
8593 PyObject * obj0 = 0 ;
8594
8595 if(!PyArg_ParseTuple(args,(char *)"O:new_TimerRunner",&obj0)) goto fail;
8596 {
8597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8598 if (SWIG_arg_fail(1)) SWIG_fail;
8599 if (arg1 == NULL) {
8600 SWIG_null_ref("wxTimer");
8601 }
8602 if (SWIG_arg_fail(1)) SWIG_fail;
8603 }
8604 {
8605 if (!wxPyCheckForApp()) SWIG_fail;
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (wxTimerRunner *)new wxTimerRunner(*arg1);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8613 return resultobj;
8614 fail:
8615 return NULL;
8616 }
8617
8618
8619 static PyObject *_wrap_new_TimerRunner__SWIG_1(PyObject *, PyObject *args) {
8620 PyObject *resultobj;
8621 wxTimer *arg1 = 0 ;
8622 int arg2 ;
8623 bool arg3 = (bool) false ;
8624 wxTimerRunner *result;
8625 PyObject * obj0 = 0 ;
8626 PyObject * obj1 = 0 ;
8627 PyObject * obj2 = 0 ;
8628
8629 if(!PyArg_ParseTuple(args,(char *)"OO|O:new_TimerRunner",&obj0,&obj1,&obj2)) goto fail;
8630 {
8631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimer, SWIG_POINTER_EXCEPTION | 0);
8632 if (SWIG_arg_fail(1)) SWIG_fail;
8633 if (arg1 == NULL) {
8634 SWIG_null_ref("wxTimer");
8635 }
8636 if (SWIG_arg_fail(1)) SWIG_fail;
8637 }
8638 {
8639 arg2 = (int)(SWIG_As_int(obj1));
8640 if (SWIG_arg_fail(2)) SWIG_fail;
8641 }
8642 if (obj2) {
8643 {
8644 arg3 = (bool)(SWIG_As_bool(obj2));
8645 if (SWIG_arg_fail(3)) SWIG_fail;
8646 }
8647 }
8648 {
8649 if (!wxPyCheckForApp()) SWIG_fail;
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (wxTimerRunner *)new wxTimerRunner(*arg1,arg2,arg3);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimerRunner, 1);
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_new_TimerRunner(PyObject *self, PyObject *args) {
8664 int argc;
8665 PyObject *argv[4];
8666 int ii;
8667
8668 argc = PyObject_Length(args);
8669 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8670 argv[ii] = PyTuple_GetItem(args,ii);
8671 }
8672 if (argc == 1) {
8673 int _v;
8674 {
8675 void *ptr = 0;
8676 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8677 _v = 0;
8678 PyErr_Clear();
8679 } else {
8680 _v = (ptr != 0);
8681 }
8682 }
8683 if (_v) {
8684 return _wrap_new_TimerRunner__SWIG_0(self,args);
8685 }
8686 }
8687 if ((argc >= 2) && (argc <= 3)) {
8688 int _v;
8689 {
8690 void *ptr = 0;
8691 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxTimer, 0) == -1) {
8692 _v = 0;
8693 PyErr_Clear();
8694 } else {
8695 _v = (ptr != 0);
8696 }
8697 }
8698 if (_v) {
8699 _v = SWIG_Check_int(argv[1]);
8700 if (_v) {
8701 if (argc <= 2) {
8702 return _wrap_new_TimerRunner__SWIG_1(self,args);
8703 }
8704 _v = SWIG_Check_bool(argv[2]);
8705 if (_v) {
8706 return _wrap_new_TimerRunner__SWIG_1(self,args);
8707 }
8708 }
8709 }
8710 }
8711
8712 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_TimerRunner'");
8713 return NULL;
8714 }
8715
8716
8717 static PyObject *_wrap_delete_TimerRunner(PyObject *, PyObject *args, PyObject *kwargs) {
8718 PyObject *resultobj;
8719 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8720 PyObject * obj0 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimerRunner",kwnames,&obj0)) goto fail;
8726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail;
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 delete arg1;
8731
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 Py_INCREF(Py_None); resultobj = Py_None;
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 static PyObject *_wrap_TimerRunner_Start(PyObject *, PyObject *args, PyObject *kwargs) {
8743 PyObject *resultobj;
8744 wxTimerRunner *arg1 = (wxTimerRunner *) 0 ;
8745 int arg2 ;
8746 bool arg3 = (bool) false ;
8747 PyObject * obj0 = 0 ;
8748 PyObject * obj1 = 0 ;
8749 PyObject * obj2 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TimerRunner_Start",kwnames,&obj0,&obj1,&obj2)) goto fail;
8755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimerRunner, SWIG_POINTER_EXCEPTION | 0);
8756 if (SWIG_arg_fail(1)) SWIG_fail;
8757 {
8758 arg2 = (int)(SWIG_As_int(obj1));
8759 if (SWIG_arg_fail(2)) SWIG_fail;
8760 }
8761 if (obj2) {
8762 {
8763 arg3 = (bool)(SWIG_As_bool(obj2));
8764 if (SWIG_arg_fail(3)) SWIG_fail;
8765 }
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 (arg1)->Start(arg2,arg3);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 Py_INCREF(Py_None); resultobj = Py_None;
8775 return resultobj;
8776 fail:
8777 return NULL;
8778 }
8779
8780
8781 static PyObject * TimerRunner_swigregister(PyObject *, PyObject *args) {
8782 PyObject *obj;
8783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8784 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner, obj);
8785 Py_INCREF(obj);
8786 return Py_BuildValue((char *)"");
8787 }
8788 static PyObject *_wrap_new_Log(PyObject *, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxLog *result;
8791 char *kwnames[] = {
8792 NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Log",kwnames)) goto fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 result = (wxLog *)new wxLog();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 1);
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_Log_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 bool result;
8813 char *kwnames[] = {
8814 NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_IsEnabled",kwnames)) goto fail;
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (bool)wxLog::IsEnabled();
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 {
8826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8827 }
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 static PyObject *_wrap_Log_EnableLogging(PyObject *, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 bool arg1 = (bool) true ;
8837 bool result;
8838 PyObject * obj0 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "doIt", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_EnableLogging",kwnames,&obj0)) goto fail;
8844 if (obj0) {
8845 {
8846 arg1 = (bool)(SWIG_As_bool(obj0));
8847 if (SWIG_arg_fail(1)) SWIG_fail;
8848 }
8849 }
8850 {
8851 PyThreadState* __tstate = wxPyBeginAllowThreads();
8852 result = (bool)wxLog::EnableLogging(arg1);
8853
8854 wxPyEndAllowThreads(__tstate);
8855 if (PyErr_Occurred()) SWIG_fail;
8856 }
8857 {
8858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8859 }
8860 return resultobj;
8861 fail:
8862 return NULL;
8863 }
8864
8865
8866 static PyObject *_wrap_Log_OnLog(PyObject *, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxLogLevel arg1 ;
8869 wxChar *arg2 = (wxChar *) 0 ;
8870 time_t arg3 ;
8871 PyObject * obj0 = 0 ;
8872 PyObject * obj1 = 0 ;
8873 PyObject * obj2 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "level",(char *) "szString",(char *) "t", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Log_OnLog",kwnames,&obj0,&obj1,&obj2)) goto fail;
8879 {
8880 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
8881 if (SWIG_arg_fail(1)) SWIG_fail;
8882 }
8883 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
8884 if (SWIG_arg_fail(2)) SWIG_fail;
8885 {
8886 arg3 = (time_t)(SWIG_As_unsigned_SS_int(obj2));
8887 if (SWIG_arg_fail(3)) SWIG_fail;
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 wxLog::OnLog(arg1,(wxChar const *)arg2,arg3);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 Py_INCREF(Py_None); resultobj = Py_None;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_Log_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxLog *arg1 = (wxLog *) 0 ;
8906 PyObject * obj0 = 0 ;
8907 char *kwnames[] = {
8908 (char *) "self", NULL
8909 };
8910
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Flush",kwnames,&obj0)) goto fail;
8912 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8913 if (SWIG_arg_fail(1)) SWIG_fail;
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 (arg1)->Flush();
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 Py_INCREF(Py_None); resultobj = Py_None;
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_Log_FlushActive(PyObject *, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 char *kwnames[] = {
8931 NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_FlushActive",kwnames)) goto fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 wxLog::FlushActive();
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946 }
8947
8948
8949 static PyObject *_wrap_Log_GetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxLog *result;
8952 char *kwnames[] = {
8953 NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetActiveTarget",kwnames)) goto fail;
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 result = (wxLog *)wxLog::GetActiveTarget();
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8965 return resultobj;
8966 fail:
8967 return NULL;
8968 }
8969
8970
8971 static PyObject *_wrap_Log_SetActiveTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8972 PyObject *resultobj;
8973 wxLog *arg1 = (wxLog *) 0 ;
8974 wxLog *result;
8975 PyObject * obj0 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "pLogger", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetActiveTarget",kwnames,&obj0)) goto fail;
8981 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 result = (wxLog *)wxLog::SetActiveTarget(arg1);
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
8991 return resultobj;
8992 fail:
8993 return NULL;
8994 }
8995
8996
8997 static PyObject *_wrap_Log_Suspend(PyObject *, PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj;
8999 char *kwnames[] = {
9000 NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Suspend",kwnames)) goto fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 wxLog::Suspend();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_Log_Resume(PyObject *, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 char *kwnames[] = {
9021 NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_Resume",kwnames)) goto fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 wxLog::Resume();
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_Log_SetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 bool arg1 = (bool) true ;
9042 PyObject * obj0 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "bVerbose", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Log_SetVerbose",kwnames,&obj0)) goto fail;
9048 if (obj0) {
9049 {
9050 arg1 = (bool)(SWIG_As_bool(obj0));
9051 if (SWIG_arg_fail(1)) SWIG_fail;
9052 }
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 wxLog::SetVerbose(arg1);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_Log_SetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxLogLevel arg1 ;
9071 PyObject * obj0 = 0 ;
9072 char *kwnames[] = {
9073 (char *) "logLevel", NULL
9074 };
9075
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetLogLevel",kwnames,&obj0)) goto fail;
9077 {
9078 arg1 = (wxLogLevel)(SWIG_As_unsigned_SS_long(obj0));
9079 if (SWIG_arg_fail(1)) SWIG_fail;
9080 }
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 wxLog::SetLogLevel(arg1);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject *_wrap_Log_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
9096 PyObject *resultobj;
9097 char *kwnames[] = {
9098 NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_DontCreateOnDemand",kwnames)) goto fail;
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 wxLog::DontCreateOnDemand();
9105
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 Py_INCREF(Py_None); resultobj = Py_None;
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_Log_SetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxTraceMask arg1 ;
9119 PyObject * obj0 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "ulMask", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTraceMask",kwnames,&obj0)) goto fail;
9125 {
9126 arg1 = (wxTraceMask)(SWIG_As_unsigned_SS_long(obj0));
9127 if (SWIG_arg_fail(1)) SWIG_fail;
9128 }
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 wxLog::SetTraceMask(arg1);
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140 }
9141
9142
9143 static PyObject *_wrap_Log_AddTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxString *arg1 = 0 ;
9146 bool temp1 = false ;
9147 PyObject * obj0 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "str", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_AddTraceMask",kwnames,&obj0)) goto fail;
9153 {
9154 arg1 = wxString_in_helper(obj0);
9155 if (arg1 == NULL) SWIG_fail;
9156 temp1 = true;
9157 }
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 wxLog::AddTraceMask((wxString const &)*arg1);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 Py_INCREF(Py_None); resultobj = Py_None;
9166 {
9167 if (temp1)
9168 delete arg1;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp1)
9174 delete arg1;
9175 }
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_Log_RemoveTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxString *arg1 = 0 ;
9183 bool temp1 = false ;
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "str", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_RemoveTraceMask",kwnames,&obj0)) goto fail;
9190 {
9191 arg1 = wxString_in_helper(obj0);
9192 if (arg1 == NULL) SWIG_fail;
9193 temp1 = true;
9194 }
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 wxLog::RemoveTraceMask((wxString const &)*arg1);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 {
9204 if (temp1)
9205 delete arg1;
9206 }
9207 return resultobj;
9208 fail:
9209 {
9210 if (temp1)
9211 delete arg1;
9212 }
9213 return NULL;
9214 }
9215
9216
9217 static PyObject *_wrap_Log_ClearTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
9218 PyObject *resultobj;
9219 char *kwnames[] = {
9220 NULL
9221 };
9222
9223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_ClearTraceMasks",kwnames)) goto fail;
9224 {
9225 PyThreadState* __tstate = wxPyBeginAllowThreads();
9226 wxLog::ClearTraceMasks();
9227
9228 wxPyEndAllowThreads(__tstate);
9229 if (PyErr_Occurred()) SWIG_fail;
9230 }
9231 Py_INCREF(Py_None); resultobj = Py_None;
9232 return resultobj;
9233 fail:
9234 return NULL;
9235 }
9236
9237
9238 static PyObject *_wrap_Log_GetTraceMasks(PyObject *, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxArrayString *result;
9241 char *kwnames[] = {
9242 NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMasks",kwnames)) goto fail;
9246 {
9247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9248 {
9249 wxArrayString const &_result_ref = wxLog::GetTraceMasks();
9250 result = (wxArrayString *) &_result_ref;
9251 }
9252
9253 wxPyEndAllowThreads(__tstate);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 {
9257 resultobj = wxArrayString2PyList_helper(*result);
9258 }
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_Log_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxChar *arg1 = (wxChar *) 0 ;
9268 PyObject * obj0 = 0 ;
9269 char *kwnames[] = {
9270 (char *) "ts", NULL
9271 };
9272
9273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_SetTimestamp",kwnames,&obj0)) goto fail;
9274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail;
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 wxLog::SetTimestamp((wxChar const *)arg1);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 return resultobj;
9285 fail:
9286 return NULL;
9287 }
9288
9289
9290 static PyObject *_wrap_Log_GetVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 bool result;
9293 char *kwnames[] = {
9294 NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetVerbose",kwnames)) goto fail;
9298 {
9299 PyThreadState* __tstate = wxPyBeginAllowThreads();
9300 result = (bool)wxLog::GetVerbose();
9301
9302 wxPyEndAllowThreads(__tstate);
9303 if (PyErr_Occurred()) SWIG_fail;
9304 }
9305 {
9306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9307 }
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 static PyObject *_wrap_Log_GetTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxTraceMask result;
9317 char *kwnames[] = {
9318 NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTraceMask",kwnames)) goto fail;
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (wxTraceMask)wxLog::GetTraceMask();
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 {
9330 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9331 }
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_Log_IsAllowedTraceMask(PyObject *, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxChar *arg1 = (wxChar *) 0 ;
9341 bool result;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "mask", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_IsAllowedTraceMask",kwnames,&obj0)) goto fail;
9348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChar, SWIG_POINTER_EXCEPTION | 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)wxLog::IsAllowedTraceMask((wxChar const *)arg1);
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 {
9358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9359 }
9360 return resultobj;
9361 fail:
9362 return NULL;
9363 }
9364
9365
9366 static PyObject *_wrap_Log_GetLogLevel(PyObject *, PyObject *args, PyObject *kwargs) {
9367 PyObject *resultobj;
9368 wxLogLevel result;
9369 char *kwnames[] = {
9370 NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetLogLevel",kwnames)) goto fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = (wxLogLevel)wxLog::GetLogLevel();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 {
9382 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9383 }
9384 return resultobj;
9385 fail:
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_Log_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxChar *result;
9393 char *kwnames[] = {
9394 NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_GetTimestamp",kwnames)) goto fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (wxChar *)wxLog::GetTimestamp();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChar, 0);
9406 return resultobj;
9407 fail:
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_Log_TimeStamp(PyObject *, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxString result;
9415 char *kwnames[] = {
9416 NULL
9417 };
9418
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Log_TimeStamp",kwnames)) goto fail;
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = Log_TimeStamp();
9423
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 {
9428 #if wxUSE_UNICODE
9429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9430 #else
9431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9432 #endif
9433 }
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_Log_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxLog *arg1 = (wxLog *) 0 ;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Log_Destroy",kwnames,&obj0)) goto fail;
9449 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9450 if (SWIG_arg_fail(1)) SWIG_fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 wxLog_Destroy(arg1);
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 Py_INCREF(Py_None); resultobj = Py_None;
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject * Log_swigregister(PyObject *, PyObject *args) {
9466 PyObject *obj;
9467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9468 SWIG_TypeClientData(SWIGTYPE_p_wxLog, obj);
9469 Py_INCREF(obj);
9470 return Py_BuildValue((char *)"");
9471 }
9472 static PyObject *_wrap_new_LogStderr(PyObject *, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxLogStderr *result;
9475 char *kwnames[] = {
9476 NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogStderr",kwnames)) goto fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (wxLogStderr *)new wxLogStderr();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogStderr, 1);
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject * LogStderr_swigregister(PyObject *, PyObject *args) {
9495 PyObject *obj;
9496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9497 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr, obj);
9498 Py_INCREF(obj);
9499 return Py_BuildValue((char *)"");
9500 }
9501 static PyObject *_wrap_new_LogTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9504 wxLogTextCtrl *result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "pTextCtrl", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogTextCtrl",kwnames,&obj0)) goto fail;
9511 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (wxLogTextCtrl *)new wxLogTextCtrl(arg1);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogTextCtrl, 1);
9521 return resultobj;
9522 fail:
9523 return NULL;
9524 }
9525
9526
9527 static PyObject * LogTextCtrl_swigregister(PyObject *, PyObject *args) {
9528 PyObject *obj;
9529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9530 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl, obj);
9531 Py_INCREF(obj);
9532 return Py_BuildValue((char *)"");
9533 }
9534 static PyObject *_wrap_new_LogGui(PyObject *, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxLogGui *result;
9537 char *kwnames[] = {
9538 NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogGui",kwnames)) goto fail;
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 result = (wxLogGui *)new wxLogGui();
9545
9546 wxPyEndAllowThreads(__tstate);
9547 if (PyErr_Occurred()) SWIG_fail;
9548 }
9549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogGui, 1);
9550 return resultobj;
9551 fail:
9552 return NULL;
9553 }
9554
9555
9556 static PyObject * LogGui_swigregister(PyObject *, PyObject *args) {
9557 PyObject *obj;
9558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9559 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui, obj);
9560 Py_INCREF(obj);
9561 return Py_BuildValue((char *)"");
9562 }
9563 static PyObject *_wrap_new_LogWindow(PyObject *, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxFrame *arg1 = (wxFrame *) 0 ;
9566 wxString *arg2 = 0 ;
9567 bool arg3 = (bool) true ;
9568 bool arg4 = (bool) true ;
9569 wxLogWindow *result;
9570 bool temp2 = false ;
9571 PyObject * obj0 = 0 ;
9572 PyObject * obj1 = 0 ;
9573 PyObject * obj2 = 0 ;
9574 PyObject * obj3 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_LogWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
9581 if (SWIG_arg_fail(1)) SWIG_fail;
9582 {
9583 arg2 = wxString_in_helper(obj1);
9584 if (arg2 == NULL) SWIG_fail;
9585 temp2 = true;
9586 }
9587 if (obj2) {
9588 {
9589 arg3 = (bool)(SWIG_As_bool(obj2));
9590 if (SWIG_arg_fail(3)) SWIG_fail;
9591 }
9592 }
9593 if (obj3) {
9594 {
9595 arg4 = (bool)(SWIG_As_bool(obj3));
9596 if (SWIG_arg_fail(4)) SWIG_fail;
9597 }
9598 }
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 result = (wxLogWindow *)new wxLogWindow(arg1,(wxString const &)*arg2,arg3,arg4);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogWindow, 1);
9607 {
9608 if (temp2)
9609 delete arg2;
9610 }
9611 return resultobj;
9612 fail:
9613 {
9614 if (temp2)
9615 delete arg2;
9616 }
9617 return NULL;
9618 }
9619
9620
9621 static PyObject *_wrap_LogWindow_Show(PyObject *, PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj;
9623 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9624 bool arg2 = (bool) true ;
9625 PyObject * obj0 = 0 ;
9626 PyObject * obj1 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self",(char *) "bShow", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:LogWindow_Show",kwnames,&obj0,&obj1)) goto fail;
9632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9633 if (SWIG_arg_fail(1)) SWIG_fail;
9634 if (obj1) {
9635 {
9636 arg2 = (bool)(SWIG_As_bool(obj1));
9637 if (SWIG_arg_fail(2)) SWIG_fail;
9638 }
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 (arg1)->Show(arg2);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 Py_INCREF(Py_None); resultobj = Py_None;
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_LogWindow_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9657 wxFrame *result;
9658 PyObject * obj0 = 0 ;
9659 char *kwnames[] = {
9660 (char *) "self", NULL
9661 };
9662
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetFrame",kwnames,&obj0)) goto fail;
9664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9665 if (SWIG_arg_fail(1)) SWIG_fail;
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (wxFrame *)((wxLogWindow const *)arg1)->GetFrame();
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 {
9674 resultobj = wxPyMake_wxObject(result, 0);
9675 }
9676 return resultobj;
9677 fail:
9678 return NULL;
9679 }
9680
9681
9682 static PyObject *_wrap_LogWindow_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj;
9684 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9685 wxLog *result;
9686 PyObject * obj0 = 0 ;
9687 char *kwnames[] = {
9688 (char *) "self", NULL
9689 };
9690
9691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_GetOldLog",kwnames,&obj0)) goto fail;
9692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail;
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (wxLog *)((wxLogWindow const *)arg1)->GetOldLog();
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705 }
9706
9707
9708 static PyObject *_wrap_LogWindow_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9711 bool result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWindow_IsPassingMessages",kwnames,&obj0)) goto fail;
9718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9719 if (SWIG_arg_fail(1)) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (bool)((wxLogWindow const *)arg1)->IsPassingMessages();
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 {
9728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9729 }
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_LogWindow_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxLogWindow *arg1 = (wxLogWindow *) 0 ;
9739 bool arg2 ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 char *kwnames[] = {
9743 (char *) "self",(char *) "bDoPass", NULL
9744 };
9745
9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogWindow_PassMessages",kwnames,&obj0,&obj1)) goto fail;
9747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogWindow, SWIG_POINTER_EXCEPTION | 0);
9748 if (SWIG_arg_fail(1)) SWIG_fail;
9749 {
9750 arg2 = (bool)(SWIG_As_bool(obj1));
9751 if (SWIG_arg_fail(2)) SWIG_fail;
9752 }
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 (arg1)->PassMessages(arg2);
9756
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 Py_INCREF(Py_None); resultobj = Py_None;
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 static PyObject * LogWindow_swigregister(PyObject *, PyObject *args) {
9768 PyObject *obj;
9769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9770 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow, obj);
9771 Py_INCREF(obj);
9772 return Py_BuildValue((char *)"");
9773 }
9774 static PyObject *_wrap_new_LogChain(PyObject *, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxLog *arg1 = (wxLog *) 0 ;
9777 wxLogChain *result;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "logger", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_LogChain",kwnames,&obj0)) goto fail;
9784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9785 if (SWIG_arg_fail(1)) SWIG_fail;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (wxLogChain *)new wxLogChain(arg1);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogChain, 1);
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 static PyObject *_wrap_LogChain_SetLog(PyObject *, PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj;
9802 wxLogChain *arg1 = (wxLogChain *) 0 ;
9803 wxLog *arg2 = (wxLog *) 0 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self",(char *) "logger", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_SetLog",kwnames,&obj0,&obj1)) goto fail;
9811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9812 if (SWIG_arg_fail(1)) SWIG_fail;
9813 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxLog, SWIG_POINTER_EXCEPTION | 0);
9814 if (SWIG_arg_fail(2)) SWIG_fail;
9815 {
9816 PyThreadState* __tstate = wxPyBeginAllowThreads();
9817 (arg1)->SetLog(arg2);
9818
9819 wxPyEndAllowThreads(__tstate);
9820 if (PyErr_Occurred()) SWIG_fail;
9821 }
9822 Py_INCREF(Py_None); resultobj = Py_None;
9823 return resultobj;
9824 fail:
9825 return NULL;
9826 }
9827
9828
9829 static PyObject *_wrap_LogChain_PassMessages(PyObject *, PyObject *args, PyObject *kwargs) {
9830 PyObject *resultobj;
9831 wxLogChain *arg1 = (wxLogChain *) 0 ;
9832 bool arg2 ;
9833 PyObject * obj0 = 0 ;
9834 PyObject * obj1 = 0 ;
9835 char *kwnames[] = {
9836 (char *) "self",(char *) "bDoPass", NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogChain_PassMessages",kwnames,&obj0,&obj1)) goto fail;
9840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9841 if (SWIG_arg_fail(1)) SWIG_fail;
9842 {
9843 arg2 = (bool)(SWIG_As_bool(obj1));
9844 if (SWIG_arg_fail(2)) SWIG_fail;
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 (arg1)->PassMessages(arg2);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 Py_INCREF(Py_None); resultobj = Py_None;
9854 return resultobj;
9855 fail:
9856 return NULL;
9857 }
9858
9859
9860 static PyObject *_wrap_LogChain_IsPassingMessages(PyObject *, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxLogChain *arg1 = (wxLogChain *) 0 ;
9863 bool result;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_IsPassingMessages",kwnames,&obj0)) goto fail;
9870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail;
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 result = (bool)(arg1)->IsPassingMessages();
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 {
9880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9881 }
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_LogChain_GetOldLog(PyObject *, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxLogChain *arg1 = (wxLogChain *) 0 ;
9891 wxLog *result;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogChain_GetOldLog",kwnames,&obj0)) goto fail;
9898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogChain, SWIG_POINTER_EXCEPTION | 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail;
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (wxLog *)(arg1)->GetOldLog();
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLog, 0);
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject * LogChain_swigregister(PyObject *, PyObject *args) {
9915 PyObject *obj;
9916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9917 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain, obj);
9918 Py_INCREF(obj);
9919 return Py_BuildValue((char *)"");
9920 }
9921 static PyObject *_wrap_SysErrorCode(PyObject *, PyObject *args, PyObject *kwargs) {
9922 PyObject *resultobj;
9923 unsigned long result;
9924 char *kwnames[] = {
9925 NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":SysErrorCode",kwnames)) goto fail;
9929 {
9930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9931 result = (unsigned long)wxSysErrorCode();
9932
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 {
9937 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
9938 }
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_SysErrorMsg(PyObject *, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 unsigned long arg1 = (unsigned long) 0 ;
9948 wxString result;
9949 PyObject * obj0 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "nErrCode", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SysErrorMsg",kwnames,&obj0)) goto fail;
9955 if (obj0) {
9956 {
9957 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
9958 if (SWIG_arg_fail(1)) SWIG_fail;
9959 }
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = wxSysErrorMsg(arg1);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 {
9969 #if wxUSE_UNICODE
9970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9971 #else
9972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9973 #endif
9974 }
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject *_wrap_LogFatalError(PyObject *, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxString *arg1 = 0 ;
9984 bool temp1 = false ;
9985 PyObject * obj0 = 0 ;
9986 char *kwnames[] = {
9987 (char *) "msg", NULL
9988 };
9989
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogFatalError",kwnames,&obj0)) goto fail;
9991 {
9992 arg1 = wxString_in_helper(obj0);
9993 if (arg1 == NULL) SWIG_fail;
9994 temp1 = true;
9995 }
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 wxPyLogFatalError((wxString const &)*arg1);
9999
10000 wxPyEndAllowThreads(__tstate);
10001 if (PyErr_Occurred()) SWIG_fail;
10002 }
10003 Py_INCREF(Py_None); resultobj = Py_None;
10004 {
10005 if (temp1)
10006 delete arg1;
10007 }
10008 return resultobj;
10009 fail:
10010 {
10011 if (temp1)
10012 delete arg1;
10013 }
10014 return NULL;
10015 }
10016
10017
10018 static PyObject *_wrap_LogError(PyObject *, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxString *arg1 = 0 ;
10021 bool temp1 = false ;
10022 PyObject * obj0 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "msg", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogError",kwnames,&obj0)) goto fail;
10028 {
10029 arg1 = wxString_in_helper(obj0);
10030 if (arg1 == NULL) SWIG_fail;
10031 temp1 = true;
10032 }
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 wxPyLogError((wxString const &)*arg1);
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 Py_INCREF(Py_None); resultobj = Py_None;
10041 {
10042 if (temp1)
10043 delete arg1;
10044 }
10045 return resultobj;
10046 fail:
10047 {
10048 if (temp1)
10049 delete arg1;
10050 }
10051 return NULL;
10052 }
10053
10054
10055 static PyObject *_wrap_LogWarning(PyObject *, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxString *arg1 = 0 ;
10058 bool temp1 = false ;
10059 PyObject * obj0 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "msg", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogWarning",kwnames,&obj0)) goto fail;
10065 {
10066 arg1 = wxString_in_helper(obj0);
10067 if (arg1 == NULL) SWIG_fail;
10068 temp1 = true;
10069 }
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 wxPyLogWarning((wxString const &)*arg1);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 {
10079 if (temp1)
10080 delete arg1;
10081 }
10082 return resultobj;
10083 fail:
10084 {
10085 if (temp1)
10086 delete arg1;
10087 }
10088 return NULL;
10089 }
10090
10091
10092 static PyObject *_wrap_LogMessage(PyObject *, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxString *arg1 = 0 ;
10095 bool temp1 = false ;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "msg", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogMessage",kwnames,&obj0)) goto fail;
10102 {
10103 arg1 = wxString_in_helper(obj0);
10104 if (arg1 == NULL) SWIG_fail;
10105 temp1 = true;
10106 }
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 wxPyLogMessage((wxString const &)*arg1);
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 Py_INCREF(Py_None); resultobj = Py_None;
10115 {
10116 if (temp1)
10117 delete arg1;
10118 }
10119 return resultobj;
10120 fail:
10121 {
10122 if (temp1)
10123 delete arg1;
10124 }
10125 return NULL;
10126 }
10127
10128
10129 static PyObject *_wrap_LogInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10130 PyObject *resultobj;
10131 wxString *arg1 = 0 ;
10132 bool temp1 = false ;
10133 PyObject * obj0 = 0 ;
10134 char *kwnames[] = {
10135 (char *) "msg", NULL
10136 };
10137
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogInfo",kwnames,&obj0)) goto fail;
10139 {
10140 arg1 = wxString_in_helper(obj0);
10141 if (arg1 == NULL) SWIG_fail;
10142 temp1 = true;
10143 }
10144 {
10145 PyThreadState* __tstate = wxPyBeginAllowThreads();
10146 wxPyLogInfo((wxString const &)*arg1);
10147
10148 wxPyEndAllowThreads(__tstate);
10149 if (PyErr_Occurred()) SWIG_fail;
10150 }
10151 Py_INCREF(Py_None); resultobj = Py_None;
10152 {
10153 if (temp1)
10154 delete arg1;
10155 }
10156 return resultobj;
10157 fail:
10158 {
10159 if (temp1)
10160 delete arg1;
10161 }
10162 return NULL;
10163 }
10164
10165
10166 static PyObject *_wrap_LogDebug(PyObject *, PyObject *args, PyObject *kwargs) {
10167 PyObject *resultobj;
10168 wxString *arg1 = 0 ;
10169 bool temp1 = false ;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "msg", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogDebug",kwnames,&obj0)) goto fail;
10176 {
10177 arg1 = wxString_in_helper(obj0);
10178 if (arg1 == NULL) SWIG_fail;
10179 temp1 = true;
10180 }
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 wxPyLogDebug((wxString const &)*arg1);
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 Py_INCREF(Py_None); resultobj = Py_None;
10189 {
10190 if (temp1)
10191 delete arg1;
10192 }
10193 return resultobj;
10194 fail:
10195 {
10196 if (temp1)
10197 delete arg1;
10198 }
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_LogVerbose(PyObject *, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxString *arg1 = 0 ;
10206 bool temp1 = false ;
10207 PyObject * obj0 = 0 ;
10208 char *kwnames[] = {
10209 (char *) "msg", NULL
10210 };
10211
10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogVerbose",kwnames,&obj0)) goto fail;
10213 {
10214 arg1 = wxString_in_helper(obj0);
10215 if (arg1 == NULL) SWIG_fail;
10216 temp1 = true;
10217 }
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 wxPyLogVerbose((wxString const &)*arg1);
10221
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 Py_INCREF(Py_None); resultobj = Py_None;
10226 {
10227 if (temp1)
10228 delete arg1;
10229 }
10230 return resultobj;
10231 fail:
10232 {
10233 if (temp1)
10234 delete arg1;
10235 }
10236 return NULL;
10237 }
10238
10239
10240 static PyObject *_wrap_LogStatus(PyObject *, PyObject *args, PyObject *kwargs) {
10241 PyObject *resultobj;
10242 wxString *arg1 = 0 ;
10243 bool temp1 = false ;
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "msg", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogStatus",kwnames,&obj0)) goto fail;
10250 {
10251 arg1 = wxString_in_helper(obj0);
10252 if (arg1 == NULL) SWIG_fail;
10253 temp1 = true;
10254 }
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 wxPyLogStatus((wxString const &)*arg1);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 {
10264 if (temp1)
10265 delete arg1;
10266 }
10267 return resultobj;
10268 fail:
10269 {
10270 if (temp1)
10271 delete arg1;
10272 }
10273 return NULL;
10274 }
10275
10276
10277 static PyObject *_wrap_LogStatusFrame(PyObject *, PyObject *args, PyObject *kwargs) {
10278 PyObject *resultobj;
10279 wxFrame *arg1 = (wxFrame *) 0 ;
10280 wxString *arg2 = 0 ;
10281 bool temp2 = false ;
10282 PyObject * obj0 = 0 ;
10283 PyObject * obj1 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "pFrame",(char *) "msg", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogStatusFrame",kwnames,&obj0,&obj1)) goto fail;
10289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFrame, SWIG_POINTER_EXCEPTION | 0);
10290 if (SWIG_arg_fail(1)) SWIG_fail;
10291 {
10292 arg2 = wxString_in_helper(obj1);
10293 if (arg2 == NULL) SWIG_fail;
10294 temp2 = true;
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 wxPyLogStatusFrame(arg1,(wxString const &)*arg2);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 {
10305 if (temp2)
10306 delete arg2;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp2)
10312 delete arg2;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 static PyObject *_wrap_LogSysError(PyObject *, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxString *arg1 = 0 ;
10321 bool temp1 = false ;
10322 PyObject * obj0 = 0 ;
10323 char *kwnames[] = {
10324 (char *) "msg", NULL
10325 };
10326
10327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LogSysError",kwnames,&obj0)) goto fail;
10328 {
10329 arg1 = wxString_in_helper(obj0);
10330 if (arg1 == NULL) SWIG_fail;
10331 temp1 = true;
10332 }
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 wxPyLogSysError((wxString const &)*arg1);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 Py_INCREF(Py_None); resultobj = Py_None;
10341 {
10342 if (temp1)
10343 delete arg1;
10344 }
10345 return resultobj;
10346 fail:
10347 {
10348 if (temp1)
10349 delete arg1;
10350 }
10351 return NULL;
10352 }
10353
10354
10355 static PyObject *_wrap_LogGeneric(PyObject *, PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj;
10357 unsigned long arg1 ;
10358 wxString *arg2 = 0 ;
10359 bool temp2 = false ;
10360 PyObject * obj0 = 0 ;
10361 PyObject * obj1 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "level",(char *) "msg", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LogGeneric",kwnames,&obj0,&obj1)) goto fail;
10367 {
10368 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10369 if (SWIG_arg_fail(1)) SWIG_fail;
10370 }
10371 {
10372 arg2 = wxString_in_helper(obj1);
10373 if (arg2 == NULL) SWIG_fail;
10374 temp2 = true;
10375 }
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 wxPyLogGeneric(arg1,(wxString const &)*arg2);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 {
10385 if (temp2)
10386 delete arg2;
10387 }
10388 return resultobj;
10389 fail:
10390 {
10391 if (temp2)
10392 delete arg2;
10393 }
10394 return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_LogTrace__SWIG_0(PyObject *, PyObject *args) {
10399 PyObject *resultobj;
10400 unsigned long arg1 ;
10401 wxString *arg2 = 0 ;
10402 bool temp2 = false ;
10403 PyObject * obj0 = 0 ;
10404 PyObject * obj1 = 0 ;
10405
10406 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
10407 {
10408 arg1 = (unsigned long)(SWIG_As_unsigned_SS_long(obj0));
10409 if (SWIG_arg_fail(1)) SWIG_fail;
10410 }
10411 {
10412 arg2 = wxString_in_helper(obj1);
10413 if (arg2 == NULL) SWIG_fail;
10414 temp2 = true;
10415 }
10416 {
10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
10418 wxPyLogTrace(arg1,(wxString const &)*arg2);
10419
10420 wxPyEndAllowThreads(__tstate);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 Py_INCREF(Py_None); resultobj = Py_None;
10424 {
10425 if (temp2)
10426 delete arg2;
10427 }
10428 return resultobj;
10429 fail:
10430 {
10431 if (temp2)
10432 delete arg2;
10433 }
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_LogTrace__SWIG_1(PyObject *, PyObject *args) {
10439 PyObject *resultobj;
10440 wxString *arg1 = 0 ;
10441 wxString *arg2 = 0 ;
10442 bool temp1 = false ;
10443 bool temp2 = false ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446
10447 if(!PyArg_ParseTuple(args,(char *)"OO:LogTrace",&obj0,&obj1)) goto fail;
10448 {
10449 arg1 = wxString_in_helper(obj0);
10450 if (arg1 == NULL) SWIG_fail;
10451 temp1 = true;
10452 }
10453 {
10454 arg2 = wxString_in_helper(obj1);
10455 if (arg2 == NULL) SWIG_fail;
10456 temp2 = true;
10457 }
10458 {
10459 PyThreadState* __tstate = wxPyBeginAllowThreads();
10460 wxPyLogTrace((wxString const &)*arg1,(wxString const &)*arg2);
10461
10462 wxPyEndAllowThreads(__tstate);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 Py_INCREF(Py_None); resultobj = Py_None;
10466 {
10467 if (temp1)
10468 delete arg1;
10469 }
10470 {
10471 if (temp2)
10472 delete arg2;
10473 }
10474 return resultobj;
10475 fail:
10476 {
10477 if (temp1)
10478 delete arg1;
10479 }
10480 {
10481 if (temp2)
10482 delete arg2;
10483 }
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_LogTrace(PyObject *self, PyObject *args) {
10489 int argc;
10490 PyObject *argv[3];
10491 int ii;
10492
10493 argc = PyObject_Length(args);
10494 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
10495 argv[ii] = PyTuple_GetItem(args,ii);
10496 }
10497 if (argc == 2) {
10498 int _v;
10499 {
10500 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
10501 }
10502 if (_v) {
10503 {
10504 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10505 }
10506 if (_v) {
10507 return _wrap_LogTrace__SWIG_1(self,args);
10508 }
10509 }
10510 }
10511 if (argc == 2) {
10512 int _v;
10513 _v = SWIG_Check_unsigned_SS_long(argv[0]);
10514 if (_v) {
10515 {
10516 _v = PyString_Check(argv[1]) || PyUnicode_Check(argv[1]);
10517 }
10518 if (_v) {
10519 return _wrap_LogTrace__SWIG_0(self,args);
10520 }
10521 }
10522 }
10523
10524 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'LogTrace'");
10525 return NULL;
10526 }
10527
10528
10529 static PyObject *_wrap_SafeShowMessage(PyObject *, PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj;
10531 wxString *arg1 = 0 ;
10532 wxString *arg2 = 0 ;
10533 bool temp1 = false ;
10534 bool temp2 = false ;
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "title",(char *) "text", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SafeShowMessage",kwnames,&obj0,&obj1)) goto fail;
10542 {
10543 arg1 = wxString_in_helper(obj0);
10544 if (arg1 == NULL) SWIG_fail;
10545 temp1 = true;
10546 }
10547 {
10548 arg2 = wxString_in_helper(obj1);
10549 if (arg2 == NULL) SWIG_fail;
10550 temp2 = true;
10551 }
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 wxSafeShowMessage((wxString const &)*arg1,(wxString const &)*arg2);
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 Py_INCREF(Py_None); resultobj = Py_None;
10560 {
10561 if (temp1)
10562 delete arg1;
10563 }
10564 {
10565 if (temp2)
10566 delete arg2;
10567 }
10568 return resultobj;
10569 fail:
10570 {
10571 if (temp1)
10572 delete arg1;
10573 }
10574 {
10575 if (temp2)
10576 delete arg2;
10577 }
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_new_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxLogNull *result;
10585 char *kwnames[] = {
10586 NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LogNull",kwnames)) goto fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxLogNull *)new wxLogNull();
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLogNull, 1);
10598 return resultobj;
10599 fail:
10600 return NULL;
10601 }
10602
10603
10604 static PyObject *_wrap_delete_LogNull(PyObject *, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxLogNull *arg1 = (wxLogNull *) 0 ;
10607 PyObject * obj0 = 0 ;
10608 char *kwnames[] = {
10609 (char *) "self", NULL
10610 };
10611
10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LogNull",kwnames,&obj0)) goto fail;
10613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLogNull, SWIG_POINTER_EXCEPTION | 0);
10614 if (SWIG_arg_fail(1)) SWIG_fail;
10615 {
10616 PyThreadState* __tstate = wxPyBeginAllowThreads();
10617 delete arg1;
10618
10619 wxPyEndAllowThreads(__tstate);
10620 if (PyErr_Occurred()) SWIG_fail;
10621 }
10622 Py_INCREF(Py_None); resultobj = Py_None;
10623 return resultobj;
10624 fail:
10625 return NULL;
10626 }
10627
10628
10629 static PyObject * LogNull_swigregister(PyObject *, PyObject *args) {
10630 PyObject *obj;
10631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10632 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull, obj);
10633 Py_INCREF(obj);
10634 return Py_BuildValue((char *)"");
10635 }
10636 static PyObject *_wrap_new_PyLog(PyObject *, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxPyLog *result;
10639 char *kwnames[] = {
10640 NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyLog",kwnames)) goto fail;
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (wxPyLog *)new wxPyLog();
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyLog, 1);
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 static PyObject *_wrap_PyLog__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj;
10660 wxPyLog *arg1 = (wxPyLog *) 0 ;
10661 PyObject *arg2 = (PyObject *) 0 ;
10662 PyObject *arg3 = (PyObject *) 0 ;
10663 PyObject * obj0 = 0 ;
10664 PyObject * obj1 = 0 ;
10665 PyObject * obj2 = 0 ;
10666 char *kwnames[] = {
10667 (char *) "self",(char *) "self",(char *) "_class", NULL
10668 };
10669
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyLog__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyLog, SWIG_POINTER_EXCEPTION | 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail;
10673 arg2 = obj1;
10674 arg3 = obj2;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 (arg1)->_setCallbackInfo(arg2,arg3);
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 Py_INCREF(Py_None); resultobj = Py_None;
10683 return resultobj;
10684 fail:
10685 return NULL;
10686 }
10687
10688
10689 static PyObject * PyLog_swigregister(PyObject *, PyObject *args) {
10690 PyObject *obj;
10691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10692 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog, obj);
10693 Py_INCREF(obj);
10694 return Py_BuildValue((char *)"");
10695 }
10696 static PyObject *_wrap_Process_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
10697 PyObject *resultobj;
10698 int arg1 ;
10699 wxSignal arg2 = (wxSignal) wxSIGTERM ;
10700 int arg3 = (int) wxKILL_NOCHILDREN ;
10701 wxKillError result;
10702 PyObject * obj0 = 0 ;
10703 PyObject * obj1 = 0 ;
10704 PyObject * obj2 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "pid",(char *) "sig",(char *) "flags", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Process_Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
10710 {
10711 arg1 = (int)(SWIG_As_int(obj0));
10712 if (SWIG_arg_fail(1)) SWIG_fail;
10713 }
10714 if (obj1) {
10715 {
10716 arg2 = (wxSignal)(SWIG_As_int(obj1));
10717 if (SWIG_arg_fail(2)) SWIG_fail;
10718 }
10719 }
10720 if (obj2) {
10721 {
10722 arg3 = (int)(SWIG_As_int(obj2));
10723 if (SWIG_arg_fail(3)) SWIG_fail;
10724 }
10725 }
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (wxKillError)wxPyProcess::Kill(arg1,(wxSignal )arg2,arg3);
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 resultobj = SWIG_From_int((result));
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_Process_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 int arg1 ;
10743 bool result;
10744 PyObject * obj0 = 0 ;
10745 char *kwnames[] = {
10746 (char *) "pid", NULL
10747 };
10748
10749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Exists",kwnames,&obj0)) goto fail;
10750 {
10751 arg1 = (int)(SWIG_As_int(obj0));
10752 if (SWIG_arg_fail(1)) SWIG_fail;
10753 }
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (bool)wxPyProcess::Exists(arg1);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 {
10762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10763 }
10764 return resultobj;
10765 fail:
10766 return NULL;
10767 }
10768
10769
10770 static PyObject *_wrap_Process_Open(PyObject *, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxString *arg1 = 0 ;
10773 int arg2 = (int) wxEXEC_ASYNC ;
10774 wxPyProcess *result;
10775 bool temp1 = false ;
10776 PyObject * obj0 = 0 ;
10777 PyObject * obj1 = 0 ;
10778 char *kwnames[] = {
10779 (char *) "cmd",(char *) "flags", NULL
10780 };
10781
10782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Process_Open",kwnames,&obj0,&obj1)) goto fail;
10783 {
10784 arg1 = wxString_in_helper(obj0);
10785 if (arg1 == NULL) SWIG_fail;
10786 temp1 = true;
10787 }
10788 if (obj1) {
10789 {
10790 arg2 = (int)(SWIG_As_int(obj1));
10791 if (SWIG_arg_fail(2)) SWIG_fail;
10792 }
10793 }
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 result = (wxPyProcess *)wxPyProcess::Open((wxString const &)*arg1,arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 0);
10802 {
10803 if (temp1)
10804 delete arg1;
10805 }
10806 return resultobj;
10807 fail:
10808 {
10809 if (temp1)
10810 delete arg1;
10811 }
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_new_Process(PyObject *, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxEvtHandler *arg1 = (wxEvtHandler *) NULL ;
10819 int arg2 = (int) -1 ;
10820 wxPyProcess *result;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "parent",(char *) "id", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Process",kwnames,&obj0,&obj1)) goto fail;
10828 if (obj0) {
10829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEvtHandler, SWIG_POINTER_EXCEPTION | 0);
10830 if (SWIG_arg_fail(1)) SWIG_fail;
10831 }
10832 if (obj1) {
10833 {
10834 arg2 = (int)(SWIG_As_int(obj1));
10835 if (SWIG_arg_fail(2)) SWIG_fail;
10836 }
10837 }
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (wxPyProcess *)new wxPyProcess(arg1,arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyProcess, 1);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 static PyObject *_wrap_Process__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10855 PyObject *arg2 = (PyObject *) 0 ;
10856 PyObject *arg3 = (PyObject *) 0 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 PyObject * obj2 = 0 ;
10860 char *kwnames[] = {
10861 (char *) "self",(char *) "self",(char *) "_class", NULL
10862 };
10863
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10866 if (SWIG_arg_fail(1)) SWIG_fail;
10867 arg2 = obj1;
10868 arg3 = obj2;
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->_setCallbackInfo(arg2,arg3);
10872
10873 wxPyEndAllowThreads(__tstate);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 }
10876 Py_INCREF(Py_None); resultobj = Py_None;
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 static PyObject *_wrap_Process_base_OnTerminate(PyObject *, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10886 int arg2 ;
10887 int arg3 ;
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
10890 PyObject * obj2 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self",(char *) "pid",(char *) "status", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Process_base_OnTerminate",kwnames,&obj0,&obj1,&obj2)) goto fail;
10896 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10897 if (SWIG_arg_fail(1)) SWIG_fail;
10898 {
10899 arg2 = (int)(SWIG_As_int(obj1));
10900 if (SWIG_arg_fail(2)) SWIG_fail;
10901 }
10902 {
10903 arg3 = (int)(SWIG_As_int(obj2));
10904 if (SWIG_arg_fail(3)) SWIG_fail;
10905 }
10906 {
10907 PyThreadState* __tstate = wxPyBeginAllowThreads();
10908 (arg1)->base_OnTerminate(arg2,arg3);
10909
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 Py_INCREF(Py_None); resultobj = Py_None;
10914 return resultobj;
10915 fail:
10916 return NULL;
10917 }
10918
10919
10920 static PyObject *_wrap_Process_Redirect(PyObject *, PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj;
10922 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10923 PyObject * obj0 = 0 ;
10924 char *kwnames[] = {
10925 (char *) "self", NULL
10926 };
10927
10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Redirect",kwnames,&obj0)) goto fail;
10929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail;
10931 {
10932 PyThreadState* __tstate = wxPyBeginAllowThreads();
10933 (arg1)->Redirect();
10934
10935 wxPyEndAllowThreads(__tstate);
10936 if (PyErr_Occurred()) SWIG_fail;
10937 }
10938 Py_INCREF(Py_None); resultobj = Py_None;
10939 return resultobj;
10940 fail:
10941 return NULL;
10942 }
10943
10944
10945 static PyObject *_wrap_Process_IsRedirected(PyObject *, PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj;
10947 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10948 bool result;
10949 PyObject * obj0 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsRedirected",kwnames,&obj0)) goto fail;
10955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10956 if (SWIG_arg_fail(1)) SWIG_fail;
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (bool)(arg1)->IsRedirected();
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 {
10965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10966 }
10967 return resultobj;
10968 fail:
10969 return NULL;
10970 }
10971
10972
10973 static PyObject *_wrap_Process_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_Detach",kwnames,&obj0)) goto fail;
10982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
10983 if (SWIG_arg_fail(1)) SWIG_fail;
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 (arg1)->Detach();
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 Py_INCREF(Py_None); resultobj = Py_None;
10992 return resultobj;
10993 fail:
10994 return NULL;
10995 }
10996
10997
10998 static PyObject *_wrap_Process_GetInputStream(PyObject *, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11001 wxInputStream *result;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetInputStream",kwnames,&obj0)) goto fail;
11008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11009 if (SWIG_arg_fail(1)) SWIG_fail;
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 result = (wxInputStream *)(arg1)->GetInputStream();
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 wxPyInputStream * _ptr = NULL;
11019
11020 if (result) {
11021 _ptr = new wxPyInputStream(result);
11022 }
11023 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
11024 }
11025 return resultobj;
11026 fail:
11027 return NULL;
11028 }
11029
11030
11031 static PyObject *_wrap_Process_GetErrorStream(PyObject *, PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj;
11033 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11034 wxInputStream *result;
11035 PyObject * obj0 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetErrorStream",kwnames,&obj0)) goto fail;
11041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11042 if (SWIG_arg_fail(1)) SWIG_fail;
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 result = (wxInputStream *)(arg1)->GetErrorStream();
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 {
11051 wxPyInputStream * _ptr = NULL;
11052
11053 if (result) {
11054 _ptr = new wxPyInputStream(result);
11055 }
11056 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), 0);
11057 }
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject *_wrap_Process_GetOutputStream(PyObject *, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11067 wxOutputStream *result;
11068 PyObject * obj0 = 0 ;
11069 char *kwnames[] = {
11070 (char *) "self", NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_GetOutputStream",kwnames,&obj0)) goto fail;
11074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail;
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (wxOutputStream *)(arg1)->GetOutputStream();
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxOutputStream, 0);
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 static PyObject *_wrap_Process_CloseOutput(PyObject *, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11093 PyObject * obj0 = 0 ;
11094 char *kwnames[] = {
11095 (char *) "self", NULL
11096 };
11097
11098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_CloseOutput",kwnames,&obj0)) goto fail;
11099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail;
11101 {
11102 PyThreadState* __tstate = wxPyBeginAllowThreads();
11103 (arg1)->CloseOutput();
11104
11105 wxPyEndAllowThreads(__tstate);
11106 if (PyErr_Occurred()) SWIG_fail;
11107 }
11108 Py_INCREF(Py_None); resultobj = Py_None;
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_Process_IsInputOpened(PyObject *, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11118 bool result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputOpened",kwnames,&obj0)) goto fail;
11125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11126 if (SWIG_arg_fail(1)) SWIG_fail;
11127 {
11128 PyThreadState* __tstate = wxPyBeginAllowThreads();
11129 result = (bool)((wxPyProcess const *)arg1)->IsInputOpened();
11130
11131 wxPyEndAllowThreads(__tstate);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 {
11135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11136 }
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_Process_IsInputAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11146 bool result;
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "self", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsInputAvailable",kwnames,&obj0)) goto fail;
11153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11154 if (SWIG_arg_fail(1)) SWIG_fail;
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 result = (bool)((wxPyProcess const *)arg1)->IsInputAvailable();
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject *_wrap_Process_IsErrorAvailable(PyObject *, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxPyProcess *arg1 = (wxPyProcess *) 0 ;
11174 bool result;
11175 PyObject * obj0 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Process_IsErrorAvailable",kwnames,&obj0)) goto fail;
11181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11182 if (SWIG_arg_fail(1)) SWIG_fail;
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 result = (bool)((wxPyProcess const *)arg1)->IsErrorAvailable();
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 {
11191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11192 }
11193 return resultobj;
11194 fail:
11195 return NULL;
11196 }
11197
11198
11199 static PyObject * Process_swigregister(PyObject *, PyObject *args) {
11200 PyObject *obj;
11201 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11202 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess, obj);
11203 Py_INCREF(obj);
11204 return Py_BuildValue((char *)"");
11205 }
11206 static PyObject *_wrap_new_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
11207 PyObject *resultobj;
11208 int arg1 = (int) 0 ;
11209 int arg2 = (int) 0 ;
11210 int arg3 = (int) 0 ;
11211 wxProcessEvent *result;
11212 PyObject * obj0 = 0 ;
11213 PyObject * obj1 = 0 ;
11214 PyObject * obj2 = 0 ;
11215 char *kwnames[] = {
11216 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ProcessEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
11220 if (obj0) {
11221 {
11222 arg1 = (int)(SWIG_As_int(obj0));
11223 if (SWIG_arg_fail(1)) SWIG_fail;
11224 }
11225 }
11226 if (obj1) {
11227 {
11228 arg2 = (int)(SWIG_As_int(obj1));
11229 if (SWIG_arg_fail(2)) SWIG_fail;
11230 }
11231 }
11232 if (obj2) {
11233 {
11234 arg3 = (int)(SWIG_As_int(obj2));
11235 if (SWIG_arg_fail(3)) SWIG_fail;
11236 }
11237 }
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (wxProcessEvent *)new wxProcessEvent(arg1,arg2,arg3);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxProcessEvent, 1);
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_ProcessEvent_GetPid(PyObject *, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11255 int result;
11256 PyObject * obj0 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetPid",kwnames,&obj0)) goto fail;
11262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11263 if (SWIG_arg_fail(1)) SWIG_fail;
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (int)(arg1)->GetPid();
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 {
11272 resultobj = SWIG_From_int((int)(result));
11273 }
11274 return resultobj;
11275 fail:
11276 return NULL;
11277 }
11278
11279
11280 static PyObject *_wrap_ProcessEvent_GetExitCode(PyObject *, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11283 int result;
11284 PyObject * obj0 = 0 ;
11285 char *kwnames[] = {
11286 (char *) "self", NULL
11287 };
11288
11289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_GetExitCode",kwnames,&obj0)) goto fail;
11290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11291 if (SWIG_arg_fail(1)) SWIG_fail;
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 result = (int)(arg1)->GetExitCode();
11295
11296 wxPyEndAllowThreads(__tstate);
11297 if (PyErr_Occurred()) SWIG_fail;
11298 }
11299 {
11300 resultobj = SWIG_From_int((int)(result));
11301 }
11302 return resultobj;
11303 fail:
11304 return NULL;
11305 }
11306
11307
11308 static PyObject *_wrap_ProcessEvent_m_pid_set(PyObject *, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11311 int arg2 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "m_pid", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_pid_set",kwnames,&obj0,&obj1)) goto fail;
11319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11320 if (SWIG_arg_fail(1)) SWIG_fail;
11321 {
11322 arg2 = (int)(SWIG_As_int(obj1));
11323 if (SWIG_arg_fail(2)) SWIG_fail;
11324 }
11325 if (arg1) (arg1)->m_pid = arg2;
11326
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 static PyObject *_wrap_ProcessEvent_m_pid_get(PyObject *, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11337 int result;
11338 PyObject * obj0 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_pid_get",kwnames,&obj0)) goto fail;
11344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11345 if (SWIG_arg_fail(1)) SWIG_fail;
11346 result = (int) ((arg1)->m_pid);
11347
11348 {
11349 resultobj = SWIG_From_int((int)(result));
11350 }
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_ProcessEvent_m_exitcode_set(PyObject *, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11360 int arg2 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self",(char *) "m_exitcode", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames,&obj0,&obj1)) goto fail;
11368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail;
11370 {
11371 arg2 = (int)(SWIG_As_int(obj1));
11372 if (SWIG_arg_fail(2)) SWIG_fail;
11373 }
11374 if (arg1) (arg1)->m_exitcode = arg2;
11375
11376 Py_INCREF(Py_None); resultobj = Py_None;
11377 return resultobj;
11378 fail:
11379 return NULL;
11380 }
11381
11382
11383 static PyObject *_wrap_ProcessEvent_m_exitcode_get(PyObject *, PyObject *args, PyObject *kwargs) {
11384 PyObject *resultobj;
11385 wxProcessEvent *arg1 = (wxProcessEvent *) 0 ;
11386 int result;
11387 PyObject * obj0 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProcessEvent_m_exitcode_get",kwnames,&obj0)) goto fail;
11393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxProcessEvent, SWIG_POINTER_EXCEPTION | 0);
11394 if (SWIG_arg_fail(1)) SWIG_fail;
11395 result = (int) ((arg1)->m_exitcode);
11396
11397 {
11398 resultobj = SWIG_From_int((int)(result));
11399 }
11400 return resultobj;
11401 fail:
11402 return NULL;
11403 }
11404
11405
11406 static PyObject * ProcessEvent_swigregister(PyObject *, PyObject *args) {
11407 PyObject *obj;
11408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11409 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent, obj);
11410 Py_INCREF(obj);
11411 return Py_BuildValue((char *)"");
11412 }
11413 static PyObject *_wrap_Execute(PyObject *, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxString *arg1 = 0 ;
11416 int arg2 = (int) wxEXEC_ASYNC ;
11417 wxPyProcess *arg3 = (wxPyProcess *) NULL ;
11418 long result;
11419 bool temp1 = false ;
11420 PyObject * obj0 = 0 ;
11421 PyObject * obj1 = 0 ;
11422 PyObject * obj2 = 0 ;
11423 char *kwnames[] = {
11424 (char *) "command",(char *) "flags",(char *) "process", NULL
11425 };
11426
11427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Execute",kwnames,&obj0,&obj1,&obj2)) goto fail;
11428 {
11429 arg1 = wxString_in_helper(obj0);
11430 if (arg1 == NULL) SWIG_fail;
11431 temp1 = true;
11432 }
11433 if (obj1) {
11434 {
11435 arg2 = (int)(SWIG_As_int(obj1));
11436 if (SWIG_arg_fail(2)) SWIG_fail;
11437 }
11438 }
11439 if (obj2) {
11440 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyProcess, SWIG_POINTER_EXCEPTION | 0);
11441 if (SWIG_arg_fail(3)) SWIG_fail;
11442 }
11443 {
11444 if (!wxPyCheckForApp()) SWIG_fail;
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (long)wxExecute((wxString const &)*arg1,arg2,arg3);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 resultobj = SWIG_From_long((long)(result));
11453 }
11454 {
11455 if (temp1)
11456 delete arg1;
11457 }
11458 return resultobj;
11459 fail:
11460 {
11461 if (temp1)
11462 delete arg1;
11463 }
11464 return NULL;
11465 }
11466
11467
11468 static PyObject *_wrap_Kill(PyObject *, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 long arg1 ;
11471 wxSignal arg2 = (wxSignal) wxSIGTERM ;
11472 wxKillError *arg3 = (wxKillError *) 0 ;
11473 int arg4 = (int) wxKILL_NOCHILDREN ;
11474 int result;
11475 wxKillError temp3 ;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 PyObject * obj2 = 0 ;
11479 char *kwnames[] = {
11480 (char *) "pid",(char *) "sig",(char *) "flags", NULL
11481 };
11482
11483 {
11484 arg3 = &temp3;
11485 }
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Kill",kwnames,&obj0,&obj1,&obj2)) goto fail;
11487 {
11488 arg1 = (long)(SWIG_As_long(obj0));
11489 if (SWIG_arg_fail(1)) SWIG_fail;
11490 }
11491 if (obj1) {
11492 {
11493 arg2 = (wxSignal)(SWIG_As_int(obj1));
11494 if (SWIG_arg_fail(2)) SWIG_fail;
11495 }
11496 }
11497 if (obj2) {
11498 {
11499 arg4 = (int)(SWIG_As_int(obj2));
11500 if (SWIG_arg_fail(4)) SWIG_fail;
11501 }
11502 }
11503 {
11504 PyThreadState* __tstate = wxPyBeginAllowThreads();
11505 result = (int)wxKill(arg1,(wxSignal )arg2,arg3,arg4);
11506
11507 wxPyEndAllowThreads(__tstate);
11508 if (PyErr_Occurred()) SWIG_fail;
11509 }
11510 {
11511 resultobj = SWIG_From_int((int)(result));
11512 }
11513 {
11514 PyObject* o;
11515 o = PyInt_FromLong((long) (*arg3));
11516 resultobj = t_output_helper(resultobj, o);
11517 }
11518 return resultobj;
11519 fail:
11520 return NULL;
11521 }
11522
11523
11524 static PyObject *_wrap_new_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 int arg1 = (int) wxJOYSTICK1 ;
11527 wxJoystick *result;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "joystick", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Joystick",kwnames,&obj0)) goto fail;
11534 if (obj0) {
11535 {
11536 arg1 = (int)(SWIG_As_int(obj0));
11537 if (SWIG_arg_fail(1)) SWIG_fail;
11538 }
11539 }
11540 {
11541 if (!wxPyCheckForApp()) SWIG_fail;
11542 PyThreadState* __tstate = wxPyBeginAllowThreads();
11543 result = (wxJoystick *)new wxJoystick(arg1);
11544
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystick, 1);
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 static PyObject *_wrap_delete_Joystick(PyObject *, PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj;
11557 wxJoystick *arg1 = (wxJoystick *) 0 ;
11558 PyObject * obj0 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Joystick",kwnames,&obj0)) goto fail;
11564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11565 if (SWIG_arg_fail(1)) SWIG_fail;
11566 {
11567 PyThreadState* __tstate = wxPyBeginAllowThreads();
11568 delete arg1;
11569
11570 wxPyEndAllowThreads(__tstate);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 Py_INCREF(Py_None); resultobj = Py_None;
11574 return resultobj;
11575 fail:
11576 return NULL;
11577 }
11578
11579
11580 static PyObject *_wrap_Joystick_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11581 PyObject *resultobj;
11582 wxJoystick *arg1 = (wxJoystick *) 0 ;
11583 wxPoint result;
11584 PyObject * obj0 = 0 ;
11585 char *kwnames[] = {
11586 (char *) "self", NULL
11587 };
11588
11589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPosition",kwnames,&obj0)) goto fail;
11590 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11591 if (SWIG_arg_fail(1)) SWIG_fail;
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (arg1)->GetPosition();
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 {
11600 wxPoint * resultptr;
11601 resultptr = new wxPoint((wxPoint &)(result));
11602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
11603 }
11604 return resultobj;
11605 fail:
11606 return NULL;
11607 }
11608
11609
11610 static PyObject *_wrap_Joystick_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11611 PyObject *resultobj;
11612 wxJoystick *arg1 = (wxJoystick *) 0 ;
11613 int result;
11614 PyObject * obj0 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "self", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZPosition",kwnames,&obj0)) goto fail;
11620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11621 if (SWIG_arg_fail(1)) SWIG_fail;
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 result = (int)(arg1)->GetZPosition();
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 {
11630 resultobj = SWIG_From_int((int)(result));
11631 }
11632 return resultobj;
11633 fail:
11634 return NULL;
11635 }
11636
11637
11638 static PyObject *_wrap_Joystick_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
11639 PyObject *resultobj;
11640 wxJoystick *arg1 = (wxJoystick *) 0 ;
11641 int result;
11642 PyObject * obj0 = 0 ;
11643 char *kwnames[] = {
11644 (char *) "self", NULL
11645 };
11646
11647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetButtonState",kwnames,&obj0)) goto fail;
11648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11649 if (SWIG_arg_fail(1)) SWIG_fail;
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 result = (int)(arg1)->GetButtonState();
11653
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 {
11658 resultobj = SWIG_From_int((int)(result));
11659 }
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_Joystick_GetPOVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxJoystick *arg1 = (wxJoystick *) 0 ;
11669 int result;
11670 PyObject * obj0 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVPosition",kwnames,&obj0)) goto fail;
11676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail;
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (int)(arg1)->GetPOVPosition();
11681
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
11685 {
11686 resultobj = SWIG_From_int((int)(result));
11687 }
11688 return resultobj;
11689 fail:
11690 return NULL;
11691 }
11692
11693
11694 static PyObject *_wrap_Joystick_GetPOVCTSPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj;
11696 wxJoystick *arg1 = (wxJoystick *) 0 ;
11697 int result;
11698 PyObject * obj0 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPOVCTSPosition",kwnames,&obj0)) goto fail;
11704 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11705 if (SWIG_arg_fail(1)) SWIG_fail;
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (int)(arg1)->GetPOVCTSPosition();
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 {
11714 resultobj = SWIG_From_int((int)(result));
11715 }
11716 return resultobj;
11717 fail:
11718 return NULL;
11719 }
11720
11721
11722 static PyObject *_wrap_Joystick_GetRudderPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxJoystick *arg1 = (wxJoystick *) 0 ;
11725 int result;
11726 PyObject * obj0 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "self", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderPosition",kwnames,&obj0)) goto fail;
11732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11733 if (SWIG_arg_fail(1)) SWIG_fail;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (int)(arg1)->GetRudderPosition();
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 {
11742 resultobj = SWIG_From_int((int)(result));
11743 }
11744 return resultobj;
11745 fail:
11746 return NULL;
11747 }
11748
11749
11750 static PyObject *_wrap_Joystick_GetUPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11751 PyObject *resultobj;
11752 wxJoystick *arg1 = (wxJoystick *) 0 ;
11753 int result;
11754 PyObject * obj0 = 0 ;
11755 char *kwnames[] = {
11756 (char *) "self", NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUPosition",kwnames,&obj0)) goto fail;
11760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11761 if (SWIG_arg_fail(1)) SWIG_fail;
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (int)(arg1)->GetUPosition();
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 {
11770 resultobj = SWIG_From_int((int)(result));
11771 }
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_Joystick_GetVPosition(PyObject *, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxJoystick *arg1 = (wxJoystick *) 0 ;
11781 int result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVPosition",kwnames,&obj0)) goto fail;
11788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (int)(arg1)->GetVPosition();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 {
11798 resultobj = SWIG_From_int((int)(result));
11799 }
11800 return resultobj;
11801 fail:
11802 return NULL;
11803 }
11804
11805
11806 static PyObject *_wrap_Joystick_GetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
11807 PyObject *resultobj;
11808 wxJoystick *arg1 = (wxJoystick *) 0 ;
11809 int result;
11810 PyObject * obj0 = 0 ;
11811 char *kwnames[] = {
11812 (char *) "self", NULL
11813 };
11814
11815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMovementThreshold",kwnames,&obj0)) goto fail;
11816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (int)(arg1)->GetMovementThreshold();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 {
11826 resultobj = SWIG_From_int((int)(result));
11827 }
11828 return resultobj;
11829 fail:
11830 return NULL;
11831 }
11832
11833
11834 static PyObject *_wrap_Joystick_SetMovementThreshold(PyObject *, PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj;
11836 wxJoystick *arg1 = (wxJoystick *) 0 ;
11837 int arg2 ;
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self",(char *) "threshold", NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Joystick_SetMovementThreshold",kwnames,&obj0,&obj1)) goto fail;
11845 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11846 if (SWIG_arg_fail(1)) SWIG_fail;
11847 {
11848 arg2 = (int)(SWIG_As_int(obj1));
11849 if (SWIG_arg_fail(2)) SWIG_fail;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetMovementThreshold(arg2);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 Py_INCREF(Py_None); resultobj = Py_None;
11859 return resultobj;
11860 fail:
11861 return NULL;
11862 }
11863
11864
11865 static PyObject *_wrap_Joystick_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj;
11867 wxJoystick *arg1 = (wxJoystick *) 0 ;
11868 bool result;
11869 PyObject * obj0 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_IsOk",kwnames,&obj0)) goto fail;
11875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11876 if (SWIG_arg_fail(1)) SWIG_fail;
11877 {
11878 PyThreadState* __tstate = wxPyBeginAllowThreads();
11879 result = (bool)(arg1)->IsOk();
11880
11881 wxPyEndAllowThreads(__tstate);
11882 if (PyErr_Occurred()) SWIG_fail;
11883 }
11884 {
11885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11886 }
11887 return resultobj;
11888 fail:
11889 return NULL;
11890 }
11891
11892
11893 static PyObject *_wrap_Joystick_GetNumberJoysticks(PyObject *, PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj;
11895 wxJoystick *arg1 = (wxJoystick *) 0 ;
11896 int result;
11897 PyObject * obj0 = 0 ;
11898 char *kwnames[] = {
11899 (char *) "self", NULL
11900 };
11901
11902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberJoysticks",kwnames,&obj0)) goto fail;
11903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11904 if (SWIG_arg_fail(1)) SWIG_fail;
11905 {
11906 PyThreadState* __tstate = wxPyBeginAllowThreads();
11907 result = (int)(arg1)->GetNumberJoysticks();
11908
11909 wxPyEndAllowThreads(__tstate);
11910 if (PyErr_Occurred()) SWIG_fail;
11911 }
11912 {
11913 resultobj = SWIG_From_int((int)(result));
11914 }
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject *_wrap_Joystick_GetManufacturerId(PyObject *, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxJoystick *arg1 = (wxJoystick *) 0 ;
11924 int result;
11925 PyObject * obj0 = 0 ;
11926 char *kwnames[] = {
11927 (char *) "self", NULL
11928 };
11929
11930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetManufacturerId",kwnames,&obj0)) goto fail;
11931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11932 if (SWIG_arg_fail(1)) SWIG_fail;
11933 {
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 result = (int)(arg1)->GetManufacturerId();
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) SWIG_fail;
11939 }
11940 {
11941 resultobj = SWIG_From_int((int)(result));
11942 }
11943 return resultobj;
11944 fail:
11945 return NULL;
11946 }
11947
11948
11949 static PyObject *_wrap_Joystick_GetProductId(PyObject *, PyObject *args, PyObject *kwargs) {
11950 PyObject *resultobj;
11951 wxJoystick *arg1 = (wxJoystick *) 0 ;
11952 int result;
11953 PyObject * obj0 = 0 ;
11954 char *kwnames[] = {
11955 (char *) "self", NULL
11956 };
11957
11958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductId",kwnames,&obj0)) goto fail;
11959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11960 if (SWIG_arg_fail(1)) SWIG_fail;
11961 {
11962 PyThreadState* __tstate = wxPyBeginAllowThreads();
11963 result = (int)(arg1)->GetProductId();
11964
11965 wxPyEndAllowThreads(__tstate);
11966 if (PyErr_Occurred()) SWIG_fail;
11967 }
11968 {
11969 resultobj = SWIG_From_int((int)(result));
11970 }
11971 return resultobj;
11972 fail:
11973 return NULL;
11974 }
11975
11976
11977 static PyObject *_wrap_Joystick_GetProductName(PyObject *, PyObject *args, PyObject *kwargs) {
11978 PyObject *resultobj;
11979 wxJoystick *arg1 = (wxJoystick *) 0 ;
11980 wxString result;
11981 PyObject * obj0 = 0 ;
11982 char *kwnames[] = {
11983 (char *) "self", NULL
11984 };
11985
11986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetProductName",kwnames,&obj0)) goto fail;
11987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail;
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (arg1)->GetProductName();
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 {
11997 #if wxUSE_UNICODE
11998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11999 #else
12000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12001 #endif
12002 }
12003 return resultobj;
12004 fail:
12005 return NULL;
12006 }
12007
12008
12009 static PyObject *_wrap_Joystick_GetXMin(PyObject *, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxJoystick *arg1 = (wxJoystick *) 0 ;
12012 int result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMin",kwnames,&obj0)) goto fail;
12019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail;
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (int)(arg1)->GetXMin();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 {
12029 resultobj = SWIG_From_int((int)(result));
12030 }
12031 return resultobj;
12032 fail:
12033 return NULL;
12034 }
12035
12036
12037 static PyObject *_wrap_Joystick_GetYMin(PyObject *, PyObject *args, PyObject *kwargs) {
12038 PyObject *resultobj;
12039 wxJoystick *arg1 = (wxJoystick *) 0 ;
12040 int result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMin",kwnames,&obj0)) goto fail;
12047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12048 if (SWIG_arg_fail(1)) SWIG_fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (int)(arg1)->GetYMin();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 {
12057 resultobj = SWIG_From_int((int)(result));
12058 }
12059 return resultobj;
12060 fail:
12061 return NULL;
12062 }
12063
12064
12065 static PyObject *_wrap_Joystick_GetZMin(PyObject *, PyObject *args, PyObject *kwargs) {
12066 PyObject *resultobj;
12067 wxJoystick *arg1 = (wxJoystick *) 0 ;
12068 int result;
12069 PyObject * obj0 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMin",kwnames,&obj0)) goto fail;
12075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12076 if (SWIG_arg_fail(1)) SWIG_fail;
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 result = (int)(arg1)->GetZMin();
12080
12081 wxPyEndAllowThreads(__tstate);
12082 if (PyErr_Occurred()) SWIG_fail;
12083 }
12084 {
12085 resultobj = SWIG_From_int((int)(result));
12086 }
12087 return resultobj;
12088 fail:
12089 return NULL;
12090 }
12091
12092
12093 static PyObject *_wrap_Joystick_GetXMax(PyObject *, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj;
12095 wxJoystick *arg1 = (wxJoystick *) 0 ;
12096 int result;
12097 PyObject * obj0 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetXMax",kwnames,&obj0)) goto fail;
12103 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12104 if (SWIG_arg_fail(1)) SWIG_fail;
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (int)(arg1)->GetXMax();
12108
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 {
12113 resultobj = SWIG_From_int((int)(result));
12114 }
12115 return resultobj;
12116 fail:
12117 return NULL;
12118 }
12119
12120
12121 static PyObject *_wrap_Joystick_GetYMax(PyObject *, PyObject *args, PyObject *kwargs) {
12122 PyObject *resultobj;
12123 wxJoystick *arg1 = (wxJoystick *) 0 ;
12124 int result;
12125 PyObject * obj0 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetYMax",kwnames,&obj0)) goto fail;
12131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail;
12133 {
12134 PyThreadState* __tstate = wxPyBeginAllowThreads();
12135 result = (int)(arg1)->GetYMax();
12136
12137 wxPyEndAllowThreads(__tstate);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 }
12140 {
12141 resultobj = SWIG_From_int((int)(result));
12142 }
12143 return resultobj;
12144 fail:
12145 return NULL;
12146 }
12147
12148
12149 static PyObject *_wrap_Joystick_GetZMax(PyObject *, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxJoystick *arg1 = (wxJoystick *) 0 ;
12152 int result;
12153 PyObject * obj0 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetZMax",kwnames,&obj0)) goto fail;
12159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12160 if (SWIG_arg_fail(1)) SWIG_fail;
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (int)(arg1)->GetZMax();
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
12168 {
12169 resultobj = SWIG_From_int((int)(result));
12170 }
12171 return resultobj;
12172 fail:
12173 return NULL;
12174 }
12175
12176
12177 static PyObject *_wrap_Joystick_GetNumberButtons(PyObject *, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxJoystick *arg1 = (wxJoystick *) 0 ;
12180 int result;
12181 PyObject * obj0 = 0 ;
12182 char *kwnames[] = {
12183 (char *) "self", NULL
12184 };
12185
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberButtons",kwnames,&obj0)) goto fail;
12187 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12188 if (SWIG_arg_fail(1)) SWIG_fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)(arg1)->GetNumberButtons();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 {
12197 resultobj = SWIG_From_int((int)(result));
12198 }
12199 return resultobj;
12200 fail:
12201 return NULL;
12202 }
12203
12204
12205 static PyObject *_wrap_Joystick_GetNumberAxes(PyObject *, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxJoystick *arg1 = (wxJoystick *) 0 ;
12208 int result;
12209 PyObject * obj0 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetNumberAxes",kwnames,&obj0)) goto fail;
12215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12216 if (SWIG_arg_fail(1)) SWIG_fail;
12217 {
12218 PyThreadState* __tstate = wxPyBeginAllowThreads();
12219 result = (int)(arg1)->GetNumberAxes();
12220
12221 wxPyEndAllowThreads(__tstate);
12222 if (PyErr_Occurred()) SWIG_fail;
12223 }
12224 {
12225 resultobj = SWIG_From_int((int)(result));
12226 }
12227 return resultobj;
12228 fail:
12229 return NULL;
12230 }
12231
12232
12233 static PyObject *_wrap_Joystick_GetMaxButtons(PyObject *, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxJoystick *arg1 = (wxJoystick *) 0 ;
12236 int result;
12237 PyObject * obj0 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxButtons",kwnames,&obj0)) goto fail;
12243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12244 if (SWIG_arg_fail(1)) SWIG_fail;
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 result = (int)(arg1)->GetMaxButtons();
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 {
12253 resultobj = SWIG_From_int((int)(result));
12254 }
12255 return resultobj;
12256 fail:
12257 return NULL;
12258 }
12259
12260
12261 static PyObject *_wrap_Joystick_GetMaxAxes(PyObject *, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxJoystick *arg1 = (wxJoystick *) 0 ;
12264 int result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetMaxAxes",kwnames,&obj0)) goto fail;
12271 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail;
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (int)(arg1)->GetMaxAxes();
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 {
12281 resultobj = SWIG_From_int((int)(result));
12282 }
12283 return resultobj;
12284 fail:
12285 return NULL;
12286 }
12287
12288
12289 static PyObject *_wrap_Joystick_GetPollingMin(PyObject *, PyObject *args, PyObject *kwargs) {
12290 PyObject *resultobj;
12291 wxJoystick *arg1 = (wxJoystick *) 0 ;
12292 int result;
12293 PyObject * obj0 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMin",kwnames,&obj0)) goto fail;
12299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12300 if (SWIG_arg_fail(1)) SWIG_fail;
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (int)(arg1)->GetPollingMin();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
12308 {
12309 resultobj = SWIG_From_int((int)(result));
12310 }
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_Joystick_GetPollingMax(PyObject *, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxJoystick *arg1 = (wxJoystick *) 0 ;
12320 int result;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetPollingMax",kwnames,&obj0)) goto fail;
12327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12328 if (SWIG_arg_fail(1)) SWIG_fail;
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 result = (int)(arg1)->GetPollingMax();
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 {
12337 resultobj = SWIG_From_int((int)(result));
12338 }
12339 return resultobj;
12340 fail:
12341 return NULL;
12342 }
12343
12344
12345 static PyObject *_wrap_Joystick_GetRudderMin(PyObject *, PyObject *args, PyObject *kwargs) {
12346 PyObject *resultobj;
12347 wxJoystick *arg1 = (wxJoystick *) 0 ;
12348 int result;
12349 PyObject * obj0 = 0 ;
12350 char *kwnames[] = {
12351 (char *) "self", NULL
12352 };
12353
12354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMin",kwnames,&obj0)) goto fail;
12355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12356 if (SWIG_arg_fail(1)) SWIG_fail;
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (int)(arg1)->GetRudderMin();
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 {
12365 resultobj = SWIG_From_int((int)(result));
12366 }
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 static PyObject *_wrap_Joystick_GetRudderMax(PyObject *, PyObject *args, PyObject *kwargs) {
12374 PyObject *resultobj;
12375 wxJoystick *arg1 = (wxJoystick *) 0 ;
12376 int result;
12377 PyObject * obj0 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetRudderMax",kwnames,&obj0)) goto fail;
12383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12384 if (SWIG_arg_fail(1)) SWIG_fail;
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 result = (int)(arg1)->GetRudderMax();
12388
12389 wxPyEndAllowThreads(__tstate);
12390 if (PyErr_Occurred()) SWIG_fail;
12391 }
12392 {
12393 resultobj = SWIG_From_int((int)(result));
12394 }
12395 return resultobj;
12396 fail:
12397 return NULL;
12398 }
12399
12400
12401 static PyObject *_wrap_Joystick_GetUMin(PyObject *, PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj;
12403 wxJoystick *arg1 = (wxJoystick *) 0 ;
12404 int result;
12405 PyObject * obj0 = 0 ;
12406 char *kwnames[] = {
12407 (char *) "self", NULL
12408 };
12409
12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMin",kwnames,&obj0)) goto fail;
12411 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12412 if (SWIG_arg_fail(1)) SWIG_fail;
12413 {
12414 PyThreadState* __tstate = wxPyBeginAllowThreads();
12415 result = (int)(arg1)->GetUMin();
12416
12417 wxPyEndAllowThreads(__tstate);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 {
12421 resultobj = SWIG_From_int((int)(result));
12422 }
12423 return resultobj;
12424 fail:
12425 return NULL;
12426 }
12427
12428
12429 static PyObject *_wrap_Joystick_GetUMax(PyObject *, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxJoystick *arg1 = (wxJoystick *) 0 ;
12432 int result;
12433 PyObject * obj0 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetUMax",kwnames,&obj0)) goto fail;
12439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12440 if (SWIG_arg_fail(1)) SWIG_fail;
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 result = (int)(arg1)->GetUMax();
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 {
12449 resultobj = SWIG_From_int((int)(result));
12450 }
12451 return resultobj;
12452 fail:
12453 return NULL;
12454 }
12455
12456
12457 static PyObject *_wrap_Joystick_GetVMin(PyObject *, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxJoystick *arg1 = (wxJoystick *) 0 ;
12460 int result;
12461 PyObject * obj0 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "self", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMin",kwnames,&obj0)) goto fail;
12467 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12468 if (SWIG_arg_fail(1)) SWIG_fail;
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (int)(arg1)->GetVMin();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 {
12477 resultobj = SWIG_From_int((int)(result));
12478 }
12479 return resultobj;
12480 fail:
12481 return NULL;
12482 }
12483
12484
12485 static PyObject *_wrap_Joystick_GetVMax(PyObject *, PyObject *args, PyObject *kwargs) {
12486 PyObject *resultobj;
12487 wxJoystick *arg1 = (wxJoystick *) 0 ;
12488 int result;
12489 PyObject * obj0 = 0 ;
12490 char *kwnames[] = {
12491 (char *) "self", NULL
12492 };
12493
12494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_GetVMax",kwnames,&obj0)) goto fail;
12495 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail;
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (int)(arg1)->GetVMax();
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 {
12505 resultobj = SWIG_From_int((int)(result));
12506 }
12507 return resultobj;
12508 fail:
12509 return NULL;
12510 }
12511
12512
12513 static PyObject *_wrap_Joystick_HasRudder(PyObject *, PyObject *args, PyObject *kwargs) {
12514 PyObject *resultobj;
12515 wxJoystick *arg1 = (wxJoystick *) 0 ;
12516 bool result;
12517 PyObject * obj0 = 0 ;
12518 char *kwnames[] = {
12519 (char *) "self", NULL
12520 };
12521
12522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasRudder",kwnames,&obj0)) goto fail;
12523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12524 if (SWIG_arg_fail(1)) SWIG_fail;
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 result = (bool)(arg1)->HasRudder();
12528
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 {
12533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12534 }
12535 return resultobj;
12536 fail:
12537 return NULL;
12538 }
12539
12540
12541 static PyObject *_wrap_Joystick_HasZ(PyObject *, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxJoystick *arg1 = (wxJoystick *) 0 ;
12544 bool result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "self", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasZ",kwnames,&obj0)) goto fail;
12551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail;
12553 {
12554 PyThreadState* __tstate = wxPyBeginAllowThreads();
12555 result = (bool)(arg1)->HasZ();
12556
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 {
12561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12562 }
12563 return resultobj;
12564 fail:
12565 return NULL;
12566 }
12567
12568
12569 static PyObject *_wrap_Joystick_HasU(PyObject *, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxJoystick *arg1 = (wxJoystick *) 0 ;
12572 bool result;
12573 PyObject * obj0 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasU",kwnames,&obj0)) goto fail;
12579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12580 if (SWIG_arg_fail(1)) SWIG_fail;
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (bool)(arg1)->HasU();
12584
12585 wxPyEndAllowThreads(__tstate);
12586 if (PyErr_Occurred()) SWIG_fail;
12587 }
12588 {
12589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12590 }
12591 return resultobj;
12592 fail:
12593 return NULL;
12594 }
12595
12596
12597 static PyObject *_wrap_Joystick_HasV(PyObject *, PyObject *args, PyObject *kwargs) {
12598 PyObject *resultobj;
12599 wxJoystick *arg1 = (wxJoystick *) 0 ;
12600 bool result;
12601 PyObject * obj0 = 0 ;
12602 char *kwnames[] = {
12603 (char *) "self", NULL
12604 };
12605
12606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasV",kwnames,&obj0)) goto fail;
12607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12608 if (SWIG_arg_fail(1)) SWIG_fail;
12609 {
12610 PyThreadState* __tstate = wxPyBeginAllowThreads();
12611 result = (bool)(arg1)->HasV();
12612
12613 wxPyEndAllowThreads(__tstate);
12614 if (PyErr_Occurred()) SWIG_fail;
12615 }
12616 {
12617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12618 }
12619 return resultobj;
12620 fail:
12621 return NULL;
12622 }
12623
12624
12625 static PyObject *_wrap_Joystick_HasPOV(PyObject *, PyObject *args, PyObject *kwargs) {
12626 PyObject *resultobj;
12627 wxJoystick *arg1 = (wxJoystick *) 0 ;
12628 bool result;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV",kwnames,&obj0)) goto fail;
12635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12636 if (SWIG_arg_fail(1)) SWIG_fail;
12637 {
12638 PyThreadState* __tstate = wxPyBeginAllowThreads();
12639 result = (bool)(arg1)->HasPOV();
12640
12641 wxPyEndAllowThreads(__tstate);
12642 if (PyErr_Occurred()) SWIG_fail;
12643 }
12644 {
12645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12646 }
12647 return resultobj;
12648 fail:
12649 return NULL;
12650 }
12651
12652
12653 static PyObject *_wrap_Joystick_HasPOV4Dir(PyObject *, PyObject *args, PyObject *kwargs) {
12654 PyObject *resultobj;
12655 wxJoystick *arg1 = (wxJoystick *) 0 ;
12656 bool result;
12657 PyObject * obj0 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOV4Dir",kwnames,&obj0)) goto fail;
12663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (bool)(arg1)->HasPOV4Dir();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 {
12673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12674 }
12675 return resultobj;
12676 fail:
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_Joystick_HasPOVCTS(PyObject *, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxJoystick *arg1 = (wxJoystick *) 0 ;
12684 bool result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_HasPOVCTS",kwnames,&obj0)) goto fail;
12691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12692 if (SWIG_arg_fail(1)) SWIG_fail;
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = (bool)(arg1)->HasPOVCTS();
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 {
12701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12702 }
12703 return resultobj;
12704 fail:
12705 return NULL;
12706 }
12707
12708
12709 static PyObject *_wrap_Joystick_SetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
12710 PyObject *resultobj;
12711 wxJoystick *arg1 = (wxJoystick *) 0 ;
12712 wxWindow *arg2 = (wxWindow *) 0 ;
12713 int arg3 = (int) 0 ;
12714 bool result;
12715 PyObject * obj0 = 0 ;
12716 PyObject * obj1 = 0 ;
12717 PyObject * obj2 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
12720 };
12721
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Joystick_SetCapture",kwnames,&obj0,&obj1,&obj2)) goto fail;
12723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail;
12725 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12726 if (SWIG_arg_fail(2)) SWIG_fail;
12727 if (obj2) {
12728 {
12729 arg3 = (int)(SWIG_As_int(obj2));
12730 if (SWIG_arg_fail(3)) SWIG_fail;
12731 }
12732 }
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (bool)(arg1)->SetCapture(arg2,arg3);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 {
12741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12742 }
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 static PyObject *_wrap_Joystick_ReleaseCapture(PyObject *, PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj;
12751 wxJoystick *arg1 = (wxJoystick *) 0 ;
12752 bool result;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Joystick_ReleaseCapture",kwnames,&obj0)) goto fail;
12759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystick, SWIG_POINTER_EXCEPTION | 0);
12760 if (SWIG_arg_fail(1)) SWIG_fail;
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (bool)(arg1)->ReleaseCapture();
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 {
12769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12770 }
12771 return resultobj;
12772 fail:
12773 return NULL;
12774 }
12775
12776
12777 static PyObject * Joystick_swigregister(PyObject *, PyObject *args) {
12778 PyObject *obj;
12779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12780 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick, obj);
12781 Py_INCREF(obj);
12782 return Py_BuildValue((char *)"");
12783 }
12784 static PyObject *_wrap_new_JoystickEvent(PyObject *, PyObject *args, PyObject *kwargs) {
12785 PyObject *resultobj;
12786 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12787 int arg2 = (int) 0 ;
12788 int arg3 = (int) wxJOYSTICK1 ;
12789 int arg4 = (int) 0 ;
12790 wxJoystickEvent *result;
12791 PyObject * obj0 = 0 ;
12792 PyObject * obj1 = 0 ;
12793 PyObject * obj2 = 0 ;
12794 PyObject * obj3 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_JoystickEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12800 if (obj0) {
12801 {
12802 arg1 = (wxEventType)(SWIG_As_int(obj0));
12803 if (SWIG_arg_fail(1)) SWIG_fail;
12804 }
12805 }
12806 if (obj1) {
12807 {
12808 arg2 = (int)(SWIG_As_int(obj1));
12809 if (SWIG_arg_fail(2)) SWIG_fail;
12810 }
12811 }
12812 if (obj2) {
12813 {
12814 arg3 = (int)(SWIG_As_int(obj2));
12815 if (SWIG_arg_fail(3)) SWIG_fail;
12816 }
12817 }
12818 if (obj3) {
12819 {
12820 arg4 = (int)(SWIG_As_int(obj3));
12821 if (SWIG_arg_fail(4)) SWIG_fail;
12822 }
12823 }
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (wxJoystickEvent *)new wxJoystickEvent(arg1,arg2,arg3,arg4);
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJoystickEvent, 1);
12832 return resultobj;
12833 fail:
12834 return NULL;
12835 }
12836
12837
12838 static PyObject *_wrap_JoystickEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12841 wxPoint result;
12842 PyObject * obj0 = 0 ;
12843 char *kwnames[] = {
12844 (char *) "self", NULL
12845 };
12846
12847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetPosition",kwnames,&obj0)) goto fail;
12848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12849 if (SWIG_arg_fail(1)) SWIG_fail;
12850 {
12851 PyThreadState* __tstate = wxPyBeginAllowThreads();
12852 result = ((wxJoystickEvent const *)arg1)->GetPosition();
12853
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 {
12858 wxPoint * resultptr;
12859 resultptr = new wxPoint((wxPoint &)(result));
12860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12861 }
12862 return resultobj;
12863 fail:
12864 return NULL;
12865 }
12866
12867
12868 static PyObject *_wrap_JoystickEvent_GetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
12869 PyObject *resultobj;
12870 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12871 int result;
12872 PyObject * obj0 = 0 ;
12873 char *kwnames[] = {
12874 (char *) "self", NULL
12875 };
12876
12877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetZPosition",kwnames,&obj0)) goto fail;
12878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail;
12880 {
12881 PyThreadState* __tstate = wxPyBeginAllowThreads();
12882 result = (int)((wxJoystickEvent const *)arg1)->GetZPosition();
12883
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 {
12888 resultobj = SWIG_From_int((int)(result));
12889 }
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 static PyObject *_wrap_JoystickEvent_GetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12899 int result;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonState",kwnames,&obj0)) goto fail;
12906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12907 if (SWIG_arg_fail(1)) SWIG_fail;
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (int)((wxJoystickEvent const *)arg1)->GetButtonState();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 {
12916 resultobj = SWIG_From_int((int)(result));
12917 }
12918 return resultobj;
12919 fail:
12920 return NULL;
12921 }
12922
12923
12924 static PyObject *_wrap_JoystickEvent_GetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
12925 PyObject *resultobj;
12926 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12927 int result;
12928 PyObject * obj0 = 0 ;
12929 char *kwnames[] = {
12930 (char *) "self", NULL
12931 };
12932
12933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetButtonChange",kwnames,&obj0)) goto fail;
12934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail;
12936 {
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (int)((wxJoystickEvent const *)arg1)->GetButtonChange();
12939
12940 wxPyEndAllowThreads(__tstate);
12941 if (PyErr_Occurred()) SWIG_fail;
12942 }
12943 {
12944 resultobj = SWIG_From_int((int)(result));
12945 }
12946 return resultobj;
12947 fail:
12948 return NULL;
12949 }
12950
12951
12952 static PyObject *_wrap_JoystickEvent_GetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
12953 PyObject *resultobj;
12954 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12955 int result;
12956 PyObject * obj0 = 0 ;
12957 char *kwnames[] = {
12958 (char *) "self", NULL
12959 };
12960
12961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_GetJoystick",kwnames,&obj0)) goto fail;
12962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12963 if (SWIG_arg_fail(1)) SWIG_fail;
12964 {
12965 PyThreadState* __tstate = wxPyBeginAllowThreads();
12966 result = (int)((wxJoystickEvent const *)arg1)->GetJoystick();
12967
12968 wxPyEndAllowThreads(__tstate);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 {
12972 resultobj = SWIG_From_int((int)(result));
12973 }
12974 return resultobj;
12975 fail:
12976 return NULL;
12977 }
12978
12979
12980 static PyObject *_wrap_JoystickEvent_SetJoystick(PyObject *, PyObject *args, PyObject *kwargs) {
12981 PyObject *resultobj;
12982 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
12983 int arg2 ;
12984 PyObject * obj0 = 0 ;
12985 PyObject * obj1 = 0 ;
12986 char *kwnames[] = {
12987 (char *) "self",(char *) "stick", NULL
12988 };
12989
12990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetJoystick",kwnames,&obj0,&obj1)) goto fail;
12991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
12992 if (SWIG_arg_fail(1)) SWIG_fail;
12993 {
12994 arg2 = (int)(SWIG_As_int(obj1));
12995 if (SWIG_arg_fail(2)) SWIG_fail;
12996 }
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 (arg1)->SetJoystick(arg2);
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 Py_INCREF(Py_None); resultobj = Py_None;
13005 return resultobj;
13006 fail:
13007 return NULL;
13008 }
13009
13010
13011 static PyObject *_wrap_JoystickEvent_SetButtonState(PyObject *, PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj;
13013 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13014 int arg2 ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 char *kwnames[] = {
13018 (char *) "self",(char *) "state", NULL
13019 };
13020
13021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonState",kwnames,&obj0,&obj1)) goto fail;
13022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail;
13024 {
13025 arg2 = (int)(SWIG_As_int(obj1));
13026 if (SWIG_arg_fail(2)) SWIG_fail;
13027 }
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 (arg1)->SetButtonState(arg2);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 Py_INCREF(Py_None); resultobj = Py_None;
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_JoystickEvent_SetButtonChange(PyObject *, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13045 int arg2 ;
13046 PyObject * obj0 = 0 ;
13047 PyObject * obj1 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self",(char *) "change", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetButtonChange",kwnames,&obj0,&obj1)) goto fail;
13053 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13054 if (SWIG_arg_fail(1)) SWIG_fail;
13055 {
13056 arg2 = (int)(SWIG_As_int(obj1));
13057 if (SWIG_arg_fail(2)) SWIG_fail;
13058 }
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 (arg1)->SetButtonChange(arg2);
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 Py_INCREF(Py_None); resultobj = Py_None;
13067 return resultobj;
13068 fail:
13069 return NULL;
13070 }
13071
13072
13073 static PyObject *_wrap_JoystickEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13074 PyObject *resultobj;
13075 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13076 wxPoint *arg2 = 0 ;
13077 wxPoint temp2 ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 char *kwnames[] = {
13081 (char *) "self",(char *) "pos", NULL
13082 };
13083
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13086 if (SWIG_arg_fail(1)) SWIG_fail;
13087 {
13088 arg2 = &temp2;
13089 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13090 }
13091 {
13092 PyThreadState* __tstate = wxPyBeginAllowThreads();
13093 (arg1)->SetPosition((wxPoint const &)*arg2);
13094
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 Py_INCREF(Py_None); resultobj = Py_None;
13099 return resultobj;
13100 fail:
13101 return NULL;
13102 }
13103
13104
13105 static PyObject *_wrap_JoystickEvent_SetZPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13106 PyObject *resultobj;
13107 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13108 int arg2 ;
13109 PyObject * obj0 = 0 ;
13110 PyObject * obj1 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self",(char *) "zPos", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:JoystickEvent_SetZPosition",kwnames,&obj0,&obj1)) goto fail;
13116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13117 if (SWIG_arg_fail(1)) SWIG_fail;
13118 {
13119 arg2 = (int)(SWIG_As_int(obj1));
13120 if (SWIG_arg_fail(2)) SWIG_fail;
13121 }
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 (arg1)->SetZPosition(arg2);
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 Py_INCREF(Py_None); resultobj = Py_None;
13130 return resultobj;
13131 fail:
13132 return NULL;
13133 }
13134
13135
13136 static PyObject *_wrap_JoystickEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13139 bool result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsButton",kwnames,&obj0)) goto fail;
13146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13147 if (SWIG_arg_fail(1)) SWIG_fail;
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (bool)((wxJoystickEvent const *)arg1)->IsButton();
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 {
13156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13157 }
13158 return resultobj;
13159 fail:
13160 return NULL;
13161 }
13162
13163
13164 static PyObject *_wrap_JoystickEvent_IsMove(PyObject *, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13167 bool result;
13168 PyObject * obj0 = 0 ;
13169 char *kwnames[] = {
13170 (char *) "self", NULL
13171 };
13172
13173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsMove",kwnames,&obj0)) goto fail;
13174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13175 if (SWIG_arg_fail(1)) SWIG_fail;
13176 {
13177 PyThreadState* __tstate = wxPyBeginAllowThreads();
13178 result = (bool)((wxJoystickEvent const *)arg1)->IsMove();
13179
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 {
13184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13185 }
13186 return resultobj;
13187 fail:
13188 return NULL;
13189 }
13190
13191
13192 static PyObject *_wrap_JoystickEvent_IsZMove(PyObject *, PyObject *args, PyObject *kwargs) {
13193 PyObject *resultobj;
13194 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13195 bool result;
13196 PyObject * obj0 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:JoystickEvent_IsZMove",kwnames,&obj0)) goto fail;
13202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13203 if (SWIG_arg_fail(1)) SWIG_fail;
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 result = (bool)((wxJoystickEvent const *)arg1)->IsZMove();
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 {
13212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13213 }
13214 return resultobj;
13215 fail:
13216 return NULL;
13217 }
13218
13219
13220 static PyObject *_wrap_JoystickEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13223 int arg2 = (int) wxJOY_BUTTON_ANY ;
13224 bool result;
13225 PyObject * obj0 = 0 ;
13226 PyObject * obj1 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self",(char *) "but", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
13232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13233 if (SWIG_arg_fail(1)) SWIG_fail;
13234 if (obj1) {
13235 {
13236 arg2 = (int)(SWIG_As_int(obj1));
13237 if (SWIG_arg_fail(2)) SWIG_fail;
13238 }
13239 }
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 result = (bool)((wxJoystickEvent const *)arg1)->ButtonDown(arg2);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 {
13248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13249 }
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_JoystickEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13259 int arg2 = (int) wxJOY_BUTTON_ANY ;
13260 bool result;
13261 PyObject * obj0 = 0 ;
13262 PyObject * obj1 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self",(char *) "but", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
13268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13269 if (SWIG_arg_fail(1)) SWIG_fail;
13270 if (obj1) {
13271 {
13272 arg2 = (int)(SWIG_As_int(obj1));
13273 if (SWIG_arg_fail(2)) SWIG_fail;
13274 }
13275 }
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 result = (bool)((wxJoystickEvent const *)arg1)->ButtonUp(arg2);
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 {
13284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13285 }
13286 return resultobj;
13287 fail:
13288 return NULL;
13289 }
13290
13291
13292 static PyObject *_wrap_JoystickEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxJoystickEvent *arg1 = (wxJoystickEvent *) 0 ;
13295 int arg2 = (int) wxJOY_BUTTON_ANY ;
13296 bool result;
13297 PyObject * obj0 = 0 ;
13298 PyObject * obj1 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self",(char *) "but", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
13304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxJoystickEvent, SWIG_POINTER_EXCEPTION | 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail;
13306 if (obj1) {
13307 {
13308 arg2 = (int)(SWIG_As_int(obj1));
13309 if (SWIG_arg_fail(2)) SWIG_fail;
13310 }
13311 }
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (bool)((wxJoystickEvent const *)arg1)->ButtonIsDown(arg2);
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 {
13320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject * JoystickEvent_swigregister(PyObject *, PyObject *args) {
13329 PyObject *obj;
13330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent, obj);
13332 Py_INCREF(obj);
13333 return Py_BuildValue((char *)"");
13334 }
13335 static PyObject *_wrap_new_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxString const &arg1_defvalue = wxPyEmptyString ;
13338 wxString *arg1 = (wxString *) &arg1_defvalue ;
13339 wxSound *result;
13340 bool temp1 = false ;
13341 PyObject * obj0 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "fileName", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Sound",kwnames,&obj0)) goto fail;
13347 if (obj0) {
13348 {
13349 arg1 = wxString_in_helper(obj0);
13350 if (arg1 == NULL) SWIG_fail;
13351 temp1 = true;
13352 }
13353 }
13354 {
13355 if (!wxPyCheckForApp()) SWIG_fail;
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 result = (wxSound *)new_wxSound((wxString const &)*arg1);
13358
13359 wxPyEndAllowThreads(__tstate);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13363 {
13364 if (temp1)
13365 delete arg1;
13366 }
13367 return resultobj;
13368 fail:
13369 {
13370 if (temp1)
13371 delete arg1;
13372 }
13373 return NULL;
13374 }
13375
13376
13377 static PyObject *_wrap_new_SoundFromData(PyObject *, PyObject *args, PyObject *kwargs) {
13378 PyObject *resultobj;
13379 PyObject *arg1 = (PyObject *) 0 ;
13380 wxSound *result;
13381 PyObject * obj0 = 0 ;
13382 char *kwnames[] = {
13383 (char *) "data", NULL
13384 };
13385
13386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_SoundFromData",kwnames,&obj0)) goto fail;
13387 arg1 = obj0;
13388 {
13389 if (!wxPyCheckForApp()) SWIG_fail;
13390 PyThreadState* __tstate = wxPyBeginAllowThreads();
13391 result = (wxSound *)new_wxSound(arg1);
13392
13393 wxPyEndAllowThreads(__tstate);
13394 if (PyErr_Occurred()) SWIG_fail;
13395 }
13396 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSound, 1);
13397 return resultobj;
13398 fail:
13399 return NULL;
13400 }
13401
13402
13403 static PyObject *_wrap_delete_Sound(PyObject *, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxSound *arg1 = (wxSound *) 0 ;
13406 PyObject * obj0 = 0 ;
13407 char *kwnames[] = {
13408 (char *) "self", NULL
13409 };
13410
13411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Sound",kwnames,&obj0)) goto fail;
13412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13413 if (SWIG_arg_fail(1)) SWIG_fail;
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 delete arg1;
13417
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 Py_INCREF(Py_None); resultobj = Py_None;
13422 return resultobj;
13423 fail:
13424 return NULL;
13425 }
13426
13427
13428 static PyObject *_wrap_Sound_Create(PyObject *, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj;
13430 wxSound *arg1 = (wxSound *) 0 ;
13431 wxString *arg2 = 0 ;
13432 bool result;
13433 bool temp2 = false ;
13434 PyObject * obj0 = 0 ;
13435 PyObject * obj1 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self",(char *) "fileName", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_Create",kwnames,&obj0,&obj1)) goto fail;
13441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail;
13443 {
13444 arg2 = wxString_in_helper(obj1);
13445 if (arg2 == NULL) SWIG_fail;
13446 temp2 = true;
13447 }
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (bool)(arg1)->Create((wxString const &)*arg2);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13457 }
13458 {
13459 if (temp2)
13460 delete arg2;
13461 }
13462 return resultobj;
13463 fail:
13464 {
13465 if (temp2)
13466 delete arg2;
13467 }
13468 return NULL;
13469 }
13470
13471
13472 static PyObject *_wrap_Sound_CreateFromData(PyObject *, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxSound *arg1 = (wxSound *) 0 ;
13475 PyObject *arg2 = (PyObject *) 0 ;
13476 bool result;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 char *kwnames[] = {
13480 (char *) "self",(char *) "data", NULL
13481 };
13482
13483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sound_CreateFromData",kwnames,&obj0,&obj1)) goto fail;
13484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13485 if (SWIG_arg_fail(1)) SWIG_fail;
13486 arg2 = obj1;
13487 {
13488 PyThreadState* __tstate = wxPyBeginAllowThreads();
13489 result = (bool)wxSound_CreateFromData(arg1,arg2);
13490
13491 wxPyEndAllowThreads(__tstate);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 }
13494 {
13495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13496 }
13497 return resultobj;
13498 fail:
13499 return NULL;
13500 }
13501
13502
13503 static PyObject *_wrap_Sound_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj;
13505 wxSound *arg1 = (wxSound *) 0 ;
13506 bool result;
13507 PyObject * obj0 = 0 ;
13508 char *kwnames[] = {
13509 (char *) "self", NULL
13510 };
13511
13512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sound_IsOk",kwnames,&obj0)) goto fail;
13513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13514 if (SWIG_arg_fail(1)) SWIG_fail;
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = (bool)(arg1)->IsOk();
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 {
13523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13524 }
13525 return resultobj;
13526 fail:
13527 return NULL;
13528 }
13529
13530
13531 static PyObject *_wrap_Sound_Play(PyObject *, PyObject *args, PyObject *kwargs) {
13532 PyObject *resultobj;
13533 wxSound *arg1 = (wxSound *) 0 ;
13534 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "flags", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_Play",kwnames,&obj0,&obj1)) goto fail;
13543 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSound, SWIG_POINTER_EXCEPTION | 0);
13544 if (SWIG_arg_fail(1)) SWIG_fail;
13545 if (obj1) {
13546 {
13547 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13548 if (SWIG_arg_fail(2)) SWIG_fail;
13549 }
13550 }
13551 {
13552 if (!wxPyCheckForApp()) SWIG_fail;
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 result = (bool)((wxSound const *)arg1)->Play(arg2);
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 {
13560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13561 }
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject *_wrap_Sound_PlaySound(PyObject *, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxString *arg1 = 0 ;
13571 unsigned int arg2 = (unsigned int) wxSOUND_ASYNC ;
13572 bool result;
13573 bool temp1 = false ;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 char *kwnames[] = {
13577 (char *) "filename",(char *) "flags", NULL
13578 };
13579
13580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sound_PlaySound",kwnames,&obj0,&obj1)) goto fail;
13581 {
13582 arg1 = wxString_in_helper(obj0);
13583 if (arg1 == NULL) SWIG_fail;
13584 temp1 = true;
13585 }
13586 if (obj1) {
13587 {
13588 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
13589 if (SWIG_arg_fail(2)) SWIG_fail;
13590 }
13591 }
13592 {
13593 if (!wxPyCheckForApp()) SWIG_fail;
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (bool)wxSound::Play((wxString const &)*arg1,arg2);
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 {
13601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13602 }
13603 {
13604 if (temp1)
13605 delete arg1;
13606 }
13607 return resultobj;
13608 fail:
13609 {
13610 if (temp1)
13611 delete arg1;
13612 }
13613 return NULL;
13614 }
13615
13616
13617 static PyObject *_wrap_Sound_Stop(PyObject *, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 char *kwnames[] = {
13620 NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Sound_Stop",kwnames)) goto fail;
13624 {
13625 if (!wxPyCheckForApp()) SWIG_fail;
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 wxSound::Stop();
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 Py_INCREF(Py_None); resultobj = Py_None;
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 static PyObject * Sound_swigregister(PyObject *, PyObject *args) {
13640 PyObject *obj;
13641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13642 SWIG_TypeClientData(SWIGTYPE_p_wxSound, obj);
13643 Py_INCREF(obj);
13644 return Py_BuildValue((char *)"");
13645 }
13646 static PyObject *_wrap_new_FileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13647 PyObject *resultobj;
13648 wxString *arg1 = 0 ;
13649 wxString *arg2 = 0 ;
13650 wxString *arg3 = 0 ;
13651 wxString *arg4 = 0 ;
13652 wxFileTypeInfo *result;
13653 bool temp1 = false ;
13654 bool temp2 = false ;
13655 bool temp3 = false ;
13656 bool temp4 = false ;
13657 PyObject * obj0 = 0 ;
13658 PyObject * obj1 = 0 ;
13659 PyObject * obj2 = 0 ;
13660 PyObject * obj3 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileTypeInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13666 {
13667 arg1 = wxString_in_helper(obj0);
13668 if (arg1 == NULL) SWIG_fail;
13669 temp1 = true;
13670 }
13671 {
13672 arg2 = wxString_in_helper(obj1);
13673 if (arg2 == NULL) SWIG_fail;
13674 temp2 = true;
13675 }
13676 {
13677 arg3 = wxString_in_helper(obj2);
13678 if (arg3 == NULL) SWIG_fail;
13679 temp3 = true;
13680 }
13681 {
13682 arg4 = wxString_in_helper(obj3);
13683 if (arg4 == NULL) SWIG_fail;
13684 temp4 = true;
13685 }
13686 {
13687 PyThreadState* __tstate = wxPyBeginAllowThreads();
13688 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4);
13689
13690 wxPyEndAllowThreads(__tstate);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 }
13693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13694 {
13695 if (temp1)
13696 delete arg1;
13697 }
13698 {
13699 if (temp2)
13700 delete arg2;
13701 }
13702 {
13703 if (temp3)
13704 delete arg3;
13705 }
13706 {
13707 if (temp4)
13708 delete arg4;
13709 }
13710 return resultobj;
13711 fail:
13712 {
13713 if (temp1)
13714 delete arg1;
13715 }
13716 {
13717 if (temp2)
13718 delete arg2;
13719 }
13720 {
13721 if (temp3)
13722 delete arg3;
13723 }
13724 {
13725 if (temp4)
13726 delete arg4;
13727 }
13728 return NULL;
13729 }
13730
13731
13732 static PyObject *_wrap_new_FileTypeInfoSequence(PyObject *, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj;
13734 wxArrayString *arg1 = 0 ;
13735 wxFileTypeInfo *result;
13736 bool temp1 = false ;
13737 PyObject * obj0 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "sArray", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileTypeInfoSequence",kwnames,&obj0)) goto fail;
13743 {
13744 if (! PySequence_Check(obj0)) {
13745 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13746 SWIG_fail;
13747 }
13748 arg1 = new wxArrayString;
13749 temp1 = true;
13750 int i, len=PySequence_Length(obj0);
13751 for (i=0; i<len; i++) {
13752 PyObject* item = PySequence_GetItem(obj0, i);
13753 #if wxUSE_UNICODE
13754 PyObject* str = PyObject_Unicode(item);
13755 #else
13756 PyObject* str = PyObject_Str(item);
13757 #endif
13758 if (PyErr_Occurred()) SWIG_fail;
13759 arg1->Add(Py2wxString(str));
13760 Py_DECREF(item);
13761 Py_DECREF(str);
13762 }
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 result = (wxFileTypeInfo *)new wxFileTypeInfo((wxArrayString const &)*arg1);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13772 {
13773 if (temp1) delete arg1;
13774 }
13775 return resultobj;
13776 fail:
13777 {
13778 if (temp1) delete arg1;
13779 }
13780 return NULL;
13781 }
13782
13783
13784 static PyObject *_wrap_new_NullFileTypeInfo(PyObject *, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxFileTypeInfo *result;
13787 char *kwnames[] = {
13788 NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NullFileTypeInfo",kwnames)) goto fail;
13792 {
13793 PyThreadState* __tstate = wxPyBeginAllowThreads();
13794 result = (wxFileTypeInfo *)new wxFileTypeInfo();
13795
13796 wxPyEndAllowThreads(__tstate);
13797 if (PyErr_Occurred()) SWIG_fail;
13798 }
13799 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileTypeInfo, 1);
13800 return resultobj;
13801 fail:
13802 return NULL;
13803 }
13804
13805
13806 static PyObject *_wrap_FileTypeInfo_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
13807 PyObject *resultobj;
13808 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13809 bool result;
13810 PyObject * obj0 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_IsValid",kwnames,&obj0)) goto fail;
13816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13817 if (SWIG_arg_fail(1)) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 result = (bool)((wxFileTypeInfo const *)arg1)->IsValid();
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 {
13826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13827 }
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject *_wrap_FileTypeInfo_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13837 wxString *arg2 = 0 ;
13838 int arg3 = (int) 0 ;
13839 bool temp2 = false ;
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 PyObject * obj2 = 0 ;
13843 char *kwnames[] = {
13844 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
13845 };
13846
13847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
13848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail;
13850 {
13851 arg2 = wxString_in_helper(obj1);
13852 if (arg2 == NULL) SWIG_fail;
13853 temp2 = true;
13854 }
13855 if (obj2) {
13856 {
13857 arg3 = (int)(SWIG_As_int(obj2));
13858 if (SWIG_arg_fail(3)) SWIG_fail;
13859 }
13860 }
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 (arg1)->SetIcon((wxString const &)*arg2,arg3);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 {
13870 if (temp2)
13871 delete arg2;
13872 }
13873 return resultobj;
13874 fail:
13875 {
13876 if (temp2)
13877 delete arg2;
13878 }
13879 return NULL;
13880 }
13881
13882
13883 static PyObject *_wrap_FileTypeInfo_SetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13886 wxString *arg2 = 0 ;
13887 bool temp2 = false ;
13888 PyObject * obj0 = 0 ;
13889 PyObject * obj1 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self",(char *) "shortDesc", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames,&obj0,&obj1)) goto fail;
13895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13896 if (SWIG_arg_fail(1)) SWIG_fail;
13897 {
13898 arg2 = wxString_in_helper(obj1);
13899 if (arg2 == NULL) SWIG_fail;
13900 temp2 = true;
13901 }
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 (arg1)->SetShortDesc((wxString const &)*arg2);
13905
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 Py_INCREF(Py_None); resultobj = Py_None;
13910 {
13911 if (temp2)
13912 delete arg2;
13913 }
13914 return resultobj;
13915 fail:
13916 {
13917 if (temp2)
13918 delete arg2;
13919 }
13920 return NULL;
13921 }
13922
13923
13924 static PyObject *_wrap_FileTypeInfo_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj;
13926 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13927 wxString *result;
13928 PyObject * obj0 = 0 ;
13929 char *kwnames[] = {
13930 (char *) "self", NULL
13931 };
13932
13933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetMimeType",kwnames,&obj0)) goto fail;
13934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13935 if (SWIG_arg_fail(1)) SWIG_fail;
13936 {
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 {
13939 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetMimeType();
13940 result = (wxString *) &_result_ref;
13941 }
13942
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 {
13947 #if wxUSE_UNICODE
13948 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13949 #else
13950 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13951 #endif
13952 }
13953 return resultobj;
13954 fail:
13955 return NULL;
13956 }
13957
13958
13959 static PyObject *_wrap_FileTypeInfo_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13960 PyObject *resultobj;
13961 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13962 wxString *result;
13963 PyObject * obj0 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames,&obj0)) goto fail;
13969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail;
13971 {
13972 PyThreadState* __tstate = wxPyBeginAllowThreads();
13973 {
13974 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetOpenCommand();
13975 result = (wxString *) &_result_ref;
13976 }
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 {
13982 #if wxUSE_UNICODE
13983 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13984 #else
13985 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13986 #endif
13987 }
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 static PyObject *_wrap_FileTypeInfo_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj;
13996 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
13997 wxString *result;
13998 PyObject * obj0 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames,&obj0)) goto fail;
14004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14005 if (SWIG_arg_fail(1)) SWIG_fail;
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 {
14009 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetPrintCommand();
14010 result = (wxString *) &_result_ref;
14011 }
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 {
14017 #if wxUSE_UNICODE
14018 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14019 #else
14020 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14021 #endif
14022 }
14023 return resultobj;
14024 fail:
14025 return NULL;
14026 }
14027
14028
14029 static PyObject *_wrap_FileTypeInfo_GetShortDesc(PyObject *, PyObject *args, PyObject *kwargs) {
14030 PyObject *resultobj;
14031 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14032 wxString *result;
14033 PyObject * obj0 = 0 ;
14034 char *kwnames[] = {
14035 (char *) "self", NULL
14036 };
14037
14038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetShortDesc",kwnames,&obj0)) goto fail;
14039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14040 if (SWIG_arg_fail(1)) SWIG_fail;
14041 {
14042 PyThreadState* __tstate = wxPyBeginAllowThreads();
14043 {
14044 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetShortDesc();
14045 result = (wxString *) &_result_ref;
14046 }
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 {
14052 #if wxUSE_UNICODE
14053 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14054 #else
14055 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14056 #endif
14057 }
14058 return resultobj;
14059 fail:
14060 return NULL;
14061 }
14062
14063
14064 static PyObject *_wrap_FileTypeInfo_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj;
14066 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14067 wxString *result;
14068 PyObject * obj0 = 0 ;
14069 char *kwnames[] = {
14070 (char *) "self", NULL
14071 };
14072
14073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetDescription",kwnames,&obj0)) goto fail;
14074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14075 if (SWIG_arg_fail(1)) SWIG_fail;
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 {
14079 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetDescription();
14080 result = (wxString *) &_result_ref;
14081 }
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 {
14087 #if wxUSE_UNICODE
14088 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14089 #else
14090 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14091 #endif
14092 }
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 static PyObject *_wrap_FileTypeInfo_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14102 wxArrayString *result;
14103 PyObject * obj0 = 0 ;
14104 char *kwnames[] = {
14105 (char *) "self", NULL
14106 };
14107
14108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensions",kwnames,&obj0)) goto fail;
14109 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14110 if (SWIG_arg_fail(1)) SWIG_fail;
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 {
14114 wxArrayString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetExtensions();
14115 result = (wxArrayString *) &_result_ref;
14116 }
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
14121 {
14122 resultobj = wxArrayString2PyList_helper(*result);
14123 }
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_FileTypeInfo_GetExtensionsCount(PyObject *, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj;
14132 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14133 int result;
14134 PyObject * obj0 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "self", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames,&obj0)) goto fail;
14140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail;
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = (int)((wxFileTypeInfo const *)arg1)->GetExtensionsCount();
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 {
14150 resultobj = SWIG_From_int((int)(result));
14151 }
14152 return resultobj;
14153 fail:
14154 return NULL;
14155 }
14156
14157
14158 static PyObject *_wrap_FileTypeInfo_GetIconFile(PyObject *, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14161 wxString *result;
14162 PyObject * obj0 = 0 ;
14163 char *kwnames[] = {
14164 (char *) "self", NULL
14165 };
14166
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconFile",kwnames,&obj0)) goto fail;
14168 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14169 if (SWIG_arg_fail(1)) SWIG_fail;
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 {
14173 wxString const &_result_ref = ((wxFileTypeInfo const *)arg1)->GetIconFile();
14174 result = (wxString *) &_result_ref;
14175 }
14176
14177 wxPyEndAllowThreads(__tstate);
14178 if (PyErr_Occurred()) SWIG_fail;
14179 }
14180 {
14181 #if wxUSE_UNICODE
14182 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14183 #else
14184 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14185 #endif
14186 }
14187 return resultobj;
14188 fail:
14189 return NULL;
14190 }
14191
14192
14193 static PyObject *_wrap_FileTypeInfo_GetIconIndex(PyObject *, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxFileTypeInfo *arg1 = (wxFileTypeInfo *) 0 ;
14196 int result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileTypeInfo_GetIconIndex",kwnames,&obj0)) goto fail;
14203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14204 if (SWIG_arg_fail(1)) SWIG_fail;
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (int)((wxFileTypeInfo const *)arg1)->GetIconIndex();
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 {
14213 resultobj = SWIG_From_int((int)(result));
14214 }
14215 return resultobj;
14216 fail:
14217 return NULL;
14218 }
14219
14220
14221 static PyObject * FileTypeInfo_swigregister(PyObject *, PyObject *args) {
14222 PyObject *obj;
14223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14224 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo, obj);
14225 Py_INCREF(obj);
14226 return Py_BuildValue((char *)"");
14227 }
14228 static PyObject *_wrap_new_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxFileTypeInfo *arg1 = 0 ;
14231 wxFileType *result;
14232 PyObject * obj0 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "ftInfo", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_FileType",kwnames,&obj0)) goto fail;
14238 {
14239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
14240 if (SWIG_arg_fail(1)) SWIG_fail;
14241 if (arg1 == NULL) {
14242 SWIG_null_ref("wxFileTypeInfo");
14243 }
14244 if (SWIG_arg_fail(1)) SWIG_fail;
14245 }
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (wxFileType *)new wxFileType((wxFileTypeInfo const &)*arg1);
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
14254 return resultobj;
14255 fail:
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_delete_FileType(PyObject *, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxFileType *arg1 = (wxFileType *) 0 ;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileType",kwnames,&obj0)) goto fail;
14269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14270 if (SWIG_arg_fail(1)) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 delete arg1;
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 Py_INCREF(Py_None); resultobj = Py_None;
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_FileType_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxFileType *arg1 = (wxFileType *) 0 ;
14288 PyObject *result;
14289 PyObject * obj0 = 0 ;
14290 char *kwnames[] = {
14291 (char *) "self", NULL
14292 };
14293
14294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeType",kwnames,&obj0)) goto fail;
14295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14296 if (SWIG_arg_fail(1)) SWIG_fail;
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (PyObject *)wxFileType_GetMimeType(arg1);
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 resultobj = result;
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_FileType_GetMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxFileType *arg1 = (wxFileType *) 0 ;
14314 PyObject *result;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetMimeTypes",kwnames,&obj0)) goto fail;
14321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14322 if (SWIG_arg_fail(1)) SWIG_fail;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (PyObject *)wxFileType_GetMimeTypes(arg1);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 resultobj = result;
14331 return resultobj;
14332 fail:
14333 return NULL;
14334 }
14335
14336
14337 static PyObject *_wrap_FileType_GetExtensions(PyObject *, PyObject *args, PyObject *kwargs) {
14338 PyObject *resultobj;
14339 wxFileType *arg1 = (wxFileType *) 0 ;
14340 PyObject *result;
14341 PyObject * obj0 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetExtensions",kwnames,&obj0)) goto fail;
14347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14348 if (SWIG_arg_fail(1)) SWIG_fail;
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 result = (PyObject *)wxFileType_GetExtensions(arg1);
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 resultobj = result;
14357 return resultobj;
14358 fail:
14359 return NULL;
14360 }
14361
14362
14363 static PyObject *_wrap_FileType_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
14364 PyObject *resultobj;
14365 wxFileType *arg1 = (wxFileType *) 0 ;
14366 wxIcon *result;
14367 PyObject * obj0 = 0 ;
14368 char *kwnames[] = {
14369 (char *) "self", NULL
14370 };
14371
14372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIcon",kwnames,&obj0)) goto fail;
14373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14374 if (SWIG_arg_fail(1)) SWIG_fail;
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 result = (wxIcon *)wxFileType_GetIcon(arg1);
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIcon, 1);
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_FileType_GetIconInfo(PyObject *, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxFileType *arg1 = (wxFileType *) 0 ;
14392 PyObject *result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetIconInfo",kwnames,&obj0)) goto fail;
14399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14400 if (SWIG_arg_fail(1)) SWIG_fail;
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (PyObject *)wxFileType_GetIconInfo(arg1);
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 resultobj = result;
14409 return resultobj;
14410 fail:
14411 return NULL;
14412 }
14413
14414
14415 static PyObject *_wrap_FileType_GetDescription(PyObject *, PyObject *args, PyObject *kwargs) {
14416 PyObject *resultobj;
14417 wxFileType *arg1 = (wxFileType *) 0 ;
14418 PyObject *result;
14419 PyObject * obj0 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_GetDescription",kwnames,&obj0)) goto fail;
14425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail;
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (PyObject *)wxFileType_GetDescription(arg1);
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 resultobj = result;
14435 return resultobj;
14436 fail:
14437 return NULL;
14438 }
14439
14440
14441 static PyObject *_wrap_FileType_GetOpenCommand(PyObject *, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj;
14443 wxFileType *arg1 = (wxFileType *) 0 ;
14444 wxString *arg2 = 0 ;
14445 wxString const &arg3_defvalue = wxPyEmptyString ;
14446 wxString *arg3 = (wxString *) &arg3_defvalue ;
14447 PyObject *result;
14448 bool temp2 = false ;
14449 bool temp3 = false ;
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj1 = 0 ;
14452 PyObject * obj2 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetOpenCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
14458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14459 if (SWIG_arg_fail(1)) SWIG_fail;
14460 {
14461 arg2 = wxString_in_helper(obj1);
14462 if (arg2 == NULL) SWIG_fail;
14463 temp2 = true;
14464 }
14465 if (obj2) {
14466 {
14467 arg3 = wxString_in_helper(obj2);
14468 if (arg3 == NULL) SWIG_fail;
14469 temp3 = true;
14470 }
14471 }
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 result = (PyObject *)wxFileType_GetOpenCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 resultobj = result;
14480 {
14481 if (temp2)
14482 delete arg2;
14483 }
14484 {
14485 if (temp3)
14486 delete arg3;
14487 }
14488 return resultobj;
14489 fail:
14490 {
14491 if (temp2)
14492 delete arg2;
14493 }
14494 {
14495 if (temp3)
14496 delete arg3;
14497 }
14498 return NULL;
14499 }
14500
14501
14502 static PyObject *_wrap_FileType_GetPrintCommand(PyObject *, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj;
14504 wxFileType *arg1 = (wxFileType *) 0 ;
14505 wxString *arg2 = 0 ;
14506 wxString const &arg3_defvalue = wxPyEmptyString ;
14507 wxString *arg3 = (wxString *) &arg3_defvalue ;
14508 PyObject *result;
14509 bool temp2 = false ;
14510 bool temp3 = false ;
14511 PyObject * obj0 = 0 ;
14512 PyObject * obj1 = 0 ;
14513 PyObject * obj2 = 0 ;
14514 char *kwnames[] = {
14515 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14516 };
14517
14518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetPrintCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
14519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14520 if (SWIG_arg_fail(1)) SWIG_fail;
14521 {
14522 arg2 = wxString_in_helper(obj1);
14523 if (arg2 == NULL) SWIG_fail;
14524 temp2 = true;
14525 }
14526 if (obj2) {
14527 {
14528 arg3 = wxString_in_helper(obj2);
14529 if (arg3 == NULL) SWIG_fail;
14530 temp3 = true;
14531 }
14532 }
14533 {
14534 PyThreadState* __tstate = wxPyBeginAllowThreads();
14535 result = (PyObject *)wxFileType_GetPrintCommand(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14536
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 resultobj = result;
14541 {
14542 if (temp2)
14543 delete arg2;
14544 }
14545 {
14546 if (temp3)
14547 delete arg3;
14548 }
14549 return resultobj;
14550 fail:
14551 {
14552 if (temp2)
14553 delete arg2;
14554 }
14555 {
14556 if (temp3)
14557 delete arg3;
14558 }
14559 return NULL;
14560 }
14561
14562
14563 static PyObject *_wrap_FileType_GetAllCommands(PyObject *, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxFileType *arg1 = (wxFileType *) 0 ;
14566 wxString *arg2 = 0 ;
14567 wxString const &arg3_defvalue = wxPyEmptyString ;
14568 wxString *arg3 = (wxString *) &arg3_defvalue ;
14569 PyObject *result;
14570 bool temp2 = false ;
14571 bool temp3 = false ;
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 char *kwnames[] = {
14576 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
14577 };
14578
14579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_GetAllCommands",kwnames,&obj0,&obj1,&obj2)) goto fail;
14580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14581 if (SWIG_arg_fail(1)) SWIG_fail;
14582 {
14583 arg2 = wxString_in_helper(obj1);
14584 if (arg2 == NULL) SWIG_fail;
14585 temp2 = true;
14586 }
14587 if (obj2) {
14588 {
14589 arg3 = wxString_in_helper(obj2);
14590 if (arg3 == NULL) SWIG_fail;
14591 temp3 = true;
14592 }
14593 }
14594 {
14595 PyThreadState* __tstate = wxPyBeginAllowThreads();
14596 result = (PyObject *)wxFileType_GetAllCommands(arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14597
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 resultobj = result;
14602 {
14603 if (temp2)
14604 delete arg2;
14605 }
14606 {
14607 if (temp3)
14608 delete arg3;
14609 }
14610 return resultobj;
14611 fail:
14612 {
14613 if (temp2)
14614 delete arg2;
14615 }
14616 {
14617 if (temp3)
14618 delete arg3;
14619 }
14620 return NULL;
14621 }
14622
14623
14624 static PyObject *_wrap_FileType_SetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj;
14626 wxFileType *arg1 = (wxFileType *) 0 ;
14627 wxString *arg2 = 0 ;
14628 wxString *arg3 = 0 ;
14629 bool arg4 = (bool) true ;
14630 bool result;
14631 bool temp2 = false ;
14632 bool temp3 = false ;
14633 PyObject * obj0 = 0 ;
14634 PyObject * obj1 = 0 ;
14635 PyObject * obj2 = 0 ;
14636 PyObject * obj3 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:FileType_SetCommand",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14642 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail;
14644 {
14645 arg2 = wxString_in_helper(obj1);
14646 if (arg2 == NULL) SWIG_fail;
14647 temp2 = true;
14648 }
14649 {
14650 arg3 = wxString_in_helper(obj2);
14651 if (arg3 == NULL) SWIG_fail;
14652 temp3 = true;
14653 }
14654 if (obj3) {
14655 {
14656 arg4 = (bool)(SWIG_As_bool(obj3));
14657 if (SWIG_arg_fail(4)) SWIG_fail;
14658 }
14659 }
14660 {
14661 PyThreadState* __tstate = wxPyBeginAllowThreads();
14662 result = (bool)(arg1)->SetCommand((wxString const &)*arg2,(wxString const &)*arg3,arg4);
14663
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 }
14670 {
14671 if (temp2)
14672 delete arg2;
14673 }
14674 {
14675 if (temp3)
14676 delete arg3;
14677 }
14678 return resultobj;
14679 fail:
14680 {
14681 if (temp2)
14682 delete arg2;
14683 }
14684 {
14685 if (temp3)
14686 delete arg3;
14687 }
14688 return NULL;
14689 }
14690
14691
14692 static PyObject *_wrap_FileType_SetDefaultIcon(PyObject *, PyObject *args, PyObject *kwargs) {
14693 PyObject *resultobj;
14694 wxFileType *arg1 = (wxFileType *) 0 ;
14695 wxString const &arg2_defvalue = wxPyEmptyString ;
14696 wxString *arg2 = (wxString *) &arg2_defvalue ;
14697 int arg3 = (int) 0 ;
14698 bool result;
14699 bool temp2 = false ;
14700 PyObject * obj0 = 0 ;
14701 PyObject * obj1 = 0 ;
14702 PyObject * obj2 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self",(char *) "cmd",(char *) "index", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:FileType_SetDefaultIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
14708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14709 if (SWIG_arg_fail(1)) SWIG_fail;
14710 if (obj1) {
14711 {
14712 arg2 = wxString_in_helper(obj1);
14713 if (arg2 == NULL) SWIG_fail;
14714 temp2 = true;
14715 }
14716 }
14717 if (obj2) {
14718 {
14719 arg3 = (int)(SWIG_As_int(obj2));
14720 if (SWIG_arg_fail(3)) SWIG_fail;
14721 }
14722 }
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (bool)(arg1)->SetDefaultIcon((wxString const &)*arg2,arg3);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 {
14734 if (temp2)
14735 delete arg2;
14736 }
14737 return resultobj;
14738 fail:
14739 {
14740 if (temp2)
14741 delete arg2;
14742 }
14743 return NULL;
14744 }
14745
14746
14747 static PyObject *_wrap_FileType_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxFileType *arg1 = (wxFileType *) 0 ;
14750 bool result;
14751 PyObject * obj0 = 0 ;
14752 char *kwnames[] = {
14753 (char *) "self", NULL
14754 };
14755
14756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileType_Unassociate",kwnames,&obj0)) goto fail;
14757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
14758 if (SWIG_arg_fail(1)) SWIG_fail;
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (bool)(arg1)->Unassociate();
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 {
14767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14768 }
14769 return resultobj;
14770 fail:
14771 return NULL;
14772 }
14773
14774
14775 static PyObject *_wrap_FileType_ExpandCommand(PyObject *, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxString *arg1 = 0 ;
14778 wxString *arg2 = 0 ;
14779 wxString const &arg3_defvalue = wxPyEmptyString ;
14780 wxString *arg3 = (wxString *) &arg3_defvalue ;
14781 wxString result;
14782 bool temp1 = false ;
14783 bool temp2 = false ;
14784 bool temp3 = false ;
14785 PyObject * obj0 = 0 ;
14786 PyObject * obj1 = 0 ;
14787 PyObject * obj2 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileType_ExpandCommand",kwnames,&obj0,&obj1,&obj2)) goto fail;
14793 {
14794 arg1 = wxString_in_helper(obj0);
14795 if (arg1 == NULL) SWIG_fail;
14796 temp1 = true;
14797 }
14798 {
14799 arg2 = wxString_in_helper(obj1);
14800 if (arg2 == NULL) SWIG_fail;
14801 temp2 = true;
14802 }
14803 if (obj2) {
14804 {
14805 arg3 = wxString_in_helper(obj2);
14806 if (arg3 == NULL) SWIG_fail;
14807 temp3 = true;
14808 }
14809 }
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = FileType_ExpandCommand((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3);
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 {
14818 #if wxUSE_UNICODE
14819 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14820 #else
14821 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14822 #endif
14823 }
14824 {
14825 if (temp1)
14826 delete arg1;
14827 }
14828 {
14829 if (temp2)
14830 delete arg2;
14831 }
14832 {
14833 if (temp3)
14834 delete arg3;
14835 }
14836 return resultobj;
14837 fail:
14838 {
14839 if (temp1)
14840 delete arg1;
14841 }
14842 {
14843 if (temp2)
14844 delete arg2;
14845 }
14846 {
14847 if (temp3)
14848 delete arg3;
14849 }
14850 return NULL;
14851 }
14852
14853
14854 static PyObject * FileType_swigregister(PyObject *, PyObject *args) {
14855 PyObject *obj;
14856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxFileType, obj);
14858 Py_INCREF(obj);
14859 return Py_BuildValue((char *)"");
14860 }
14861 static int _wrap_TheMimeTypesManager_set(PyObject *) {
14862 PyErr_SetString(PyExc_TypeError,"Variable TheMimeTypesManager is read-only.");
14863 return 1;
14864 }
14865
14866
14867 static PyObject *_wrap_TheMimeTypesManager_get(void) {
14868 PyObject *pyobj;
14869
14870 pyobj = SWIG_NewPointerObj((void *)(wxTheMimeTypesManager), SWIGTYPE_p_wxMimeTypesManager, 0);
14871 return pyobj;
14872 }
14873
14874
14875 static PyObject *_wrap_MimeTypesManager_IsOfType(PyObject *, PyObject *args, PyObject *kwargs) {
14876 PyObject *resultobj;
14877 wxString *arg1 = 0 ;
14878 wxString *arg2 = 0 ;
14879 bool result;
14880 bool temp1 = false ;
14881 bool temp2 = false ;
14882 PyObject * obj0 = 0 ;
14883 PyObject * obj1 = 0 ;
14884 char *kwnames[] = {
14885 (char *) "mimeType",(char *) "wildcard", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_IsOfType",kwnames,&obj0,&obj1)) goto fail;
14889 {
14890 arg1 = wxString_in_helper(obj0);
14891 if (arg1 == NULL) SWIG_fail;
14892 temp1 = true;
14893 }
14894 {
14895 arg2 = wxString_in_helper(obj1);
14896 if (arg2 == NULL) SWIG_fail;
14897 temp2 = true;
14898 }
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (bool)wxMimeTypesManager::IsOfType((wxString const &)*arg1,(wxString const &)*arg2);
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 {
14907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14908 }
14909 {
14910 if (temp1)
14911 delete arg1;
14912 }
14913 {
14914 if (temp2)
14915 delete arg2;
14916 }
14917 return resultobj;
14918 fail:
14919 {
14920 if (temp1)
14921 delete arg1;
14922 }
14923 {
14924 if (temp2)
14925 delete arg2;
14926 }
14927 return NULL;
14928 }
14929
14930
14931 static PyObject *_wrap_new_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
14932 PyObject *resultobj;
14933 wxMimeTypesManager *result;
14934 char *kwnames[] = {
14935 NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MimeTypesManager",kwnames)) goto fail;
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (wxMimeTypesManager *)new wxMimeTypesManager();
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMimeTypesManager, 1);
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject *_wrap_MimeTypesManager_Initialize(PyObject *, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
14956 int arg2 = (int) wxMAILCAP_ALL ;
14957 wxString const &arg3_defvalue = wxPyEmptyString ;
14958 wxString *arg3 = (wxString *) &arg3_defvalue ;
14959 bool temp3 = false ;
14960 PyObject * obj0 = 0 ;
14961 PyObject * obj1 = 0 ;
14962 PyObject * obj2 = 0 ;
14963 char *kwnames[] = {
14964 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
14965 };
14966
14967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:MimeTypesManager_Initialize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14968 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail;
14970 if (obj1) {
14971 {
14972 arg2 = (int)(SWIG_As_int(obj1));
14973 if (SWIG_arg_fail(2)) SWIG_fail;
14974 }
14975 }
14976 if (obj2) {
14977 {
14978 arg3 = wxString_in_helper(obj2);
14979 if (arg3 == NULL) SWIG_fail;
14980 temp3 = true;
14981 }
14982 }
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 (arg1)->Initialize(arg2,(wxString const &)*arg3);
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 Py_INCREF(Py_None); resultobj = Py_None;
14991 {
14992 if (temp3)
14993 delete arg3;
14994 }
14995 return resultobj;
14996 fail:
14997 {
14998 if (temp3)
14999 delete arg3;
15000 }
15001 return NULL;
15002 }
15003
15004
15005 static PyObject *_wrap_MimeTypesManager_ClearData(PyObject *, PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj;
15007 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_ClearData",kwnames,&obj0)) goto fail;
15014 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15015 if (SWIG_arg_fail(1)) SWIG_fail;
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 (arg1)->ClearData();
15019
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 Py_INCREF(Py_None); resultobj = Py_None;
15024 return resultobj;
15025 fail:
15026 return NULL;
15027 }
15028
15029
15030 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject *, PyObject *args, PyObject *kwargs) {
15031 PyObject *resultobj;
15032 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15033 wxString *arg2 = 0 ;
15034 wxFileType *result;
15035 bool temp2 = false ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 char *kwnames[] = {
15039 (char *) "self",(char *) "ext", NULL
15040 };
15041
15042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames,&obj0,&obj1)) goto fail;
15043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15044 if (SWIG_arg_fail(1)) SWIG_fail;
15045 {
15046 arg2 = wxString_in_helper(obj1);
15047 if (arg2 == NULL) SWIG_fail;
15048 temp2 = true;
15049 }
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (wxFileType *)(arg1)->GetFileTypeFromExtension((wxString const &)*arg2);
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15058 {
15059 if (temp2)
15060 delete arg2;
15061 }
15062 return resultobj;
15063 fail:
15064 {
15065 if (temp2)
15066 delete arg2;
15067 }
15068 return NULL;
15069 }
15070
15071
15072 static PyObject *_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15075 wxString *arg2 = 0 ;
15076 wxFileType *result;
15077 bool temp2 = false ;
15078 PyObject * obj0 = 0 ;
15079 PyObject * obj1 = 0 ;
15080 char *kwnames[] = {
15081 (char *) "self",(char *) "mimeType", NULL
15082 };
15083
15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames,&obj0,&obj1)) goto fail;
15085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15086 if (SWIG_arg_fail(1)) SWIG_fail;
15087 {
15088 arg2 = wxString_in_helper(obj1);
15089 if (arg2 == NULL) SWIG_fail;
15090 temp2 = true;
15091 }
15092 {
15093 PyThreadState* __tstate = wxPyBeginAllowThreads();
15094 result = (wxFileType *)(arg1)->GetFileTypeFromMimeType((wxString const &)*arg2);
15095
15096 wxPyEndAllowThreads(__tstate);
15097 if (PyErr_Occurred()) SWIG_fail;
15098 }
15099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15100 {
15101 if (temp2)
15102 delete arg2;
15103 }
15104 return resultobj;
15105 fail:
15106 {
15107 if (temp2)
15108 delete arg2;
15109 }
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_MimeTypesManager_ReadMailcap(PyObject *, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15117 wxString *arg2 = 0 ;
15118 bool arg3 = (bool) false ;
15119 bool result;
15120 bool temp2 = false ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 PyObject * obj2 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "filename",(char *) "fallback", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames,&obj0,&obj1,&obj2)) goto fail;
15129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15130 if (SWIG_arg_fail(1)) SWIG_fail;
15131 {
15132 arg2 = wxString_in_helper(obj1);
15133 if (arg2 == NULL) SWIG_fail;
15134 temp2 = true;
15135 }
15136 if (obj2) {
15137 {
15138 arg3 = (bool)(SWIG_As_bool(obj2));
15139 if (SWIG_arg_fail(3)) SWIG_fail;
15140 }
15141 }
15142 {
15143 PyThreadState* __tstate = wxPyBeginAllowThreads();
15144 result = (bool)(arg1)->ReadMailcap((wxString const &)*arg2,arg3);
15145
15146 wxPyEndAllowThreads(__tstate);
15147 if (PyErr_Occurred()) SWIG_fail;
15148 }
15149 {
15150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15151 }
15152 {
15153 if (temp2)
15154 delete arg2;
15155 }
15156 return resultobj;
15157 fail:
15158 {
15159 if (temp2)
15160 delete arg2;
15161 }
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_MimeTypesManager_ReadMimeTypes(PyObject *, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15169 wxString *arg2 = 0 ;
15170 bool result;
15171 bool temp2 = false ;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "filename", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames,&obj0,&obj1)) goto fail;
15179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail;
15181 {
15182 arg2 = wxString_in_helper(obj1);
15183 if (arg2 == NULL) SWIG_fail;
15184 temp2 = true;
15185 }
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 result = (bool)(arg1)->ReadMimeTypes((wxString const &)*arg2);
15189
15190 wxPyEndAllowThreads(__tstate);
15191 if (PyErr_Occurred()) SWIG_fail;
15192 }
15193 {
15194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15195 }
15196 {
15197 if (temp2)
15198 delete arg2;
15199 }
15200 return resultobj;
15201 fail:
15202 {
15203 if (temp2)
15204 delete arg2;
15205 }
15206 return NULL;
15207 }
15208
15209
15210 static PyObject *_wrap_MimeTypesManager_EnumAllFileTypes(PyObject *, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15213 PyObject *result;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames,&obj0)) goto fail;
15220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15221 if (SWIG_arg_fail(1)) SWIG_fail;
15222 {
15223 PyThreadState* __tstate = wxPyBeginAllowThreads();
15224 result = (PyObject *)wxMimeTypesManager_EnumAllFileTypes(arg1);
15225
15226 wxPyEndAllowThreads(__tstate);
15227 if (PyErr_Occurred()) SWIG_fail;
15228 }
15229 resultobj = result;
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_MimeTypesManager_AddFallback(PyObject *, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15239 wxFileTypeInfo *arg2 = 0 ;
15240 PyObject * obj0 = 0 ;
15241 PyObject * obj1 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "ft", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_AddFallback",kwnames,&obj0,&obj1)) goto fail;
15247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail;
15249 {
15250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15251 if (SWIG_arg_fail(2)) SWIG_fail;
15252 if (arg2 == NULL) {
15253 SWIG_null_ref("wxFileTypeInfo");
15254 }
15255 if (SWIG_arg_fail(2)) SWIG_fail;
15256 }
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 (arg1)->AddFallback((wxFileTypeInfo const &)*arg2);
15260
15261 wxPyEndAllowThreads(__tstate);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 }
15264 Py_INCREF(Py_None); resultobj = Py_None;
15265 return resultobj;
15266 fail:
15267 return NULL;
15268 }
15269
15270
15271 static PyObject *_wrap_MimeTypesManager_Associate(PyObject *, PyObject *args, PyObject *kwargs) {
15272 PyObject *resultobj;
15273 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15274 wxFileTypeInfo *arg2 = 0 ;
15275 wxFileType *result;
15276 PyObject * obj0 = 0 ;
15277 PyObject * obj1 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self",(char *) "ftInfo", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Associate",kwnames,&obj0,&obj1)) goto fail;
15283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail;
15285 {
15286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileTypeInfo, SWIG_POINTER_EXCEPTION | 0);
15287 if (SWIG_arg_fail(2)) SWIG_fail;
15288 if (arg2 == NULL) {
15289 SWIG_null_ref("wxFileTypeInfo");
15290 }
15291 if (SWIG_arg_fail(2)) SWIG_fail;
15292 }
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (wxFileType *)(arg1)->Associate((wxFileTypeInfo const &)*arg2);
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileType, 1);
15301 return resultobj;
15302 fail:
15303 return NULL;
15304 }
15305
15306
15307 static PyObject *_wrap_MimeTypesManager_Unassociate(PyObject *, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15310 wxFileType *arg2 = (wxFileType *) 0 ;
15311 bool result;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self",(char *) "ft", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MimeTypesManager_Unassociate",kwnames,&obj0,&obj1)) goto fail;
15319 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15320 if (SWIG_arg_fail(1)) SWIG_fail;
15321 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFileType, SWIG_POINTER_EXCEPTION | 0);
15322 if (SWIG_arg_fail(2)) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (bool)(arg1)->Unassociate(arg2);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 {
15331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15332 }
15333 return resultobj;
15334 fail:
15335 return NULL;
15336 }
15337
15338
15339 static PyObject *_wrap_delete_MimeTypesManager(PyObject *, PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj;
15341 wxMimeTypesManager *arg1 = (wxMimeTypesManager *) 0 ;
15342 PyObject * obj0 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_MimeTypesManager",kwnames,&obj0)) goto fail;
15348 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMimeTypesManager, SWIG_POINTER_EXCEPTION | 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail;
15350 {
15351 PyThreadState* __tstate = wxPyBeginAllowThreads();
15352 delete arg1;
15353
15354 wxPyEndAllowThreads(__tstate);
15355 if (PyErr_Occurred()) SWIG_fail;
15356 }
15357 Py_INCREF(Py_None); resultobj = Py_None;
15358 return resultobj;
15359 fail:
15360 return NULL;
15361 }
15362
15363
15364 static PyObject * MimeTypesManager_swigregister(PyObject *, PyObject *args) {
15365 PyObject *obj;
15366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15367 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager, obj);
15368 Py_INCREF(obj);
15369 return Py_BuildValue((char *)"");
15370 }
15371 static int _wrap_ART_TOOLBAR_set(PyObject *) {
15372 PyErr_SetString(PyExc_TypeError,"Variable ART_TOOLBAR is read-only.");
15373 return 1;
15374 }
15375
15376
15377 static PyObject *_wrap_ART_TOOLBAR_get(void) {
15378 PyObject *pyobj;
15379
15380 {
15381 #if wxUSE_UNICODE
15382 pyobj = PyUnicode_FromWideChar((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15383 #else
15384 pyobj = PyString_FromStringAndSize((&wxPyART_TOOLBAR)->c_str(), (&wxPyART_TOOLBAR)->Len());
15385 #endif
15386 }
15387 return pyobj;
15388 }
15389
15390
15391 static int _wrap_ART_MENU_set(PyObject *) {
15392 PyErr_SetString(PyExc_TypeError,"Variable ART_MENU is read-only.");
15393 return 1;
15394 }
15395
15396
15397 static PyObject *_wrap_ART_MENU_get(void) {
15398 PyObject *pyobj;
15399
15400 {
15401 #if wxUSE_UNICODE
15402 pyobj = PyUnicode_FromWideChar((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15403 #else
15404 pyobj = PyString_FromStringAndSize((&wxPyART_MENU)->c_str(), (&wxPyART_MENU)->Len());
15405 #endif
15406 }
15407 return pyobj;
15408 }
15409
15410
15411 static int _wrap_ART_FRAME_ICON_set(PyObject *) {
15412 PyErr_SetString(PyExc_TypeError,"Variable ART_FRAME_ICON is read-only.");
15413 return 1;
15414 }
15415
15416
15417 static PyObject *_wrap_ART_FRAME_ICON_get(void) {
15418 PyObject *pyobj;
15419
15420 {
15421 #if wxUSE_UNICODE
15422 pyobj = PyUnicode_FromWideChar((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15423 #else
15424 pyobj = PyString_FromStringAndSize((&wxPyART_FRAME_ICON)->c_str(), (&wxPyART_FRAME_ICON)->Len());
15425 #endif
15426 }
15427 return pyobj;
15428 }
15429
15430
15431 static int _wrap_ART_CMN_DIALOG_set(PyObject *) {
15432 PyErr_SetString(PyExc_TypeError,"Variable ART_CMN_DIALOG is read-only.");
15433 return 1;
15434 }
15435
15436
15437 static PyObject *_wrap_ART_CMN_DIALOG_get(void) {
15438 PyObject *pyobj;
15439
15440 {
15441 #if wxUSE_UNICODE
15442 pyobj = PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15443 #else
15444 pyobj = PyString_FromStringAndSize((&wxPyART_CMN_DIALOG)->c_str(), (&wxPyART_CMN_DIALOG)->Len());
15445 #endif
15446 }
15447 return pyobj;
15448 }
15449
15450
15451 static int _wrap_ART_HELP_BROWSER_set(PyObject *) {
15452 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BROWSER is read-only.");
15453 return 1;
15454 }
15455
15456
15457 static PyObject *_wrap_ART_HELP_BROWSER_get(void) {
15458 PyObject *pyobj;
15459
15460 {
15461 #if wxUSE_UNICODE
15462 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15463 #else
15464 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BROWSER)->c_str(), (&wxPyART_HELP_BROWSER)->Len());
15465 #endif
15466 }
15467 return pyobj;
15468 }
15469
15470
15471 static int _wrap_ART_MESSAGE_BOX_set(PyObject *) {
15472 PyErr_SetString(PyExc_TypeError,"Variable ART_MESSAGE_BOX is read-only.");
15473 return 1;
15474 }
15475
15476
15477 static PyObject *_wrap_ART_MESSAGE_BOX_get(void) {
15478 PyObject *pyobj;
15479
15480 {
15481 #if wxUSE_UNICODE
15482 pyobj = PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15483 #else
15484 pyobj = PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX)->c_str(), (&wxPyART_MESSAGE_BOX)->Len());
15485 #endif
15486 }
15487 return pyobj;
15488 }
15489
15490
15491 static int _wrap_ART_BUTTON_set(PyObject *) {
15492 PyErr_SetString(PyExc_TypeError,"Variable ART_BUTTON is read-only.");
15493 return 1;
15494 }
15495
15496
15497 static PyObject *_wrap_ART_BUTTON_get(void) {
15498 PyObject *pyobj;
15499
15500 {
15501 #if wxUSE_UNICODE
15502 pyobj = PyUnicode_FromWideChar((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15503 #else
15504 pyobj = PyString_FromStringAndSize((&wxPyART_BUTTON)->c_str(), (&wxPyART_BUTTON)->Len());
15505 #endif
15506 }
15507 return pyobj;
15508 }
15509
15510
15511 static int _wrap_ART_OTHER_set(PyObject *) {
15512 PyErr_SetString(PyExc_TypeError,"Variable ART_OTHER is read-only.");
15513 return 1;
15514 }
15515
15516
15517 static PyObject *_wrap_ART_OTHER_get(void) {
15518 PyObject *pyobj;
15519
15520 {
15521 #if wxUSE_UNICODE
15522 pyobj = PyUnicode_FromWideChar((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15523 #else
15524 pyobj = PyString_FromStringAndSize((&wxPyART_OTHER)->c_str(), (&wxPyART_OTHER)->Len());
15525 #endif
15526 }
15527 return pyobj;
15528 }
15529
15530
15531 static int _wrap_ART_ADD_BOOKMARK_set(PyObject *) {
15532 PyErr_SetString(PyExc_TypeError,"Variable ART_ADD_BOOKMARK is read-only.");
15533 return 1;
15534 }
15535
15536
15537 static PyObject *_wrap_ART_ADD_BOOKMARK_get(void) {
15538 PyObject *pyobj;
15539
15540 {
15541 #if wxUSE_UNICODE
15542 pyobj = PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15543 #else
15544 pyobj = PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK)->c_str(), (&wxPyART_ADD_BOOKMARK)->Len());
15545 #endif
15546 }
15547 return pyobj;
15548 }
15549
15550
15551 static int _wrap_ART_DEL_BOOKMARK_set(PyObject *) {
15552 PyErr_SetString(PyExc_TypeError,"Variable ART_DEL_BOOKMARK is read-only.");
15553 return 1;
15554 }
15555
15556
15557 static PyObject *_wrap_ART_DEL_BOOKMARK_get(void) {
15558 PyObject *pyobj;
15559
15560 {
15561 #if wxUSE_UNICODE
15562 pyobj = PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15563 #else
15564 pyobj = PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK)->c_str(), (&wxPyART_DEL_BOOKMARK)->Len());
15565 #endif
15566 }
15567 return pyobj;
15568 }
15569
15570
15571 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject *) {
15572 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SIDE_PANEL is read-only.");
15573 return 1;
15574 }
15575
15576
15577 static PyObject *_wrap_ART_HELP_SIDE_PANEL_get(void) {
15578 PyObject *pyobj;
15579
15580 {
15581 #if wxUSE_UNICODE
15582 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15583 #else
15584 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL)->c_str(), (&wxPyART_HELP_SIDE_PANEL)->Len());
15585 #endif
15586 }
15587 return pyobj;
15588 }
15589
15590
15591 static int _wrap_ART_HELP_SETTINGS_set(PyObject *) {
15592 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_SETTINGS is read-only.");
15593 return 1;
15594 }
15595
15596
15597 static PyObject *_wrap_ART_HELP_SETTINGS_get(void) {
15598 PyObject *pyobj;
15599
15600 {
15601 #if wxUSE_UNICODE
15602 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15603 #else
15604 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS)->c_str(), (&wxPyART_HELP_SETTINGS)->Len());
15605 #endif
15606 }
15607 return pyobj;
15608 }
15609
15610
15611 static int _wrap_ART_HELP_BOOK_set(PyObject *) {
15612 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_BOOK is read-only.");
15613 return 1;
15614 }
15615
15616
15617 static PyObject *_wrap_ART_HELP_BOOK_get(void) {
15618 PyObject *pyobj;
15619
15620 {
15621 #if wxUSE_UNICODE
15622 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15623 #else
15624 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_BOOK)->c_str(), (&wxPyART_HELP_BOOK)->Len());
15625 #endif
15626 }
15627 return pyobj;
15628 }
15629
15630
15631 static int _wrap_ART_HELP_FOLDER_set(PyObject *) {
15632 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_FOLDER is read-only.");
15633 return 1;
15634 }
15635
15636
15637 static PyObject *_wrap_ART_HELP_FOLDER_get(void) {
15638 PyObject *pyobj;
15639
15640 {
15641 #if wxUSE_UNICODE
15642 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15643 #else
15644 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_FOLDER)->c_str(), (&wxPyART_HELP_FOLDER)->Len());
15645 #endif
15646 }
15647 return pyobj;
15648 }
15649
15650
15651 static int _wrap_ART_HELP_PAGE_set(PyObject *) {
15652 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP_PAGE is read-only.");
15653 return 1;
15654 }
15655
15656
15657 static PyObject *_wrap_ART_HELP_PAGE_get(void) {
15658 PyObject *pyobj;
15659
15660 {
15661 #if wxUSE_UNICODE
15662 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15663 #else
15664 pyobj = PyString_FromStringAndSize((&wxPyART_HELP_PAGE)->c_str(), (&wxPyART_HELP_PAGE)->Len());
15665 #endif
15666 }
15667 return pyobj;
15668 }
15669
15670
15671 static int _wrap_ART_GO_BACK_set(PyObject *) {
15672 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_BACK is read-only.");
15673 return 1;
15674 }
15675
15676
15677 static PyObject *_wrap_ART_GO_BACK_get(void) {
15678 PyObject *pyobj;
15679
15680 {
15681 #if wxUSE_UNICODE
15682 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15683 #else
15684 pyobj = PyString_FromStringAndSize((&wxPyART_GO_BACK)->c_str(), (&wxPyART_GO_BACK)->Len());
15685 #endif
15686 }
15687 return pyobj;
15688 }
15689
15690
15691 static int _wrap_ART_GO_FORWARD_set(PyObject *) {
15692 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_FORWARD is read-only.");
15693 return 1;
15694 }
15695
15696
15697 static PyObject *_wrap_ART_GO_FORWARD_get(void) {
15698 PyObject *pyobj;
15699
15700 {
15701 #if wxUSE_UNICODE
15702 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15703 #else
15704 pyobj = PyString_FromStringAndSize((&wxPyART_GO_FORWARD)->c_str(), (&wxPyART_GO_FORWARD)->Len());
15705 #endif
15706 }
15707 return pyobj;
15708 }
15709
15710
15711 static int _wrap_ART_GO_UP_set(PyObject *) {
15712 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_UP is read-only.");
15713 return 1;
15714 }
15715
15716
15717 static PyObject *_wrap_ART_GO_UP_get(void) {
15718 PyObject *pyobj;
15719
15720 {
15721 #if wxUSE_UNICODE
15722 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15723 #else
15724 pyobj = PyString_FromStringAndSize((&wxPyART_GO_UP)->c_str(), (&wxPyART_GO_UP)->Len());
15725 #endif
15726 }
15727 return pyobj;
15728 }
15729
15730
15731 static int _wrap_ART_GO_DOWN_set(PyObject *) {
15732 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DOWN is read-only.");
15733 return 1;
15734 }
15735
15736
15737 static PyObject *_wrap_ART_GO_DOWN_get(void) {
15738 PyObject *pyobj;
15739
15740 {
15741 #if wxUSE_UNICODE
15742 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15743 #else
15744 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DOWN)->c_str(), (&wxPyART_GO_DOWN)->Len());
15745 #endif
15746 }
15747 return pyobj;
15748 }
15749
15750
15751 static int _wrap_ART_GO_TO_PARENT_set(PyObject *) {
15752 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_TO_PARENT is read-only.");
15753 return 1;
15754 }
15755
15756
15757 static PyObject *_wrap_ART_GO_TO_PARENT_get(void) {
15758 PyObject *pyobj;
15759
15760 {
15761 #if wxUSE_UNICODE
15762 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15763 #else
15764 pyobj = PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT)->c_str(), (&wxPyART_GO_TO_PARENT)->Len());
15765 #endif
15766 }
15767 return pyobj;
15768 }
15769
15770
15771 static int _wrap_ART_GO_HOME_set(PyObject *) {
15772 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_HOME is read-only.");
15773 return 1;
15774 }
15775
15776
15777 static PyObject *_wrap_ART_GO_HOME_get(void) {
15778 PyObject *pyobj;
15779
15780 {
15781 #if wxUSE_UNICODE
15782 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15783 #else
15784 pyobj = PyString_FromStringAndSize((&wxPyART_GO_HOME)->c_str(), (&wxPyART_GO_HOME)->Len());
15785 #endif
15786 }
15787 return pyobj;
15788 }
15789
15790
15791 static int _wrap_ART_FILE_OPEN_set(PyObject *) {
15792 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_OPEN is read-only.");
15793 return 1;
15794 }
15795
15796
15797 static PyObject *_wrap_ART_FILE_OPEN_get(void) {
15798 PyObject *pyobj;
15799
15800 {
15801 #if wxUSE_UNICODE
15802 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15803 #else
15804 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_OPEN)->c_str(), (&wxPyART_FILE_OPEN)->Len());
15805 #endif
15806 }
15807 return pyobj;
15808 }
15809
15810
15811 static int _wrap_ART_FILE_SAVE_set(PyObject *) {
15812 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE is read-only.");
15813 return 1;
15814 }
15815
15816
15817 static PyObject *_wrap_ART_FILE_SAVE_get(void) {
15818 PyObject *pyobj;
15819
15820 {
15821 #if wxUSE_UNICODE
15822 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15823 #else
15824 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE)->c_str(), (&wxPyART_FILE_SAVE)->Len());
15825 #endif
15826 }
15827 return pyobj;
15828 }
15829
15830
15831 static int _wrap_ART_FILE_SAVE_AS_set(PyObject *) {
15832 PyErr_SetString(PyExc_TypeError,"Variable ART_FILE_SAVE_AS is read-only.");
15833 return 1;
15834 }
15835
15836
15837 static PyObject *_wrap_ART_FILE_SAVE_AS_get(void) {
15838 PyObject *pyobj;
15839
15840 {
15841 #if wxUSE_UNICODE
15842 pyobj = PyUnicode_FromWideChar((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15843 #else
15844 pyobj = PyString_FromStringAndSize((&wxPyART_FILE_SAVE_AS)->c_str(), (&wxPyART_FILE_SAVE_AS)->Len());
15845 #endif
15846 }
15847 return pyobj;
15848 }
15849
15850
15851 static int _wrap_ART_PRINT_set(PyObject *) {
15852 PyErr_SetString(PyExc_TypeError,"Variable ART_PRINT is read-only.");
15853 return 1;
15854 }
15855
15856
15857 static PyObject *_wrap_ART_PRINT_get(void) {
15858 PyObject *pyobj;
15859
15860 {
15861 #if wxUSE_UNICODE
15862 pyobj = PyUnicode_FromWideChar((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15863 #else
15864 pyobj = PyString_FromStringAndSize((&wxPyART_PRINT)->c_str(), (&wxPyART_PRINT)->Len());
15865 #endif
15866 }
15867 return pyobj;
15868 }
15869
15870
15871 static int _wrap_ART_HELP_set(PyObject *) {
15872 PyErr_SetString(PyExc_TypeError,"Variable ART_HELP is read-only.");
15873 return 1;
15874 }
15875
15876
15877 static PyObject *_wrap_ART_HELP_get(void) {
15878 PyObject *pyobj;
15879
15880 {
15881 #if wxUSE_UNICODE
15882 pyobj = PyUnicode_FromWideChar((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15883 #else
15884 pyobj = PyString_FromStringAndSize((&wxPyART_HELP)->c_str(), (&wxPyART_HELP)->Len());
15885 #endif
15886 }
15887 return pyobj;
15888 }
15889
15890
15891 static int _wrap_ART_TIP_set(PyObject *) {
15892 PyErr_SetString(PyExc_TypeError,"Variable ART_TIP is read-only.");
15893 return 1;
15894 }
15895
15896
15897 static PyObject *_wrap_ART_TIP_get(void) {
15898 PyObject *pyobj;
15899
15900 {
15901 #if wxUSE_UNICODE
15902 pyobj = PyUnicode_FromWideChar((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15903 #else
15904 pyobj = PyString_FromStringAndSize((&wxPyART_TIP)->c_str(), (&wxPyART_TIP)->Len());
15905 #endif
15906 }
15907 return pyobj;
15908 }
15909
15910
15911 static int _wrap_ART_REPORT_VIEW_set(PyObject *) {
15912 PyErr_SetString(PyExc_TypeError,"Variable ART_REPORT_VIEW is read-only.");
15913 return 1;
15914 }
15915
15916
15917 static PyObject *_wrap_ART_REPORT_VIEW_get(void) {
15918 PyObject *pyobj;
15919
15920 {
15921 #if wxUSE_UNICODE
15922 pyobj = PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
15923 #else
15924 pyobj = PyString_FromStringAndSize((&wxPyART_REPORT_VIEW)->c_str(), (&wxPyART_REPORT_VIEW)->Len());
15925 #endif
15926 }
15927 return pyobj;
15928 }
15929
15930
15931 static int _wrap_ART_LIST_VIEW_set(PyObject *) {
15932 PyErr_SetString(PyExc_TypeError,"Variable ART_LIST_VIEW is read-only.");
15933 return 1;
15934 }
15935
15936
15937 static PyObject *_wrap_ART_LIST_VIEW_get(void) {
15938 PyObject *pyobj;
15939
15940 {
15941 #if wxUSE_UNICODE
15942 pyobj = PyUnicode_FromWideChar((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
15943 #else
15944 pyobj = PyString_FromStringAndSize((&wxPyART_LIST_VIEW)->c_str(), (&wxPyART_LIST_VIEW)->Len());
15945 #endif
15946 }
15947 return pyobj;
15948 }
15949
15950
15951 static int _wrap_ART_NEW_DIR_set(PyObject *) {
15952 PyErr_SetString(PyExc_TypeError,"Variable ART_NEW_DIR is read-only.");
15953 return 1;
15954 }
15955
15956
15957 static PyObject *_wrap_ART_NEW_DIR_get(void) {
15958 PyObject *pyobj;
15959
15960 {
15961 #if wxUSE_UNICODE
15962 pyobj = PyUnicode_FromWideChar((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
15963 #else
15964 pyobj = PyString_FromStringAndSize((&wxPyART_NEW_DIR)->c_str(), (&wxPyART_NEW_DIR)->Len());
15965 #endif
15966 }
15967 return pyobj;
15968 }
15969
15970
15971 static int _wrap_ART_HARDDISK_set(PyObject *) {
15972 PyErr_SetString(PyExc_TypeError,"Variable ART_HARDDISK is read-only.");
15973 return 1;
15974 }
15975
15976
15977 static PyObject *_wrap_ART_HARDDISK_get(void) {
15978 PyObject *pyobj;
15979
15980 {
15981 #if wxUSE_UNICODE
15982 pyobj = PyUnicode_FromWideChar((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
15983 #else
15984 pyobj = PyString_FromStringAndSize((&wxPyART_HARDDISK)->c_str(), (&wxPyART_HARDDISK)->Len());
15985 #endif
15986 }
15987 return pyobj;
15988 }
15989
15990
15991 static int _wrap_ART_FLOPPY_set(PyObject *) {
15992 PyErr_SetString(PyExc_TypeError,"Variable ART_FLOPPY is read-only.");
15993 return 1;
15994 }
15995
15996
15997 static PyObject *_wrap_ART_FLOPPY_get(void) {
15998 PyObject *pyobj;
15999
16000 {
16001 #if wxUSE_UNICODE
16002 pyobj = PyUnicode_FromWideChar((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16003 #else
16004 pyobj = PyString_FromStringAndSize((&wxPyART_FLOPPY)->c_str(), (&wxPyART_FLOPPY)->Len());
16005 #endif
16006 }
16007 return pyobj;
16008 }
16009
16010
16011 static int _wrap_ART_CDROM_set(PyObject *) {
16012 PyErr_SetString(PyExc_TypeError,"Variable ART_CDROM is read-only.");
16013 return 1;
16014 }
16015
16016
16017 static PyObject *_wrap_ART_CDROM_get(void) {
16018 PyObject *pyobj;
16019
16020 {
16021 #if wxUSE_UNICODE
16022 pyobj = PyUnicode_FromWideChar((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16023 #else
16024 pyobj = PyString_FromStringAndSize((&wxPyART_CDROM)->c_str(), (&wxPyART_CDROM)->Len());
16025 #endif
16026 }
16027 return pyobj;
16028 }
16029
16030
16031 static int _wrap_ART_REMOVABLE_set(PyObject *) {
16032 PyErr_SetString(PyExc_TypeError,"Variable ART_REMOVABLE is read-only.");
16033 return 1;
16034 }
16035
16036
16037 static PyObject *_wrap_ART_REMOVABLE_get(void) {
16038 PyObject *pyobj;
16039
16040 {
16041 #if wxUSE_UNICODE
16042 pyobj = PyUnicode_FromWideChar((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16043 #else
16044 pyobj = PyString_FromStringAndSize((&wxPyART_REMOVABLE)->c_str(), (&wxPyART_REMOVABLE)->Len());
16045 #endif
16046 }
16047 return pyobj;
16048 }
16049
16050
16051 static int _wrap_ART_FOLDER_set(PyObject *) {
16052 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER is read-only.");
16053 return 1;
16054 }
16055
16056
16057 static PyObject *_wrap_ART_FOLDER_get(void) {
16058 PyObject *pyobj;
16059
16060 {
16061 #if wxUSE_UNICODE
16062 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16063 #else
16064 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER)->c_str(), (&wxPyART_FOLDER)->Len());
16065 #endif
16066 }
16067 return pyobj;
16068 }
16069
16070
16071 static int _wrap_ART_FOLDER_OPEN_set(PyObject *) {
16072 PyErr_SetString(PyExc_TypeError,"Variable ART_FOLDER_OPEN is read-only.");
16073 return 1;
16074 }
16075
16076
16077 static PyObject *_wrap_ART_FOLDER_OPEN_get(void) {
16078 PyObject *pyobj;
16079
16080 {
16081 #if wxUSE_UNICODE
16082 pyobj = PyUnicode_FromWideChar((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16083 #else
16084 pyobj = PyString_FromStringAndSize((&wxPyART_FOLDER_OPEN)->c_str(), (&wxPyART_FOLDER_OPEN)->Len());
16085 #endif
16086 }
16087 return pyobj;
16088 }
16089
16090
16091 static int _wrap_ART_GO_DIR_UP_set(PyObject *) {
16092 PyErr_SetString(PyExc_TypeError,"Variable ART_GO_DIR_UP is read-only.");
16093 return 1;
16094 }
16095
16096
16097 static PyObject *_wrap_ART_GO_DIR_UP_get(void) {
16098 PyObject *pyobj;
16099
16100 {
16101 #if wxUSE_UNICODE
16102 pyobj = PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16103 #else
16104 pyobj = PyString_FromStringAndSize((&wxPyART_GO_DIR_UP)->c_str(), (&wxPyART_GO_DIR_UP)->Len());
16105 #endif
16106 }
16107 return pyobj;
16108 }
16109
16110
16111 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject *) {
16112 PyErr_SetString(PyExc_TypeError,"Variable ART_EXECUTABLE_FILE is read-only.");
16113 return 1;
16114 }
16115
16116
16117 static PyObject *_wrap_ART_EXECUTABLE_FILE_get(void) {
16118 PyObject *pyobj;
16119
16120 {
16121 #if wxUSE_UNICODE
16122 pyobj = PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16123 #else
16124 pyobj = PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE)->c_str(), (&wxPyART_EXECUTABLE_FILE)->Len());
16125 #endif
16126 }
16127 return pyobj;
16128 }
16129
16130
16131 static int _wrap_ART_NORMAL_FILE_set(PyObject *) {
16132 PyErr_SetString(PyExc_TypeError,"Variable ART_NORMAL_FILE is read-only.");
16133 return 1;
16134 }
16135
16136
16137 static PyObject *_wrap_ART_NORMAL_FILE_get(void) {
16138 PyObject *pyobj;
16139
16140 {
16141 #if wxUSE_UNICODE
16142 pyobj = PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16143 #else
16144 pyobj = PyString_FromStringAndSize((&wxPyART_NORMAL_FILE)->c_str(), (&wxPyART_NORMAL_FILE)->Len());
16145 #endif
16146 }
16147 return pyobj;
16148 }
16149
16150
16151 static int _wrap_ART_TICK_MARK_set(PyObject *) {
16152 PyErr_SetString(PyExc_TypeError,"Variable ART_TICK_MARK is read-only.");
16153 return 1;
16154 }
16155
16156
16157 static PyObject *_wrap_ART_TICK_MARK_get(void) {
16158 PyObject *pyobj;
16159
16160 {
16161 #if wxUSE_UNICODE
16162 pyobj = PyUnicode_FromWideChar((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16163 #else
16164 pyobj = PyString_FromStringAndSize((&wxPyART_TICK_MARK)->c_str(), (&wxPyART_TICK_MARK)->Len());
16165 #endif
16166 }
16167 return pyobj;
16168 }
16169
16170
16171 static int _wrap_ART_CROSS_MARK_set(PyObject *) {
16172 PyErr_SetString(PyExc_TypeError,"Variable ART_CROSS_MARK is read-only.");
16173 return 1;
16174 }
16175
16176
16177 static PyObject *_wrap_ART_CROSS_MARK_get(void) {
16178 PyObject *pyobj;
16179
16180 {
16181 #if wxUSE_UNICODE
16182 pyobj = PyUnicode_FromWideChar((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16183 #else
16184 pyobj = PyString_FromStringAndSize((&wxPyART_CROSS_MARK)->c_str(), (&wxPyART_CROSS_MARK)->Len());
16185 #endif
16186 }
16187 return pyobj;
16188 }
16189
16190
16191 static int _wrap_ART_ERROR_set(PyObject *) {
16192 PyErr_SetString(PyExc_TypeError,"Variable ART_ERROR is read-only.");
16193 return 1;
16194 }
16195
16196
16197 static PyObject *_wrap_ART_ERROR_get(void) {
16198 PyObject *pyobj;
16199
16200 {
16201 #if wxUSE_UNICODE
16202 pyobj = PyUnicode_FromWideChar((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16203 #else
16204 pyobj = PyString_FromStringAndSize((&wxPyART_ERROR)->c_str(), (&wxPyART_ERROR)->Len());
16205 #endif
16206 }
16207 return pyobj;
16208 }
16209
16210
16211 static int _wrap_ART_QUESTION_set(PyObject *) {
16212 PyErr_SetString(PyExc_TypeError,"Variable ART_QUESTION is read-only.");
16213 return 1;
16214 }
16215
16216
16217 static PyObject *_wrap_ART_QUESTION_get(void) {
16218 PyObject *pyobj;
16219
16220 {
16221 #if wxUSE_UNICODE
16222 pyobj = PyUnicode_FromWideChar((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16223 #else
16224 pyobj = PyString_FromStringAndSize((&wxPyART_QUESTION)->c_str(), (&wxPyART_QUESTION)->Len());
16225 #endif
16226 }
16227 return pyobj;
16228 }
16229
16230
16231 static int _wrap_ART_WARNING_set(PyObject *) {
16232 PyErr_SetString(PyExc_TypeError,"Variable ART_WARNING is read-only.");
16233 return 1;
16234 }
16235
16236
16237 static PyObject *_wrap_ART_WARNING_get(void) {
16238 PyObject *pyobj;
16239
16240 {
16241 #if wxUSE_UNICODE
16242 pyobj = PyUnicode_FromWideChar((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16243 #else
16244 pyobj = PyString_FromStringAndSize((&wxPyART_WARNING)->c_str(), (&wxPyART_WARNING)->Len());
16245 #endif
16246 }
16247 return pyobj;
16248 }
16249
16250
16251 static int _wrap_ART_INFORMATION_set(PyObject *) {
16252 PyErr_SetString(PyExc_TypeError,"Variable ART_INFORMATION is read-only.");
16253 return 1;
16254 }
16255
16256
16257 static PyObject *_wrap_ART_INFORMATION_get(void) {
16258 PyObject *pyobj;
16259
16260 {
16261 #if wxUSE_UNICODE
16262 pyobj = PyUnicode_FromWideChar((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16263 #else
16264 pyobj = PyString_FromStringAndSize((&wxPyART_INFORMATION)->c_str(), (&wxPyART_INFORMATION)->Len());
16265 #endif
16266 }
16267 return pyobj;
16268 }
16269
16270
16271 static int _wrap_ART_MISSING_IMAGE_set(PyObject *) {
16272 PyErr_SetString(PyExc_TypeError,"Variable ART_MISSING_IMAGE is read-only.");
16273 return 1;
16274 }
16275
16276
16277 static PyObject *_wrap_ART_MISSING_IMAGE_get(void) {
16278 PyObject *pyobj;
16279
16280 {
16281 #if wxUSE_UNICODE
16282 pyobj = PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16283 #else
16284 pyobj = PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE)->c_str(), (&wxPyART_MISSING_IMAGE)->Len());
16285 #endif
16286 }
16287 return pyobj;
16288 }
16289
16290
16291 static int _wrap_ART_COPY_set(PyObject *) {
16292 PyErr_SetString(PyExc_TypeError,"Variable ART_COPY is read-only.");
16293 return 1;
16294 }
16295
16296
16297 static PyObject *_wrap_ART_COPY_get(void) {
16298 PyObject *pyobj;
16299
16300 {
16301 #if wxUSE_UNICODE
16302 pyobj = PyUnicode_FromWideChar((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16303 #else
16304 pyobj = PyString_FromStringAndSize((&wxPyART_COPY)->c_str(), (&wxPyART_COPY)->Len());
16305 #endif
16306 }
16307 return pyobj;
16308 }
16309
16310
16311 static int _wrap_ART_CUT_set(PyObject *) {
16312 PyErr_SetString(PyExc_TypeError,"Variable ART_CUT is read-only.");
16313 return 1;
16314 }
16315
16316
16317 static PyObject *_wrap_ART_CUT_get(void) {
16318 PyObject *pyobj;
16319
16320 {
16321 #if wxUSE_UNICODE
16322 pyobj = PyUnicode_FromWideChar((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16323 #else
16324 pyobj = PyString_FromStringAndSize((&wxPyART_CUT)->c_str(), (&wxPyART_CUT)->Len());
16325 #endif
16326 }
16327 return pyobj;
16328 }
16329
16330
16331 static int _wrap_ART_PASTE_set(PyObject *) {
16332 PyErr_SetString(PyExc_TypeError,"Variable ART_PASTE is read-only.");
16333 return 1;
16334 }
16335
16336
16337 static PyObject *_wrap_ART_PASTE_get(void) {
16338 PyObject *pyobj;
16339
16340 {
16341 #if wxUSE_UNICODE
16342 pyobj = PyUnicode_FromWideChar((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16343 #else
16344 pyobj = PyString_FromStringAndSize((&wxPyART_PASTE)->c_str(), (&wxPyART_PASTE)->Len());
16345 #endif
16346 }
16347 return pyobj;
16348 }
16349
16350
16351 static int _wrap_ART_DELETE_set(PyObject *) {
16352 PyErr_SetString(PyExc_TypeError,"Variable ART_DELETE is read-only.");
16353 return 1;
16354 }
16355
16356
16357 static PyObject *_wrap_ART_DELETE_get(void) {
16358 PyObject *pyobj;
16359
16360 {
16361 #if wxUSE_UNICODE
16362 pyobj = PyUnicode_FromWideChar((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16363 #else
16364 pyobj = PyString_FromStringAndSize((&wxPyART_DELETE)->c_str(), (&wxPyART_DELETE)->Len());
16365 #endif
16366 }
16367 return pyobj;
16368 }
16369
16370
16371 static int _wrap_ART_UNDO_set(PyObject *) {
16372 PyErr_SetString(PyExc_TypeError,"Variable ART_UNDO is read-only.");
16373 return 1;
16374 }
16375
16376
16377 static PyObject *_wrap_ART_UNDO_get(void) {
16378 PyObject *pyobj;
16379
16380 {
16381 #if wxUSE_UNICODE
16382 pyobj = PyUnicode_FromWideChar((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16383 #else
16384 pyobj = PyString_FromStringAndSize((&wxPyART_UNDO)->c_str(), (&wxPyART_UNDO)->Len());
16385 #endif
16386 }
16387 return pyobj;
16388 }
16389
16390
16391 static int _wrap_ART_REDO_set(PyObject *) {
16392 PyErr_SetString(PyExc_TypeError,"Variable ART_REDO is read-only.");
16393 return 1;
16394 }
16395
16396
16397 static PyObject *_wrap_ART_REDO_get(void) {
16398 PyObject *pyobj;
16399
16400 {
16401 #if wxUSE_UNICODE
16402 pyobj = PyUnicode_FromWideChar((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16403 #else
16404 pyobj = PyString_FromStringAndSize((&wxPyART_REDO)->c_str(), (&wxPyART_REDO)->Len());
16405 #endif
16406 }
16407 return pyobj;
16408 }
16409
16410
16411 static int _wrap_ART_QUIT_set(PyObject *) {
16412 PyErr_SetString(PyExc_TypeError,"Variable ART_QUIT is read-only.");
16413 return 1;
16414 }
16415
16416
16417 static PyObject *_wrap_ART_QUIT_get(void) {
16418 PyObject *pyobj;
16419
16420 {
16421 #if wxUSE_UNICODE
16422 pyobj = PyUnicode_FromWideChar((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16423 #else
16424 pyobj = PyString_FromStringAndSize((&wxPyART_QUIT)->c_str(), (&wxPyART_QUIT)->Len());
16425 #endif
16426 }
16427 return pyobj;
16428 }
16429
16430
16431 static int _wrap_ART_FIND_set(PyObject *) {
16432 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND is read-only.");
16433 return 1;
16434 }
16435
16436
16437 static PyObject *_wrap_ART_FIND_get(void) {
16438 PyObject *pyobj;
16439
16440 {
16441 #if wxUSE_UNICODE
16442 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16443 #else
16444 pyobj = PyString_FromStringAndSize((&wxPyART_FIND)->c_str(), (&wxPyART_FIND)->Len());
16445 #endif
16446 }
16447 return pyobj;
16448 }
16449
16450
16451 static int _wrap_ART_FIND_AND_REPLACE_set(PyObject *) {
16452 PyErr_SetString(PyExc_TypeError,"Variable ART_FIND_AND_REPLACE is read-only.");
16453 return 1;
16454 }
16455
16456
16457 static PyObject *_wrap_ART_FIND_AND_REPLACE_get(void) {
16458 PyObject *pyobj;
16459
16460 {
16461 #if wxUSE_UNICODE
16462 pyobj = PyUnicode_FromWideChar((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16463 #else
16464 pyobj = PyString_FromStringAndSize((&wxPyART_FIND_AND_REPLACE)->c_str(), (&wxPyART_FIND_AND_REPLACE)->Len());
16465 #endif
16466 }
16467 return pyobj;
16468 }
16469
16470
16471 static PyObject *_wrap_new_ArtProvider(PyObject *, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxPyArtProvider *result;
16474 char *kwnames[] = {
16475 NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ArtProvider",kwnames)) goto fail;
16479 {
16480 if (!wxPyCheckForApp()) SWIG_fail;
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (wxPyArtProvider *)new wxPyArtProvider();
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyArtProvider, 1);
16488 return resultobj;
16489 fail:
16490 return NULL;
16491 }
16492
16493
16494 static PyObject *_wrap_ArtProvider__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj;
16496 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16497 PyObject *arg2 = (PyObject *) 0 ;
16498 PyObject *arg3 = (PyObject *) 0 ;
16499 PyObject * obj0 = 0 ;
16500 PyObject * obj1 = 0 ;
16501 PyObject * obj2 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self",(char *) "self",(char *) "_class", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
16507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16508 if (SWIG_arg_fail(1)) SWIG_fail;
16509 arg2 = obj1;
16510 arg3 = obj2;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 (arg1)->_setCallbackInfo(arg2,arg3);
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_ArtProvider_PushProvider(PyObject *, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16528 PyObject * obj0 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "provider", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_PushProvider",kwnames,&obj0)) goto fail;
16534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16535 if (SWIG_arg_fail(1)) SWIG_fail;
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 wxPyArtProvider::PushProvider(arg1);
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 Py_INCREF(Py_None); resultobj = Py_None;
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 static PyObject *_wrap_ArtProvider_PopProvider(PyObject *, PyObject *args, PyObject *kwargs) {
16551 PyObject *resultobj;
16552 bool result;
16553 char *kwnames[] = {
16554 NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ArtProvider_PopProvider",kwnames)) goto fail;
16558 {
16559 PyThreadState* __tstate = wxPyBeginAllowThreads();
16560 result = (bool)wxPyArtProvider::PopProvider();
16561
16562 wxPyEndAllowThreads(__tstate);
16563 if (PyErr_Occurred()) SWIG_fail;
16564 }
16565 {
16566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16567 }
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 static PyObject *_wrap_ArtProvider_RemoveProvider(PyObject *, PyObject *args, PyObject *kwargs) {
16575 PyObject *resultobj;
16576 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16577 bool result;
16578 PyObject * obj0 = 0 ;
16579 char *kwnames[] = {
16580 (char *) "provider", NULL
16581 };
16582
16583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_RemoveProvider",kwnames,&obj0)) goto fail;
16584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16585 if (SWIG_arg_fail(1)) SWIG_fail;
16586 {
16587 PyThreadState* __tstate = wxPyBeginAllowThreads();
16588 result = (bool)wxPyArtProvider::RemoveProvider(arg1);
16589
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 {
16594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16595 }
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 static PyObject *_wrap_ArtProvider_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj;
16604 wxString *arg1 = 0 ;
16605 wxString const &arg2_defvalue = wxPyART_OTHER ;
16606 wxString *arg2 = (wxString *) &arg2_defvalue ;
16607 wxSize const &arg3_defvalue = wxDefaultSize ;
16608 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16609 wxBitmap result;
16610 bool temp1 = false ;
16611 bool temp2 = false ;
16612 wxSize temp3 ;
16613 PyObject * obj0 = 0 ;
16614 PyObject * obj1 = 0 ;
16615 PyObject * obj2 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "id",(char *) "client",(char *) "size", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
16621 {
16622 arg1 = wxString_in_helper(obj0);
16623 if (arg1 == NULL) SWIG_fail;
16624 temp1 = true;
16625 }
16626 if (obj1) {
16627 {
16628 arg2 = wxString_in_helper(obj1);
16629 if (arg2 == NULL) SWIG_fail;
16630 temp2 = true;
16631 }
16632 }
16633 if (obj2) {
16634 {
16635 arg3 = &temp3;
16636 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16637 }
16638 }
16639 {
16640 if (!wxPyCheckForApp()) SWIG_fail;
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = wxPyArtProvider::GetBitmap((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 {
16648 wxBitmap * resultptr;
16649 resultptr = new wxBitmap((wxBitmap &)(result));
16650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16651 }
16652 {
16653 if (temp1)
16654 delete arg1;
16655 }
16656 {
16657 if (temp2)
16658 delete arg2;
16659 }
16660 return resultobj;
16661 fail:
16662 {
16663 if (temp1)
16664 delete arg1;
16665 }
16666 {
16667 if (temp2)
16668 delete arg2;
16669 }
16670 return NULL;
16671 }
16672
16673
16674 static PyObject *_wrap_ArtProvider_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
16675 PyObject *resultobj;
16676 wxString *arg1 = 0 ;
16677 wxString const &arg2_defvalue = wxPyART_OTHER ;
16678 wxString *arg2 = (wxString *) &arg2_defvalue ;
16679 wxSize const &arg3_defvalue = wxDefaultSize ;
16680 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
16681 wxIcon result;
16682 bool temp1 = false ;
16683 bool temp2 = false ;
16684 wxSize temp3 ;
16685 PyObject * obj0 = 0 ;
16686 PyObject * obj1 = 0 ;
16687 PyObject * obj2 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "id",(char *) "client",(char *) "size", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:ArtProvider_GetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
16693 {
16694 arg1 = wxString_in_helper(obj0);
16695 if (arg1 == NULL) SWIG_fail;
16696 temp1 = true;
16697 }
16698 if (obj1) {
16699 {
16700 arg2 = wxString_in_helper(obj1);
16701 if (arg2 == NULL) SWIG_fail;
16702 temp2 = true;
16703 }
16704 }
16705 if (obj2) {
16706 {
16707 arg3 = &temp3;
16708 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
16709 }
16710 }
16711 {
16712 if (!wxPyCheckForApp()) SWIG_fail;
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = wxPyArtProvider::GetIcon((wxString const &)*arg1,(wxString const &)*arg2,(wxSize const &)*arg3);
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 wxIcon * resultptr;
16721 resultptr = new wxIcon((wxIcon &)(result));
16722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
16723 }
16724 {
16725 if (temp1)
16726 delete arg1;
16727 }
16728 {
16729 if (temp2)
16730 delete arg2;
16731 }
16732 return resultobj;
16733 fail:
16734 {
16735 if (temp1)
16736 delete arg1;
16737 }
16738 {
16739 if (temp2)
16740 delete arg2;
16741 }
16742 return NULL;
16743 }
16744
16745
16746 static PyObject *_wrap_ArtProvider_GetSizeHint(PyObject *, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxString *arg1 = 0 ;
16749 bool arg2 = (bool) false ;
16750 wxSize result;
16751 bool temp1 = false ;
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "client",(char *) "platform_dependent", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ArtProvider_GetSizeHint",kwnames,&obj0,&obj1)) goto fail;
16759 {
16760 arg1 = wxString_in_helper(obj0);
16761 if (arg1 == NULL) SWIG_fail;
16762 temp1 = true;
16763 }
16764 if (obj1) {
16765 {
16766 arg2 = (bool)(SWIG_As_bool(obj1));
16767 if (SWIG_arg_fail(2)) SWIG_fail;
16768 }
16769 }
16770 {
16771 PyThreadState* __tstate = wxPyBeginAllowThreads();
16772 result = wxPyArtProvider::GetSizeHint((wxString const &)*arg1,arg2);
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 {
16778 wxSize * resultptr;
16779 resultptr = new wxSize((wxSize &)(result));
16780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16781 }
16782 {
16783 if (temp1)
16784 delete arg1;
16785 }
16786 return resultobj;
16787 fail:
16788 {
16789 if (temp1)
16790 delete arg1;
16791 }
16792 return NULL;
16793 }
16794
16795
16796 static PyObject *_wrap_ArtProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
16797 PyObject *resultobj;
16798 wxPyArtProvider *arg1 = (wxPyArtProvider *) 0 ;
16799 PyObject * obj0 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ArtProvider_Destroy",kwnames,&obj0)) goto fail;
16805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyArtProvider, SWIG_POINTER_EXCEPTION | 0);
16806 if (SWIG_arg_fail(1)) SWIG_fail;
16807 {
16808 PyThreadState* __tstate = wxPyBeginAllowThreads();
16809 wxPyArtProvider_Destroy(arg1);
16810
16811 wxPyEndAllowThreads(__tstate);
16812 if (PyErr_Occurred()) SWIG_fail;
16813 }
16814 Py_INCREF(Py_None); resultobj = Py_None;
16815 return resultobj;
16816 fail:
16817 return NULL;
16818 }
16819
16820
16821 static PyObject * ArtProvider_swigregister(PyObject *, PyObject *args) {
16822 PyObject *obj;
16823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16824 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider, obj);
16825 Py_INCREF(obj);
16826 return Py_BuildValue((char *)"");
16827 }
16828 static PyObject *_wrap_delete_ConfigBase(PyObject *, PyObject *args, PyObject *kwargs) {
16829 PyObject *resultobj;
16830 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16831 PyObject * obj0 = 0 ;
16832 char *kwnames[] = {
16833 (char *) "self", NULL
16834 };
16835
16836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigBase",kwnames,&obj0)) goto fail;
16837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16838 if (SWIG_arg_fail(1)) SWIG_fail;
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 delete arg1;
16842
16843 wxPyEndAllowThreads(__tstate);
16844 if (PyErr_Occurred()) SWIG_fail;
16845 }
16846 Py_INCREF(Py_None); resultobj = Py_None;
16847 return resultobj;
16848 fail:
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_ConfigBase_Set(PyObject *, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16856 wxConfigBase *result;
16857 PyObject * obj0 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "config", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_Set",kwnames,&obj0)) goto fail;
16863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16864 if (SWIG_arg_fail(1)) SWIG_fail;
16865 {
16866 PyThreadState* __tstate = wxPyBeginAllowThreads();
16867 result = (wxConfigBase *)wxConfigBase::Set(arg1);
16868
16869 wxPyEndAllowThreads(__tstate);
16870 if (PyErr_Occurred()) SWIG_fail;
16871 }
16872 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16873 return resultobj;
16874 fail:
16875 return NULL;
16876 }
16877
16878
16879 static PyObject *_wrap_ConfigBase_Get(PyObject *, PyObject *args, PyObject *kwargs) {
16880 PyObject *resultobj;
16881 bool arg1 = (bool) true ;
16882 wxConfigBase *result;
16883 PyObject * obj0 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "createOnDemand", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ConfigBase_Get",kwnames,&obj0)) goto fail;
16889 if (obj0) {
16890 {
16891 arg1 = (bool)(SWIG_As_bool(obj0));
16892 if (SWIG_arg_fail(1)) SWIG_fail;
16893 }
16894 }
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (wxConfigBase *)wxConfigBase::Get(arg1);
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_ConfigBase_Create(PyObject *, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxConfigBase *result;
16912 char *kwnames[] = {
16913 NULL
16914 };
16915
16916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_Create",kwnames)) goto fail;
16917 {
16918 PyThreadState* __tstate = wxPyBeginAllowThreads();
16919 result = (wxConfigBase *)wxConfigBase::Create();
16920
16921 wxPyEndAllowThreads(__tstate);
16922 if (PyErr_Occurred()) SWIG_fail;
16923 }
16924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigBase, 0);
16925 return resultobj;
16926 fail:
16927 return NULL;
16928 }
16929
16930
16931 static PyObject *_wrap_ConfigBase_DontCreateOnDemand(PyObject *, PyObject *args, PyObject *kwargs) {
16932 PyObject *resultobj;
16933 char *kwnames[] = {
16934 NULL
16935 };
16936
16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":ConfigBase_DontCreateOnDemand",kwnames)) goto fail;
16938 {
16939 PyThreadState* __tstate = wxPyBeginAllowThreads();
16940 wxConfigBase::DontCreateOnDemand();
16941
16942 wxPyEndAllowThreads(__tstate);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 Py_INCREF(Py_None); resultobj = Py_None;
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_ConfigBase_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16955 wxString *arg2 = 0 ;
16956 bool temp2 = false ;
16957 PyObject * obj0 = 0 ;
16958 PyObject * obj1 = 0 ;
16959 char *kwnames[] = {
16960 (char *) "self",(char *) "path", NULL
16961 };
16962
16963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetPath",kwnames,&obj0,&obj1)) goto fail;
16964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
16965 if (SWIG_arg_fail(1)) SWIG_fail;
16966 {
16967 arg2 = wxString_in_helper(obj1);
16968 if (arg2 == NULL) SWIG_fail;
16969 temp2 = true;
16970 }
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 (arg1)->SetPath((wxString const &)*arg2);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 Py_INCREF(Py_None); resultobj = Py_None;
16979 {
16980 if (temp2)
16981 delete arg2;
16982 }
16983 return resultobj;
16984 fail:
16985 {
16986 if (temp2)
16987 delete arg2;
16988 }
16989 return NULL;
16990 }
16991
16992
16993 static PyObject *_wrap_ConfigBase_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj;
16995 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
16996 wxString *result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetPath",kwnames,&obj0)) goto fail;
17003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17004 if (SWIG_arg_fail(1)) SWIG_fail;
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 {
17008 wxString const &_result_ref = ((wxConfigBase const *)arg1)->GetPath();
17009 result = (wxString *) &_result_ref;
17010 }
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 {
17016 #if wxUSE_UNICODE
17017 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17018 #else
17019 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17020 #endif
17021 }
17022 return resultobj;
17023 fail:
17024 return NULL;
17025 }
17026
17027
17028 static PyObject *_wrap_ConfigBase_GetFirstGroup(PyObject *, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17031 PyObject *result;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstGroup",kwnames,&obj0)) goto fail;
17038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17039 if (SWIG_arg_fail(1)) SWIG_fail;
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 result = (PyObject *)wxConfigBase_GetFirstGroup(arg1);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 resultobj = result;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051 }
17052
17053
17054 static PyObject *_wrap_ConfigBase_GetNextGroup(PyObject *, PyObject *args, PyObject *kwargs) {
17055 PyObject *resultobj;
17056 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17057 long arg2 ;
17058 PyObject *result;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "index", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextGroup",kwnames,&obj0,&obj1)) goto fail;
17066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17067 if (SWIG_arg_fail(1)) SWIG_fail;
17068 {
17069 arg2 = (long)(SWIG_As_long(obj1));
17070 if (SWIG_arg_fail(2)) SWIG_fail;
17071 }
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 result = (PyObject *)wxConfigBase_GetNextGroup(arg1,arg2);
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 resultobj = result;
17080 return resultobj;
17081 fail:
17082 return NULL;
17083 }
17084
17085
17086 static PyObject *_wrap_ConfigBase_GetFirstEntry(PyObject *, PyObject *args, PyObject *kwargs) {
17087 PyObject *resultobj;
17088 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17089 PyObject *result;
17090 PyObject * obj0 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetFirstEntry",kwnames,&obj0)) goto fail;
17096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17097 if (SWIG_arg_fail(1)) SWIG_fail;
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 result = (PyObject *)wxConfigBase_GetFirstEntry(arg1);
17101
17102 wxPyEndAllowThreads(__tstate);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
17105 resultobj = result;
17106 return resultobj;
17107 fail:
17108 return NULL;
17109 }
17110
17111
17112 static PyObject *_wrap_ConfigBase_GetNextEntry(PyObject *, PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj;
17114 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17115 long arg2 ;
17116 PyObject *result;
17117 PyObject * obj0 = 0 ;
17118 PyObject * obj1 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self",(char *) "index", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetNextEntry",kwnames,&obj0,&obj1)) goto fail;
17124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17125 if (SWIG_arg_fail(1)) SWIG_fail;
17126 {
17127 arg2 = (long)(SWIG_As_long(obj1));
17128 if (SWIG_arg_fail(2)) SWIG_fail;
17129 }
17130 {
17131 PyThreadState* __tstate = wxPyBeginAllowThreads();
17132 result = (PyObject *)wxConfigBase_GetNextEntry(arg1,arg2);
17133
17134 wxPyEndAllowThreads(__tstate);
17135 if (PyErr_Occurred()) SWIG_fail;
17136 }
17137 resultobj = result;
17138 return resultobj;
17139 fail:
17140 return NULL;
17141 }
17142
17143
17144 static PyObject *_wrap_ConfigBase_GetNumberOfEntries(PyObject *, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17147 bool arg2 = (bool) false ;
17148 size_t result;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self",(char *) "recursive", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames,&obj0,&obj1)) goto fail;
17156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail;
17158 if (obj1) {
17159 {
17160 arg2 = (bool)(SWIG_As_bool(obj1));
17161 if (SWIG_arg_fail(2)) SWIG_fail;
17162 }
17163 }
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfEntries(arg2);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 {
17172 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17173 }
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_ConfigBase_GetNumberOfGroups(PyObject *, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17183 bool arg2 = (bool) false ;
17184 size_t result;
17185 PyObject * obj0 = 0 ;
17186 PyObject * obj1 = 0 ;
17187 char *kwnames[] = {
17188 (char *) "self",(char *) "recursive", NULL
17189 };
17190
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames,&obj0,&obj1)) goto fail;
17192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail;
17194 if (obj1) {
17195 {
17196 arg2 = (bool)(SWIG_As_bool(obj1));
17197 if (SWIG_arg_fail(2)) SWIG_fail;
17198 }
17199 }
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 result = (size_t)((wxConfigBase const *)arg1)->GetNumberOfGroups(arg2);
17203
17204 wxPyEndAllowThreads(__tstate);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 {
17208 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
17209 }
17210 return resultobj;
17211 fail:
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_ConfigBase_HasGroup(PyObject *, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17219 wxString *arg2 = 0 ;
17220 bool result;
17221 bool temp2 = false ;
17222 PyObject * obj0 = 0 ;
17223 PyObject * obj1 = 0 ;
17224 char *kwnames[] = {
17225 (char *) "self",(char *) "name", NULL
17226 };
17227
17228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasGroup",kwnames,&obj0,&obj1)) goto fail;
17229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17230 if (SWIG_arg_fail(1)) SWIG_fail;
17231 {
17232 arg2 = wxString_in_helper(obj1);
17233 if (arg2 == NULL) SWIG_fail;
17234 temp2 = true;
17235 }
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (bool)((wxConfigBase const *)arg1)->HasGroup((wxString const &)*arg2);
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 {
17244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17245 }
17246 {
17247 if (temp2)
17248 delete arg2;
17249 }
17250 return resultobj;
17251 fail:
17252 {
17253 if (temp2)
17254 delete arg2;
17255 }
17256 return NULL;
17257 }
17258
17259
17260 static PyObject *_wrap_ConfigBase_HasEntry(PyObject *, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj;
17262 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17263 wxString *arg2 = 0 ;
17264 bool result;
17265 bool temp2 = false ;
17266 PyObject * obj0 = 0 ;
17267 PyObject * obj1 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self",(char *) "name", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_HasEntry",kwnames,&obj0,&obj1)) goto fail;
17273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail;
17275 {
17276 arg2 = wxString_in_helper(obj1);
17277 if (arg2 == NULL) SWIG_fail;
17278 temp2 = true;
17279 }
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 result = (bool)((wxConfigBase const *)arg1)->HasEntry((wxString const &)*arg2);
17283
17284 wxPyEndAllowThreads(__tstate);
17285 if (PyErr_Occurred()) SWIG_fail;
17286 }
17287 {
17288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17289 }
17290 {
17291 if (temp2)
17292 delete arg2;
17293 }
17294 return resultobj;
17295 fail:
17296 {
17297 if (temp2)
17298 delete arg2;
17299 }
17300 return NULL;
17301 }
17302
17303
17304 static PyObject *_wrap_ConfigBase_Exists(PyObject *, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17307 wxString *arg2 = 0 ;
17308 bool result;
17309 bool temp2 = false ;
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "self",(char *) "name", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_Exists",kwnames,&obj0,&obj1)) goto fail;
17317 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17318 if (SWIG_arg_fail(1)) SWIG_fail;
17319 {
17320 arg2 = wxString_in_helper(obj1);
17321 if (arg2 == NULL) SWIG_fail;
17322 temp2 = true;
17323 }
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (bool)((wxConfigBase const *)arg1)->Exists((wxString const &)*arg2);
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 {
17332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17333 }
17334 {
17335 if (temp2)
17336 delete arg2;
17337 }
17338 return resultobj;
17339 fail:
17340 {
17341 if (temp2)
17342 delete arg2;
17343 }
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_ConfigBase_GetEntryType(PyObject *, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17351 wxString *arg2 = 0 ;
17352 wxConfigBase::EntryType result;
17353 bool temp2 = false ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "name", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_GetEntryType",kwnames,&obj0,&obj1)) goto fail;
17361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17362 if (SWIG_arg_fail(1)) SWIG_fail;
17363 {
17364 arg2 = wxString_in_helper(obj1);
17365 if (arg2 == NULL) SWIG_fail;
17366 temp2 = true;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (wxConfigBase::EntryType)((wxConfigBase const *)arg1)->GetEntryType((wxString const &)*arg2);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_From_int((result));
17376 {
17377 if (temp2)
17378 delete arg2;
17379 }
17380 return resultobj;
17381 fail:
17382 {
17383 if (temp2)
17384 delete arg2;
17385 }
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_ConfigBase_Read(PyObject *, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17393 wxString *arg2 = 0 ;
17394 wxString const &arg3_defvalue = wxPyEmptyString ;
17395 wxString *arg3 = (wxString *) &arg3_defvalue ;
17396 wxString result;
17397 bool temp2 = false ;
17398 bool temp3 = false ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 PyObject * obj2 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_Read",kwnames,&obj0,&obj1,&obj2)) goto fail;
17407 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17408 if (SWIG_arg_fail(1)) SWIG_fail;
17409 {
17410 arg2 = wxString_in_helper(obj1);
17411 if (arg2 == NULL) SWIG_fail;
17412 temp2 = true;
17413 }
17414 if (obj2) {
17415 {
17416 arg3 = wxString_in_helper(obj2);
17417 if (arg3 == NULL) SWIG_fail;
17418 temp3 = true;
17419 }
17420 }
17421 {
17422 PyThreadState* __tstate = wxPyBeginAllowThreads();
17423 result = (arg1)->Read((wxString const &)*arg2,(wxString const &)*arg3);
17424
17425 wxPyEndAllowThreads(__tstate);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 {
17429 #if wxUSE_UNICODE
17430 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17431 #else
17432 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17433 #endif
17434 }
17435 {
17436 if (temp2)
17437 delete arg2;
17438 }
17439 {
17440 if (temp3)
17441 delete arg3;
17442 }
17443 return resultobj;
17444 fail:
17445 {
17446 if (temp2)
17447 delete arg2;
17448 }
17449 {
17450 if (temp3)
17451 delete arg3;
17452 }
17453 return NULL;
17454 }
17455
17456
17457 static PyObject *_wrap_ConfigBase_ReadInt(PyObject *, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17460 wxString *arg2 = 0 ;
17461 long arg3 = (long) 0 ;
17462 long result;
17463 bool temp2 = false ;
17464 PyObject * obj0 = 0 ;
17465 PyObject * obj1 = 0 ;
17466 PyObject * obj2 = 0 ;
17467 char *kwnames[] = {
17468 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17469 };
17470
17471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
17472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17473 if (SWIG_arg_fail(1)) SWIG_fail;
17474 {
17475 arg2 = wxString_in_helper(obj1);
17476 if (arg2 == NULL) SWIG_fail;
17477 temp2 = true;
17478 }
17479 if (obj2) {
17480 {
17481 arg3 = (long)(SWIG_As_long(obj2));
17482 if (SWIG_arg_fail(3)) SWIG_fail;
17483 }
17484 }
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (long)wxConfigBase_ReadInt(arg1,(wxString const &)*arg2,arg3);
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 {
17493 resultobj = SWIG_From_long((long)(result));
17494 }
17495 {
17496 if (temp2)
17497 delete arg2;
17498 }
17499 return resultobj;
17500 fail:
17501 {
17502 if (temp2)
17503 delete arg2;
17504 }
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_ConfigBase_ReadFloat(PyObject *, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17512 wxString *arg2 = 0 ;
17513 double arg3 = (double) 0.0 ;
17514 double result;
17515 bool temp2 = false ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 PyObject * obj2 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
17524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail;
17526 {
17527 arg2 = wxString_in_helper(obj1);
17528 if (arg2 == NULL) SWIG_fail;
17529 temp2 = true;
17530 }
17531 if (obj2) {
17532 {
17533 arg3 = (double)(SWIG_As_double(obj2));
17534 if (SWIG_arg_fail(3)) SWIG_fail;
17535 }
17536 }
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 result = (double)wxConfigBase_ReadFloat(arg1,(wxString const &)*arg2,arg3);
17540
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 {
17545 resultobj = SWIG_From_double((double)(result));
17546 }
17547 {
17548 if (temp2)
17549 delete arg2;
17550 }
17551 return resultobj;
17552 fail:
17553 {
17554 if (temp2)
17555 delete arg2;
17556 }
17557 return NULL;
17558 }
17559
17560
17561 static PyObject *_wrap_ConfigBase_ReadBool(PyObject *, PyObject *args, PyObject *kwargs) {
17562 PyObject *resultobj;
17563 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17564 wxString *arg2 = 0 ;
17565 bool arg3 = (bool) false ;
17566 bool result;
17567 bool temp2 = false ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 PyObject * obj2 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_ReadBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17577 if (SWIG_arg_fail(1)) SWIG_fail;
17578 {
17579 arg2 = wxString_in_helper(obj1);
17580 if (arg2 == NULL) SWIG_fail;
17581 temp2 = true;
17582 }
17583 if (obj2) {
17584 {
17585 arg3 = (bool)(SWIG_As_bool(obj2));
17586 if (SWIG_arg_fail(3)) SWIG_fail;
17587 }
17588 }
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 result = (bool)wxConfigBase_ReadBool(arg1,(wxString const &)*arg2,arg3);
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 {
17597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17598 }
17599 {
17600 if (temp2)
17601 delete arg2;
17602 }
17603 return resultobj;
17604 fail:
17605 {
17606 if (temp2)
17607 delete arg2;
17608 }
17609 return NULL;
17610 }
17611
17612
17613 static PyObject *_wrap_ConfigBase_Write(PyObject *, PyObject *args, PyObject *kwargs) {
17614 PyObject *resultobj;
17615 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17616 wxString *arg2 = 0 ;
17617 wxString *arg3 = 0 ;
17618 bool result;
17619 bool temp2 = false ;
17620 bool temp3 = false ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 PyObject * obj2 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self",(char *) "key",(char *) "value", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_Write",kwnames,&obj0,&obj1,&obj2)) goto fail;
17629 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17630 if (SWIG_arg_fail(1)) SWIG_fail;
17631 {
17632 arg2 = wxString_in_helper(obj1);
17633 if (arg2 == NULL) SWIG_fail;
17634 temp2 = true;
17635 }
17636 {
17637 arg3 = wxString_in_helper(obj2);
17638 if (arg3 == NULL) SWIG_fail;
17639 temp3 = true;
17640 }
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (bool)(arg1)->Write((wxString const &)*arg2,(wxString const &)*arg3);
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 {
17649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17650 }
17651 {
17652 if (temp2)
17653 delete arg2;
17654 }
17655 {
17656 if (temp3)
17657 delete arg3;
17658 }
17659 return resultobj;
17660 fail:
17661 {
17662 if (temp2)
17663 delete arg2;
17664 }
17665 {
17666 if (temp3)
17667 delete arg3;
17668 }
17669 return NULL;
17670 }
17671
17672
17673 static PyObject *_wrap_ConfigBase_WriteInt(PyObject *, PyObject *args, PyObject *kwargs) {
17674 PyObject *resultobj;
17675 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17676 wxString *arg2 = 0 ;
17677 long arg3 ;
17678 bool result;
17679 bool temp2 = false ;
17680 PyObject * obj0 = 0 ;
17681 PyObject * obj1 = 0 ;
17682 PyObject * obj2 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self",(char *) "key",(char *) "value", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
17688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17689 if (SWIG_arg_fail(1)) SWIG_fail;
17690 {
17691 arg2 = wxString_in_helper(obj1);
17692 if (arg2 == NULL) SWIG_fail;
17693 temp2 = true;
17694 }
17695 {
17696 arg3 = (long)(SWIG_As_long(obj2));
17697 if (SWIG_arg_fail(3)) SWIG_fail;
17698 }
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 {
17707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17708 }
17709 {
17710 if (temp2)
17711 delete arg2;
17712 }
17713 return resultobj;
17714 fail:
17715 {
17716 if (temp2)
17717 delete arg2;
17718 }
17719 return NULL;
17720 }
17721
17722
17723 static PyObject *_wrap_ConfigBase_WriteFloat(PyObject *, PyObject *args, PyObject *kwargs) {
17724 PyObject *resultobj;
17725 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17726 wxString *arg2 = 0 ;
17727 double arg3 ;
17728 bool result;
17729 bool temp2 = false ;
17730 PyObject * obj0 = 0 ;
17731 PyObject * obj1 = 0 ;
17732 PyObject * obj2 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self",(char *) "key",(char *) "value", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteFloat",kwnames,&obj0,&obj1,&obj2)) goto fail;
17738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail;
17740 {
17741 arg2 = wxString_in_helper(obj1);
17742 if (arg2 == NULL) SWIG_fail;
17743 temp2 = true;
17744 }
17745 {
17746 arg3 = (double)(SWIG_As_double(obj2));
17747 if (SWIG_arg_fail(3)) SWIG_fail;
17748 }
17749 {
17750 PyThreadState* __tstate = wxPyBeginAllowThreads();
17751 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17752
17753 wxPyEndAllowThreads(__tstate);
17754 if (PyErr_Occurred()) SWIG_fail;
17755 }
17756 {
17757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17758 }
17759 {
17760 if (temp2)
17761 delete arg2;
17762 }
17763 return resultobj;
17764 fail:
17765 {
17766 if (temp2)
17767 delete arg2;
17768 }
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_ConfigBase_WriteBool(PyObject *, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17776 wxString *arg2 = 0 ;
17777 bool arg3 ;
17778 bool result;
17779 bool temp2 = false ;
17780 PyObject * obj0 = 0 ;
17781 PyObject * obj1 = 0 ;
17782 PyObject * obj2 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self",(char *) "key",(char *) "value", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_WriteBool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17789 if (SWIG_arg_fail(1)) SWIG_fail;
17790 {
17791 arg2 = wxString_in_helper(obj1);
17792 if (arg2 == NULL) SWIG_fail;
17793 temp2 = true;
17794 }
17795 {
17796 arg3 = (bool)(SWIG_As_bool(obj2));
17797 if (SWIG_arg_fail(3)) SWIG_fail;
17798 }
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (bool)(arg1)->Write((wxString const &)*arg2,arg3);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 {
17807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17808 }
17809 {
17810 if (temp2)
17811 delete arg2;
17812 }
17813 return resultobj;
17814 fail:
17815 {
17816 if (temp2)
17817 delete arg2;
17818 }
17819 return NULL;
17820 }
17821
17822
17823 static PyObject *_wrap_ConfigBase_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
17824 PyObject *resultobj;
17825 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17826 bool arg2 = (bool) false ;
17827 bool result;
17828 PyObject * obj0 = 0 ;
17829 PyObject * obj1 = 0 ;
17830 char *kwnames[] = {
17831 (char *) "self",(char *) "currentOnly", NULL
17832 };
17833
17834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_Flush",kwnames,&obj0,&obj1)) goto fail;
17835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17836 if (SWIG_arg_fail(1)) SWIG_fail;
17837 if (obj1) {
17838 {
17839 arg2 = (bool)(SWIG_As_bool(obj1));
17840 if (SWIG_arg_fail(2)) SWIG_fail;
17841 }
17842 }
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = (bool)(arg1)->Flush(arg2);
17846
17847 wxPyEndAllowThreads(__tstate);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 }
17850 {
17851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17852 }
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 static PyObject *_wrap_ConfigBase_RenameEntry(PyObject *, PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj;
17861 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17862 wxString *arg2 = 0 ;
17863 wxString *arg3 = 0 ;
17864 bool result;
17865 bool temp2 = false ;
17866 bool temp3 = false ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 PyObject * obj2 = 0 ;
17870 char *kwnames[] = {
17871 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
17875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17876 if (SWIG_arg_fail(1)) SWIG_fail;
17877 {
17878 arg2 = wxString_in_helper(obj1);
17879 if (arg2 == NULL) SWIG_fail;
17880 temp2 = true;
17881 }
17882 {
17883 arg3 = wxString_in_helper(obj2);
17884 if (arg3 == NULL) SWIG_fail;
17885 temp3 = true;
17886 }
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (bool)(arg1)->RenameEntry((wxString const &)*arg2,(wxString const &)*arg3);
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 {
17895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17896 }
17897 {
17898 if (temp2)
17899 delete arg2;
17900 }
17901 {
17902 if (temp3)
17903 delete arg3;
17904 }
17905 return resultobj;
17906 fail:
17907 {
17908 if (temp2)
17909 delete arg2;
17910 }
17911 {
17912 if (temp3)
17913 delete arg3;
17914 }
17915 return NULL;
17916 }
17917
17918
17919 static PyObject *_wrap_ConfigBase_RenameGroup(PyObject *, PyObject *args, PyObject *kwargs) {
17920 PyObject *resultobj;
17921 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17922 wxString *arg2 = 0 ;
17923 wxString *arg3 = 0 ;
17924 bool result;
17925 bool temp2 = false ;
17926 bool temp3 = false ;
17927 PyObject * obj0 = 0 ;
17928 PyObject * obj1 = 0 ;
17929 PyObject * obj2 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self",(char *) "oldName",(char *) "newName", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ConfigBase_RenameGroup",kwnames,&obj0,&obj1,&obj2)) goto fail;
17935 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17936 if (SWIG_arg_fail(1)) SWIG_fail;
17937 {
17938 arg2 = wxString_in_helper(obj1);
17939 if (arg2 == NULL) SWIG_fail;
17940 temp2 = true;
17941 }
17942 {
17943 arg3 = wxString_in_helper(obj2);
17944 if (arg3 == NULL) SWIG_fail;
17945 temp3 = true;
17946 }
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 result = (bool)(arg1)->RenameGroup((wxString const &)*arg2,(wxString const &)*arg3);
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 {
17955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17956 }
17957 {
17958 if (temp2)
17959 delete arg2;
17960 }
17961 {
17962 if (temp3)
17963 delete arg3;
17964 }
17965 return resultobj;
17966 fail:
17967 {
17968 if (temp2)
17969 delete arg2;
17970 }
17971 {
17972 if (temp3)
17973 delete arg3;
17974 }
17975 return NULL;
17976 }
17977
17978
17979 static PyObject *_wrap_ConfigBase_DeleteEntry(PyObject *, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
17982 wxString *arg2 = 0 ;
17983 bool arg3 = (bool) true ;
17984 bool result;
17985 bool temp2 = false ;
17986 PyObject * obj0 = 0 ;
17987 PyObject * obj1 = 0 ;
17988 PyObject * obj2 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
17994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
17995 if (SWIG_arg_fail(1)) SWIG_fail;
17996 {
17997 arg2 = wxString_in_helper(obj1);
17998 if (arg2 == NULL) SWIG_fail;
17999 temp2 = true;
18000 }
18001 if (obj2) {
18002 {
18003 arg3 = (bool)(SWIG_As_bool(obj2));
18004 if (SWIG_arg_fail(3)) SWIG_fail;
18005 }
18006 }
18007 {
18008 PyThreadState* __tstate = wxPyBeginAllowThreads();
18009 result = (bool)(arg1)->DeleteEntry((wxString const &)*arg2,arg3);
18010
18011 wxPyEndAllowThreads(__tstate);
18012 if (PyErr_Occurred()) SWIG_fail;
18013 }
18014 {
18015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18016 }
18017 {
18018 if (temp2)
18019 delete arg2;
18020 }
18021 return resultobj;
18022 fail:
18023 {
18024 if (temp2)
18025 delete arg2;
18026 }
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_ConfigBase_DeleteGroup(PyObject *, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18034 wxString *arg2 = 0 ;
18035 bool result;
18036 bool temp2 = false ;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self",(char *) "key", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_DeleteGroup",kwnames,&obj0,&obj1)) goto fail;
18044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail;
18046 {
18047 arg2 = wxString_in_helper(obj1);
18048 if (arg2 == NULL) SWIG_fail;
18049 temp2 = true;
18050 }
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 result = (bool)(arg1)->DeleteGroup((wxString const &)*arg2);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 {
18059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18060 }
18061 {
18062 if (temp2)
18063 delete arg2;
18064 }
18065 return resultobj;
18066 fail:
18067 {
18068 if (temp2)
18069 delete arg2;
18070 }
18071 return NULL;
18072 }
18073
18074
18075 static PyObject *_wrap_ConfigBase_DeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
18076 PyObject *resultobj;
18077 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18078 bool result;
18079 PyObject * obj0 = 0 ;
18080 char *kwnames[] = {
18081 (char *) "self", NULL
18082 };
18083
18084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_DeleteAll",kwnames,&obj0)) goto fail;
18085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18086 if (SWIG_arg_fail(1)) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (bool)(arg1)->DeleteAll();
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 {
18095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18096 }
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_ConfigBase_SetExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18106 bool arg2 = (bool) true ;
18107 PyObject * obj0 = 0 ;
18108 PyObject * obj1 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "doIt", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
18114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18115 if (SWIG_arg_fail(1)) SWIG_fail;
18116 if (obj1) {
18117 {
18118 arg2 = (bool)(SWIG_As_bool(obj1));
18119 if (SWIG_arg_fail(2)) SWIG_fail;
18120 }
18121 }
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 (arg1)->SetExpandEnvVars(arg2);
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 Py_INCREF(Py_None); resultobj = Py_None;
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 static PyObject *_wrap_ConfigBase_IsExpandingEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18139 bool result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames,&obj0)) goto fail;
18146 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18147 if (SWIG_arg_fail(1)) SWIG_fail;
18148 {
18149 PyThreadState* __tstate = wxPyBeginAllowThreads();
18150 result = (bool)((wxConfigBase const *)arg1)->IsExpandingEnvVars();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 {
18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ConfigBase_SetRecordDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18167 bool arg2 = (bool) true ;
18168 PyObject * obj0 = 0 ;
18169 PyObject * obj1 = 0 ;
18170 char *kwnames[] = {
18171 (char *) "self",(char *) "doIt", NULL
18172 };
18173
18174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames,&obj0,&obj1)) goto fail;
18175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18176 if (SWIG_arg_fail(1)) SWIG_fail;
18177 if (obj1) {
18178 {
18179 arg2 = (bool)(SWIG_As_bool(obj1));
18180 if (SWIG_arg_fail(2)) SWIG_fail;
18181 }
18182 }
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 (arg1)->SetRecordDefaults(arg2);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 Py_INCREF(Py_None); resultobj = Py_None;
18191 return resultobj;
18192 fail:
18193 return NULL;
18194 }
18195
18196
18197 static PyObject *_wrap_ConfigBase_IsRecordingDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18200 bool result;
18201 PyObject * obj0 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames,&obj0)) goto fail;
18207 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18208 if (SWIG_arg_fail(1)) SWIG_fail;
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 result = (bool)((wxConfigBase const *)arg1)->IsRecordingDefaults();
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 {
18217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18218 }
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_ConfigBase_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18228 wxString *arg2 = 0 ;
18229 wxString result;
18230 bool temp2 = false ;
18231 PyObject * obj0 = 0 ;
18232 PyObject * obj1 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self",(char *) "str", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames,&obj0,&obj1)) goto fail;
18238 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail;
18240 {
18241 arg2 = wxString_in_helper(obj1);
18242 if (arg2 == NULL) SWIG_fail;
18243 temp2 = true;
18244 }
18245 {
18246 PyThreadState* __tstate = wxPyBeginAllowThreads();
18247 result = ((wxConfigBase const *)arg1)->ExpandEnvVars((wxString const &)*arg2);
18248
18249 wxPyEndAllowThreads(__tstate);
18250 if (PyErr_Occurred()) SWIG_fail;
18251 }
18252 {
18253 #if wxUSE_UNICODE
18254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18255 #else
18256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18257 #endif
18258 }
18259 {
18260 if (temp2)
18261 delete arg2;
18262 }
18263 return resultobj;
18264 fail:
18265 {
18266 if (temp2)
18267 delete arg2;
18268 }
18269 return NULL;
18270 }
18271
18272
18273 static PyObject *_wrap_ConfigBase_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18276 wxString result;
18277 PyObject * obj0 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetAppName",kwnames,&obj0)) goto fail;
18283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18284 if (SWIG_arg_fail(1)) SWIG_fail;
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 result = ((wxConfigBase const *)arg1)->GetAppName();
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 {
18293 #if wxUSE_UNICODE
18294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18295 #else
18296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18297 #endif
18298 }
18299 return resultobj;
18300 fail:
18301 return NULL;
18302 }
18303
18304
18305 static PyObject *_wrap_ConfigBase_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
18306 PyObject *resultobj;
18307 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18308 wxString result;
18309 PyObject * obj0 = 0 ;
18310 char *kwnames[] = {
18311 (char *) "self", NULL
18312 };
18313
18314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetVendorName",kwnames,&obj0)) goto fail;
18315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18316 if (SWIG_arg_fail(1)) SWIG_fail;
18317 {
18318 PyThreadState* __tstate = wxPyBeginAllowThreads();
18319 result = ((wxConfigBase const *)arg1)->GetVendorName();
18320
18321 wxPyEndAllowThreads(__tstate);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 }
18324 {
18325 #if wxUSE_UNICODE
18326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18327 #else
18328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18329 #endif
18330 }
18331 return resultobj;
18332 fail:
18333 return NULL;
18334 }
18335
18336
18337 static PyObject *_wrap_ConfigBase_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18340 wxString *arg2 = 0 ;
18341 bool temp2 = false ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "appName", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetAppName",kwnames,&obj0,&obj1)) goto fail;
18349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18350 if (SWIG_arg_fail(1)) SWIG_fail;
18351 {
18352 arg2 = wxString_in_helper(obj1);
18353 if (arg2 == NULL) SWIG_fail;
18354 temp2 = true;
18355 }
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 (arg1)->SetAppName((wxString const &)*arg2);
18359
18360 wxPyEndAllowThreads(__tstate);
18361 if (PyErr_Occurred()) SWIG_fail;
18362 }
18363 Py_INCREF(Py_None); resultobj = Py_None;
18364 {
18365 if (temp2)
18366 delete arg2;
18367 }
18368 return resultobj;
18369 fail:
18370 {
18371 if (temp2)
18372 delete arg2;
18373 }
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_ConfigBase_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18381 wxString *arg2 = 0 ;
18382 bool temp2 = false ;
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self",(char *) "vendorName", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
18390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail;
18392 {
18393 arg2 = wxString_in_helper(obj1);
18394 if (arg2 == NULL) SWIG_fail;
18395 temp2 = true;
18396 }
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 (arg1)->SetVendorName((wxString const &)*arg2);
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 Py_INCREF(Py_None); resultobj = Py_None;
18405 {
18406 if (temp2)
18407 delete arg2;
18408 }
18409 return resultobj;
18410 fail:
18411 {
18412 if (temp2)
18413 delete arg2;
18414 }
18415 return NULL;
18416 }
18417
18418
18419 static PyObject *_wrap_ConfigBase_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18420 PyObject *resultobj;
18421 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18422 long arg2 ;
18423 PyObject * obj0 = 0 ;
18424 PyObject * obj1 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self",(char *) "style", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ConfigBase_SetStyle",kwnames,&obj0,&obj1)) goto fail;
18430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail;
18432 {
18433 arg2 = (long)(SWIG_As_long(obj1));
18434 if (SWIG_arg_fail(2)) SWIG_fail;
18435 }
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 (arg1)->SetStyle(arg2);
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 Py_INCREF(Py_None); resultobj = Py_None;
18444 return resultobj;
18445 fail:
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_ConfigBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18453 long result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigBase_GetStyle",kwnames,&obj0)) goto fail;
18460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (long)((wxConfigBase const *)arg1)->GetStyle();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 {
18470 resultobj = SWIG_From_long((long)(result));
18471 }
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject * ConfigBase_swigregister(PyObject *, PyObject *args) {
18479 PyObject *obj;
18480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18481 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase, obj);
18482 Py_INCREF(obj);
18483 return Py_BuildValue((char *)"");
18484 }
18485 static PyObject *_wrap_new_Config(PyObject *, PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj;
18487 wxString const &arg1_defvalue = wxPyEmptyString ;
18488 wxString *arg1 = (wxString *) &arg1_defvalue ;
18489 wxString const &arg2_defvalue = wxPyEmptyString ;
18490 wxString *arg2 = (wxString *) &arg2_defvalue ;
18491 wxString const &arg3_defvalue = wxPyEmptyString ;
18492 wxString *arg3 = (wxString *) &arg3_defvalue ;
18493 wxString const &arg4_defvalue = wxPyEmptyString ;
18494 wxString *arg4 = (wxString *) &arg4_defvalue ;
18495 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18496 wxConfig *result;
18497 bool temp1 = false ;
18498 bool temp2 = false ;
18499 bool temp3 = false ;
18500 bool temp4 = false ;
18501 PyObject * obj0 = 0 ;
18502 PyObject * obj1 = 0 ;
18503 PyObject * obj2 = 0 ;
18504 PyObject * obj3 = 0 ;
18505 PyObject * obj4 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_Config",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18511 if (obj0) {
18512 {
18513 arg1 = wxString_in_helper(obj0);
18514 if (arg1 == NULL) SWIG_fail;
18515 temp1 = true;
18516 }
18517 }
18518 if (obj1) {
18519 {
18520 arg2 = wxString_in_helper(obj1);
18521 if (arg2 == NULL) SWIG_fail;
18522 temp2 = true;
18523 }
18524 }
18525 if (obj2) {
18526 {
18527 arg3 = wxString_in_helper(obj2);
18528 if (arg3 == NULL) SWIG_fail;
18529 temp3 = true;
18530 }
18531 }
18532 if (obj3) {
18533 {
18534 arg4 = wxString_in_helper(obj3);
18535 if (arg4 == NULL) SWIG_fail;
18536 temp4 = true;
18537 }
18538 }
18539 if (obj4) {
18540 {
18541 arg5 = (long)(SWIG_As_long(obj4));
18542 if (SWIG_arg_fail(5)) SWIG_fail;
18543 }
18544 }
18545 {
18546 PyThreadState* __tstate = wxPyBeginAllowThreads();
18547 result = (wxConfig *)new wxConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18548
18549 wxPyEndAllowThreads(__tstate);
18550 if (PyErr_Occurred()) SWIG_fail;
18551 }
18552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfig, 1);
18553 {
18554 if (temp1)
18555 delete arg1;
18556 }
18557 {
18558 if (temp2)
18559 delete arg2;
18560 }
18561 {
18562 if (temp3)
18563 delete arg3;
18564 }
18565 {
18566 if (temp4)
18567 delete arg4;
18568 }
18569 return resultobj;
18570 fail:
18571 {
18572 if (temp1)
18573 delete arg1;
18574 }
18575 {
18576 if (temp2)
18577 delete arg2;
18578 }
18579 {
18580 if (temp3)
18581 delete arg3;
18582 }
18583 {
18584 if (temp4)
18585 delete arg4;
18586 }
18587 return NULL;
18588 }
18589
18590
18591 static PyObject *_wrap_delete_Config(PyObject *, PyObject *args, PyObject *kwargs) {
18592 PyObject *resultobj;
18593 wxConfig *arg1 = (wxConfig *) 0 ;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Config",kwnames,&obj0)) goto fail;
18600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfig, SWIG_POINTER_EXCEPTION | 0);
18601 if (SWIG_arg_fail(1)) SWIG_fail;
18602 {
18603 PyThreadState* __tstate = wxPyBeginAllowThreads();
18604 delete arg1;
18605
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 Py_INCREF(Py_None); resultobj = Py_None;
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject * Config_swigregister(PyObject *, PyObject *args) {
18617 PyObject *obj;
18618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18619 SWIG_TypeClientData(SWIGTYPE_p_wxConfig, obj);
18620 Py_INCREF(obj);
18621 return Py_BuildValue((char *)"");
18622 }
18623 static PyObject *_wrap_new_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxString const &arg1_defvalue = wxPyEmptyString ;
18626 wxString *arg1 = (wxString *) &arg1_defvalue ;
18627 wxString const &arg2_defvalue = wxPyEmptyString ;
18628 wxString *arg2 = (wxString *) &arg2_defvalue ;
18629 wxString const &arg3_defvalue = wxPyEmptyString ;
18630 wxString *arg3 = (wxString *) &arg3_defvalue ;
18631 wxString const &arg4_defvalue = wxPyEmptyString ;
18632 wxString *arg4 = (wxString *) &arg4_defvalue ;
18633 long arg5 = (long) wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE ;
18634 wxFileConfig *result;
18635 bool temp1 = false ;
18636 bool temp2 = false ;
18637 bool temp3 = false ;
18638 bool temp4 = false ;
18639 PyObject * obj0 = 0 ;
18640 PyObject * obj1 = 0 ;
18641 PyObject * obj2 = 0 ;
18642 PyObject * obj3 = 0 ;
18643 PyObject * obj4 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_FileConfig",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
18649 if (obj0) {
18650 {
18651 arg1 = wxString_in_helper(obj0);
18652 if (arg1 == NULL) SWIG_fail;
18653 temp1 = true;
18654 }
18655 }
18656 if (obj1) {
18657 {
18658 arg2 = wxString_in_helper(obj1);
18659 if (arg2 == NULL) SWIG_fail;
18660 temp2 = true;
18661 }
18662 }
18663 if (obj2) {
18664 {
18665 arg3 = wxString_in_helper(obj2);
18666 if (arg3 == NULL) SWIG_fail;
18667 temp3 = true;
18668 }
18669 }
18670 if (obj3) {
18671 {
18672 arg4 = wxString_in_helper(obj3);
18673 if (arg4 == NULL) SWIG_fail;
18674 temp4 = true;
18675 }
18676 }
18677 if (obj4) {
18678 {
18679 arg5 = (long)(SWIG_As_long(obj4));
18680 if (SWIG_arg_fail(5)) SWIG_fail;
18681 }
18682 }
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 result = (wxFileConfig *)new wxFileConfig((wxString const &)*arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileConfig, 1);
18691 {
18692 if (temp1)
18693 delete arg1;
18694 }
18695 {
18696 if (temp2)
18697 delete arg2;
18698 }
18699 {
18700 if (temp3)
18701 delete arg3;
18702 }
18703 {
18704 if (temp4)
18705 delete arg4;
18706 }
18707 return resultobj;
18708 fail:
18709 {
18710 if (temp1)
18711 delete arg1;
18712 }
18713 {
18714 if (temp2)
18715 delete arg2;
18716 }
18717 {
18718 if (temp3)
18719 delete arg3;
18720 }
18721 {
18722 if (temp4)
18723 delete arg4;
18724 }
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_delete_FileConfig(PyObject *, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxFileConfig *arg1 = (wxFileConfig *) 0 ;
18732 PyObject * obj0 = 0 ;
18733 char *kwnames[] = {
18734 (char *) "self", NULL
18735 };
18736
18737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileConfig",kwnames,&obj0)) goto fail;
18738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileConfig, SWIG_POINTER_EXCEPTION | 0);
18739 if (SWIG_arg_fail(1)) SWIG_fail;
18740 {
18741 PyThreadState* __tstate = wxPyBeginAllowThreads();
18742 delete arg1;
18743
18744 wxPyEndAllowThreads(__tstate);
18745 if (PyErr_Occurred()) SWIG_fail;
18746 }
18747 Py_INCREF(Py_None); resultobj = Py_None;
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 static PyObject * FileConfig_swigregister(PyObject *, PyObject *args) {
18755 PyObject *obj;
18756 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18757 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig, obj);
18758 Py_INCREF(obj);
18759 return Py_BuildValue((char *)"");
18760 }
18761 static PyObject *_wrap_new_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxConfigBase *arg1 = (wxConfigBase *) 0 ;
18764 wxString *arg2 = 0 ;
18765 wxConfigPathChanger *result;
18766 bool temp2 = false ;
18767 PyObject * obj0 = 0 ;
18768 PyObject * obj1 = 0 ;
18769 char *kwnames[] = {
18770 (char *) "config",(char *) "entry", NULL
18771 };
18772
18773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_ConfigPathChanger",kwnames,&obj0,&obj1)) goto fail;
18774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigBase, SWIG_POINTER_EXCEPTION | 0);
18775 if (SWIG_arg_fail(1)) SWIG_fail;
18776 {
18777 arg2 = wxString_in_helper(obj1);
18778 if (arg2 == NULL) SWIG_fail;
18779 temp2 = true;
18780 }
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (wxConfigPathChanger *)new wxConfigPathChanger((wxConfigBase const *)arg1,(wxString const &)*arg2);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxConfigPathChanger, 1);
18789 {
18790 if (temp2)
18791 delete arg2;
18792 }
18793 return resultobj;
18794 fail:
18795 {
18796 if (temp2)
18797 delete arg2;
18798 }
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_delete_ConfigPathChanger(PyObject *, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ConfigPathChanger",kwnames,&obj0)) goto fail;
18812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 delete arg1;
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_ConfigPathChanger_Name(PyObject *, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxConfigPathChanger *arg1 = (wxConfigPathChanger *) 0 ;
18831 wxString *result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ConfigPathChanger_Name",kwnames,&obj0)) goto fail;
18838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxConfigPathChanger, SWIG_POINTER_EXCEPTION | 0);
18839 if (SWIG_arg_fail(1)) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 {
18843 wxString const &_result_ref = ((wxConfigPathChanger const *)arg1)->Name();
18844 result = (wxString *) &_result_ref;
18845 }
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 {
18851 #if wxUSE_UNICODE
18852 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18853 #else
18854 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18855 #endif
18856 }
18857 return resultobj;
18858 fail:
18859 return NULL;
18860 }
18861
18862
18863 static PyObject * ConfigPathChanger_swigregister(PyObject *, PyObject *args) {
18864 PyObject *obj;
18865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18866 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger, obj);
18867 Py_INCREF(obj);
18868 return Py_BuildValue((char *)"");
18869 }
18870 static PyObject *_wrap_ExpandEnvVars(PyObject *, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxString *arg1 = 0 ;
18873 wxString result;
18874 bool temp1 = false ;
18875 PyObject * obj0 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "sz", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ExpandEnvVars",kwnames,&obj0)) goto fail;
18881 {
18882 arg1 = wxString_in_helper(obj0);
18883 if (arg1 == NULL) SWIG_fail;
18884 temp1 = true;
18885 }
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 result = wxExpandEnvVars((wxString const &)*arg1);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 {
18894 #if wxUSE_UNICODE
18895 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18896 #else
18897 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18898 #endif
18899 }
18900 {
18901 if (temp1)
18902 delete arg1;
18903 }
18904 return resultobj;
18905 fail:
18906 {
18907 if (temp1)
18908 delete arg1;
18909 }
18910 return NULL;
18911 }
18912
18913
18914 static int _wrap_DefaultDateTimeFormat_set(PyObject *) {
18915 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTimeFormat is read-only.");
18916 return 1;
18917 }
18918
18919
18920 static PyObject *_wrap_DefaultDateTimeFormat_get(void) {
18921 PyObject *pyobj;
18922
18923 {
18924 #if wxUSE_UNICODE
18925 pyobj = PyUnicode_FromWideChar((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
18926 #else
18927 pyobj = PyString_FromStringAndSize((&wxPyDefaultDateTimeFormat)->c_str(), (&wxPyDefaultDateTimeFormat)->Len());
18928 #endif
18929 }
18930 return pyobj;
18931 }
18932
18933
18934 static int _wrap_DefaultTimeSpanFormat_set(PyObject *) {
18935 PyErr_SetString(PyExc_TypeError,"Variable DefaultTimeSpanFormat is read-only.");
18936 return 1;
18937 }
18938
18939
18940 static PyObject *_wrap_DefaultTimeSpanFormat_get(void) {
18941 PyObject *pyobj;
18942
18943 {
18944 #if wxUSE_UNICODE
18945 pyobj = PyUnicode_FromWideChar((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
18946 #else
18947 pyobj = PyString_FromStringAndSize((&wxPyDefaultTimeSpanFormat)->c_str(), (&wxPyDefaultTimeSpanFormat)->Len());
18948 #endif
18949 }
18950 return pyobj;
18951 }
18952
18953
18954 static PyObject *_wrap_DateTime_SetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxDateTime::Country arg1 ;
18957 PyObject * obj0 = 0 ;
18958 char *kwnames[] = {
18959 (char *) "country", NULL
18960 };
18961
18962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetCountry",kwnames,&obj0)) goto fail;
18963 {
18964 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
18965 if (SWIG_arg_fail(1)) SWIG_fail;
18966 }
18967 {
18968 PyThreadState* __tstate = wxPyBeginAllowThreads();
18969 wxDateTime::SetCountry((wxDateTime::Country )arg1);
18970
18971 wxPyEndAllowThreads(__tstate);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 Py_INCREF(Py_None); resultobj = Py_None;
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_DateTime_GetCountry(PyObject *, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxDateTime::Country result;
18984 char *kwnames[] = {
18985 NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetCountry",kwnames)) goto fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = (wxDateTime::Country)wxDateTime::GetCountry();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 resultobj = SWIG_From_int((result));
18997 return resultobj;
18998 fail:
18999 return NULL;
19000 }
19001
19002
19003 static PyObject *_wrap_DateTime_IsWestEuropeanCountry(PyObject *, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxDateTime::Country arg1 = (wxDateTime::Country) wxDateTime::Country_Default ;
19006 bool result;
19007 PyObject * obj0 = 0 ;
19008 char *kwnames[] = {
19009 (char *) "country", NULL
19010 };
19011
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames,&obj0)) goto fail;
19013 if (obj0) {
19014 {
19015 arg1 = (wxDateTime::Country)(SWIG_As_int(obj0));
19016 if (SWIG_arg_fail(1)) SWIG_fail;
19017 }
19018 }
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country )arg1);
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 {
19027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19028 }
19029 return resultobj;
19030 fail:
19031 return NULL;
19032 }
19033
19034
19035 static PyObject *_wrap_DateTime_GetCurrentYear(PyObject *, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj;
19037 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19038 int result;
19039 PyObject * obj0 = 0 ;
19040 char *kwnames[] = {
19041 (char *) "cal", NULL
19042 };
19043
19044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentYear",kwnames,&obj0)) goto fail;
19045 if (obj0) {
19046 {
19047 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19048 if (SWIG_arg_fail(1)) SWIG_fail;
19049 }
19050 }
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar )arg1);
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 {
19059 resultobj = SWIG_From_int((int)(result));
19060 }
19061 return resultobj;
19062 fail:
19063 return NULL;
19064 }
19065
19066
19067 static PyObject *_wrap_DateTime_ConvertYearToBC(PyObject *, PyObject *args, PyObject *kwargs) {
19068 PyObject *resultobj;
19069 int arg1 ;
19070 int result;
19071 PyObject * obj0 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "year", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ConvertYearToBC",kwnames,&obj0)) goto fail;
19077 {
19078 arg1 = (int)(SWIG_As_int(obj0));
19079 if (SWIG_arg_fail(1)) SWIG_fail;
19080 }
19081 {
19082 PyThreadState* __tstate = wxPyBeginAllowThreads();
19083 result = (int)wxDateTime::ConvertYearToBC(arg1);
19084
19085 wxPyEndAllowThreads(__tstate);
19086 if (PyErr_Occurred()) SWIG_fail;
19087 }
19088 {
19089 resultobj = SWIG_From_int((int)(result));
19090 }
19091 return resultobj;
19092 fail:
19093 return NULL;
19094 }
19095
19096
19097 static PyObject *_wrap_DateTime_GetCurrentMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj;
19099 wxDateTime::Calendar arg1 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19100 wxDateTime::Month result;
19101 PyObject * obj0 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "cal", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCurrentMonth",kwnames,&obj0)) goto fail;
19107 if (obj0) {
19108 {
19109 arg1 = (wxDateTime::Calendar)(SWIG_As_int(obj0));
19110 if (SWIG_arg_fail(1)) SWIG_fail;
19111 }
19112 }
19113 {
19114 PyThreadState* __tstate = wxPyBeginAllowThreads();
19115 result = (wxDateTime::Month)wxDateTime::GetCurrentMonth((wxDateTime::Calendar )arg1);
19116
19117 wxPyEndAllowThreads(__tstate);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 }
19120 resultobj = SWIG_From_int((result));
19121 return resultobj;
19122 fail:
19123 return NULL;
19124 }
19125
19126
19127 static PyObject *_wrap_DateTime_IsLeapYear(PyObject *, PyObject *args, PyObject *kwargs) {
19128 PyObject *resultobj;
19129 int arg1 = (int) wxDateTime::Inv_Year ;
19130 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19131 bool result;
19132 PyObject * obj0 = 0 ;
19133 PyObject * obj1 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "year",(char *) "cal", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsLeapYear",kwnames,&obj0,&obj1)) goto fail;
19139 if (obj0) {
19140 {
19141 arg1 = (int)(SWIG_As_int(obj0));
19142 if (SWIG_arg_fail(1)) SWIG_fail;
19143 }
19144 }
19145 if (obj1) {
19146 {
19147 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19148 if (SWIG_arg_fail(2)) SWIG_fail;
19149 }
19150 }
19151 {
19152 PyThreadState* __tstate = wxPyBeginAllowThreads();
19153 result = (bool)wxDateTime::IsLeapYear(arg1,(wxDateTime::Calendar )arg2);
19154
19155 wxPyEndAllowThreads(__tstate);
19156 if (PyErr_Occurred()) SWIG_fail;
19157 }
19158 {
19159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19160 }
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_DateTime_GetCentury(PyObject *, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 int arg1 = (int) wxDateTime::Inv_Year ;
19170 int result;
19171 PyObject * obj0 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "year", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:DateTime_GetCentury",kwnames,&obj0)) goto fail;
19177 if (obj0) {
19178 {
19179 arg1 = (int)(SWIG_As_int(obj0));
19180 if (SWIG_arg_fail(1)) SWIG_fail;
19181 }
19182 }
19183 {
19184 PyThreadState* __tstate = wxPyBeginAllowThreads();
19185 result = (int)wxDateTime::GetCentury(arg1);
19186
19187 wxPyEndAllowThreads(__tstate);
19188 if (PyErr_Occurred()) SWIG_fail;
19189 }
19190 {
19191 resultobj = SWIG_From_int((int)(result));
19192 }
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 static PyObject *_wrap_DateTime_GetNumberOfDaysinYear(PyObject *, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 int arg1 ;
19202 wxDateTime::Calendar arg2 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19203 int result;
19204 PyObject * obj0 = 0 ;
19205 PyObject * obj1 = 0 ;
19206 char *kwnames[] = {
19207 (char *) "year",(char *) "cal", NULL
19208 };
19209
19210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames,&obj0,&obj1)) goto fail;
19211 {
19212 arg1 = (int)(SWIG_As_int(obj0));
19213 if (SWIG_arg_fail(1)) SWIG_fail;
19214 }
19215 if (obj1) {
19216 {
19217 arg2 = (wxDateTime::Calendar)(SWIG_As_int(obj1));
19218 if (SWIG_arg_fail(2)) SWIG_fail;
19219 }
19220 }
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (int)wxDateTime::GetNumberOfDays(arg1,(wxDateTime::Calendar )arg2);
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 resultobj = SWIG_From_int((int)(result));
19230 }
19231 return resultobj;
19232 fail:
19233 return NULL;
19234 }
19235
19236
19237 static PyObject *_wrap_DateTime_GetNumberOfDaysInMonth(PyObject *, PyObject *args, PyObject *kwargs) {
19238 PyObject *resultobj;
19239 wxDateTime::Month arg1 ;
19240 int arg2 = (int) wxDateTime::Inv_Year ;
19241 wxDateTime::Calendar arg3 = (wxDateTime::Calendar) wxDateTime::Gregorian ;
19242 int result;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 PyObject * obj2 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "month",(char *) "year",(char *) "cal", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19251 {
19252 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19253 if (SWIG_arg_fail(1)) SWIG_fail;
19254 }
19255 if (obj1) {
19256 {
19257 arg2 = (int)(SWIG_As_int(obj1));
19258 if (SWIG_arg_fail(2)) SWIG_fail;
19259 }
19260 }
19261 if (obj2) {
19262 {
19263 arg3 = (wxDateTime::Calendar)(SWIG_As_int(obj2));
19264 if (SWIG_arg_fail(3)) SWIG_fail;
19265 }
19266 }
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 result = (int)wxDateTime::GetNumberOfDays((wxDateTime::Month )arg1,arg2,(wxDateTime::Calendar )arg3);
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 {
19275 resultobj = SWIG_From_int((int)(result));
19276 }
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_DateTime_GetMonthName(PyObject *, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxDateTime::Month arg1 ;
19286 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
19287 wxString result;
19288 PyObject * obj0 = 0 ;
19289 PyObject * obj1 = 0 ;
19290 char *kwnames[] = {
19291 (char *) "month",(char *) "flags", NULL
19292 };
19293
19294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonthName",kwnames,&obj0,&obj1)) goto fail;
19295 {
19296 arg1 = (wxDateTime::Month)(SWIG_As_int(obj0));
19297 if (SWIG_arg_fail(1)) SWIG_fail;
19298 }
19299 if (obj1) {
19300 {
19301 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19302 if (SWIG_arg_fail(2)) SWIG_fail;
19303 }
19304 }
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 result = wxDateTime::GetMonthName((wxDateTime::Month )arg1,(wxDateTime::NameFlags )arg2);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 {
19313 #if wxUSE_UNICODE
19314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19315 #else
19316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19317 #endif
19318 }
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_DateTime_GetWeekDayName(PyObject *, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxDateTime::WeekDay arg1 ;
19328 wxDateTime::NameFlags arg2 = (wxDateTime::NameFlags) wxDateTime::Name_Full ;
19329 wxString result;
19330 PyObject * obj0 = 0 ;
19331 PyObject * obj1 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "weekday",(char *) "flags", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDayName",kwnames,&obj0,&obj1)) goto fail;
19337 {
19338 arg1 = (wxDateTime::WeekDay)(SWIG_As_int(obj0));
19339 if (SWIG_arg_fail(1)) SWIG_fail;
19340 }
19341 if (obj1) {
19342 {
19343 arg2 = (wxDateTime::NameFlags)(SWIG_As_int(obj1));
19344 if (SWIG_arg_fail(2)) SWIG_fail;
19345 }
19346 }
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 result = wxDateTime::GetWeekDayName((wxDateTime::WeekDay )arg1,(wxDateTime::NameFlags )arg2);
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 {
19355 #if wxUSE_UNICODE
19356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19357 #else
19358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19359 #endif
19360 }
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 static PyObject *_wrap_DateTime_GetAmPmStrings(PyObject *, PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj;
19369 PyObject *result;
19370 char *kwnames[] = {
19371 NULL
19372 };
19373
19374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_GetAmPmStrings",kwnames)) goto fail;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (PyObject *)DateTime_GetAmPmStrings();
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 resultobj = result;
19383 return resultobj;
19384 fail:
19385 return NULL;
19386 }
19387
19388
19389 static PyObject *_wrap_DateTime_IsDSTApplicable(PyObject *, PyObject *args, PyObject *kwargs) {
19390 PyObject *resultobj;
19391 int arg1 = (int) wxDateTime::Inv_Year ;
19392 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
19393 bool result;
19394 PyObject * obj0 = 0 ;
19395 PyObject * obj1 = 0 ;
19396 char *kwnames[] = {
19397 (char *) "year",(char *) "country", NULL
19398 };
19399
19400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_IsDSTApplicable",kwnames,&obj0,&obj1)) goto fail;
19401 if (obj0) {
19402 {
19403 arg1 = (int)(SWIG_As_int(obj0));
19404 if (SWIG_arg_fail(1)) SWIG_fail;
19405 }
19406 }
19407 if (obj1) {
19408 {
19409 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19410 if (SWIG_arg_fail(2)) SWIG_fail;
19411 }
19412 }
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (bool)wxDateTime::IsDSTApplicable(arg1,(wxDateTime::Country )arg2);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 {
19421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19422 }
19423 return resultobj;
19424 fail:
19425 return NULL;
19426 }
19427
19428
19429 static PyObject *_wrap_DateTime_GetBeginDST(PyObject *, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 int arg1 = (int) wxDateTime::Inv_Year ;
19432 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
19433 wxDateTime result;
19434 PyObject * obj0 = 0 ;
19435 PyObject * obj1 = 0 ;
19436 char *kwnames[] = {
19437 (char *) "year",(char *) "country", NULL
19438 };
19439
19440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetBeginDST",kwnames,&obj0,&obj1)) goto fail;
19441 if (obj0) {
19442 {
19443 arg1 = (int)(SWIG_As_int(obj0));
19444 if (SWIG_arg_fail(1)) SWIG_fail;
19445 }
19446 }
19447 if (obj1) {
19448 {
19449 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19450 if (SWIG_arg_fail(2)) SWIG_fail;
19451 }
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = wxDateTime::GetBeginDST(arg1,(wxDateTime::Country )arg2);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 {
19461 wxDateTime * resultptr;
19462 resultptr = new wxDateTime((wxDateTime &)(result));
19463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19464 }
19465 return resultobj;
19466 fail:
19467 return NULL;
19468 }
19469
19470
19471 static PyObject *_wrap_DateTime_GetEndDST(PyObject *, PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj;
19473 int arg1 = (int) wxDateTime::Inv_Year ;
19474 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
19475 wxDateTime result;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "year",(char *) "country", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:DateTime_GetEndDST",kwnames,&obj0,&obj1)) goto fail;
19483 if (obj0) {
19484 {
19485 arg1 = (int)(SWIG_As_int(obj0));
19486 if (SWIG_arg_fail(1)) SWIG_fail;
19487 }
19488 }
19489 if (obj1) {
19490 {
19491 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
19492 if (SWIG_arg_fail(2)) SWIG_fail;
19493 }
19494 }
19495 {
19496 PyThreadState* __tstate = wxPyBeginAllowThreads();
19497 result = wxDateTime::GetEndDST(arg1,(wxDateTime::Country )arg2);
19498
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 {
19503 wxDateTime * resultptr;
19504 resultptr = new wxDateTime((wxDateTime &)(result));
19505 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19506 }
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_DateTime_Now(PyObject *, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxDateTime result;
19516 char *kwnames[] = {
19517 NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Now",kwnames)) goto fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = wxDateTime::Now();
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 {
19529 wxDateTime * resultptr;
19530 resultptr = new wxDateTime((wxDateTime &)(result));
19531 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19532 }
19533 return resultobj;
19534 fail:
19535 return NULL;
19536 }
19537
19538
19539 static PyObject *_wrap_DateTime_UNow(PyObject *, PyObject *args, PyObject *kwargs) {
19540 PyObject *resultobj;
19541 wxDateTime result;
19542 char *kwnames[] = {
19543 NULL
19544 };
19545
19546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_UNow",kwnames)) goto fail;
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 result = wxDateTime::UNow();
19550
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 {
19555 wxDateTime * resultptr;
19556 resultptr = new wxDateTime((wxDateTime &)(result));
19557 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19558 }
19559 return resultobj;
19560 fail:
19561 return NULL;
19562 }
19563
19564
19565 static PyObject *_wrap_DateTime_Today(PyObject *, PyObject *args, PyObject *kwargs) {
19566 PyObject *resultobj;
19567 wxDateTime result;
19568 char *kwnames[] = {
19569 NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateTime_Today",kwnames)) goto fail;
19573 {
19574 PyThreadState* __tstate = wxPyBeginAllowThreads();
19575 result = wxDateTime::Today();
19576
19577 wxPyEndAllowThreads(__tstate);
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 {
19581 wxDateTime * resultptr;
19582 resultptr = new wxDateTime((wxDateTime &)(result));
19583 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
19584 }
19585 return resultobj;
19586 fail:
19587 return NULL;
19588 }
19589
19590
19591 static PyObject *_wrap_new_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
19592 PyObject *resultobj;
19593 wxDateTime *result;
19594 char *kwnames[] = {
19595 NULL
19596 };
19597
19598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DateTime",kwnames)) goto fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (wxDateTime *)new wxDateTime();
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19607 return resultobj;
19608 fail:
19609 return NULL;
19610 }
19611
19612
19613 static PyObject *_wrap_new_DateTimeFromTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 time_t arg1 ;
19616 wxDateTime *result;
19617 PyObject * obj0 = 0 ;
19618 char *kwnames[] = {
19619 (char *) "timet", NULL
19620 };
19621
19622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromTimeT",kwnames,&obj0)) goto fail;
19623 {
19624 arg1 = (time_t)(SWIG_As_unsigned_SS_int(obj0));
19625 if (SWIG_arg_fail(1)) SWIG_fail;
19626 }
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (wxDateTime *)new wxDateTime(arg1);
19630
19631 wxPyEndAllowThreads(__tstate);
19632 if (PyErr_Occurred()) SWIG_fail;
19633 }
19634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19635 return resultobj;
19636 fail:
19637 return NULL;
19638 }
19639
19640
19641 static PyObject *_wrap_new_DateTimeFromJDN(PyObject *, PyObject *args, PyObject *kwargs) {
19642 PyObject *resultobj;
19643 double arg1 ;
19644 wxDateTime *result;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "jdn", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DateTimeFromJDN",kwnames,&obj0)) goto fail;
19651 {
19652 arg1 = (double)(SWIG_As_double(obj0));
19653 if (SWIG_arg_fail(1)) SWIG_fail;
19654 }
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 result = (wxDateTime *)new wxDateTime(arg1);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19663 return resultobj;
19664 fail:
19665 return NULL;
19666 }
19667
19668
19669 static PyObject *_wrap_new_DateTimeFromHMS(PyObject *, PyObject *args, PyObject *kwargs) {
19670 PyObject *resultobj;
19671 int arg1 ;
19672 int arg2 = (int) 0 ;
19673 int arg3 = (int) 0 ;
19674 int arg4 = (int) 0 ;
19675 wxDateTime *result;
19676 PyObject * obj0 = 0 ;
19677 PyObject * obj1 = 0 ;
19678 PyObject * obj2 = 0 ;
19679 PyObject * obj3 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DateTimeFromHMS",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19685 {
19686 arg1 = (int)(SWIG_As_int(obj0));
19687 if (SWIG_arg_fail(1)) SWIG_fail;
19688 }
19689 if (obj1) {
19690 {
19691 arg2 = (int)(SWIG_As_int(obj1));
19692 if (SWIG_arg_fail(2)) SWIG_fail;
19693 }
19694 }
19695 if (obj2) {
19696 {
19697 arg3 = (int)(SWIG_As_int(obj2));
19698 if (SWIG_arg_fail(3)) SWIG_fail;
19699 }
19700 }
19701 if (obj3) {
19702 {
19703 arg4 = (int)(SWIG_As_int(obj3));
19704 if (SWIG_arg_fail(4)) SWIG_fail;
19705 }
19706 }
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (wxDateTime *)new wxDateTime(arg1,arg2,arg3,arg4);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718 }
19719
19720
19721 static PyObject *_wrap_new_DateTimeFromDMY(PyObject *, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 int arg1 ;
19724 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
19725 int arg3 = (int) wxDateTime::Inv_Year ;
19726 int arg4 = (int) 0 ;
19727 int arg5 = (int) 0 ;
19728 int arg6 = (int) 0 ;
19729 int arg7 = (int) 0 ;
19730 wxDateTime *result;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj1 = 0 ;
19733 PyObject * obj2 = 0 ;
19734 PyObject * obj3 = 0 ;
19735 PyObject * obj4 = 0 ;
19736 PyObject * obj5 = 0 ;
19737 PyObject * obj6 = 0 ;
19738 char *kwnames[] = {
19739 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19740 };
19741
19742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19743 {
19744 arg1 = (int)(SWIG_As_int(obj0));
19745 if (SWIG_arg_fail(1)) SWIG_fail;
19746 }
19747 if (obj1) {
19748 {
19749 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
19750 if (SWIG_arg_fail(2)) SWIG_fail;
19751 }
19752 }
19753 if (obj2) {
19754 {
19755 arg3 = (int)(SWIG_As_int(obj2));
19756 if (SWIG_arg_fail(3)) SWIG_fail;
19757 }
19758 }
19759 if (obj3) {
19760 {
19761 arg4 = (int)(SWIG_As_int(obj3));
19762 if (SWIG_arg_fail(4)) SWIG_fail;
19763 }
19764 }
19765 if (obj4) {
19766 {
19767 arg5 = (int)(SWIG_As_int(obj4));
19768 if (SWIG_arg_fail(5)) SWIG_fail;
19769 }
19770 }
19771 if (obj5) {
19772 {
19773 arg6 = (int)(SWIG_As_int(obj5));
19774 if (SWIG_arg_fail(6)) SWIG_fail;
19775 }
19776 }
19777 if (obj6) {
19778 {
19779 arg7 = (int)(SWIG_As_int(obj6));
19780 if (SWIG_arg_fail(7)) SWIG_fail;
19781 }
19782 }
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (wxDateTime *)new wxDateTime(arg1,(wxDateTime::Month )arg2,arg3,arg4,arg5,arg6,arg7);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
19791 return resultobj;
19792 fail:
19793 return NULL;
19794 }
19795
19796
19797 static PyObject *_wrap_delete_DateTime(PyObject *, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxDateTime *arg1 = (wxDateTime *) 0 ;
19800 PyObject * obj0 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateTime",kwnames,&obj0)) goto fail;
19806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19807 if (SWIG_arg_fail(1)) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 delete arg1;
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 Py_INCREF(Py_None); resultobj = Py_None;
19816 return resultobj;
19817 fail:
19818 return NULL;
19819 }
19820
19821
19822 static PyObject *_wrap_DateTime_SetToCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxDateTime *arg1 = (wxDateTime *) 0 ;
19825 wxDateTime *result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_SetToCurrent",kwnames,&obj0)) goto fail;
19832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19833 if (SWIG_arg_fail(1)) SWIG_fail;
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 {
19837 wxDateTime &_result_ref = (arg1)->SetToCurrent();
19838 result = (wxDateTime *) &_result_ref;
19839 }
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19845 return resultobj;
19846 fail:
19847 return NULL;
19848 }
19849
19850
19851 static PyObject *_wrap_DateTime_SetTimeT(PyObject *, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj;
19853 wxDateTime *arg1 = (wxDateTime *) 0 ;
19854 time_t arg2 ;
19855 wxDateTime *result;
19856 PyObject * obj0 = 0 ;
19857 PyObject * obj1 = 0 ;
19858 char *kwnames[] = {
19859 (char *) "self",(char *) "timet", NULL
19860 };
19861
19862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetTimeT",kwnames,&obj0,&obj1)) goto fail;
19863 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail;
19865 {
19866 arg2 = (time_t)(SWIG_As_unsigned_SS_int(obj1));
19867 if (SWIG_arg_fail(2)) SWIG_fail;
19868 }
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 {
19872 wxDateTime &_result_ref = (arg1)->Set(arg2);
19873 result = (wxDateTime *) &_result_ref;
19874 }
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19880 return resultobj;
19881 fail:
19882 return NULL;
19883 }
19884
19885
19886 static PyObject *_wrap_DateTime_SetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
19887 PyObject *resultobj;
19888 wxDateTime *arg1 = (wxDateTime *) 0 ;
19889 double arg2 ;
19890 wxDateTime *result;
19891 PyObject * obj0 = 0 ;
19892 PyObject * obj1 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self",(char *) "jdn", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetJDN",kwnames,&obj0,&obj1)) goto fail;
19898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail;
19900 {
19901 arg2 = (double)(SWIG_As_double(obj1));
19902 if (SWIG_arg_fail(2)) SWIG_fail;
19903 }
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 {
19907 wxDateTime &_result_ref = (arg1)->Set(arg2);
19908 result = (wxDateTime *) &_result_ref;
19909 }
19910
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19915 return resultobj;
19916 fail:
19917 return NULL;
19918 }
19919
19920
19921 static PyObject *_wrap_DateTime_SetHMS(PyObject *, PyObject *args, PyObject *kwargs) {
19922 PyObject *resultobj;
19923 wxDateTime *arg1 = (wxDateTime *) 0 ;
19924 int arg2 ;
19925 int arg3 = (int) 0 ;
19926 int arg4 = (int) 0 ;
19927 int arg5 = (int) 0 ;
19928 wxDateTime *result;
19929 PyObject * obj0 = 0 ;
19930 PyObject * obj1 = 0 ;
19931 PyObject * obj2 = 0 ;
19932 PyObject * obj3 = 0 ;
19933 PyObject * obj4 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetHMS",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
19939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
19940 if (SWIG_arg_fail(1)) SWIG_fail;
19941 {
19942 arg2 = (int)(SWIG_As_int(obj1));
19943 if (SWIG_arg_fail(2)) SWIG_fail;
19944 }
19945 if (obj2) {
19946 {
19947 arg3 = (int)(SWIG_As_int(obj2));
19948 if (SWIG_arg_fail(3)) SWIG_fail;
19949 }
19950 }
19951 if (obj3) {
19952 {
19953 arg4 = (int)(SWIG_As_int(obj3));
19954 if (SWIG_arg_fail(4)) SWIG_fail;
19955 }
19956 }
19957 if (obj4) {
19958 {
19959 arg5 = (int)(SWIG_As_int(obj4));
19960 if (SWIG_arg_fail(5)) SWIG_fail;
19961 }
19962 }
19963 {
19964 PyThreadState* __tstate = wxPyBeginAllowThreads();
19965 {
19966 wxDateTime &_result_ref = (arg1)->Set(arg2,arg3,arg4,arg5);
19967 result = (wxDateTime *) &_result_ref;
19968 }
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_DateTime_Set(PyObject *, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxDateTime *arg1 = (wxDateTime *) 0 ;
19983 int arg2 ;
19984 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
19985 int arg4 = (int) wxDateTime::Inv_Year ;
19986 int arg5 = (int) 0 ;
19987 int arg6 = (int) 0 ;
19988 int arg7 = (int) 0 ;
19989 int arg8 = (int) 0 ;
19990 wxDateTime *result;
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 PyObject * obj2 = 0 ;
19994 PyObject * obj3 = 0 ;
19995 PyObject * obj4 = 0 ;
19996 PyObject * obj5 = 0 ;
19997 PyObject * obj6 = 0 ;
19998 PyObject * obj7 = 0 ;
19999 char *kwnames[] = {
20000 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
20001 };
20002
20003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DateTime_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail;
20006 {
20007 arg2 = (int)(SWIG_As_int(obj1));
20008 if (SWIG_arg_fail(2)) SWIG_fail;
20009 }
20010 if (obj2) {
20011 {
20012 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20013 if (SWIG_arg_fail(3)) SWIG_fail;
20014 }
20015 }
20016 if (obj3) {
20017 {
20018 arg4 = (int)(SWIG_As_int(obj3));
20019 if (SWIG_arg_fail(4)) SWIG_fail;
20020 }
20021 }
20022 if (obj4) {
20023 {
20024 arg5 = (int)(SWIG_As_int(obj4));
20025 if (SWIG_arg_fail(5)) SWIG_fail;
20026 }
20027 }
20028 if (obj5) {
20029 {
20030 arg6 = (int)(SWIG_As_int(obj5));
20031 if (SWIG_arg_fail(6)) SWIG_fail;
20032 }
20033 }
20034 if (obj6) {
20035 {
20036 arg7 = (int)(SWIG_As_int(obj6));
20037 if (SWIG_arg_fail(7)) SWIG_fail;
20038 }
20039 }
20040 if (obj7) {
20041 {
20042 arg8 = (int)(SWIG_As_int(obj7));
20043 if (SWIG_arg_fail(8)) SWIG_fail;
20044 }
20045 }
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 {
20049 wxDateTime &_result_ref = (arg1)->Set(arg2,(wxDateTime::Month )arg3,arg4,arg5,arg6,arg7,arg8);
20050 result = (wxDateTime *) &_result_ref;
20051 }
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_DateTime_ResetTime(PyObject *, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxDateTime *arg1 = (wxDateTime *) 0 ;
20066 wxDateTime *result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_ResetTime",kwnames,&obj0)) goto fail;
20073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20074 if (SWIG_arg_fail(1)) SWIG_fail;
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 {
20078 wxDateTime &_result_ref = (arg1)->ResetTime();
20079 result = (wxDateTime *) &_result_ref;
20080 }
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20086 return resultobj;
20087 fail:
20088 return NULL;
20089 }
20090
20091
20092 static PyObject *_wrap_DateTime_SetYear(PyObject *, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxDateTime *arg1 = (wxDateTime *) 0 ;
20095 int arg2 ;
20096 wxDateTime *result;
20097 PyObject * obj0 = 0 ;
20098 PyObject * obj1 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self",(char *) "year", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetYear",kwnames,&obj0,&obj1)) goto fail;
20104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20105 if (SWIG_arg_fail(1)) SWIG_fail;
20106 {
20107 arg2 = (int)(SWIG_As_int(obj1));
20108 if (SWIG_arg_fail(2)) SWIG_fail;
20109 }
20110 {
20111 PyThreadState* __tstate = wxPyBeginAllowThreads();
20112 {
20113 wxDateTime &_result_ref = (arg1)->SetYear(arg2);
20114 result = (wxDateTime *) &_result_ref;
20115 }
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20121 return resultobj;
20122 fail:
20123 return NULL;
20124 }
20125
20126
20127 static PyObject *_wrap_DateTime_SetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxDateTime *arg1 = (wxDateTime *) 0 ;
20130 wxDateTime::Month arg2 ;
20131 wxDateTime *result;
20132 PyObject * obj0 = 0 ;
20133 PyObject * obj1 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self",(char *) "month", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMonth",kwnames,&obj0,&obj1)) goto fail;
20139 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20140 if (SWIG_arg_fail(1)) SWIG_fail;
20141 {
20142 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20143 if (SWIG_arg_fail(2)) SWIG_fail;
20144 }
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 {
20148 wxDateTime &_result_ref = (arg1)->SetMonth((wxDateTime::Month )arg2);
20149 result = (wxDateTime *) &_result_ref;
20150 }
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_DateTime_SetDay(PyObject *, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxDateTime *arg1 = (wxDateTime *) 0 ;
20165 int arg2 ;
20166 wxDateTime *result;
20167 PyObject * obj0 = 0 ;
20168 PyObject * obj1 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "day", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetDay",kwnames,&obj0,&obj1)) goto fail;
20174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20175 if (SWIG_arg_fail(1)) SWIG_fail;
20176 {
20177 arg2 = (int)(SWIG_As_int(obj1));
20178 if (SWIG_arg_fail(2)) SWIG_fail;
20179 }
20180 {
20181 PyThreadState* __tstate = wxPyBeginAllowThreads();
20182 {
20183 wxDateTime &_result_ref = (arg1)->SetDay(arg2);
20184 result = (wxDateTime *) &_result_ref;
20185 }
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_DateTime_SetHour(PyObject *, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxDateTime *arg1 = (wxDateTime *) 0 ;
20200 int arg2 ;
20201 wxDateTime *result;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "hour", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetHour",kwnames,&obj0,&obj1)) goto fail;
20209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20210 if (SWIG_arg_fail(1)) SWIG_fail;
20211 {
20212 arg2 = (int)(SWIG_As_int(obj1));
20213 if (SWIG_arg_fail(2)) SWIG_fail;
20214 }
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 {
20218 wxDateTime &_result_ref = (arg1)->SetHour(arg2);
20219 result = (wxDateTime *) &_result_ref;
20220 }
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
20225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject *_wrap_DateTime_SetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
20233 PyObject *resultobj;
20234 wxDateTime *arg1 = (wxDateTime *) 0 ;
20235 int arg2 ;
20236 wxDateTime *result;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char *kwnames[] = {
20240 (char *) "self",(char *) "minute", NULL
20241 };
20242
20243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMinute",kwnames,&obj0,&obj1)) goto fail;
20244 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail;
20246 {
20247 arg2 = (int)(SWIG_As_int(obj1));
20248 if (SWIG_arg_fail(2)) SWIG_fail;
20249 }
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 {
20253 wxDateTime &_result_ref = (arg1)->SetMinute(arg2);
20254 result = (wxDateTime *) &_result_ref;
20255 }
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20261 return resultobj;
20262 fail:
20263 return NULL;
20264 }
20265
20266
20267 static PyObject *_wrap_DateTime_SetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj;
20269 wxDateTime *arg1 = (wxDateTime *) 0 ;
20270 int arg2 ;
20271 wxDateTime *result;
20272 PyObject * obj0 = 0 ;
20273 PyObject * obj1 = 0 ;
20274 char *kwnames[] = {
20275 (char *) "self",(char *) "second", NULL
20276 };
20277
20278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetSecond",kwnames,&obj0,&obj1)) goto fail;
20279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail;
20281 {
20282 arg2 = (int)(SWIG_As_int(obj1));
20283 if (SWIG_arg_fail(2)) SWIG_fail;
20284 }
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 {
20288 wxDateTime &_result_ref = (arg1)->SetSecond(arg2);
20289 result = (wxDateTime *) &_result_ref;
20290 }
20291
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20296 return resultobj;
20297 fail:
20298 return NULL;
20299 }
20300
20301
20302 static PyObject *_wrap_DateTime_SetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
20303 PyObject *resultobj;
20304 wxDateTime *arg1 = (wxDateTime *) 0 ;
20305 int arg2 ;
20306 wxDateTime *result;
20307 PyObject * obj0 = 0 ;
20308 PyObject * obj1 = 0 ;
20309 char *kwnames[] = {
20310 (char *) "self",(char *) "millisecond", NULL
20311 };
20312
20313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetMillisecond",kwnames,&obj0,&obj1)) goto fail;
20314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20315 if (SWIG_arg_fail(1)) SWIG_fail;
20316 {
20317 arg2 = (int)(SWIG_As_int(obj1));
20318 if (SWIG_arg_fail(2)) SWIG_fail;
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 {
20323 wxDateTime &_result_ref = (arg1)->SetMillisecond(arg2);
20324 result = (wxDateTime *) &_result_ref;
20325 }
20326
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20331 return resultobj;
20332 fail:
20333 return NULL;
20334 }
20335
20336
20337 static PyObject *_wrap_DateTime_SetToWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj;
20339 wxDateTime *arg1 = (wxDateTime *) 0 ;
20340 wxDateTime::WeekDay arg2 ;
20341 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
20342 wxDateTime *result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 PyObject * obj2 = 0 ;
20346 char *kwnames[] = {
20347 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20348 };
20349
20350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
20351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20352 if (SWIG_arg_fail(1)) SWIG_fail;
20353 {
20354 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20355 if (SWIG_arg_fail(2)) SWIG_fail;
20356 }
20357 if (obj2) {
20358 {
20359 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20360 if (SWIG_arg_fail(3)) SWIG_fail;
20361 }
20362 }
20363 {
20364 PyThreadState* __tstate = wxPyBeginAllowThreads();
20365 {
20366 wxDateTime &_result_ref = (arg1)->SetToWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20367 result = (wxDateTime *) &_result_ref;
20368 }
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20374 return resultobj;
20375 fail:
20376 return NULL;
20377 }
20378
20379
20380 static PyObject *_wrap_DateTime_GetWeekDayInSameWeek(PyObject *, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxDateTime *arg1 = (wxDateTime *) 0 ;
20383 wxDateTime::WeekDay arg2 ;
20384 wxDateTime::WeekFlags arg3 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
20385 wxDateTime result;
20386 PyObject * obj0 = 0 ;
20387 PyObject * obj1 = 0 ;
20388 PyObject * obj2 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "weekday",(char *) "flags", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames,&obj0,&obj1,&obj2)) goto fail;
20394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20395 if (SWIG_arg_fail(1)) SWIG_fail;
20396 {
20397 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20398 if (SWIG_arg_fail(2)) SWIG_fail;
20399 }
20400 if (obj2) {
20401 {
20402 arg3 = (wxDateTime::WeekFlags)(SWIG_As_int(obj2));
20403 if (SWIG_arg_fail(3)) SWIG_fail;
20404 }
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (arg1)->GetWeekDayInSameWeek((wxDateTime::WeekDay )arg2,(wxDateTime::WeekFlags )arg3);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 {
20414 wxDateTime * resultptr;
20415 resultptr = new wxDateTime((wxDateTime &)(result));
20416 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20417 }
20418 return resultobj;
20419 fail:
20420 return NULL;
20421 }
20422
20423
20424 static PyObject *_wrap_DateTime_SetToNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20425 PyObject *resultobj;
20426 wxDateTime *arg1 = (wxDateTime *) 0 ;
20427 wxDateTime::WeekDay arg2 ;
20428 wxDateTime *result;
20429 PyObject * obj0 = 0 ;
20430 PyObject * obj1 = 0 ;
20431 char *kwnames[] = {
20432 (char *) "self",(char *) "weekday", NULL
20433 };
20434
20435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
20436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20437 if (SWIG_arg_fail(1)) SWIG_fail;
20438 {
20439 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20440 if (SWIG_arg_fail(2)) SWIG_fail;
20441 }
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 {
20445 wxDateTime &_result_ref = (arg1)->SetToNextWeekDay((wxDateTime::WeekDay )arg2);
20446 result = (wxDateTime *) &_result_ref;
20447 }
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_DateTime_GetNextWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxDateTime *arg1 = (wxDateTime *) 0 ;
20462 wxDateTime::WeekDay arg2 ;
20463 wxDateTime result;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self",(char *) "weekday", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetNextWeekDay",kwnames,&obj0,&obj1)) goto fail;
20471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20472 if (SWIG_arg_fail(1)) SWIG_fail;
20473 {
20474 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20475 if (SWIG_arg_fail(2)) SWIG_fail;
20476 }
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 result = (arg1)->GetNextWeekDay((wxDateTime::WeekDay )arg2);
20480
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 {
20485 wxDateTime * resultptr;
20486 resultptr = new wxDateTime((wxDateTime &)(result));
20487 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20488 }
20489 return resultobj;
20490 fail:
20491 return NULL;
20492 }
20493
20494
20495 static PyObject *_wrap_DateTime_SetToPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxDateTime *arg1 = (wxDateTime *) 0 ;
20498 wxDateTime::WeekDay arg2 ;
20499 wxDateTime *result;
20500 PyObject * obj0 = 0 ;
20501 PyObject * obj1 = 0 ;
20502 char *kwnames[] = {
20503 (char *) "self",(char *) "weekday", NULL
20504 };
20505
20506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
20507 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20508 if (SWIG_arg_fail(1)) SWIG_fail;
20509 {
20510 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20511 if (SWIG_arg_fail(2)) SWIG_fail;
20512 }
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 {
20516 wxDateTime &_result_ref = (arg1)->SetToPrevWeekDay((wxDateTime::WeekDay )arg2);
20517 result = (wxDateTime *) &_result_ref;
20518 }
20519
20520 wxPyEndAllowThreads(__tstate);
20521 if (PyErr_Occurred()) SWIG_fail;
20522 }
20523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20524 return resultobj;
20525 fail:
20526 return NULL;
20527 }
20528
20529
20530 static PyObject *_wrap_DateTime_GetPrevWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20531 PyObject *resultobj;
20532 wxDateTime *arg1 = (wxDateTime *) 0 ;
20533 wxDateTime::WeekDay arg2 ;
20534 wxDateTime result;
20535 PyObject * obj0 = 0 ;
20536 PyObject * obj1 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self",(char *) "weekday", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetPrevWeekDay",kwnames,&obj0,&obj1)) goto fail;
20542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail;
20544 {
20545 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20546 if (SWIG_arg_fail(2)) SWIG_fail;
20547 }
20548 {
20549 PyThreadState* __tstate = wxPyBeginAllowThreads();
20550 result = (arg1)->GetPrevWeekDay((wxDateTime::WeekDay )arg2);
20551
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 {
20556 wxDateTime * resultptr;
20557 resultptr = new wxDateTime((wxDateTime &)(result));
20558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20559 }
20560 return resultobj;
20561 fail:
20562 return NULL;
20563 }
20564
20565
20566 static PyObject *_wrap_DateTime_SetToWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 wxDateTime *arg1 = (wxDateTime *) 0 ;
20569 wxDateTime::WeekDay arg2 ;
20570 int arg3 = (int) 1 ;
20571 wxDateTime::Month arg4 = (wxDateTime::Month) wxDateTime::Inv_Month ;
20572 int arg5 = (int) wxDateTime::Inv_Year ;
20573 bool result;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 PyObject * obj2 = 0 ;
20577 PyObject * obj3 = 0 ;
20578 PyObject * obj4 = 0 ;
20579 char *kwnames[] = {
20580 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20584 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20585 if (SWIG_arg_fail(1)) SWIG_fail;
20586 {
20587 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20588 if (SWIG_arg_fail(2)) SWIG_fail;
20589 }
20590 if (obj2) {
20591 {
20592 arg3 = (int)(SWIG_As_int(obj2));
20593 if (SWIG_arg_fail(3)) SWIG_fail;
20594 }
20595 }
20596 if (obj3) {
20597 {
20598 arg4 = (wxDateTime::Month)(SWIG_As_int(obj3));
20599 if (SWIG_arg_fail(4)) SWIG_fail;
20600 }
20601 }
20602 if (obj4) {
20603 {
20604 arg5 = (int)(SWIG_As_int(obj4));
20605 if (SWIG_arg_fail(5)) SWIG_fail;
20606 }
20607 }
20608 {
20609 PyThreadState* __tstate = wxPyBeginAllowThreads();
20610 result = (bool)(arg1)->SetToWeekDay((wxDateTime::WeekDay )arg2,arg3,(wxDateTime::Month )arg4,arg5);
20611
20612 wxPyEndAllowThreads(__tstate);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20617 }
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_DateTime_SetToLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxDateTime *arg1 = (wxDateTime *) 0 ;
20627 wxDateTime::WeekDay arg2 ;
20628 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
20629 int arg4 = (int) wxDateTime::Inv_Year ;
20630 bool result;
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 PyObject * obj2 = 0 ;
20634 PyObject * obj3 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20641 if (SWIG_arg_fail(1)) SWIG_fail;
20642 {
20643 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20644 if (SWIG_arg_fail(2)) SWIG_fail;
20645 }
20646 if (obj2) {
20647 {
20648 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20649 if (SWIG_arg_fail(3)) SWIG_fail;
20650 }
20651 }
20652 if (obj3) {
20653 {
20654 arg4 = (int)(SWIG_As_int(obj3));
20655 if (SWIG_arg_fail(4)) SWIG_fail;
20656 }
20657 }
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 result = (bool)(arg1)->SetToLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
20665 {
20666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20667 }
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_DateTime_GetLastWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj;
20676 wxDateTime *arg1 = (wxDateTime *) 0 ;
20677 wxDateTime::WeekDay arg2 ;
20678 wxDateTime::Month arg3 = (wxDateTime::Month) wxDateTime::Inv_Month ;
20679 int arg4 = (int) wxDateTime::Inv_Year ;
20680 wxDateTime result;
20681 PyObject * obj0 = 0 ;
20682 PyObject * obj1 = 0 ;
20683 PyObject * obj2 = 0 ;
20684 PyObject * obj3 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20691 if (SWIG_arg_fail(1)) SWIG_fail;
20692 {
20693 arg2 = (wxDateTime::WeekDay)(SWIG_As_int(obj1));
20694 if (SWIG_arg_fail(2)) SWIG_fail;
20695 }
20696 if (obj2) {
20697 {
20698 arg3 = (wxDateTime::Month)(SWIG_As_int(obj2));
20699 if (SWIG_arg_fail(3)) SWIG_fail;
20700 }
20701 }
20702 if (obj3) {
20703 {
20704 arg4 = (int)(SWIG_As_int(obj3));
20705 if (SWIG_arg_fail(4)) SWIG_fail;
20706 }
20707 }
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = (arg1)->GetLastWeekDay((wxDateTime::WeekDay )arg2,(wxDateTime::Month )arg3,arg4);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 wxDateTime * resultptr;
20717 resultptr = new wxDateTime((wxDateTime &)(result));
20718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_DateTime_SetToTheWeek(PyObject *, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxDateTime *arg1 = (wxDateTime *) 0 ;
20729 int arg2 ;
20730 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20731 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
20732 bool result;
20733 PyObject * obj0 = 0 ;
20734 PyObject * obj1 = 0 ;
20735 PyObject * obj2 = 0 ;
20736 PyObject * obj3 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20743 if (SWIG_arg_fail(1)) SWIG_fail;
20744 {
20745 arg2 = (int)(SWIG_As_int(obj1));
20746 if (SWIG_arg_fail(2)) SWIG_fail;
20747 }
20748 if (obj2) {
20749 {
20750 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20751 if (SWIG_arg_fail(3)) SWIG_fail;
20752 }
20753 }
20754 if (obj3) {
20755 {
20756 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20757 if (SWIG_arg_fail(4)) SWIG_fail;
20758 }
20759 }
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (bool)(arg1)->SetToTheWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 {
20768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20769 }
20770 return resultobj;
20771 fail:
20772 return NULL;
20773 }
20774
20775
20776 static PyObject *_wrap_DateTime_GetWeek(PyObject *, PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj;
20778 wxDateTime *arg1 = (wxDateTime *) 0 ;
20779 int arg2 ;
20780 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20781 wxDateTime::WeekFlags arg4 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
20782 wxDateTime result;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 PyObject * obj2 = 0 ;
20786 PyObject * obj3 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_GetWeek",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail;
20794 {
20795 arg2 = (int)(SWIG_As_int(obj1));
20796 if (SWIG_arg_fail(2)) SWIG_fail;
20797 }
20798 if (obj2) {
20799 {
20800 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20801 if (SWIG_arg_fail(3)) SWIG_fail;
20802 }
20803 }
20804 if (obj3) {
20805 {
20806 arg4 = (wxDateTime::WeekFlags)(SWIG_As_int(obj3));
20807 if (SWIG_arg_fail(4)) SWIG_fail;
20808 }
20809 }
20810 {
20811 PyThreadState* __tstate = wxPyBeginAllowThreads();
20812 result = (arg1)->GetWeek(arg2,(wxDateTime::WeekDay )arg3,(wxDateTime::WeekFlags )arg4);
20813
20814 wxPyEndAllowThreads(__tstate);
20815 if (PyErr_Occurred()) SWIG_fail;
20816 }
20817 {
20818 wxDateTime * resultptr;
20819 resultptr = new wxDateTime((wxDateTime &)(result));
20820 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20821 }
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_DateTime_SetToWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 int arg1 ;
20831 int arg2 ;
20832 wxDateTime::WeekDay arg3 = (wxDateTime::WeekDay) wxDateTime::Mon ;
20833 wxDateTime result;
20834 PyObject * obj0 = 0 ;
20835 PyObject * obj1 = 0 ;
20836 PyObject * obj2 = 0 ;
20837 char *kwnames[] = {
20838 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
20842 {
20843 arg1 = (int)(SWIG_As_int(obj0));
20844 if (SWIG_arg_fail(1)) SWIG_fail;
20845 }
20846 {
20847 arg2 = (int)(SWIG_As_int(obj1));
20848 if (SWIG_arg_fail(2)) SWIG_fail;
20849 }
20850 if (obj2) {
20851 {
20852 arg3 = (wxDateTime::WeekDay)(SWIG_As_int(obj2));
20853 if (SWIG_arg_fail(3)) SWIG_fail;
20854 }
20855 }
20856 {
20857 PyThreadState* __tstate = wxPyBeginAllowThreads();
20858 result = wxDateTime::SetToWeekOfYear(arg1,arg2,(wxDateTime::WeekDay )arg3);
20859
20860 wxPyEndAllowThreads(__tstate);
20861 if (PyErr_Occurred()) SWIG_fail;
20862 }
20863 {
20864 wxDateTime * resultptr;
20865 resultptr = new wxDateTime((wxDateTime &)(result));
20866 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20867 }
20868 return resultobj;
20869 fail:
20870 return NULL;
20871 }
20872
20873
20874 static PyObject *_wrap_DateTime_SetToLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxDateTime *arg1 = (wxDateTime *) 0 ;
20877 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
20878 int arg3 = (int) wxDateTime::Inv_Year ;
20879 wxDateTime *result;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 PyObject * obj2 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self",(char *) "month",(char *) "year", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
20888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20889 if (SWIG_arg_fail(1)) SWIG_fail;
20890 if (obj1) {
20891 {
20892 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20893 if (SWIG_arg_fail(2)) SWIG_fail;
20894 }
20895 }
20896 if (obj2) {
20897 {
20898 arg3 = (int)(SWIG_As_int(obj2));
20899 if (SWIG_arg_fail(3)) SWIG_fail;
20900 }
20901 }
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 {
20905 wxDateTime &_result_ref = (arg1)->SetToLastMonthDay((wxDateTime::Month )arg2,arg3);
20906 result = (wxDateTime *) &_result_ref;
20907 }
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject *_wrap_DateTime_GetLastMonthDay(PyObject *, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxDateTime *arg1 = (wxDateTime *) 0 ;
20922 wxDateTime::Month arg2 = (wxDateTime::Month) wxDateTime::Inv_Month ;
20923 int arg3 = (int) wxDateTime::Inv_Year ;
20924 wxDateTime result;
20925 PyObject * obj0 = 0 ;
20926 PyObject * obj1 = 0 ;
20927 PyObject * obj2 = 0 ;
20928 char *kwnames[] = {
20929 (char *) "self",(char *) "month",(char *) "year", NULL
20930 };
20931
20932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames,&obj0,&obj1,&obj2)) goto fail;
20933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20934 if (SWIG_arg_fail(1)) SWIG_fail;
20935 if (obj1) {
20936 {
20937 arg2 = (wxDateTime::Month)(SWIG_As_int(obj1));
20938 if (SWIG_arg_fail(2)) SWIG_fail;
20939 }
20940 }
20941 if (obj2) {
20942 {
20943 arg3 = (int)(SWIG_As_int(obj2));
20944 if (SWIG_arg_fail(3)) SWIG_fail;
20945 }
20946 }
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (arg1)->GetLastMonthDay((wxDateTime::Month )arg2,arg3);
20950
20951 wxPyEndAllowThreads(__tstate);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 }
20954 {
20955 wxDateTime * resultptr;
20956 resultptr = new wxDateTime((wxDateTime &)(result));
20957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
20958 }
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_DateTime_SetToYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxDateTime *arg1 = (wxDateTime *) 0 ;
20968 int arg2 ;
20969 wxDateTime *result;
20970 PyObject * obj0 = 0 ;
20971 PyObject * obj1 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self",(char *) "yday", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SetToYearDay",kwnames,&obj0,&obj1)) goto fail;
20977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
20978 if (SWIG_arg_fail(1)) SWIG_fail;
20979 {
20980 arg2 = (int)(SWIG_As_int(obj1));
20981 if (SWIG_arg_fail(2)) SWIG_fail;
20982 }
20983 {
20984 PyThreadState* __tstate = wxPyBeginAllowThreads();
20985 {
20986 wxDateTime &_result_ref = (arg1)->SetToYearDay(arg2);
20987 result = (wxDateTime *) &_result_ref;
20988 }
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 static PyObject *_wrap_DateTime_GetYearDay(PyObject *, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxDateTime *arg1 = (wxDateTime *) 0 ;
21003 int arg2 ;
21004 wxDateTime result;
21005 PyObject * obj0 = 0 ;
21006 PyObject * obj1 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self",(char *) "yday", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_GetYearDay",kwnames,&obj0,&obj1)) goto fail;
21012 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21013 if (SWIG_arg_fail(1)) SWIG_fail;
21014 {
21015 arg2 = (int)(SWIG_As_int(obj1));
21016 if (SWIG_arg_fail(2)) SWIG_fail;
21017 }
21018 {
21019 PyThreadState* __tstate = wxPyBeginAllowThreads();
21020 result = (arg1)->GetYearDay(arg2);
21021
21022 wxPyEndAllowThreads(__tstate);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 wxDateTime * resultptr;
21027 resultptr = new wxDateTime((wxDateTime &)(result));
21028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21029 }
21030 return resultobj;
21031 fail:
21032 return NULL;
21033 }
21034
21035
21036 static PyObject *_wrap_DateTime_GetJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
21037 PyObject *resultobj;
21038 wxDateTime *arg1 = (wxDateTime *) 0 ;
21039 double result;
21040 PyObject * obj0 = 0 ;
21041 char *kwnames[] = {
21042 (char *) "self", NULL
21043 };
21044
21045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJulianDayNumber",kwnames,&obj0)) goto fail;
21046 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21047 if (SWIG_arg_fail(1)) SWIG_fail;
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (double)(arg1)->GetJulianDayNumber();
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 {
21056 resultobj = SWIG_From_double((double)(result));
21057 }
21058 return resultobj;
21059 fail:
21060 return NULL;
21061 }
21062
21063
21064 static PyObject *_wrap_DateTime_GetJDN(PyObject *, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxDateTime *arg1 = (wxDateTime *) 0 ;
21067 double result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetJDN",kwnames,&obj0)) goto fail;
21074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail;
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 result = (double)(arg1)->GetJDN();
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
21083 {
21084 resultobj = SWIG_From_double((double)(result));
21085 }
21086 return resultobj;
21087 fail:
21088 return NULL;
21089 }
21090
21091
21092 static PyObject *_wrap_DateTime_GetModifiedJulianDayNumber(PyObject *, PyObject *args, PyObject *kwargs) {
21093 PyObject *resultobj;
21094 wxDateTime *arg1 = (wxDateTime *) 0 ;
21095 double result;
21096 PyObject * obj0 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames,&obj0)) goto fail;
21102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21103 if (SWIG_arg_fail(1)) SWIG_fail;
21104 {
21105 PyThreadState* __tstate = wxPyBeginAllowThreads();
21106 result = (double)((wxDateTime const *)arg1)->GetModifiedJulianDayNumber();
21107
21108 wxPyEndAllowThreads(__tstate);
21109 if (PyErr_Occurred()) SWIG_fail;
21110 }
21111 {
21112 resultobj = SWIG_From_double((double)(result));
21113 }
21114 return resultobj;
21115 fail:
21116 return NULL;
21117 }
21118
21119
21120 static PyObject *_wrap_DateTime_GetMJD(PyObject *, PyObject *args, PyObject *kwargs) {
21121 PyObject *resultobj;
21122 wxDateTime *arg1 = (wxDateTime *) 0 ;
21123 double result;
21124 PyObject * obj0 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetMJD",kwnames,&obj0)) goto fail;
21130 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21131 if (SWIG_arg_fail(1)) SWIG_fail;
21132 {
21133 PyThreadState* __tstate = wxPyBeginAllowThreads();
21134 result = (double)(arg1)->GetMJD();
21135
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 {
21140 resultobj = SWIG_From_double((double)(result));
21141 }
21142 return resultobj;
21143 fail:
21144 return NULL;
21145 }
21146
21147
21148 static PyObject *_wrap_DateTime_GetRataDie(PyObject *, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxDateTime *arg1 = (wxDateTime *) 0 ;
21151 double result;
21152 PyObject * obj0 = 0 ;
21153 char *kwnames[] = {
21154 (char *) "self", NULL
21155 };
21156
21157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetRataDie",kwnames,&obj0)) goto fail;
21158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21159 if (SWIG_arg_fail(1)) SWIG_fail;
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 result = (double)(arg1)->GetRataDie();
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 {
21168 resultobj = SWIG_From_double((double)(result));
21169 }
21170 return resultobj;
21171 fail:
21172 return NULL;
21173 }
21174
21175
21176 static PyObject *_wrap_DateTime_ToTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
21177 PyObject *resultobj;
21178 wxDateTime *arg1 = (wxDateTime *) 0 ;
21179 wxDateTime::TimeZone *arg2 = 0 ;
21180 bool arg3 = (bool) false ;
21181 wxDateTime result;
21182 bool temp2 = false ;
21183 PyObject * obj0 = 0 ;
21184 PyObject * obj1 = 0 ;
21185 PyObject * obj2 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_ToTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
21191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21192 if (SWIG_arg_fail(1)) SWIG_fail;
21193 {
21194 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21195 temp2 = true;
21196 }
21197 if (obj2) {
21198 {
21199 arg3 = (bool)(SWIG_As_bool(obj2));
21200 if (SWIG_arg_fail(3)) SWIG_fail;
21201 }
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 result = (arg1)->ToTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 {
21211 wxDateTime * resultptr;
21212 resultptr = new wxDateTime((wxDateTime &)(result));
21213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21214 }
21215 {
21216 if (temp2) delete arg2;
21217 }
21218 return resultobj;
21219 fail:
21220 {
21221 if (temp2) delete arg2;
21222 }
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_DateTime_MakeTimezone(PyObject *, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxDateTime *arg1 = (wxDateTime *) 0 ;
21230 wxDateTime::TimeZone *arg2 = 0 ;
21231 bool arg3 = (bool) false ;
21232 wxDateTime *result;
21233 bool temp2 = false ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 PyObject * obj2 = 0 ;
21237 char *kwnames[] = {
21238 (char *) "self",(char *) "tz",(char *) "noDST", NULL
21239 };
21240
21241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DateTime_MakeTimezone",kwnames,&obj0,&obj1,&obj2)) goto fail;
21242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21243 if (SWIG_arg_fail(1)) SWIG_fail;
21244 {
21245 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21246 temp2 = true;
21247 }
21248 if (obj2) {
21249 {
21250 arg3 = (bool)(SWIG_As_bool(obj2));
21251 if (SWIG_arg_fail(3)) SWIG_fail;
21252 }
21253 }
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 {
21257 wxDateTime &_result_ref = (arg1)->MakeTimezone((wxDateTime::TimeZone const &)*arg2,arg3);
21258 result = (wxDateTime *) &_result_ref;
21259 }
21260
21261 wxPyEndAllowThreads(__tstate);
21262 if (PyErr_Occurred()) SWIG_fail;
21263 }
21264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21265 {
21266 if (temp2) delete arg2;
21267 }
21268 return resultobj;
21269 fail:
21270 {
21271 if (temp2) delete arg2;
21272 }
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_DateTime_ToGMT(PyObject *, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxDateTime *arg1 = (wxDateTime *) 0 ;
21280 bool arg2 = (bool) false ;
21281 wxDateTime result;
21282 PyObject * obj0 = 0 ;
21283 PyObject * obj1 = 0 ;
21284 char *kwnames[] = {
21285 (char *) "self",(char *) "noDST", NULL
21286 };
21287
21288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_ToGMT",kwnames,&obj0,&obj1)) goto fail;
21289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21290 if (SWIG_arg_fail(1)) SWIG_fail;
21291 if (obj1) {
21292 {
21293 arg2 = (bool)(SWIG_As_bool(obj1));
21294 if (SWIG_arg_fail(2)) SWIG_fail;
21295 }
21296 }
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = (arg1)->ToGMT(arg2);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 {
21305 wxDateTime * resultptr;
21306 resultptr = new wxDateTime((wxDateTime &)(result));
21307 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 static PyObject *_wrap_DateTime_MakeGMT(PyObject *, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxDateTime *arg1 = (wxDateTime *) 0 ;
21318 bool arg2 = (bool) false ;
21319 wxDateTime *result;
21320 PyObject * obj0 = 0 ;
21321 PyObject * obj1 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self",(char *) "noDST", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_MakeGMT",kwnames,&obj0,&obj1)) goto fail;
21327 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21328 if (SWIG_arg_fail(1)) SWIG_fail;
21329 if (obj1) {
21330 {
21331 arg2 = (bool)(SWIG_As_bool(obj1));
21332 if (SWIG_arg_fail(2)) SWIG_fail;
21333 }
21334 }
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 {
21338 wxDateTime &_result_ref = (arg1)->MakeGMT(arg2);
21339 result = (wxDateTime *) &_result_ref;
21340 }
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_DateTime_IsDST(PyObject *, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxDateTime *arg1 = (wxDateTime *) 0 ;
21355 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
21356 int result;
21357 PyObject * obj0 = 0 ;
21358 PyObject * obj1 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self",(char *) "country", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsDST",kwnames,&obj0,&obj1)) goto fail;
21364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21365 if (SWIG_arg_fail(1)) SWIG_fail;
21366 if (obj1) {
21367 {
21368 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21369 if (SWIG_arg_fail(2)) SWIG_fail;
21370 }
21371 }
21372 {
21373 PyThreadState* __tstate = wxPyBeginAllowThreads();
21374 result = (int)(arg1)->IsDST((wxDateTime::Country )arg2);
21375
21376 wxPyEndAllowThreads(__tstate);
21377 if (PyErr_Occurred()) SWIG_fail;
21378 }
21379 {
21380 resultobj = SWIG_From_int((int)(result));
21381 }
21382 return resultobj;
21383 fail:
21384 return NULL;
21385 }
21386
21387
21388 static PyObject *_wrap_DateTime_IsValid(PyObject *, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxDateTime *arg1 = (wxDateTime *) 0 ;
21391 bool result;
21392 PyObject * obj0 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_IsValid",kwnames,&obj0)) goto fail;
21398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail;
21400 {
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (bool)((wxDateTime const *)arg1)->IsValid();
21403
21404 wxPyEndAllowThreads(__tstate);
21405 if (PyErr_Occurred()) SWIG_fail;
21406 }
21407 {
21408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21409 }
21410 return resultobj;
21411 fail:
21412 return NULL;
21413 }
21414
21415
21416 static PyObject *_wrap_DateTime_GetTicks(PyObject *, PyObject *args, PyObject *kwargs) {
21417 PyObject *resultobj;
21418 wxDateTime *arg1 = (wxDateTime *) 0 ;
21419 time_t result;
21420 PyObject * obj0 = 0 ;
21421 char *kwnames[] = {
21422 (char *) "self", NULL
21423 };
21424
21425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_GetTicks",kwnames,&obj0)) goto fail;
21426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail;
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 result = (time_t)((wxDateTime const *)arg1)->GetTicks();
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 {
21436 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
21437 }
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_DateTime_GetYear(PyObject *, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxDateTime *arg1 = (wxDateTime *) 0 ;
21447 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21448 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21449 int result;
21450 bool temp2 = false ;
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 char *kwnames[] = {
21454 (char *) "self",(char *) "tz", NULL
21455 };
21456
21457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetYear",kwnames,&obj0,&obj1)) goto fail;
21458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail;
21460 if (obj1) {
21461 {
21462 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21463 temp2 = true;
21464 }
21465 }
21466 {
21467 PyThreadState* __tstate = wxPyBeginAllowThreads();
21468 result = (int)((wxDateTime const *)arg1)->GetYear((wxDateTime::TimeZone const &)*arg2);
21469
21470 wxPyEndAllowThreads(__tstate);
21471 if (PyErr_Occurred()) SWIG_fail;
21472 }
21473 {
21474 resultobj = SWIG_From_int((int)(result));
21475 }
21476 {
21477 if (temp2) delete arg2;
21478 }
21479 return resultobj;
21480 fail:
21481 {
21482 if (temp2) delete arg2;
21483 }
21484 return NULL;
21485 }
21486
21487
21488 static PyObject *_wrap_DateTime_GetMonth(PyObject *, PyObject *args, PyObject *kwargs) {
21489 PyObject *resultobj;
21490 wxDateTime *arg1 = (wxDateTime *) 0 ;
21491 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21492 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21493 wxDateTime::Month result;
21494 bool temp2 = false ;
21495 PyObject * obj0 = 0 ;
21496 PyObject * obj1 = 0 ;
21497 char *kwnames[] = {
21498 (char *) "self",(char *) "tz", NULL
21499 };
21500
21501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMonth",kwnames,&obj0,&obj1)) goto fail;
21502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail;
21504 if (obj1) {
21505 {
21506 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21507 temp2 = true;
21508 }
21509 }
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (wxDateTime::Month)((wxDateTime const *)arg1)->GetMonth((wxDateTime::TimeZone const &)*arg2);
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 resultobj = SWIG_From_int((result));
21518 {
21519 if (temp2) delete arg2;
21520 }
21521 return resultobj;
21522 fail:
21523 {
21524 if (temp2) delete arg2;
21525 }
21526 return NULL;
21527 }
21528
21529
21530 static PyObject *_wrap_DateTime_GetDay(PyObject *, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxDateTime *arg1 = (wxDateTime *) 0 ;
21533 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21534 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21535 int result;
21536 bool temp2 = false ;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "tz", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDay",kwnames,&obj0,&obj1)) goto fail;
21544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21545 if (SWIG_arg_fail(1)) SWIG_fail;
21546 if (obj1) {
21547 {
21548 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21549 temp2 = true;
21550 }
21551 }
21552 {
21553 PyThreadState* __tstate = wxPyBeginAllowThreads();
21554 result = (int)((wxDateTime const *)arg1)->GetDay((wxDateTime::TimeZone const &)*arg2);
21555
21556 wxPyEndAllowThreads(__tstate);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 resultobj = SWIG_From_int((int)(result));
21561 }
21562 {
21563 if (temp2) delete arg2;
21564 }
21565 return resultobj;
21566 fail:
21567 {
21568 if (temp2) delete arg2;
21569 }
21570 return NULL;
21571 }
21572
21573
21574 static PyObject *_wrap_DateTime_GetWeekDay(PyObject *, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 wxDateTime *arg1 = (wxDateTime *) 0 ;
21577 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21578 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21579 wxDateTime::WeekDay result;
21580 bool temp2 = false ;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "tz", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetWeekDay",kwnames,&obj0,&obj1)) goto fail;
21588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21589 if (SWIG_arg_fail(1)) SWIG_fail;
21590 if (obj1) {
21591 {
21592 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21593 temp2 = true;
21594 }
21595 }
21596 {
21597 PyThreadState* __tstate = wxPyBeginAllowThreads();
21598 result = (wxDateTime::WeekDay)((wxDateTime const *)arg1)->GetWeekDay((wxDateTime::TimeZone const &)*arg2);
21599
21600 wxPyEndAllowThreads(__tstate);
21601 if (PyErr_Occurred()) SWIG_fail;
21602 }
21603 resultobj = SWIG_From_int((result));
21604 {
21605 if (temp2) delete arg2;
21606 }
21607 return resultobj;
21608 fail:
21609 {
21610 if (temp2) delete arg2;
21611 }
21612 return NULL;
21613 }
21614
21615
21616 static PyObject *_wrap_DateTime_GetHour(PyObject *, PyObject *args, PyObject *kwargs) {
21617 PyObject *resultobj;
21618 wxDateTime *arg1 = (wxDateTime *) 0 ;
21619 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21620 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21621 int result;
21622 bool temp2 = false ;
21623 PyObject * obj0 = 0 ;
21624 PyObject * obj1 = 0 ;
21625 char *kwnames[] = {
21626 (char *) "self",(char *) "tz", NULL
21627 };
21628
21629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetHour",kwnames,&obj0,&obj1)) goto fail;
21630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail;
21632 if (obj1) {
21633 {
21634 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21635 temp2 = true;
21636 }
21637 }
21638 {
21639 PyThreadState* __tstate = wxPyBeginAllowThreads();
21640 result = (int)((wxDateTime const *)arg1)->GetHour((wxDateTime::TimeZone const &)*arg2);
21641
21642 wxPyEndAllowThreads(__tstate);
21643 if (PyErr_Occurred()) SWIG_fail;
21644 }
21645 {
21646 resultobj = SWIG_From_int((int)(result));
21647 }
21648 {
21649 if (temp2) delete arg2;
21650 }
21651 return resultobj;
21652 fail:
21653 {
21654 if (temp2) delete arg2;
21655 }
21656 return NULL;
21657 }
21658
21659
21660 static PyObject *_wrap_DateTime_GetMinute(PyObject *, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxDateTime *arg1 = (wxDateTime *) 0 ;
21663 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21664 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21665 int result;
21666 bool temp2 = false ;
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
21669 char *kwnames[] = {
21670 (char *) "self",(char *) "tz", NULL
21671 };
21672
21673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMinute",kwnames,&obj0,&obj1)) goto fail;
21674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21675 if (SWIG_arg_fail(1)) SWIG_fail;
21676 if (obj1) {
21677 {
21678 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21679 temp2 = true;
21680 }
21681 }
21682 {
21683 PyThreadState* __tstate = wxPyBeginAllowThreads();
21684 result = (int)((wxDateTime const *)arg1)->GetMinute((wxDateTime::TimeZone const &)*arg2);
21685
21686 wxPyEndAllowThreads(__tstate);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 {
21690 resultobj = SWIG_From_int((int)(result));
21691 }
21692 {
21693 if (temp2) delete arg2;
21694 }
21695 return resultobj;
21696 fail:
21697 {
21698 if (temp2) delete arg2;
21699 }
21700 return NULL;
21701 }
21702
21703
21704 static PyObject *_wrap_DateTime_GetSecond(PyObject *, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxDateTime *arg1 = (wxDateTime *) 0 ;
21707 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21708 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21709 int result;
21710 bool temp2 = false ;
21711 PyObject * obj0 = 0 ;
21712 PyObject * obj1 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self",(char *) "tz", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetSecond",kwnames,&obj0,&obj1)) goto fail;
21718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail;
21720 if (obj1) {
21721 {
21722 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21723 temp2 = true;
21724 }
21725 }
21726 {
21727 PyThreadState* __tstate = wxPyBeginAllowThreads();
21728 result = (int)((wxDateTime const *)arg1)->GetSecond((wxDateTime::TimeZone const &)*arg2);
21729
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 {
21734 resultobj = SWIG_From_int((int)(result));
21735 }
21736 {
21737 if (temp2) delete arg2;
21738 }
21739 return resultobj;
21740 fail:
21741 {
21742 if (temp2) delete arg2;
21743 }
21744 return NULL;
21745 }
21746
21747
21748 static PyObject *_wrap_DateTime_GetMillisecond(PyObject *, PyObject *args, PyObject *kwargs) {
21749 PyObject *resultobj;
21750 wxDateTime *arg1 = (wxDateTime *) 0 ;
21751 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21752 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21753 int result;
21754 bool temp2 = false ;
21755 PyObject * obj0 = 0 ;
21756 PyObject * obj1 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self",(char *) "tz", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetMillisecond",kwnames,&obj0,&obj1)) goto fail;
21762 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21763 if (SWIG_arg_fail(1)) SWIG_fail;
21764 if (obj1) {
21765 {
21766 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21767 temp2 = true;
21768 }
21769 }
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = (int)((wxDateTime const *)arg1)->GetMillisecond((wxDateTime::TimeZone const &)*arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 {
21778 resultobj = SWIG_From_int((int)(result));
21779 }
21780 {
21781 if (temp2) delete arg2;
21782 }
21783 return resultobj;
21784 fail:
21785 {
21786 if (temp2) delete arg2;
21787 }
21788 return NULL;
21789 }
21790
21791
21792 static PyObject *_wrap_DateTime_GetDayOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
21793 PyObject *resultobj;
21794 wxDateTime *arg1 = (wxDateTime *) 0 ;
21795 wxDateTime::TimeZone const &arg2_defvalue = LOCAL_TZ ;
21796 wxDateTime::TimeZone *arg2 = (wxDateTime::TimeZone *) &arg2_defvalue ;
21797 int result;
21798 bool temp2 = false ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 char *kwnames[] = {
21802 (char *) "self",(char *) "tz", NULL
21803 };
21804
21805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_GetDayOfYear",kwnames,&obj0,&obj1)) goto fail;
21806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21807 if (SWIG_arg_fail(1)) SWIG_fail;
21808 if (obj1) {
21809 {
21810 arg2 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj1));
21811 temp2 = true;
21812 }
21813 }
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (int)((wxDateTime const *)arg1)->GetDayOfYear((wxDateTime::TimeZone const &)*arg2);
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 {
21822 resultobj = SWIG_From_int((int)(result));
21823 }
21824 {
21825 if (temp2) delete arg2;
21826 }
21827 return resultobj;
21828 fail:
21829 {
21830 if (temp2) delete arg2;
21831 }
21832 return NULL;
21833 }
21834
21835
21836 static PyObject *_wrap_DateTime_GetWeekOfYear(PyObject *, PyObject *args, PyObject *kwargs) {
21837 PyObject *resultobj;
21838 wxDateTime *arg1 = (wxDateTime *) 0 ;
21839 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
21840 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21841 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21842 int result;
21843 bool temp3 = false ;
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 char *kwnames[] = {
21848 (char *) "self",(char *) "flags",(char *) "tz", NULL
21849 };
21850
21851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames,&obj0,&obj1,&obj2)) goto fail;
21852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail;
21854 if (obj1) {
21855 {
21856 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
21857 if (SWIG_arg_fail(2)) SWIG_fail;
21858 }
21859 }
21860 if (obj2) {
21861 {
21862 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21863 temp3 = true;
21864 }
21865 }
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 result = (int)((wxDateTime const *)arg1)->GetWeekOfYear((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 {
21874 resultobj = SWIG_From_int((int)(result));
21875 }
21876 {
21877 if (temp3) delete arg3;
21878 }
21879 return resultobj;
21880 fail:
21881 {
21882 if (temp3) delete arg3;
21883 }
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_DateTime_GetWeekOfMonth(PyObject *, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxDateTime *arg1 = (wxDateTime *) 0 ;
21891 wxDateTime::WeekFlags arg2 = (wxDateTime::WeekFlags) wxDateTime::Monday_First ;
21892 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
21893 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
21894 int result;
21895 bool temp3 = false ;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 PyObject * obj2 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "flags",(char *) "tz", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21905 if (SWIG_arg_fail(1)) SWIG_fail;
21906 if (obj1) {
21907 {
21908 arg2 = (wxDateTime::WeekFlags)(SWIG_As_int(obj1));
21909 if (SWIG_arg_fail(2)) SWIG_fail;
21910 }
21911 }
21912 if (obj2) {
21913 {
21914 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
21915 temp3 = true;
21916 }
21917 }
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 result = (int)((wxDateTime const *)arg1)->GetWeekOfMonth((wxDateTime::WeekFlags )arg2,(wxDateTime::TimeZone const &)*arg3);
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 {
21926 resultobj = SWIG_From_int((int)(result));
21927 }
21928 {
21929 if (temp3) delete arg3;
21930 }
21931 return resultobj;
21932 fail:
21933 {
21934 if (temp3) delete arg3;
21935 }
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_DateTime_IsWorkDay(PyObject *, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxDateTime *arg1 = (wxDateTime *) 0 ;
21943 wxDateTime::Country arg2 = (wxDateTime::Country) wxDateTime::Country_Default ;
21944 bool result;
21945 PyObject * obj0 = 0 ;
21946 PyObject * obj1 = 0 ;
21947 char *kwnames[] = {
21948 (char *) "self",(char *) "country", NULL
21949 };
21950
21951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DateTime_IsWorkDay",kwnames,&obj0,&obj1)) goto fail;
21952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21953 if (SWIG_arg_fail(1)) SWIG_fail;
21954 if (obj1) {
21955 {
21956 arg2 = (wxDateTime::Country)(SWIG_As_int(obj1));
21957 if (SWIG_arg_fail(2)) SWIG_fail;
21958 }
21959 }
21960 {
21961 PyThreadState* __tstate = wxPyBeginAllowThreads();
21962 result = (bool)((wxDateTime const *)arg1)->IsWorkDay((wxDateTime::Country )arg2);
21963
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 {
21968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21969 }
21970 return resultobj;
21971 fail:
21972 return NULL;
21973 }
21974
21975
21976 static PyObject *_wrap_DateTime_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
21977 PyObject *resultobj;
21978 wxDateTime *arg1 = (wxDateTime *) 0 ;
21979 wxDateTime *arg2 = 0 ;
21980 bool result;
21981 PyObject * obj0 = 0 ;
21982 PyObject * obj1 = 0 ;
21983 char *kwnames[] = {
21984 (char *) "self",(char *) "datetime", NULL
21985 };
21986
21987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
21988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21989 if (SWIG_arg_fail(1)) SWIG_fail;
21990 {
21991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
21992 if (SWIG_arg_fail(2)) SWIG_fail;
21993 if (arg2 == NULL) {
21994 SWIG_null_ref("wxDateTime");
21995 }
21996 if (SWIG_arg_fail(2)) SWIG_fail;
21997 }
21998 {
21999 PyThreadState* __tstate = wxPyBeginAllowThreads();
22000 result = (bool)((wxDateTime const *)arg1)->IsEqualTo((wxDateTime const &)*arg2);
22001
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 {
22006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22007 }
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_DateTime_IsEarlierThan(PyObject *, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxDateTime *arg1 = (wxDateTime *) 0 ;
22017 wxDateTime *arg2 = 0 ;
22018 bool result;
22019 PyObject * obj0 = 0 ;
22020 PyObject * obj1 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self",(char *) "datetime", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsEarlierThan",kwnames,&obj0,&obj1)) goto fail;
22026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail;
22028 {
22029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22030 if (SWIG_arg_fail(2)) SWIG_fail;
22031 if (arg2 == NULL) {
22032 SWIG_null_ref("wxDateTime");
22033 }
22034 if (SWIG_arg_fail(2)) SWIG_fail;
22035 }
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 result = (bool)((wxDateTime const *)arg1)->IsEarlierThan((wxDateTime const &)*arg2);
22039
22040 wxPyEndAllowThreads(__tstate);
22041 if (PyErr_Occurred()) SWIG_fail;
22042 }
22043 {
22044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22045 }
22046 return resultobj;
22047 fail:
22048 return NULL;
22049 }
22050
22051
22052 static PyObject *_wrap_DateTime_IsLaterThan(PyObject *, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxDateTime *arg1 = (wxDateTime *) 0 ;
22055 wxDateTime *arg2 = 0 ;
22056 bool result;
22057 PyObject * obj0 = 0 ;
22058 PyObject * obj1 = 0 ;
22059 char *kwnames[] = {
22060 (char *) "self",(char *) "datetime", NULL
22061 };
22062
22063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsLaterThan",kwnames,&obj0,&obj1)) goto fail;
22064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22065 if (SWIG_arg_fail(1)) SWIG_fail;
22066 {
22067 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22068 if (SWIG_arg_fail(2)) SWIG_fail;
22069 if (arg2 == NULL) {
22070 SWIG_null_ref("wxDateTime");
22071 }
22072 if (SWIG_arg_fail(2)) SWIG_fail;
22073 }
22074 {
22075 PyThreadState* __tstate = wxPyBeginAllowThreads();
22076 result = (bool)((wxDateTime const *)arg1)->IsLaterThan((wxDateTime const &)*arg2);
22077
22078 wxPyEndAllowThreads(__tstate);
22079 if (PyErr_Occurred()) SWIG_fail;
22080 }
22081 {
22082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_DateTime_IsStrictlyBetween(PyObject *, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxDateTime *arg1 = (wxDateTime *) 0 ;
22093 wxDateTime *arg2 = 0 ;
22094 wxDateTime *arg3 = 0 ;
22095 bool result;
22096 PyObject * obj0 = 0 ;
22097 PyObject * obj1 = 0 ;
22098 PyObject * obj2 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "t1",(char *) "t2", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
22104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22105 if (SWIG_arg_fail(1)) SWIG_fail;
22106 {
22107 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22108 if (SWIG_arg_fail(2)) SWIG_fail;
22109 if (arg2 == NULL) {
22110 SWIG_null_ref("wxDateTime");
22111 }
22112 if (SWIG_arg_fail(2)) SWIG_fail;
22113 }
22114 {
22115 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22116 if (SWIG_arg_fail(3)) SWIG_fail;
22117 if (arg3 == NULL) {
22118 SWIG_null_ref("wxDateTime");
22119 }
22120 if (SWIG_arg_fail(3)) SWIG_fail;
22121 }
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (bool)((wxDateTime const *)arg1)->IsStrictlyBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 {
22130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22131 }
22132 return resultobj;
22133 fail:
22134 return NULL;
22135 }
22136
22137
22138 static PyObject *_wrap_DateTime_IsBetween(PyObject *, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxDateTime *arg1 = (wxDateTime *) 0 ;
22141 wxDateTime *arg2 = 0 ;
22142 wxDateTime *arg3 = 0 ;
22143 bool result;
22144 PyObject * obj0 = 0 ;
22145 PyObject * obj1 = 0 ;
22146 PyObject * obj2 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "t1",(char *) "t2", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsBetween",kwnames,&obj0,&obj1,&obj2)) goto fail;
22152 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22153 if (SWIG_arg_fail(1)) SWIG_fail;
22154 {
22155 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22156 if (SWIG_arg_fail(2)) SWIG_fail;
22157 if (arg2 == NULL) {
22158 SWIG_null_ref("wxDateTime");
22159 }
22160 if (SWIG_arg_fail(2)) SWIG_fail;
22161 }
22162 {
22163 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22164 if (SWIG_arg_fail(3)) SWIG_fail;
22165 if (arg3 == NULL) {
22166 SWIG_null_ref("wxDateTime");
22167 }
22168 if (SWIG_arg_fail(3)) SWIG_fail;
22169 }
22170 {
22171 PyThreadState* __tstate = wxPyBeginAllowThreads();
22172 result = (bool)((wxDateTime const *)arg1)->IsBetween((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
22173
22174 wxPyEndAllowThreads(__tstate);
22175 if (PyErr_Occurred()) SWIG_fail;
22176 }
22177 {
22178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 static PyObject *_wrap_DateTime_IsSameDate(PyObject *, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxDateTime *arg1 = (wxDateTime *) 0 ;
22189 wxDateTime *arg2 = 0 ;
22190 bool result;
22191 PyObject * obj0 = 0 ;
22192 PyObject * obj1 = 0 ;
22193 char *kwnames[] = {
22194 (char *) "self",(char *) "dt", NULL
22195 };
22196
22197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameDate",kwnames,&obj0,&obj1)) goto fail;
22198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail;
22200 {
22201 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22202 if (SWIG_arg_fail(2)) SWIG_fail;
22203 if (arg2 == NULL) {
22204 SWIG_null_ref("wxDateTime");
22205 }
22206 if (SWIG_arg_fail(2)) SWIG_fail;
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (bool)((wxDateTime const *)arg1)->IsSameDate((wxDateTime const &)*arg2);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22217 }
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_DateTime_IsSameTime(PyObject *, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxDateTime *arg1 = (wxDateTime *) 0 ;
22227 wxDateTime *arg2 = 0 ;
22228 bool result;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self",(char *) "dt", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_IsSameTime",kwnames,&obj0,&obj1)) goto fail;
22236 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22237 if (SWIG_arg_fail(1)) SWIG_fail;
22238 {
22239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22240 if (SWIG_arg_fail(2)) SWIG_fail;
22241 if (arg2 == NULL) {
22242 SWIG_null_ref("wxDateTime");
22243 }
22244 if (SWIG_arg_fail(2)) SWIG_fail;
22245 }
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 result = (bool)((wxDateTime const *)arg1)->IsSameTime((wxDateTime const &)*arg2);
22249
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 {
22254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22255 }
22256 return resultobj;
22257 fail:
22258 return NULL;
22259 }
22260
22261
22262 static PyObject *_wrap_DateTime_IsEqualUpTo(PyObject *, PyObject *args, PyObject *kwargs) {
22263 PyObject *resultobj;
22264 wxDateTime *arg1 = (wxDateTime *) 0 ;
22265 wxDateTime *arg2 = 0 ;
22266 wxTimeSpan *arg3 = 0 ;
22267 bool result;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 PyObject * obj2 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "dt",(char *) "ts", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DateTime_IsEqualUpTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22277 if (SWIG_arg_fail(1)) SWIG_fail;
22278 {
22279 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22280 if (SWIG_arg_fail(2)) SWIG_fail;
22281 if (arg2 == NULL) {
22282 SWIG_null_ref("wxDateTime");
22283 }
22284 if (SWIG_arg_fail(2)) SWIG_fail;
22285 }
22286 {
22287 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22288 if (SWIG_arg_fail(3)) SWIG_fail;
22289 if (arg3 == NULL) {
22290 SWIG_null_ref("wxTimeSpan");
22291 }
22292 if (SWIG_arg_fail(3)) SWIG_fail;
22293 }
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 result = (bool)((wxDateTime const *)arg1)->IsEqualUpTo((wxDateTime const &)*arg2,(wxTimeSpan const &)*arg3);
22297
22298 wxPyEndAllowThreads(__tstate);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 {
22302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22303 }
22304 return resultobj;
22305 fail:
22306 return NULL;
22307 }
22308
22309
22310 static PyObject *_wrap_DateTime_AddTS(PyObject *, PyObject *args, PyObject *kwargs) {
22311 PyObject *resultobj;
22312 wxDateTime *arg1 = (wxDateTime *) 0 ;
22313 wxTimeSpan *arg2 = 0 ;
22314 wxDateTime *result;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self",(char *) "diff", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddTS",kwnames,&obj0,&obj1)) goto fail;
22322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22323 if (SWIG_arg_fail(1)) SWIG_fail;
22324 {
22325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22326 if (SWIG_arg_fail(2)) SWIG_fail;
22327 if (arg2 == NULL) {
22328 SWIG_null_ref("wxTimeSpan");
22329 }
22330 if (SWIG_arg_fail(2)) SWIG_fail;
22331 }
22332 {
22333 PyThreadState* __tstate = wxPyBeginAllowThreads();
22334 {
22335 wxDateTime &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
22336 result = (wxDateTime *) &_result_ref;
22337 }
22338
22339 wxPyEndAllowThreads(__tstate);
22340 if (PyErr_Occurred()) SWIG_fail;
22341 }
22342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22343 return resultobj;
22344 fail:
22345 return NULL;
22346 }
22347
22348
22349 static PyObject *_wrap_DateTime_AddDS(PyObject *, PyObject *args, PyObject *kwargs) {
22350 PyObject *resultobj;
22351 wxDateTime *arg1 = (wxDateTime *) 0 ;
22352 wxDateSpan *arg2 = 0 ;
22353 wxDateTime *result;
22354 PyObject * obj0 = 0 ;
22355 PyObject * obj1 = 0 ;
22356 char *kwnames[] = {
22357 (char *) "self",(char *) "diff", NULL
22358 };
22359
22360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_AddDS",kwnames,&obj0,&obj1)) goto fail;
22361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail;
22363 {
22364 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22365 if (SWIG_arg_fail(2)) SWIG_fail;
22366 if (arg2 == NULL) {
22367 SWIG_null_ref("wxDateSpan");
22368 }
22369 if (SWIG_arg_fail(2)) SWIG_fail;
22370 }
22371 {
22372 PyThreadState* __tstate = wxPyBeginAllowThreads();
22373 {
22374 wxDateTime &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
22375 result = (wxDateTime *) &_result_ref;
22376 }
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22382 return resultobj;
22383 fail:
22384 return NULL;
22385 }
22386
22387
22388 static PyObject *_wrap_DateTime_SubtractTS(PyObject *, PyObject *args, PyObject *kwargs) {
22389 PyObject *resultobj;
22390 wxDateTime *arg1 = (wxDateTime *) 0 ;
22391 wxTimeSpan *arg2 = 0 ;
22392 wxDateTime *result;
22393 PyObject * obj0 = 0 ;
22394 PyObject * obj1 = 0 ;
22395 char *kwnames[] = {
22396 (char *) "self",(char *) "diff", NULL
22397 };
22398
22399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractTS",kwnames,&obj0,&obj1)) goto fail;
22400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22401 if (SWIG_arg_fail(1)) SWIG_fail;
22402 {
22403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22404 if (SWIG_arg_fail(2)) SWIG_fail;
22405 if (arg2 == NULL) {
22406 SWIG_null_ref("wxTimeSpan");
22407 }
22408 if (SWIG_arg_fail(2)) SWIG_fail;
22409 }
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 {
22413 wxDateTime &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
22414 result = (wxDateTime *) &_result_ref;
22415 }
22416
22417 wxPyEndAllowThreads(__tstate);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22421 return resultobj;
22422 fail:
22423 return NULL;
22424 }
22425
22426
22427 static PyObject *_wrap_DateTime_SubtractDS(PyObject *, PyObject *args, PyObject *kwargs) {
22428 PyObject *resultobj;
22429 wxDateTime *arg1 = (wxDateTime *) 0 ;
22430 wxDateSpan *arg2 = 0 ;
22431 wxDateTime *result;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self",(char *) "diff", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_SubtractDS",kwnames,&obj0,&obj1)) goto fail;
22439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22440 if (SWIG_arg_fail(1)) SWIG_fail;
22441 {
22442 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22443 if (SWIG_arg_fail(2)) SWIG_fail;
22444 if (arg2 == NULL) {
22445 SWIG_null_ref("wxDateSpan");
22446 }
22447 if (SWIG_arg_fail(2)) SWIG_fail;
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 {
22452 wxDateTime &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
22453 result = (wxDateTime *) &_result_ref;
22454 }
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 0);
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_DateTime_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxDateTime *arg1 = (wxDateTime *) 0 ;
22469 wxDateTime *arg2 = 0 ;
22470 wxTimeSpan result;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "dt", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_Subtract",kwnames,&obj0,&obj1)) goto fail;
22478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22479 if (SWIG_arg_fail(1)) SWIG_fail;
22480 {
22481 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22482 if (SWIG_arg_fail(2)) SWIG_fail;
22483 if (arg2 == NULL) {
22484 SWIG_null_ref("wxDateTime");
22485 }
22486 if (SWIG_arg_fail(2)) SWIG_fail;
22487 }
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 result = ((wxDateTime const *)arg1)->Subtract((wxDateTime const &)*arg2);
22491
22492 wxPyEndAllowThreads(__tstate);
22493 if (PyErr_Occurred()) SWIG_fail;
22494 }
22495 {
22496 wxTimeSpan * resultptr;
22497 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
22498 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22499 }
22500 return resultobj;
22501 fail:
22502 return NULL;
22503 }
22504
22505
22506 static PyObject *_wrap_DateTime___iadd____SWIG_0(PyObject *, PyObject *args) {
22507 PyObject *resultobj;
22508 wxDateTime *arg1 = (wxDateTime *) 0 ;
22509 wxTimeSpan *arg2 = 0 ;
22510 wxDateTime *result;
22511 PyObject * obj0 = 0 ;
22512 PyObject * obj1 = 0 ;
22513
22514 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
22515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22516 if (SWIG_arg_fail(1)) SWIG_fail;
22517 {
22518 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22519 if (SWIG_arg_fail(2)) SWIG_fail;
22520 if (arg2 == NULL) {
22521 SWIG_null_ref("wxTimeSpan");
22522 }
22523 if (SWIG_arg_fail(2)) SWIG_fail;
22524 }
22525 {
22526 PyThreadState* __tstate = wxPyBeginAllowThreads();
22527 {
22528 wxDateTime &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
22529 result = (wxDateTime *) &_result_ref;
22530 }
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
22536 return resultobj;
22537 fail:
22538 return NULL;
22539 }
22540
22541
22542 static PyObject *_wrap_DateTime___iadd____SWIG_1(PyObject *, PyObject *args) {
22543 PyObject *resultobj;
22544 wxDateTime *arg1 = (wxDateTime *) 0 ;
22545 wxDateSpan *arg2 = 0 ;
22546 wxDateTime *result;
22547 PyObject * obj0 = 0 ;
22548 PyObject * obj1 = 0 ;
22549
22550 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___iadd__",&obj0,&obj1)) goto fail;
22551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22552 if (SWIG_arg_fail(1)) SWIG_fail;
22553 {
22554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22555 if (SWIG_arg_fail(2)) SWIG_fail;
22556 if (arg2 == NULL) {
22557 SWIG_null_ref("wxDateSpan");
22558 }
22559 if (SWIG_arg_fail(2)) SWIG_fail;
22560 }
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 {
22564 wxDateTime &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
22565 result = (wxDateTime *) &_result_ref;
22566 }
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
22572 return resultobj;
22573 fail:
22574 return NULL;
22575 }
22576
22577
22578 static PyObject *_wrap_DateTime___iadd__(PyObject *self, PyObject *args) {
22579 int argc;
22580 PyObject *argv[3];
22581 int ii;
22582
22583 argc = PyObject_Length(args);
22584 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22585 argv[ii] = PyTuple_GetItem(args,ii);
22586 }
22587 if (argc == 2) {
22588 int _v;
22589 {
22590 void *ptr;
22591 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22592 _v = 0;
22593 PyErr_Clear();
22594 } else {
22595 _v = 1;
22596 }
22597 }
22598 if (_v) {
22599 {
22600 void *ptr = 0;
22601 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22602 _v = 0;
22603 PyErr_Clear();
22604 } else {
22605 _v = (ptr != 0);
22606 }
22607 }
22608 if (_v) {
22609 return _wrap_DateTime___iadd____SWIG_0(self,args);
22610 }
22611 }
22612 }
22613 if (argc == 2) {
22614 int _v;
22615 {
22616 void *ptr;
22617 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22618 _v = 0;
22619 PyErr_Clear();
22620 } else {
22621 _v = 1;
22622 }
22623 }
22624 if (_v) {
22625 {
22626 void *ptr = 0;
22627 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22628 _v = 0;
22629 PyErr_Clear();
22630 } else {
22631 _v = (ptr != 0);
22632 }
22633 }
22634 if (_v) {
22635 return _wrap_DateTime___iadd____SWIG_1(self,args);
22636 }
22637 }
22638 }
22639
22640 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___iadd__'");
22641 return NULL;
22642 }
22643
22644
22645 static PyObject *_wrap_DateTime___isub____SWIG_0(PyObject *, PyObject *args) {
22646 PyObject *resultobj;
22647 wxDateTime *arg1 = (wxDateTime *) 0 ;
22648 wxTimeSpan *arg2 = 0 ;
22649 wxDateTime *result;
22650 PyObject * obj0 = 0 ;
22651 PyObject * obj1 = 0 ;
22652
22653 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
22654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22655 if (SWIG_arg_fail(1)) SWIG_fail;
22656 {
22657 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22658 if (SWIG_arg_fail(2)) SWIG_fail;
22659 if (arg2 == NULL) {
22660 SWIG_null_ref("wxTimeSpan");
22661 }
22662 if (SWIG_arg_fail(2)) SWIG_fail;
22663 }
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 {
22667 wxDateTime &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
22668 result = (wxDateTime *) &_result_ref;
22669 }
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
22675 return resultobj;
22676 fail:
22677 return NULL;
22678 }
22679
22680
22681 static PyObject *_wrap_DateTime___isub____SWIG_1(PyObject *, PyObject *args) {
22682 PyObject *resultobj;
22683 wxDateTime *arg1 = (wxDateTime *) 0 ;
22684 wxDateSpan *arg2 = 0 ;
22685 wxDateTime *result;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688
22689 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___isub__",&obj0,&obj1)) goto fail;
22690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
22691 if (SWIG_arg_fail(1)) SWIG_fail;
22692 {
22693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22694 if (SWIG_arg_fail(2)) SWIG_fail;
22695 if (arg2 == NULL) {
22696 SWIG_null_ref("wxDateSpan");
22697 }
22698 if (SWIG_arg_fail(2)) SWIG_fail;
22699 }
22700 {
22701 PyThreadState* __tstate = wxPyBeginAllowThreads();
22702 {
22703 wxDateTime &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
22704 result = (wxDateTime *) &_result_ref;
22705 }
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateTime, 1);
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_DateTime___isub__(PyObject *self, PyObject *args) {
22718 int argc;
22719 PyObject *argv[3];
22720 int ii;
22721
22722 argc = PyObject_Length(args);
22723 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22724 argv[ii] = PyTuple_GetItem(args,ii);
22725 }
22726 if (argc == 2) {
22727 int _v;
22728 {
22729 void *ptr;
22730 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22731 _v = 0;
22732 PyErr_Clear();
22733 } else {
22734 _v = 1;
22735 }
22736 }
22737 if (_v) {
22738 {
22739 void *ptr = 0;
22740 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22741 _v = 0;
22742 PyErr_Clear();
22743 } else {
22744 _v = (ptr != 0);
22745 }
22746 }
22747 if (_v) {
22748 return _wrap_DateTime___isub____SWIG_0(self,args);
22749 }
22750 }
22751 }
22752 if (argc == 2) {
22753 int _v;
22754 {
22755 void *ptr;
22756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22757 _v = 0;
22758 PyErr_Clear();
22759 } else {
22760 _v = 1;
22761 }
22762 }
22763 if (_v) {
22764 {
22765 void *ptr = 0;
22766 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22767 _v = 0;
22768 PyErr_Clear();
22769 } else {
22770 _v = (ptr != 0);
22771 }
22772 }
22773 if (_v) {
22774 return _wrap_DateTime___isub____SWIG_1(self,args);
22775 }
22776 }
22777 }
22778
22779 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'DateTime___isub__'");
22780 return NULL;
22781 }
22782
22783
22784 static PyObject *_wrap_DateTime___add____SWIG_0(PyObject *, PyObject *args) {
22785 PyObject *resultobj;
22786 wxDateTime *arg1 = (wxDateTime *) 0 ;
22787 wxTimeSpan *arg2 = 0 ;
22788 wxDateTime result;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791
22792 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
22793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22794 if (SWIG_arg_fail(1)) SWIG_fail;
22795 {
22796 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22797 if (SWIG_arg_fail(2)) SWIG_fail;
22798 if (arg2 == NULL) {
22799 SWIG_null_ref("wxTimeSpan");
22800 }
22801 if (SWIG_arg_fail(2)) SWIG_fail;
22802 }
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = wxDateTime___add____SWIG_0(arg1,(wxTimeSpan const &)*arg2);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 {
22811 wxDateTime * resultptr;
22812 resultptr = new wxDateTime((wxDateTime &)(result));
22813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818 }
22819
22820
22821 static PyObject *_wrap_DateTime___add____SWIG_1(PyObject *, PyObject *args) {
22822 PyObject *resultobj;
22823 wxDateTime *arg1 = (wxDateTime *) 0 ;
22824 wxDateSpan *arg2 = 0 ;
22825 wxDateTime result;
22826 PyObject * obj0 = 0 ;
22827 PyObject * obj1 = 0 ;
22828
22829 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___add__",&obj0,&obj1)) goto fail;
22830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22831 if (SWIG_arg_fail(1)) SWIG_fail;
22832 {
22833 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
22834 if (SWIG_arg_fail(2)) SWIG_fail;
22835 if (arg2 == NULL) {
22836 SWIG_null_ref("wxDateSpan");
22837 }
22838 if (SWIG_arg_fail(2)) SWIG_fail;
22839 }
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 result = wxDateTime___add____SWIG_1(arg1,(wxDateSpan const &)*arg2);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 {
22848 wxDateTime * resultptr;
22849 resultptr = new wxDateTime((wxDateTime &)(result));
22850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22851 }
22852 return resultobj;
22853 fail:
22854 return NULL;
22855 }
22856
22857
22858 static PyObject *_wrap_DateTime___add__(PyObject *self, PyObject *args) {
22859 int argc;
22860 PyObject *argv[3];
22861 int ii;
22862
22863 argc = PyObject_Length(args);
22864 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
22865 argv[ii] = PyTuple_GetItem(args,ii);
22866 }
22867 if (argc == 2) {
22868 int _v;
22869 {
22870 void *ptr;
22871 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22872 _v = 0;
22873 PyErr_Clear();
22874 } else {
22875 _v = 1;
22876 }
22877 }
22878 if (_v) {
22879 {
22880 void *ptr = 0;
22881 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
22882 _v = 0;
22883 PyErr_Clear();
22884 } else {
22885 _v = (ptr != 0);
22886 }
22887 }
22888 if (_v) {
22889 return _wrap_DateTime___add____SWIG_0(self,args);
22890 }
22891 }
22892 }
22893 if (argc == 2) {
22894 int _v;
22895 {
22896 void *ptr;
22897 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
22898 _v = 0;
22899 PyErr_Clear();
22900 } else {
22901 _v = 1;
22902 }
22903 }
22904 if (_v) {
22905 {
22906 void *ptr = 0;
22907 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
22908 _v = 0;
22909 PyErr_Clear();
22910 } else {
22911 _v = (ptr != 0);
22912 }
22913 }
22914 if (_v) {
22915 return _wrap_DateTime___add____SWIG_1(self,args);
22916 }
22917 }
22918 }
22919
22920 Py_INCREF(Py_NotImplemented);
22921 return Py_NotImplemented;
22922 }
22923
22924
22925 static PyObject *_wrap_DateTime___sub____SWIG_0(PyObject *, PyObject *args) {
22926 PyObject *resultobj;
22927 wxDateTime *arg1 = (wxDateTime *) 0 ;
22928 wxDateTime *arg2 = 0 ;
22929 wxTimeSpan result;
22930 PyObject * obj0 = 0 ;
22931 PyObject * obj1 = 0 ;
22932
22933 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
22934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22935 if (SWIG_arg_fail(1)) SWIG_fail;
22936 {
22937 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22938 if (SWIG_arg_fail(2)) SWIG_fail;
22939 if (arg2 == NULL) {
22940 SWIG_null_ref("wxDateTime");
22941 }
22942 if (SWIG_arg_fail(2)) SWIG_fail;
22943 }
22944 {
22945 PyThreadState* __tstate = wxPyBeginAllowThreads();
22946 result = wxDateTime___sub____SWIG_0(arg1,(wxDateTime const &)*arg2);
22947
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 {
22952 wxTimeSpan * resultptr;
22953 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
22954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
22955 }
22956 return resultobj;
22957 fail:
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_DateTime___sub____SWIG_1(PyObject *, PyObject *args) {
22963 PyObject *resultobj;
22964 wxDateTime *arg1 = (wxDateTime *) 0 ;
22965 wxTimeSpan *arg2 = 0 ;
22966 wxDateTime result;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969
22970 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
22971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
22972 if (SWIG_arg_fail(1)) SWIG_fail;
22973 {
22974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
22975 if (SWIG_arg_fail(2)) SWIG_fail;
22976 if (arg2 == NULL) {
22977 SWIG_null_ref("wxTimeSpan");
22978 }
22979 if (SWIG_arg_fail(2)) SWIG_fail;
22980 }
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 result = wxDateTime___sub____SWIG_1(arg1,(wxTimeSpan const &)*arg2);
22984
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 wxDateTime * resultptr;
22990 resultptr = new wxDateTime((wxDateTime &)(result));
22991 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
22992 }
22993 return resultobj;
22994 fail:
22995 return NULL;
22996 }
22997
22998
22999 static PyObject *_wrap_DateTime___sub____SWIG_2(PyObject *, PyObject *args) {
23000 PyObject *resultobj;
23001 wxDateTime *arg1 = (wxDateTime *) 0 ;
23002 wxDateSpan *arg2 = 0 ;
23003 wxDateTime result;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006
23007 if(!PyArg_ParseTuple(args,(char *)"OO:DateTime___sub__",&obj0,&obj1)) goto fail;
23008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23009 if (SWIG_arg_fail(1)) SWIG_fail;
23010 {
23011 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
23012 if (SWIG_arg_fail(2)) SWIG_fail;
23013 if (arg2 == NULL) {
23014 SWIG_null_ref("wxDateSpan");
23015 }
23016 if (SWIG_arg_fail(2)) SWIG_fail;
23017 }
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 result = wxDateTime___sub____SWIG_2(arg1,(wxDateSpan const &)*arg2);
23021
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 {
23026 wxDateTime * resultptr;
23027 resultptr = new wxDateTime((wxDateTime &)(result));
23028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
23029 }
23030 return resultobj;
23031 fail:
23032 return NULL;
23033 }
23034
23035
23036 static PyObject *_wrap_DateTime___sub__(PyObject *self, PyObject *args) {
23037 int argc;
23038 PyObject *argv[3];
23039 int ii;
23040
23041 argc = PyObject_Length(args);
23042 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
23043 argv[ii] = PyTuple_GetItem(args,ii);
23044 }
23045 if (argc == 2) {
23046 int _v;
23047 {
23048 void *ptr;
23049 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23050 _v = 0;
23051 PyErr_Clear();
23052 } else {
23053 _v = 1;
23054 }
23055 }
23056 if (_v) {
23057 {
23058 void *ptr = 0;
23059 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23060 _v = 0;
23061 PyErr_Clear();
23062 } else {
23063 _v = (ptr != 0);
23064 }
23065 }
23066 if (_v) {
23067 return _wrap_DateTime___sub____SWIG_0(self,args);
23068 }
23069 }
23070 }
23071 if (argc == 2) {
23072 int _v;
23073 {
23074 void *ptr;
23075 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23076 _v = 0;
23077 PyErr_Clear();
23078 } else {
23079 _v = 1;
23080 }
23081 }
23082 if (_v) {
23083 {
23084 void *ptr = 0;
23085 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxTimeSpan, 0) == -1) {
23086 _v = 0;
23087 PyErr_Clear();
23088 } else {
23089 _v = (ptr != 0);
23090 }
23091 }
23092 if (_v) {
23093 return _wrap_DateTime___sub____SWIG_1(self,args);
23094 }
23095 }
23096 }
23097 if (argc == 2) {
23098 int _v;
23099 {
23100 void *ptr;
23101 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDateTime, 0) == -1) {
23102 _v = 0;
23103 PyErr_Clear();
23104 } else {
23105 _v = 1;
23106 }
23107 }
23108 if (_v) {
23109 {
23110 void *ptr = 0;
23111 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDateSpan, 0) == -1) {
23112 _v = 0;
23113 PyErr_Clear();
23114 } else {
23115 _v = (ptr != 0);
23116 }
23117 }
23118 if (_v) {
23119 return _wrap_DateTime___sub____SWIG_2(self,args);
23120 }
23121 }
23122 }
23123
23124 Py_INCREF(Py_NotImplemented);
23125 return Py_NotImplemented;
23126 }
23127
23128
23129 static PyObject *_wrap_DateTime___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
23130 PyObject *resultobj;
23131 wxDateTime *arg1 = (wxDateTime *) 0 ;
23132 wxDateTime *arg2 = (wxDateTime *) 0 ;
23133 bool result;
23134 PyObject * obj0 = 0 ;
23135 PyObject * obj1 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self",(char *) "other", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___lt__",kwnames,&obj0,&obj1)) goto fail;
23141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23142 if (SWIG_arg_fail(1)) SWIG_fail;
23143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23144 if (SWIG_arg_fail(2)) SWIG_fail;
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 result = (bool)wxDateTime___lt__(arg1,(wxDateTime const *)arg2);
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 {
23153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23154 }
23155 return resultobj;
23156 fail:
23157 return NULL;
23158 }
23159
23160
23161 static PyObject *_wrap_DateTime___le__(PyObject *, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxDateTime *arg1 = (wxDateTime *) 0 ;
23164 wxDateTime *arg2 = (wxDateTime *) 0 ;
23165 bool result;
23166 PyObject * obj0 = 0 ;
23167 PyObject * obj1 = 0 ;
23168 char *kwnames[] = {
23169 (char *) "self",(char *) "other", NULL
23170 };
23171
23172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___le__",kwnames,&obj0,&obj1)) goto fail;
23173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23174 if (SWIG_arg_fail(1)) SWIG_fail;
23175 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23176 if (SWIG_arg_fail(2)) SWIG_fail;
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (bool)wxDateTime___le__(arg1,(wxDateTime const *)arg2);
23180
23181 wxPyEndAllowThreads(__tstate);
23182 if (PyErr_Occurred()) SWIG_fail;
23183 }
23184 {
23185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23186 }
23187 return resultobj;
23188 fail:
23189 return NULL;
23190 }
23191
23192
23193 static PyObject *_wrap_DateTime___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
23194 PyObject *resultobj;
23195 wxDateTime *arg1 = (wxDateTime *) 0 ;
23196 wxDateTime *arg2 = (wxDateTime *) 0 ;
23197 bool result;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self",(char *) "other", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___gt__",kwnames,&obj0,&obj1)) goto fail;
23205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail;
23207 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23208 if (SWIG_arg_fail(2)) SWIG_fail;
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)wxDateTime___gt__(arg1,(wxDateTime const *)arg2);
23212
23213 wxPyEndAllowThreads(__tstate);
23214 if (PyErr_Occurred()) SWIG_fail;
23215 }
23216 {
23217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23218 }
23219 return resultobj;
23220 fail:
23221 return NULL;
23222 }
23223
23224
23225 static PyObject *_wrap_DateTime___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
23226 PyObject *resultobj;
23227 wxDateTime *arg1 = (wxDateTime *) 0 ;
23228 wxDateTime *arg2 = (wxDateTime *) 0 ;
23229 bool result;
23230 PyObject * obj0 = 0 ;
23231 PyObject * obj1 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "other", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ge__",kwnames,&obj0,&obj1)) goto fail;
23237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23238 if (SWIG_arg_fail(1)) SWIG_fail;
23239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23240 if (SWIG_arg_fail(2)) SWIG_fail;
23241 {
23242 PyThreadState* __tstate = wxPyBeginAllowThreads();
23243 result = (bool)wxDateTime___ge__(arg1,(wxDateTime const *)arg2);
23244
23245 wxPyEndAllowThreads(__tstate);
23246 if (PyErr_Occurred()) SWIG_fail;
23247 }
23248 {
23249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23250 }
23251 return resultobj;
23252 fail:
23253 return NULL;
23254 }
23255
23256
23257 static PyObject *_wrap_DateTime___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj;
23259 wxDateTime *arg1 = (wxDateTime *) 0 ;
23260 wxDateTime *arg2 = (wxDateTime *) 0 ;
23261 bool result;
23262 PyObject * obj0 = 0 ;
23263 PyObject * obj1 = 0 ;
23264 char *kwnames[] = {
23265 (char *) "self",(char *) "other", NULL
23266 };
23267
23268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___eq__",kwnames,&obj0,&obj1)) goto fail;
23269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23270 if (SWIG_arg_fail(1)) SWIG_fail;
23271 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23272 if (SWIG_arg_fail(2)) SWIG_fail;
23273 {
23274 PyThreadState* __tstate = wxPyBeginAllowThreads();
23275 result = (bool)wxDateTime___eq__(arg1,(wxDateTime const *)arg2);
23276
23277 wxPyEndAllowThreads(__tstate);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 }
23280 {
23281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23282 }
23283 return resultobj;
23284 fail:
23285 return NULL;
23286 }
23287
23288
23289 static PyObject *_wrap_DateTime___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
23290 PyObject *resultobj;
23291 wxDateTime *arg1 = (wxDateTime *) 0 ;
23292 wxDateTime *arg2 = (wxDateTime *) 0 ;
23293 bool result;
23294 PyObject * obj0 = 0 ;
23295 PyObject * obj1 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self",(char *) "other", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime___ne__",kwnames,&obj0,&obj1)) goto fail;
23301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23302 if (SWIG_arg_fail(1)) SWIG_fail;
23303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23304 if (SWIG_arg_fail(2)) SWIG_fail;
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 result = (bool)wxDateTime___ne__(arg1,(wxDateTime const *)arg2);
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 {
23313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23314 }
23315 return resultobj;
23316 fail:
23317 return NULL;
23318 }
23319
23320
23321 static PyObject *_wrap_DateTime_ParseRfc822Date(PyObject *, PyObject *args, PyObject *kwargs) {
23322 PyObject *resultobj;
23323 wxDateTime *arg1 = (wxDateTime *) 0 ;
23324 wxString *arg2 = 0 ;
23325 int result;
23326 bool temp2 = false ;
23327 PyObject * obj0 = 0 ;
23328 PyObject * obj1 = 0 ;
23329 char *kwnames[] = {
23330 (char *) "self",(char *) "date", NULL
23331 };
23332
23333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseRfc822Date",kwnames,&obj0,&obj1)) goto fail;
23334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23335 if (SWIG_arg_fail(1)) SWIG_fail;
23336 {
23337 arg2 = wxString_in_helper(obj1);
23338 if (arg2 == NULL) SWIG_fail;
23339 temp2 = true;
23340 }
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 result = (int)wxDateTime_ParseRfc822Date(arg1,(wxString const &)*arg2);
23344
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 {
23349 resultobj = SWIG_From_int((int)(result));
23350 }
23351 {
23352 if (temp2)
23353 delete arg2;
23354 }
23355 return resultobj;
23356 fail:
23357 {
23358 if (temp2)
23359 delete arg2;
23360 }
23361 return NULL;
23362 }
23363
23364
23365 static PyObject *_wrap_DateTime_ParseFormat(PyObject *, PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj;
23367 wxDateTime *arg1 = (wxDateTime *) 0 ;
23368 wxString *arg2 = 0 ;
23369 wxString const &arg3_defvalue = wxPyDefaultDateTimeFormat ;
23370 wxString *arg3 = (wxString *) &arg3_defvalue ;
23371 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
23372 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
23373 int result;
23374 bool temp2 = false ;
23375 bool temp3 = false ;
23376 PyObject * obj0 = 0 ;
23377 PyObject * obj1 = 0 ;
23378 PyObject * obj2 = 0 ;
23379 PyObject * obj3 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:DateTime_ParseFormat",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23385 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23386 if (SWIG_arg_fail(1)) SWIG_fail;
23387 {
23388 arg2 = wxString_in_helper(obj1);
23389 if (arg2 == NULL) SWIG_fail;
23390 temp2 = true;
23391 }
23392 if (obj2) {
23393 {
23394 arg3 = wxString_in_helper(obj2);
23395 if (arg3 == NULL) SWIG_fail;
23396 temp3 = true;
23397 }
23398 }
23399 if (obj3) {
23400 {
23401 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23402 if (SWIG_arg_fail(4)) SWIG_fail;
23403 if (arg4 == NULL) {
23404 SWIG_null_ref("wxDateTime");
23405 }
23406 if (SWIG_arg_fail(4)) SWIG_fail;
23407 }
23408 }
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (int)wxDateTime_ParseFormat(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxDateTime const &)*arg4);
23412
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 {
23417 resultobj = SWIG_From_int((int)(result));
23418 }
23419 {
23420 if (temp2)
23421 delete arg2;
23422 }
23423 {
23424 if (temp3)
23425 delete arg3;
23426 }
23427 return resultobj;
23428 fail:
23429 {
23430 if (temp2)
23431 delete arg2;
23432 }
23433 {
23434 if (temp3)
23435 delete arg3;
23436 }
23437 return NULL;
23438 }
23439
23440
23441 static PyObject *_wrap_DateTime_ParseDateTime(PyObject *, PyObject *args, PyObject *kwargs) {
23442 PyObject *resultobj;
23443 wxDateTime *arg1 = (wxDateTime *) 0 ;
23444 wxString *arg2 = 0 ;
23445 int result;
23446 bool temp2 = false ;
23447 PyObject * obj0 = 0 ;
23448 PyObject * obj1 = 0 ;
23449 char *kwnames[] = {
23450 (char *) "self",(char *) "datetime", NULL
23451 };
23452
23453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDateTime",kwnames,&obj0,&obj1)) goto fail;
23454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23455 if (SWIG_arg_fail(1)) SWIG_fail;
23456 {
23457 arg2 = wxString_in_helper(obj1);
23458 if (arg2 == NULL) SWIG_fail;
23459 temp2 = true;
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 result = (int)wxDateTime_ParseDateTime(arg1,(wxString const &)*arg2);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 {
23469 resultobj = SWIG_From_int((int)(result));
23470 }
23471 {
23472 if (temp2)
23473 delete arg2;
23474 }
23475 return resultobj;
23476 fail:
23477 {
23478 if (temp2)
23479 delete arg2;
23480 }
23481 return NULL;
23482 }
23483
23484
23485 static PyObject *_wrap_DateTime_ParseDate(PyObject *, PyObject *args, PyObject *kwargs) {
23486 PyObject *resultobj;
23487 wxDateTime *arg1 = (wxDateTime *) 0 ;
23488 wxString *arg2 = 0 ;
23489 int result;
23490 bool temp2 = false ;
23491 PyObject * obj0 = 0 ;
23492 PyObject * obj1 = 0 ;
23493 char *kwnames[] = {
23494 (char *) "self",(char *) "date", NULL
23495 };
23496
23497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseDate",kwnames,&obj0,&obj1)) goto fail;
23498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23499 if (SWIG_arg_fail(1)) SWIG_fail;
23500 {
23501 arg2 = wxString_in_helper(obj1);
23502 if (arg2 == NULL) SWIG_fail;
23503 temp2 = true;
23504 }
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = (int)wxDateTime_ParseDate(arg1,(wxString const &)*arg2);
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 {
23513 resultobj = SWIG_From_int((int)(result));
23514 }
23515 {
23516 if (temp2)
23517 delete arg2;
23518 }
23519 return resultobj;
23520 fail:
23521 {
23522 if (temp2)
23523 delete arg2;
23524 }
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_DateTime_ParseTime(PyObject *, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxDateTime *arg1 = (wxDateTime *) 0 ;
23532 wxString *arg2 = 0 ;
23533 int result;
23534 bool temp2 = false ;
23535 PyObject * obj0 = 0 ;
23536 PyObject * obj1 = 0 ;
23537 char *kwnames[] = {
23538 (char *) "self",(char *) "time", NULL
23539 };
23540
23541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateTime_ParseTime",kwnames,&obj0,&obj1)) goto fail;
23542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23543 if (SWIG_arg_fail(1)) SWIG_fail;
23544 {
23545 arg2 = wxString_in_helper(obj1);
23546 if (arg2 == NULL) SWIG_fail;
23547 temp2 = true;
23548 }
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 result = (int)wxDateTime_ParseTime(arg1,(wxString const &)*arg2);
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 {
23557 resultobj = SWIG_From_int((int)(result));
23558 }
23559 {
23560 if (temp2)
23561 delete arg2;
23562 }
23563 return resultobj;
23564 fail:
23565 {
23566 if (temp2)
23567 delete arg2;
23568 }
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_DateTime_Format(PyObject *, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxDateTime *arg1 = (wxDateTime *) 0 ;
23576 wxString const &arg2_defvalue = wxPyDefaultDateTimeFormat ;
23577 wxString *arg2 = (wxString *) &arg2_defvalue ;
23578 wxDateTime::TimeZone const &arg3_defvalue = LOCAL_TZ ;
23579 wxDateTime::TimeZone *arg3 = (wxDateTime::TimeZone *) &arg3_defvalue ;
23580 wxString result;
23581 bool temp2 = false ;
23582 bool temp3 = false ;
23583 PyObject * obj0 = 0 ;
23584 PyObject * obj1 = 0 ;
23585 PyObject * obj2 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self",(char *) "format",(char *) "tz", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:DateTime_Format",kwnames,&obj0,&obj1,&obj2)) goto fail;
23591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail;
23593 if (obj1) {
23594 {
23595 arg2 = wxString_in_helper(obj1);
23596 if (arg2 == NULL) SWIG_fail;
23597 temp2 = true;
23598 }
23599 }
23600 if (obj2) {
23601 {
23602 arg3 = new wxDateTime::TimeZone((wxDateTime::TZ)PyInt_AsLong(obj2));
23603 temp3 = true;
23604 }
23605 }
23606 {
23607 PyThreadState* __tstate = wxPyBeginAllowThreads();
23608 result = ((wxDateTime const *)arg1)->Format((wxString const &)*arg2,(wxDateTime::TimeZone const &)*arg3);
23609
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614 #if wxUSE_UNICODE
23615 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23616 #else
23617 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23618 #endif
23619 }
23620 {
23621 if (temp2)
23622 delete arg2;
23623 }
23624 {
23625 if (temp3) delete arg3;
23626 }
23627 return resultobj;
23628 fail:
23629 {
23630 if (temp2)
23631 delete arg2;
23632 }
23633 {
23634 if (temp3) delete arg3;
23635 }
23636 return NULL;
23637 }
23638
23639
23640 static PyObject *_wrap_DateTime_FormatDate(PyObject *, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxDateTime *arg1 = (wxDateTime *) 0 ;
23643 wxString result;
23644 PyObject * obj0 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatDate",kwnames,&obj0)) goto fail;
23650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23651 if (SWIG_arg_fail(1)) SWIG_fail;
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 result = ((wxDateTime const *)arg1)->FormatDate();
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 {
23660 #if wxUSE_UNICODE
23661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23662 #else
23663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23664 #endif
23665 }
23666 return resultobj;
23667 fail:
23668 return NULL;
23669 }
23670
23671
23672 static PyObject *_wrap_DateTime_FormatTime(PyObject *, PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj;
23674 wxDateTime *arg1 = (wxDateTime *) 0 ;
23675 wxString result;
23676 PyObject * obj0 = 0 ;
23677 char *kwnames[] = {
23678 (char *) "self", NULL
23679 };
23680
23681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatTime",kwnames,&obj0)) goto fail;
23682 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23683 if (SWIG_arg_fail(1)) SWIG_fail;
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 result = ((wxDateTime const *)arg1)->FormatTime();
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 {
23692 #if wxUSE_UNICODE
23693 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23694 #else
23695 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23696 #endif
23697 }
23698 return resultobj;
23699 fail:
23700 return NULL;
23701 }
23702
23703
23704 static PyObject *_wrap_DateTime_FormatISODate(PyObject *, PyObject *args, PyObject *kwargs) {
23705 PyObject *resultobj;
23706 wxDateTime *arg1 = (wxDateTime *) 0 ;
23707 wxString result;
23708 PyObject * obj0 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISODate",kwnames,&obj0)) goto fail;
23714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23715 if (SWIG_arg_fail(1)) SWIG_fail;
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 result = ((wxDateTime const *)arg1)->FormatISODate();
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 {
23724 #if wxUSE_UNICODE
23725 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23726 #else
23727 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23728 #endif
23729 }
23730 return resultobj;
23731 fail:
23732 return NULL;
23733 }
23734
23735
23736 static PyObject *_wrap_DateTime_FormatISOTime(PyObject *, PyObject *args, PyObject *kwargs) {
23737 PyObject *resultobj;
23738 wxDateTime *arg1 = (wxDateTime *) 0 ;
23739 wxString result;
23740 PyObject * obj0 = 0 ;
23741 char *kwnames[] = {
23742 (char *) "self", NULL
23743 };
23744
23745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateTime_FormatISOTime",kwnames,&obj0)) goto fail;
23746 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
23747 if (SWIG_arg_fail(1)) SWIG_fail;
23748 {
23749 PyThreadState* __tstate = wxPyBeginAllowThreads();
23750 result = ((wxDateTime const *)arg1)->FormatISOTime();
23751
23752 wxPyEndAllowThreads(__tstate);
23753 if (PyErr_Occurred()) SWIG_fail;
23754 }
23755 {
23756 #if wxUSE_UNICODE
23757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23758 #else
23759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23760 #endif
23761 }
23762 return resultobj;
23763 fail:
23764 return NULL;
23765 }
23766
23767
23768 static PyObject * DateTime_swigregister(PyObject *, PyObject *args) {
23769 PyObject *obj;
23770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23771 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime, obj);
23772 Py_INCREF(obj);
23773 return Py_BuildValue((char *)"");
23774 }
23775 static PyObject *_wrap_TimeSpan_Seconds(PyObject *, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 long arg1 ;
23778 wxTimeSpan result;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "sec", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Seconds",kwnames,&obj0)) goto fail;
23785 {
23786 arg1 = (long)(SWIG_As_long(obj0));
23787 if (SWIG_arg_fail(1)) SWIG_fail;
23788 }
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = wxTimeSpan::Seconds(arg1);
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
23796 {
23797 wxTimeSpan * resultptr;
23798 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23799 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23800 }
23801 return resultobj;
23802 fail:
23803 return NULL;
23804 }
23805
23806
23807 static PyObject *_wrap_TimeSpan_Second(PyObject *, PyObject *args, PyObject *kwargs) {
23808 PyObject *resultobj;
23809 wxTimeSpan result;
23810 char *kwnames[] = {
23811 NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Second",kwnames)) goto fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = wxTimeSpan::Second();
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 {
23823 wxTimeSpan * resultptr;
23824 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23826 }
23827 return resultobj;
23828 fail:
23829 return NULL;
23830 }
23831
23832
23833 static PyObject *_wrap_TimeSpan_Minutes(PyObject *, PyObject *args, PyObject *kwargs) {
23834 PyObject *resultobj;
23835 long arg1 ;
23836 wxTimeSpan result;
23837 PyObject * obj0 = 0 ;
23838 char *kwnames[] = {
23839 (char *) "min", NULL
23840 };
23841
23842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Minutes",kwnames,&obj0)) goto fail;
23843 {
23844 arg1 = (long)(SWIG_As_long(obj0));
23845 if (SWIG_arg_fail(1)) SWIG_fail;
23846 }
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 result = wxTimeSpan::Minutes(arg1);
23850
23851 wxPyEndAllowThreads(__tstate);
23852 if (PyErr_Occurred()) SWIG_fail;
23853 }
23854 {
23855 wxTimeSpan * resultptr;
23856 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23858 }
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_TimeSpan_Minute(PyObject *, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj;
23867 wxTimeSpan result;
23868 char *kwnames[] = {
23869 NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Minute",kwnames)) goto fail;
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 result = wxTimeSpan::Minute();
23876
23877 wxPyEndAllowThreads(__tstate);
23878 if (PyErr_Occurred()) SWIG_fail;
23879 }
23880 {
23881 wxTimeSpan * resultptr;
23882 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23884 }
23885 return resultobj;
23886 fail:
23887 return NULL;
23888 }
23889
23890
23891 static PyObject *_wrap_TimeSpan_Hours(PyObject *, PyObject *args, PyObject *kwargs) {
23892 PyObject *resultobj;
23893 long arg1 ;
23894 wxTimeSpan result;
23895 PyObject * obj0 = 0 ;
23896 char *kwnames[] = {
23897 (char *) "hours", NULL
23898 };
23899
23900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Hours",kwnames,&obj0)) goto fail;
23901 {
23902 arg1 = (long)(SWIG_As_long(obj0));
23903 if (SWIG_arg_fail(1)) SWIG_fail;
23904 }
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 result = wxTimeSpan::Hours(arg1);
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
23912 {
23913 wxTimeSpan * resultptr;
23914 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23916 }
23917 return resultobj;
23918 fail:
23919 return NULL;
23920 }
23921
23922
23923 static PyObject *_wrap_TimeSpan_Hour(PyObject *, PyObject *args, PyObject *kwargs) {
23924 PyObject *resultobj;
23925 wxTimeSpan result;
23926 char *kwnames[] = {
23927 NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Hour",kwnames)) goto fail;
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 result = wxTimeSpan::Hour();
23934
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 {
23939 wxTimeSpan * resultptr;
23940 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23941 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23942 }
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_TimeSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 long arg1 ;
23952 wxTimeSpan result;
23953 PyObject * obj0 = 0 ;
23954 char *kwnames[] = {
23955 (char *) "days", NULL
23956 };
23957
23958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Days",kwnames,&obj0)) goto fail;
23959 {
23960 arg1 = (long)(SWIG_As_long(obj0));
23961 if (SWIG_arg_fail(1)) SWIG_fail;
23962 }
23963 {
23964 PyThreadState* __tstate = wxPyBeginAllowThreads();
23965 result = wxTimeSpan::Days(arg1);
23966
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 {
23971 wxTimeSpan * resultptr;
23972 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23973 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
23974 }
23975 return resultobj;
23976 fail:
23977 return NULL;
23978 }
23979
23980
23981 static PyObject *_wrap_TimeSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
23982 PyObject *resultobj;
23983 wxTimeSpan result;
23984 char *kwnames[] = {
23985 NULL
23986 };
23987
23988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Day",kwnames)) goto fail;
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 result = wxTimeSpan::Day();
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 {
23997 wxTimeSpan * resultptr;
23998 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
23999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24000 }
24001 return resultobj;
24002 fail:
24003 return NULL;
24004 }
24005
24006
24007 static PyObject *_wrap_TimeSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
24008 PyObject *resultobj;
24009 long arg1 ;
24010 wxTimeSpan result;
24011 PyObject * obj0 = 0 ;
24012 char *kwnames[] = {
24013 (char *) "days", NULL
24014 };
24015
24016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Weeks",kwnames,&obj0)) goto fail;
24017 {
24018 arg1 = (long)(SWIG_As_long(obj0));
24019 if (SWIG_arg_fail(1)) SWIG_fail;
24020 }
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = wxTimeSpan::Weeks(arg1);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 wxTimeSpan * resultptr;
24030 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24031 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24032 }
24033 return resultobj;
24034 fail:
24035 return NULL;
24036 }
24037
24038
24039 static PyObject *_wrap_TimeSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
24040 PyObject *resultobj;
24041 wxTimeSpan result;
24042 char *kwnames[] = {
24043 NULL
24044 };
24045
24046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":TimeSpan_Week",kwnames)) goto fail;
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = wxTimeSpan::Week();
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 {
24055 wxTimeSpan * resultptr;
24056 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24058 }
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 static PyObject *_wrap_new_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
24066 PyObject *resultobj;
24067 long arg1 = (long) 0 ;
24068 long arg2 = (long) 0 ;
24069 long arg3 = (long) 0 ;
24070 long arg4 = (long) 0 ;
24071 wxTimeSpan *result;
24072 PyObject * obj0 = 0 ;
24073 PyObject * obj1 = 0 ;
24074 PyObject * obj2 = 0 ;
24075 PyObject * obj3 = 0 ;
24076 char *kwnames[] = {
24077 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
24078 };
24079
24080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TimeSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24081 if (obj0) {
24082 {
24083 arg1 = (long)(SWIG_As_long(obj0));
24084 if (SWIG_arg_fail(1)) SWIG_fail;
24085 }
24086 }
24087 if (obj1) {
24088 {
24089 arg2 = (long)(SWIG_As_long(obj1));
24090 if (SWIG_arg_fail(2)) SWIG_fail;
24091 }
24092 }
24093 if (obj2) {
24094 {
24095 arg3 = (long)(SWIG_As_long(obj2));
24096 if (SWIG_arg_fail(3)) SWIG_fail;
24097 }
24098 }
24099 if (obj3) {
24100 {
24101 arg4 = (long)(SWIG_As_long(obj3));
24102 if (SWIG_arg_fail(4)) SWIG_fail;
24103 }
24104 }
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (wxTimeSpan *)new wxTimeSpan(arg1,arg2,arg3,arg4);
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24113 return resultobj;
24114 fail:
24115 return NULL;
24116 }
24117
24118
24119 static PyObject *_wrap_delete_TimeSpan(PyObject *, PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj;
24121 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24122 PyObject * obj0 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TimeSpan",kwnames,&obj0)) goto fail;
24128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24129 if (SWIG_arg_fail(1)) SWIG_fail;
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 delete arg1;
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 Py_INCREF(Py_None); resultobj = Py_None;
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 static PyObject *_wrap_TimeSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
24145 PyObject *resultobj;
24146 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24147 wxTimeSpan *arg2 = 0 ;
24148 wxTimeSpan *result;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "diff", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Add",kwnames,&obj0,&obj1)) goto fail;
24156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24157 if (SWIG_arg_fail(1)) SWIG_fail;
24158 {
24159 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24160 if (SWIG_arg_fail(2)) SWIG_fail;
24161 if (arg2 == NULL) {
24162 SWIG_null_ref("wxTimeSpan");
24163 }
24164 if (SWIG_arg_fail(2)) SWIG_fail;
24165 }
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 {
24169 wxTimeSpan &_result_ref = (arg1)->Add((wxTimeSpan const &)*arg2);
24170 result = (wxTimeSpan *) &_result_ref;
24171 }
24172
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 static PyObject *_wrap_TimeSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24186 wxTimeSpan *arg2 = 0 ;
24187 wxTimeSpan *result;
24188 PyObject * obj0 = 0 ;
24189 PyObject * obj1 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self",(char *) "diff", NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
24195 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail;
24197 {
24198 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24199 if (SWIG_arg_fail(2)) SWIG_fail;
24200 if (arg2 == NULL) {
24201 SWIG_null_ref("wxTimeSpan");
24202 }
24203 if (SWIG_arg_fail(2)) SWIG_fail;
24204 }
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 {
24208 wxTimeSpan &_result_ref = (arg1)->Subtract((wxTimeSpan const &)*arg2);
24209 result = (wxTimeSpan *) &_result_ref;
24210 }
24211
24212 wxPyEndAllowThreads(__tstate);
24213 if (PyErr_Occurred()) SWIG_fail;
24214 }
24215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24216 return resultobj;
24217 fail:
24218 return NULL;
24219 }
24220
24221
24222 static PyObject *_wrap_TimeSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
24223 PyObject *resultobj;
24224 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24225 int arg2 ;
24226 wxTimeSpan *result;
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
24229 char *kwnames[] = {
24230 (char *) "self",(char *) "n", NULL
24231 };
24232
24233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
24234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24235 if (SWIG_arg_fail(1)) SWIG_fail;
24236 {
24237 arg2 = (int)(SWIG_As_int(obj1));
24238 if (SWIG_arg_fail(2)) SWIG_fail;
24239 }
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 {
24243 wxTimeSpan &_result_ref = (arg1)->Multiply(arg2);
24244 result = (wxTimeSpan *) &_result_ref;
24245 }
24246
24247 wxPyEndAllowThreads(__tstate);
24248 if (PyErr_Occurred()) SWIG_fail;
24249 }
24250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24251 return resultobj;
24252 fail:
24253 return NULL;
24254 }
24255
24256
24257 static PyObject *_wrap_TimeSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
24258 PyObject *resultobj;
24259 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24260 wxTimeSpan *result;
24261 PyObject * obj0 = 0 ;
24262 char *kwnames[] = {
24263 (char *) "self", NULL
24264 };
24265
24266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Neg",kwnames,&obj0)) goto fail;
24267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24268 if (SWIG_arg_fail(1)) SWIG_fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 {
24272 wxTimeSpan &_result_ref = (arg1)->Neg();
24273 result = (wxTimeSpan *) &_result_ref;
24274 }
24275
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 static PyObject *_wrap_TimeSpan_Abs(PyObject *, PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj;
24288 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24289 wxTimeSpan result;
24290 PyObject * obj0 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_Abs",kwnames,&obj0)) goto fail;
24296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24297 if (SWIG_arg_fail(1)) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = ((wxTimeSpan const *)arg1)->Abs();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 wxTimeSpan * resultptr;
24307 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_TimeSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24319 wxTimeSpan *arg2 = 0 ;
24320 wxTimeSpan *result;
24321 PyObject * obj0 = 0 ;
24322 PyObject * obj1 = 0 ;
24323 char *kwnames[] = {
24324 (char *) "self",(char *) "diff", NULL
24325 };
24326
24327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
24328 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24329 if (SWIG_arg_fail(1)) SWIG_fail;
24330 {
24331 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24332 if (SWIG_arg_fail(2)) SWIG_fail;
24333 if (arg2 == NULL) {
24334 SWIG_null_ref("wxTimeSpan");
24335 }
24336 if (SWIG_arg_fail(2)) SWIG_fail;
24337 }
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 {
24341 wxTimeSpan &_result_ref = (arg1)->operator +=((wxTimeSpan const &)*arg2);
24342 result = (wxTimeSpan *) &_result_ref;
24343 }
24344
24345 wxPyEndAllowThreads(__tstate);
24346 if (PyErr_Occurred()) SWIG_fail;
24347 }
24348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24349 return resultobj;
24350 fail:
24351 return NULL;
24352 }
24353
24354
24355 static PyObject *_wrap_TimeSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
24356 PyObject *resultobj;
24357 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24358 wxTimeSpan *arg2 = 0 ;
24359 wxTimeSpan *result;
24360 PyObject * obj0 = 0 ;
24361 PyObject * obj1 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "self",(char *) "diff", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
24367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24368 if (SWIG_arg_fail(1)) SWIG_fail;
24369 {
24370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24371 if (SWIG_arg_fail(2)) SWIG_fail;
24372 if (arg2 == NULL) {
24373 SWIG_null_ref("wxTimeSpan");
24374 }
24375 if (SWIG_arg_fail(2)) SWIG_fail;
24376 }
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 {
24380 wxTimeSpan &_result_ref = (arg1)->operator -=((wxTimeSpan const &)*arg2);
24381 result = (wxTimeSpan *) &_result_ref;
24382 }
24383
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
24387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24388 return resultobj;
24389 fail:
24390 return NULL;
24391 }
24392
24393
24394 static PyObject *_wrap_TimeSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
24395 PyObject *resultobj;
24396 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24397 int arg2 ;
24398 wxTimeSpan *result;
24399 PyObject * obj0 = 0 ;
24400 PyObject * obj1 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self",(char *) "n", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
24406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
24407 if (SWIG_arg_fail(1)) SWIG_fail;
24408 {
24409 arg2 = (int)(SWIG_As_int(obj1));
24410 if (SWIG_arg_fail(2)) SWIG_fail;
24411 }
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 {
24415 wxTimeSpan &_result_ref = (arg1)->operator *=(arg2);
24416 result = (wxTimeSpan *) &_result_ref;
24417 }
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 1);
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_TimeSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24432 wxTimeSpan *result;
24433 PyObject * obj0 = 0 ;
24434 char *kwnames[] = {
24435 (char *) "self", NULL
24436 };
24437
24438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan___neg__",kwnames,&obj0)) goto fail;
24439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24440 if (SWIG_arg_fail(1)) SWIG_fail;
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 {
24444 wxTimeSpan &_result_ref = (arg1)->operator -();
24445 result = (wxTimeSpan *) &_result_ref;
24446 }
24447
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTimeSpan, 0);
24452 return resultobj;
24453 fail:
24454 return NULL;
24455 }
24456
24457
24458 static PyObject *_wrap_TimeSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
24459 PyObject *resultobj;
24460 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24461 wxTimeSpan *arg2 = 0 ;
24462 wxTimeSpan result;
24463 PyObject * obj0 = 0 ;
24464 PyObject * obj1 = 0 ;
24465 char *kwnames[] = {
24466 (char *) "self",(char *) "other", NULL
24467 };
24468
24469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___add__",kwnames,&obj0,&obj1)) goto fail;
24470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24471 if (SWIG_arg_fail(1)) SWIG_fail;
24472 {
24473 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24474 if (SWIG_arg_fail(2)) SWIG_fail;
24475 if (arg2 == NULL) {
24476 SWIG_null_ref("wxTimeSpan");
24477 }
24478 if (SWIG_arg_fail(2)) SWIG_fail;
24479 }
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 result = wxTimeSpan___add__(arg1,(wxTimeSpan const &)*arg2);
24483
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 {
24488 wxTimeSpan * resultptr;
24489 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24490 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24491 }
24492 return resultobj;
24493 fail:
24494 return NULL;
24495 }
24496
24497
24498 static PyObject *_wrap_TimeSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24501 wxTimeSpan *arg2 = 0 ;
24502 wxTimeSpan result;
24503 PyObject * obj0 = 0 ;
24504 PyObject * obj1 = 0 ;
24505 char *kwnames[] = {
24506 (char *) "self",(char *) "other", NULL
24507 };
24508
24509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
24510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24511 if (SWIG_arg_fail(1)) SWIG_fail;
24512 {
24513 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24514 if (SWIG_arg_fail(2)) SWIG_fail;
24515 if (arg2 == NULL) {
24516 SWIG_null_ref("wxTimeSpan");
24517 }
24518 if (SWIG_arg_fail(2)) SWIG_fail;
24519 }
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 result = wxTimeSpan___sub__(arg1,(wxTimeSpan const &)*arg2);
24523
24524 wxPyEndAllowThreads(__tstate);
24525 if (PyErr_Occurred()) SWIG_fail;
24526 }
24527 {
24528 wxTimeSpan * resultptr;
24529 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24531 }
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 static PyObject *_wrap_TimeSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj;
24540 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24541 int arg2 ;
24542 wxTimeSpan result;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self",(char *) "n", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
24550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24551 if (SWIG_arg_fail(1)) SWIG_fail;
24552 {
24553 arg2 = (int)(SWIG_As_int(obj1));
24554 if (SWIG_arg_fail(2)) SWIG_fail;
24555 }
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = wxTimeSpan___mul__(arg1,arg2);
24559
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 {
24564 wxTimeSpan * resultptr;
24565 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24567 }
24568 return resultobj;
24569 fail:
24570 return NULL;
24571 }
24572
24573
24574 static PyObject *_wrap_TimeSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
24575 PyObject *resultobj;
24576 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24577 int arg2 ;
24578 wxTimeSpan result;
24579 PyObject * obj0 = 0 ;
24580 PyObject * obj1 = 0 ;
24581 char *kwnames[] = {
24582 (char *) "self",(char *) "n", NULL
24583 };
24584
24585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
24586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24587 if (SWIG_arg_fail(1)) SWIG_fail;
24588 {
24589 arg2 = (int)(SWIG_As_int(obj1));
24590 if (SWIG_arg_fail(2)) SWIG_fail;
24591 }
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 result = wxTimeSpan___rmul__(arg1,arg2);
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 {
24600 wxTimeSpan * resultptr;
24601 resultptr = new wxTimeSpan((wxTimeSpan &)(result));
24602 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTimeSpan, 1);
24603 }
24604 return resultobj;
24605 fail:
24606 return NULL;
24607 }
24608
24609
24610 static PyObject *_wrap_TimeSpan___lt__(PyObject *, PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj;
24612 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24613 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24614 bool result;
24615 PyObject * obj0 = 0 ;
24616 PyObject * obj1 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "other", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___lt__",kwnames,&obj0,&obj1)) goto fail;
24622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24623 if (SWIG_arg_fail(1)) SWIG_fail;
24624 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24625 if (SWIG_arg_fail(2)) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = (bool)wxTimeSpan___lt__(arg1,(wxTimeSpan const *)arg2);
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 {
24634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24635 }
24636 return resultobj;
24637 fail:
24638 return NULL;
24639 }
24640
24641
24642 static PyObject *_wrap_TimeSpan___le__(PyObject *, PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj;
24644 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24645 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24646 bool result;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 char *kwnames[] = {
24650 (char *) "self",(char *) "other", NULL
24651 };
24652
24653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___le__",kwnames,&obj0,&obj1)) goto fail;
24654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24655 if (SWIG_arg_fail(1)) SWIG_fail;
24656 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24657 if (SWIG_arg_fail(2)) SWIG_fail;
24658 {
24659 PyThreadState* __tstate = wxPyBeginAllowThreads();
24660 result = (bool)wxTimeSpan___le__(arg1,(wxTimeSpan const *)arg2);
24661
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 {
24666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24667 }
24668 return resultobj;
24669 fail:
24670 return NULL;
24671 }
24672
24673
24674 static PyObject *_wrap_TimeSpan___gt__(PyObject *, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24677 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24678 bool result;
24679 PyObject * obj0 = 0 ;
24680 PyObject * obj1 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self",(char *) "other", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___gt__",kwnames,&obj0,&obj1)) goto fail;
24686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail;
24688 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24689 if (SWIG_arg_fail(2)) SWIG_fail;
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 result = (bool)wxTimeSpan___gt__(arg1,(wxTimeSpan const *)arg2);
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 {
24698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24699 }
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 static PyObject *_wrap_TimeSpan___ge__(PyObject *, PyObject *args, PyObject *kwargs) {
24707 PyObject *resultobj;
24708 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24709 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24710 bool result;
24711 PyObject * obj0 = 0 ;
24712 PyObject * obj1 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self",(char *) "other", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ge__",kwnames,&obj0,&obj1)) goto fail;
24718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24719 if (SWIG_arg_fail(1)) SWIG_fail;
24720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24721 if (SWIG_arg_fail(2)) SWIG_fail;
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (bool)wxTimeSpan___ge__(arg1,(wxTimeSpan const *)arg2);
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
24729 {
24730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24731 }
24732 return resultobj;
24733 fail:
24734 return NULL;
24735 }
24736
24737
24738 static PyObject *_wrap_TimeSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj;
24740 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24741 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24742 bool result;
24743 PyObject * obj0 = 0 ;
24744 PyObject * obj1 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self",(char *) "other", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
24750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24751 if (SWIG_arg_fail(1)) SWIG_fail;
24752 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24753 if (SWIG_arg_fail(2)) SWIG_fail;
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 result = (bool)wxTimeSpan___eq__(arg1,(wxTimeSpan const *)arg2);
24757
24758 wxPyEndAllowThreads(__tstate);
24759 if (PyErr_Occurred()) SWIG_fail;
24760 }
24761 {
24762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24763 }
24764 return resultobj;
24765 fail:
24766 return NULL;
24767 }
24768
24769
24770 static PyObject *_wrap_TimeSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
24771 PyObject *resultobj;
24772 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24773 wxTimeSpan *arg2 = (wxTimeSpan *) 0 ;
24774 bool result;
24775 PyObject * obj0 = 0 ;
24776 PyObject * obj1 = 0 ;
24777 char *kwnames[] = {
24778 (char *) "self",(char *) "other", NULL
24779 };
24780
24781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
24782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24783 if (SWIG_arg_fail(1)) SWIG_fail;
24784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24785 if (SWIG_arg_fail(2)) SWIG_fail;
24786 {
24787 PyThreadState* __tstate = wxPyBeginAllowThreads();
24788 result = (bool)wxTimeSpan___ne__(arg1,(wxTimeSpan const *)arg2);
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 {
24794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24795 }
24796 return resultobj;
24797 fail:
24798 return NULL;
24799 }
24800
24801
24802 static PyObject *_wrap_TimeSpan_IsNull(PyObject *, PyObject *args, PyObject *kwargs) {
24803 PyObject *resultobj;
24804 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24805 bool result;
24806 PyObject * obj0 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNull",kwnames,&obj0)) goto fail;
24812 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail;
24814 {
24815 PyThreadState* __tstate = wxPyBeginAllowThreads();
24816 result = (bool)((wxTimeSpan const *)arg1)->IsNull();
24817
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 {
24822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24823 }
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 static PyObject *_wrap_TimeSpan_IsPositive(PyObject *, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24833 bool result;
24834 PyObject * obj0 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsPositive",kwnames,&obj0)) goto fail;
24840 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail;
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 result = (bool)((wxTimeSpan const *)arg1)->IsPositive();
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 {
24850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24851 }
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_TimeSpan_IsNegative(PyObject *, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24861 bool result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_IsNegative",kwnames,&obj0)) goto fail;
24868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24869 if (SWIG_arg_fail(1)) SWIG_fail;
24870 {
24871 PyThreadState* __tstate = wxPyBeginAllowThreads();
24872 result = (bool)((wxTimeSpan const *)arg1)->IsNegative();
24873
24874 wxPyEndAllowThreads(__tstate);
24875 if (PyErr_Occurred()) SWIG_fail;
24876 }
24877 {
24878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24879 }
24880 return resultobj;
24881 fail:
24882 return NULL;
24883 }
24884
24885
24886 static PyObject *_wrap_TimeSpan_IsEqualTo(PyObject *, PyObject *args, PyObject *kwargs) {
24887 PyObject *resultobj;
24888 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24889 wxTimeSpan *arg2 = 0 ;
24890 bool result;
24891 PyObject * obj0 = 0 ;
24892 PyObject * obj1 = 0 ;
24893 char *kwnames[] = {
24894 (char *) "self",(char *) "ts", NULL
24895 };
24896
24897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsEqualTo",kwnames,&obj0,&obj1)) goto fail;
24898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail;
24900 {
24901 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24902 if (SWIG_arg_fail(2)) SWIG_fail;
24903 if (arg2 == NULL) {
24904 SWIG_null_ref("wxTimeSpan");
24905 }
24906 if (SWIG_arg_fail(2)) SWIG_fail;
24907 }
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 result = (bool)((wxTimeSpan const *)arg1)->IsEqualTo((wxTimeSpan const &)*arg2);
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 {
24916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24917 }
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_TimeSpan_IsLongerThan(PyObject *, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24927 wxTimeSpan *arg2 = 0 ;
24928 bool result;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "ts", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsLongerThan",kwnames,&obj0,&obj1)) goto fail;
24936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail;
24938 {
24939 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24940 if (SWIG_arg_fail(2)) SWIG_fail;
24941 if (arg2 == NULL) {
24942 SWIG_null_ref("wxTimeSpan");
24943 }
24944 if (SWIG_arg_fail(2)) SWIG_fail;
24945 }
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 result = (bool)((wxTimeSpan const *)arg1)->IsLongerThan((wxTimeSpan const &)*arg2);
24949
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 {
24954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24955 }
24956 return resultobj;
24957 fail:
24958 return NULL;
24959 }
24960
24961
24962 static PyObject *_wrap_TimeSpan_IsShorterThan(PyObject *, PyObject *args, PyObject *kwargs) {
24963 PyObject *resultobj;
24964 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
24965 wxTimeSpan *arg2 = 0 ;
24966 bool result;
24967 PyObject * obj0 = 0 ;
24968 PyObject * obj1 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self",(char *) "t", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TimeSpan_IsShorterThan",kwnames,&obj0,&obj1)) goto fail;
24974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24975 if (SWIG_arg_fail(1)) SWIG_fail;
24976 {
24977 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
24978 if (SWIG_arg_fail(2)) SWIG_fail;
24979 if (arg2 == NULL) {
24980 SWIG_null_ref("wxTimeSpan");
24981 }
24982 if (SWIG_arg_fail(2)) SWIG_fail;
24983 }
24984 {
24985 PyThreadState* __tstate = wxPyBeginAllowThreads();
24986 result = (bool)((wxTimeSpan const *)arg1)->IsShorterThan((wxTimeSpan const &)*arg2);
24987
24988 wxPyEndAllowThreads(__tstate);
24989 if (PyErr_Occurred()) SWIG_fail;
24990 }
24991 {
24992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24993 }
24994 return resultobj;
24995 fail:
24996 return NULL;
24997 }
24998
24999
25000 static PyObject *_wrap_TimeSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
25001 PyObject *resultobj;
25002 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25003 int result;
25004 PyObject * obj0 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self", NULL
25007 };
25008
25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetWeeks",kwnames,&obj0)) goto fail;
25010 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25011 if (SWIG_arg_fail(1)) SWIG_fail;
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 result = (int)((wxTimeSpan const *)arg1)->GetWeeks();
25015
25016 wxPyEndAllowThreads(__tstate);
25017 if (PyErr_Occurred()) SWIG_fail;
25018 }
25019 {
25020 resultobj = SWIG_From_int((int)(result));
25021 }
25022 return resultobj;
25023 fail:
25024 return NULL;
25025 }
25026
25027
25028 static PyObject *_wrap_TimeSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25031 int result;
25032 PyObject * obj0 = 0 ;
25033 char *kwnames[] = {
25034 (char *) "self", NULL
25035 };
25036
25037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetDays",kwnames,&obj0)) goto fail;
25038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25039 if (SWIG_arg_fail(1)) SWIG_fail;
25040 {
25041 PyThreadState* __tstate = wxPyBeginAllowThreads();
25042 result = (int)((wxTimeSpan const *)arg1)->GetDays();
25043
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 {
25048 resultobj = SWIG_From_int((int)(result));
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 static PyObject *_wrap_TimeSpan_GetHours(PyObject *, PyObject *args, PyObject *kwargs) {
25057 PyObject *resultobj;
25058 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25059 int result;
25060 PyObject * obj0 = 0 ;
25061 char *kwnames[] = {
25062 (char *) "self", NULL
25063 };
25064
25065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetHours",kwnames,&obj0)) goto fail;
25066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25067 if (SWIG_arg_fail(1)) SWIG_fail;
25068 {
25069 PyThreadState* __tstate = wxPyBeginAllowThreads();
25070 result = (int)((wxTimeSpan const *)arg1)->GetHours();
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 {
25076 resultobj = SWIG_From_int((int)(result));
25077 }
25078 return resultobj;
25079 fail:
25080 return NULL;
25081 }
25082
25083
25084 static PyObject *_wrap_TimeSpan_GetMinutes(PyObject *, PyObject *args, PyObject *kwargs) {
25085 PyObject *resultobj;
25086 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25087 int result;
25088 PyObject * obj0 = 0 ;
25089 char *kwnames[] = {
25090 (char *) "self", NULL
25091 };
25092
25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMinutes",kwnames,&obj0)) goto fail;
25094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25095 if (SWIG_arg_fail(1)) SWIG_fail;
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 result = (int)((wxTimeSpan const *)arg1)->GetMinutes();
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 {
25104 resultobj = SWIG_From_int((int)(result));
25105 }
25106 return resultobj;
25107 fail:
25108 return NULL;
25109 }
25110
25111
25112 static PyObject *_wrap_TimeSpan_GetSeconds(PyObject *, PyObject *args, PyObject *kwargs) {
25113 PyObject *resultobj;
25114 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25115 wxLongLong result;
25116 PyObject * obj0 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetSeconds",kwnames,&obj0)) goto fail;
25122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25123 if (SWIG_arg_fail(1)) SWIG_fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = ((wxTimeSpan const *)arg1)->GetSeconds();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132 PyObject *hi, *lo, *shifter, *shifted;
25133 hi = PyLong_FromLong( (&result)->GetHi() );
25134 lo = PyLong_FromLong( (&result)->GetLo() );
25135 shifter = PyLong_FromLong(32);
25136 shifted = PyNumber_Lshift(hi, shifter);
25137 resultobj = PyNumber_Or(shifted, lo);
25138 Py_DECREF(hi);
25139 Py_DECREF(lo);
25140 Py_DECREF(shifter);
25141 Py_DECREF(shifted);
25142 }
25143 return resultobj;
25144 fail:
25145 return NULL;
25146 }
25147
25148
25149 static PyObject *_wrap_TimeSpan_GetMilliseconds(PyObject *, PyObject *args, PyObject *kwargs) {
25150 PyObject *resultobj;
25151 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25152 wxLongLong result;
25153 PyObject * obj0 = 0 ;
25154 char *kwnames[] = {
25155 (char *) "self", NULL
25156 };
25157
25158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TimeSpan_GetMilliseconds",kwnames,&obj0)) goto fail;
25159 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25160 if (SWIG_arg_fail(1)) SWIG_fail;
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 result = ((wxTimeSpan const *)arg1)->GetMilliseconds();
25164
25165 wxPyEndAllowThreads(__tstate);
25166 if (PyErr_Occurred()) SWIG_fail;
25167 }
25168 {
25169 PyObject *hi, *lo, *shifter, *shifted;
25170 hi = PyLong_FromLong( (&result)->GetHi() );
25171 lo = PyLong_FromLong( (&result)->GetLo() );
25172 shifter = PyLong_FromLong(32);
25173 shifted = PyNumber_Lshift(hi, shifter);
25174 resultobj = PyNumber_Or(shifted, lo);
25175 Py_DECREF(hi);
25176 Py_DECREF(lo);
25177 Py_DECREF(shifter);
25178 Py_DECREF(shifted);
25179 }
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 static PyObject *_wrap_TimeSpan_Format(PyObject *, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxTimeSpan *arg1 = (wxTimeSpan *) 0 ;
25189 wxString const &arg2_defvalue = wxPyDefaultTimeSpanFormat ;
25190 wxString *arg2 = (wxString *) &arg2_defvalue ;
25191 wxString result;
25192 bool temp2 = false ;
25193 PyObject * obj0 = 0 ;
25194 PyObject * obj1 = 0 ;
25195 char *kwnames[] = {
25196 (char *) "self",(char *) "format", NULL
25197 };
25198
25199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TimeSpan_Format",kwnames,&obj0,&obj1)) goto fail;
25200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTimeSpan, SWIG_POINTER_EXCEPTION | 0);
25201 if (SWIG_arg_fail(1)) SWIG_fail;
25202 if (obj1) {
25203 {
25204 arg2 = wxString_in_helper(obj1);
25205 if (arg2 == NULL) SWIG_fail;
25206 temp2 = true;
25207 }
25208 }
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = ((wxTimeSpan const *)arg1)->Format((wxString const &)*arg2);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 {
25217 #if wxUSE_UNICODE
25218 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25219 #else
25220 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25221 #endif
25222 }
25223 {
25224 if (temp2)
25225 delete arg2;
25226 }
25227 return resultobj;
25228 fail:
25229 {
25230 if (temp2)
25231 delete arg2;
25232 }
25233 return NULL;
25234 }
25235
25236
25237 static PyObject * TimeSpan_swigregister(PyObject *, PyObject *args) {
25238 PyObject *obj;
25239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25240 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan, obj);
25241 Py_INCREF(obj);
25242 return Py_BuildValue((char *)"");
25243 }
25244 static PyObject *_wrap_new_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
25245 PyObject *resultobj;
25246 int arg1 = (int) 0 ;
25247 int arg2 = (int) 0 ;
25248 int arg3 = (int) 0 ;
25249 int arg4 = (int) 0 ;
25250 wxDateSpan *result;
25251 PyObject * obj0 = 0 ;
25252 PyObject * obj1 = 0 ;
25253 PyObject * obj2 = 0 ;
25254 PyObject * obj3 = 0 ;
25255 char *kwnames[] = {
25256 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
25257 };
25258
25259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_DateSpan",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25260 if (obj0) {
25261 {
25262 arg1 = (int)(SWIG_As_int(obj0));
25263 if (SWIG_arg_fail(1)) SWIG_fail;
25264 }
25265 }
25266 if (obj1) {
25267 {
25268 arg2 = (int)(SWIG_As_int(obj1));
25269 if (SWIG_arg_fail(2)) SWIG_fail;
25270 }
25271 }
25272 if (obj2) {
25273 {
25274 arg3 = (int)(SWIG_As_int(obj2));
25275 if (SWIG_arg_fail(3)) SWIG_fail;
25276 }
25277 }
25278 if (obj3) {
25279 {
25280 arg4 = (int)(SWIG_As_int(obj3));
25281 if (SWIG_arg_fail(4)) SWIG_fail;
25282 }
25283 }
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (wxDateSpan *)new wxDateSpan(arg1,arg2,arg3,arg4);
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 static PyObject *_wrap_delete_DateSpan(PyObject *, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25301 PyObject * obj0 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "self", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DateSpan",kwnames,&obj0)) goto fail;
25307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25308 if (SWIG_arg_fail(1)) SWIG_fail;
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 delete arg1;
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 Py_INCREF(Py_None); resultobj = Py_None;
25317 return resultobj;
25318 fail:
25319 return NULL;
25320 }
25321
25322
25323 static PyObject *_wrap_DateSpan_Days(PyObject *, PyObject *args, PyObject *kwargs) {
25324 PyObject *resultobj;
25325 int arg1 ;
25326 wxDateSpan result;
25327 PyObject * obj0 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "days", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Days",kwnames,&obj0)) goto fail;
25333 {
25334 arg1 = (int)(SWIG_As_int(obj0));
25335 if (SWIG_arg_fail(1)) SWIG_fail;
25336 }
25337 {
25338 PyThreadState* __tstate = wxPyBeginAllowThreads();
25339 result = wxDateSpan::Days(arg1);
25340
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 {
25345 wxDateSpan * resultptr;
25346 resultptr = new wxDateSpan((wxDateSpan &)(result));
25347 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25348 }
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 static PyObject *_wrap_DateSpan_Day(PyObject *, PyObject *args, PyObject *kwargs) {
25356 PyObject *resultobj;
25357 wxDateSpan result;
25358 char *kwnames[] = {
25359 NULL
25360 };
25361
25362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Day",kwnames)) goto fail;
25363 {
25364 PyThreadState* __tstate = wxPyBeginAllowThreads();
25365 result = wxDateSpan::Day();
25366
25367 wxPyEndAllowThreads(__tstate);
25368 if (PyErr_Occurred()) SWIG_fail;
25369 }
25370 {
25371 wxDateSpan * resultptr;
25372 resultptr = new wxDateSpan((wxDateSpan &)(result));
25373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25374 }
25375 return resultobj;
25376 fail:
25377 return NULL;
25378 }
25379
25380
25381 static PyObject *_wrap_DateSpan_Weeks(PyObject *, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 int arg1 ;
25384 wxDateSpan result;
25385 PyObject * obj0 = 0 ;
25386 char *kwnames[] = {
25387 (char *) "weeks", NULL
25388 };
25389
25390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Weeks",kwnames,&obj0)) goto fail;
25391 {
25392 arg1 = (int)(SWIG_As_int(obj0));
25393 if (SWIG_arg_fail(1)) SWIG_fail;
25394 }
25395 {
25396 PyThreadState* __tstate = wxPyBeginAllowThreads();
25397 result = wxDateSpan::Weeks(arg1);
25398
25399 wxPyEndAllowThreads(__tstate);
25400 if (PyErr_Occurred()) SWIG_fail;
25401 }
25402 {
25403 wxDateSpan * resultptr;
25404 resultptr = new wxDateSpan((wxDateSpan &)(result));
25405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25406 }
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 static PyObject *_wrap_DateSpan_Week(PyObject *, PyObject *args, PyObject *kwargs) {
25414 PyObject *resultobj;
25415 wxDateSpan result;
25416 char *kwnames[] = {
25417 NULL
25418 };
25419
25420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Week",kwnames)) goto fail;
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 result = wxDateSpan::Week();
25424
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 {
25429 wxDateSpan * resultptr;
25430 resultptr = new wxDateSpan((wxDateSpan &)(result));
25431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25432 }
25433 return resultobj;
25434 fail:
25435 return NULL;
25436 }
25437
25438
25439 static PyObject *_wrap_DateSpan_Months(PyObject *, PyObject *args, PyObject *kwargs) {
25440 PyObject *resultobj;
25441 int arg1 ;
25442 wxDateSpan result;
25443 PyObject * obj0 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "mon", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Months",kwnames,&obj0)) goto fail;
25449 {
25450 arg1 = (int)(SWIG_As_int(obj0));
25451 if (SWIG_arg_fail(1)) SWIG_fail;
25452 }
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 result = wxDateSpan::Months(arg1);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 {
25461 wxDateSpan * resultptr;
25462 resultptr = new wxDateSpan((wxDateSpan &)(result));
25463 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25464 }
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 static PyObject *_wrap_DateSpan_Month(PyObject *, PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj;
25473 wxDateSpan result;
25474 char *kwnames[] = {
25475 NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Month",kwnames)) goto fail;
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = wxDateSpan::Month();
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 {
25487 wxDateSpan * resultptr;
25488 resultptr = new wxDateSpan((wxDateSpan &)(result));
25489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25490 }
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 static PyObject *_wrap_DateSpan_Years(PyObject *, PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj;
25499 int arg1 ;
25500 wxDateSpan result;
25501 PyObject * obj0 = 0 ;
25502 char *kwnames[] = {
25503 (char *) "years", NULL
25504 };
25505
25506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Years",kwnames,&obj0)) goto fail;
25507 {
25508 arg1 = (int)(SWIG_As_int(obj0));
25509 if (SWIG_arg_fail(1)) SWIG_fail;
25510 }
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 result = wxDateSpan::Years(arg1);
25514
25515 wxPyEndAllowThreads(__tstate);
25516 if (PyErr_Occurred()) SWIG_fail;
25517 }
25518 {
25519 wxDateSpan * resultptr;
25520 resultptr = new wxDateSpan((wxDateSpan &)(result));
25521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25522 }
25523 return resultobj;
25524 fail:
25525 return NULL;
25526 }
25527
25528
25529 static PyObject *_wrap_DateSpan_Year(PyObject *, PyObject *args, PyObject *kwargs) {
25530 PyObject *resultobj;
25531 wxDateSpan result;
25532 char *kwnames[] = {
25533 NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":DateSpan_Year",kwnames)) goto fail;
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 result = wxDateSpan::Year();
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 {
25545 wxDateSpan * resultptr;
25546 resultptr = new wxDateSpan((wxDateSpan &)(result));
25547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
25548 }
25549 return resultobj;
25550 fail:
25551 return NULL;
25552 }
25553
25554
25555 static PyObject *_wrap_DateSpan_SetYears(PyObject *, PyObject *args, PyObject *kwargs) {
25556 PyObject *resultobj;
25557 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25558 int arg2 ;
25559 wxDateSpan *result;
25560 PyObject * obj0 = 0 ;
25561 PyObject * obj1 = 0 ;
25562 char *kwnames[] = {
25563 (char *) "self",(char *) "n", NULL
25564 };
25565
25566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetYears",kwnames,&obj0,&obj1)) goto fail;
25567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25568 if (SWIG_arg_fail(1)) SWIG_fail;
25569 {
25570 arg2 = (int)(SWIG_As_int(obj1));
25571 if (SWIG_arg_fail(2)) SWIG_fail;
25572 }
25573 {
25574 PyThreadState* __tstate = wxPyBeginAllowThreads();
25575 {
25576 wxDateSpan &_result_ref = (arg1)->SetYears(arg2);
25577 result = (wxDateSpan *) &_result_ref;
25578 }
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25584 return resultobj;
25585 fail:
25586 return NULL;
25587 }
25588
25589
25590 static PyObject *_wrap_DateSpan_SetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
25591 PyObject *resultobj;
25592 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25593 int arg2 ;
25594 wxDateSpan *result;
25595 PyObject * obj0 = 0 ;
25596 PyObject * obj1 = 0 ;
25597 char *kwnames[] = {
25598 (char *) "self",(char *) "n", NULL
25599 };
25600
25601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetMonths",kwnames,&obj0,&obj1)) goto fail;
25602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25603 if (SWIG_arg_fail(1)) SWIG_fail;
25604 {
25605 arg2 = (int)(SWIG_As_int(obj1));
25606 if (SWIG_arg_fail(2)) SWIG_fail;
25607 }
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 {
25611 wxDateSpan &_result_ref = (arg1)->SetMonths(arg2);
25612 result = (wxDateSpan *) &_result_ref;
25613 }
25614
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 static PyObject *_wrap_DateSpan_SetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25628 int arg2 ;
25629 wxDateSpan *result;
25630 PyObject * obj0 = 0 ;
25631 PyObject * obj1 = 0 ;
25632 char *kwnames[] = {
25633 (char *) "self",(char *) "n", NULL
25634 };
25635
25636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetWeeks",kwnames,&obj0,&obj1)) goto fail;
25637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25638 if (SWIG_arg_fail(1)) SWIG_fail;
25639 {
25640 arg2 = (int)(SWIG_As_int(obj1));
25641 if (SWIG_arg_fail(2)) SWIG_fail;
25642 }
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 {
25646 wxDateSpan &_result_ref = (arg1)->SetWeeks(arg2);
25647 result = (wxDateSpan *) &_result_ref;
25648 }
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25654 return resultobj;
25655 fail:
25656 return NULL;
25657 }
25658
25659
25660 static PyObject *_wrap_DateSpan_SetDays(PyObject *, PyObject *args, PyObject *kwargs) {
25661 PyObject *resultobj;
25662 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25663 int arg2 ;
25664 wxDateSpan *result;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 char *kwnames[] = {
25668 (char *) "self",(char *) "n", NULL
25669 };
25670
25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_SetDays",kwnames,&obj0,&obj1)) goto fail;
25672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25673 if (SWIG_arg_fail(1)) SWIG_fail;
25674 {
25675 arg2 = (int)(SWIG_As_int(obj1));
25676 if (SWIG_arg_fail(2)) SWIG_fail;
25677 }
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 {
25681 wxDateSpan &_result_ref = (arg1)->SetDays(arg2);
25682 result = (wxDateSpan *) &_result_ref;
25683 }
25684
25685 wxPyEndAllowThreads(__tstate);
25686 if (PyErr_Occurred()) SWIG_fail;
25687 }
25688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25689 return resultobj;
25690 fail:
25691 return NULL;
25692 }
25693
25694
25695 static PyObject *_wrap_DateSpan_GetYears(PyObject *, PyObject *args, PyObject *kwargs) {
25696 PyObject *resultobj;
25697 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25698 int result;
25699 PyObject * obj0 = 0 ;
25700 char *kwnames[] = {
25701 (char *) "self", NULL
25702 };
25703
25704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetYears",kwnames,&obj0)) goto fail;
25705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail;
25707 {
25708 PyThreadState* __tstate = wxPyBeginAllowThreads();
25709 result = (int)((wxDateSpan const *)arg1)->GetYears();
25710
25711 wxPyEndAllowThreads(__tstate);
25712 if (PyErr_Occurred()) SWIG_fail;
25713 }
25714 {
25715 resultobj = SWIG_From_int((int)(result));
25716 }
25717 return resultobj;
25718 fail:
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_DateSpan_GetMonths(PyObject *, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj;
25725 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25726 int result;
25727 PyObject * obj0 = 0 ;
25728 char *kwnames[] = {
25729 (char *) "self", NULL
25730 };
25731
25732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetMonths",kwnames,&obj0)) goto fail;
25733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25734 if (SWIG_arg_fail(1)) SWIG_fail;
25735 {
25736 PyThreadState* __tstate = wxPyBeginAllowThreads();
25737 result = (int)((wxDateSpan const *)arg1)->GetMonths();
25738
25739 wxPyEndAllowThreads(__tstate);
25740 if (PyErr_Occurred()) SWIG_fail;
25741 }
25742 {
25743 resultobj = SWIG_From_int((int)(result));
25744 }
25745 return resultobj;
25746 fail:
25747 return NULL;
25748 }
25749
25750
25751 static PyObject *_wrap_DateSpan_GetWeeks(PyObject *, PyObject *args, PyObject *kwargs) {
25752 PyObject *resultobj;
25753 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25754 int result;
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetWeeks",kwnames,&obj0)) goto fail;
25761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25762 if (SWIG_arg_fail(1)) SWIG_fail;
25763 {
25764 PyThreadState* __tstate = wxPyBeginAllowThreads();
25765 result = (int)((wxDateSpan const *)arg1)->GetWeeks();
25766
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 {
25771 resultobj = SWIG_From_int((int)(result));
25772 }
25773 return resultobj;
25774 fail:
25775 return NULL;
25776 }
25777
25778
25779 static PyObject *_wrap_DateSpan_GetDays(PyObject *, PyObject *args, PyObject *kwargs) {
25780 PyObject *resultobj;
25781 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25782 int result;
25783 PyObject * obj0 = 0 ;
25784 char *kwnames[] = {
25785 (char *) "self", NULL
25786 };
25787
25788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetDays",kwnames,&obj0)) goto fail;
25789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail;
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (int)((wxDateSpan const *)arg1)->GetDays();
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 {
25799 resultobj = SWIG_From_int((int)(result));
25800 }
25801 return resultobj;
25802 fail:
25803 return NULL;
25804 }
25805
25806
25807 static PyObject *_wrap_DateSpan_GetTotalDays(PyObject *, PyObject *args, PyObject *kwargs) {
25808 PyObject *resultobj;
25809 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25810 int result;
25811 PyObject * obj0 = 0 ;
25812 char *kwnames[] = {
25813 (char *) "self", NULL
25814 };
25815
25816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_GetTotalDays",kwnames,&obj0)) goto fail;
25817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25818 if (SWIG_arg_fail(1)) SWIG_fail;
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = (int)((wxDateSpan const *)arg1)->GetTotalDays();
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 {
25827 resultobj = SWIG_From_int((int)(result));
25828 }
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 static PyObject *_wrap_DateSpan_Add(PyObject *, PyObject *args, PyObject *kwargs) {
25836 PyObject *resultobj;
25837 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25838 wxDateSpan *arg2 = 0 ;
25839 wxDateSpan *result;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj1 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "other", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Add",kwnames,&obj0,&obj1)) goto fail;
25847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25848 if (SWIG_arg_fail(1)) SWIG_fail;
25849 {
25850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25851 if (SWIG_arg_fail(2)) SWIG_fail;
25852 if (arg2 == NULL) {
25853 SWIG_null_ref("wxDateSpan");
25854 }
25855 if (SWIG_arg_fail(2)) SWIG_fail;
25856 }
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 {
25860 wxDateSpan &_result_ref = (arg1)->Add((wxDateSpan const &)*arg2);
25861 result = (wxDateSpan *) &_result_ref;
25862 }
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25868 return resultobj;
25869 fail:
25870 return NULL;
25871 }
25872
25873
25874 static PyObject *_wrap_DateSpan_Subtract(PyObject *, PyObject *args, PyObject *kwargs) {
25875 PyObject *resultobj;
25876 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25877 wxDateSpan *arg2 = 0 ;
25878 wxDateSpan *result;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char *kwnames[] = {
25882 (char *) "self",(char *) "other", NULL
25883 };
25884
25885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Subtract",kwnames,&obj0,&obj1)) goto fail;
25886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25887 if (SWIG_arg_fail(1)) SWIG_fail;
25888 {
25889 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25890 if (SWIG_arg_fail(2)) SWIG_fail;
25891 if (arg2 == NULL) {
25892 SWIG_null_ref("wxDateSpan");
25893 }
25894 if (SWIG_arg_fail(2)) SWIG_fail;
25895 }
25896 {
25897 PyThreadState* __tstate = wxPyBeginAllowThreads();
25898 {
25899 wxDateSpan &_result_ref = (arg1)->Subtract((wxDateSpan const &)*arg2);
25900 result = (wxDateSpan *) &_result_ref;
25901 }
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject *_wrap_DateSpan_Neg(PyObject *, PyObject *args, PyObject *kwargs) {
25914 PyObject *resultobj;
25915 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25916 wxDateSpan *result;
25917 PyObject * obj0 = 0 ;
25918 char *kwnames[] = {
25919 (char *) "self", NULL
25920 };
25921
25922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan_Neg",kwnames,&obj0)) goto fail;
25923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail;
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 {
25928 wxDateSpan &_result_ref = (arg1)->Neg();
25929 result = (wxDateSpan *) &_result_ref;
25930 }
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25936 return resultobj;
25937 fail:
25938 return NULL;
25939 }
25940
25941
25942 static PyObject *_wrap_DateSpan_Multiply(PyObject *, PyObject *args, PyObject *kwargs) {
25943 PyObject *resultobj;
25944 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25945 int arg2 ;
25946 wxDateSpan *result;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj1 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self",(char *) "factor", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan_Multiply",kwnames,&obj0,&obj1)) goto fail;
25954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25955 if (SWIG_arg_fail(1)) SWIG_fail;
25956 {
25957 arg2 = (int)(SWIG_As_int(obj1));
25958 if (SWIG_arg_fail(2)) SWIG_fail;
25959 }
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 {
25963 wxDateSpan &_result_ref = (arg1)->Multiply(arg2);
25964 result = (wxDateSpan *) &_result_ref;
25965 }
25966
25967 wxPyEndAllowThreads(__tstate);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
25971 return resultobj;
25972 fail:
25973 return NULL;
25974 }
25975
25976
25977 static PyObject *_wrap_DateSpan___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
25978 PyObject *resultobj;
25979 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
25980 wxDateSpan *arg2 = 0 ;
25981 wxDateSpan *result;
25982 PyObject * obj0 = 0 ;
25983 PyObject * obj1 = 0 ;
25984 char *kwnames[] = {
25985 (char *) "self",(char *) "other", NULL
25986 };
25987
25988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___iadd__",kwnames,&obj0,&obj1)) goto fail;
25989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25990 if (SWIG_arg_fail(1)) SWIG_fail;
25991 {
25992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
25993 if (SWIG_arg_fail(2)) SWIG_fail;
25994 if (arg2 == NULL) {
25995 SWIG_null_ref("wxDateSpan");
25996 }
25997 if (SWIG_arg_fail(2)) SWIG_fail;
25998 }
25999 {
26000 PyThreadState* __tstate = wxPyBeginAllowThreads();
26001 {
26002 wxDateSpan &_result_ref = (arg1)->operator +=((wxDateSpan const &)*arg2);
26003 result = (wxDateSpan *) &_result_ref;
26004 }
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
26010 return resultobj;
26011 fail:
26012 return NULL;
26013 }
26014
26015
26016 static PyObject *_wrap_DateSpan___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
26017 PyObject *resultobj;
26018 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26019 wxDateSpan *arg2 = 0 ;
26020 wxDateSpan *result;
26021 PyObject * obj0 = 0 ;
26022 PyObject * obj1 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self",(char *) "other", NULL
26025 };
26026
26027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___isub__",kwnames,&obj0,&obj1)) goto fail;
26028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26029 if (SWIG_arg_fail(1)) SWIG_fail;
26030 {
26031 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26032 if (SWIG_arg_fail(2)) SWIG_fail;
26033 if (arg2 == NULL) {
26034 SWIG_null_ref("wxDateSpan");
26035 }
26036 if (SWIG_arg_fail(2)) SWIG_fail;
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 {
26041 wxDateSpan &_result_ref = (arg1)->operator -=((wxDateSpan const &)*arg2);
26042 result = (wxDateSpan *) &_result_ref;
26043 }
26044
26045 wxPyEndAllowThreads(__tstate);
26046 if (PyErr_Occurred()) SWIG_fail;
26047 }
26048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
26049 return resultobj;
26050 fail:
26051 return NULL;
26052 }
26053
26054
26055 static PyObject *_wrap_DateSpan___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
26056 PyObject *resultobj;
26057 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26058 wxDateSpan *result;
26059 PyObject * obj0 = 0 ;
26060 char *kwnames[] = {
26061 (char *) "self", NULL
26062 };
26063
26064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DateSpan___neg__",kwnames,&obj0)) goto fail;
26065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26066 if (SWIG_arg_fail(1)) SWIG_fail;
26067 {
26068 PyThreadState* __tstate = wxPyBeginAllowThreads();
26069 {
26070 wxDateSpan &_result_ref = (arg1)->operator -();
26071 result = (wxDateSpan *) &_result_ref;
26072 }
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 0);
26078 return resultobj;
26079 fail:
26080 return NULL;
26081 }
26082
26083
26084 static PyObject *_wrap_DateSpan___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26087 int arg2 ;
26088 wxDateSpan *result;
26089 PyObject * obj0 = 0 ;
26090 PyObject * obj1 = 0 ;
26091 char *kwnames[] = {
26092 (char *) "self",(char *) "factor", NULL
26093 };
26094
26095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___imul__",kwnames,&obj0,&obj1)) goto fail;
26096 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
26097 if (SWIG_arg_fail(1)) SWIG_fail;
26098 {
26099 arg2 = (int)(SWIG_As_int(obj1));
26100 if (SWIG_arg_fail(2)) SWIG_fail;
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 {
26105 wxDateSpan &_result_ref = (arg1)->operator *=(arg2);
26106 result = (wxDateSpan *) &_result_ref;
26107 }
26108
26109 wxPyEndAllowThreads(__tstate);
26110 if (PyErr_Occurred()) SWIG_fail;
26111 }
26112 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDateSpan, 1);
26113 return resultobj;
26114 fail:
26115 return NULL;
26116 }
26117
26118
26119 static PyObject *_wrap_DateSpan___add__(PyObject *, PyObject *args, PyObject *kwargs) {
26120 PyObject *resultobj;
26121 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26122 wxDateSpan *arg2 = 0 ;
26123 wxDateSpan result;
26124 PyObject * obj0 = 0 ;
26125 PyObject * obj1 = 0 ;
26126 char *kwnames[] = {
26127 (char *) "self",(char *) "other", NULL
26128 };
26129
26130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___add__",kwnames,&obj0,&obj1)) goto fail;
26131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26132 if (SWIG_arg_fail(1)) SWIG_fail;
26133 {
26134 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26135 if (SWIG_arg_fail(2)) SWIG_fail;
26136 if (arg2 == NULL) {
26137 SWIG_null_ref("wxDateSpan");
26138 }
26139 if (SWIG_arg_fail(2)) SWIG_fail;
26140 }
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 result = wxDateSpan___add__(arg1,(wxDateSpan const &)*arg2);
26144
26145 wxPyEndAllowThreads(__tstate);
26146 if (PyErr_Occurred()) SWIG_fail;
26147 }
26148 {
26149 wxDateSpan * resultptr;
26150 resultptr = new wxDateSpan((wxDateSpan &)(result));
26151 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26152 }
26153 return resultobj;
26154 fail:
26155 return NULL;
26156 }
26157
26158
26159 static PyObject *_wrap_DateSpan___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
26160 PyObject *resultobj;
26161 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26162 wxDateSpan *arg2 = 0 ;
26163 wxDateSpan result;
26164 PyObject * obj0 = 0 ;
26165 PyObject * obj1 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self",(char *) "other", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___sub__",kwnames,&obj0,&obj1)) goto fail;
26171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26172 if (SWIG_arg_fail(1)) SWIG_fail;
26173 {
26174 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26175 if (SWIG_arg_fail(2)) SWIG_fail;
26176 if (arg2 == NULL) {
26177 SWIG_null_ref("wxDateSpan");
26178 }
26179 if (SWIG_arg_fail(2)) SWIG_fail;
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = wxDateSpan___sub__(arg1,(wxDateSpan const &)*arg2);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 {
26189 wxDateSpan * resultptr;
26190 resultptr = new wxDateSpan((wxDateSpan &)(result));
26191 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26192 }
26193 return resultobj;
26194 fail:
26195 return NULL;
26196 }
26197
26198
26199 static PyObject *_wrap_DateSpan___mul__(PyObject *, PyObject *args, PyObject *kwargs) {
26200 PyObject *resultobj;
26201 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26202 int arg2 ;
26203 wxDateSpan result;
26204 PyObject * obj0 = 0 ;
26205 PyObject * obj1 = 0 ;
26206 char *kwnames[] = {
26207 (char *) "self",(char *) "n", NULL
26208 };
26209
26210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___mul__",kwnames,&obj0,&obj1)) goto fail;
26211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26212 if (SWIG_arg_fail(1)) SWIG_fail;
26213 {
26214 arg2 = (int)(SWIG_As_int(obj1));
26215 if (SWIG_arg_fail(2)) SWIG_fail;
26216 }
26217 {
26218 PyThreadState* __tstate = wxPyBeginAllowThreads();
26219 result = wxDateSpan___mul__(arg1,arg2);
26220
26221 wxPyEndAllowThreads(__tstate);
26222 if (PyErr_Occurred()) SWIG_fail;
26223 }
26224 {
26225 wxDateSpan * resultptr;
26226 resultptr = new wxDateSpan((wxDateSpan &)(result));
26227 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26228 }
26229 return resultobj;
26230 fail:
26231 return NULL;
26232 }
26233
26234
26235 static PyObject *_wrap_DateSpan___rmul__(PyObject *, PyObject *args, PyObject *kwargs) {
26236 PyObject *resultobj;
26237 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26238 int arg2 ;
26239 wxDateSpan result;
26240 PyObject * obj0 = 0 ;
26241 PyObject * obj1 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "n", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___rmul__",kwnames,&obj0,&obj1)) goto fail;
26247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26248 if (SWIG_arg_fail(1)) SWIG_fail;
26249 {
26250 arg2 = (int)(SWIG_As_int(obj1));
26251 if (SWIG_arg_fail(2)) SWIG_fail;
26252 }
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = wxDateSpan___rmul__(arg1,arg2);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 {
26261 wxDateSpan * resultptr;
26262 resultptr = new wxDateSpan((wxDateSpan &)(result));
26263 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateSpan, 1);
26264 }
26265 return resultobj;
26266 fail:
26267 return NULL;
26268 }
26269
26270
26271 static PyObject *_wrap_DateSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
26272 PyObject *resultobj;
26273 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26274 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26275 bool result;
26276 PyObject * obj0 = 0 ;
26277 PyObject * obj1 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self",(char *) "other", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
26283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail;
26285 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26286 if (SWIG_arg_fail(2)) SWIG_fail;
26287 {
26288 PyThreadState* __tstate = wxPyBeginAllowThreads();
26289 result = (bool)wxDateSpan___eq__(arg1,(wxDateSpan const *)arg2);
26290
26291 wxPyEndAllowThreads(__tstate);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 {
26295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26296 }
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject *_wrap_DateSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
26304 PyObject *resultobj;
26305 wxDateSpan *arg1 = (wxDateSpan *) 0 ;
26306 wxDateSpan *arg2 = (wxDateSpan *) 0 ;
26307 bool result;
26308 PyObject * obj0 = 0 ;
26309 PyObject * obj1 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "other", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DateSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
26315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26316 if (SWIG_arg_fail(1)) SWIG_fail;
26317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateSpan, SWIG_POINTER_EXCEPTION | 0);
26318 if (SWIG_arg_fail(2)) SWIG_fail;
26319 {
26320 PyThreadState* __tstate = wxPyBeginAllowThreads();
26321 result = (bool)wxDateSpan___ne__(arg1,(wxDateSpan const *)arg2);
26322
26323 wxPyEndAllowThreads(__tstate);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 }
26326 {
26327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26328 }
26329 return resultobj;
26330 fail:
26331 return NULL;
26332 }
26333
26334
26335 static PyObject * DateSpan_swigregister(PyObject *, PyObject *args) {
26336 PyObject *obj;
26337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26338 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan, obj);
26339 Py_INCREF(obj);
26340 return Py_BuildValue((char *)"");
26341 }
26342 static PyObject *_wrap_GetLocalTime(PyObject *, PyObject *args, PyObject *kwargs) {
26343 PyObject *resultobj;
26344 long result;
26345 char *kwnames[] = {
26346 NULL
26347 };
26348
26349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTime",kwnames)) goto fail;
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (long)wxGetLocalTime();
26353
26354 wxPyEndAllowThreads(__tstate);
26355 if (PyErr_Occurred()) SWIG_fail;
26356 }
26357 {
26358 resultobj = SWIG_From_long((long)(result));
26359 }
26360 return resultobj;
26361 fail:
26362 return NULL;
26363 }
26364
26365
26366 static PyObject *_wrap_GetUTCTime(PyObject *, PyObject *args, PyObject *kwargs) {
26367 PyObject *resultobj;
26368 long result;
26369 char *kwnames[] = {
26370 NULL
26371 };
26372
26373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetUTCTime",kwnames)) goto fail;
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 result = (long)wxGetUTCTime();
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
26381 {
26382 resultobj = SWIG_From_long((long)(result));
26383 }
26384 return resultobj;
26385 fail:
26386 return NULL;
26387 }
26388
26389
26390 static PyObject *_wrap_GetCurrentTime(PyObject *, PyObject *args, PyObject *kwargs) {
26391 PyObject *resultobj;
26392 long result;
26393 char *kwnames[] = {
26394 NULL
26395 };
26396
26397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetCurrentTime",kwnames)) goto fail;
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 result = (long)wxGetCurrentTime();
26401
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 {
26406 resultobj = SWIG_From_long((long)(result));
26407 }
26408 return resultobj;
26409 fail:
26410 return NULL;
26411 }
26412
26413
26414 static PyObject *_wrap_GetLocalTimeMillis(PyObject *, PyObject *args, PyObject *kwargs) {
26415 PyObject *resultobj;
26416 wxLongLong result;
26417 char *kwnames[] = {
26418 NULL
26419 };
26420
26421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetLocalTimeMillis",kwnames)) goto fail;
26422 {
26423 PyThreadState* __tstate = wxPyBeginAllowThreads();
26424 result = wxGetLocalTimeMillis();
26425
26426 wxPyEndAllowThreads(__tstate);
26427 if (PyErr_Occurred()) SWIG_fail;
26428 }
26429 {
26430 PyObject *hi, *lo, *shifter, *shifted;
26431 hi = PyLong_FromLong( (&result)->GetHi() );
26432 lo = PyLong_FromLong( (&result)->GetLo() );
26433 shifter = PyLong_FromLong(32);
26434 shifted = PyNumber_Lshift(hi, shifter);
26435 resultobj = PyNumber_Or(shifted, lo);
26436 Py_DECREF(hi);
26437 Py_DECREF(lo);
26438 Py_DECREF(shifter);
26439 Py_DECREF(shifted);
26440 }
26441 return resultobj;
26442 fail:
26443 return NULL;
26444 }
26445
26446
26447 static int _wrap_DefaultDateTime_set(PyObject *) {
26448 PyErr_SetString(PyExc_TypeError,"Variable DefaultDateTime is read-only.");
26449 return 1;
26450 }
26451
26452
26453 static PyObject *_wrap_DefaultDateTime_get(void) {
26454 PyObject *pyobj;
26455
26456 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultDateTime), SWIGTYPE_p_wxDateTime, 0);
26457 return pyobj;
26458 }
26459
26460
26461 static PyObject *_wrap_new_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
26462 PyObject *resultobj;
26463 wxDataFormatId arg1 ;
26464 wxDataFormat *result;
26465 PyObject * obj0 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "type", NULL
26468 };
26469
26470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DataFormat",kwnames,&obj0)) goto fail;
26471 {
26472 arg1 = (wxDataFormatId)(SWIG_As_int(obj0));
26473 if (SWIG_arg_fail(1)) SWIG_fail;
26474 }
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 result = (wxDataFormat *)new wxDataFormat((wxDataFormatId )arg1);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_new_CustomDataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxString *arg1 = 0 ;
26492 wxDataFormat *result;
26493 bool temp1 = false ;
26494 PyObject * obj0 = 0 ;
26495 char *kwnames[] = {
26496 (char *) "format", NULL
26497 };
26498
26499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_CustomDataFormat",kwnames,&obj0)) goto fail;
26500 {
26501 arg1 = wxString_in_helper(obj0);
26502 if (arg1 == NULL) SWIG_fail;
26503 temp1 = true;
26504 }
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 result = (wxDataFormat *)new wxDataFormat((wxString const &)*arg1);
26508
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 1);
26513 {
26514 if (temp1)
26515 delete arg1;
26516 }
26517 return resultobj;
26518 fail:
26519 {
26520 if (temp1)
26521 delete arg1;
26522 }
26523 return NULL;
26524 }
26525
26526
26527 static PyObject *_wrap_delete_DataFormat(PyObject *, PyObject *args, PyObject *kwargs) {
26528 PyObject *resultobj;
26529 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26530 PyObject * obj0 = 0 ;
26531 char *kwnames[] = {
26532 (char *) "self", NULL
26533 };
26534
26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataFormat",kwnames,&obj0)) goto fail;
26536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26537 if (SWIG_arg_fail(1)) SWIG_fail;
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 delete arg1;
26541
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 Py_INCREF(Py_None); resultobj = Py_None;
26546 return resultobj;
26547 fail:
26548 return NULL;
26549 }
26550
26551
26552 static PyObject *_wrap_DataFormat___eq____SWIG_0(PyObject *, PyObject *args) {
26553 PyObject *resultobj;
26554 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26555 wxDataFormatId arg2 ;
26556 bool result;
26557 PyObject * obj0 = 0 ;
26558 PyObject * obj1 = 0 ;
26559
26560 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
26561 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail;
26563 {
26564 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26565 if (SWIG_arg_fail(2)) SWIG_fail;
26566 }
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormatId )arg2);
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 {
26575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26576 }
26577 return resultobj;
26578 fail:
26579 return NULL;
26580 }
26581
26582
26583 static PyObject *_wrap_DataFormat___ne____SWIG_0(PyObject *, PyObject *args) {
26584 PyObject *resultobj;
26585 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26586 wxDataFormatId arg2 ;
26587 bool result;
26588 PyObject * obj0 = 0 ;
26589 PyObject * obj1 = 0 ;
26590
26591 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
26592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26593 if (SWIG_arg_fail(1)) SWIG_fail;
26594 {
26595 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26596 if (SWIG_arg_fail(2)) SWIG_fail;
26597 }
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormatId )arg2);
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 {
26606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26607 }
26608 return resultobj;
26609 fail:
26610 return NULL;
26611 }
26612
26613
26614 static PyObject *_wrap_DataFormat___eq____SWIG_1(PyObject *, PyObject *args) {
26615 PyObject *resultobj;
26616 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26617 wxDataFormat *arg2 = 0 ;
26618 bool result;
26619 PyObject * obj0 = 0 ;
26620 PyObject * obj1 = 0 ;
26621
26622 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___eq__",&obj0,&obj1)) goto fail;
26623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26624 if (SWIG_arg_fail(1)) SWIG_fail;
26625 {
26626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26627 if (SWIG_arg_fail(2)) SWIG_fail;
26628 if (arg2 == NULL) {
26629 SWIG_null_ref("wxDataFormat");
26630 }
26631 if (SWIG_arg_fail(2)) SWIG_fail;
26632 }
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 result = (bool)((wxDataFormat const *)arg1)->operator ==((wxDataFormat const &)*arg2);
26636
26637 wxPyEndAllowThreads(__tstate);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 }
26640 {
26641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26642 }
26643 return resultobj;
26644 fail:
26645 return NULL;
26646 }
26647
26648
26649 static PyObject *_wrap_DataFormat___eq__(PyObject *self, PyObject *args) {
26650 int argc;
26651 PyObject *argv[3];
26652 int ii;
26653
26654 argc = PyObject_Length(args);
26655 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26656 argv[ii] = PyTuple_GetItem(args,ii);
26657 }
26658 if (argc == 2) {
26659 int _v;
26660 {
26661 void *ptr;
26662 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26663 _v = 0;
26664 PyErr_Clear();
26665 } else {
26666 _v = 1;
26667 }
26668 }
26669 if (_v) {
26670 {
26671 void *ptr = 0;
26672 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26673 _v = 0;
26674 PyErr_Clear();
26675 } else {
26676 _v = (ptr != 0);
26677 }
26678 }
26679 if (_v) {
26680 return _wrap_DataFormat___eq____SWIG_1(self,args);
26681 }
26682 }
26683 }
26684 if (argc == 2) {
26685 int _v;
26686 {
26687 void *ptr;
26688 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26689 _v = 0;
26690 PyErr_Clear();
26691 } else {
26692 _v = 1;
26693 }
26694 }
26695 if (_v) {
26696 _v = SWIG_Check_int(argv[1]);
26697 if (_v) {
26698 return _wrap_DataFormat___eq____SWIG_0(self,args);
26699 }
26700 }
26701 }
26702
26703 Py_INCREF(Py_NotImplemented);
26704 return Py_NotImplemented;
26705 }
26706
26707
26708 static PyObject *_wrap_DataFormat___ne____SWIG_1(PyObject *, PyObject *args) {
26709 PyObject *resultobj;
26710 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26711 wxDataFormat *arg2 = 0 ;
26712 bool result;
26713 PyObject * obj0 = 0 ;
26714 PyObject * obj1 = 0 ;
26715
26716 if(!PyArg_ParseTuple(args,(char *)"OO:DataFormat___ne__",&obj0,&obj1)) goto fail;
26717 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26718 if (SWIG_arg_fail(1)) SWIG_fail;
26719 {
26720 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26721 if (SWIG_arg_fail(2)) SWIG_fail;
26722 if (arg2 == NULL) {
26723 SWIG_null_ref("wxDataFormat");
26724 }
26725 if (SWIG_arg_fail(2)) SWIG_fail;
26726 }
26727 {
26728 PyThreadState* __tstate = wxPyBeginAllowThreads();
26729 result = (bool)((wxDataFormat const *)arg1)->operator !=((wxDataFormat const &)*arg2);
26730
26731 wxPyEndAllowThreads(__tstate);
26732 if (PyErr_Occurred()) SWIG_fail;
26733 }
26734 {
26735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26736 }
26737 return resultobj;
26738 fail:
26739 return NULL;
26740 }
26741
26742
26743 static PyObject *_wrap_DataFormat___ne__(PyObject *self, PyObject *args) {
26744 int argc;
26745 PyObject *argv[3];
26746 int ii;
26747
26748 argc = PyObject_Length(args);
26749 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26750 argv[ii] = PyTuple_GetItem(args,ii);
26751 }
26752 if (argc == 2) {
26753 int _v;
26754 {
26755 void *ptr;
26756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26757 _v = 0;
26758 PyErr_Clear();
26759 } else {
26760 _v = 1;
26761 }
26762 }
26763 if (_v) {
26764 {
26765 void *ptr = 0;
26766 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26767 _v = 0;
26768 PyErr_Clear();
26769 } else {
26770 _v = (ptr != 0);
26771 }
26772 }
26773 if (_v) {
26774 return _wrap_DataFormat___ne____SWIG_1(self,args);
26775 }
26776 }
26777 }
26778 if (argc == 2) {
26779 int _v;
26780 {
26781 void *ptr;
26782 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
26783 _v = 0;
26784 PyErr_Clear();
26785 } else {
26786 _v = 1;
26787 }
26788 }
26789 if (_v) {
26790 _v = SWIG_Check_int(argv[1]);
26791 if (_v) {
26792 return _wrap_DataFormat___ne____SWIG_0(self,args);
26793 }
26794 }
26795 }
26796
26797 Py_INCREF(Py_NotImplemented);
26798 return Py_NotImplemented;
26799 }
26800
26801
26802 static PyObject *_wrap_DataFormat_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
26803 PyObject *resultobj;
26804 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26805 wxDataFormatId arg2 ;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 char *kwnames[] = {
26809 (char *) "self",(char *) "format", NULL
26810 };
26811
26812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetType",kwnames,&obj0,&obj1)) goto fail;
26813 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26814 if (SWIG_arg_fail(1)) SWIG_fail;
26815 {
26816 arg2 = (wxDataFormatId)(SWIG_As_int(obj1));
26817 if (SWIG_arg_fail(2)) SWIG_fail;
26818 }
26819 {
26820 PyThreadState* __tstate = wxPyBeginAllowThreads();
26821 (arg1)->SetType((wxDataFormatId )arg2);
26822
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 Py_INCREF(Py_None); resultobj = Py_None;
26827 return resultobj;
26828 fail:
26829 return NULL;
26830 }
26831
26832
26833 static PyObject *_wrap_DataFormat_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
26834 PyObject *resultobj;
26835 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26836 wxDataFormatId result;
26837 PyObject * obj0 = 0 ;
26838 char *kwnames[] = {
26839 (char *) "self", NULL
26840 };
26841
26842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetType",kwnames,&obj0)) goto fail;
26843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26844 if (SWIG_arg_fail(1)) SWIG_fail;
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = (wxDataFormatId)((wxDataFormat const *)arg1)->GetType();
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 resultobj = SWIG_From_int((result));
26853 return resultobj;
26854 fail:
26855 return NULL;
26856 }
26857
26858
26859 static PyObject *_wrap_DataFormat_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
26860 PyObject *resultobj;
26861 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26862 wxString result;
26863 PyObject * obj0 = 0 ;
26864 char *kwnames[] = {
26865 (char *) "self", NULL
26866 };
26867
26868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataFormat_GetId",kwnames,&obj0)) goto fail;
26869 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26870 if (SWIG_arg_fail(1)) SWIG_fail;
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 result = ((wxDataFormat const *)arg1)->GetId();
26874
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 {
26879 #if wxUSE_UNICODE
26880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26881 #else
26882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26883 #endif
26884 }
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 static PyObject *_wrap_DataFormat_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj;
26893 wxDataFormat *arg1 = (wxDataFormat *) 0 ;
26894 wxString *arg2 = 0 ;
26895 bool temp2 = false ;
26896 PyObject * obj0 = 0 ;
26897 PyObject * obj1 = 0 ;
26898 char *kwnames[] = {
26899 (char *) "self",(char *) "format", NULL
26900 };
26901
26902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataFormat_SetId",kwnames,&obj0,&obj1)) goto fail;
26903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
26904 if (SWIG_arg_fail(1)) SWIG_fail;
26905 {
26906 arg2 = wxString_in_helper(obj1);
26907 if (arg2 == NULL) SWIG_fail;
26908 temp2 = true;
26909 }
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 (arg1)->SetId((wxString const &)*arg2);
26913
26914 wxPyEndAllowThreads(__tstate);
26915 if (PyErr_Occurred()) SWIG_fail;
26916 }
26917 Py_INCREF(Py_None); resultobj = Py_None;
26918 {
26919 if (temp2)
26920 delete arg2;
26921 }
26922 return resultobj;
26923 fail:
26924 {
26925 if (temp2)
26926 delete arg2;
26927 }
26928 return NULL;
26929 }
26930
26931
26932 static PyObject * DataFormat_swigregister(PyObject *, PyObject *args) {
26933 PyObject *obj;
26934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26935 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat, obj);
26936 Py_INCREF(obj);
26937 return Py_BuildValue((char *)"");
26938 }
26939 static int _wrap_FormatInvalid_set(PyObject *) {
26940 PyErr_SetString(PyExc_TypeError,"Variable FormatInvalid is read-only.");
26941 return 1;
26942 }
26943
26944
26945 static PyObject *_wrap_FormatInvalid_get(void) {
26946 PyObject *pyobj;
26947
26948 pyobj = SWIG_NewPointerObj((void *)(&wxFormatInvalid), SWIGTYPE_p_wxDataFormat, 0);
26949 return pyobj;
26950 }
26951
26952
26953 static PyObject *_wrap_delete_DataObject(PyObject *, PyObject *args, PyObject *kwargs) {
26954 PyObject *resultobj;
26955 wxDataObject *arg1 = (wxDataObject *) 0 ;
26956 PyObject * obj0 = 0 ;
26957 char *kwnames[] = {
26958 (char *) "self", NULL
26959 };
26960
26961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DataObject",kwnames,&obj0)) goto fail;
26962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
26963 if (SWIG_arg_fail(1)) SWIG_fail;
26964 {
26965 PyThreadState* __tstate = wxPyBeginAllowThreads();
26966 delete arg1;
26967
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 Py_INCREF(Py_None); resultobj = Py_None;
26972 return resultobj;
26973 fail:
26974 return NULL;
26975 }
26976
26977
26978 static PyObject *_wrap_DataObject_GetPreferredFormat(PyObject *, PyObject *args, PyObject *kwargs) {
26979 PyObject *resultobj;
26980 wxDataObject *arg1 = (wxDataObject *) 0 ;
26981 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
26982 SwigValueWrapper<wxDataFormat > result;
26983 PyObject * obj0 = 0 ;
26984 PyObject * obj1 = 0 ;
26985 char *kwnames[] = {
26986 (char *) "self",(char *) "dir", NULL
26987 };
26988
26989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetPreferredFormat",kwnames,&obj0,&obj1)) goto fail;
26990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
26991 if (SWIG_arg_fail(1)) SWIG_fail;
26992 if (obj1) {
26993 {
26994 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
26995 if (SWIG_arg_fail(2)) SWIG_fail;
26996 }
26997 }
26998 {
26999 PyThreadState* __tstate = wxPyBeginAllowThreads();
27000 result = ((wxDataObject const *)arg1)->GetPreferredFormat((wxDataObject::Direction )arg2);
27001
27002 wxPyEndAllowThreads(__tstate);
27003 if (PyErr_Occurred()) SWIG_fail;
27004 }
27005 {
27006 wxDataFormat * resultptr;
27007 resultptr = new wxDataFormat((wxDataFormat &)(result));
27008 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDataFormat, 1);
27009 }
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 static PyObject *_wrap_DataObject_GetFormatCount(PyObject *, PyObject *args, PyObject *kwargs) {
27017 PyObject *resultobj;
27018 wxDataObject *arg1 = (wxDataObject *) 0 ;
27019 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
27020 size_t result;
27021 PyObject * obj0 = 0 ;
27022 PyObject * obj1 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "dir", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetFormatCount",kwnames,&obj0,&obj1)) goto fail;
27028 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail;
27030 if (obj1) {
27031 {
27032 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27033 if (SWIG_arg_fail(2)) SWIG_fail;
27034 }
27035 }
27036 {
27037 PyThreadState* __tstate = wxPyBeginAllowThreads();
27038 result = (size_t)((wxDataObject const *)arg1)->GetFormatCount((wxDataObject::Direction )arg2);
27039
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 {
27044 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27045 }
27046 return resultobj;
27047 fail:
27048 return NULL;
27049 }
27050
27051
27052 static PyObject *_wrap_DataObject_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
27053 PyObject *resultobj;
27054 wxDataObject *arg1 = (wxDataObject *) 0 ;
27055 wxDataFormat *arg2 = 0 ;
27056 wxDataObject::Direction arg3 = (wxDataObject::Direction) wxDataObject::Get ;
27057 bool result;
27058 PyObject * obj0 = 0 ;
27059 PyObject * obj1 = 0 ;
27060 PyObject * obj2 = 0 ;
27061 char *kwnames[] = {
27062 (char *) "self",(char *) "format",(char *) "dir", NULL
27063 };
27064
27065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObject_IsSupported",kwnames,&obj0,&obj1,&obj2)) goto fail;
27066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27067 if (SWIG_arg_fail(1)) SWIG_fail;
27068 {
27069 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27070 if (SWIG_arg_fail(2)) SWIG_fail;
27071 if (arg2 == NULL) {
27072 SWIG_null_ref("wxDataFormat");
27073 }
27074 if (SWIG_arg_fail(2)) SWIG_fail;
27075 }
27076 if (obj2) {
27077 {
27078 arg3 = (wxDataObject::Direction)(SWIG_As_int(obj2));
27079 if (SWIG_arg_fail(3)) SWIG_fail;
27080 }
27081 }
27082 {
27083 PyThreadState* __tstate = wxPyBeginAllowThreads();
27084 result = (bool)((wxDataObject const *)arg1)->IsSupported((wxDataFormat const &)*arg2,(wxDataObject::Direction )arg3);
27085
27086 wxPyEndAllowThreads(__tstate);
27087 if (PyErr_Occurred()) SWIG_fail;
27088 }
27089 {
27090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27091 }
27092 return resultobj;
27093 fail:
27094 return NULL;
27095 }
27096
27097
27098 static PyObject *_wrap_DataObject_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
27099 PyObject *resultobj;
27100 wxDataObject *arg1 = (wxDataObject *) 0 ;
27101 wxDataFormat *arg2 = 0 ;
27102 size_t result;
27103 PyObject * obj0 = 0 ;
27104 PyObject * obj1 = 0 ;
27105 char *kwnames[] = {
27106 (char *) "self",(char *) "format", NULL
27107 };
27108
27109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataSize",kwnames,&obj0,&obj1)) goto fail;
27110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail;
27112 {
27113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27114 if (SWIG_arg_fail(2)) SWIG_fail;
27115 if (arg2 == NULL) {
27116 SWIG_null_ref("wxDataFormat");
27117 }
27118 if (SWIG_arg_fail(2)) SWIG_fail;
27119 }
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 result = (size_t)((wxDataObject const *)arg1)->GetDataSize((wxDataFormat const &)*arg2);
27123
27124 wxPyEndAllowThreads(__tstate);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 }
27127 {
27128 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27129 }
27130 return resultobj;
27131 fail:
27132 return NULL;
27133 }
27134
27135
27136 static PyObject *_wrap_DataObject_GetAllFormats(PyObject *, PyObject *args, PyObject *kwargs) {
27137 PyObject *resultobj;
27138 wxDataObject *arg1 = (wxDataObject *) 0 ;
27139 wxDataObject::Direction arg2 = (wxDataObject::Direction) wxDataObject::Get ;
27140 PyObject *result;
27141 PyObject * obj0 = 0 ;
27142 PyObject * obj1 = 0 ;
27143 char *kwnames[] = {
27144 (char *) "self",(char *) "dir", NULL
27145 };
27146
27147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DataObject_GetAllFormats",kwnames,&obj0,&obj1)) goto fail;
27148 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27149 if (SWIG_arg_fail(1)) SWIG_fail;
27150 if (obj1) {
27151 {
27152 arg2 = (wxDataObject::Direction)(SWIG_As_int(obj1));
27153 if (SWIG_arg_fail(2)) SWIG_fail;
27154 }
27155 }
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
27158 result = (PyObject *)wxDataObject_GetAllFormats(arg1,(wxDataObject::Direction )arg2);
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = result;
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 static PyObject *_wrap_DataObject_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxDataObject *arg1 = (wxDataObject *) 0 ;
27173 wxDataFormat *arg2 = 0 ;
27174 PyObject *result;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 char *kwnames[] = {
27178 (char *) "self",(char *) "format", NULL
27179 };
27180
27181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObject_GetDataHere",kwnames,&obj0,&obj1)) goto fail;
27182 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27183 if (SWIG_arg_fail(1)) SWIG_fail;
27184 {
27185 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27186 if (SWIG_arg_fail(2)) SWIG_fail;
27187 if (arg2 == NULL) {
27188 SWIG_null_ref("wxDataFormat");
27189 }
27190 if (SWIG_arg_fail(2)) SWIG_fail;
27191 }
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 result = (PyObject *)wxDataObject_GetDataHere(arg1,(wxDataFormat const &)*arg2);
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
27199 resultobj = result;
27200 return resultobj;
27201 fail:
27202 return NULL;
27203 }
27204
27205
27206 static PyObject *_wrap_DataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj;
27208 wxDataObject *arg1 = (wxDataObject *) 0 ;
27209 wxDataFormat *arg2 = 0 ;
27210 PyObject *arg3 = (PyObject *) 0 ;
27211 bool result;
27212 PyObject * obj0 = 0 ;
27213 PyObject * obj1 = 0 ;
27214 PyObject * obj2 = 0 ;
27215 char *kwnames[] = {
27216 (char *) "self",(char *) "format",(char *) "data", NULL
27217 };
27218
27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DataObject_SetData",kwnames,&obj0,&obj1,&obj2)) goto fail;
27220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail;
27222 {
27223 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27224 if (SWIG_arg_fail(2)) SWIG_fail;
27225 if (arg2 == NULL) {
27226 SWIG_null_ref("wxDataFormat");
27227 }
27228 if (SWIG_arg_fail(2)) SWIG_fail;
27229 }
27230 arg3 = obj2;
27231 {
27232 PyThreadState* __tstate = wxPyBeginAllowThreads();
27233 result = (bool)wxDataObject_SetData(arg1,(wxDataFormat const &)*arg2,arg3);
27234
27235 wxPyEndAllowThreads(__tstate);
27236 if (PyErr_Occurred()) SWIG_fail;
27237 }
27238 {
27239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27240 }
27241 return resultobj;
27242 fail:
27243 return NULL;
27244 }
27245
27246
27247 static PyObject * DataObject_swigregister(PyObject *, PyObject *args) {
27248 PyObject *obj;
27249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27250 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject, obj);
27251 Py_INCREF(obj);
27252 return Py_BuildValue((char *)"");
27253 }
27254 static PyObject *_wrap_new_DataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
27255 PyObject *resultobj;
27256 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27257 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27258 wxDataObjectSimple *result;
27259 PyObject * obj0 = 0 ;
27260 char *kwnames[] = {
27261 (char *) "format", NULL
27262 };
27263
27264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DataObjectSimple",kwnames,&obj0)) goto fail;
27265 if (obj0) {
27266 {
27267 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27268 if (SWIG_arg_fail(1)) SWIG_fail;
27269 if (arg1 == NULL) {
27270 SWIG_null_ref("wxDataFormat");
27271 }
27272 if (SWIG_arg_fail(1)) SWIG_fail;
27273 }
27274 }
27275 {
27276 PyThreadState* __tstate = wxPyBeginAllowThreads();
27277 result = (wxDataObjectSimple *)new wxDataObjectSimple((wxDataFormat const &)*arg1);
27278
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectSimple, 1);
27283 return resultobj;
27284 fail:
27285 return NULL;
27286 }
27287
27288
27289 static PyObject *_wrap_DataObjectSimple_GetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
27290 PyObject *resultobj;
27291 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27292 wxDataFormat *result;
27293 PyObject * obj0 = 0 ;
27294 char *kwnames[] = {
27295 (char *) "self", NULL
27296 };
27297
27298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetFormat",kwnames,&obj0)) goto fail;
27299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail;
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 {
27304 wxDataFormat const &_result_ref = (arg1)->GetFormat();
27305 result = (wxDataFormat *) &_result_ref;
27306 }
27307
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataFormat, 0);
27312 return resultobj;
27313 fail:
27314 return NULL;
27315 }
27316
27317
27318 static PyObject *_wrap_DataObjectSimple_SetFormat(PyObject *, PyObject *args, PyObject *kwargs) {
27319 PyObject *resultobj;
27320 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27321 wxDataFormat *arg2 = 0 ;
27322 PyObject * obj0 = 0 ;
27323 PyObject * obj1 = 0 ;
27324 char *kwnames[] = {
27325 (char *) "self",(char *) "format", NULL
27326 };
27327
27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetFormat",kwnames,&obj0,&obj1)) goto fail;
27329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27330 if (SWIG_arg_fail(1)) SWIG_fail;
27331 {
27332 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27333 if (SWIG_arg_fail(2)) SWIG_fail;
27334 if (arg2 == NULL) {
27335 SWIG_null_ref("wxDataFormat");
27336 }
27337 if (SWIG_arg_fail(2)) SWIG_fail;
27338 }
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 (arg1)->SetFormat((wxDataFormat const &)*arg2);
27342
27343 wxPyEndAllowThreads(__tstate);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 Py_INCREF(Py_None); resultobj = Py_None;
27347 return resultobj;
27348 fail:
27349 return NULL;
27350 }
27351
27352
27353 static PyObject *_wrap_DataObjectSimple_GetDataSize(PyObject *, PyObject *args, PyObject *kwargs) {
27354 PyObject *resultobj;
27355 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27356 size_t result;
27357 PyObject * obj0 = 0 ;
27358 char *kwnames[] = {
27359 (char *) "self", NULL
27360 };
27361
27362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataSize",kwnames,&obj0)) goto fail;
27363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27364 if (SWIG_arg_fail(1)) SWIG_fail;
27365 {
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (size_t)((wxDataObjectSimple const *)arg1)->GetDataSize();
27368
27369 wxPyEndAllowThreads(__tstate);
27370 if (PyErr_Occurred()) SWIG_fail;
27371 }
27372 {
27373 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27374 }
27375 return resultobj;
27376 fail:
27377 return NULL;
27378 }
27379
27380
27381 static PyObject *_wrap_DataObjectSimple_GetDataHere(PyObject *, PyObject *args, PyObject *kwargs) {
27382 PyObject *resultobj;
27383 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27384 PyObject *result;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DataObjectSimple_GetDataHere",kwnames,&obj0)) goto fail;
27391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27392 if (SWIG_arg_fail(1)) SWIG_fail;
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 result = (PyObject *)wxDataObjectSimple_GetDataHere(arg1);
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 resultobj = result;
27401 return resultobj;
27402 fail:
27403 return NULL;
27404 }
27405
27406
27407 static PyObject *_wrap_DataObjectSimple_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
27408 PyObject *resultobj;
27409 wxDataObjectSimple *arg1 = (wxDataObjectSimple *) 0 ;
27410 PyObject *arg2 = (PyObject *) 0 ;
27411 bool result;
27412 PyObject * obj0 = 0 ;
27413 PyObject * obj1 = 0 ;
27414 char *kwnames[] = {
27415 (char *) "self",(char *) "data", NULL
27416 };
27417
27418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DataObjectSimple_SetData",kwnames,&obj0,&obj1)) goto fail;
27419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27420 if (SWIG_arg_fail(1)) SWIG_fail;
27421 arg2 = obj1;
27422 {
27423 PyThreadState* __tstate = wxPyBeginAllowThreads();
27424 result = (bool)wxDataObjectSimple_SetData(arg1,arg2);
27425
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 {
27430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27431 }
27432 return resultobj;
27433 fail:
27434 return NULL;
27435 }
27436
27437
27438 static PyObject * DataObjectSimple_swigregister(PyObject *, PyObject *args) {
27439 PyObject *obj;
27440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27441 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple, obj);
27442 Py_INCREF(obj);
27443 return Py_BuildValue((char *)"");
27444 }
27445 static PyObject *_wrap_new_PyDataObjectSimple(PyObject *, PyObject *args, PyObject *kwargs) {
27446 PyObject *resultobj;
27447 wxDataFormat const &arg1_defvalue = wxFormatInvalid ;
27448 wxDataFormat *arg1 = (wxDataFormat *) &arg1_defvalue ;
27449 wxPyDataObjectSimple *result;
27450 PyObject * obj0 = 0 ;
27451 char *kwnames[] = {
27452 (char *) "format", NULL
27453 };
27454
27455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyDataObjectSimple",kwnames,&obj0)) goto fail;
27456 if (obj0) {
27457 {
27458 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
27459 if (SWIG_arg_fail(1)) SWIG_fail;
27460 if (arg1 == NULL) {
27461 SWIG_null_ref("wxDataFormat");
27462 }
27463 if (SWIG_arg_fail(1)) SWIG_fail;
27464 }
27465 }
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 result = (wxPyDataObjectSimple *)new wxPyDataObjectSimple((wxDataFormat const &)*arg1);
27469
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDataObjectSimple, 1);
27474 return resultobj;
27475 fail:
27476 return NULL;
27477 }
27478
27479
27480 static PyObject *_wrap_PyDataObjectSimple__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27481 PyObject *resultobj;
27482 wxPyDataObjectSimple *arg1 = (wxPyDataObjectSimple *) 0 ;
27483 PyObject *arg2 = (PyObject *) 0 ;
27484 PyObject *arg3 = (PyObject *) 0 ;
27485 PyObject * obj0 = 0 ;
27486 PyObject * obj1 = 0 ;
27487 PyObject * obj2 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self",(char *) "self",(char *) "_class", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDataObjectSimple, SWIG_POINTER_EXCEPTION | 0);
27494 if (SWIG_arg_fail(1)) SWIG_fail;
27495 arg2 = obj1;
27496 arg3 = obj2;
27497 {
27498 PyThreadState* __tstate = wxPyBeginAllowThreads();
27499 (arg1)->_setCallbackInfo(arg2,arg3);
27500
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 Py_INCREF(Py_None); resultobj = Py_None;
27505 return resultobj;
27506 fail:
27507 return NULL;
27508 }
27509
27510
27511 static PyObject * PyDataObjectSimple_swigregister(PyObject *, PyObject *args) {
27512 PyObject *obj;
27513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27514 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple, obj);
27515 Py_INCREF(obj);
27516 return Py_BuildValue((char *)"");
27517 }
27518 static PyObject *_wrap_new_DataObjectComposite(PyObject *, PyObject *args, PyObject *kwargs) {
27519 PyObject *resultobj;
27520 wxDataObjectComposite *result;
27521 char *kwnames[] = {
27522 NULL
27523 };
27524
27525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DataObjectComposite",kwnames)) goto fail;
27526 {
27527 PyThreadState* __tstate = wxPyBeginAllowThreads();
27528 result = (wxDataObjectComposite *)new wxDataObjectComposite();
27529
27530 wxPyEndAllowThreads(__tstate);
27531 if (PyErr_Occurred()) SWIG_fail;
27532 }
27533 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObjectComposite, 1);
27534 return resultobj;
27535 fail:
27536 return NULL;
27537 }
27538
27539
27540 static PyObject *_wrap_DataObjectComposite_Add(PyObject *, PyObject *args, PyObject *kwargs) {
27541 PyObject *resultobj;
27542 wxDataObjectComposite *arg1 = (wxDataObjectComposite *) 0 ;
27543 wxDataObjectSimple *arg2 = (wxDataObjectSimple *) 0 ;
27544 bool arg3 = (bool) false ;
27545 PyObject * obj0 = 0 ;
27546 PyObject * obj1 = 0 ;
27547 PyObject * obj2 = 0 ;
27548 char *kwnames[] = {
27549 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
27550 };
27551
27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:DataObjectComposite_Add",kwnames,&obj0,&obj1,&obj2)) goto fail;
27553 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObjectComposite, SWIG_POINTER_EXCEPTION | 0);
27554 if (SWIG_arg_fail(1)) SWIG_fail;
27555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObjectSimple, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
27556 if (SWIG_arg_fail(2)) SWIG_fail;
27557 if (obj2) {
27558 {
27559 arg3 = (bool)(SWIG_As_bool(obj2));
27560 if (SWIG_arg_fail(3)) SWIG_fail;
27561 }
27562 }
27563 {
27564 PyThreadState* __tstate = wxPyBeginAllowThreads();
27565 (arg1)->Add(arg2,arg3);
27566
27567 wxPyEndAllowThreads(__tstate);
27568 if (PyErr_Occurred()) SWIG_fail;
27569 }
27570 Py_INCREF(Py_None); resultobj = Py_None;
27571 return resultobj;
27572 fail:
27573 return NULL;
27574 }
27575
27576
27577 static PyObject * DataObjectComposite_swigregister(PyObject *, PyObject *args) {
27578 PyObject *obj;
27579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27580 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite, obj);
27581 Py_INCREF(obj);
27582 return Py_BuildValue((char *)"");
27583 }
27584 static PyObject *_wrap_new_TextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
27585 PyObject *resultobj;
27586 wxString const &arg1_defvalue = wxPyEmptyString ;
27587 wxString *arg1 = (wxString *) &arg1_defvalue ;
27588 wxTextDataObject *result;
27589 bool temp1 = false ;
27590 PyObject * obj0 = 0 ;
27591 char *kwnames[] = {
27592 (char *) "text", NULL
27593 };
27594
27595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TextDataObject",kwnames,&obj0)) goto fail;
27596 if (obj0) {
27597 {
27598 arg1 = wxString_in_helper(obj0);
27599 if (arg1 == NULL) SWIG_fail;
27600 temp1 = true;
27601 }
27602 }
27603 {
27604 PyThreadState* __tstate = wxPyBeginAllowThreads();
27605 result = (wxTextDataObject *)new wxTextDataObject((wxString const &)*arg1);
27606
27607 wxPyEndAllowThreads(__tstate);
27608 if (PyErr_Occurred()) SWIG_fail;
27609 }
27610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextDataObject, 1);
27611 {
27612 if (temp1)
27613 delete arg1;
27614 }
27615 return resultobj;
27616 fail:
27617 {
27618 if (temp1)
27619 delete arg1;
27620 }
27621 return NULL;
27622 }
27623
27624
27625 static PyObject *_wrap_TextDataObject_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
27626 PyObject *resultobj;
27627 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27628 size_t result;
27629 PyObject * obj0 = 0 ;
27630 char *kwnames[] = {
27631 (char *) "self", NULL
27632 };
27633
27634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetTextLength",kwnames,&obj0)) goto fail;
27635 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27636 if (SWIG_arg_fail(1)) SWIG_fail;
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (size_t)(arg1)->GetTextLength();
27640
27641 wxPyEndAllowThreads(__tstate);
27642 if (PyErr_Occurred()) SWIG_fail;
27643 }
27644 {
27645 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
27646 }
27647 return resultobj;
27648 fail:
27649 return NULL;
27650 }
27651
27652
27653 static PyObject *_wrap_TextDataObject_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
27654 PyObject *resultobj;
27655 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27656 wxString result;
27657 PyObject * obj0 = 0 ;
27658 char *kwnames[] = {
27659 (char *) "self", NULL
27660 };
27661
27662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDataObject_GetText",kwnames,&obj0)) goto fail;
27663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27664 if (SWIG_arg_fail(1)) SWIG_fail;
27665 {
27666 PyThreadState* __tstate = wxPyBeginAllowThreads();
27667 result = (arg1)->GetText();
27668
27669 wxPyEndAllowThreads(__tstate);
27670 if (PyErr_Occurred()) SWIG_fail;
27671 }
27672 {
27673 #if wxUSE_UNICODE
27674 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27675 #else
27676 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27677 #endif
27678 }
27679 return resultobj;
27680 fail:
27681 return NULL;
27682 }
27683
27684
27685 static PyObject *_wrap_TextDataObject_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
27686 PyObject *resultobj;
27687 wxTextDataObject *arg1 = (wxTextDataObject *) 0 ;
27688 wxString *arg2 = 0 ;
27689 bool temp2 = false ;
27690 PyObject * obj0 = 0 ;
27691 PyObject * obj1 = 0 ;
27692 char *kwnames[] = {
27693 (char *) "self",(char *) "text", NULL
27694 };
27695
27696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextDataObject_SetText",kwnames,&obj0,&obj1)) goto fail;
27697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail;
27699 {
27700 arg2 = wxString_in_helper(obj1);
27701 if (arg2 == NULL) SWIG_fail;
27702 temp2 = true;
27703 }
27704 {
27705 PyThreadState* __tstate = wxPyBeginAllowThreads();
27706 (arg1)->SetText((wxString const &)*arg2);
27707
27708 wxPyEndAllowThreads(__tstate);
27709 if (PyErr_Occurred()) SWIG_fail;
27710 }
27711 Py_INCREF(Py_None); resultobj = Py_None;
27712 {
27713 if (temp2)
27714 delete arg2;
27715 }
27716 return resultobj;
27717 fail:
27718 {
27719 if (temp2)
27720 delete arg2;
27721 }
27722 return NULL;
27723 }
27724
27725
27726 static PyObject * TextDataObject_swigregister(PyObject *, PyObject *args) {
27727 PyObject *obj;
27728 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27729 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject, obj);
27730 Py_INCREF(obj);
27731 return Py_BuildValue((char *)"");
27732 }
27733 static PyObject *_wrap_new_PyTextDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
27734 PyObject *resultobj;
27735 wxString const &arg1_defvalue = wxPyEmptyString ;
27736 wxString *arg1 = (wxString *) &arg1_defvalue ;
27737 wxPyTextDataObject *result;
27738 bool temp1 = false ;
27739 PyObject * obj0 = 0 ;
27740 char *kwnames[] = {
27741 (char *) "text", NULL
27742 };
27743
27744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyTextDataObject",kwnames,&obj0)) goto fail;
27745 if (obj0) {
27746 {
27747 arg1 = wxString_in_helper(obj0);
27748 if (arg1 == NULL) SWIG_fail;
27749 temp1 = true;
27750 }
27751 }
27752 {
27753 PyThreadState* __tstate = wxPyBeginAllowThreads();
27754 result = (wxPyTextDataObject *)new wxPyTextDataObject((wxString const &)*arg1);
27755
27756 wxPyEndAllowThreads(__tstate);
27757 if (PyErr_Occurred()) SWIG_fail;
27758 }
27759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDataObject, 1);
27760 {
27761 if (temp1)
27762 delete arg1;
27763 }
27764 return resultobj;
27765 fail:
27766 {
27767 if (temp1)
27768 delete arg1;
27769 }
27770 return NULL;
27771 }
27772
27773
27774 static PyObject *_wrap_PyTextDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxPyTextDataObject *arg1 = (wxPyTextDataObject *) 0 ;
27777 PyObject *arg2 = (PyObject *) 0 ;
27778 PyObject *arg3 = (PyObject *) 0 ;
27779 PyObject * obj0 = 0 ;
27780 PyObject * obj1 = 0 ;
27781 PyObject * obj2 = 0 ;
27782 char *kwnames[] = {
27783 (char *) "self",(char *) "self",(char *) "_class", NULL
27784 };
27785
27786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27787 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDataObject, SWIG_POINTER_EXCEPTION | 0);
27788 if (SWIG_arg_fail(1)) SWIG_fail;
27789 arg2 = obj1;
27790 arg3 = obj2;
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 (arg1)->_setCallbackInfo(arg2,arg3);
27794
27795 wxPyEndAllowThreads(__tstate);
27796 if (PyErr_Occurred()) SWIG_fail;
27797 }
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 return resultobj;
27800 fail:
27801 return NULL;
27802 }
27803
27804
27805 static PyObject * PyTextDataObject_swigregister(PyObject *, PyObject *args) {
27806 PyObject *obj;
27807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27808 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject, obj);
27809 Py_INCREF(obj);
27810 return Py_BuildValue((char *)"");
27811 }
27812 static PyObject *_wrap_new_BitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
27813 PyObject *resultobj;
27814 wxBitmap const &arg1_defvalue = wxNullBitmap ;
27815 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
27816 wxBitmapDataObject *result;
27817 PyObject * obj0 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "bitmap", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BitmapDataObject",kwnames,&obj0)) goto fail;
27823 if (obj0) {
27824 {
27825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27826 if (SWIG_arg_fail(1)) SWIG_fail;
27827 if (arg1 == NULL) {
27828 SWIG_null_ref("wxBitmap");
27829 }
27830 if (SWIG_arg_fail(1)) SWIG_fail;
27831 }
27832 }
27833 {
27834 PyThreadState* __tstate = wxPyBeginAllowThreads();
27835 result = (wxBitmapDataObject *)new wxBitmapDataObject((wxBitmap const &)*arg1);
27836
27837 wxPyEndAllowThreads(__tstate);
27838 if (PyErr_Occurred()) SWIG_fail;
27839 }
27840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapDataObject, 1);
27841 return resultobj;
27842 fail:
27843 return NULL;
27844 }
27845
27846
27847 static PyObject *_wrap_BitmapDataObject_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
27848 PyObject *resultobj;
27849 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
27850 wxBitmap result;
27851 PyObject * obj0 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapDataObject_GetBitmap",kwnames,&obj0)) goto fail;
27857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail;
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 result = ((wxBitmapDataObject const *)arg1)->GetBitmap();
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 {
27867 wxBitmap * resultptr;
27868 resultptr = new wxBitmap((wxBitmap &)(result));
27869 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
27870 }
27871 return resultobj;
27872 fail:
27873 return NULL;
27874 }
27875
27876
27877 static PyObject *_wrap_BitmapDataObject_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
27878 PyObject *resultobj;
27879 wxBitmapDataObject *arg1 = (wxBitmapDataObject *) 0 ;
27880 wxBitmap *arg2 = 0 ;
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
27883 char *kwnames[] = {
27884 (char *) "self",(char *) "bitmap", NULL
27885 };
27886
27887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapDataObject_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
27888 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27889 if (SWIG_arg_fail(1)) SWIG_fail;
27890 {
27891 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27892 if (SWIG_arg_fail(2)) SWIG_fail;
27893 if (arg2 == NULL) {
27894 SWIG_null_ref("wxBitmap");
27895 }
27896 if (SWIG_arg_fail(2)) SWIG_fail;
27897 }
27898 {
27899 PyThreadState* __tstate = wxPyBeginAllowThreads();
27900 (arg1)->SetBitmap((wxBitmap const &)*arg2);
27901
27902 wxPyEndAllowThreads(__tstate);
27903 if (PyErr_Occurred()) SWIG_fail;
27904 }
27905 Py_INCREF(Py_None); resultobj = Py_None;
27906 return resultobj;
27907 fail:
27908 return NULL;
27909 }
27910
27911
27912 static PyObject * BitmapDataObject_swigregister(PyObject *, PyObject *args) {
27913 PyObject *obj;
27914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27915 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject, obj);
27916 Py_INCREF(obj);
27917 return Py_BuildValue((char *)"");
27918 }
27919 static PyObject *_wrap_new_PyBitmapDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
27920 PyObject *resultobj;
27921 wxBitmap const &arg1_defvalue = wxNullBitmap ;
27922 wxBitmap *arg1 = (wxBitmap *) &arg1_defvalue ;
27923 wxPyBitmapDataObject *result;
27924 PyObject * obj0 = 0 ;
27925 char *kwnames[] = {
27926 (char *) "bitmap", NULL
27927 };
27928
27929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PyBitmapDataObject",kwnames,&obj0)) goto fail;
27930 if (obj0) {
27931 {
27932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
27933 if (SWIG_arg_fail(1)) SWIG_fail;
27934 if (arg1 == NULL) {
27935 SWIG_null_ref("wxBitmap");
27936 }
27937 if (SWIG_arg_fail(1)) SWIG_fail;
27938 }
27939 }
27940 {
27941 PyThreadState* __tstate = wxPyBeginAllowThreads();
27942 result = (wxPyBitmapDataObject *)new wxPyBitmapDataObject((wxBitmap const &)*arg1);
27943
27944 wxPyEndAllowThreads(__tstate);
27945 if (PyErr_Occurred()) SWIG_fail;
27946 }
27947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyBitmapDataObject, 1);
27948 return resultobj;
27949 fail:
27950 return NULL;
27951 }
27952
27953
27954 static PyObject *_wrap_PyBitmapDataObject__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
27955 PyObject *resultobj;
27956 wxPyBitmapDataObject *arg1 = (wxPyBitmapDataObject *) 0 ;
27957 PyObject *arg2 = (PyObject *) 0 ;
27958 PyObject *arg3 = (PyObject *) 0 ;
27959 PyObject * obj0 = 0 ;
27960 PyObject * obj1 = 0 ;
27961 PyObject * obj2 = 0 ;
27962 char *kwnames[] = {
27963 (char *) "self",(char *) "self",(char *) "_class", NULL
27964 };
27965
27966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyBitmapDataObject, SWIG_POINTER_EXCEPTION | 0);
27968 if (SWIG_arg_fail(1)) SWIG_fail;
27969 arg2 = obj1;
27970 arg3 = obj2;
27971 {
27972 PyThreadState* __tstate = wxPyBeginAllowThreads();
27973 (arg1)->_setCallbackInfo(arg2,arg3);
27974
27975 wxPyEndAllowThreads(__tstate);
27976 if (PyErr_Occurred()) SWIG_fail;
27977 }
27978 Py_INCREF(Py_None); resultobj = Py_None;
27979 return resultobj;
27980 fail:
27981 return NULL;
27982 }
27983
27984
27985 static PyObject * PyBitmapDataObject_swigregister(PyObject *, PyObject *args) {
27986 PyObject *obj;
27987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27988 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject, obj);
27989 Py_INCREF(obj);
27990 return Py_BuildValue((char *)"");
27991 }
27992 static PyObject *_wrap_new_FileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
27993 PyObject *resultobj;
27994 wxFileDataObject *result;
27995 char *kwnames[] = {
27996 NULL
27997 };
27998
27999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDataObject",kwnames)) goto fail;
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 result = (wxFileDataObject *)new wxFileDataObject();
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFileDataObject, 1);
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 static PyObject *_wrap_FileDataObject_GetFilenames(PyObject *, PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj;
28016 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28017 wxArrayString *result;
28018 PyObject * obj0 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDataObject_GetFilenames",kwnames,&obj0)) goto fail;
28024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28025 if (SWIG_arg_fail(1)) SWIG_fail;
28026 {
28027 PyThreadState* __tstate = wxPyBeginAllowThreads();
28028 {
28029 wxArrayString const &_result_ref = (arg1)->GetFilenames();
28030 result = (wxArrayString *) &_result_ref;
28031 }
28032
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 {
28037 resultobj = wxArrayString2PyList_helper(*result);
28038 }
28039 return resultobj;
28040 fail:
28041 return NULL;
28042 }
28043
28044
28045 static PyObject *_wrap_FileDataObject_AddFile(PyObject *, PyObject *args, PyObject *kwargs) {
28046 PyObject *resultobj;
28047 wxFileDataObject *arg1 = (wxFileDataObject *) 0 ;
28048 wxString *arg2 = 0 ;
28049 bool temp2 = false ;
28050 PyObject * obj0 = 0 ;
28051 PyObject * obj1 = 0 ;
28052 char *kwnames[] = {
28053 (char *) "self",(char *) "filename", NULL
28054 };
28055
28056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDataObject_AddFile",kwnames,&obj0,&obj1)) goto fail;
28057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxFileDataObject, SWIG_POINTER_EXCEPTION | 0);
28058 if (SWIG_arg_fail(1)) SWIG_fail;
28059 {
28060 arg2 = wxString_in_helper(obj1);
28061 if (arg2 == NULL) SWIG_fail;
28062 temp2 = true;
28063 }
28064 {
28065 PyThreadState* __tstate = wxPyBeginAllowThreads();
28066 (arg1)->AddFile((wxString const &)*arg2);
28067
28068 wxPyEndAllowThreads(__tstate);
28069 if (PyErr_Occurred()) SWIG_fail;
28070 }
28071 Py_INCREF(Py_None); resultobj = Py_None;
28072 {
28073 if (temp2)
28074 delete arg2;
28075 }
28076 return resultobj;
28077 fail:
28078 {
28079 if (temp2)
28080 delete arg2;
28081 }
28082 return NULL;
28083 }
28084
28085
28086 static PyObject * FileDataObject_swigregister(PyObject *, PyObject *args) {
28087 PyObject *obj;
28088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28089 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject, obj);
28090 Py_INCREF(obj);
28091 return Py_BuildValue((char *)"");
28092 }
28093 static PyObject *_wrap_new_CustomDataObject__SWIG_0(PyObject *, PyObject *args) {
28094 PyObject *resultobj;
28095 wxDataFormat *arg1 = 0 ;
28096 wxCustomDataObject *result;
28097 PyObject * obj0 = 0 ;
28098
28099 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28100 {
28101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
28102 if (SWIG_arg_fail(1)) SWIG_fail;
28103 if (arg1 == NULL) {
28104 SWIG_null_ref("wxDataFormat");
28105 }
28106 if (SWIG_arg_fail(1)) SWIG_fail;
28107 }
28108 {
28109 PyThreadState* __tstate = wxPyBeginAllowThreads();
28110 result = (wxCustomDataObject *)new wxCustomDataObject((wxDataFormat const &)*arg1);
28111
28112 wxPyEndAllowThreads(__tstate);
28113 if (PyErr_Occurred()) SWIG_fail;
28114 }
28115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28116 return resultobj;
28117 fail:
28118 return NULL;
28119 }
28120
28121
28122 static PyObject *_wrap_new_CustomDataObject__SWIG_1(PyObject *, PyObject *args) {
28123 PyObject *resultobj;
28124 wxString *arg1 = 0 ;
28125 wxCustomDataObject *result;
28126 bool temp1 = false ;
28127 PyObject * obj0 = 0 ;
28128
28129 if(!PyArg_ParseTuple(args,(char *)"O:new_CustomDataObject",&obj0)) goto fail;
28130 {
28131 arg1 = wxString_in_helper(obj0);
28132 if (arg1 == NULL) SWIG_fail;
28133 temp1 = true;
28134 }
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 result = (wxCustomDataObject *)new_wxCustomDataObject__SWIG_1((wxString const &)*arg1);
28138
28139 wxPyEndAllowThreads(__tstate);
28140 if (PyErr_Occurred()) SWIG_fail;
28141 }
28142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28143 {
28144 if (temp1)
28145 delete arg1;
28146 }
28147 return resultobj;
28148 fail:
28149 {
28150 if (temp1)
28151 delete arg1;
28152 }
28153 return NULL;
28154 }
28155
28156
28157 static PyObject *_wrap_new_CustomDataObject__SWIG_2(PyObject *, PyObject *args) {
28158 PyObject *resultobj;
28159 wxCustomDataObject *result;
28160
28161 if(!PyArg_ParseTuple(args,(char *)":new_CustomDataObject")) goto fail;
28162 {
28163 PyThreadState* __tstate = wxPyBeginAllowThreads();
28164 result = (wxCustomDataObject *)new wxCustomDataObject();
28165
28166 wxPyEndAllowThreads(__tstate);
28167 if (PyErr_Occurred()) SWIG_fail;
28168 }
28169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCustomDataObject, 1);
28170 return resultobj;
28171 fail:
28172 return NULL;
28173 }
28174
28175
28176 static PyObject *_wrap_new_CustomDataObject(PyObject *self, PyObject *args) {
28177 int argc;
28178 PyObject *argv[2];
28179 int ii;
28180
28181 argc = PyObject_Length(args);
28182 for (ii = 0; (ii < argc) && (ii < 1); ii++) {
28183 argv[ii] = PyTuple_GetItem(args,ii);
28184 }
28185 if (argc == 0) {
28186 return _wrap_new_CustomDataObject__SWIG_2(self,args);
28187 }
28188 if (argc == 1) {
28189 int _v;
28190 {
28191 _v = PyString_Check(argv[0]) || PyUnicode_Check(argv[0]);
28192 }
28193 if (_v) {
28194 return _wrap_new_CustomDataObject__SWIG_1(self,args);
28195 }
28196 }
28197 if (argc == 1) {
28198 int _v;
28199 {
28200 void *ptr = 0;
28201 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxDataFormat, 0) == -1) {
28202 _v = 0;
28203 PyErr_Clear();
28204 } else {
28205 _v = (ptr != 0);
28206 }
28207 }
28208 if (_v) {
28209 return _wrap_new_CustomDataObject__SWIG_0(self,args);
28210 }
28211 }
28212
28213 PyErr_SetString(PyExc_NotImplementedError,"No matching function for overloaded 'new_CustomDataObject'");
28214 return NULL;
28215 }
28216
28217
28218 static PyObject *_wrap_CustomDataObject_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
28219 PyObject *resultobj;
28220 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28221 PyObject *arg2 = (PyObject *) 0 ;
28222 bool result;
28223 PyObject * obj0 = 0 ;
28224 PyObject * obj1 = 0 ;
28225 char *kwnames[] = {
28226 (char *) "self",(char *) "data", NULL
28227 };
28228
28229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CustomDataObject_SetData",kwnames,&obj0,&obj1)) goto fail;
28230 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28231 if (SWIG_arg_fail(1)) SWIG_fail;
28232 arg2 = obj1;
28233 {
28234 PyThreadState* __tstate = wxPyBeginAllowThreads();
28235 result = (bool)wxCustomDataObject_SetData(arg1,arg2);
28236
28237 wxPyEndAllowThreads(__tstate);
28238 if (PyErr_Occurred()) SWIG_fail;
28239 }
28240 {
28241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28242 }
28243 return resultobj;
28244 fail:
28245 return NULL;
28246 }
28247
28248
28249 static PyObject *_wrap_CustomDataObject_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
28250 PyObject *resultobj;
28251 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28252 size_t result;
28253 PyObject * obj0 = 0 ;
28254 char *kwnames[] = {
28255 (char *) "self", NULL
28256 };
28257
28258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetSize",kwnames,&obj0)) goto fail;
28259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28260 if (SWIG_arg_fail(1)) SWIG_fail;
28261 {
28262 PyThreadState* __tstate = wxPyBeginAllowThreads();
28263 result = (size_t)(arg1)->GetSize();
28264
28265 wxPyEndAllowThreads(__tstate);
28266 if (PyErr_Occurred()) SWIG_fail;
28267 }
28268 {
28269 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28270 }
28271 return resultobj;
28272 fail:
28273 return NULL;
28274 }
28275
28276
28277 static PyObject *_wrap_CustomDataObject_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj;
28279 wxCustomDataObject *arg1 = (wxCustomDataObject *) 0 ;
28280 PyObject *result;
28281 PyObject * obj0 = 0 ;
28282 char *kwnames[] = {
28283 (char *) "self", NULL
28284 };
28285
28286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CustomDataObject_GetData",kwnames,&obj0)) goto fail;
28287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCustomDataObject, SWIG_POINTER_EXCEPTION | 0);
28288 if (SWIG_arg_fail(1)) SWIG_fail;
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 result = (PyObject *)wxCustomDataObject_GetData(arg1);
28292
28293 wxPyEndAllowThreads(__tstate);
28294 if (PyErr_Occurred()) SWIG_fail;
28295 }
28296 resultobj = result;
28297 return resultobj;
28298 fail:
28299 return NULL;
28300 }
28301
28302
28303 static PyObject * CustomDataObject_swigregister(PyObject *, PyObject *args) {
28304 PyObject *obj;
28305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28306 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject, obj);
28307 Py_INCREF(obj);
28308 return Py_BuildValue((char *)"");
28309 }
28310 static PyObject *_wrap_new_URLDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
28311 PyObject *resultobj;
28312 wxURLDataObject *result;
28313 char *kwnames[] = {
28314 NULL
28315 };
28316
28317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_URLDataObject",kwnames)) goto fail;
28318 {
28319 PyThreadState* __tstate = wxPyBeginAllowThreads();
28320 result = (wxURLDataObject *)new wxURLDataObject();
28321
28322 wxPyEndAllowThreads(__tstate);
28323 if (PyErr_Occurred()) SWIG_fail;
28324 }
28325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxURLDataObject, 1);
28326 return resultobj;
28327 fail:
28328 return NULL;
28329 }
28330
28331
28332 static PyObject *_wrap_URLDataObject_GetURL(PyObject *, PyObject *args, PyObject *kwargs) {
28333 PyObject *resultobj;
28334 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28335 wxString result;
28336 PyObject * obj0 = 0 ;
28337 char *kwnames[] = {
28338 (char *) "self", NULL
28339 };
28340
28341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:URLDataObject_GetURL",kwnames,&obj0)) goto fail;
28342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28343 if (SWIG_arg_fail(1)) SWIG_fail;
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 result = (arg1)->GetURL();
28347
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 {
28352 #if wxUSE_UNICODE
28353 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28354 #else
28355 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28356 #endif
28357 }
28358 return resultobj;
28359 fail:
28360 return NULL;
28361 }
28362
28363
28364 static PyObject *_wrap_URLDataObject_SetURL(PyObject *, PyObject *args, PyObject *kwargs) {
28365 PyObject *resultobj;
28366 wxURLDataObject *arg1 = (wxURLDataObject *) 0 ;
28367 wxString *arg2 = 0 ;
28368 bool temp2 = false ;
28369 PyObject * obj0 = 0 ;
28370 PyObject * obj1 = 0 ;
28371 char *kwnames[] = {
28372 (char *) "self",(char *) "url", NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:URLDataObject_SetURL",kwnames,&obj0,&obj1)) goto fail;
28376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxURLDataObject, SWIG_POINTER_EXCEPTION | 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail;
28378 {
28379 arg2 = wxString_in_helper(obj1);
28380 if (arg2 == NULL) SWIG_fail;
28381 temp2 = true;
28382 }
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->SetURL((wxString const &)*arg2);
28386
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 Py_INCREF(Py_None); resultobj = Py_None;
28391 {
28392 if (temp2)
28393 delete arg2;
28394 }
28395 return resultobj;
28396 fail:
28397 {
28398 if (temp2)
28399 delete arg2;
28400 }
28401 return NULL;
28402 }
28403
28404
28405 static PyObject * URLDataObject_swigregister(PyObject *, PyObject *args) {
28406 PyObject *obj;
28407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28408 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject, obj);
28409 Py_INCREF(obj);
28410 return Py_BuildValue((char *)"");
28411 }
28412 static PyObject *_wrap_new_MetafileDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
28413 PyObject *resultobj;
28414 wxMetafileDataObject *result;
28415 char *kwnames[] = {
28416 NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MetafileDataObject",kwnames)) goto fail;
28420 {
28421 PyThreadState* __tstate = wxPyBeginAllowThreads();
28422 result = (wxMetafileDataObject *)new wxMetafileDataObject();
28423
28424 wxPyEndAllowThreads(__tstate);
28425 if (PyErr_Occurred()) SWIG_fail;
28426 }
28427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMetafileDataObject, 1);
28428 return resultobj;
28429 fail:
28430 return NULL;
28431 }
28432
28433
28434 static PyObject *_wrap_MetafileDataObject_SetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
28435 PyObject *resultobj;
28436 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28437 wxMetafile *arg2 = 0 ;
28438 PyObject * obj0 = 0 ;
28439 PyObject * obj1 = 0 ;
28440 char *kwnames[] = {
28441 (char *) "self",(char *) "metafile", NULL
28442 };
28443
28444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MetafileDataObject_SetMetafile",kwnames,&obj0,&obj1)) goto fail;
28445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28446 if (SWIG_arg_fail(1)) SWIG_fail;
28447 {
28448 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMetafile, SWIG_POINTER_EXCEPTION | 0);
28449 if (SWIG_arg_fail(2)) SWIG_fail;
28450 if (arg2 == NULL) {
28451 SWIG_null_ref("wxMetafile");
28452 }
28453 if (SWIG_arg_fail(2)) SWIG_fail;
28454 }
28455 {
28456 PyThreadState* __tstate = wxPyBeginAllowThreads();
28457 (arg1)->SetMetafile((wxMetafile const &)*arg2);
28458
28459 wxPyEndAllowThreads(__tstate);
28460 if (PyErr_Occurred()) SWIG_fail;
28461 }
28462 Py_INCREF(Py_None); resultobj = Py_None;
28463 return resultobj;
28464 fail:
28465 return NULL;
28466 }
28467
28468
28469 static PyObject *_wrap_MetafileDataObject_GetMetafile(PyObject *, PyObject *args, PyObject *kwargs) {
28470 PyObject *resultobj;
28471 wxMetafileDataObject *arg1 = (wxMetafileDataObject *) 0 ;
28472 wxMetafile result;
28473 PyObject * obj0 = 0 ;
28474 char *kwnames[] = {
28475 (char *) "self", NULL
28476 };
28477
28478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MetafileDataObject_GetMetafile",kwnames,&obj0)) goto fail;
28479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxMetafileDataObject, SWIG_POINTER_EXCEPTION | 0);
28480 if (SWIG_arg_fail(1)) SWIG_fail;
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 result = ((wxMetafileDataObject const *)arg1)->GetMetafile();
28484
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 {
28489 wxMetafile * resultptr;
28490 resultptr = new wxMetafile((wxMetafile &)(result));
28491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxMetafile, 1);
28492 }
28493 return resultobj;
28494 fail:
28495 return NULL;
28496 }
28497
28498
28499 static PyObject * MetafileDataObject_swigregister(PyObject *, PyObject *args) {
28500 PyObject *obj;
28501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject, obj);
28503 Py_INCREF(obj);
28504 return Py_BuildValue((char *)"");
28505 }
28506 static PyObject *_wrap_IsDragResultOk(PyObject *, PyObject *args, PyObject *kwargs) {
28507 PyObject *resultobj;
28508 wxDragResult arg1 ;
28509 bool result;
28510 PyObject * obj0 = 0 ;
28511 char *kwnames[] = {
28512 (char *) "res", NULL
28513 };
28514
28515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IsDragResultOk",kwnames,&obj0)) goto fail;
28516 {
28517 arg1 = (wxDragResult)(SWIG_As_int(obj0));
28518 if (SWIG_arg_fail(1)) SWIG_fail;
28519 }
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = (bool)wxIsDragResultOk((wxDragResult )arg1);
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 {
28528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28529 }
28530 return resultobj;
28531 fail:
28532 return NULL;
28533 }
28534
28535
28536 static PyObject *_wrap_new_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
28537 PyObject *resultobj;
28538 wxWindow *arg1 = (wxWindow *) 0 ;
28539 wxCursor const &arg2_defvalue = wxNullCursor ;
28540 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28541 wxCursor const &arg3_defvalue = wxNullCursor ;
28542 wxCursor *arg3 = (wxCursor *) &arg3_defvalue ;
28543 wxCursor const &arg4_defvalue = wxNullCursor ;
28544 wxCursor *arg4 = (wxCursor *) &arg4_defvalue ;
28545 wxPyDropSource *result;
28546 PyObject * obj0 = 0 ;
28547 PyObject * obj1 = 0 ;
28548 PyObject * obj2 = 0 ;
28549 PyObject * obj3 = 0 ;
28550 char *kwnames[] = {
28551 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
28552 };
28553
28554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_DropSource",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28556 if (SWIG_arg_fail(1)) SWIG_fail;
28557 if (obj1) {
28558 {
28559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28560 if (SWIG_arg_fail(2)) SWIG_fail;
28561 if (arg2 == NULL) {
28562 SWIG_null_ref("wxCursor");
28563 }
28564 if (SWIG_arg_fail(2)) SWIG_fail;
28565 }
28566 }
28567 if (obj2) {
28568 {
28569 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28570 if (SWIG_arg_fail(3)) SWIG_fail;
28571 if (arg3 == NULL) {
28572 SWIG_null_ref("wxCursor");
28573 }
28574 if (SWIG_arg_fail(3)) SWIG_fail;
28575 }
28576 }
28577 if (obj3) {
28578 {
28579 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28580 if (SWIG_arg_fail(4)) SWIG_fail;
28581 if (arg4 == NULL) {
28582 SWIG_null_ref("wxCursor");
28583 }
28584 if (SWIG_arg_fail(4)) SWIG_fail;
28585 }
28586 }
28587 {
28588 PyThreadState* __tstate = wxPyBeginAllowThreads();
28589 result = (wxPyDropSource *)new wxPyDropSource(arg1,(wxCursor const &)*arg2,(wxCursor const &)*arg3,(wxCursor const &)*arg4);
28590
28591 wxPyEndAllowThreads(__tstate);
28592 if (PyErr_Occurred()) SWIG_fail;
28593 }
28594 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropSource, 1);
28595 return resultobj;
28596 fail:
28597 return NULL;
28598 }
28599
28600
28601 static PyObject *_wrap_DropSource__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28602 PyObject *resultobj;
28603 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28604 PyObject *arg2 = (PyObject *) 0 ;
28605 PyObject *arg3 = (PyObject *) 0 ;
28606 int arg4 ;
28607 PyObject * obj0 = 0 ;
28608 PyObject * obj1 = 0 ;
28609 PyObject * obj2 = 0 ;
28610 PyObject * obj3 = 0 ;
28611 char *kwnames[] = {
28612 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28613 };
28614
28615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropSource__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28617 if (SWIG_arg_fail(1)) SWIG_fail;
28618 arg2 = obj1;
28619 arg3 = obj2;
28620 {
28621 arg4 = (int)(SWIG_As_int(obj3));
28622 if (SWIG_arg_fail(4)) SWIG_fail;
28623 }
28624 {
28625 PyThreadState* __tstate = wxPyBeginAllowThreads();
28626 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28627
28628 wxPyEndAllowThreads(__tstate);
28629 if (PyErr_Occurred()) SWIG_fail;
28630 }
28631 Py_INCREF(Py_None); resultobj = Py_None;
28632 return resultobj;
28633 fail:
28634 return NULL;
28635 }
28636
28637
28638 static PyObject *_wrap_delete_DropSource(PyObject *, PyObject *args, PyObject *kwargs) {
28639 PyObject *resultobj;
28640 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28641 PyObject * obj0 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropSource",kwnames,&obj0)) goto fail;
28647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28648 if (SWIG_arg_fail(1)) SWIG_fail;
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 delete arg1;
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 Py_INCREF(Py_None); resultobj = Py_None;
28657 return resultobj;
28658 fail:
28659 return NULL;
28660 }
28661
28662
28663 static PyObject *_wrap_DropSource_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
28664 PyObject *resultobj;
28665 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28666 wxDataObject *arg2 = 0 ;
28667 PyObject * obj0 = 0 ;
28668 PyObject * obj1 = 0 ;
28669 char *kwnames[] = {
28670 (char *) "self",(char *) "data", NULL
28671 };
28672
28673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_SetData",kwnames,&obj0,&obj1)) goto fail;
28674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28675 if (SWIG_arg_fail(1)) SWIG_fail;
28676 {
28677 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
28678 if (SWIG_arg_fail(2)) SWIG_fail;
28679 if (arg2 == NULL) {
28680 SWIG_null_ref("wxDataObject");
28681 }
28682 if (SWIG_arg_fail(2)) SWIG_fail;
28683 }
28684 {
28685 PyThreadState* __tstate = wxPyBeginAllowThreads();
28686 (arg1)->SetData(*arg2);
28687
28688 wxPyEndAllowThreads(__tstate);
28689 if (PyErr_Occurred()) SWIG_fail;
28690 }
28691 Py_INCREF(Py_None); resultobj = Py_None;
28692 return resultobj;
28693 fail:
28694 return NULL;
28695 }
28696
28697
28698 static PyObject *_wrap_DropSource_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
28699 PyObject *resultobj;
28700 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28701 wxDataObject *result;
28702 PyObject * obj0 = 0 ;
28703 char *kwnames[] = {
28704 (char *) "self", NULL
28705 };
28706
28707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropSource_GetDataObject",kwnames,&obj0)) goto fail;
28708 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28709 if (SWIG_arg_fail(1)) SWIG_fail;
28710 {
28711 PyThreadState* __tstate = wxPyBeginAllowThreads();
28712 result = (wxDataObject *)(arg1)->GetDataObject();
28713
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
28718 return resultobj;
28719 fail:
28720 return NULL;
28721 }
28722
28723
28724 static PyObject *_wrap_DropSource_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
28725 PyObject *resultobj;
28726 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28727 wxDragResult arg2 ;
28728 wxCursor *arg3 = 0 ;
28729 PyObject * obj0 = 0 ;
28730 PyObject * obj1 = 0 ;
28731 PyObject * obj2 = 0 ;
28732 char *kwnames[] = {
28733 (char *) "self",(char *) "res",(char *) "cursor", NULL
28734 };
28735
28736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropSource_SetCursor",kwnames,&obj0,&obj1,&obj2)) goto fail;
28737 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28738 if (SWIG_arg_fail(1)) SWIG_fail;
28739 {
28740 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28741 if (SWIG_arg_fail(2)) SWIG_fail;
28742 }
28743 {
28744 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
28745 if (SWIG_arg_fail(3)) SWIG_fail;
28746 if (arg3 == NULL) {
28747 SWIG_null_ref("wxCursor");
28748 }
28749 if (SWIG_arg_fail(3)) SWIG_fail;
28750 }
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 (arg1)->SetCursor((wxDragResult )arg2,(wxCursor const &)*arg3);
28754
28755 wxPyEndAllowThreads(__tstate);
28756 if (PyErr_Occurred()) SWIG_fail;
28757 }
28758 Py_INCREF(Py_None); resultobj = Py_None;
28759 return resultobj;
28760 fail:
28761 return NULL;
28762 }
28763
28764
28765 static PyObject *_wrap_DropSource_DoDragDrop(PyObject *, PyObject *args, PyObject *kwargs) {
28766 PyObject *resultobj;
28767 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28768 int arg2 = (int) wxDrag_CopyOnly ;
28769 wxDragResult result;
28770 PyObject * obj0 = 0 ;
28771 PyObject * obj1 = 0 ;
28772 char *kwnames[] = {
28773 (char *) "self",(char *) "flags", NULL
28774 };
28775
28776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:DropSource_DoDragDrop",kwnames,&obj0,&obj1)) goto fail;
28777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28778 if (SWIG_arg_fail(1)) SWIG_fail;
28779 if (obj1) {
28780 {
28781 arg2 = (int)(SWIG_As_int(obj1));
28782 if (SWIG_arg_fail(2)) SWIG_fail;
28783 }
28784 }
28785 {
28786 PyThreadState* __tstate = wxPyBeginAllowThreads();
28787 result = (wxDragResult)(arg1)->DoDragDrop(arg2);
28788
28789 wxPyEndAllowThreads(__tstate);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
28792 resultobj = SWIG_From_int((result));
28793 return resultobj;
28794 fail:
28795 return NULL;
28796 }
28797
28798
28799 static PyObject *_wrap_DropSource_base_GiveFeedback(PyObject *, PyObject *args, PyObject *kwargs) {
28800 PyObject *resultobj;
28801 wxPyDropSource *arg1 = (wxPyDropSource *) 0 ;
28802 wxDragResult arg2 ;
28803 bool result;
28804 PyObject * obj0 = 0 ;
28805 PyObject * obj1 = 0 ;
28806 char *kwnames[] = {
28807 (char *) "self",(char *) "effect", NULL
28808 };
28809
28810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropSource_base_GiveFeedback",kwnames,&obj0,&obj1)) goto fail;
28811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropSource, SWIG_POINTER_EXCEPTION | 0);
28812 if (SWIG_arg_fail(1)) SWIG_fail;
28813 {
28814 arg2 = (wxDragResult)(SWIG_As_int(obj1));
28815 if (SWIG_arg_fail(2)) SWIG_fail;
28816 }
28817 {
28818 PyThreadState* __tstate = wxPyBeginAllowThreads();
28819 result = (bool)(arg1)->base_GiveFeedback((wxDragResult )arg2);
28820
28821 wxPyEndAllowThreads(__tstate);
28822 if (PyErr_Occurred()) SWIG_fail;
28823 }
28824 {
28825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28826 }
28827 return resultobj;
28828 fail:
28829 return NULL;
28830 }
28831
28832
28833 static PyObject * DropSource_swigregister(PyObject *, PyObject *args) {
28834 PyObject *obj;
28835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28836 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource, obj);
28837 Py_INCREF(obj);
28838 return Py_BuildValue((char *)"");
28839 }
28840 static PyObject *_wrap_new_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj;
28842 wxDataObject *arg1 = (wxDataObject *) NULL ;
28843 wxPyDropTarget *result;
28844 PyObject * obj0 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "dataObject", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_DropTarget",kwnames,&obj0)) goto fail;
28850 if (obj0) {
28851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28852 if (SWIG_arg_fail(1)) SWIG_fail;
28853 }
28854 {
28855 PyThreadState* __tstate = wxPyBeginAllowThreads();
28856 result = (wxPyDropTarget *)new wxPyDropTarget(arg1);
28857
28858 wxPyEndAllowThreads(__tstate);
28859 if (PyErr_Occurred()) SWIG_fail;
28860 }
28861 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 1);
28862 return resultobj;
28863 fail:
28864 return NULL;
28865 }
28866
28867
28868 static PyObject *_wrap_DropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
28869 PyObject *resultobj;
28870 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28871 PyObject *arg2 = (PyObject *) 0 ;
28872 PyObject *arg3 = (PyObject *) 0 ;
28873 PyObject * obj0 = 0 ;
28874 PyObject * obj1 = 0 ;
28875 PyObject * obj2 = 0 ;
28876 char *kwnames[] = {
28877 (char *) "self",(char *) "self",(char *) "_class", NULL
28878 };
28879
28880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28881 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28882 if (SWIG_arg_fail(1)) SWIG_fail;
28883 arg2 = obj1;
28884 arg3 = obj2;
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->_setCallbackInfo(arg2,arg3);
28888
28889 wxPyEndAllowThreads(__tstate);
28890 if (PyErr_Occurred()) SWIG_fail;
28891 }
28892 Py_INCREF(Py_None); resultobj = Py_None;
28893 return resultobj;
28894 fail:
28895 return NULL;
28896 }
28897
28898
28899 static PyObject *_wrap_delete_DropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
28900 PyObject *resultobj;
28901 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28902 PyObject * obj0 = 0 ;
28903 char *kwnames[] = {
28904 (char *) "self", NULL
28905 };
28906
28907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DropTarget",kwnames,&obj0)) goto fail;
28908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28909 if (SWIG_arg_fail(1)) SWIG_fail;
28910 {
28911 PyThreadState* __tstate = wxPyBeginAllowThreads();
28912 delete arg1;
28913
28914 wxPyEndAllowThreads(__tstate);
28915 if (PyErr_Occurred()) SWIG_fail;
28916 }
28917 Py_INCREF(Py_None); resultobj = Py_None;
28918 return resultobj;
28919 fail:
28920 return NULL;
28921 }
28922
28923
28924 static PyObject *_wrap_DropTarget_GetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
28925 PyObject *resultobj;
28926 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28927 wxDataObject *result;
28928 PyObject * obj0 = 0 ;
28929 char *kwnames[] = {
28930 (char *) "self", NULL
28931 };
28932
28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDataObject",kwnames,&obj0)) goto fail;
28934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28935 if (SWIG_arg_fail(1)) SWIG_fail;
28936 {
28937 PyThreadState* __tstate = wxPyBeginAllowThreads();
28938 result = (wxDataObject *)(arg1)->GetDataObject();
28939
28940 wxPyEndAllowThreads(__tstate);
28941 if (PyErr_Occurred()) SWIG_fail;
28942 }
28943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDataObject, 0);
28944 return resultobj;
28945 fail:
28946 return NULL;
28947 }
28948
28949
28950 static PyObject *_wrap_DropTarget_SetDataObject(PyObject *, PyObject *args, PyObject *kwargs) {
28951 PyObject *resultobj;
28952 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28953 wxDataObject *arg2 = (wxDataObject *) 0 ;
28954 PyObject * obj0 = 0 ;
28955 PyObject * obj1 = 0 ;
28956 char *kwnames[] = {
28957 (char *) "self",(char *) "dataObject", NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDataObject",kwnames,&obj0,&obj1)) goto fail;
28961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail;
28963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28964 if (SWIG_arg_fail(2)) SWIG_fail;
28965 {
28966 PyThreadState* __tstate = wxPyBeginAllowThreads();
28967 (arg1)->SetDataObject(arg2);
28968
28969 wxPyEndAllowThreads(__tstate);
28970 if (PyErr_Occurred()) SWIG_fail;
28971 }
28972 Py_INCREF(Py_None); resultobj = Py_None;
28973 return resultobj;
28974 fail:
28975 return NULL;
28976 }
28977
28978
28979 static PyObject *_wrap_DropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
28980 PyObject *resultobj;
28981 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
28982 int arg2 ;
28983 int arg3 ;
28984 wxDragResult arg4 ;
28985 wxDragResult result;
28986 PyObject * obj0 = 0 ;
28987 PyObject * obj1 = 0 ;
28988 PyObject * obj2 = 0 ;
28989 PyObject * obj3 = 0 ;
28990 char *kwnames[] = {
28991 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
28992 };
28993
28994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
28996 if (SWIG_arg_fail(1)) SWIG_fail;
28997 {
28998 arg2 = (int)(SWIG_As_int(obj1));
28999 if (SWIG_arg_fail(2)) SWIG_fail;
29000 }
29001 {
29002 arg3 = (int)(SWIG_As_int(obj2));
29003 if (SWIG_arg_fail(3)) SWIG_fail;
29004 }
29005 {
29006 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29007 if (SWIG_arg_fail(4)) SWIG_fail;
29008 }
29009 {
29010 PyThreadState* __tstate = wxPyBeginAllowThreads();
29011 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
29012
29013 wxPyEndAllowThreads(__tstate);
29014 if (PyErr_Occurred()) SWIG_fail;
29015 }
29016 resultobj = SWIG_From_int((result));
29017 return resultobj;
29018 fail:
29019 return NULL;
29020 }
29021
29022
29023 static PyObject *_wrap_DropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
29024 PyObject *resultobj;
29025 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29026 int arg2 ;
29027 int arg3 ;
29028 wxDragResult arg4 ;
29029 wxDragResult result;
29030 PyObject * obj0 = 0 ;
29031 PyObject * obj1 = 0 ;
29032 PyObject * obj2 = 0 ;
29033 PyObject * obj3 = 0 ;
29034 char *kwnames[] = {
29035 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29036 };
29037
29038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29040 if (SWIG_arg_fail(1)) SWIG_fail;
29041 {
29042 arg2 = (int)(SWIG_As_int(obj1));
29043 if (SWIG_arg_fail(2)) SWIG_fail;
29044 }
29045 {
29046 arg3 = (int)(SWIG_As_int(obj2));
29047 if (SWIG_arg_fail(3)) SWIG_fail;
29048 }
29049 {
29050 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29051 if (SWIG_arg_fail(4)) SWIG_fail;
29052 }
29053 {
29054 PyThreadState* __tstate = wxPyBeginAllowThreads();
29055 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
29056
29057 wxPyEndAllowThreads(__tstate);
29058 if (PyErr_Occurred()) SWIG_fail;
29059 }
29060 resultobj = SWIG_From_int((result));
29061 return resultobj;
29062 fail:
29063 return NULL;
29064 }
29065
29066
29067 static PyObject *_wrap_DropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
29068 PyObject *resultobj;
29069 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29070 PyObject * obj0 = 0 ;
29071 char *kwnames[] = {
29072 (char *) "self", NULL
29073 };
29074
29075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
29076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29077 if (SWIG_arg_fail(1)) SWIG_fail;
29078 {
29079 PyThreadState* __tstate = wxPyBeginAllowThreads();
29080 (arg1)->base_OnLeave();
29081
29082 wxPyEndAllowThreads(__tstate);
29083 if (PyErr_Occurred()) SWIG_fail;
29084 }
29085 Py_INCREF(Py_None); resultobj = Py_None;
29086 return resultobj;
29087 fail:
29088 return NULL;
29089 }
29090
29091
29092 static PyObject *_wrap_DropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
29093 PyObject *resultobj;
29094 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29095 int arg2 ;
29096 int arg3 ;
29097 bool result;
29098 PyObject * obj0 = 0 ;
29099 PyObject * obj1 = 0 ;
29100 PyObject * obj2 = 0 ;
29101 char *kwnames[] = {
29102 (char *) "self",(char *) "x",(char *) "y", NULL
29103 };
29104
29105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
29106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29107 if (SWIG_arg_fail(1)) SWIG_fail;
29108 {
29109 arg2 = (int)(SWIG_As_int(obj1));
29110 if (SWIG_arg_fail(2)) SWIG_fail;
29111 }
29112 {
29113 arg3 = (int)(SWIG_As_int(obj2));
29114 if (SWIG_arg_fail(3)) SWIG_fail;
29115 }
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
29124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29125 }
29126 return resultobj;
29127 fail:
29128 return NULL;
29129 }
29130
29131
29132 static PyObject *_wrap_DropTarget_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
29133 PyObject *resultobj;
29134 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29135 bool result;
29136 PyObject * obj0 = 0 ;
29137 char *kwnames[] = {
29138 (char *) "self", NULL
29139 };
29140
29141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetData",kwnames,&obj0)) goto fail;
29142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail;
29144 {
29145 PyThreadState* __tstate = wxPyBeginAllowThreads();
29146 result = (bool)(arg1)->GetData();
29147
29148 wxPyEndAllowThreads(__tstate);
29149 if (PyErr_Occurred()) SWIG_fail;
29150 }
29151 {
29152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29153 }
29154 return resultobj;
29155 fail:
29156 return NULL;
29157 }
29158
29159
29160 static PyObject *_wrap_DropTarget_SetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29161 PyObject *resultobj;
29162 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29163 wxDragResult arg2 ;
29164 PyObject * obj0 = 0 ;
29165 PyObject * obj1 = 0 ;
29166 char *kwnames[] = {
29167 (char *) "self",(char *) "action", NULL
29168 };
29169
29170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DropTarget_SetDefaultAction",kwnames,&obj0,&obj1)) goto fail;
29171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail;
29173 {
29174 arg2 = (wxDragResult)(SWIG_As_int(obj1));
29175 if (SWIG_arg_fail(2)) SWIG_fail;
29176 }
29177 {
29178 PyThreadState* __tstate = wxPyBeginAllowThreads();
29179 (arg1)->SetDefaultAction((wxDragResult )arg2);
29180
29181 wxPyEndAllowThreads(__tstate);
29182 if (PyErr_Occurred()) SWIG_fail;
29183 }
29184 Py_INCREF(Py_None); resultobj = Py_None;
29185 return resultobj;
29186 fail:
29187 return NULL;
29188 }
29189
29190
29191 static PyObject *_wrap_DropTarget_GetDefaultAction(PyObject *, PyObject *args, PyObject *kwargs) {
29192 PyObject *resultobj;
29193 wxPyDropTarget *arg1 = (wxPyDropTarget *) 0 ;
29194 wxDragResult result;
29195 PyObject * obj0 = 0 ;
29196 char *kwnames[] = {
29197 (char *) "self", NULL
29198 };
29199
29200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropTarget_GetDefaultAction",kwnames,&obj0)) goto fail;
29201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyDropTarget, SWIG_POINTER_EXCEPTION | 0);
29202 if (SWIG_arg_fail(1)) SWIG_fail;
29203 {
29204 PyThreadState* __tstate = wxPyBeginAllowThreads();
29205 result = (wxDragResult)(arg1)->GetDefaultAction();
29206
29207 wxPyEndAllowThreads(__tstate);
29208 if (PyErr_Occurred()) SWIG_fail;
29209 }
29210 resultobj = SWIG_From_int((result));
29211 return resultobj;
29212 fail:
29213 return NULL;
29214 }
29215
29216
29217 static PyObject * DropTarget_swigregister(PyObject *, PyObject *args) {
29218 PyObject *obj;
29219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29220 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget, obj);
29221 Py_INCREF(obj);
29222 return Py_BuildValue((char *)"");
29223 }
29224 static PyObject *_wrap_new_TextDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
29225 PyObject *resultobj;
29226 wxPyTextDropTarget *result;
29227 char *kwnames[] = {
29228 NULL
29229 };
29230
29231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TextDropTarget",kwnames)) goto fail;
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (wxPyTextDropTarget *)new wxPyTextDropTarget();
29235
29236 wxPyEndAllowThreads(__tstate);
29237 if (PyErr_Occurred()) SWIG_fail;
29238 }
29239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTextDropTarget, 1);
29240 return resultobj;
29241 fail:
29242 return NULL;
29243 }
29244
29245
29246 static PyObject *_wrap_TextDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29247 PyObject *resultobj;
29248 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29249 PyObject *arg2 = (PyObject *) 0 ;
29250 PyObject *arg3 = (PyObject *) 0 ;
29251 PyObject * obj0 = 0 ;
29252 PyObject * obj1 = 0 ;
29253 PyObject * obj2 = 0 ;
29254 char *kwnames[] = {
29255 (char *) "self",(char *) "self",(char *) "_class", NULL
29256 };
29257
29258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29259 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29260 if (SWIG_arg_fail(1)) SWIG_fail;
29261 arg2 = obj1;
29262 arg3 = obj2;
29263 {
29264 PyThreadState* __tstate = wxPyBeginAllowThreads();
29265 (arg1)->_setCallbackInfo(arg2,arg3);
29266
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 Py_INCREF(Py_None); resultobj = Py_None;
29271 return resultobj;
29272 fail:
29273 return NULL;
29274 }
29275
29276
29277 static PyObject *_wrap_TextDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
29278 PyObject *resultobj;
29279 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29280 int arg2 ;
29281 int arg3 ;
29282 wxDragResult arg4 ;
29283 wxDragResult result;
29284 PyObject * obj0 = 0 ;
29285 PyObject * obj1 = 0 ;
29286 PyObject * obj2 = 0 ;
29287 PyObject * obj3 = 0 ;
29288 char *kwnames[] = {
29289 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29290 };
29291
29292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29294 if (SWIG_arg_fail(1)) SWIG_fail;
29295 {
29296 arg2 = (int)(SWIG_As_int(obj1));
29297 if (SWIG_arg_fail(2)) SWIG_fail;
29298 }
29299 {
29300 arg3 = (int)(SWIG_As_int(obj2));
29301 if (SWIG_arg_fail(3)) SWIG_fail;
29302 }
29303 {
29304 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29305 if (SWIG_arg_fail(4)) SWIG_fail;
29306 }
29307 {
29308 PyThreadState* __tstate = wxPyBeginAllowThreads();
29309 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
29310
29311 wxPyEndAllowThreads(__tstate);
29312 if (PyErr_Occurred()) SWIG_fail;
29313 }
29314 resultobj = SWIG_From_int((result));
29315 return resultobj;
29316 fail:
29317 return NULL;
29318 }
29319
29320
29321 static PyObject *_wrap_TextDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
29322 PyObject *resultobj;
29323 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29324 int arg2 ;
29325 int arg3 ;
29326 wxDragResult arg4 ;
29327 wxDragResult result;
29328 PyObject * obj0 = 0 ;
29329 PyObject * obj1 = 0 ;
29330 PyObject * obj2 = 0 ;
29331 PyObject * obj3 = 0 ;
29332 char *kwnames[] = {
29333 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29334 };
29335
29336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29338 if (SWIG_arg_fail(1)) SWIG_fail;
29339 {
29340 arg2 = (int)(SWIG_As_int(obj1));
29341 if (SWIG_arg_fail(2)) SWIG_fail;
29342 }
29343 {
29344 arg3 = (int)(SWIG_As_int(obj2));
29345 if (SWIG_arg_fail(3)) SWIG_fail;
29346 }
29347 {
29348 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29349 if (SWIG_arg_fail(4)) SWIG_fail;
29350 }
29351 {
29352 PyThreadState* __tstate = wxPyBeginAllowThreads();
29353 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
29354
29355 wxPyEndAllowThreads(__tstate);
29356 if (PyErr_Occurred()) SWIG_fail;
29357 }
29358 resultobj = SWIG_From_int((result));
29359 return resultobj;
29360 fail:
29361 return NULL;
29362 }
29363
29364
29365 static PyObject *_wrap_TextDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
29366 PyObject *resultobj;
29367 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29368 PyObject * obj0 = 0 ;
29369 char *kwnames[] = {
29370 (char *) "self", NULL
29371 };
29372
29373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
29374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29375 if (SWIG_arg_fail(1)) SWIG_fail;
29376 {
29377 PyThreadState* __tstate = wxPyBeginAllowThreads();
29378 (arg1)->base_OnLeave();
29379
29380 wxPyEndAllowThreads(__tstate);
29381 if (PyErr_Occurred()) SWIG_fail;
29382 }
29383 Py_INCREF(Py_None); resultobj = Py_None;
29384 return resultobj;
29385 fail:
29386 return NULL;
29387 }
29388
29389
29390 static PyObject *_wrap_TextDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
29391 PyObject *resultobj;
29392 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29393 int arg2 ;
29394 int arg3 ;
29395 bool result;
29396 PyObject * obj0 = 0 ;
29397 PyObject * obj1 = 0 ;
29398 PyObject * obj2 = 0 ;
29399 char *kwnames[] = {
29400 (char *) "self",(char *) "x",(char *) "y", NULL
29401 };
29402
29403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
29404 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29405 if (SWIG_arg_fail(1)) SWIG_fail;
29406 {
29407 arg2 = (int)(SWIG_As_int(obj1));
29408 if (SWIG_arg_fail(2)) SWIG_fail;
29409 }
29410 {
29411 arg3 = (int)(SWIG_As_int(obj2));
29412 if (SWIG_arg_fail(3)) SWIG_fail;
29413 }
29414 {
29415 PyThreadState* __tstate = wxPyBeginAllowThreads();
29416 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29417
29418 wxPyEndAllowThreads(__tstate);
29419 if (PyErr_Occurred()) SWIG_fail;
29420 }
29421 {
29422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29423 }
29424 return resultobj;
29425 fail:
29426 return NULL;
29427 }
29428
29429
29430 static PyObject *_wrap_TextDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
29431 PyObject *resultobj;
29432 wxPyTextDropTarget *arg1 = (wxPyTextDropTarget *) 0 ;
29433 int arg2 ;
29434 int arg3 ;
29435 wxDragResult arg4 ;
29436 wxDragResult result;
29437 PyObject * obj0 = 0 ;
29438 PyObject * obj1 = 0 ;
29439 PyObject * obj2 = 0 ;
29440 PyObject * obj3 = 0 ;
29441 char *kwnames[] = {
29442 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29443 };
29444
29445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTextDropTarget, SWIG_POINTER_EXCEPTION | 0);
29447 if (SWIG_arg_fail(1)) SWIG_fail;
29448 {
29449 arg2 = (int)(SWIG_As_int(obj1));
29450 if (SWIG_arg_fail(2)) SWIG_fail;
29451 }
29452 {
29453 arg3 = (int)(SWIG_As_int(obj2));
29454 if (SWIG_arg_fail(3)) SWIG_fail;
29455 }
29456 {
29457 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29458 if (SWIG_arg_fail(4)) SWIG_fail;
29459 }
29460 {
29461 PyThreadState* __tstate = wxPyBeginAllowThreads();
29462 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
29463
29464 wxPyEndAllowThreads(__tstate);
29465 if (PyErr_Occurred()) SWIG_fail;
29466 }
29467 resultobj = SWIG_From_int((result));
29468 return resultobj;
29469 fail:
29470 return NULL;
29471 }
29472
29473
29474 static PyObject * TextDropTarget_swigregister(PyObject *, PyObject *args) {
29475 PyObject *obj;
29476 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29477 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget, obj);
29478 Py_INCREF(obj);
29479 return Py_BuildValue((char *)"");
29480 }
29481 static PyObject *_wrap_new_FileDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
29482 PyObject *resultobj;
29483 wxPyFileDropTarget *result;
29484 char *kwnames[] = {
29485 NULL
29486 };
29487
29488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileDropTarget",kwnames)) goto fail;
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = (wxPyFileDropTarget *)new wxPyFileDropTarget();
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
29496 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileDropTarget, 1);
29497 return resultobj;
29498 fail:
29499 return NULL;
29500 }
29501
29502
29503 static PyObject *_wrap_FileDropTarget__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
29504 PyObject *resultobj;
29505 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29506 PyObject *arg2 = (PyObject *) 0 ;
29507 PyObject *arg3 = (PyObject *) 0 ;
29508 PyObject * obj0 = 0 ;
29509 PyObject * obj1 = 0 ;
29510 PyObject * obj2 = 0 ;
29511 char *kwnames[] = {
29512 (char *) "self",(char *) "self",(char *) "_class", NULL
29513 };
29514
29515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29517 if (SWIG_arg_fail(1)) SWIG_fail;
29518 arg2 = obj1;
29519 arg3 = obj2;
29520 {
29521 PyThreadState* __tstate = wxPyBeginAllowThreads();
29522 (arg1)->_setCallbackInfo(arg2,arg3);
29523
29524 wxPyEndAllowThreads(__tstate);
29525 if (PyErr_Occurred()) SWIG_fail;
29526 }
29527 Py_INCREF(Py_None); resultobj = Py_None;
29528 return resultobj;
29529 fail:
29530 return NULL;
29531 }
29532
29533
29534 static PyObject *_wrap_FileDropTarget_base_OnEnter(PyObject *, PyObject *args, PyObject *kwargs) {
29535 PyObject *resultobj;
29536 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29537 int arg2 ;
29538 int arg3 ;
29539 wxDragResult arg4 ;
29540 wxDragResult result;
29541 PyObject * obj0 = 0 ;
29542 PyObject * obj1 = 0 ;
29543 PyObject * obj2 = 0 ;
29544 PyObject * obj3 = 0 ;
29545 char *kwnames[] = {
29546 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29547 };
29548
29549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29551 if (SWIG_arg_fail(1)) SWIG_fail;
29552 {
29553 arg2 = (int)(SWIG_As_int(obj1));
29554 if (SWIG_arg_fail(2)) SWIG_fail;
29555 }
29556 {
29557 arg3 = (int)(SWIG_As_int(obj2));
29558 if (SWIG_arg_fail(3)) SWIG_fail;
29559 }
29560 {
29561 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29562 if (SWIG_arg_fail(4)) SWIG_fail;
29563 }
29564 {
29565 PyThreadState* __tstate = wxPyBeginAllowThreads();
29566 result = (wxDragResult)(arg1)->base_OnEnter(arg2,arg3,(wxDragResult )arg4);
29567
29568 wxPyEndAllowThreads(__tstate);
29569 if (PyErr_Occurred()) SWIG_fail;
29570 }
29571 resultobj = SWIG_From_int((result));
29572 return resultobj;
29573 fail:
29574 return NULL;
29575 }
29576
29577
29578 static PyObject *_wrap_FileDropTarget_base_OnDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
29579 PyObject *resultobj;
29580 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29581 int arg2 ;
29582 int arg3 ;
29583 wxDragResult arg4 ;
29584 wxDragResult result;
29585 PyObject * obj0 = 0 ;
29586 PyObject * obj1 = 0 ;
29587 PyObject * obj2 = 0 ;
29588 PyObject * obj3 = 0 ;
29589 char *kwnames[] = {
29590 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29591 };
29592
29593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29595 if (SWIG_arg_fail(1)) SWIG_fail;
29596 {
29597 arg2 = (int)(SWIG_As_int(obj1));
29598 if (SWIG_arg_fail(2)) SWIG_fail;
29599 }
29600 {
29601 arg3 = (int)(SWIG_As_int(obj2));
29602 if (SWIG_arg_fail(3)) SWIG_fail;
29603 }
29604 {
29605 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29606 if (SWIG_arg_fail(4)) SWIG_fail;
29607 }
29608 {
29609 PyThreadState* __tstate = wxPyBeginAllowThreads();
29610 result = (wxDragResult)(arg1)->base_OnDragOver(arg2,arg3,(wxDragResult )arg4);
29611
29612 wxPyEndAllowThreads(__tstate);
29613 if (PyErr_Occurred()) SWIG_fail;
29614 }
29615 resultobj = SWIG_From_int((result));
29616 return resultobj;
29617 fail:
29618 return NULL;
29619 }
29620
29621
29622 static PyObject *_wrap_FileDropTarget_base_OnLeave(PyObject *, PyObject *args, PyObject *kwargs) {
29623 PyObject *resultobj;
29624 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29625 PyObject * obj0 = 0 ;
29626 char *kwnames[] = {
29627 (char *) "self", NULL
29628 };
29629
29630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDropTarget_base_OnLeave",kwnames,&obj0)) goto fail;
29631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29632 if (SWIG_arg_fail(1)) SWIG_fail;
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 (arg1)->base_OnLeave();
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 Py_INCREF(Py_None); resultobj = Py_None;
29641 return resultobj;
29642 fail:
29643 return NULL;
29644 }
29645
29646
29647 static PyObject *_wrap_FileDropTarget_base_OnDrop(PyObject *, PyObject *args, PyObject *kwargs) {
29648 PyObject *resultobj;
29649 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29650 int arg2 ;
29651 int arg3 ;
29652 bool result;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 PyObject * obj2 = 0 ;
29656 char *kwnames[] = {
29657 (char *) "self",(char *) "x",(char *) "y", NULL
29658 };
29659
29660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames,&obj0,&obj1,&obj2)) goto fail;
29661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29662 if (SWIG_arg_fail(1)) SWIG_fail;
29663 {
29664 arg2 = (int)(SWIG_As_int(obj1));
29665 if (SWIG_arg_fail(2)) SWIG_fail;
29666 }
29667 {
29668 arg3 = (int)(SWIG_As_int(obj2));
29669 if (SWIG_arg_fail(3)) SWIG_fail;
29670 }
29671 {
29672 PyThreadState* __tstate = wxPyBeginAllowThreads();
29673 result = (bool)(arg1)->base_OnDrop(arg2,arg3);
29674
29675 wxPyEndAllowThreads(__tstate);
29676 if (PyErr_Occurred()) SWIG_fail;
29677 }
29678 {
29679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29680 }
29681 return resultobj;
29682 fail:
29683 return NULL;
29684 }
29685
29686
29687 static PyObject *_wrap_FileDropTarget_base_OnData(PyObject *, PyObject *args, PyObject *kwargs) {
29688 PyObject *resultobj;
29689 wxPyFileDropTarget *arg1 = (wxPyFileDropTarget *) 0 ;
29690 int arg2 ;
29691 int arg3 ;
29692 wxDragResult arg4 ;
29693 wxDragResult result;
29694 PyObject * obj0 = 0 ;
29695 PyObject * obj1 = 0 ;
29696 PyObject * obj2 = 0 ;
29697 PyObject * obj3 = 0 ;
29698 char *kwnames[] = {
29699 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
29700 };
29701
29702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:FileDropTarget_base_OnData",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29703 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyFileDropTarget, SWIG_POINTER_EXCEPTION | 0);
29704 if (SWIG_arg_fail(1)) SWIG_fail;
29705 {
29706 arg2 = (int)(SWIG_As_int(obj1));
29707 if (SWIG_arg_fail(2)) SWIG_fail;
29708 }
29709 {
29710 arg3 = (int)(SWIG_As_int(obj2));
29711 if (SWIG_arg_fail(3)) SWIG_fail;
29712 }
29713 {
29714 arg4 = (wxDragResult)(SWIG_As_int(obj3));
29715 if (SWIG_arg_fail(4)) SWIG_fail;
29716 }
29717 {
29718 PyThreadState* __tstate = wxPyBeginAllowThreads();
29719 result = (wxDragResult)(arg1)->base_OnData(arg2,arg3,(wxDragResult )arg4);
29720
29721 wxPyEndAllowThreads(__tstate);
29722 if (PyErr_Occurred()) SWIG_fail;
29723 }
29724 resultobj = SWIG_From_int((result));
29725 return resultobj;
29726 fail:
29727 return NULL;
29728 }
29729
29730
29731 static PyObject * FileDropTarget_swigregister(PyObject *, PyObject *args) {
29732 PyObject *obj;
29733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29734 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget, obj);
29735 Py_INCREF(obj);
29736 return Py_BuildValue((char *)"");
29737 }
29738 static PyObject *_wrap_new_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
29739 PyObject *resultobj;
29740 wxClipboard *result;
29741 char *kwnames[] = {
29742 NULL
29743 };
29744
29745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Clipboard",kwnames)) goto fail;
29746 {
29747 PyThreadState* __tstate = wxPyBeginAllowThreads();
29748 result = (wxClipboard *)new wxClipboard();
29749
29750 wxPyEndAllowThreads(__tstate);
29751 if (PyErr_Occurred()) SWIG_fail;
29752 }
29753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 1);
29754 return resultobj;
29755 fail:
29756 return NULL;
29757 }
29758
29759
29760 static PyObject *_wrap_delete_Clipboard(PyObject *, PyObject *args, PyObject *kwargs) {
29761 PyObject *resultobj;
29762 wxClipboard *arg1 = (wxClipboard *) 0 ;
29763 PyObject * obj0 = 0 ;
29764 char *kwnames[] = {
29765 (char *) "self", NULL
29766 };
29767
29768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Clipboard",kwnames,&obj0)) goto fail;
29769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29770 if (SWIG_arg_fail(1)) SWIG_fail;
29771 {
29772 PyThreadState* __tstate = wxPyBeginAllowThreads();
29773 delete arg1;
29774
29775 wxPyEndAllowThreads(__tstate);
29776 if (PyErr_Occurred()) SWIG_fail;
29777 }
29778 Py_INCREF(Py_None); resultobj = Py_None;
29779 return resultobj;
29780 fail:
29781 return NULL;
29782 }
29783
29784
29785 static PyObject *_wrap_Clipboard_Open(PyObject *, PyObject *args, PyObject *kwargs) {
29786 PyObject *resultobj;
29787 wxClipboard *arg1 = (wxClipboard *) 0 ;
29788 bool result;
29789 PyObject * obj0 = 0 ;
29790 char *kwnames[] = {
29791 (char *) "self", NULL
29792 };
29793
29794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Open",kwnames,&obj0)) goto fail;
29795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29796 if (SWIG_arg_fail(1)) SWIG_fail;
29797 {
29798 PyThreadState* __tstate = wxPyBeginAllowThreads();
29799 result = (bool)(arg1)->Open();
29800
29801 wxPyEndAllowThreads(__tstate);
29802 if (PyErr_Occurred()) SWIG_fail;
29803 }
29804 {
29805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29806 }
29807 return resultobj;
29808 fail:
29809 return NULL;
29810 }
29811
29812
29813 static PyObject *_wrap_Clipboard_Close(PyObject *, PyObject *args, PyObject *kwargs) {
29814 PyObject *resultobj;
29815 wxClipboard *arg1 = (wxClipboard *) 0 ;
29816 PyObject * obj0 = 0 ;
29817 char *kwnames[] = {
29818 (char *) "self", NULL
29819 };
29820
29821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Close",kwnames,&obj0)) goto fail;
29822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29823 if (SWIG_arg_fail(1)) SWIG_fail;
29824 {
29825 PyThreadState* __tstate = wxPyBeginAllowThreads();
29826 (arg1)->Close();
29827
29828 wxPyEndAllowThreads(__tstate);
29829 if (PyErr_Occurred()) SWIG_fail;
29830 }
29831 Py_INCREF(Py_None); resultobj = Py_None;
29832 return resultobj;
29833 fail:
29834 return NULL;
29835 }
29836
29837
29838 static PyObject *_wrap_Clipboard_IsOpened(PyObject *, PyObject *args, PyObject *kwargs) {
29839 PyObject *resultobj;
29840 wxClipboard *arg1 = (wxClipboard *) 0 ;
29841 bool result;
29842 PyObject * obj0 = 0 ;
29843 char *kwnames[] = {
29844 (char *) "self", NULL
29845 };
29846
29847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_IsOpened",kwnames,&obj0)) goto fail;
29848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29849 if (SWIG_arg_fail(1)) SWIG_fail;
29850 {
29851 PyThreadState* __tstate = wxPyBeginAllowThreads();
29852 result = (bool)((wxClipboard const *)arg1)->IsOpened();
29853
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 {
29858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29859 }
29860 return resultobj;
29861 fail:
29862 return NULL;
29863 }
29864
29865
29866 static PyObject *_wrap_Clipboard_AddData(PyObject *, PyObject *args, PyObject *kwargs) {
29867 PyObject *resultobj;
29868 wxClipboard *arg1 = (wxClipboard *) 0 ;
29869 wxDataObject *arg2 = (wxDataObject *) 0 ;
29870 bool result;
29871 PyObject * obj0 = 0 ;
29872 PyObject * obj1 = 0 ;
29873 char *kwnames[] = {
29874 (char *) "self",(char *) "data", NULL
29875 };
29876
29877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_AddData",kwnames,&obj0,&obj1)) goto fail;
29878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29879 if (SWIG_arg_fail(1)) SWIG_fail;
29880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29881 if (SWIG_arg_fail(2)) SWIG_fail;
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 result = (bool)(arg1)->AddData(arg2);
29885
29886 wxPyEndAllowThreads(__tstate);
29887 if (PyErr_Occurred()) SWIG_fail;
29888 }
29889 {
29890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29891 }
29892 return resultobj;
29893 fail:
29894 return NULL;
29895 }
29896
29897
29898 static PyObject *_wrap_Clipboard_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
29899 PyObject *resultobj;
29900 wxClipboard *arg1 = (wxClipboard *) 0 ;
29901 wxDataObject *arg2 = (wxDataObject *) 0 ;
29902 bool result;
29903 PyObject * obj0 = 0 ;
29904 PyObject * obj1 = 0 ;
29905 char *kwnames[] = {
29906 (char *) "self",(char *) "data", NULL
29907 };
29908
29909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_SetData",kwnames,&obj0,&obj1)) goto fail;
29910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29911 if (SWIG_arg_fail(1)) SWIG_fail;
29912 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
29913 if (SWIG_arg_fail(2)) SWIG_fail;
29914 {
29915 PyThreadState* __tstate = wxPyBeginAllowThreads();
29916 result = (bool)(arg1)->SetData(arg2);
29917
29918 wxPyEndAllowThreads(__tstate);
29919 if (PyErr_Occurred()) SWIG_fail;
29920 }
29921 {
29922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29923 }
29924 return resultobj;
29925 fail:
29926 return NULL;
29927 }
29928
29929
29930 static PyObject *_wrap_Clipboard_IsSupported(PyObject *, PyObject *args, PyObject *kwargs) {
29931 PyObject *resultobj;
29932 wxClipboard *arg1 = (wxClipboard *) 0 ;
29933 wxDataFormat *arg2 = 0 ;
29934 bool result;
29935 PyObject * obj0 = 0 ;
29936 PyObject * obj1 = 0 ;
29937 char *kwnames[] = {
29938 (char *) "self",(char *) "format", NULL
29939 };
29940
29941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_IsSupported",kwnames,&obj0,&obj1)) goto fail;
29942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29943 if (SWIG_arg_fail(1)) SWIG_fail;
29944 {
29945 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataFormat, SWIG_POINTER_EXCEPTION | 0);
29946 if (SWIG_arg_fail(2)) SWIG_fail;
29947 if (arg2 == NULL) {
29948 SWIG_null_ref("wxDataFormat");
29949 }
29950 if (SWIG_arg_fail(2)) SWIG_fail;
29951 }
29952 {
29953 PyThreadState* __tstate = wxPyBeginAllowThreads();
29954 result = (bool)(arg1)->IsSupported((wxDataFormat const &)*arg2);
29955
29956 wxPyEndAllowThreads(__tstate);
29957 if (PyErr_Occurred()) SWIG_fail;
29958 }
29959 {
29960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29961 }
29962 return resultobj;
29963 fail:
29964 return NULL;
29965 }
29966
29967
29968 static PyObject *_wrap_Clipboard_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj;
29970 wxClipboard *arg1 = (wxClipboard *) 0 ;
29971 wxDataObject *arg2 = 0 ;
29972 bool result;
29973 PyObject * obj0 = 0 ;
29974 PyObject * obj1 = 0 ;
29975 char *kwnames[] = {
29976 (char *) "self",(char *) "data", NULL
29977 };
29978
29979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Clipboard_GetData",kwnames,&obj0,&obj1)) goto fail;
29980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
29981 if (SWIG_arg_fail(1)) SWIG_fail;
29982 {
29983 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDataObject, SWIG_POINTER_EXCEPTION | 0);
29984 if (SWIG_arg_fail(2)) SWIG_fail;
29985 if (arg2 == NULL) {
29986 SWIG_null_ref("wxDataObject");
29987 }
29988 if (SWIG_arg_fail(2)) SWIG_fail;
29989 }
29990 {
29991 PyThreadState* __tstate = wxPyBeginAllowThreads();
29992 result = (bool)(arg1)->GetData(*arg2);
29993
29994 wxPyEndAllowThreads(__tstate);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 }
29997 {
29998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29999 }
30000 return resultobj;
30001 fail:
30002 return NULL;
30003 }
30004
30005
30006 static PyObject *_wrap_Clipboard_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
30007 PyObject *resultobj;
30008 wxClipboard *arg1 = (wxClipboard *) 0 ;
30009 PyObject * obj0 = 0 ;
30010 char *kwnames[] = {
30011 (char *) "self", NULL
30012 };
30013
30014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Clear",kwnames,&obj0)) goto fail;
30015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30016 if (SWIG_arg_fail(1)) SWIG_fail;
30017 {
30018 PyThreadState* __tstate = wxPyBeginAllowThreads();
30019 (arg1)->Clear();
30020
30021 wxPyEndAllowThreads(__tstate);
30022 if (PyErr_Occurred()) SWIG_fail;
30023 }
30024 Py_INCREF(Py_None); resultobj = Py_None;
30025 return resultobj;
30026 fail:
30027 return NULL;
30028 }
30029
30030
30031 static PyObject *_wrap_Clipboard_Flush(PyObject *, PyObject *args, PyObject *kwargs) {
30032 PyObject *resultobj;
30033 wxClipboard *arg1 = (wxClipboard *) 0 ;
30034 bool result;
30035 PyObject * obj0 = 0 ;
30036 char *kwnames[] = {
30037 (char *) "self", NULL
30038 };
30039
30040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Clipboard_Flush",kwnames,&obj0)) goto fail;
30041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30042 if (SWIG_arg_fail(1)) SWIG_fail;
30043 {
30044 PyThreadState* __tstate = wxPyBeginAllowThreads();
30045 result = (bool)(arg1)->Flush();
30046
30047 wxPyEndAllowThreads(__tstate);
30048 if (PyErr_Occurred()) SWIG_fail;
30049 }
30050 {
30051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30052 }
30053 return resultobj;
30054 fail:
30055 return NULL;
30056 }
30057
30058
30059 static PyObject *_wrap_Clipboard_UsePrimarySelection(PyObject *, PyObject *args, PyObject *kwargs) {
30060 PyObject *resultobj;
30061 wxClipboard *arg1 = (wxClipboard *) 0 ;
30062 bool arg2 = (bool) true ;
30063 PyObject * obj0 = 0 ;
30064 PyObject * obj1 = 0 ;
30065 char *kwnames[] = {
30066 (char *) "self",(char *) "primary", NULL
30067 };
30068
30069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames,&obj0,&obj1)) goto fail;
30070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30071 if (SWIG_arg_fail(1)) SWIG_fail;
30072 if (obj1) {
30073 {
30074 arg2 = (bool)(SWIG_As_bool(obj1));
30075 if (SWIG_arg_fail(2)) SWIG_fail;
30076 }
30077 }
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 (arg1)->UsePrimarySelection(arg2);
30081
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 Py_INCREF(Py_None); resultobj = Py_None;
30086 return resultobj;
30087 fail:
30088 return NULL;
30089 }
30090
30091
30092 static PyObject *_wrap_Clipboard_Get(PyObject *, PyObject *args, PyObject *kwargs) {
30093 PyObject *resultobj;
30094 wxClipboard *result;
30095 char *kwnames[] = {
30096 NULL
30097 };
30098
30099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Clipboard_Get",kwnames)) goto fail;
30100 {
30101 PyThreadState* __tstate = wxPyBeginAllowThreads();
30102 result = (wxClipboard *)wxClipboard::Get();
30103
30104 wxPyEndAllowThreads(__tstate);
30105 if (PyErr_Occurred()) SWIG_fail;
30106 }
30107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboard, 0);
30108 return resultobj;
30109 fail:
30110 return NULL;
30111 }
30112
30113
30114 static PyObject * Clipboard_swigregister(PyObject *, PyObject *args) {
30115 PyObject *obj;
30116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30117 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard, obj);
30118 Py_INCREF(obj);
30119 return Py_BuildValue((char *)"");
30120 }
30121 static PyObject *_wrap_new_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
30122 PyObject *resultobj;
30123 wxClipboard *arg1 = (wxClipboard *) NULL ;
30124 wxClipboardLocker *result;
30125 PyObject * obj0 = 0 ;
30126 char *kwnames[] = {
30127 (char *) "clipboard", NULL
30128 };
30129
30130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ClipboardLocker",kwnames,&obj0)) goto fail;
30131 if (obj0) {
30132 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboard, SWIG_POINTER_EXCEPTION | 0);
30133 if (SWIG_arg_fail(1)) SWIG_fail;
30134 }
30135 {
30136 PyThreadState* __tstate = wxPyBeginAllowThreads();
30137 result = (wxClipboardLocker *)new wxClipboardLocker(arg1);
30138
30139 wxPyEndAllowThreads(__tstate);
30140 if (PyErr_Occurred()) SWIG_fail;
30141 }
30142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxClipboardLocker, 1);
30143 return resultobj;
30144 fail:
30145 return NULL;
30146 }
30147
30148
30149 static PyObject *_wrap_delete_ClipboardLocker(PyObject *, PyObject *args, PyObject *kwargs) {
30150 PyObject *resultobj;
30151 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30152 PyObject * obj0 = 0 ;
30153 char *kwnames[] = {
30154 (char *) "self", NULL
30155 };
30156
30157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ClipboardLocker",kwnames,&obj0)) goto fail;
30158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30159 if (SWIG_arg_fail(1)) SWIG_fail;
30160 {
30161 PyThreadState* __tstate = wxPyBeginAllowThreads();
30162 delete arg1;
30163
30164 wxPyEndAllowThreads(__tstate);
30165 if (PyErr_Occurred()) SWIG_fail;
30166 }
30167 Py_INCREF(Py_None); resultobj = Py_None;
30168 return resultobj;
30169 fail:
30170 return NULL;
30171 }
30172
30173
30174 static PyObject *_wrap_ClipboardLocker___nonzero__(PyObject *, PyObject *args, PyObject *kwargs) {
30175 PyObject *resultobj;
30176 wxClipboardLocker *arg1 = (wxClipboardLocker *) 0 ;
30177 bool result;
30178 PyObject * obj0 = 0 ;
30179 char *kwnames[] = {
30180 (char *) "self", NULL
30181 };
30182
30183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ClipboardLocker___nonzero__",kwnames,&obj0)) goto fail;
30184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxClipboardLocker, SWIG_POINTER_EXCEPTION | 0);
30185 if (SWIG_arg_fail(1)) SWIG_fail;
30186 {
30187 PyThreadState* __tstate = wxPyBeginAllowThreads();
30188 result = (bool)wxClipboardLocker___nonzero__(arg1);
30189
30190 wxPyEndAllowThreads(__tstate);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 }
30193 {
30194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30195 }
30196 return resultobj;
30197 fail:
30198 return NULL;
30199 }
30200
30201
30202 static PyObject * ClipboardLocker_swigregister(PyObject *, PyObject *args) {
30203 PyObject *obj;
30204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30205 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker, obj);
30206 Py_INCREF(obj);
30207 return Py_BuildValue((char *)"");
30208 }
30209 static PyObject *_wrap_new_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
30210 PyObject *resultobj;
30211 int arg1 = (int) 0 ;
30212 int arg2 = (int) 0 ;
30213 int arg3 = (int) 0 ;
30214 int arg4 = (int) 0 ;
30215 wxVideoMode *result;
30216 PyObject * obj0 = 0 ;
30217 PyObject * obj1 = 0 ;
30218 PyObject * obj2 = 0 ;
30219 PyObject * obj3 = 0 ;
30220 char *kwnames[] = {
30221 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
30222 };
30223
30224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_VideoMode",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30225 if (obj0) {
30226 {
30227 arg1 = (int)(SWIG_As_int(obj0));
30228 if (SWIG_arg_fail(1)) SWIG_fail;
30229 }
30230 }
30231 if (obj1) {
30232 {
30233 arg2 = (int)(SWIG_As_int(obj1));
30234 if (SWIG_arg_fail(2)) SWIG_fail;
30235 }
30236 }
30237 if (obj2) {
30238 {
30239 arg3 = (int)(SWIG_As_int(obj2));
30240 if (SWIG_arg_fail(3)) SWIG_fail;
30241 }
30242 }
30243 if (obj3) {
30244 {
30245 arg4 = (int)(SWIG_As_int(obj3));
30246 if (SWIG_arg_fail(4)) SWIG_fail;
30247 }
30248 }
30249 {
30250 PyThreadState* __tstate = wxPyBeginAllowThreads();
30251 result = (wxVideoMode *)new wxVideoMode(arg1,arg2,arg3,arg4);
30252
30253 wxPyEndAllowThreads(__tstate);
30254 if (PyErr_Occurred()) SWIG_fail;
30255 }
30256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVideoMode, 1);
30257 return resultobj;
30258 fail:
30259 return NULL;
30260 }
30261
30262
30263 static PyObject *_wrap_delete_VideoMode(PyObject *, PyObject *args, PyObject *kwargs) {
30264 PyObject *resultobj;
30265 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30266 PyObject * obj0 = 0 ;
30267 char *kwnames[] = {
30268 (char *) "self", NULL
30269 };
30270
30271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VideoMode",kwnames,&obj0)) goto fail;
30272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30273 if (SWIG_arg_fail(1)) SWIG_fail;
30274 {
30275 PyThreadState* __tstate = wxPyBeginAllowThreads();
30276 delete arg1;
30277
30278 wxPyEndAllowThreads(__tstate);
30279 if (PyErr_Occurred()) SWIG_fail;
30280 }
30281 Py_INCREF(Py_None); resultobj = Py_None;
30282 return resultobj;
30283 fail:
30284 return NULL;
30285 }
30286
30287
30288 static PyObject *_wrap_VideoMode_Matches(PyObject *, PyObject *args, PyObject *kwargs) {
30289 PyObject *resultobj;
30290 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30291 wxVideoMode *arg2 = 0 ;
30292 bool result;
30293 PyObject * obj0 = 0 ;
30294 PyObject * obj1 = 0 ;
30295 char *kwnames[] = {
30296 (char *) "self",(char *) "other", NULL
30297 };
30298
30299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_Matches",kwnames,&obj0,&obj1)) goto fail;
30300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30301 if (SWIG_arg_fail(1)) SWIG_fail;
30302 {
30303 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30304 if (SWIG_arg_fail(2)) SWIG_fail;
30305 if (arg2 == NULL) {
30306 SWIG_null_ref("wxVideoMode");
30307 }
30308 if (SWIG_arg_fail(2)) SWIG_fail;
30309 }
30310 {
30311 PyThreadState* __tstate = wxPyBeginAllowThreads();
30312 result = (bool)((wxVideoMode const *)arg1)->Matches((wxVideoMode const &)*arg2);
30313
30314 wxPyEndAllowThreads(__tstate);
30315 if (PyErr_Occurred()) SWIG_fail;
30316 }
30317 {
30318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30319 }
30320 return resultobj;
30321 fail:
30322 return NULL;
30323 }
30324
30325
30326 static PyObject *_wrap_VideoMode_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
30327 PyObject *resultobj;
30328 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30329 int result;
30330 PyObject * obj0 = 0 ;
30331 char *kwnames[] = {
30332 (char *) "self", NULL
30333 };
30334
30335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetWidth",kwnames,&obj0)) goto fail;
30336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30337 if (SWIG_arg_fail(1)) SWIG_fail;
30338 {
30339 PyThreadState* __tstate = wxPyBeginAllowThreads();
30340 result = (int)((wxVideoMode const *)arg1)->GetWidth();
30341
30342 wxPyEndAllowThreads(__tstate);
30343 if (PyErr_Occurred()) SWIG_fail;
30344 }
30345 {
30346 resultobj = SWIG_From_int((int)(result));
30347 }
30348 return resultobj;
30349 fail:
30350 return NULL;
30351 }
30352
30353
30354 static PyObject *_wrap_VideoMode_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
30355 PyObject *resultobj;
30356 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30357 int result;
30358 PyObject * obj0 = 0 ;
30359 char *kwnames[] = {
30360 (char *) "self", NULL
30361 };
30362
30363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetHeight",kwnames,&obj0)) goto fail;
30364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30365 if (SWIG_arg_fail(1)) SWIG_fail;
30366 {
30367 PyThreadState* __tstate = wxPyBeginAllowThreads();
30368 result = (int)((wxVideoMode const *)arg1)->GetHeight();
30369
30370 wxPyEndAllowThreads(__tstate);
30371 if (PyErr_Occurred()) SWIG_fail;
30372 }
30373 {
30374 resultobj = SWIG_From_int((int)(result));
30375 }
30376 return resultobj;
30377 fail:
30378 return NULL;
30379 }
30380
30381
30382 static PyObject *_wrap_VideoMode_GetDepth(PyObject *, PyObject *args, PyObject *kwargs) {
30383 PyObject *resultobj;
30384 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30385 int result;
30386 PyObject * obj0 = 0 ;
30387 char *kwnames[] = {
30388 (char *) "self", NULL
30389 };
30390
30391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_GetDepth",kwnames,&obj0)) goto fail;
30392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30393 if (SWIG_arg_fail(1)) SWIG_fail;
30394 {
30395 PyThreadState* __tstate = wxPyBeginAllowThreads();
30396 result = (int)((wxVideoMode const *)arg1)->GetDepth();
30397
30398 wxPyEndAllowThreads(__tstate);
30399 if (PyErr_Occurred()) SWIG_fail;
30400 }
30401 {
30402 resultobj = SWIG_From_int((int)(result));
30403 }
30404 return resultobj;
30405 fail:
30406 return NULL;
30407 }
30408
30409
30410 static PyObject *_wrap_VideoMode_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
30411 PyObject *resultobj;
30412 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30413 bool result;
30414 PyObject * obj0 = 0 ;
30415 char *kwnames[] = {
30416 (char *) "self", NULL
30417 };
30418
30419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_IsOk",kwnames,&obj0)) goto fail;
30420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30421 if (SWIG_arg_fail(1)) SWIG_fail;
30422 {
30423 PyThreadState* __tstate = wxPyBeginAllowThreads();
30424 result = (bool)((wxVideoMode const *)arg1)->IsOk();
30425
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 {
30430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30431 }
30432 return resultobj;
30433 fail:
30434 return NULL;
30435 }
30436
30437
30438 static PyObject *_wrap_VideoMode___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
30439 PyObject *resultobj;
30440 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30441 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30442 bool result;
30443 PyObject * obj0 = 0 ;
30444 PyObject * obj1 = 0 ;
30445 char *kwnames[] = {
30446 (char *) "self",(char *) "other", NULL
30447 };
30448
30449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___eq__",kwnames,&obj0,&obj1)) goto fail;
30450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30451 if (SWIG_arg_fail(1)) SWIG_fail;
30452 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30453 if (SWIG_arg_fail(2)) SWIG_fail;
30454 {
30455 PyThreadState* __tstate = wxPyBeginAllowThreads();
30456 result = (bool)wxVideoMode___eq__(arg1,(wxVideoMode const *)arg2);
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
30470 static PyObject *_wrap_VideoMode___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
30471 PyObject *resultobj;
30472 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30473 wxVideoMode *arg2 = (wxVideoMode *) 0 ;
30474 bool result;
30475 PyObject * obj0 = 0 ;
30476 PyObject * obj1 = 0 ;
30477 char *kwnames[] = {
30478 (char *) "self",(char *) "other", NULL
30479 };
30480
30481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode___ne__",kwnames,&obj0,&obj1)) goto fail;
30482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30483 if (SWIG_arg_fail(1)) SWIG_fail;
30484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30485 if (SWIG_arg_fail(2)) SWIG_fail;
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
30488 result = (bool)wxVideoMode___ne__(arg1,(wxVideoMode const *)arg2);
30489
30490 wxPyEndAllowThreads(__tstate);
30491 if (PyErr_Occurred()) SWIG_fail;
30492 }
30493 {
30494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30495 }
30496 return resultobj;
30497 fail:
30498 return NULL;
30499 }
30500
30501
30502 static PyObject *_wrap_VideoMode_w_set(PyObject *, PyObject *args, PyObject *kwargs) {
30503 PyObject *resultobj;
30504 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30505 int arg2 ;
30506 PyObject * obj0 = 0 ;
30507 PyObject * obj1 = 0 ;
30508 char *kwnames[] = {
30509 (char *) "self",(char *) "w", NULL
30510 };
30511
30512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_w_set",kwnames,&obj0,&obj1)) goto fail;
30513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30514 if (SWIG_arg_fail(1)) SWIG_fail;
30515 {
30516 arg2 = (int)(SWIG_As_int(obj1));
30517 if (SWIG_arg_fail(2)) SWIG_fail;
30518 }
30519 if (arg1) (arg1)->w = arg2;
30520
30521 Py_INCREF(Py_None); resultobj = Py_None;
30522 return resultobj;
30523 fail:
30524 return NULL;
30525 }
30526
30527
30528 static PyObject *_wrap_VideoMode_w_get(PyObject *, PyObject *args, PyObject *kwargs) {
30529 PyObject *resultobj;
30530 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30531 int result;
30532 PyObject * obj0 = 0 ;
30533 char *kwnames[] = {
30534 (char *) "self", NULL
30535 };
30536
30537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_w_get",kwnames,&obj0)) goto fail;
30538 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30539 if (SWIG_arg_fail(1)) SWIG_fail;
30540 result = (int) ((arg1)->w);
30541
30542 {
30543 resultobj = SWIG_From_int((int)(result));
30544 }
30545 return resultobj;
30546 fail:
30547 return NULL;
30548 }
30549
30550
30551 static PyObject *_wrap_VideoMode_h_set(PyObject *, PyObject *args, PyObject *kwargs) {
30552 PyObject *resultobj;
30553 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30554 int arg2 ;
30555 PyObject * obj0 = 0 ;
30556 PyObject * obj1 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "self",(char *) "h", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_h_set",kwnames,&obj0,&obj1)) goto fail;
30562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30563 if (SWIG_arg_fail(1)) SWIG_fail;
30564 {
30565 arg2 = (int)(SWIG_As_int(obj1));
30566 if (SWIG_arg_fail(2)) SWIG_fail;
30567 }
30568 if (arg1) (arg1)->h = arg2;
30569
30570 Py_INCREF(Py_None); resultobj = Py_None;
30571 return resultobj;
30572 fail:
30573 return NULL;
30574 }
30575
30576
30577 static PyObject *_wrap_VideoMode_h_get(PyObject *, PyObject *args, PyObject *kwargs) {
30578 PyObject *resultobj;
30579 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30580 int result;
30581 PyObject * obj0 = 0 ;
30582 char *kwnames[] = {
30583 (char *) "self", NULL
30584 };
30585
30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_h_get",kwnames,&obj0)) goto fail;
30587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail;
30589 result = (int) ((arg1)->h);
30590
30591 {
30592 resultobj = SWIG_From_int((int)(result));
30593 }
30594 return resultobj;
30595 fail:
30596 return NULL;
30597 }
30598
30599
30600 static PyObject *_wrap_VideoMode_bpp_set(PyObject *, PyObject *args, PyObject *kwargs) {
30601 PyObject *resultobj;
30602 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30603 int arg2 ;
30604 PyObject * obj0 = 0 ;
30605 PyObject * obj1 = 0 ;
30606 char *kwnames[] = {
30607 (char *) "self",(char *) "bpp", NULL
30608 };
30609
30610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_bpp_set",kwnames,&obj0,&obj1)) goto fail;
30611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30612 if (SWIG_arg_fail(1)) SWIG_fail;
30613 {
30614 arg2 = (int)(SWIG_As_int(obj1));
30615 if (SWIG_arg_fail(2)) SWIG_fail;
30616 }
30617 if (arg1) (arg1)->bpp = arg2;
30618
30619 Py_INCREF(Py_None); resultobj = Py_None;
30620 return resultobj;
30621 fail:
30622 return NULL;
30623 }
30624
30625
30626 static PyObject *_wrap_VideoMode_bpp_get(PyObject *, PyObject *args, PyObject *kwargs) {
30627 PyObject *resultobj;
30628 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30629 int result;
30630 PyObject * obj0 = 0 ;
30631 char *kwnames[] = {
30632 (char *) "self", NULL
30633 };
30634
30635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_bpp_get",kwnames,&obj0)) goto fail;
30636 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30637 if (SWIG_arg_fail(1)) SWIG_fail;
30638 result = (int) ((arg1)->bpp);
30639
30640 {
30641 resultobj = SWIG_From_int((int)(result));
30642 }
30643 return resultobj;
30644 fail:
30645 return NULL;
30646 }
30647
30648
30649 static PyObject *_wrap_VideoMode_refresh_set(PyObject *, PyObject *args, PyObject *kwargs) {
30650 PyObject *resultobj;
30651 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30652 int arg2 ;
30653 PyObject * obj0 = 0 ;
30654 PyObject * obj1 = 0 ;
30655 char *kwnames[] = {
30656 (char *) "self",(char *) "refresh", NULL
30657 };
30658
30659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VideoMode_refresh_set",kwnames,&obj0,&obj1)) goto fail;
30660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30661 if (SWIG_arg_fail(1)) SWIG_fail;
30662 {
30663 arg2 = (int)(SWIG_As_int(obj1));
30664 if (SWIG_arg_fail(2)) SWIG_fail;
30665 }
30666 if (arg1) (arg1)->refresh = arg2;
30667
30668 Py_INCREF(Py_None); resultobj = Py_None;
30669 return resultobj;
30670 fail:
30671 return NULL;
30672 }
30673
30674
30675 static PyObject *_wrap_VideoMode_refresh_get(PyObject *, PyObject *args, PyObject *kwargs) {
30676 PyObject *resultobj;
30677 wxVideoMode *arg1 = (wxVideoMode *) 0 ;
30678 int result;
30679 PyObject * obj0 = 0 ;
30680 char *kwnames[] = {
30681 (char *) "self", NULL
30682 };
30683
30684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VideoMode_refresh_get",kwnames,&obj0)) goto fail;
30685 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30686 if (SWIG_arg_fail(1)) SWIG_fail;
30687 result = (int) ((arg1)->refresh);
30688
30689 {
30690 resultobj = SWIG_From_int((int)(result));
30691 }
30692 return resultobj;
30693 fail:
30694 return NULL;
30695 }
30696
30697
30698 static PyObject * VideoMode_swigregister(PyObject *, PyObject *args) {
30699 PyObject *obj;
30700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30701 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode, obj);
30702 Py_INCREF(obj);
30703 return Py_BuildValue((char *)"");
30704 }
30705 static int _wrap_DefaultVideoMode_set(PyObject *) {
30706 PyErr_SetString(PyExc_TypeError,"Variable DefaultVideoMode is read-only.");
30707 return 1;
30708 }
30709
30710
30711 static PyObject *_wrap_DefaultVideoMode_get(void) {
30712 PyObject *pyobj;
30713
30714 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultVideoMode), SWIGTYPE_p_wxVideoMode, 0);
30715 return pyobj;
30716 }
30717
30718
30719 static PyObject *_wrap_new_Display(PyObject *, PyObject *args, PyObject *kwargs) {
30720 PyObject *resultobj;
30721 size_t arg1 = (size_t) 0 ;
30722 wxDisplay *result;
30723 PyObject * obj0 = 0 ;
30724 char *kwnames[] = {
30725 (char *) "index", NULL
30726 };
30727
30728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Display",kwnames,&obj0)) goto fail;
30729 if (obj0) {
30730 {
30731 arg1 = (size_t)(SWIG_As_unsigned_SS_long(obj0));
30732 if (SWIG_arg_fail(1)) SWIG_fail;
30733 }
30734 }
30735 {
30736 PyThreadState* __tstate = wxPyBeginAllowThreads();
30737 result = (wxDisplay *)new wxDisplay(arg1);
30738
30739 wxPyEndAllowThreads(__tstate);
30740 if (PyErr_Occurred()) SWIG_fail;
30741 }
30742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplay, 1);
30743 return resultobj;
30744 fail:
30745 return NULL;
30746 }
30747
30748
30749 static PyObject *_wrap_delete_Display(PyObject *, PyObject *args, PyObject *kwargs) {
30750 PyObject *resultobj;
30751 wxDisplay *arg1 = (wxDisplay *) 0 ;
30752 PyObject * obj0 = 0 ;
30753 char *kwnames[] = {
30754 (char *) "self", NULL
30755 };
30756
30757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Display",kwnames,&obj0)) goto fail;
30758 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30759 if (SWIG_arg_fail(1)) SWIG_fail;
30760 {
30761 PyThreadState* __tstate = wxPyBeginAllowThreads();
30762 delete arg1;
30763
30764 wxPyEndAllowThreads(__tstate);
30765 if (PyErr_Occurred()) SWIG_fail;
30766 }
30767 Py_INCREF(Py_None); resultobj = Py_None;
30768 return resultobj;
30769 fail:
30770 return NULL;
30771 }
30772
30773
30774 static PyObject *_wrap_Display_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
30775 PyObject *resultobj;
30776 size_t result;
30777 char *kwnames[] = {
30778 NULL
30779 };
30780
30781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Display_GetCount",kwnames)) goto fail;
30782 {
30783 PyThreadState* __tstate = wxPyBeginAllowThreads();
30784 result = (size_t)wxDisplay::GetCount();
30785
30786 wxPyEndAllowThreads(__tstate);
30787 if (PyErr_Occurred()) SWIG_fail;
30788 }
30789 {
30790 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
30791 }
30792 return resultobj;
30793 fail:
30794 return NULL;
30795 }
30796
30797
30798 static PyObject *_wrap_Display_GetFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
30799 PyObject *resultobj;
30800 wxPoint *arg1 = 0 ;
30801 int result;
30802 wxPoint temp1 ;
30803 PyObject * obj0 = 0 ;
30804 char *kwnames[] = {
30805 (char *) "pt", NULL
30806 };
30807
30808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromPoint",kwnames,&obj0)) goto fail;
30809 {
30810 arg1 = &temp1;
30811 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
30812 }
30813 {
30814 PyThreadState* __tstate = wxPyBeginAllowThreads();
30815 result = (int)wxDisplay::GetFromPoint((wxPoint const &)*arg1);
30816
30817 wxPyEndAllowThreads(__tstate);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 }
30820 {
30821 resultobj = SWIG_From_int((int)(result));
30822 }
30823 return resultobj;
30824 fail:
30825 return NULL;
30826 }
30827
30828
30829 static PyObject *_wrap_Display_GetFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
30830 PyObject *resultobj;
30831 wxWindow *arg1 = (wxWindow *) 0 ;
30832 int result;
30833 PyObject * obj0 = 0 ;
30834 char *kwnames[] = {
30835 (char *) "window", NULL
30836 };
30837
30838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetFromWindow",kwnames,&obj0)) goto fail;
30839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30840 if (SWIG_arg_fail(1)) SWIG_fail;
30841 {
30842 PyThreadState* __tstate = wxPyBeginAllowThreads();
30843 result = (int)wxDisplay::GetFromWindow(arg1);
30844
30845 wxPyEndAllowThreads(__tstate);
30846 if (PyErr_Occurred()) SWIG_fail;
30847 }
30848 {
30849 resultobj = SWIG_From_int((int)(result));
30850 }
30851 return resultobj;
30852 fail:
30853 return NULL;
30854 }
30855
30856
30857 static PyObject *_wrap_Display_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
30858 PyObject *resultobj;
30859 wxDisplay *arg1 = (wxDisplay *) 0 ;
30860 bool result;
30861 PyObject * obj0 = 0 ;
30862 char *kwnames[] = {
30863 (char *) "self", NULL
30864 };
30865
30866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsOk",kwnames,&obj0)) goto fail;
30867 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30868 if (SWIG_arg_fail(1)) SWIG_fail;
30869 {
30870 PyThreadState* __tstate = wxPyBeginAllowThreads();
30871 result = (bool)((wxDisplay const *)arg1)->IsOk();
30872
30873 wxPyEndAllowThreads(__tstate);
30874 if (PyErr_Occurred()) SWIG_fail;
30875 }
30876 {
30877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30878 }
30879 return resultobj;
30880 fail:
30881 return NULL;
30882 }
30883
30884
30885 static PyObject *_wrap_Display_GetGeometry(PyObject *, PyObject *args, PyObject *kwargs) {
30886 PyObject *resultobj;
30887 wxDisplay *arg1 = (wxDisplay *) 0 ;
30888 wxRect result;
30889 PyObject * obj0 = 0 ;
30890 char *kwnames[] = {
30891 (char *) "self", NULL
30892 };
30893
30894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetGeometry",kwnames,&obj0)) goto fail;
30895 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30896 if (SWIG_arg_fail(1)) SWIG_fail;
30897 {
30898 PyThreadState* __tstate = wxPyBeginAllowThreads();
30899 result = ((wxDisplay const *)arg1)->GetGeometry();
30900
30901 wxPyEndAllowThreads(__tstate);
30902 if (PyErr_Occurred()) SWIG_fail;
30903 }
30904 {
30905 wxRect * resultptr;
30906 resultptr = new wxRect((wxRect &)(result));
30907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30908 }
30909 return resultobj;
30910 fail:
30911 return NULL;
30912 }
30913
30914
30915 static PyObject *_wrap_Display_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
30916 PyObject *resultobj;
30917 wxDisplay *arg1 = (wxDisplay *) 0 ;
30918 wxString result;
30919 PyObject * obj0 = 0 ;
30920 char *kwnames[] = {
30921 (char *) "self", NULL
30922 };
30923
30924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetName",kwnames,&obj0)) goto fail;
30925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30926 if (SWIG_arg_fail(1)) SWIG_fail;
30927 {
30928 PyThreadState* __tstate = wxPyBeginAllowThreads();
30929 result = ((wxDisplay const *)arg1)->GetName();
30930
30931 wxPyEndAllowThreads(__tstate);
30932 if (PyErr_Occurred()) SWIG_fail;
30933 }
30934 {
30935 #if wxUSE_UNICODE
30936 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30937 #else
30938 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30939 #endif
30940 }
30941 return resultobj;
30942 fail:
30943 return NULL;
30944 }
30945
30946
30947 static PyObject *_wrap_Display_IsPrimary(PyObject *, PyObject *args, PyObject *kwargs) {
30948 PyObject *resultobj;
30949 wxDisplay *arg1 = (wxDisplay *) 0 ;
30950 bool result;
30951 PyObject * obj0 = 0 ;
30952 char *kwnames[] = {
30953 (char *) "self", NULL
30954 };
30955
30956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_IsPrimary",kwnames,&obj0)) goto fail;
30957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30958 if (SWIG_arg_fail(1)) SWIG_fail;
30959 {
30960 PyThreadState* __tstate = wxPyBeginAllowThreads();
30961 result = (bool)((wxDisplay const *)arg1)->IsPrimary();
30962
30963 wxPyEndAllowThreads(__tstate);
30964 if (PyErr_Occurred()) SWIG_fail;
30965 }
30966 {
30967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30968 }
30969 return resultobj;
30970 fail:
30971 return NULL;
30972 }
30973
30974
30975 static PyObject *_wrap_Display_GetModes(PyObject *, PyObject *args, PyObject *kwargs) {
30976 PyObject *resultobj;
30977 wxDisplay *arg1 = (wxDisplay *) 0 ;
30978 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
30979 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
30980 PyObject *result;
30981 PyObject * obj0 = 0 ;
30982 PyObject * obj1 = 0 ;
30983 char *kwnames[] = {
30984 (char *) "self",(char *) "mode", NULL
30985 };
30986
30987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_GetModes",kwnames,&obj0,&obj1)) goto fail;
30988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
30989 if (SWIG_arg_fail(1)) SWIG_fail;
30990 if (obj1) {
30991 {
30992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
30993 if (SWIG_arg_fail(2)) SWIG_fail;
30994 if (arg2 == NULL) {
30995 SWIG_null_ref("wxVideoMode");
30996 }
30997 if (SWIG_arg_fail(2)) SWIG_fail;
30998 }
30999 }
31000 {
31001 PyThreadState* __tstate = wxPyBeginAllowThreads();
31002 result = (PyObject *)wxDisplay_GetModes(arg1,(wxVideoMode const &)*arg2);
31003
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 resultobj = result;
31008 return resultobj;
31009 fail:
31010 return NULL;
31011 }
31012
31013
31014 static PyObject *_wrap_Display_GetCurrentMode(PyObject *, PyObject *args, PyObject *kwargs) {
31015 PyObject *resultobj;
31016 wxDisplay *arg1 = (wxDisplay *) 0 ;
31017 wxVideoMode result;
31018 PyObject * obj0 = 0 ;
31019 char *kwnames[] = {
31020 (char *) "self", NULL
31021 };
31022
31023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_GetCurrentMode",kwnames,&obj0)) goto fail;
31024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31025 if (SWIG_arg_fail(1)) SWIG_fail;
31026 {
31027 PyThreadState* __tstate = wxPyBeginAllowThreads();
31028 result = ((wxDisplay const *)arg1)->GetCurrentMode();
31029
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
31033 {
31034 wxVideoMode * resultptr;
31035 resultptr = new wxVideoMode((wxVideoMode &)(result));
31036 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVideoMode, 1);
31037 }
31038 return resultobj;
31039 fail:
31040 return NULL;
31041 }
31042
31043
31044 static PyObject *_wrap_Display_ChangeMode(PyObject *, PyObject *args, PyObject *kwargs) {
31045 PyObject *resultobj;
31046 wxDisplay *arg1 = (wxDisplay *) 0 ;
31047 wxVideoMode const &arg2_defvalue = wxDefaultVideoMode ;
31048 wxVideoMode *arg2 = (wxVideoMode *) &arg2_defvalue ;
31049 bool result;
31050 PyObject * obj0 = 0 ;
31051 PyObject * obj1 = 0 ;
31052 char *kwnames[] = {
31053 (char *) "self",(char *) "mode", NULL
31054 };
31055
31056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Display_ChangeMode",kwnames,&obj0,&obj1)) goto fail;
31057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31058 if (SWIG_arg_fail(1)) SWIG_fail;
31059 if (obj1) {
31060 {
31061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxVideoMode, SWIG_POINTER_EXCEPTION | 0);
31062 if (SWIG_arg_fail(2)) SWIG_fail;
31063 if (arg2 == NULL) {
31064 SWIG_null_ref("wxVideoMode");
31065 }
31066 if (SWIG_arg_fail(2)) SWIG_fail;
31067 }
31068 }
31069 {
31070 PyThreadState* __tstate = wxPyBeginAllowThreads();
31071 result = (bool)(arg1)->ChangeMode((wxVideoMode const &)*arg2);
31072
31073 wxPyEndAllowThreads(__tstate);
31074 if (PyErr_Occurred()) SWIG_fail;
31075 }
31076 {
31077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31078 }
31079 return resultobj;
31080 fail:
31081 return NULL;
31082 }
31083
31084
31085 static PyObject *_wrap_Display_ResetMode(PyObject *, PyObject *args, PyObject *kwargs) {
31086 PyObject *resultobj;
31087 wxDisplay *arg1 = (wxDisplay *) 0 ;
31088 PyObject * obj0 = 0 ;
31089 char *kwnames[] = {
31090 (char *) "self", NULL
31091 };
31092
31093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Display_ResetMode",kwnames,&obj0)) goto fail;
31094 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDisplay, SWIG_POINTER_EXCEPTION | 0);
31095 if (SWIG_arg_fail(1)) SWIG_fail;
31096 {
31097 PyThreadState* __tstate = wxPyBeginAllowThreads();
31098 (arg1)->ResetMode();
31099
31100 wxPyEndAllowThreads(__tstate);
31101 if (PyErr_Occurred()) SWIG_fail;
31102 }
31103 Py_INCREF(Py_None); resultobj = Py_None;
31104 return resultobj;
31105 fail:
31106 return NULL;
31107 }
31108
31109
31110 static PyObject * Display_swigregister(PyObject *, PyObject *args) {
31111 PyObject *obj;
31112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31113 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay, obj);
31114 Py_INCREF(obj);
31115 return Py_BuildValue((char *)"");
31116 }
31117 static PyObject *_wrap_StandardPaths_Get(PyObject *, PyObject *args, PyObject *kwargs) {
31118 PyObject *resultobj;
31119 wxStandardPaths *result;
31120 char *kwnames[] = {
31121 NULL
31122 };
31123
31124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StandardPaths_Get",kwnames)) goto fail;
31125 {
31126 PyThreadState* __tstate = wxPyBeginAllowThreads();
31127 result = (wxStandardPaths *)StandardPaths_Get();
31128
31129 wxPyEndAllowThreads(__tstate);
31130 if (PyErr_Occurred()) SWIG_fail;
31131 }
31132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStandardPaths, 0);
31133 return resultobj;
31134 fail:
31135 return NULL;
31136 }
31137
31138
31139 static PyObject *_wrap_StandardPaths_GetConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31140 PyObject *resultobj;
31141 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31142 wxString result;
31143 PyObject * obj0 = 0 ;
31144 char *kwnames[] = {
31145 (char *) "self", NULL
31146 };
31147
31148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetConfigDir",kwnames,&obj0)) goto fail;
31149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31150 if (SWIG_arg_fail(1)) SWIG_fail;
31151 {
31152 PyThreadState* __tstate = wxPyBeginAllowThreads();
31153 result = ((wxStandardPaths const *)arg1)->GetConfigDir();
31154
31155 wxPyEndAllowThreads(__tstate);
31156 if (PyErr_Occurred()) SWIG_fail;
31157 }
31158 {
31159 #if wxUSE_UNICODE
31160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31161 #else
31162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31163 #endif
31164 }
31165 return resultobj;
31166 fail:
31167 return NULL;
31168 }
31169
31170
31171 static PyObject *_wrap_StandardPaths_GetUserConfigDir(PyObject *, PyObject *args, PyObject *kwargs) {
31172 PyObject *resultobj;
31173 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31174 wxString result;
31175 PyObject * obj0 = 0 ;
31176 char *kwnames[] = {
31177 (char *) "self", NULL
31178 };
31179
31180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserConfigDir",kwnames,&obj0)) goto fail;
31181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31182 if (SWIG_arg_fail(1)) SWIG_fail;
31183 {
31184 PyThreadState* __tstate = wxPyBeginAllowThreads();
31185 result = ((wxStandardPaths const *)arg1)->GetUserConfigDir();
31186
31187 wxPyEndAllowThreads(__tstate);
31188 if (PyErr_Occurred()) SWIG_fail;
31189 }
31190 {
31191 #if wxUSE_UNICODE
31192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31193 #else
31194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31195 #endif
31196 }
31197 return resultobj;
31198 fail:
31199 return NULL;
31200 }
31201
31202
31203 static PyObject *_wrap_StandardPaths_GetDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31204 PyObject *resultobj;
31205 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31206 wxString result;
31207 PyObject * obj0 = 0 ;
31208 char *kwnames[] = {
31209 (char *) "self", NULL
31210 };
31211
31212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetDataDir",kwnames,&obj0)) goto fail;
31213 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31214 if (SWIG_arg_fail(1)) SWIG_fail;
31215 {
31216 PyThreadState* __tstate = wxPyBeginAllowThreads();
31217 result = ((wxStandardPaths const *)arg1)->GetDataDir();
31218
31219 wxPyEndAllowThreads(__tstate);
31220 if (PyErr_Occurred()) SWIG_fail;
31221 }
31222 {
31223 #if wxUSE_UNICODE
31224 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31225 #else
31226 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31227 #endif
31228 }
31229 return resultobj;
31230 fail:
31231 return NULL;
31232 }
31233
31234
31235 static PyObject *_wrap_StandardPaths_GetLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31236 PyObject *resultobj;
31237 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31238 wxString result;
31239 PyObject * obj0 = 0 ;
31240 char *kwnames[] = {
31241 (char *) "self", NULL
31242 };
31243
31244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetLocalDataDir",kwnames,&obj0)) goto fail;
31245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31246 if (SWIG_arg_fail(1)) SWIG_fail;
31247 {
31248 PyThreadState* __tstate = wxPyBeginAllowThreads();
31249 result = ((wxStandardPaths const *)arg1)->GetLocalDataDir();
31250
31251 wxPyEndAllowThreads(__tstate);
31252 if (PyErr_Occurred()) SWIG_fail;
31253 }
31254 {
31255 #if wxUSE_UNICODE
31256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31257 #else
31258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31259 #endif
31260 }
31261 return resultobj;
31262 fail:
31263 return NULL;
31264 }
31265
31266
31267 static PyObject *_wrap_StandardPaths_GetUserDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31268 PyObject *resultobj;
31269 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31270 wxString result;
31271 PyObject * obj0 = 0 ;
31272 char *kwnames[] = {
31273 (char *) "self", NULL
31274 };
31275
31276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserDataDir",kwnames,&obj0)) goto fail;
31277 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31278 if (SWIG_arg_fail(1)) SWIG_fail;
31279 {
31280 PyThreadState* __tstate = wxPyBeginAllowThreads();
31281 result = ((wxStandardPaths const *)arg1)->GetUserDataDir();
31282
31283 wxPyEndAllowThreads(__tstate);
31284 if (PyErr_Occurred()) SWIG_fail;
31285 }
31286 {
31287 #if wxUSE_UNICODE
31288 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31289 #else
31290 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31291 #endif
31292 }
31293 return resultobj;
31294 fail:
31295 return NULL;
31296 }
31297
31298
31299 static PyObject *_wrap_StandardPaths_GetUserLocalDataDir(PyObject *, PyObject *args, PyObject *kwargs) {
31300 PyObject *resultobj;
31301 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31302 wxString result;
31303 PyObject * obj0 = 0 ;
31304 char *kwnames[] = {
31305 (char *) "self", NULL
31306 };
31307
31308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames,&obj0)) goto fail;
31309 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31310 if (SWIG_arg_fail(1)) SWIG_fail;
31311 {
31312 PyThreadState* __tstate = wxPyBeginAllowThreads();
31313 result = ((wxStandardPaths const *)arg1)->GetUserLocalDataDir();
31314
31315 wxPyEndAllowThreads(__tstate);
31316 if (PyErr_Occurred()) SWIG_fail;
31317 }
31318 {
31319 #if wxUSE_UNICODE
31320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31321 #else
31322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31323 #endif
31324 }
31325 return resultobj;
31326 fail:
31327 return NULL;
31328 }
31329
31330
31331 static PyObject *_wrap_StandardPaths_GetPluginsDir(PyObject *, PyObject *args, PyObject *kwargs) {
31332 PyObject *resultobj;
31333 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31334 wxString result;
31335 PyObject * obj0 = 0 ;
31336 char *kwnames[] = {
31337 (char *) "self", NULL
31338 };
31339
31340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetPluginsDir",kwnames,&obj0)) goto fail;
31341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31342 if (SWIG_arg_fail(1)) SWIG_fail;
31343 {
31344 PyThreadState* __tstate = wxPyBeginAllowThreads();
31345 result = ((wxStandardPaths const *)arg1)->GetPluginsDir();
31346
31347 wxPyEndAllowThreads(__tstate);
31348 if (PyErr_Occurred()) SWIG_fail;
31349 }
31350 {
31351 #if wxUSE_UNICODE
31352 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31353 #else
31354 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31355 #endif
31356 }
31357 return resultobj;
31358 fail:
31359 return NULL;
31360 }
31361
31362
31363 static PyObject *_wrap_StandardPaths_SetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31364 PyObject *resultobj;
31365 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31366 wxString *arg2 = 0 ;
31367 bool temp2 = false ;
31368 PyObject * obj0 = 0 ;
31369 PyObject * obj1 = 0 ;
31370 char *kwnames[] = {
31371 (char *) "self",(char *) "prefix", NULL
31372 };
31373
31374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames,&obj0,&obj1)) goto fail;
31375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31376 if (SWIG_arg_fail(1)) SWIG_fail;
31377 {
31378 arg2 = wxString_in_helper(obj1);
31379 if (arg2 == NULL) SWIG_fail;
31380 temp2 = true;
31381 }
31382 {
31383 PyThreadState* __tstate = wxPyBeginAllowThreads();
31384 wxStandardPaths_SetInstallPrefix(arg1,(wxString const &)*arg2);
31385
31386 wxPyEndAllowThreads(__tstate);
31387 if (PyErr_Occurred()) SWIG_fail;
31388 }
31389 Py_INCREF(Py_None); resultobj = Py_None;
31390 {
31391 if (temp2)
31392 delete arg2;
31393 }
31394 return resultobj;
31395 fail:
31396 {
31397 if (temp2)
31398 delete arg2;
31399 }
31400 return NULL;
31401 }
31402
31403
31404 static PyObject *_wrap_StandardPaths_GetInstallPrefix(PyObject *, PyObject *args, PyObject *kwargs) {
31405 PyObject *resultobj;
31406 wxStandardPaths *arg1 = (wxStandardPaths *) 0 ;
31407 wxString result;
31408 PyObject * obj0 = 0 ;
31409 char *kwnames[] = {
31410 (char *) "self", NULL
31411 };
31412
31413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StandardPaths_GetInstallPrefix",kwnames,&obj0)) goto fail;
31414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStandardPaths, SWIG_POINTER_EXCEPTION | 0);
31415 if (SWIG_arg_fail(1)) SWIG_fail;
31416 {
31417 PyThreadState* __tstate = wxPyBeginAllowThreads();
31418 result = wxStandardPaths_GetInstallPrefix(arg1);
31419
31420 wxPyEndAllowThreads(__tstate);
31421 if (PyErr_Occurred()) SWIG_fail;
31422 }
31423 {
31424 #if wxUSE_UNICODE
31425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31426 #else
31427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31428 #endif
31429 }
31430 return resultobj;
31431 fail:
31432 return NULL;
31433 }
31434
31435
31436 static PyObject * StandardPaths_swigregister(PyObject *, PyObject *args) {
31437 PyObject *obj;
31438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31439 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths, obj);
31440 Py_INCREF(obj);
31441 return Py_BuildValue((char *)"");
31442 }
31443 static PyMethodDef SwigMethods[] = {
31444 { (char *)"SystemSettings_GetColour", (PyCFunction) _wrap_SystemSettings_GetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"SystemSettings_GetFont", (PyCFunction) _wrap_SystemSettings_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
31446 { (char *)"SystemSettings_GetMetric", (PyCFunction) _wrap_SystemSettings_GetMetric, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"SystemSettings_HasFeature", (PyCFunction) _wrap_SystemSettings_HasFeature, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"SystemSettings_GetScreenType", (PyCFunction) _wrap_SystemSettings_GetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"SystemSettings_SetScreenType", (PyCFunction) _wrap_SystemSettings_SetScreenType, METH_VARARGS | METH_KEYWORDS, NULL},
31450 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister, METH_VARARGS, NULL},
31451 { (char *)"new_SystemOptions", (PyCFunction) _wrap_new_SystemOptions, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"SystemOptions_SetOption", (PyCFunction) _wrap_SystemOptions_SetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"SystemOptions_SetOptionInt", (PyCFunction) _wrap_SystemOptions_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"SystemOptions_GetOption", (PyCFunction) _wrap_SystemOptions_GetOption, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"SystemOptions_GetOptionInt", (PyCFunction) _wrap_SystemOptions_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"SystemOptions_HasOption", (PyCFunction) _wrap_SystemOptions_HasOption, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister, METH_VARARGS, NULL},
31458 { (char *)"NewId", (PyCFunction) _wrap_NewId, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"RegisterId", (PyCFunction) _wrap_RegisterId, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"GetCurrentId", (PyCFunction) _wrap_GetCurrentId, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"IsStockID", (PyCFunction) _wrap_IsStockID, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"IsStockLabel", (PyCFunction) _wrap_IsStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"GetStockLabel", (PyCFunction) _wrap_GetStockLabel, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"Bell", (PyCFunction) _wrap_Bell, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"EndBusyCursor", (PyCFunction) _wrap_EndBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"GetElapsedTime", (PyCFunction) _wrap_GetElapsedTime, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"GetMousePosition", (PyCFunction) _wrap_GetMousePosition, METH_VARARGS | METH_KEYWORDS, NULL},
31468 { (char *)"IsBusy", (PyCFunction) _wrap_IsBusy, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"Now", (PyCFunction) _wrap_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"Shell", (PyCFunction) _wrap_Shell, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"StartTimer", (PyCFunction) _wrap_StartTimer, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"GetOsVersion", (PyCFunction) _wrap_GetOsVersion, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"GetOsDescription", (PyCFunction) _wrap_GetOsDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31474 { (char *)"GetFreeMemory", (PyCFunction) _wrap_GetFreeMemory, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"Shutdown", (PyCFunction) _wrap_Shutdown, METH_VARARGS | METH_KEYWORDS, NULL},
31476 { (char *)"Sleep", (PyCFunction) _wrap_Sleep, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"MilliSleep", (PyCFunction) _wrap_MilliSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"MicroSleep", (PyCFunction) _wrap_MicroSleep, METH_VARARGS | METH_KEYWORDS, NULL},
31479 { (char *)"EnableTopLevelWindows", (PyCFunction) _wrap_EnableTopLevelWindows, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"StripMenuCodes", (PyCFunction) _wrap_StripMenuCodes, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"GetEmailAddress", (PyCFunction) _wrap_GetEmailAddress, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"GetHostName", (PyCFunction) _wrap_GetHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"GetFullHostName", (PyCFunction) _wrap_GetFullHostName, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"GetUserId", (PyCFunction) _wrap_GetUserId, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"GetUserName", (PyCFunction) _wrap_GetUserName, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"GetHomeDir", (PyCFunction) _wrap_GetHomeDir, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"GetUserHome", (PyCFunction) _wrap_GetUserHome, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"GetProcessId", (PyCFunction) _wrap_GetProcessId, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Trap", (PyCFunction) _wrap_Trap, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"FileSelector", (PyCFunction) _wrap_FileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"LoadFileSelector", (PyCFunction) _wrap_LoadFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"SaveFileSelector", (PyCFunction) _wrap_SaveFileSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"DirSelector", (PyCFunction) _wrap_DirSelector, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"GetTextFromUser", (PyCFunction) _wrap_GetTextFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"GetPasswordFromUser", (PyCFunction) _wrap_GetPasswordFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"GetSingleChoice", (PyCFunction) _wrap_GetSingleChoice, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"GetSingleChoiceIndex", (PyCFunction) _wrap_GetSingleChoiceIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"MessageBox", (PyCFunction) _wrap_MessageBox, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"GetNumberFromUser", (PyCFunction) _wrap_GetNumberFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"ColourDisplay", (PyCFunction) _wrap_ColourDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"DisplayDepth", (PyCFunction) _wrap_DisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"GetDisplayDepth", (PyCFunction) _wrap_GetDisplayDepth, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"DisplaySize", (PyCFunction) _wrap_DisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31504 { (char *)"GetDisplaySize", (PyCFunction) _wrap_GetDisplaySize, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"DisplaySizeMM", (PyCFunction) _wrap_DisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31506 { (char *)"GetDisplaySizeMM", (PyCFunction) _wrap_GetDisplaySizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"ClientDisplayRect", (PyCFunction) _wrap_ClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"GetClientDisplayRect", (PyCFunction) _wrap_GetClientDisplayRect, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"SetCursor", (PyCFunction) _wrap_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"BeginBusyCursor", (PyCFunction) _wrap_BeginBusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"GetActiveWindow", (PyCFunction) _wrap_GetActiveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"GenericFindWindowAtPoint", (PyCFunction) _wrap_GenericFindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31513 { (char *)"FindWindowAtPoint", (PyCFunction) _wrap_FindWindowAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
31514 { (char *)"GetTopLevelParent", (PyCFunction) _wrap_GetTopLevelParent, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"GetKeyState", (PyCFunction) _wrap_GetKeyState, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"WakeUpMainThread", (PyCFunction) _wrap_WakeUpMainThread, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"MutexGuiEnter", (PyCFunction) _wrap_MutexGuiEnter, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"MutexGuiLeave", (PyCFunction) _wrap_MutexGuiLeave, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"new_MutexGuiLocker", (PyCFunction) _wrap_new_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"delete_MutexGuiLocker", (PyCFunction) _wrap_delete_MutexGuiLocker, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister, METH_VARARGS, NULL},
31522 { (char *)"Thread_IsMain", (PyCFunction) _wrap_Thread_IsMain, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"new_ToolTip", (PyCFunction) _wrap_new_ToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"ToolTip_SetTip", (PyCFunction) _wrap_ToolTip_SetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"ToolTip_GetTip", (PyCFunction) _wrap_ToolTip_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"ToolTip_GetWindow", (PyCFunction) _wrap_ToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31527 { (char *)"ToolTip_Enable", (PyCFunction) _wrap_ToolTip_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"ToolTip_SetDelay", (PyCFunction) _wrap_ToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"ToolTip_swigregister", ToolTip_swigregister, METH_VARARGS, NULL},
31530 { (char *)"new_Caret", (PyCFunction) _wrap_new_Caret, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"Caret_Destroy", (PyCFunction) _wrap_Caret_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"Caret_IsOk", (PyCFunction) _wrap_Caret_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"Caret_IsVisible", (PyCFunction) _wrap_Caret_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31534 { (char *)"Caret_GetPosition", (PyCFunction) _wrap_Caret_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"Caret_GetPositionTuple", (PyCFunction) _wrap_Caret_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"Caret_GetSize", (PyCFunction) _wrap_Caret_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"Caret_GetSizeTuple", (PyCFunction) _wrap_Caret_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"Caret_GetWindow", (PyCFunction) _wrap_Caret_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"Caret_MoveXY", (PyCFunction) _wrap_Caret_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"Caret_Move", (PyCFunction) _wrap_Caret_Move, METH_VARARGS | METH_KEYWORDS, NULL},
31541 { (char *)"Caret_SetSizeWH", (PyCFunction) _wrap_Caret_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"Caret_SetSize", (PyCFunction) _wrap_Caret_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"Caret_Show", (PyCFunction) _wrap_Caret_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31544 { (char *)"Caret_Hide", (PyCFunction) _wrap_Caret_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"Caret_GetBlinkTime", (PyCFunction) _wrap_Caret_GetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"Caret_SetBlinkTime", (PyCFunction) _wrap_Caret_SetBlinkTime, METH_VARARGS | METH_KEYWORDS, NULL},
31547 { (char *)"Caret_swigregister", Caret_swigregister, METH_VARARGS, NULL},
31548 { (char *)"new_BusyCursor", (PyCFunction) _wrap_new_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"delete_BusyCursor", (PyCFunction) _wrap_delete_BusyCursor, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister, METH_VARARGS, NULL},
31551 { (char *)"new_WindowDisabler", (PyCFunction) _wrap_new_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31552 { (char *)"delete_WindowDisabler", (PyCFunction) _wrap_delete_WindowDisabler, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister, METH_VARARGS, NULL},
31554 { (char *)"new_BusyInfo", (PyCFunction) _wrap_new_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"delete_BusyInfo", (PyCFunction) _wrap_delete_BusyInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister, METH_VARARGS, NULL},
31557 { (char *)"new_StopWatch", (PyCFunction) _wrap_new_StopWatch, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"StopWatch_Start", (PyCFunction) _wrap_StopWatch_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"StopWatch_Pause", (PyCFunction) _wrap_StopWatch_Pause, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"StopWatch_Resume", (PyCFunction) _wrap_StopWatch_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"StopWatch_Time", (PyCFunction) _wrap_StopWatch_Time, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"StopWatch_swigregister", StopWatch_swigregister, METH_VARARGS, NULL},
31563 { (char *)"new_FileHistory", (PyCFunction) _wrap_new_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31564 { (char *)"delete_FileHistory", (PyCFunction) _wrap_delete_FileHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"FileHistory_AddFileToHistory", (PyCFunction) _wrap_FileHistory_AddFileToHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31566 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction) _wrap_FileHistory_RemoveFileFromHistory, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"FileHistory_GetMaxFiles", (PyCFunction) _wrap_FileHistory_GetMaxFiles, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"FileHistory_UseMenu", (PyCFunction) _wrap_FileHistory_UseMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"FileHistory_RemoveMenu", (PyCFunction) _wrap_FileHistory_RemoveMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"FileHistory_Load", (PyCFunction) _wrap_FileHistory_Load, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"FileHistory_Save", (PyCFunction) _wrap_FileHistory_Save, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction) _wrap_FileHistory_AddFilesToMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction) _wrap_FileHistory_AddFilesToThisMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"FileHistory_GetHistoryFile", (PyCFunction) _wrap_FileHistory_GetHistoryFile, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"FileHistory_GetCount", (PyCFunction) _wrap_FileHistory_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"FileHistory_swigregister", FileHistory_swigregister, METH_VARARGS, NULL},
31577 { (char *)"new_SingleInstanceChecker", (PyCFunction) _wrap_new_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"new_PreSingleInstanceChecker", (PyCFunction) _wrap_new_PreSingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"delete_SingleInstanceChecker", (PyCFunction) _wrap_delete_SingleInstanceChecker, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"SingleInstanceChecker_Create", (PyCFunction) _wrap_SingleInstanceChecker_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction) _wrap_SingleInstanceChecker_IsAnotherRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister, METH_VARARGS, NULL},
31583 { (char *)"DrawWindowOnDC", (PyCFunction) _wrap_DrawWindowOnDC, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"delete_TipProvider", (PyCFunction) _wrap_delete_TipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31585 { (char *)"TipProvider_GetTip", (PyCFunction) _wrap_TipProvider_GetTip, METH_VARARGS | METH_KEYWORDS, NULL},
31586 { (char *)"TipProvider_GetCurrentTip", (PyCFunction) _wrap_TipProvider_GetCurrentTip, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"TipProvider_PreprocessTip", (PyCFunction) _wrap_TipProvider_PreprocessTip, METH_VARARGS | METH_KEYWORDS, NULL},
31588 { (char *)"TipProvider_swigregister", TipProvider_swigregister, METH_VARARGS, NULL},
31589 { (char *)"new_PyTipProvider", (PyCFunction) _wrap_new_PyTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction) _wrap_PyTipProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister, METH_VARARGS, NULL},
31592 { (char *)"ShowTip", (PyCFunction) _wrap_ShowTip, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"CreateFileTipProvider", (PyCFunction) _wrap_CreateFileTipProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"new_Timer", (PyCFunction) _wrap_new_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"delete_Timer", (PyCFunction) _wrap_delete_Timer, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"Timer__setCallbackInfo", (PyCFunction) _wrap_Timer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"Timer_SetOwner", (PyCFunction) _wrap_Timer_SetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"Timer_GetOwner", (PyCFunction) _wrap_Timer_GetOwner, METH_VARARGS | METH_KEYWORDS, NULL},
31599 { (char *)"Timer_Start", (PyCFunction) _wrap_Timer_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"Timer_Stop", (PyCFunction) _wrap_Timer_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"Timer_IsRunning", (PyCFunction) _wrap_Timer_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL},
31602 { (char *)"Timer_GetInterval", (PyCFunction) _wrap_Timer_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"Timer_IsOneShot", (PyCFunction) _wrap_Timer_IsOneShot, METH_VARARGS | METH_KEYWORDS, NULL},
31604 { (char *)"Timer_GetId", (PyCFunction) _wrap_Timer_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"Timer_swigregister", Timer_swigregister, METH_VARARGS, NULL},
31606 { (char *)"new_TimerEvent", (PyCFunction) _wrap_new_TimerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"TimerEvent_GetInterval", (PyCFunction) _wrap_TimerEvent_GetInterval, METH_VARARGS | METH_KEYWORDS, NULL},
31608 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister, METH_VARARGS, NULL},
31609 { (char *)"new_TimerRunner", _wrap_new_TimerRunner, METH_VARARGS, NULL},
31610 { (char *)"delete_TimerRunner", (PyCFunction) _wrap_delete_TimerRunner, METH_VARARGS | METH_KEYWORDS, NULL},
31611 { (char *)"TimerRunner_Start", (PyCFunction) _wrap_TimerRunner_Start, METH_VARARGS | METH_KEYWORDS, NULL},
31612 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister, METH_VARARGS, NULL},
31613 { (char *)"new_Log", (PyCFunction) _wrap_new_Log, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"Log_IsEnabled", (PyCFunction) _wrap_Log_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
31615 { (char *)"Log_EnableLogging", (PyCFunction) _wrap_Log_EnableLogging, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"Log_OnLog", (PyCFunction) _wrap_Log_OnLog, METH_VARARGS | METH_KEYWORDS, NULL},
31617 { (char *)"Log_Flush", (PyCFunction) _wrap_Log_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31618 { (char *)"Log_FlushActive", (PyCFunction) _wrap_Log_FlushActive, METH_VARARGS | METH_KEYWORDS, NULL},
31619 { (char *)"Log_GetActiveTarget", (PyCFunction) _wrap_Log_GetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"Log_SetActiveTarget", (PyCFunction) _wrap_Log_SetActiveTarget, METH_VARARGS | METH_KEYWORDS, NULL},
31621 { (char *)"Log_Suspend", (PyCFunction) _wrap_Log_Suspend, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"Log_Resume", (PyCFunction) _wrap_Log_Resume, METH_VARARGS | METH_KEYWORDS, NULL},
31623 { (char *)"Log_SetVerbose", (PyCFunction) _wrap_Log_SetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"Log_SetLogLevel", (PyCFunction) _wrap_Log_SetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"Log_DontCreateOnDemand", (PyCFunction) _wrap_Log_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"Log_SetTraceMask", (PyCFunction) _wrap_Log_SetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"Log_AddTraceMask", (PyCFunction) _wrap_Log_AddTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"Log_RemoveTraceMask", (PyCFunction) _wrap_Log_RemoveTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"Log_ClearTraceMasks", (PyCFunction) _wrap_Log_ClearTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"Log_GetTraceMasks", (PyCFunction) _wrap_Log_GetTraceMasks, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"Log_SetTimestamp", (PyCFunction) _wrap_Log_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"Log_GetVerbose", (PyCFunction) _wrap_Log_GetVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"Log_GetTraceMask", (PyCFunction) _wrap_Log_GetTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"Log_IsAllowedTraceMask", (PyCFunction) _wrap_Log_IsAllowedTraceMask, METH_VARARGS | METH_KEYWORDS, NULL},
31635 { (char *)"Log_GetLogLevel", (PyCFunction) _wrap_Log_GetLogLevel, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"Log_GetTimestamp", (PyCFunction) _wrap_Log_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"Log_TimeStamp", (PyCFunction) _wrap_Log_TimeStamp, METH_VARARGS | METH_KEYWORDS, NULL},
31638 { (char *)"Log_Destroy", (PyCFunction) _wrap_Log_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"Log_swigregister", Log_swigregister, METH_VARARGS, NULL},
31640 { (char *)"new_LogStderr", (PyCFunction) _wrap_new_LogStderr, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"LogStderr_swigregister", LogStderr_swigregister, METH_VARARGS, NULL},
31642 { (char *)"new_LogTextCtrl", (PyCFunction) _wrap_new_LogTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister, METH_VARARGS, NULL},
31644 { (char *)"new_LogGui", (PyCFunction) _wrap_new_LogGui, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"LogGui_swigregister", LogGui_swigregister, METH_VARARGS, NULL},
31646 { (char *)"new_LogWindow", (PyCFunction) _wrap_new_LogWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31647 { (char *)"LogWindow_Show", (PyCFunction) _wrap_LogWindow_Show, METH_VARARGS | METH_KEYWORDS, NULL},
31648 { (char *)"LogWindow_GetFrame", (PyCFunction) _wrap_LogWindow_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31649 { (char *)"LogWindow_GetOldLog", (PyCFunction) _wrap_LogWindow_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"LogWindow_IsPassingMessages", (PyCFunction) _wrap_LogWindow_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"LogWindow_PassMessages", (PyCFunction) _wrap_LogWindow_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31652 { (char *)"LogWindow_swigregister", LogWindow_swigregister, METH_VARARGS, NULL},
31653 { (char *)"new_LogChain", (PyCFunction) _wrap_new_LogChain, METH_VARARGS | METH_KEYWORDS, NULL},
31654 { (char *)"LogChain_SetLog", (PyCFunction) _wrap_LogChain_SetLog, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"LogChain_PassMessages", (PyCFunction) _wrap_LogChain_PassMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31656 { (char *)"LogChain_IsPassingMessages", (PyCFunction) _wrap_LogChain_IsPassingMessages, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"LogChain_GetOldLog", (PyCFunction) _wrap_LogChain_GetOldLog, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"LogChain_swigregister", LogChain_swigregister, METH_VARARGS, NULL},
31659 { (char *)"SysErrorCode", (PyCFunction) _wrap_SysErrorCode, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"SysErrorMsg", (PyCFunction) _wrap_SysErrorMsg, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"LogFatalError", (PyCFunction) _wrap_LogFatalError, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"LogError", (PyCFunction) _wrap_LogError, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"LogWarning", (PyCFunction) _wrap_LogWarning, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"LogMessage", (PyCFunction) _wrap_LogMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"LogInfo", (PyCFunction) _wrap_LogInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"LogDebug", (PyCFunction) _wrap_LogDebug, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"LogVerbose", (PyCFunction) _wrap_LogVerbose, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"LogStatus", (PyCFunction) _wrap_LogStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"LogStatusFrame", (PyCFunction) _wrap_LogStatusFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31670 { (char *)"LogSysError", (PyCFunction) _wrap_LogSysError, METH_VARARGS | METH_KEYWORDS, NULL},
31671 { (char *)"LogGeneric", (PyCFunction) _wrap_LogGeneric, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"LogTrace", _wrap_LogTrace, METH_VARARGS, NULL},
31673 { (char *)"SafeShowMessage", (PyCFunction) _wrap_SafeShowMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"new_LogNull", (PyCFunction) _wrap_new_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31675 { (char *)"delete_LogNull", (PyCFunction) _wrap_delete_LogNull, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"LogNull_swigregister", LogNull_swigregister, METH_VARARGS, NULL},
31677 { (char *)"new_PyLog", (PyCFunction) _wrap_new_PyLog, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"PyLog__setCallbackInfo", (PyCFunction) _wrap_PyLog__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"PyLog_swigregister", PyLog_swigregister, METH_VARARGS, NULL},
31680 { (char *)"Process_Kill", (PyCFunction) _wrap_Process_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"Process_Exists", (PyCFunction) _wrap_Process_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31682 { (char *)"Process_Open", (PyCFunction) _wrap_Process_Open, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"new_Process", (PyCFunction) _wrap_new_Process, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"Process__setCallbackInfo", (PyCFunction) _wrap_Process__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31685 { (char *)"Process_base_OnTerminate", (PyCFunction) _wrap_Process_base_OnTerminate, METH_VARARGS | METH_KEYWORDS, NULL},
31686 { (char *)"Process_Redirect", (PyCFunction) _wrap_Process_Redirect, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"Process_IsRedirected", (PyCFunction) _wrap_Process_IsRedirected, METH_VARARGS | METH_KEYWORDS, NULL},
31688 { (char *)"Process_Detach", (PyCFunction) _wrap_Process_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
31689 { (char *)"Process_GetInputStream", (PyCFunction) _wrap_Process_GetInputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"Process_GetErrorStream", (PyCFunction) _wrap_Process_GetErrorStream, METH_VARARGS | METH_KEYWORDS, NULL},
31691 { (char *)"Process_GetOutputStream", (PyCFunction) _wrap_Process_GetOutputStream, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"Process_CloseOutput", (PyCFunction) _wrap_Process_CloseOutput, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"Process_IsInputOpened", (PyCFunction) _wrap_Process_IsInputOpened, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"Process_IsInputAvailable", (PyCFunction) _wrap_Process_IsInputAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"Process_IsErrorAvailable", (PyCFunction) _wrap_Process_IsErrorAvailable, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"Process_swigregister", Process_swigregister, METH_VARARGS, NULL},
31697 { (char *)"new_ProcessEvent", (PyCFunction) _wrap_new_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"ProcessEvent_GetPid", (PyCFunction) _wrap_ProcessEvent_GetPid, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"ProcessEvent_GetExitCode", (PyCFunction) _wrap_ProcessEvent_GetExitCode, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"ProcessEvent_m_pid_set", (PyCFunction) _wrap_ProcessEvent_m_pid_set, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"ProcessEvent_m_pid_get", (PyCFunction) _wrap_ProcessEvent_m_pid_get, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction) _wrap_ProcessEvent_m_exitcode_set, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction) _wrap_ProcessEvent_m_exitcode_get, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister, METH_VARARGS, NULL},
31705 { (char *)"Execute", (PyCFunction) _wrap_Execute, METH_VARARGS | METH_KEYWORDS, NULL},
31706 { (char *)"Kill", (PyCFunction) _wrap_Kill, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"new_Joystick", (PyCFunction) _wrap_new_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"delete_Joystick", (PyCFunction) _wrap_delete_Joystick, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"Joystick_GetPosition", (PyCFunction) _wrap_Joystick_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31710 { (char *)"Joystick_GetZPosition", (PyCFunction) _wrap_Joystick_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"Joystick_GetButtonState", (PyCFunction) _wrap_Joystick_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31712 { (char *)"Joystick_GetPOVPosition", (PyCFunction) _wrap_Joystick_GetPOVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31713 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction) _wrap_Joystick_GetPOVCTSPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"Joystick_GetRudderPosition", (PyCFunction) _wrap_Joystick_GetRudderPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"Joystick_GetUPosition", (PyCFunction) _wrap_Joystick_GetUPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"Joystick_GetVPosition", (PyCFunction) _wrap_Joystick_GetVPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31717 { (char *)"Joystick_GetMovementThreshold", (PyCFunction) _wrap_Joystick_GetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31718 { (char *)"Joystick_SetMovementThreshold", (PyCFunction) _wrap_Joystick_SetMovementThreshold, METH_VARARGS | METH_KEYWORDS, NULL},
31719 { (char *)"Joystick_IsOk", (PyCFunction) _wrap_Joystick_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction) _wrap_Joystick_GetNumberJoysticks, METH_VARARGS | METH_KEYWORDS, NULL},
31721 { (char *)"Joystick_GetManufacturerId", (PyCFunction) _wrap_Joystick_GetManufacturerId, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"Joystick_GetProductId", (PyCFunction) _wrap_Joystick_GetProductId, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"Joystick_GetProductName", (PyCFunction) _wrap_Joystick_GetProductName, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"Joystick_GetXMin", (PyCFunction) _wrap_Joystick_GetXMin, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"Joystick_GetYMin", (PyCFunction) _wrap_Joystick_GetYMin, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"Joystick_GetZMin", (PyCFunction) _wrap_Joystick_GetZMin, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"Joystick_GetXMax", (PyCFunction) _wrap_Joystick_GetXMax, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"Joystick_GetYMax", (PyCFunction) _wrap_Joystick_GetYMax, METH_VARARGS | METH_KEYWORDS, NULL},
31729 { (char *)"Joystick_GetZMax", (PyCFunction) _wrap_Joystick_GetZMax, METH_VARARGS | METH_KEYWORDS, NULL},
31730 { (char *)"Joystick_GetNumberButtons", (PyCFunction) _wrap_Joystick_GetNumberButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31731 { (char *)"Joystick_GetNumberAxes", (PyCFunction) _wrap_Joystick_GetNumberAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"Joystick_GetMaxButtons", (PyCFunction) _wrap_Joystick_GetMaxButtons, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"Joystick_GetMaxAxes", (PyCFunction) _wrap_Joystick_GetMaxAxes, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"Joystick_GetPollingMin", (PyCFunction) _wrap_Joystick_GetPollingMin, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"Joystick_GetPollingMax", (PyCFunction) _wrap_Joystick_GetPollingMax, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"Joystick_GetRudderMin", (PyCFunction) _wrap_Joystick_GetRudderMin, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"Joystick_GetRudderMax", (PyCFunction) _wrap_Joystick_GetRudderMax, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"Joystick_GetUMin", (PyCFunction) _wrap_Joystick_GetUMin, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"Joystick_GetUMax", (PyCFunction) _wrap_Joystick_GetUMax, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"Joystick_GetVMin", (PyCFunction) _wrap_Joystick_GetVMin, METH_VARARGS | METH_KEYWORDS, NULL},
31741 { (char *)"Joystick_GetVMax", (PyCFunction) _wrap_Joystick_GetVMax, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"Joystick_HasRudder", (PyCFunction) _wrap_Joystick_HasRudder, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"Joystick_HasZ", (PyCFunction) _wrap_Joystick_HasZ, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"Joystick_HasU", (PyCFunction) _wrap_Joystick_HasU, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"Joystick_HasV", (PyCFunction) _wrap_Joystick_HasV, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"Joystick_HasPOV", (PyCFunction) _wrap_Joystick_HasPOV, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"Joystick_HasPOV4Dir", (PyCFunction) _wrap_Joystick_HasPOV4Dir, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"Joystick_HasPOVCTS", (PyCFunction) _wrap_Joystick_HasPOVCTS, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"Joystick_SetCapture", (PyCFunction) _wrap_Joystick_SetCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"Joystick_ReleaseCapture", (PyCFunction) _wrap_Joystick_ReleaseCapture, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"Joystick_swigregister", Joystick_swigregister, METH_VARARGS, NULL},
31752 { (char *)"new_JoystickEvent", (PyCFunction) _wrap_new_JoystickEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"JoystickEvent_GetPosition", (PyCFunction) _wrap_JoystickEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"JoystickEvent_GetZPosition", (PyCFunction) _wrap_JoystickEvent_GetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"JoystickEvent_GetButtonState", (PyCFunction) _wrap_JoystickEvent_GetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction) _wrap_JoystickEvent_GetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"JoystickEvent_GetJoystick", (PyCFunction) _wrap_JoystickEvent_GetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"JoystickEvent_SetJoystick", (PyCFunction) _wrap_JoystickEvent_SetJoystick, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"JoystickEvent_SetButtonState", (PyCFunction) _wrap_JoystickEvent_SetButtonState, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction) _wrap_JoystickEvent_SetButtonChange, METH_VARARGS | METH_KEYWORDS, NULL},
31761 { (char *)"JoystickEvent_SetPosition", (PyCFunction) _wrap_JoystickEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"JoystickEvent_SetZPosition", (PyCFunction) _wrap_JoystickEvent_SetZPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31763 { (char *)"JoystickEvent_IsButton", (PyCFunction) _wrap_JoystickEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
31764 { (char *)"JoystickEvent_IsMove", (PyCFunction) _wrap_JoystickEvent_IsMove, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"JoystickEvent_IsZMove", (PyCFunction) _wrap_JoystickEvent_IsZMove, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"JoystickEvent_ButtonDown", (PyCFunction) _wrap_JoystickEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"JoystickEvent_ButtonUp", (PyCFunction) _wrap_JoystickEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction) _wrap_JoystickEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister, METH_VARARGS, NULL},
31770 { (char *)"new_Sound", (PyCFunction) _wrap_new_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"new_SoundFromData", (PyCFunction) _wrap_new_SoundFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"delete_Sound", (PyCFunction) _wrap_delete_Sound, METH_VARARGS | METH_KEYWORDS, NULL},
31773 { (char *)"Sound_Create", (PyCFunction) _wrap_Sound_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"Sound_CreateFromData", (PyCFunction) _wrap_Sound_CreateFromData, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"Sound_IsOk", (PyCFunction) _wrap_Sound_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
31776 { (char *)"Sound_Play", (PyCFunction) _wrap_Sound_Play, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"Sound_PlaySound", (PyCFunction) _wrap_Sound_PlaySound, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"Sound_Stop", (PyCFunction) _wrap_Sound_Stop, METH_VARARGS | METH_KEYWORDS, NULL},
31779 { (char *)"Sound_swigregister", Sound_swigregister, METH_VARARGS, NULL},
31780 { (char *)"new_FileTypeInfo", (PyCFunction) _wrap_new_FileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31781 { (char *)"new_FileTypeInfoSequence", (PyCFunction) _wrap_new_FileTypeInfoSequence, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"new_NullFileTypeInfo", (PyCFunction) _wrap_new_NullFileTypeInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"FileTypeInfo_IsValid", (PyCFunction) _wrap_FileTypeInfo_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"FileTypeInfo_SetIcon", (PyCFunction) _wrap_FileTypeInfo_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31785 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction) _wrap_FileTypeInfo_SetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction) _wrap_FileTypeInfo_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction) _wrap_FileTypeInfo_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction) _wrap_FileTypeInfo_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction) _wrap_FileTypeInfo_GetShortDesc, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"FileTypeInfo_GetDescription", (PyCFunction) _wrap_FileTypeInfo_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction) _wrap_FileTypeInfo_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction) _wrap_FileTypeInfo_GetExtensionsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction) _wrap_FileTypeInfo_GetIconFile, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction) _wrap_FileTypeInfo_GetIconIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister, METH_VARARGS, NULL},
31796 { (char *)"new_FileType", (PyCFunction) _wrap_new_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"delete_FileType", (PyCFunction) _wrap_delete_FileType, METH_VARARGS | METH_KEYWORDS, NULL},
31798 { (char *)"FileType_GetMimeType", (PyCFunction) _wrap_FileType_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"FileType_GetMimeTypes", (PyCFunction) _wrap_FileType_GetMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"FileType_GetExtensions", (PyCFunction) _wrap_FileType_GetExtensions, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"FileType_GetIcon", (PyCFunction) _wrap_FileType_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"FileType_GetIconInfo", (PyCFunction) _wrap_FileType_GetIconInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"FileType_GetDescription", (PyCFunction) _wrap_FileType_GetDescription, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"FileType_GetOpenCommand", (PyCFunction) _wrap_FileType_GetOpenCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31805 { (char *)"FileType_GetPrintCommand", (PyCFunction) _wrap_FileType_GetPrintCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"FileType_GetAllCommands", (PyCFunction) _wrap_FileType_GetAllCommands, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"FileType_SetCommand", (PyCFunction) _wrap_FileType_SetCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31808 { (char *)"FileType_SetDefaultIcon", (PyCFunction) _wrap_FileType_SetDefaultIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"FileType_Unassociate", (PyCFunction) _wrap_FileType_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"FileType_ExpandCommand", (PyCFunction) _wrap_FileType_ExpandCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"FileType_swigregister", FileType_swigregister, METH_VARARGS, NULL},
31812 { (char *)"MimeTypesManager_IsOfType", (PyCFunction) _wrap_MimeTypesManager_IsOfType, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"new_MimeTypesManager", (PyCFunction) _wrap_new_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"MimeTypesManager_Initialize", (PyCFunction) _wrap_MimeTypesManager_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"MimeTypesManager_ClearData", (PyCFunction) _wrap_MimeTypesManager_ClearData, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromExtension, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction) _wrap_MimeTypesManager_GetFileTypeFromMimeType, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction) _wrap_MimeTypesManager_ReadMailcap, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction) _wrap_MimeTypesManager_ReadMimeTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction) _wrap_MimeTypesManager_EnumAllFileTypes, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"MimeTypesManager_AddFallback", (PyCFunction) _wrap_MimeTypesManager_AddFallback, METH_VARARGS | METH_KEYWORDS, NULL},
31822 { (char *)"MimeTypesManager_Associate", (PyCFunction) _wrap_MimeTypesManager_Associate, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"MimeTypesManager_Unassociate", (PyCFunction) _wrap_MimeTypesManager_Unassociate, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"delete_MimeTypesManager", (PyCFunction) _wrap_delete_MimeTypesManager, METH_VARARGS | METH_KEYWORDS, NULL},
31825 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister, METH_VARARGS, NULL},
31826 { (char *)"new_ArtProvider", (PyCFunction) _wrap_new_ArtProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction) _wrap_ArtProvider__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"ArtProvider_PushProvider", (PyCFunction) _wrap_ArtProvider_PushProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"ArtProvider_PopProvider", (PyCFunction) _wrap_ArtProvider_PopProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31830 { (char *)"ArtProvider_RemoveProvider", (PyCFunction) _wrap_ArtProvider_RemoveProvider, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"ArtProvider_GetBitmap", (PyCFunction) _wrap_ArtProvider_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31832 { (char *)"ArtProvider_GetIcon", (PyCFunction) _wrap_ArtProvider_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"ArtProvider_GetSizeHint", (PyCFunction) _wrap_ArtProvider_GetSizeHint, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"ArtProvider_Destroy", (PyCFunction) _wrap_ArtProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister, METH_VARARGS, NULL},
31836 { (char *)"delete_ConfigBase", (PyCFunction) _wrap_delete_ConfigBase, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"ConfigBase_Set", (PyCFunction) _wrap_ConfigBase_Set, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"ConfigBase_Get", (PyCFunction) _wrap_ConfigBase_Get, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"ConfigBase_Create", (PyCFunction) _wrap_ConfigBase_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction) _wrap_ConfigBase_DontCreateOnDemand, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"ConfigBase_SetPath", (PyCFunction) _wrap_ConfigBase_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31842 { (char *)"ConfigBase_GetPath", (PyCFunction) _wrap_ConfigBase_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction) _wrap_ConfigBase_GetFirstGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"ConfigBase_GetNextGroup", (PyCFunction) _wrap_ConfigBase_GetNextGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction) _wrap_ConfigBase_GetFirstEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"ConfigBase_GetNextEntry", (PyCFunction) _wrap_ConfigBase_GetNextEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction) _wrap_ConfigBase_GetNumberOfEntries, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction) _wrap_ConfigBase_GetNumberOfGroups, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"ConfigBase_HasGroup", (PyCFunction) _wrap_ConfigBase_HasGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"ConfigBase_HasEntry", (PyCFunction) _wrap_ConfigBase_HasEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31851 { (char *)"ConfigBase_Exists", (PyCFunction) _wrap_ConfigBase_Exists, METH_VARARGS | METH_KEYWORDS, NULL},
31852 { (char *)"ConfigBase_GetEntryType", (PyCFunction) _wrap_ConfigBase_GetEntryType, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"ConfigBase_Read", (PyCFunction) _wrap_ConfigBase_Read, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"ConfigBase_ReadInt", (PyCFunction) _wrap_ConfigBase_ReadInt, METH_VARARGS | METH_KEYWORDS, NULL},
31855 { (char *)"ConfigBase_ReadFloat", (PyCFunction) _wrap_ConfigBase_ReadFloat, METH_VARARGS | METH_KEYWORDS, NULL},
31856 { (char *)"ConfigBase_ReadBool", (PyCFunction) _wrap_ConfigBase_ReadBool, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"ConfigBase_Write", (PyCFunction) _wrap_ConfigBase_Write, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"ConfigBase_WriteInt", (PyCFunction) _wrap_ConfigBase_WriteInt, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"ConfigBase_WriteFloat", (PyCFunction) _wrap_ConfigBase_WriteFloat, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"ConfigBase_WriteBool", (PyCFunction) _wrap_ConfigBase_WriteBool, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"ConfigBase_Flush", (PyCFunction) _wrap_ConfigBase_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"ConfigBase_RenameEntry", (PyCFunction) _wrap_ConfigBase_RenameEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31863 { (char *)"ConfigBase_RenameGroup", (PyCFunction) _wrap_ConfigBase_RenameGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"ConfigBase_DeleteEntry", (PyCFunction) _wrap_ConfigBase_DeleteEntry, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"ConfigBase_DeleteGroup", (PyCFunction) _wrap_ConfigBase_DeleteGroup, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"ConfigBase_DeleteAll", (PyCFunction) _wrap_ConfigBase_DeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction) _wrap_ConfigBase_SetExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction) _wrap_ConfigBase_IsExpandingEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction) _wrap_ConfigBase_SetRecordDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction) _wrap_ConfigBase_IsRecordingDefaults, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction) _wrap_ConfigBase_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31872 { (char *)"ConfigBase_GetAppName", (PyCFunction) _wrap_ConfigBase_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"ConfigBase_GetVendorName", (PyCFunction) _wrap_ConfigBase_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"ConfigBase_SetAppName", (PyCFunction) _wrap_ConfigBase_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"ConfigBase_SetVendorName", (PyCFunction) _wrap_ConfigBase_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"ConfigBase_SetStyle", (PyCFunction) _wrap_ConfigBase_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"ConfigBase_GetStyle", (PyCFunction) _wrap_ConfigBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister, METH_VARARGS, NULL},
31879 { (char *)"new_Config", (PyCFunction) _wrap_new_Config, METH_VARARGS | METH_KEYWORDS, NULL},
31880 { (char *)"delete_Config", (PyCFunction) _wrap_delete_Config, METH_VARARGS | METH_KEYWORDS, NULL},
31881 { (char *)"Config_swigregister", Config_swigregister, METH_VARARGS, NULL},
31882 { (char *)"new_FileConfig", (PyCFunction) _wrap_new_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
31883 { (char *)"delete_FileConfig", (PyCFunction) _wrap_delete_FileConfig, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"FileConfig_swigregister", FileConfig_swigregister, METH_VARARGS, NULL},
31885 { (char *)"new_ConfigPathChanger", (PyCFunction) _wrap_new_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"delete_ConfigPathChanger", (PyCFunction) _wrap_delete_ConfigPathChanger, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"ConfigPathChanger_Name", (PyCFunction) _wrap_ConfigPathChanger_Name, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister, METH_VARARGS, NULL},
31889 { (char *)"ExpandEnvVars", (PyCFunction) _wrap_ExpandEnvVars, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"DateTime_SetCountry", (PyCFunction) _wrap_DateTime_SetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"DateTime_GetCountry", (PyCFunction) _wrap_DateTime_GetCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction) _wrap_DateTime_IsWestEuropeanCountry, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"DateTime_GetCurrentYear", (PyCFunction) _wrap_DateTime_GetCurrentYear, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"DateTime_ConvertYearToBC", (PyCFunction) _wrap_DateTime_ConvertYearToBC, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"DateTime_GetCurrentMonth", (PyCFunction) _wrap_DateTime_GetCurrentMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31896 { (char *)"DateTime_IsLeapYear", (PyCFunction) _wrap_DateTime_IsLeapYear, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"DateTime_GetCentury", (PyCFunction) _wrap_DateTime_GetCentury, METH_VARARGS | METH_KEYWORDS, NULL},
31898 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction) _wrap_DateTime_GetNumberOfDaysinYear, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction) _wrap_DateTime_GetNumberOfDaysInMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"DateTime_GetMonthName", (PyCFunction) _wrap_DateTime_GetMonthName, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"DateTime_GetWeekDayName", (PyCFunction) _wrap_DateTime_GetWeekDayName, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"DateTime_GetAmPmStrings", (PyCFunction) _wrap_DateTime_GetAmPmStrings, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"DateTime_IsDSTApplicable", (PyCFunction) _wrap_DateTime_IsDSTApplicable, METH_VARARGS | METH_KEYWORDS, NULL},
31904 { (char *)"DateTime_GetBeginDST", (PyCFunction) _wrap_DateTime_GetBeginDST, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"DateTime_GetEndDST", (PyCFunction) _wrap_DateTime_GetEndDST, METH_VARARGS | METH_KEYWORDS, NULL},
31906 { (char *)"DateTime_Now", (PyCFunction) _wrap_DateTime_Now, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"DateTime_UNow", (PyCFunction) _wrap_DateTime_UNow, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"DateTime_Today", (PyCFunction) _wrap_DateTime_Today, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"new_DateTime", (PyCFunction) _wrap_new_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"new_DateTimeFromTimeT", (PyCFunction) _wrap_new_DateTimeFromTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"new_DateTimeFromJDN", (PyCFunction) _wrap_new_DateTimeFromJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"new_DateTimeFromHMS", (PyCFunction) _wrap_new_DateTimeFromHMS, METH_VARARGS | METH_KEYWORDS, NULL},
31913 { (char *)"new_DateTimeFromDMY", (PyCFunction) _wrap_new_DateTimeFromDMY, METH_VARARGS | METH_KEYWORDS, NULL},
31914 { (char *)"delete_DateTime", (PyCFunction) _wrap_delete_DateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31915 { (char *)"DateTime_SetToCurrent", (PyCFunction) _wrap_DateTime_SetToCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"DateTime_SetTimeT", (PyCFunction) _wrap_DateTime_SetTimeT, METH_VARARGS | METH_KEYWORDS, NULL},
31917 { (char *)"DateTime_SetJDN", (PyCFunction) _wrap_DateTime_SetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"DateTime_SetHMS", (PyCFunction) _wrap_DateTime_SetHMS, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"DateTime_Set", (PyCFunction) _wrap_DateTime_Set, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"DateTime_ResetTime", (PyCFunction) _wrap_DateTime_ResetTime, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"DateTime_SetYear", (PyCFunction) _wrap_DateTime_SetYear, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"DateTime_SetMonth", (PyCFunction) _wrap_DateTime_SetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31923 { (char *)"DateTime_SetDay", (PyCFunction) _wrap_DateTime_SetDay, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"DateTime_SetHour", (PyCFunction) _wrap_DateTime_SetHour, METH_VARARGS | METH_KEYWORDS, NULL},
31925 { (char *)"DateTime_SetMinute", (PyCFunction) _wrap_DateTime_SetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"DateTime_SetSecond", (PyCFunction) _wrap_DateTime_SetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"DateTime_SetMillisecond", (PyCFunction) _wrap_DateTime_SetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_SetToWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction) _wrap_DateTime_GetWeekDayInSameWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction) _wrap_DateTime_SetToNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"DateTime_GetNextWeekDay", (PyCFunction) _wrap_DateTime_GetNextWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction) _wrap_DateTime_SetToPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction) _wrap_DateTime_GetPrevWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"DateTime_SetToWeekDay", (PyCFunction) _wrap_DateTime_SetToWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31935 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction) _wrap_DateTime_SetToLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31936 { (char *)"DateTime_GetLastWeekDay", (PyCFunction) _wrap_DateTime_GetLastWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"DateTime_SetToTheWeek", (PyCFunction) _wrap_DateTime_SetToTheWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"DateTime_GetWeek", (PyCFunction) _wrap_DateTime_GetWeek, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction) _wrap_DateTime_SetToWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction) _wrap_DateTime_SetToLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"DateTime_GetLastMonthDay", (PyCFunction) _wrap_DateTime_GetLastMonthDay, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"DateTime_SetToYearDay", (PyCFunction) _wrap_DateTime_SetToYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"DateTime_GetYearDay", (PyCFunction) _wrap_DateTime_GetYearDay, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction) _wrap_DateTime_GetJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"DateTime_GetJDN", (PyCFunction) _wrap_DateTime_GetJDN, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction) _wrap_DateTime_GetModifiedJulianDayNumber, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"DateTime_GetMJD", (PyCFunction) _wrap_DateTime_GetMJD, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"DateTime_GetRataDie", (PyCFunction) _wrap_DateTime_GetRataDie, METH_VARARGS | METH_KEYWORDS, NULL},
31949 { (char *)"DateTime_ToTimezone", (PyCFunction) _wrap_DateTime_ToTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"DateTime_MakeTimezone", (PyCFunction) _wrap_DateTime_MakeTimezone, METH_VARARGS | METH_KEYWORDS, NULL},
31951 { (char *)"DateTime_ToGMT", (PyCFunction) _wrap_DateTime_ToGMT, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"DateTime_MakeGMT", (PyCFunction) _wrap_DateTime_MakeGMT, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"DateTime_IsDST", (PyCFunction) _wrap_DateTime_IsDST, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"DateTime_IsValid", (PyCFunction) _wrap_DateTime_IsValid, METH_VARARGS | METH_KEYWORDS, NULL},
31955 { (char *)"DateTime_GetTicks", (PyCFunction) _wrap_DateTime_GetTicks, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"DateTime_GetYear", (PyCFunction) _wrap_DateTime_GetYear, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"DateTime_GetMonth", (PyCFunction) _wrap_DateTime_GetMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"DateTime_GetDay", (PyCFunction) _wrap_DateTime_GetDay, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"DateTime_GetWeekDay", (PyCFunction) _wrap_DateTime_GetWeekDay, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"DateTime_GetHour", (PyCFunction) _wrap_DateTime_GetHour, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"DateTime_GetMinute", (PyCFunction) _wrap_DateTime_GetMinute, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"DateTime_GetSecond", (PyCFunction) _wrap_DateTime_GetSecond, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"DateTime_GetMillisecond", (PyCFunction) _wrap_DateTime_GetMillisecond, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"DateTime_GetDayOfYear", (PyCFunction) _wrap_DateTime_GetDayOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
31965 { (char *)"DateTime_GetWeekOfYear", (PyCFunction) _wrap_DateTime_GetWeekOfYear, METH_VARARGS | METH_KEYWORDS, NULL},
31966 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction) _wrap_DateTime_GetWeekOfMonth, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"DateTime_IsWorkDay", (PyCFunction) _wrap_DateTime_IsWorkDay, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"DateTime_IsEqualTo", (PyCFunction) _wrap_DateTime_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"DateTime_IsEarlierThan", (PyCFunction) _wrap_DateTime_IsEarlierThan, METH_VARARGS | METH_KEYWORDS, NULL},
31970 { (char *)"DateTime_IsLaterThan", (PyCFunction) _wrap_DateTime_IsLaterThan, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction) _wrap_DateTime_IsStrictlyBetween, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"DateTime_IsBetween", (PyCFunction) _wrap_DateTime_IsBetween, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"DateTime_IsSameDate", (PyCFunction) _wrap_DateTime_IsSameDate, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"DateTime_IsSameTime", (PyCFunction) _wrap_DateTime_IsSameTime, METH_VARARGS | METH_KEYWORDS, NULL},
31975 { (char *)"DateTime_IsEqualUpTo", (PyCFunction) _wrap_DateTime_IsEqualUpTo, METH_VARARGS | METH_KEYWORDS, NULL},
31976 { (char *)"DateTime_AddTS", (PyCFunction) _wrap_DateTime_AddTS, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"DateTime_AddDS", (PyCFunction) _wrap_DateTime_AddDS, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"DateTime_SubtractTS", (PyCFunction) _wrap_DateTime_SubtractTS, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"DateTime_SubtractDS", (PyCFunction) _wrap_DateTime_SubtractDS, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"DateTime_Subtract", (PyCFunction) _wrap_DateTime_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__, METH_VARARGS, NULL},
31982 { (char *)"DateTime___isub__", _wrap_DateTime___isub__, METH_VARARGS, NULL},
31983 { (char *)"DateTime___add__", _wrap_DateTime___add__, METH_VARARGS, NULL},
31984 { (char *)"DateTime___sub__", _wrap_DateTime___sub__, METH_VARARGS, NULL},
31985 { (char *)"DateTime___lt__", (PyCFunction) _wrap_DateTime___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"DateTime___le__", (PyCFunction) _wrap_DateTime___le__, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"DateTime___gt__", (PyCFunction) _wrap_DateTime___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
31988 { (char *)"DateTime___ge__", (PyCFunction) _wrap_DateTime___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
31989 { (char *)"DateTime___eq__", (PyCFunction) _wrap_DateTime___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"DateTime___ne__", (PyCFunction) _wrap_DateTime___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
31991 { (char *)"DateTime_ParseRfc822Date", (PyCFunction) _wrap_DateTime_ParseRfc822Date, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"DateTime_ParseFormat", (PyCFunction) _wrap_DateTime_ParseFormat, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"DateTime_ParseDateTime", (PyCFunction) _wrap_DateTime_ParseDateTime, METH_VARARGS | METH_KEYWORDS, NULL},
31994 { (char *)"DateTime_ParseDate", (PyCFunction) _wrap_DateTime_ParseDate, METH_VARARGS | METH_KEYWORDS, NULL},
31995 { (char *)"DateTime_ParseTime", (PyCFunction) _wrap_DateTime_ParseTime, METH_VARARGS | METH_KEYWORDS, NULL},
31996 { (char *)"DateTime_Format", (PyCFunction) _wrap_DateTime_Format, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"DateTime_FormatDate", (PyCFunction) _wrap_DateTime_FormatDate, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"DateTime_FormatTime", (PyCFunction) _wrap_DateTime_FormatTime, METH_VARARGS | METH_KEYWORDS, NULL},
31999 { (char *)"DateTime_FormatISODate", (PyCFunction) _wrap_DateTime_FormatISODate, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"DateTime_FormatISOTime", (PyCFunction) _wrap_DateTime_FormatISOTime, METH_VARARGS | METH_KEYWORDS, NULL},
32001 { (char *)"DateTime_swigregister", DateTime_swigregister, METH_VARARGS, NULL},
32002 { (char *)"TimeSpan_Seconds", (PyCFunction) _wrap_TimeSpan_Seconds, METH_VARARGS | METH_KEYWORDS, NULL},
32003 { (char *)"TimeSpan_Second", (PyCFunction) _wrap_TimeSpan_Second, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"TimeSpan_Minutes", (PyCFunction) _wrap_TimeSpan_Minutes, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"TimeSpan_Minute", (PyCFunction) _wrap_TimeSpan_Minute, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"TimeSpan_Hours", (PyCFunction) _wrap_TimeSpan_Hours, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"TimeSpan_Hour", (PyCFunction) _wrap_TimeSpan_Hour, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"TimeSpan_Days", (PyCFunction) _wrap_TimeSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"TimeSpan_Day", (PyCFunction) _wrap_TimeSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"TimeSpan_Weeks", (PyCFunction) _wrap_TimeSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"TimeSpan_Week", (PyCFunction) _wrap_TimeSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"new_TimeSpan", (PyCFunction) _wrap_new_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"delete_TimeSpan", (PyCFunction) _wrap_delete_TimeSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"TimeSpan_Add", (PyCFunction) _wrap_TimeSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"TimeSpan_Subtract", (PyCFunction) _wrap_TimeSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"TimeSpan_Multiply", (PyCFunction) _wrap_TimeSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"TimeSpan_Neg", (PyCFunction) _wrap_TimeSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"TimeSpan_Abs", (PyCFunction) _wrap_TimeSpan_Abs, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"TimeSpan___iadd__", (PyCFunction) _wrap_TimeSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"TimeSpan___isub__", (PyCFunction) _wrap_TimeSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"TimeSpan___imul__", (PyCFunction) _wrap_TimeSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"TimeSpan___neg__", (PyCFunction) _wrap_TimeSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"TimeSpan___add__", (PyCFunction) _wrap_TimeSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32024 { (char *)"TimeSpan___sub__", (PyCFunction) _wrap_TimeSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"TimeSpan___mul__", (PyCFunction) _wrap_TimeSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"TimeSpan___rmul__", (PyCFunction) _wrap_TimeSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"TimeSpan___lt__", (PyCFunction) _wrap_TimeSpan___lt__, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"TimeSpan___le__", (PyCFunction) _wrap_TimeSpan___le__, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"TimeSpan___gt__", (PyCFunction) _wrap_TimeSpan___gt__, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"TimeSpan___ge__", (PyCFunction) _wrap_TimeSpan___ge__, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"TimeSpan___eq__", (PyCFunction) _wrap_TimeSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32032 { (char *)"TimeSpan___ne__", (PyCFunction) _wrap_TimeSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32033 { (char *)"TimeSpan_IsNull", (PyCFunction) _wrap_TimeSpan_IsNull, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"TimeSpan_IsPositive", (PyCFunction) _wrap_TimeSpan_IsPositive, METH_VARARGS | METH_KEYWORDS, NULL},
32035 { (char *)"TimeSpan_IsNegative", (PyCFunction) _wrap_TimeSpan_IsNegative, METH_VARARGS | METH_KEYWORDS, NULL},
32036 { (char *)"TimeSpan_IsEqualTo", (PyCFunction) _wrap_TimeSpan_IsEqualTo, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"TimeSpan_IsLongerThan", (PyCFunction) _wrap_TimeSpan_IsLongerThan, METH_VARARGS | METH_KEYWORDS, NULL},
32038 { (char *)"TimeSpan_IsShorterThan", (PyCFunction) _wrap_TimeSpan_IsShorterThan, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"TimeSpan_GetWeeks", (PyCFunction) _wrap_TimeSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"TimeSpan_GetDays", (PyCFunction) _wrap_TimeSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"TimeSpan_GetHours", (PyCFunction) _wrap_TimeSpan_GetHours, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"TimeSpan_GetMinutes", (PyCFunction) _wrap_TimeSpan_GetMinutes, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"TimeSpan_GetSeconds", (PyCFunction) _wrap_TimeSpan_GetSeconds, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction) _wrap_TimeSpan_GetMilliseconds, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"TimeSpan_Format", (PyCFunction) _wrap_TimeSpan_Format, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister, METH_VARARGS, NULL},
32047 { (char *)"new_DateSpan", (PyCFunction) _wrap_new_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32048 { (char *)"delete_DateSpan", (PyCFunction) _wrap_delete_DateSpan, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"DateSpan_Days", (PyCFunction) _wrap_DateSpan_Days, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"DateSpan_Day", (PyCFunction) _wrap_DateSpan_Day, METH_VARARGS | METH_KEYWORDS, NULL},
32051 { (char *)"DateSpan_Weeks", (PyCFunction) _wrap_DateSpan_Weeks, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"DateSpan_Week", (PyCFunction) _wrap_DateSpan_Week, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"DateSpan_Months", (PyCFunction) _wrap_DateSpan_Months, METH_VARARGS | METH_KEYWORDS, NULL},
32054 { (char *)"DateSpan_Month", (PyCFunction) _wrap_DateSpan_Month, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"DateSpan_Years", (PyCFunction) _wrap_DateSpan_Years, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"DateSpan_Year", (PyCFunction) _wrap_DateSpan_Year, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"DateSpan_SetYears", (PyCFunction) _wrap_DateSpan_SetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"DateSpan_SetMonths", (PyCFunction) _wrap_DateSpan_SetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"DateSpan_SetWeeks", (PyCFunction) _wrap_DateSpan_SetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32060 { (char *)"DateSpan_SetDays", (PyCFunction) _wrap_DateSpan_SetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"DateSpan_GetYears", (PyCFunction) _wrap_DateSpan_GetYears, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"DateSpan_GetMonths", (PyCFunction) _wrap_DateSpan_GetMonths, METH_VARARGS | METH_KEYWORDS, NULL},
32063 { (char *)"DateSpan_GetWeeks", (PyCFunction) _wrap_DateSpan_GetWeeks, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"DateSpan_GetDays", (PyCFunction) _wrap_DateSpan_GetDays, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"DateSpan_GetTotalDays", (PyCFunction) _wrap_DateSpan_GetTotalDays, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"DateSpan_Add", (PyCFunction) _wrap_DateSpan_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"DateSpan_Subtract", (PyCFunction) _wrap_DateSpan_Subtract, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"DateSpan_Neg", (PyCFunction) _wrap_DateSpan_Neg, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"DateSpan_Multiply", (PyCFunction) _wrap_DateSpan_Multiply, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"DateSpan___iadd__", (PyCFunction) _wrap_DateSpan___iadd__, METH_VARARGS | METH_KEYWORDS, NULL},
32071 { (char *)"DateSpan___isub__", (PyCFunction) _wrap_DateSpan___isub__, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"DateSpan___neg__", (PyCFunction) _wrap_DateSpan___neg__, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"DateSpan___imul__", (PyCFunction) _wrap_DateSpan___imul__, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"DateSpan___add__", (PyCFunction) _wrap_DateSpan___add__, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"DateSpan___sub__", (PyCFunction) _wrap_DateSpan___sub__, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"DateSpan___mul__", (PyCFunction) _wrap_DateSpan___mul__, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"DateSpan___rmul__", (PyCFunction) _wrap_DateSpan___rmul__, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"DateSpan___eq__", (PyCFunction) _wrap_DateSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"DateSpan___ne__", (PyCFunction) _wrap_DateSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"DateSpan_swigregister", DateSpan_swigregister, METH_VARARGS, NULL},
32081 { (char *)"GetLocalTime", (PyCFunction) _wrap_GetLocalTime, METH_VARARGS | METH_KEYWORDS, NULL},
32082 { (char *)"GetUTCTime", (PyCFunction) _wrap_GetUTCTime, METH_VARARGS | METH_KEYWORDS, NULL},
32083 { (char *)"GetCurrentTime", (PyCFunction) _wrap_GetCurrentTime, METH_VARARGS | METH_KEYWORDS, NULL},
32084 { (char *)"GetLocalTimeMillis", (PyCFunction) _wrap_GetLocalTimeMillis, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"new_DataFormat", (PyCFunction) _wrap_new_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"new_CustomDataFormat", (PyCFunction) _wrap_new_CustomDataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"delete_DataFormat", (PyCFunction) _wrap_delete_DataFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__, METH_VARARGS, NULL},
32089 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__, METH_VARARGS, NULL},
32090 { (char *)"DataFormat_SetType", (PyCFunction) _wrap_DataFormat_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"DataFormat_GetType", (PyCFunction) _wrap_DataFormat_GetType, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"DataFormat_GetId", (PyCFunction) _wrap_DataFormat_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
32093 { (char *)"DataFormat_SetId", (PyCFunction) _wrap_DataFormat_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
32094 { (char *)"DataFormat_swigregister", DataFormat_swigregister, METH_VARARGS, NULL},
32095 { (char *)"delete_DataObject", (PyCFunction) _wrap_delete_DataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"DataObject_GetPreferredFormat", (PyCFunction) _wrap_DataObject_GetPreferredFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32097 { (char *)"DataObject_GetFormatCount", (PyCFunction) _wrap_DataObject_GetFormatCount, METH_VARARGS | METH_KEYWORDS, NULL},
32098 { (char *)"DataObject_IsSupported", (PyCFunction) _wrap_DataObject_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"DataObject_GetDataSize", (PyCFunction) _wrap_DataObject_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"DataObject_GetAllFormats", (PyCFunction) _wrap_DataObject_GetAllFormats, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"DataObject_GetDataHere", (PyCFunction) _wrap_DataObject_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"DataObject_SetData", (PyCFunction) _wrap_DataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"DataObject_swigregister", DataObject_swigregister, METH_VARARGS, NULL},
32104 { (char *)"new_DataObjectSimple", (PyCFunction) _wrap_new_DataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"DataObjectSimple_GetFormat", (PyCFunction) _wrap_DataObjectSimple_GetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"DataObjectSimple_SetFormat", (PyCFunction) _wrap_DataObjectSimple_SetFormat, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction) _wrap_DataObjectSimple_GetDataSize, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction) _wrap_DataObjectSimple_GetDataHere, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"DataObjectSimple_SetData", (PyCFunction) _wrap_DataObjectSimple_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32110 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister, METH_VARARGS, NULL},
32111 { (char *)"new_PyDataObjectSimple", (PyCFunction) _wrap_new_PyDataObjectSimple, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction) _wrap_PyDataObjectSimple__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister, METH_VARARGS, NULL},
32114 { (char *)"new_DataObjectComposite", (PyCFunction) _wrap_new_DataObjectComposite, METH_VARARGS | METH_KEYWORDS, NULL},
32115 { (char *)"DataObjectComposite_Add", (PyCFunction) _wrap_DataObjectComposite_Add, METH_VARARGS | METH_KEYWORDS, NULL},
32116 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister, METH_VARARGS, NULL},
32117 { (char *)"new_TextDataObject", (PyCFunction) _wrap_new_TextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"TextDataObject_GetTextLength", (PyCFunction) _wrap_TextDataObject_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
32119 { (char *)"TextDataObject_GetText", (PyCFunction) _wrap_TextDataObject_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"TextDataObject_SetText", (PyCFunction) _wrap_TextDataObject_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister, METH_VARARGS, NULL},
32122 { (char *)"new_PyTextDataObject", (PyCFunction) _wrap_new_PyTextDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction) _wrap_PyTextDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister, METH_VARARGS, NULL},
32125 { (char *)"new_BitmapDataObject", (PyCFunction) _wrap_new_BitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction) _wrap_BitmapDataObject_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32127 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction) _wrap_BitmapDataObject_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister, METH_VARARGS, NULL},
32129 { (char *)"new_PyBitmapDataObject", (PyCFunction) _wrap_new_PyBitmapDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32130 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction) _wrap_PyBitmapDataObject__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister, METH_VARARGS, NULL},
32132 { (char *)"new_FileDataObject", (PyCFunction) _wrap_new_FileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"FileDataObject_GetFilenames", (PyCFunction) _wrap_FileDataObject_GetFilenames, METH_VARARGS | METH_KEYWORDS, NULL},
32134 { (char *)"FileDataObject_AddFile", (PyCFunction) _wrap_FileDataObject_AddFile, METH_VARARGS | METH_KEYWORDS, NULL},
32135 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister, METH_VARARGS, NULL},
32136 { (char *)"new_CustomDataObject", _wrap_new_CustomDataObject, METH_VARARGS, NULL},
32137 { (char *)"CustomDataObject_SetData", (PyCFunction) _wrap_CustomDataObject_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32138 { (char *)"CustomDataObject_GetSize", (PyCFunction) _wrap_CustomDataObject_GetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"CustomDataObject_GetData", (PyCFunction) _wrap_CustomDataObject_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister, METH_VARARGS, NULL},
32141 { (char *)"new_URLDataObject", (PyCFunction) _wrap_new_URLDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"URLDataObject_GetURL", (PyCFunction) _wrap_URLDataObject_GetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"URLDataObject_SetURL", (PyCFunction) _wrap_URLDataObject_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
32144 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister, METH_VARARGS, NULL},
32145 { (char *)"new_MetafileDataObject", (PyCFunction) _wrap_new_MetafileDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32146 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction) _wrap_MetafileDataObject_SetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32147 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction) _wrap_MetafileDataObject_GetMetafile, METH_VARARGS | METH_KEYWORDS, NULL},
32148 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister, METH_VARARGS, NULL},
32149 { (char *)"IsDragResultOk", (PyCFunction) _wrap_IsDragResultOk, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"new_DropSource", (PyCFunction) _wrap_new_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"DropSource__setCallbackInfo", (PyCFunction) _wrap_DropSource__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"delete_DropSource", (PyCFunction) _wrap_delete_DropSource, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"DropSource_SetData", (PyCFunction) _wrap_DropSource_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"DropSource_GetDataObject", (PyCFunction) _wrap_DropSource_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"DropSource_SetCursor", (PyCFunction) _wrap_DropSource_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"DropSource_DoDragDrop", (PyCFunction) _wrap_DropSource_DoDragDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"DropSource_base_GiveFeedback", (PyCFunction) _wrap_DropSource_base_GiveFeedback, METH_VARARGS | METH_KEYWORDS, NULL},
32158 { (char *)"DropSource_swigregister", DropSource_swigregister, METH_VARARGS, NULL},
32159 { (char *)"new_DropTarget", (PyCFunction) _wrap_new_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"DropTarget__setCallbackInfo", (PyCFunction) _wrap_DropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32161 { (char *)"delete_DropTarget", (PyCFunction) _wrap_delete_DropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32162 { (char *)"DropTarget_GetDataObject", (PyCFunction) _wrap_DropTarget_GetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32163 { (char *)"DropTarget_SetDataObject", (PyCFunction) _wrap_DropTarget_SetDataObject, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"DropTarget_base_OnEnter", (PyCFunction) _wrap_DropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"DropTarget_base_OnDragOver", (PyCFunction) _wrap_DropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32166 { (char *)"DropTarget_base_OnLeave", (PyCFunction) _wrap_DropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"DropTarget_base_OnDrop", (PyCFunction) _wrap_DropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"DropTarget_GetData", (PyCFunction) _wrap_DropTarget_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"DropTarget_SetDefaultAction", (PyCFunction) _wrap_DropTarget_SetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"DropTarget_GetDefaultAction", (PyCFunction) _wrap_DropTarget_GetDefaultAction, METH_VARARGS | METH_KEYWORDS, NULL},
32171 { (char *)"DropTarget_swigregister", DropTarget_swigregister, METH_VARARGS, NULL},
32172 { (char *)"new_TextDropTarget", (PyCFunction) _wrap_new_TextDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32173 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction) _wrap_TextDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction) _wrap_TextDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32175 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction) _wrap_TextDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32176 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction) _wrap_TextDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32177 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction) _wrap_TextDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32178 { (char *)"TextDropTarget_base_OnData", (PyCFunction) _wrap_TextDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister, METH_VARARGS, NULL},
32180 { (char *)"new_FileDropTarget", (PyCFunction) _wrap_new_FileDropTarget, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction) _wrap_FileDropTarget__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32182 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction) _wrap_FileDropTarget_base_OnEnter, METH_VARARGS | METH_KEYWORDS, NULL},
32183 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction) _wrap_FileDropTarget_base_OnDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction) _wrap_FileDropTarget_base_OnLeave, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction) _wrap_FileDropTarget_base_OnDrop, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"FileDropTarget_base_OnData", (PyCFunction) _wrap_FileDropTarget_base_OnData, METH_VARARGS | METH_KEYWORDS, NULL},
32187 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister, METH_VARARGS, NULL},
32188 { (char *)"new_Clipboard", (PyCFunction) _wrap_new_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"delete_Clipboard", (PyCFunction) _wrap_delete_Clipboard, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"Clipboard_Open", (PyCFunction) _wrap_Clipboard_Open, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"Clipboard_Close", (PyCFunction) _wrap_Clipboard_Close, METH_VARARGS | METH_KEYWORDS, NULL},
32192 { (char *)"Clipboard_IsOpened", (PyCFunction) _wrap_Clipboard_IsOpened, METH_VARARGS | METH_KEYWORDS, NULL},
32193 { (char *)"Clipboard_AddData", (PyCFunction) _wrap_Clipboard_AddData, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"Clipboard_SetData", (PyCFunction) _wrap_Clipboard_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32195 { (char *)"Clipboard_IsSupported", (PyCFunction) _wrap_Clipboard_IsSupported, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"Clipboard_GetData", (PyCFunction) _wrap_Clipboard_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
32197 { (char *)"Clipboard_Clear", (PyCFunction) _wrap_Clipboard_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"Clipboard_Flush", (PyCFunction) _wrap_Clipboard_Flush, METH_VARARGS | METH_KEYWORDS, NULL},
32199 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction) _wrap_Clipboard_UsePrimarySelection, METH_VARARGS | METH_KEYWORDS, NULL},
32200 { (char *)"Clipboard_Get", (PyCFunction) _wrap_Clipboard_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"Clipboard_swigregister", Clipboard_swigregister, METH_VARARGS, NULL},
32202 { (char *)"new_ClipboardLocker", (PyCFunction) _wrap_new_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"delete_ClipboardLocker", (PyCFunction) _wrap_delete_ClipboardLocker, METH_VARARGS | METH_KEYWORDS, NULL},
32204 { (char *)"ClipboardLocker___nonzero__", (PyCFunction) _wrap_ClipboardLocker___nonzero__, METH_VARARGS | METH_KEYWORDS, NULL},
32205 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister, METH_VARARGS, NULL},
32206 { (char *)"new_VideoMode", (PyCFunction) _wrap_new_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32207 { (char *)"delete_VideoMode", (PyCFunction) _wrap_delete_VideoMode, METH_VARARGS | METH_KEYWORDS, NULL},
32208 { (char *)"VideoMode_Matches", (PyCFunction) _wrap_VideoMode_Matches, METH_VARARGS | METH_KEYWORDS, NULL},
32209 { (char *)"VideoMode_GetWidth", (PyCFunction) _wrap_VideoMode_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
32210 { (char *)"VideoMode_GetHeight", (PyCFunction) _wrap_VideoMode_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32211 { (char *)"VideoMode_GetDepth", (PyCFunction) _wrap_VideoMode_GetDepth, METH_VARARGS | METH_KEYWORDS, NULL},
32212 { (char *)"VideoMode_IsOk", (PyCFunction) _wrap_VideoMode_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"VideoMode___eq__", (PyCFunction) _wrap_VideoMode___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"VideoMode___ne__", (PyCFunction) _wrap_VideoMode___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"VideoMode_w_set", (PyCFunction) _wrap_VideoMode_w_set, METH_VARARGS | METH_KEYWORDS, NULL},
32216 { (char *)"VideoMode_w_get", (PyCFunction) _wrap_VideoMode_w_get, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"VideoMode_h_set", (PyCFunction) _wrap_VideoMode_h_set, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"VideoMode_h_get", (PyCFunction) _wrap_VideoMode_h_get, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"VideoMode_bpp_set", (PyCFunction) _wrap_VideoMode_bpp_set, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"VideoMode_bpp_get", (PyCFunction) _wrap_VideoMode_bpp_get, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"VideoMode_refresh_set", (PyCFunction) _wrap_VideoMode_refresh_set, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"VideoMode_refresh_get", (PyCFunction) _wrap_VideoMode_refresh_get, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"VideoMode_swigregister", VideoMode_swigregister, METH_VARARGS, NULL},
32224 { (char *)"new_Display", (PyCFunction) _wrap_new_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32225 { (char *)"delete_Display", (PyCFunction) _wrap_delete_Display, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"Display_GetCount", (PyCFunction) _wrap_Display_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"Display_GetFromPoint", (PyCFunction) _wrap_Display_GetFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"Display_GetFromWindow", (PyCFunction) _wrap_Display_GetFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"Display_IsOk", (PyCFunction) _wrap_Display_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"Display_GetGeometry", (PyCFunction) _wrap_Display_GetGeometry, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"Display_GetName", (PyCFunction) _wrap_Display_GetName, METH_VARARGS | METH_KEYWORDS, NULL},
32232 { (char *)"Display_IsPrimary", (PyCFunction) _wrap_Display_IsPrimary, METH_VARARGS | METH_KEYWORDS, NULL},
32233 { (char *)"Display_GetModes", (PyCFunction) _wrap_Display_GetModes, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"Display_GetCurrentMode", (PyCFunction) _wrap_Display_GetCurrentMode, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"Display_ChangeMode", (PyCFunction) _wrap_Display_ChangeMode, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"Display_ResetMode", (PyCFunction) _wrap_Display_ResetMode, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"Display_swigregister", Display_swigregister, METH_VARARGS, NULL},
32238 { (char *)"StandardPaths_Get", (PyCFunction) _wrap_StandardPaths_Get, METH_VARARGS | METH_KEYWORDS, NULL},
32239 { (char *)"StandardPaths_GetConfigDir", (PyCFunction) _wrap_StandardPaths_GetConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32240 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction) _wrap_StandardPaths_GetUserConfigDir, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"StandardPaths_GetDataDir", (PyCFunction) _wrap_StandardPaths_GetDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32242 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction) _wrap_StandardPaths_GetUserDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction) _wrap_StandardPaths_GetUserLocalDataDir, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction) _wrap_StandardPaths_GetPluginsDir, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction) _wrap_StandardPaths_SetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction) _wrap_StandardPaths_GetInstallPrefix, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister, METH_VARARGS, NULL},
32249 { NULL, NULL, 0, NULL }
32250 };
32251
32252
32253 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32254
32255 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32256 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32257 }
32258 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32259 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32260 }
32261 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32262 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32263 }
32264 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32265 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32266 }
32267 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32268 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32269 }
32270 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32271 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32272 }
32273 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
32274 return (void *)((wxEvent *) ((wxTimerEvent *) x));
32275 }
32276 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32277 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32278 }
32279 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32280 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32281 }
32282 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32283 return (void *)((wxEvent *) ((wxPyEvent *) x));
32284 }
32285 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32286 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32287 }
32288 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
32289 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
32290 }
32291 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32292 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32293 }
32294 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32295 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32296 }
32297 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32298 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32299 }
32300 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32301 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32302 }
32303 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32304 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32305 }
32306 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32307 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32308 }
32309 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32310 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32311 }
32312 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32313 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32314 }
32315 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32316 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32317 }
32318 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32319 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32320 }
32321 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32322 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32323 }
32324 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32325 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32326 }
32327 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32328 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32329 }
32330 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32331 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32332 }
32333 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32334 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32335 }
32336 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32337 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32338 }
32339 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32340 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32341 }
32342 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32343 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32344 }
32345 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32346 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32347 }
32348 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
32349 return (void *)((wxEvent *) ((wxProcessEvent *) x));
32350 }
32351 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32352 return (void *)((wxEvent *) ((wxShowEvent *) x));
32353 }
32354 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32355 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32356 }
32357 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32358 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32359 }
32360 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32362 }
32363 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32364 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32365 }
32366 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32367 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32368 }
32369 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32370 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32371 }
32372 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x) {
32373 return (void *)((wxConfigBase *) ((wxFileConfig *) x));
32374 }
32375 static void *_p_wxConfigTo_p_wxConfigBase(void *x) {
32376 return (void *)((wxConfigBase *) ((wxConfig *) x));
32377 }
32378 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x) {
32379 return (void *)((wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32380 }
32381 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x) {
32382 return (void *)((wxTextDataObject *) ((wxPyTextDataObject *) x));
32383 }
32384 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x) {
32385 return (void *)((wxDataObject *) ((wxDataObjectSimple *) x));
32386 }
32387 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x) {
32388 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32389 }
32390 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x) {
32391 return (void *)((wxDataObject *) ((wxDataObjectComposite *) x));
32392 }
32393 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x) {
32394 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxTextDataObject *) x));
32395 }
32396 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x) {
32397 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxTextDataObject *) ((wxPyTextDataObject *) x));
32398 }
32399 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x) {
32400 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32401 }
32402 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x) {
32403 return (void *)((wxDataObject *) (wxDataObjectSimple *)(wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32404 }
32405 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x) {
32406 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxFileDataObject *) x));
32407 }
32408 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x) {
32409 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxCustomDataObject *) x));
32410 }
32411 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x) {
32412 return (void *)((wxDataObject *) (wxDataObjectComposite *) ((wxURLDataObject *) x));
32413 }
32414 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x) {
32415 return (void *)((wxDataObject *) (wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32416 }
32417 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x) {
32418 return (void *)((wxDataObjectComposite *) ((wxURLDataObject *) x));
32419 }
32420 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x) {
32421 return (void *)((wxDataObjectSimple *) ((wxPyDataObjectSimple *) x));
32422 }
32423 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32424 return (void *)((wxDataObjectSimple *) ((wxTextDataObject *) x));
32425 }
32426 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x) {
32427 return (void *)((wxDataObjectSimple *) (wxTextDataObject *) ((wxPyTextDataObject *) x));
32428 }
32429 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32430 return (void *)((wxDataObjectSimple *) ((wxBitmapDataObject *) x));
32431 }
32432 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x) {
32433 return (void *)((wxDataObjectSimple *) (wxBitmapDataObject *) ((wxPyBitmapDataObject *) x));
32434 }
32435 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x) {
32436 return (void *)((wxDataObjectSimple *) ((wxFileDataObject *) x));
32437 }
32438 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x) {
32439 return (void *)((wxDataObjectSimple *) ((wxCustomDataObject *) x));
32440 }
32441 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x) {
32442 return (void *)((wxDataObjectSimple *) ((wxMetafileDataObject *) x));
32443 }
32444 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32445 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32446 }
32447 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32448 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32449 }
32450 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32452 }
32453 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32454 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32455 }
32456 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
32457 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
32458 }
32459 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32460 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32461 }
32462 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32463 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32464 }
32465 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32466 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32467 }
32468 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32469 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32470 }
32471 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
32472 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
32473 }
32474 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x) {
32475 return (void *)((wxTipProvider *) ((wxPyTipProvider *) x));
32476 }
32477 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32478 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32479 }
32480 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32481 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32482 }
32483 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32484 return (void *)((wxObject *) ((wxSizerItem *) x));
32485 }
32486 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32488 }
32489 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32490 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32491 }
32492 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32493 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32494 }
32495 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32496 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32497 }
32498 static void *_p_wxSizerTo_p_wxObject(void *x) {
32499 return (void *)((wxObject *) ((wxSizer *) x));
32500 }
32501 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32502 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32503 }
32504 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
32505 return (void *)((wxObject *) ((wxFileHistory *) x));
32506 }
32507 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32509 }
32510 static void *_p_wxEventTo_p_wxObject(void *x) {
32511 return (void *)((wxObject *) ((wxEvent *) x));
32512 }
32513 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32514 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32515 }
32516 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32517 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32518 }
32519 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32520 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32521 }
32522 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32523 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32524 }
32525 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32526 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32527 }
32528 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32529 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32530 }
32531 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32532 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32533 }
32534 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32535 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32536 }
32537 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32538 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32539 }
32540 static void *_p_wxControlTo_p_wxObject(void *x) {
32541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32542 }
32543 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32544 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32545 }
32546 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
32547 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
32548 }
32549 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32550 return (void *)((wxObject *) ((wxFSFile *) x));
32551 }
32552 static void *_p_wxClipboardTo_p_wxObject(void *x) {
32553 return (void *)((wxObject *) ((wxClipboard *) x));
32554 }
32555 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32556 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32557 }
32558 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32559 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32560 }
32561 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32563 }
32564 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32565 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32566 }
32567 static void *_p_wxToolTipTo_p_wxObject(void *x) {
32568 return (void *)((wxObject *) ((wxToolTip *) x));
32569 }
32570 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32571 return (void *)((wxObject *) ((wxMenuItem *) x));
32572 }
32573 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32574 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32575 }
32576 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32577 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32578 }
32579 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32580 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32581 }
32582 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32583 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32584 }
32585 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32586 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32587 }
32588 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32589 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32590 }
32591 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32592 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32593 }
32594 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32595 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32596 }
32597 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32598 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32599 }
32600 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32601 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32602 }
32603 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32604 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32605 }
32606 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32607 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32608 }
32609 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32610 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32611 }
32612 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32613 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32614 }
32615 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32616 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32617 }
32618 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32619 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32620 }
32621 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32622 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32623 }
32624 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32625 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32626 }
32627 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32628 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32629 }
32630 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32631 return (void *)((wxObject *) ((wxImageHandler *) x));
32632 }
32633 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32634 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32635 }
32636 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32637 return (void *)((wxObject *) ((wxEvtHandler *) x));
32638 }
32639 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32640 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32641 }
32642 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32643 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32644 }
32645 static void *_p_wxImageTo_p_wxObject(void *x) {
32646 return (void *)((wxObject *) ((wxImage *) x));
32647 }
32648 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32649 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32650 }
32651 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
32652 return (void *)((wxObject *) ((wxSystemOptions *) x));
32653 }
32654 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
32655 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
32656 }
32657 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32659 }
32660 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32661 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32662 }
32663 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32664 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32665 }
32666 static void *_p_wxWindowTo_p_wxObject(void *x) {
32667 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32668 }
32669 static void *_p_wxMenuTo_p_wxObject(void *x) {
32670 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32671 }
32672 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32674 }
32675 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
32676 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
32677 }
32678 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32679 return (void *)((wxObject *) ((wxFileSystem *) x));
32680 }
32681 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32682 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32683 }
32684 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32685 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32686 }
32687 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32688 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32689 }
32690 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32691 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32692 }
32693 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32694 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32695 }
32696 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32697 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32698 }
32699 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
32700 return (void *)((wxObject *) ((wxBusyInfo *) x));
32701 }
32702 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32703 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32704 }
32705 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32706 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32707 }
32708 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32709 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32710 }
32711 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32712 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32713 }
32714 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32715 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32716 }
32717 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
32718 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
32719 }
32720 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32722 }
32723 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32724 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32725 }
32726 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32727 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32728 }
32729 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
32730 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
32731 }
32732 static void *_p_wxLogStderrTo_p_wxLog(void *x) {
32733 return (void *)((wxLog *) ((wxLogStderr *) x));
32734 }
32735 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x) {
32736 return (void *)((wxLog *) ((wxLogTextCtrl *) x));
32737 }
32738 static void *_p_wxLogWindowTo_p_wxLog(void *x) {
32739 return (void *)((wxLog *) ((wxLogWindow *) x));
32740 }
32741 static void *_p_wxLogChainTo_p_wxLog(void *x) {
32742 return (void *)((wxLog *) ((wxLogChain *) x));
32743 }
32744 static void *_p_wxLogGuiTo_p_wxLog(void *x) {
32745 return (void *)((wxLog *) ((wxLogGui *) x));
32746 }
32747 static void *_p_wxPyLogTo_p_wxLog(void *x) {
32748 return (void *)((wxLog *) ((wxPyLog *) x));
32749 }
32750 static void *_p_wxControlTo_p_wxWindow(void *x) {
32751 return (void *)((wxWindow *) ((wxControl *) x));
32752 }
32753 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32754 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32755 }
32756 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32757 return (void *)((wxWindow *) ((wxMenuBar *) x));
32758 }
32759 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x) {
32760 return (void *)((wxPyDropTarget *) ((wxPyTextDropTarget *) x));
32761 }
32762 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x) {
32763 return (void *)((wxPyDropTarget *) ((wxPyFileDropTarget *) x));
32764 }
32765 static swig_type_info _swigt__p_wxLogChain[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0, 0, 0, 0},{"_p_wxLogChain", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32766 static swig_type_info _swigt__p_wxMutexGuiLocker[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0, 0, 0, 0},{"_p_wxMutexGuiLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32767 static swig_type_info _swigt__p_wxMetafile[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32768 static swig_type_info _swigt__p_wxFileHistory[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0, 0, 0, 0},{"_p_wxFileHistory", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32769 static swig_type_info _swigt__p_wxLog[] = {{"_p_wxLog", 0, "wxLog *", 0, 0, 0, 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog, 0, 0, 0, 0, 0},{"_p_wxLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32770 static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32771 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32772 static swig_type_info _swigt__p_wxDateTime__TimeZone[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0, 0, 0, 0},{"_p_wxDateTime__TimeZone", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32773 static swig_type_info _swigt__p_wxConfigBase[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0, 0, 0, 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{"_p_wxConfigBase", 0, 0, 0, 0, 0, 0},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32774 static swig_type_info _swigt__p_wxDisplay[] = {{"_p_wxDisplay", 0, "wxDisplay *", 0, 0, 0, 0},{"_p_wxDisplay", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32775 static swig_type_info _swigt__p_wxFileType[] = {{"_p_wxFileType", 0, "wxFileType *", 0, 0, 0, 0},{"_p_wxFileType", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32776 static swig_type_info _swigt__p_wxLogGui[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0, 0, 0, 0},{"_p_wxLogGui", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32777 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32778 static swig_type_info _swigt__p_wxDataFormat[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0, 0, 0, 0},{"_p_wxDataFormat", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32779 static swig_type_info _swigt__p_wxTimerEvent[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0, 0, 0, 0},{"_p_wxTimerEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32780 static swig_type_info _swigt__p_wxCaret[] = {{"_p_wxCaret", 0, "wxCaret *", 0, 0, 0, 0},{"_p_wxCaret", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32781 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32782 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32783 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32784 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32785 static swig_type_info _swigt__p_wxClipboard[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0, 0, 0, 0},{"_p_wxClipboard", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32786 static swig_type_info _swigt__p_wxStopWatch[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0, 0, 0, 0},{"_p_wxStopWatch", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32787 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32788 static swig_type_info _swigt__p_wxClipboardLocker[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0, 0, 0, 0},{"_p_wxClipboardLocker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32789 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32790 static swig_type_info _swigt__p_wxLogStderr[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0, 0, 0, 0},{"_p_wxLogStderr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32791 static swig_type_info _swigt__p_wxLogTextCtrl[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0, 0, 0, 0},{"_p_wxLogTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32792 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32793 static swig_type_info _swigt__p_wxBusyCursor[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0, 0, 0, 0},{"_p_wxBusyCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32794 static swig_type_info _swigt__p_wxBitmapDataObject[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0, 0, 0, 0},{"_p_wxBitmapDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32795 static swig_type_info _swigt__p_wxTextDataObject[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0, 0, 0, 0},{"_p_wxTextDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32796 static swig_type_info _swigt__p_wxDataObject[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxDataObject", 0, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32797 static swig_type_info _swigt__p_wxPyTextDataObject[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0, 0, 0, 0},{"_p_wxPyTextDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32798 static swig_type_info _swigt__p_wxPyBitmapDataObject[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32799 static swig_type_info _swigt__p_wxFileDataObject[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0, 0, 0, 0},{"_p_wxFileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32800 static swig_type_info _swigt__p_wxCustomDataObject[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0, 0, 0, 0},{"_p_wxCustomDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32801 static swig_type_info _swigt__p_wxURLDataObject[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0, 0, 0, 0},{"_p_wxURLDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32802 static swig_type_info _swigt__p_wxMetafileDataObject[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0, 0, 0, 0},{"_p_wxMetafileDataObject", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32803 static swig_type_info _swigt__p_wxSound[] = {{"_p_wxSound", 0, "wxSound *", 0, 0, 0, 0},{"_p_wxSound", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32804 static swig_type_info _swigt__p_wxTimerRunner[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0, 0, 0, 0},{"_p_wxTimerRunner", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32805 static swig_type_info _swigt__p_wxLogWindow[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0, 0, 0, 0},{"_p_wxLogWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32806 static swig_type_info _swigt__p_wxTimeSpan[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0, 0, 0, 0},{"_p_wxTimeSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32807 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32808 static swig_type_info _swigt__p_wxWindowDisabler[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0, 0, 0, 0},{"_p_wxWindowDisabler", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32809 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32810 static swig_type_info _swigt__p_wxToolTip[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0, 0, 0, 0},{"_p_wxToolTip", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32811 static swig_type_info _swigt__p_wxDataObjectComposite[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0, 0, 0, 0},{"_p_wxDataObjectComposite", 0, 0, 0, 0, 0, 0},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32812 static swig_type_info _swigt__p_wxSystemSettings[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0, 0, 0, 0},{"_p_wxSystemSettings", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32813 static swig_type_info _swigt__p_wxFileConfig[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0, 0, 0, 0},{"_p_wxFileConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32814 static swig_type_info _swigt__p_wxVideoMode[] = {{"_p_wxVideoMode", 0, "wxVideoMode *", 0, 0, 0, 0},{"_p_wxVideoMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32815 static swig_type_info _swigt__p_wxDataObjectSimple[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0, 0, 0, 0},{"_p_wxDataObjectSimple", 0, 0, 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32816 static swig_type_info _swigt__p_wxPyDataObjectSimple[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0, 0, 0, 0},{"_p_wxPyDataObjectSimple", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32817 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32818 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32819 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32820 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32821 static swig_type_info _swigt__p_wxSingleInstanceChecker[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0, 0, 0, 0},{"_p_wxSingleInstanceChecker", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32822 static swig_type_info _swigt__p_wxStandardPaths[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32823 static swig_type_info _swigt__p_wxFileTypeInfo[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0, 0, 0, 0},{"_p_wxFileTypeInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32824 static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32825 static swig_type_info _swigt__p_wxTimer[] = {{"_p_wxTimer", 0, "wxTimer *", 0, 0, 0, 0},{"_p_wxTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32826 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32827 static swig_type_info _swigt__p_wxMimeTypesManager[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0, 0, 0, 0},{"_p_wxMimeTypesManager", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32828 static swig_type_info _swigt__p_wxPyArtProvider[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0, 0, 0, 0},{"_p_wxPyArtProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32829 static swig_type_info _swigt__p_wxPyTipProvider[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0, 0, 0, 0},{"_p_wxPyTipProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32830 static swig_type_info _swigt__p_wxTipProvider[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0, 0, 0, 0},{"_p_wxTipProvider", 0, 0, 0, 0, 0, 0},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32831 static swig_type_info _swigt__p_wxJoystick[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0, 0, 0, 0},{"_p_wxJoystick", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32832 static swig_type_info _swigt__p_wxSystemOptions[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0, 0, 0, 0},{"_p_wxSystemOptions", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32833 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32834 static swig_type_info _swigt__p_wxJoystickEvent[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0, 0, 0, 0},{"_p_wxJoystickEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32835 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32836 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32837 static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0, 0, 0, 0},{"_p_wxOutputStream", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32838 static swig_type_info _swigt__p_wxDateTime[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0, 0, 0, 0},{"_p_wxDateTime", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32839 static swig_type_info _swigt__p_wxPyDropSource[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0, 0, 0, 0},{"_p_wxPyDropSource", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32840 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32841 static swig_type_info _swigt__p_wxKillError[] = {{"_p_wxKillError", 0, "enum wxKillError *|wxKillError *", 0, 0, 0, 0},{"_p_wxKillError", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32842 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32843 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32844 static swig_type_info _swigt__p_wxPyProcess[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0, 0, 0, 0},{"_p_wxPyProcess", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32845 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32846 static swig_type_info _swigt__p_wxConfig[] = {{"_p_wxConfig", 0, "wxConfig *", 0, 0, 0, 0},{"_p_wxConfig", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32847 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32848 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32849 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32850 static swig_type_info _swigt__p_wxChar[] = {{"_p_wxChar", 0, "wxChar *", 0, 0, 0, 0},{"_p_wxChar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32851 static swig_type_info _swigt__p_wxBusyInfo[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0, 0, 0, 0},{"_p_wxBusyInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32852 static swig_type_info _swigt__p_wxPyDropTarget[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0, 0, 0, 0},{"_p_wxPyDropTarget", 0, 0, 0, 0, 0, 0},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32853 static swig_type_info _swigt__p_wxPyTextDropTarget[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0, 0, 0, 0},{"_p_wxPyTextDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32854 static swig_type_info _swigt__p_wxPyFileDropTarget[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0, 0, 0, 0},{"_p_wxPyFileDropTarget", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32855 static swig_type_info _swigt__p_wxProcessEvent[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0, 0, 0, 0},{"_p_wxProcessEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32856 static swig_type_info _swigt__p_wxPyLog[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0, 0, 0, 0},{"_p_wxPyLog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32857 static swig_type_info _swigt__p_wxLogNull[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0, 0, 0, 0},{"_p_wxLogNull", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32858 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32859 static swig_type_info _swigt__p_wxPyTimer[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0, 0, 0, 0},{"_p_wxPyTimer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32860 static swig_type_info _swigt__p_wxConfigPathChanger[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0, 0, 0, 0},{"_p_wxConfigPathChanger", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32861 static swig_type_info _swigt__p_wxDateSpan[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0, 0, 0, 0},{"_p_wxDateSpan", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32862
32863 static swig_type_info *swig_types_initial[] = {
32864 _swigt__p_wxLogChain,
32865 _swigt__p_wxMutexGuiLocker,
32866 _swigt__p_wxMetafile,
32867 _swigt__p_wxFileHistory,
32868 _swigt__p_wxLog,
32869 _swigt__p_wxMenu,
32870 _swigt__p_wxEvent,
32871 _swigt__p_wxDateTime__TimeZone,
32872 _swigt__p_wxConfigBase,
32873 _swigt__p_wxDisplay,
32874 _swigt__p_wxFileType,
32875 _swigt__p_wxLogGui,
32876 _swigt__p_wxFont,
32877 _swigt__p_wxDataFormat,
32878 _swigt__p_wxTimerEvent,
32879 _swigt__p_wxCaret,
32880 _swigt__ptrdiff_t,
32881 _swigt__std__ptrdiff_t,
32882 _swigt__p_int,
32883 _swigt__p_wxSize,
32884 _swigt__p_wxClipboard,
32885 _swigt__p_wxStopWatch,
32886 _swigt__p_wxDC,
32887 _swigt__p_wxClipboardLocker,
32888 _swigt__p_wxIcon,
32889 _swigt__p_wxLogStderr,
32890 _swigt__p_wxLogTextCtrl,
32891 _swigt__p_wxTextCtrl,
32892 _swigt__p_wxBusyCursor,
32893 _swigt__p_wxBitmapDataObject,
32894 _swigt__p_wxTextDataObject,
32895 _swigt__p_wxDataObject,
32896 _swigt__p_wxPyTextDataObject,
32897 _swigt__p_wxPyBitmapDataObject,
32898 _swigt__p_wxFileDataObject,
32899 _swigt__p_wxCustomDataObject,
32900 _swigt__p_wxURLDataObject,
32901 _swigt__p_wxMetafileDataObject,
32902 _swigt__p_wxSound,
32903 _swigt__p_wxTimerRunner,
32904 _swigt__p_wxLogWindow,
32905 _swigt__p_wxTimeSpan,
32906 _swigt__p_wxArrayString,
32907 _swigt__p_wxWindowDisabler,
32908 _swigt__p_form_ops_t,
32909 _swigt__p_wxToolTip,
32910 _swigt__p_wxDataObjectComposite,
32911 _swigt__p_wxSystemSettings,
32912 _swigt__p_wxFileConfig,
32913 _swigt__p_wxVideoMode,
32914 _swigt__p_wxDataObjectSimple,
32915 _swigt__p_wxPyDataObjectSimple,
32916 _swigt__p_wxDuplexMode,
32917 _swigt__p_wxEvtHandler,
32918 _swigt__p_wxRect,
32919 _swigt__p_char,
32920 _swigt__p_wxSingleInstanceChecker,
32921 _swigt__p_wxStandardPaths,
32922 _swigt__p_wxFileTypeInfo,
32923 _swigt__p_wxFrame,
32924 _swigt__p_wxTimer,
32925 _swigt__p_wxPaperSize,
32926 _swigt__p_wxMimeTypesManager,
32927 _swigt__p_wxPyArtProvider,
32928 _swigt__p_wxPyTipProvider,
32929 _swigt__p_wxTipProvider,
32930 _swigt__p_wxJoystick,
32931 _swigt__p_wxSystemOptions,
32932 _swigt__p_wxPoint,
32933 _swigt__p_wxJoystickEvent,
32934 _swigt__p_wxCursor,
32935 _swigt__p_wxObject,
32936 _swigt__p_wxOutputStream,
32937 _swigt__p_wxDateTime,
32938 _swigt__p_wxPyDropSource,
32939 _swigt__p_unsigned_long,
32940 _swigt__p_wxKillError,
32941 _swigt__p_wxWindow,
32942 _swigt__p_wxString,
32943 _swigt__p_wxPyProcess,
32944 _swigt__p_wxBitmap,
32945 _swigt__p_wxConfig,
32946 _swigt__unsigned_int,
32947 _swigt__p_unsigned_int,
32948 _swigt__p_unsigned_char,
32949 _swigt__p_wxChar,
32950 _swigt__p_wxBusyInfo,
32951 _swigt__p_wxPyDropTarget,
32952 _swigt__p_wxPyTextDropTarget,
32953 _swigt__p_wxPyFileDropTarget,
32954 _swigt__p_wxProcessEvent,
32955 _swigt__p_wxPyLog,
32956 _swigt__p_wxLogNull,
32957 _swigt__p_wxColour,
32958 _swigt__p_wxPyTimer,
32959 _swigt__p_wxConfigPathChanger,
32960 _swigt__p_wxDateSpan,
32961 0
32962 };
32963
32964
32965 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32966
32967 static swig_const_info swig_const_table[] = {
32968 { SWIG_PY_POINTER, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char},
32969 { SWIG_PY_POINTER, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char},
32970 { SWIG_PY_POINTER, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char},
32971 { SWIG_PY_POINTER, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char},
32972 { SWIG_PY_POINTER, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char},
32973 {0, 0, 0, 0.0, 0, 0}};
32974
32975 #ifdef __cplusplus
32976 }
32977 #endif
32978
32979
32980 #ifdef __cplusplus
32981 extern "C" {
32982 #endif
32983
32984 /* Python-specific SWIG API */
32985 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32986 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32987 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32988
32989 /* -----------------------------------------------------------------------------
32990 * global variable support code.
32991 * ----------------------------------------------------------------------------- */
32992
32993 typedef struct swig_globalvar {
32994 char *name; /* Name of global variable */
32995 PyObject *(*get_attr)(); /* Return the current value */
32996 int (*set_attr)(PyObject *); /* Set the value */
32997 struct swig_globalvar *next;
32998 } swig_globalvar;
32999
33000 typedef struct swig_varlinkobject {
33001 PyObject_HEAD
33002 swig_globalvar *vars;
33003 } swig_varlinkobject;
33004
33005 static PyObject *
33006 swig_varlink_repr(swig_varlinkobject *v) {
33007 v = v;
33008 return PyString_FromString("<Swig global variables>");
33009 }
33010
33011 static int
33012 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
33013 swig_globalvar *var;
33014 flags = flags;
33015 fprintf(fp,"Swig global variables { ");
33016 for (var = v->vars; var; var=var->next) {
33017 fprintf(fp,"%s", var->name);
33018 if (var->next) fprintf(fp,", ");
33019 }
33020 fprintf(fp," }\n");
33021 return 0;
33022 }
33023
33024 static PyObject *
33025 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33026 swig_globalvar *var = v->vars;
33027 while (var) {
33028 if (strcmp(var->name,n) == 0) {
33029 return (*var->get_attr)();
33030 }
33031 var = var->next;
33032 }
33033 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33034 return NULL;
33035 }
33036
33037 static int
33038 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33039 swig_globalvar *var = v->vars;
33040 while (var) {
33041 if (strcmp(var->name,n) == 0) {
33042 return (*var->set_attr)(p);
33043 }
33044 var = var->next;
33045 }
33046 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33047 return 1;
33048 }
33049
33050 static PyTypeObject varlinktype = {
33051 PyObject_HEAD_INIT(0)
33052 0, /* Number of items in variable part (ob_size) */
33053 (char *)"swigvarlink", /* Type name (tp_name) */
33054 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33055 0, /* Itemsize (tp_itemsize) */
33056 0, /* Deallocator (tp_dealloc) */
33057 (printfunc) swig_varlink_print, /* Print (tp_print) */
33058 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33059 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33060 0, /* tp_compare */
33061 (reprfunc) swig_varlink_repr, /* tp_repr */
33062 0, /* tp_as_number */
33063 0, /* tp_as_sequence */
33064 0, /* tp_as_mapping */
33065 0, /* tp_hash */
33066 0, /* tp_call */
33067 0, /* tp_str */
33068 0, /* tp_getattro */
33069 0, /* tp_setattro */
33070 0, /* tp_as_buffer */
33071 0, /* tp_flags */
33072 0, /* tp_doc */
33073 #if PY_VERSION_HEX >= 0x02000000
33074 0, /* tp_traverse */
33075 0, /* tp_clear */
33076 #endif
33077 #if PY_VERSION_HEX >= 0x02010000
33078 0, /* tp_richcompare */
33079 0, /* tp_weaklistoffset */
33080 #endif
33081 #if PY_VERSION_HEX >= 0x02020000
33082 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33083 #endif
33084 #if PY_VERSION_HEX >= 0x02030000
33085 0, /* tp_del */
33086 #endif
33087 #ifdef COUNT_ALLOCS
33088 0,0,0,0 /* tp_alloc -> tp_next */
33089 #endif
33090 };
33091
33092 /* Create a variable linking object for use later */
33093 static PyObject *
33094 SWIG_Python_newvarlink(void) {
33095 swig_varlinkobject *result = 0;
33096 result = PyMem_NEW(swig_varlinkobject,1);
33097 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
33098 result->ob_type = &varlinktype;
33099 result->vars = 0;
33100 result->ob_refcnt = 0;
33101 Py_XINCREF((PyObject *) result);
33102 return ((PyObject*) result);
33103 }
33104
33105 static void
33106 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33107 swig_varlinkobject *v;
33108 swig_globalvar *gv;
33109 v= (swig_varlinkobject *) p;
33110 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33111 gv->name = (char *) malloc(strlen(name)+1);
33112 strcpy(gv->name,name);
33113 gv->get_attr = get_attr;
33114 gv->set_attr = set_attr;
33115 gv->next = v->vars;
33116 v->vars = gv;
33117 }
33118
33119 /* -----------------------------------------------------------------------------
33120 * constants/methods manipulation
33121 * ----------------------------------------------------------------------------- */
33122
33123 /* Install Constants */
33124 static void
33125 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33126 PyObject *obj = 0;
33127 size_t i;
33128 for (i = 0; constants[i].type; i++) {
33129 switch(constants[i].type) {
33130 case SWIG_PY_INT:
33131 obj = PyInt_FromLong(constants[i].lvalue);
33132 break;
33133 case SWIG_PY_FLOAT:
33134 obj = PyFloat_FromDouble(constants[i].dvalue);
33135 break;
33136 case SWIG_PY_STRING:
33137 if (constants[i].pvalue) {
33138 obj = PyString_FromString((char *) constants[i].pvalue);
33139 } else {
33140 Py_INCREF(Py_None);
33141 obj = Py_None;
33142 }
33143 break;
33144 case SWIG_PY_POINTER:
33145 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33146 break;
33147 case SWIG_PY_BINARY:
33148 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33149 break;
33150 default:
33151 obj = 0;
33152 break;
33153 }
33154 if (obj) {
33155 PyDict_SetItemString(d,constants[i].name,obj);
33156 Py_DECREF(obj);
33157 }
33158 }
33159 }
33160
33161 /* -----------------------------------------------------------------------------*/
33162 /* Fix SwigMethods to carry the callback ptrs when needed */
33163 /* -----------------------------------------------------------------------------*/
33164
33165 static void
33166 SWIG_Python_FixMethods(PyMethodDef *methods,
33167 swig_const_info *const_table,
33168 swig_type_info **types,
33169 swig_type_info **types_initial) {
33170 size_t i;
33171 for (i = 0; methods[i].ml_name; ++i) {
33172 char *c = methods[i].ml_doc;
33173 if (c && (c = strstr(c, "swig_ptr: "))) {
33174 int j;
33175 swig_const_info *ci = 0;
33176 char *name = c + 10;
33177 for (j = 0; const_table[j].type; j++) {
33178 if (strncmp(const_table[j].name, name,
33179 strlen(const_table[j].name)) == 0) {
33180 ci = &(const_table[j]);
33181 break;
33182 }
33183 }
33184 if (ci) {
33185 size_t shift = (ci->ptype) - types;
33186 swig_type_info *ty = types_initial[shift];
33187 size_t ldoc = (c - methods[i].ml_doc);
33188 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33189 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33190 char *buff = ndoc;
33191 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
33192 strncpy(buff, methods[i].ml_doc, ldoc);
33193 buff += ldoc;
33194 strncpy(buff, "swig_ptr: ", 10);
33195 buff += 10;
33196 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33197 methods[i].ml_doc = ndoc;
33198 }
33199 }
33200 }
33201 }
33202
33203 /* -----------------------------------------------------------------------------*
33204 * Initialize type list
33205 * -----------------------------------------------------------------------------*/
33206
33207 #if PY_MAJOR_VERSION < 2
33208 /* PyModule_AddObject function was introduced in Python 2.0. The following function
33209 is copied out of Python/modsupport.c in python version 2.3.4 */
33210 static int
33211 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
33212 {
33213 PyObject *dict;
33214 if (!PyModule_Check(m)) {
33215 PyErr_SetString(PyExc_TypeError,
33216 "PyModule_AddObject() needs module as first arg");
33217 return -1;
33218 }
33219 if (!o) {
33220 PyErr_SetString(PyExc_TypeError,
33221 "PyModule_AddObject() needs non-NULL value");
33222 return -1;
33223 }
33224
33225 dict = PyModule_GetDict(m);
33226 if (dict == NULL) {
33227 /* Internal error -- modules must have a dict! */
33228 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
33229 PyModule_GetName(m));
33230 return -1;
33231 }
33232 if (PyDict_SetItemString(dict, name, o))
33233 return -1;
33234 Py_DECREF(o);
33235 return 0;
33236 }
33237 #endif
33238
33239 static swig_type_info **
33240 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
33241 static PyMethodDef swig_empty_runtime_method_table[] = {
33242 {
33243 NULL, NULL, 0, NULL
33244 }
33245 };/* Sentinel */
33246
33247 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
33248 swig_empty_runtime_method_table);
33249 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
33250 if (pointer && module) {
33251 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
33252 }
33253 return type_list_handle;
33254 }
33255
33256 static swig_type_info **
33257 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
33258 swig_type_info **type_pointer;
33259
33260 /* first check if module already created */
33261 type_pointer = SWIG_Python_GetTypeListHandle();
33262 if (type_pointer) {
33263 return type_pointer;
33264 } else {
33265 /* create a new module and variable */
33266 return SWIG_Python_SetTypeListHandle(type_list_handle);
33267 }
33268 }
33269
33270 #ifdef __cplusplus
33271 }
33272 #endif
33273
33274 /* -----------------------------------------------------------------------------*
33275 * Partial Init method
33276 * -----------------------------------------------------------------------------*/
33277
33278 #ifdef SWIG_LINK_RUNTIME
33279 #ifdef __cplusplus
33280 extern "C"
33281 #endif
33282 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
33283 #endif
33284
33285 #ifdef __cplusplus
33286 extern "C"
33287 #endif
33288 SWIGEXPORT(void) SWIG_init(void) {
33289 static PyObject *SWIG_globals = 0;
33290 static int typeinit = 0;
33291 PyObject *m, *d;
33292 int i;
33293 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33294
33295 /* Fix SwigMethods to carry the callback ptrs when needed */
33296 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
33297
33298 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33299 d = PyModule_GetDict(m);
33300
33301 if (!typeinit) {
33302 #ifdef SWIG_LINK_RUNTIME
33303 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
33304 #else
33305 # ifndef SWIG_STATIC_RUNTIME
33306 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
33307 # endif
33308 #endif
33309 for (i = 0; swig_types_initial[i]; i++) {
33310 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33311 }
33312 typeinit = 1;
33313 }
33314 SWIG_InstallConstants(d,swig_const_table);
33315
33316 {
33317 PyDict_SetItemString(d,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_OEM_FIXED_FONT)));
33318 }
33319 {
33320 PyDict_SetItemString(d,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)(wxSYS_ANSI_FIXED_FONT)));
33321 }
33322 {
33323 PyDict_SetItemString(d,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)(wxSYS_ANSI_VAR_FONT)));
33324 }
33325 {
33326 PyDict_SetItemString(d,"SYS_SYSTEM_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FONT)));
33327 }
33328 {
33329 PyDict_SetItemString(d,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)(wxSYS_DEVICE_DEFAULT_FONT)));
33330 }
33331 {
33332 PyDict_SetItemString(d,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)(wxSYS_DEFAULT_PALETTE)));
33333 }
33334 {
33335 PyDict_SetItemString(d,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)(wxSYS_SYSTEM_FIXED_FONT)));
33336 }
33337 {
33338 PyDict_SetItemString(d,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)(wxSYS_DEFAULT_GUI_FONT)));
33339 }
33340 {
33341 PyDict_SetItemString(d,"SYS_ICONTITLE_FONT", SWIG_From_int((int)(wxSYS_ICONTITLE_FONT)));
33342 }
33343 {
33344 PyDict_SetItemString(d,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)(wxSYS_COLOUR_SCROLLBAR)));
33345 }
33346 {
33347 PyDict_SetItemString(d,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)(wxSYS_COLOUR_BACKGROUND)));
33348 }
33349 {
33350 PyDict_SetItemString(d,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)(wxSYS_COLOUR_DESKTOP)));
33351 }
33352 {
33353 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVECAPTION)));
33354 }
33355 {
33356 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTION)));
33357 }
33358 {
33359 PyDict_SetItemString(d,"SYS_COLOUR_MENU", SWIG_From_int((int)(wxSYS_COLOUR_MENU)));
33360 }
33361 {
33362 PyDict_SetItemString(d,"SYS_COLOUR_WINDOW", SWIG_From_int((int)(wxSYS_COLOUR_WINDOW)));
33363 }
33364 {
33365 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWFRAME)));
33366 }
33367 {
33368 PyDict_SetItemString(d,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)(wxSYS_COLOUR_MENUTEXT)));
33369 }
33370 {
33371 PyDict_SetItemString(d,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)(wxSYS_COLOUR_WINDOWTEXT)));
33372 }
33373 {
33374 PyDict_SetItemString(d,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_CAPTIONTEXT)));
33375 }
33376 {
33377 PyDict_SetItemString(d,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_ACTIVEBORDER)));
33378 }
33379 {
33380 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVEBORDER)));
33381 }
33382 {
33383 PyDict_SetItemString(d,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)(wxSYS_COLOUR_APPWORKSPACE)));
33384 }
33385 {
33386 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHT)));
33387 }
33388 {
33389 PyDict_SetItemString(d,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)(wxSYS_COLOUR_HIGHLIGHTTEXT)));
33390 }
33391 {
33392 PyDict_SetItemString(d,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)(wxSYS_COLOUR_BTNFACE)));
33393 }
33394 {
33395 PyDict_SetItemString(d,"SYS_COLOUR_3DFACE", SWIG_From_int((int)(wxSYS_COLOUR_3DFACE)));
33396 }
33397 {
33398 PyDict_SetItemString(d,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_BTNSHADOW)));
33399 }
33400 {
33401 PyDict_SetItemString(d,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DSHADOW)));
33402 }
33403 {
33404 PyDict_SetItemString(d,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)(wxSYS_COLOUR_GRAYTEXT)));
33405 }
33406 {
33407 PyDict_SetItemString(d,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)(wxSYS_COLOUR_BTNTEXT)));
33408 }
33409 {
33410 PyDict_SetItemString(d,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INACTIVECAPTIONTEXT)));
33411 }
33412 {
33413 PyDict_SetItemString(d,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHIGHLIGHT)));
33414 }
33415 {
33416 PyDict_SetItemString(d,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_BTNHILIGHT)));
33417 }
33418 {
33419 PyDict_SetItemString(d,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHIGHLIGHT)));
33420 }
33421 {
33422 PyDict_SetItemString(d,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DHILIGHT)));
33423 }
33424 {
33425 PyDict_SetItemString(d,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)(wxSYS_COLOUR_3DDKSHADOW)));
33426 }
33427 {
33428 PyDict_SetItemString(d,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_3DLIGHT)));
33429 }
33430 {
33431 PyDict_SetItemString(d,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)(wxSYS_COLOUR_INFOTEXT)));
33432 }
33433 {
33434 PyDict_SetItemString(d,"SYS_COLOUR_INFOBK", SWIG_From_int((int)(wxSYS_COLOUR_INFOBK)));
33435 }
33436 {
33437 PyDict_SetItemString(d,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)(wxSYS_COLOUR_LISTBOX)));
33438 }
33439 {
33440 PyDict_SetItemString(d,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)(wxSYS_COLOUR_HOTLIGHT)));
33441 }
33442 {
33443 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTACTIVECAPTION)));
33444 }
33445 {
33446 PyDict_SetItemString(d,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)(wxSYS_COLOUR_GRADIENTINACTIVECAPTION)));
33447 }
33448 {
33449 PyDict_SetItemString(d,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)(wxSYS_COLOUR_MENUHILIGHT)));
33450 }
33451 {
33452 PyDict_SetItemString(d,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)(wxSYS_COLOUR_MENUBAR)));
33453 }
33454 {
33455 PyDict_SetItemString(d,"SYS_COLOUR_MAX", SWIG_From_int((int)(wxSYS_COLOUR_MAX)));
33456 }
33457 {
33458 PyDict_SetItemString(d,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)(wxSYS_MOUSE_BUTTONS)));
33459 }
33460 {
33461 PyDict_SetItemString(d,"SYS_BORDER_X", SWIG_From_int((int)(wxSYS_BORDER_X)));
33462 }
33463 {
33464 PyDict_SetItemString(d,"SYS_BORDER_Y", SWIG_From_int((int)(wxSYS_BORDER_Y)));
33465 }
33466 {
33467 PyDict_SetItemString(d,"SYS_CURSOR_X", SWIG_From_int((int)(wxSYS_CURSOR_X)));
33468 }
33469 {
33470 PyDict_SetItemString(d,"SYS_CURSOR_Y", SWIG_From_int((int)(wxSYS_CURSOR_Y)));
33471 }
33472 {
33473 PyDict_SetItemString(d,"SYS_DCLICK_X", SWIG_From_int((int)(wxSYS_DCLICK_X)));
33474 }
33475 {
33476 PyDict_SetItemString(d,"SYS_DCLICK_Y", SWIG_From_int((int)(wxSYS_DCLICK_Y)));
33477 }
33478 {
33479 PyDict_SetItemString(d,"SYS_DRAG_X", SWIG_From_int((int)(wxSYS_DRAG_X)));
33480 }
33481 {
33482 PyDict_SetItemString(d,"SYS_DRAG_Y", SWIG_From_int((int)(wxSYS_DRAG_Y)));
33483 }
33484 {
33485 PyDict_SetItemString(d,"SYS_EDGE_X", SWIG_From_int((int)(wxSYS_EDGE_X)));
33486 }
33487 {
33488 PyDict_SetItemString(d,"SYS_EDGE_Y", SWIG_From_int((int)(wxSYS_EDGE_Y)));
33489 }
33490 {
33491 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_X)));
33492 }
33493 {
33494 PyDict_SetItemString(d,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_HSCROLL_ARROW_Y)));
33495 }
33496 {
33497 PyDict_SetItemString(d,"SYS_HTHUMB_X", SWIG_From_int((int)(wxSYS_HTHUMB_X)));
33498 }
33499 {
33500 PyDict_SetItemString(d,"SYS_ICON_X", SWIG_From_int((int)(wxSYS_ICON_X)));
33501 }
33502 {
33503 PyDict_SetItemString(d,"SYS_ICON_Y", SWIG_From_int((int)(wxSYS_ICON_Y)));
33504 }
33505 {
33506 PyDict_SetItemString(d,"SYS_ICONSPACING_X", SWIG_From_int((int)(wxSYS_ICONSPACING_X)));
33507 }
33508 {
33509 PyDict_SetItemString(d,"SYS_ICONSPACING_Y", SWIG_From_int((int)(wxSYS_ICONSPACING_Y)));
33510 }
33511 {
33512 PyDict_SetItemString(d,"SYS_WINDOWMIN_X", SWIG_From_int((int)(wxSYS_WINDOWMIN_X)));
33513 }
33514 {
33515 PyDict_SetItemString(d,"SYS_WINDOWMIN_Y", SWIG_From_int((int)(wxSYS_WINDOWMIN_Y)));
33516 }
33517 {
33518 PyDict_SetItemString(d,"SYS_SCREEN_X", SWIG_From_int((int)(wxSYS_SCREEN_X)));
33519 }
33520 {
33521 PyDict_SetItemString(d,"SYS_SCREEN_Y", SWIG_From_int((int)(wxSYS_SCREEN_Y)));
33522 }
33523 {
33524 PyDict_SetItemString(d,"SYS_FRAMESIZE_X", SWIG_From_int((int)(wxSYS_FRAMESIZE_X)));
33525 }
33526 {
33527 PyDict_SetItemString(d,"SYS_FRAMESIZE_Y", SWIG_From_int((int)(wxSYS_FRAMESIZE_Y)));
33528 }
33529 {
33530 PyDict_SetItemString(d,"SYS_SMALLICON_X", SWIG_From_int((int)(wxSYS_SMALLICON_X)));
33531 }
33532 {
33533 PyDict_SetItemString(d,"SYS_SMALLICON_Y", SWIG_From_int((int)(wxSYS_SMALLICON_Y)));
33534 }
33535 {
33536 PyDict_SetItemString(d,"SYS_HSCROLL_Y", SWIG_From_int((int)(wxSYS_HSCROLL_Y)));
33537 }
33538 {
33539 PyDict_SetItemString(d,"SYS_VSCROLL_X", SWIG_From_int((int)(wxSYS_VSCROLL_X)));
33540 }
33541 {
33542 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_X)));
33543 }
33544 {
33545 PyDict_SetItemString(d,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)(wxSYS_VSCROLL_ARROW_Y)));
33546 }
33547 {
33548 PyDict_SetItemString(d,"SYS_VTHUMB_Y", SWIG_From_int((int)(wxSYS_VTHUMB_Y)));
33549 }
33550 {
33551 PyDict_SetItemString(d,"SYS_CAPTION_Y", SWIG_From_int((int)(wxSYS_CAPTION_Y)));
33552 }
33553 {
33554 PyDict_SetItemString(d,"SYS_MENU_Y", SWIG_From_int((int)(wxSYS_MENU_Y)));
33555 }
33556 {
33557 PyDict_SetItemString(d,"SYS_NETWORK_PRESENT", SWIG_From_int((int)(wxSYS_NETWORK_PRESENT)));
33558 }
33559 {
33560 PyDict_SetItemString(d,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)(wxSYS_PENWINDOWS_PRESENT)));
33561 }
33562 {
33563 PyDict_SetItemString(d,"SYS_SHOW_SOUNDS", SWIG_From_int((int)(wxSYS_SHOW_SOUNDS)));
33564 }
33565 {
33566 PyDict_SetItemString(d,"SYS_SWAP_BUTTONS", SWIG_From_int((int)(wxSYS_SWAP_BUTTONS)));
33567 }
33568 {
33569 PyDict_SetItemString(d,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)(wxSYS_CAN_DRAW_FRAME_DECORATIONS)));
33570 }
33571 {
33572 PyDict_SetItemString(d,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)(wxSYS_CAN_ICONIZE_FRAME)));
33573 }
33574 {
33575 PyDict_SetItemString(d,"SYS_SCREEN_NONE", SWIG_From_int((int)(wxSYS_SCREEN_NONE)));
33576 }
33577 {
33578 PyDict_SetItemString(d,"SYS_SCREEN_TINY", SWIG_From_int((int)(wxSYS_SCREEN_TINY)));
33579 }
33580 {
33581 PyDict_SetItemString(d,"SYS_SCREEN_PDA", SWIG_From_int((int)(wxSYS_SCREEN_PDA)));
33582 }
33583 {
33584 PyDict_SetItemString(d,"SYS_SCREEN_SMALL", SWIG_From_int((int)(wxSYS_SCREEN_SMALL)));
33585 }
33586 {
33587 PyDict_SetItemString(d,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)(wxSYS_SCREEN_DESKTOP)));
33588 }
33589 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33590 SWIG_addvarlink(SWIG_globals,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get, _wrap_WINDOW_DEFAULT_VARIANT_set);
33591 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
33592 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
33593 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
33594 {
33595 PyDict_SetItemString(d,"SHUTDOWN_POWEROFF", SWIG_From_int((int)(wxSHUTDOWN_POWEROFF)));
33596 }
33597 {
33598 PyDict_SetItemString(d,"SHUTDOWN_REBOOT", SWIG_From_int((int)(wxSHUTDOWN_REBOOT)));
33599 }
33600 {
33601 PyDict_SetItemString(d,"TIMER_CONTINUOUS", SWIG_From_int((int)(wxTIMER_CONTINUOUS)));
33602 }
33603 {
33604 PyDict_SetItemString(d,"TIMER_ONE_SHOT", SWIG_From_int((int)(wxTIMER_ONE_SHOT)));
33605 }
33606 PyDict_SetItemString(d, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER));
33607
33608 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
33609
33610 {
33611 PyDict_SetItemString(d,"LOG_FatalError", SWIG_From_int((int)(wxLOG_FatalError)));
33612 }
33613 {
33614 PyDict_SetItemString(d,"LOG_Error", SWIG_From_int((int)(wxLOG_Error)));
33615 }
33616 {
33617 PyDict_SetItemString(d,"LOG_Warning", SWIG_From_int((int)(wxLOG_Warning)));
33618 }
33619 {
33620 PyDict_SetItemString(d,"LOG_Message", SWIG_From_int((int)(wxLOG_Message)));
33621 }
33622 {
33623 PyDict_SetItemString(d,"LOG_Status", SWIG_From_int((int)(wxLOG_Status)));
33624 }
33625 {
33626 PyDict_SetItemString(d,"LOG_Info", SWIG_From_int((int)(wxLOG_Info)));
33627 }
33628 {
33629 PyDict_SetItemString(d,"LOG_Debug", SWIG_From_int((int)(wxLOG_Debug)));
33630 }
33631 {
33632 PyDict_SetItemString(d,"LOG_Trace", SWIG_From_int((int)(wxLOG_Trace)));
33633 }
33634 {
33635 PyDict_SetItemString(d,"LOG_Progress", SWIG_From_int((int)(wxLOG_Progress)));
33636 }
33637 {
33638 PyDict_SetItemString(d,"LOG_User", SWIG_From_int((int)(wxLOG_User)));
33639 }
33640 {
33641 PyDict_SetItemString(d,"LOG_Max", SWIG_From_int((int)(wxLOG_Max)));
33642 }
33643 PyDict_SetItemString(d,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
33644 PyDict_SetItemString(d,"TRACE_Messages", SWIG_FromCharPtr("messages"));
33645 PyDict_SetItemString(d,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
33646 PyDict_SetItemString(d,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
33647 PyDict_SetItemString(d,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
33648 {
33649 PyDict_SetItemString(d,"TraceMemAlloc", SWIG_From_int((int)(0x0001)));
33650 }
33651 {
33652 PyDict_SetItemString(d,"TraceMessages", SWIG_From_int((int)(0x0002)));
33653 }
33654 {
33655 PyDict_SetItemString(d,"TraceResAlloc", SWIG_From_int((int)(0x0004)));
33656 }
33657 {
33658 PyDict_SetItemString(d,"TraceRefCount", SWIG_From_int((int)(0x0008)));
33659 }
33660 {
33661 PyDict_SetItemString(d,"TraceOleCalls", SWIG_From_int((int)(0x0100)));
33662 }
33663 {
33664 PyDict_SetItemString(d,"PROCESS_DEFAULT", SWIG_From_int((int)(wxPROCESS_DEFAULT)));
33665 }
33666 {
33667 PyDict_SetItemString(d,"PROCESS_REDIRECT", SWIG_From_int((int)(wxPROCESS_REDIRECT)));
33668 }
33669 {
33670 PyDict_SetItemString(d,"KILL_OK", SWIG_From_int((int)(wxKILL_OK)));
33671 }
33672 {
33673 PyDict_SetItemString(d,"KILL_BAD_SIGNAL", SWIG_From_int((int)(wxKILL_BAD_SIGNAL)));
33674 }
33675 {
33676 PyDict_SetItemString(d,"KILL_ACCESS_DENIED", SWIG_From_int((int)(wxKILL_ACCESS_DENIED)));
33677 }
33678 {
33679 PyDict_SetItemString(d,"KILL_NO_PROCESS", SWIG_From_int((int)(wxKILL_NO_PROCESS)));
33680 }
33681 {
33682 PyDict_SetItemString(d,"KILL_ERROR", SWIG_From_int((int)(wxKILL_ERROR)));
33683 }
33684 {
33685 PyDict_SetItemString(d,"KILL_NOCHILDREN", SWIG_From_int((int)(wxKILL_NOCHILDREN)));
33686 }
33687 {
33688 PyDict_SetItemString(d,"KILL_CHILDREN", SWIG_From_int((int)(wxKILL_CHILDREN)));
33689 }
33690 {
33691 PyDict_SetItemString(d,"SIGNONE", SWIG_From_int((int)(wxSIGNONE)));
33692 }
33693 {
33694 PyDict_SetItemString(d,"SIGHUP", SWIG_From_int((int)(wxSIGHUP)));
33695 }
33696 {
33697 PyDict_SetItemString(d,"SIGINT", SWIG_From_int((int)(wxSIGINT)));
33698 }
33699 {
33700 PyDict_SetItemString(d,"SIGQUIT", SWIG_From_int((int)(wxSIGQUIT)));
33701 }
33702 {
33703 PyDict_SetItemString(d,"SIGILL", SWIG_From_int((int)(wxSIGILL)));
33704 }
33705 {
33706 PyDict_SetItemString(d,"SIGTRAP", SWIG_From_int((int)(wxSIGTRAP)));
33707 }
33708 {
33709 PyDict_SetItemString(d,"SIGABRT", SWIG_From_int((int)(wxSIGABRT)));
33710 }
33711 {
33712 PyDict_SetItemString(d,"SIGIOT", SWIG_From_int((int)(wxSIGIOT)));
33713 }
33714 {
33715 PyDict_SetItemString(d,"SIGEMT", SWIG_From_int((int)(wxSIGEMT)));
33716 }
33717 {
33718 PyDict_SetItemString(d,"SIGFPE", SWIG_From_int((int)(wxSIGFPE)));
33719 }
33720 {
33721 PyDict_SetItemString(d,"SIGKILL", SWIG_From_int((int)(wxSIGKILL)));
33722 }
33723 {
33724 PyDict_SetItemString(d,"SIGBUS", SWIG_From_int((int)(wxSIGBUS)));
33725 }
33726 {
33727 PyDict_SetItemString(d,"SIGSEGV", SWIG_From_int((int)(wxSIGSEGV)));
33728 }
33729 {
33730 PyDict_SetItemString(d,"SIGSYS", SWIG_From_int((int)(wxSIGSYS)));
33731 }
33732 {
33733 PyDict_SetItemString(d,"SIGPIPE", SWIG_From_int((int)(wxSIGPIPE)));
33734 }
33735 {
33736 PyDict_SetItemString(d,"SIGALRM", SWIG_From_int((int)(wxSIGALRM)));
33737 }
33738 {
33739 PyDict_SetItemString(d,"SIGTERM", SWIG_From_int((int)(wxSIGTERM)));
33740 }
33741 PyDict_SetItemString(d, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS));
33742 {
33743 PyDict_SetItemString(d,"EXEC_ASYNC", SWIG_From_int((int)(wxEXEC_ASYNC)));
33744 }
33745 {
33746 PyDict_SetItemString(d,"EXEC_SYNC", SWIG_From_int((int)(wxEXEC_SYNC)));
33747 }
33748 {
33749 PyDict_SetItemString(d,"EXEC_NOHIDE", SWIG_From_int((int)(wxEXEC_NOHIDE)));
33750 }
33751 {
33752 PyDict_SetItemString(d,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)(wxEXEC_MAKE_GROUP_LEADER)));
33753 }
33754 {
33755 PyDict_SetItemString(d,"EXEC_NODISABLE", SWIG_From_int((int)(wxEXEC_NODISABLE)));
33756 }
33757
33758 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
33759
33760 {
33761 PyDict_SetItemString(d,"JOYSTICK1", SWIG_From_int((int)(wxJOYSTICK1)));
33762 }
33763 {
33764 PyDict_SetItemString(d,"JOYSTICK2", SWIG_From_int((int)(wxJOYSTICK2)));
33765 }
33766 {
33767 PyDict_SetItemString(d,"JOY_BUTTON_ANY", SWIG_From_int((int)(wxJOY_BUTTON_ANY)));
33768 }
33769 {
33770 PyDict_SetItemString(d,"JOY_BUTTON1", SWIG_From_int((int)(wxJOY_BUTTON1)));
33771 }
33772 {
33773 PyDict_SetItemString(d,"JOY_BUTTON2", SWIG_From_int((int)(wxJOY_BUTTON2)));
33774 }
33775 {
33776 PyDict_SetItemString(d,"JOY_BUTTON3", SWIG_From_int((int)(wxJOY_BUTTON3)));
33777 }
33778 {
33779 PyDict_SetItemString(d,"JOY_BUTTON4", SWIG_From_int((int)(wxJOY_BUTTON4)));
33780 }
33781 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN));
33782 PyDict_SetItemString(d, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP));
33783 PyDict_SetItemString(d, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE));
33784 PyDict_SetItemString(d, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE));
33785 {
33786 PyDict_SetItemString(d,"SOUND_SYNC", SWIG_From_int((int)(wxSOUND_SYNC)));
33787 }
33788 {
33789 PyDict_SetItemString(d,"SOUND_ASYNC", SWIG_From_int((int)(wxSOUND_ASYNC)));
33790 }
33791 {
33792 PyDict_SetItemString(d,"SOUND_LOOP", SWIG_From_int((int)(wxSOUND_LOOP)));
33793 }
33794 {
33795 PyDict_SetItemString(d,"MAILCAP_STANDARD", SWIG_From_int((int)(wxMAILCAP_STANDARD)));
33796 }
33797 {
33798 PyDict_SetItemString(d,"MAILCAP_NETSCAPE", SWIG_From_int((int)(wxMAILCAP_NETSCAPE)));
33799 }
33800 {
33801 PyDict_SetItemString(d,"MAILCAP_KDE", SWIG_From_int((int)(wxMAILCAP_KDE)));
33802 }
33803 {
33804 PyDict_SetItemString(d,"MAILCAP_GNOME", SWIG_From_int((int)(wxMAILCAP_GNOME)));
33805 }
33806 {
33807 PyDict_SetItemString(d,"MAILCAP_ALL", SWIG_From_int((int)(wxMAILCAP_ALL)));
33808 }
33809 SWIG_addvarlink(SWIG_globals,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get, _wrap_TheMimeTypesManager_set);
33810 SWIG_addvarlink(SWIG_globals,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get, _wrap_ART_TOOLBAR_set);
33811 SWIG_addvarlink(SWIG_globals,(char*)"ART_MENU",_wrap_ART_MENU_get, _wrap_ART_MENU_set);
33812 SWIG_addvarlink(SWIG_globals,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get, _wrap_ART_FRAME_ICON_set);
33813 SWIG_addvarlink(SWIG_globals,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get, _wrap_ART_CMN_DIALOG_set);
33814 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get, _wrap_ART_HELP_BROWSER_set);
33815 SWIG_addvarlink(SWIG_globals,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get, _wrap_ART_MESSAGE_BOX_set);
33816 SWIG_addvarlink(SWIG_globals,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get, _wrap_ART_BUTTON_set);
33817 SWIG_addvarlink(SWIG_globals,(char*)"ART_OTHER",_wrap_ART_OTHER_get, _wrap_ART_OTHER_set);
33818 SWIG_addvarlink(SWIG_globals,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get, _wrap_ART_ADD_BOOKMARK_set);
33819 SWIG_addvarlink(SWIG_globals,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get, _wrap_ART_DEL_BOOKMARK_set);
33820 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get, _wrap_ART_HELP_SIDE_PANEL_set);
33821 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get, _wrap_ART_HELP_SETTINGS_set);
33822 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get, _wrap_ART_HELP_BOOK_set);
33823 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get, _wrap_ART_HELP_FOLDER_set);
33824 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get, _wrap_ART_HELP_PAGE_set);
33825 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get, _wrap_ART_GO_BACK_set);
33826 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get, _wrap_ART_GO_FORWARD_set);
33827 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get, _wrap_ART_GO_UP_set);
33828 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get, _wrap_ART_GO_DOWN_set);
33829 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get, _wrap_ART_GO_TO_PARENT_set);
33830 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get, _wrap_ART_GO_HOME_set);
33831 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get, _wrap_ART_FILE_OPEN_set);
33832 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE",_wrap_ART_FILE_SAVE_get, _wrap_ART_FILE_SAVE_set);
33833 SWIG_addvarlink(SWIG_globals,(char*)"ART_FILE_SAVE_AS",_wrap_ART_FILE_SAVE_AS_get, _wrap_ART_FILE_SAVE_AS_set);
33834 SWIG_addvarlink(SWIG_globals,(char*)"ART_PRINT",_wrap_ART_PRINT_get, _wrap_ART_PRINT_set);
33835 SWIG_addvarlink(SWIG_globals,(char*)"ART_HELP",_wrap_ART_HELP_get, _wrap_ART_HELP_set);
33836 SWIG_addvarlink(SWIG_globals,(char*)"ART_TIP",_wrap_ART_TIP_get, _wrap_ART_TIP_set);
33837 SWIG_addvarlink(SWIG_globals,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get, _wrap_ART_REPORT_VIEW_set);
33838 SWIG_addvarlink(SWIG_globals,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get, _wrap_ART_LIST_VIEW_set);
33839 SWIG_addvarlink(SWIG_globals,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get, _wrap_ART_NEW_DIR_set);
33840 SWIG_addvarlink(SWIG_globals,(char*)"ART_HARDDISK",_wrap_ART_HARDDISK_get, _wrap_ART_HARDDISK_set);
33841 SWIG_addvarlink(SWIG_globals,(char*)"ART_FLOPPY",_wrap_ART_FLOPPY_get, _wrap_ART_FLOPPY_set);
33842 SWIG_addvarlink(SWIG_globals,(char*)"ART_CDROM",_wrap_ART_CDROM_get, _wrap_ART_CDROM_set);
33843 SWIG_addvarlink(SWIG_globals,(char*)"ART_REMOVABLE",_wrap_ART_REMOVABLE_get, _wrap_ART_REMOVABLE_set);
33844 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get, _wrap_ART_FOLDER_set);
33845 SWIG_addvarlink(SWIG_globals,(char*)"ART_FOLDER_OPEN",_wrap_ART_FOLDER_OPEN_get, _wrap_ART_FOLDER_OPEN_set);
33846 SWIG_addvarlink(SWIG_globals,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get, _wrap_ART_GO_DIR_UP_set);
33847 SWIG_addvarlink(SWIG_globals,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get, _wrap_ART_EXECUTABLE_FILE_set);
33848 SWIG_addvarlink(SWIG_globals,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get, _wrap_ART_NORMAL_FILE_set);
33849 SWIG_addvarlink(SWIG_globals,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get, _wrap_ART_TICK_MARK_set);
33850 SWIG_addvarlink(SWIG_globals,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get, _wrap_ART_CROSS_MARK_set);
33851 SWIG_addvarlink(SWIG_globals,(char*)"ART_ERROR",_wrap_ART_ERROR_get, _wrap_ART_ERROR_set);
33852 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get, _wrap_ART_QUESTION_set);
33853 SWIG_addvarlink(SWIG_globals,(char*)"ART_WARNING",_wrap_ART_WARNING_get, _wrap_ART_WARNING_set);
33854 SWIG_addvarlink(SWIG_globals,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get, _wrap_ART_INFORMATION_set);
33855 SWIG_addvarlink(SWIG_globals,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get, _wrap_ART_MISSING_IMAGE_set);
33856 SWIG_addvarlink(SWIG_globals,(char*)"ART_COPY",_wrap_ART_COPY_get, _wrap_ART_COPY_set);
33857 SWIG_addvarlink(SWIG_globals,(char*)"ART_CUT",_wrap_ART_CUT_get, _wrap_ART_CUT_set);
33858 SWIG_addvarlink(SWIG_globals,(char*)"ART_PASTE",_wrap_ART_PASTE_get, _wrap_ART_PASTE_set);
33859 SWIG_addvarlink(SWIG_globals,(char*)"ART_DELETE",_wrap_ART_DELETE_get, _wrap_ART_DELETE_set);
33860 SWIG_addvarlink(SWIG_globals,(char*)"ART_UNDO",_wrap_ART_UNDO_get, _wrap_ART_UNDO_set);
33861 SWIG_addvarlink(SWIG_globals,(char*)"ART_REDO",_wrap_ART_REDO_get, _wrap_ART_REDO_set);
33862 SWIG_addvarlink(SWIG_globals,(char*)"ART_QUIT",_wrap_ART_QUIT_get, _wrap_ART_QUIT_set);
33863 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND",_wrap_ART_FIND_get, _wrap_ART_FIND_set);
33864 SWIG_addvarlink(SWIG_globals,(char*)"ART_FIND_AND_REPLACE",_wrap_ART_FIND_AND_REPLACE_get, _wrap_ART_FIND_AND_REPLACE_set);
33865
33866 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
33867
33868 {
33869 PyDict_SetItemString(d,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_LOCAL_FILE)));
33870 }
33871 {
33872 PyDict_SetItemString(d,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)(wxCONFIG_USE_GLOBAL_FILE)));
33873 }
33874 {
33875 PyDict_SetItemString(d,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)(wxCONFIG_USE_RELATIVE_PATH)));
33876 }
33877 {
33878 PyDict_SetItemString(d,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)(wxCONFIG_USE_NO_ESCAPE_CHARACTERS)));
33879 }
33880 {
33881 PyDict_SetItemString(d,"ConfigBase_Type_Unknown", SWIG_From_int((int)(wxConfigBase::Type_Unknown)));
33882 }
33883 {
33884 PyDict_SetItemString(d,"ConfigBase_Type_String", SWIG_From_int((int)(wxConfigBase::Type_String)));
33885 }
33886 {
33887 PyDict_SetItemString(d,"ConfigBase_Type_Boolean", SWIG_From_int((int)(wxConfigBase::Type_Boolean)));
33888 }
33889 {
33890 PyDict_SetItemString(d,"ConfigBase_Type_Integer", SWIG_From_int((int)(wxConfigBase::Type_Integer)));
33891 }
33892 {
33893 PyDict_SetItemString(d,"ConfigBase_Type_Float", SWIG_From_int((int)(wxConfigBase::Type_Float)));
33894 }
33895 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTimeFormat",_wrap_DefaultDateTimeFormat_get, _wrap_DefaultDateTimeFormat_set);
33896 SWIG_addvarlink(SWIG_globals,(char*)"DefaultTimeSpanFormat",_wrap_DefaultTimeSpanFormat_get, _wrap_DefaultTimeSpanFormat_set);
33897 {
33898 PyDict_SetItemString(d,"DateTime_Local", SWIG_From_int((int)(wxDateTime::Local)));
33899 }
33900 {
33901 PyDict_SetItemString(d,"DateTime_GMT_12", SWIG_From_int((int)(wxDateTime::GMT_12)));
33902 }
33903 {
33904 PyDict_SetItemString(d,"DateTime_GMT_11", SWIG_From_int((int)(wxDateTime::GMT_11)));
33905 }
33906 {
33907 PyDict_SetItemString(d,"DateTime_GMT_10", SWIG_From_int((int)(wxDateTime::GMT_10)));
33908 }
33909 {
33910 PyDict_SetItemString(d,"DateTime_GMT_9", SWIG_From_int((int)(wxDateTime::GMT_9)));
33911 }
33912 {
33913 PyDict_SetItemString(d,"DateTime_GMT_8", SWIG_From_int((int)(wxDateTime::GMT_8)));
33914 }
33915 {
33916 PyDict_SetItemString(d,"DateTime_GMT_7", SWIG_From_int((int)(wxDateTime::GMT_7)));
33917 }
33918 {
33919 PyDict_SetItemString(d,"DateTime_GMT_6", SWIG_From_int((int)(wxDateTime::GMT_6)));
33920 }
33921 {
33922 PyDict_SetItemString(d,"DateTime_GMT_5", SWIG_From_int((int)(wxDateTime::GMT_5)));
33923 }
33924 {
33925 PyDict_SetItemString(d,"DateTime_GMT_4", SWIG_From_int((int)(wxDateTime::GMT_4)));
33926 }
33927 {
33928 PyDict_SetItemString(d,"DateTime_GMT_3", SWIG_From_int((int)(wxDateTime::GMT_3)));
33929 }
33930 {
33931 PyDict_SetItemString(d,"DateTime_GMT_2", SWIG_From_int((int)(wxDateTime::GMT_2)));
33932 }
33933 {
33934 PyDict_SetItemString(d,"DateTime_GMT_1", SWIG_From_int((int)(wxDateTime::GMT_1)));
33935 }
33936 {
33937 PyDict_SetItemString(d,"DateTime_GMT0", SWIG_From_int((int)(wxDateTime::GMT0)));
33938 }
33939 {
33940 PyDict_SetItemString(d,"DateTime_GMT1", SWIG_From_int((int)(wxDateTime::GMT1)));
33941 }
33942 {
33943 PyDict_SetItemString(d,"DateTime_GMT2", SWIG_From_int((int)(wxDateTime::GMT2)));
33944 }
33945 {
33946 PyDict_SetItemString(d,"DateTime_GMT3", SWIG_From_int((int)(wxDateTime::GMT3)));
33947 }
33948 {
33949 PyDict_SetItemString(d,"DateTime_GMT4", SWIG_From_int((int)(wxDateTime::GMT4)));
33950 }
33951 {
33952 PyDict_SetItemString(d,"DateTime_GMT5", SWIG_From_int((int)(wxDateTime::GMT5)));
33953 }
33954 {
33955 PyDict_SetItemString(d,"DateTime_GMT6", SWIG_From_int((int)(wxDateTime::GMT6)));
33956 }
33957 {
33958 PyDict_SetItemString(d,"DateTime_GMT7", SWIG_From_int((int)(wxDateTime::GMT7)));
33959 }
33960 {
33961 PyDict_SetItemString(d,"DateTime_GMT8", SWIG_From_int((int)(wxDateTime::GMT8)));
33962 }
33963 {
33964 PyDict_SetItemString(d,"DateTime_GMT9", SWIG_From_int((int)(wxDateTime::GMT9)));
33965 }
33966 {
33967 PyDict_SetItemString(d,"DateTime_GMT10", SWIG_From_int((int)(wxDateTime::GMT10)));
33968 }
33969 {
33970 PyDict_SetItemString(d,"DateTime_GMT11", SWIG_From_int((int)(wxDateTime::GMT11)));
33971 }
33972 {
33973 PyDict_SetItemString(d,"DateTime_GMT12", SWIG_From_int((int)(wxDateTime::GMT12)));
33974 }
33975 {
33976 PyDict_SetItemString(d,"DateTime_WET", SWIG_From_int((int)(wxDateTime::WET)));
33977 }
33978 {
33979 PyDict_SetItemString(d,"DateTime_WEST", SWIG_From_int((int)(wxDateTime::WEST)));
33980 }
33981 {
33982 PyDict_SetItemString(d,"DateTime_CET", SWIG_From_int((int)(wxDateTime::CET)));
33983 }
33984 {
33985 PyDict_SetItemString(d,"DateTime_CEST", SWIG_From_int((int)(wxDateTime::CEST)));
33986 }
33987 {
33988 PyDict_SetItemString(d,"DateTime_EET", SWIG_From_int((int)(wxDateTime::EET)));
33989 }
33990 {
33991 PyDict_SetItemString(d,"DateTime_EEST", SWIG_From_int((int)(wxDateTime::EEST)));
33992 }
33993 {
33994 PyDict_SetItemString(d,"DateTime_MSK", SWIG_From_int((int)(wxDateTime::MSK)));
33995 }
33996 {
33997 PyDict_SetItemString(d,"DateTime_MSD", SWIG_From_int((int)(wxDateTime::MSD)));
33998 }
33999 {
34000 PyDict_SetItemString(d,"DateTime_AST", SWIG_From_int((int)(wxDateTime::AST)));
34001 }
34002 {
34003 PyDict_SetItemString(d,"DateTime_ADT", SWIG_From_int((int)(wxDateTime::ADT)));
34004 }
34005 {
34006 PyDict_SetItemString(d,"DateTime_EST", SWIG_From_int((int)(wxDateTime::EST)));
34007 }
34008 {
34009 PyDict_SetItemString(d,"DateTime_EDT", SWIG_From_int((int)(wxDateTime::EDT)));
34010 }
34011 {
34012 PyDict_SetItemString(d,"DateTime_CST", SWIG_From_int((int)(wxDateTime::CST)));
34013 }
34014 {
34015 PyDict_SetItemString(d,"DateTime_CDT", SWIG_From_int((int)(wxDateTime::CDT)));
34016 }
34017 {
34018 PyDict_SetItemString(d,"DateTime_MST", SWIG_From_int((int)(wxDateTime::MST)));
34019 }
34020 {
34021 PyDict_SetItemString(d,"DateTime_MDT", SWIG_From_int((int)(wxDateTime::MDT)));
34022 }
34023 {
34024 PyDict_SetItemString(d,"DateTime_PST", SWIG_From_int((int)(wxDateTime::PST)));
34025 }
34026 {
34027 PyDict_SetItemString(d,"DateTime_PDT", SWIG_From_int((int)(wxDateTime::PDT)));
34028 }
34029 {
34030 PyDict_SetItemString(d,"DateTime_HST", SWIG_From_int((int)(wxDateTime::HST)));
34031 }
34032 {
34033 PyDict_SetItemString(d,"DateTime_AKST", SWIG_From_int((int)(wxDateTime::AKST)));
34034 }
34035 {
34036 PyDict_SetItemString(d,"DateTime_AKDT", SWIG_From_int((int)(wxDateTime::AKDT)));
34037 }
34038 {
34039 PyDict_SetItemString(d,"DateTime_A_WST", SWIG_From_int((int)(wxDateTime::A_WST)));
34040 }
34041 {
34042 PyDict_SetItemString(d,"DateTime_A_CST", SWIG_From_int((int)(wxDateTime::A_CST)));
34043 }
34044 {
34045 PyDict_SetItemString(d,"DateTime_A_EST", SWIG_From_int((int)(wxDateTime::A_EST)));
34046 }
34047 {
34048 PyDict_SetItemString(d,"DateTime_A_ESST", SWIG_From_int((int)(wxDateTime::A_ESST)));
34049 }
34050 {
34051 PyDict_SetItemString(d,"DateTime_UTC", SWIG_From_int((int)(wxDateTime::UTC)));
34052 }
34053 {
34054 PyDict_SetItemString(d,"DateTime_Gregorian", SWIG_From_int((int)(wxDateTime::Gregorian)));
34055 }
34056 {
34057 PyDict_SetItemString(d,"DateTime_Julian", SWIG_From_int((int)(wxDateTime::Julian)));
34058 }
34059 {
34060 PyDict_SetItemString(d,"DateTime_Gr_Unknown", SWIG_From_int((int)(wxDateTime::Gr_Unknown)));
34061 }
34062 {
34063 PyDict_SetItemString(d,"DateTime_Gr_Standard", SWIG_From_int((int)(wxDateTime::Gr_Standard)));
34064 }
34065 {
34066 PyDict_SetItemString(d,"DateTime_Gr_Alaska", SWIG_From_int((int)(wxDateTime::Gr_Alaska)));
34067 }
34068 {
34069 PyDict_SetItemString(d,"DateTime_Gr_Albania", SWIG_From_int((int)(wxDateTime::Gr_Albania)));
34070 }
34071 {
34072 PyDict_SetItemString(d,"DateTime_Gr_Austria", SWIG_From_int((int)(wxDateTime::Gr_Austria)));
34073 }
34074 {
34075 PyDict_SetItemString(d,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)(wxDateTime::Gr_Austria_Brixen)));
34076 }
34077 {
34078 PyDict_SetItemString(d,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)(wxDateTime::Gr_Austria_Salzburg)));
34079 }
34080 {
34081 PyDict_SetItemString(d,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)(wxDateTime::Gr_Austria_Tyrol)));
34082 }
34083 {
34084 PyDict_SetItemString(d,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)(wxDateTime::Gr_Austria_Carinthia)));
34085 }
34086 {
34087 PyDict_SetItemString(d,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)(wxDateTime::Gr_Austria_Styria)));
34088 }
34089 {
34090 PyDict_SetItemString(d,"DateTime_Gr_Belgium", SWIG_From_int((int)(wxDateTime::Gr_Belgium)));
34091 }
34092 {
34093 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria)));
34094 }
34095 {
34096 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_1)));
34097 }
34098 {
34099 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_2)));
34100 }
34101 {
34102 PyDict_SetItemString(d,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)(wxDateTime::Gr_Bulgaria_3)));
34103 }
34104 {
34105 PyDict_SetItemString(d,"DateTime_Gr_Canada", SWIG_From_int((int)(wxDateTime::Gr_Canada)));
34106 }
34107 {
34108 PyDict_SetItemString(d,"DateTime_Gr_China", SWIG_From_int((int)(wxDateTime::Gr_China)));
34109 }
34110 {
34111 PyDict_SetItemString(d,"DateTime_Gr_China_1", SWIG_From_int((int)(wxDateTime::Gr_China_1)));
34112 }
34113 {
34114 PyDict_SetItemString(d,"DateTime_Gr_China_2", SWIG_From_int((int)(wxDateTime::Gr_China_2)));
34115 }
34116 {
34117 PyDict_SetItemString(d,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)(wxDateTime::Gr_Czechoslovakia)));
34118 }
34119 {
34120 PyDict_SetItemString(d,"DateTime_Gr_Denmark", SWIG_From_int((int)(wxDateTime::Gr_Denmark)));
34121 }
34122 {
34123 PyDict_SetItemString(d,"DateTime_Gr_Egypt", SWIG_From_int((int)(wxDateTime::Gr_Egypt)));
34124 }
34125 {
34126 PyDict_SetItemString(d,"DateTime_Gr_Estonia", SWIG_From_int((int)(wxDateTime::Gr_Estonia)));
34127 }
34128 {
34129 PyDict_SetItemString(d,"DateTime_Gr_Finland", SWIG_From_int((int)(wxDateTime::Gr_Finland)));
34130 }
34131 {
34132 PyDict_SetItemString(d,"DateTime_Gr_France", SWIG_From_int((int)(wxDateTime::Gr_France)));
34133 }
34134 {
34135 PyDict_SetItemString(d,"DateTime_Gr_France_Alsace", SWIG_From_int((int)(wxDateTime::Gr_France_Alsace)));
34136 }
34137 {
34138 PyDict_SetItemString(d,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)(wxDateTime::Gr_France_Lorraine)));
34139 }
34140 {
34141 PyDict_SetItemString(d,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)(wxDateTime::Gr_France_Strasbourg)));
34142 }
34143 {
34144 PyDict_SetItemString(d,"DateTime_Gr_Germany", SWIG_From_int((int)(wxDateTime::Gr_Germany)));
34145 }
34146 {
34147 PyDict_SetItemString(d,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Germany_Catholic)));
34148 }
34149 {
34150 PyDict_SetItemString(d,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)(wxDateTime::Gr_Germany_Prussia)));
34151 }
34152 {
34153 PyDict_SetItemString(d,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Germany_Protestant)));
34154 }
34155 {
34156 PyDict_SetItemString(d,"DateTime_Gr_GreatBritain", SWIG_From_int((int)(wxDateTime::Gr_GreatBritain)));
34157 }
34158 {
34159 PyDict_SetItemString(d,"DateTime_Gr_Greece", SWIG_From_int((int)(wxDateTime::Gr_Greece)));
34160 }
34161 {
34162 PyDict_SetItemString(d,"DateTime_Gr_Hungary", SWIG_From_int((int)(wxDateTime::Gr_Hungary)));
34163 }
34164 {
34165 PyDict_SetItemString(d,"DateTime_Gr_Ireland", SWIG_From_int((int)(wxDateTime::Gr_Ireland)));
34166 }
34167 {
34168 PyDict_SetItemString(d,"DateTime_Gr_Italy", SWIG_From_int((int)(wxDateTime::Gr_Italy)));
34169 }
34170 {
34171 PyDict_SetItemString(d,"DateTime_Gr_Japan", SWIG_From_int((int)(wxDateTime::Gr_Japan)));
34172 }
34173 {
34174 PyDict_SetItemString(d,"DateTime_Gr_Japan_1", SWIG_From_int((int)(wxDateTime::Gr_Japan_1)));
34175 }
34176 {
34177 PyDict_SetItemString(d,"DateTime_Gr_Japan_2", SWIG_From_int((int)(wxDateTime::Gr_Japan_2)));
34178 }
34179 {
34180 PyDict_SetItemString(d,"DateTime_Gr_Japan_3", SWIG_From_int((int)(wxDateTime::Gr_Japan_3)));
34181 }
34182 {
34183 PyDict_SetItemString(d,"DateTime_Gr_Latvia", SWIG_From_int((int)(wxDateTime::Gr_Latvia)));
34184 }
34185 {
34186 PyDict_SetItemString(d,"DateTime_Gr_Lithuania", SWIG_From_int((int)(wxDateTime::Gr_Lithuania)));
34187 }
34188 {
34189 PyDict_SetItemString(d,"DateTime_Gr_Luxemburg", SWIG_From_int((int)(wxDateTime::Gr_Luxemburg)));
34190 }
34191 {
34192 PyDict_SetItemString(d,"DateTime_Gr_Netherlands", SWIG_From_int((int)(wxDateTime::Gr_Netherlands)));
34193 }
34194 {
34195 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Groningen)));
34196 }
34197 {
34198 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Gelderland)));
34199 }
34200 {
34201 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Utrecht)));
34202 }
34203 {
34204 PyDict_SetItemString(d,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)(wxDateTime::Gr_Netherlands_Friesland)));
34205 }
34206 {
34207 PyDict_SetItemString(d,"DateTime_Gr_Norway", SWIG_From_int((int)(wxDateTime::Gr_Norway)));
34208 }
34209 {
34210 PyDict_SetItemString(d,"DateTime_Gr_Poland", SWIG_From_int((int)(wxDateTime::Gr_Poland)));
34211 }
34212 {
34213 PyDict_SetItemString(d,"DateTime_Gr_Portugal", SWIG_From_int((int)(wxDateTime::Gr_Portugal)));
34214 }
34215 {
34216 PyDict_SetItemString(d,"DateTime_Gr_Romania", SWIG_From_int((int)(wxDateTime::Gr_Romania)));
34217 }
34218 {
34219 PyDict_SetItemString(d,"DateTime_Gr_Russia", SWIG_From_int((int)(wxDateTime::Gr_Russia)));
34220 }
34221 {
34222 PyDict_SetItemString(d,"DateTime_Gr_Scotland", SWIG_From_int((int)(wxDateTime::Gr_Scotland)));
34223 }
34224 {
34225 PyDict_SetItemString(d,"DateTime_Gr_Spain", SWIG_From_int((int)(wxDateTime::Gr_Spain)));
34226 }
34227 {
34228 PyDict_SetItemString(d,"DateTime_Gr_Sweden", SWIG_From_int((int)(wxDateTime::Gr_Sweden)));
34229 }
34230 {
34231 PyDict_SetItemString(d,"DateTime_Gr_Switzerland", SWIG_From_int((int)(wxDateTime::Gr_Switzerland)));
34232 }
34233 {
34234 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Catholic)));
34235 }
34236 {
34237 PyDict_SetItemString(d,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)(wxDateTime::Gr_Switzerland_Protestant)));
34238 }
34239 {
34240 PyDict_SetItemString(d,"DateTime_Gr_Turkey", SWIG_From_int((int)(wxDateTime::Gr_Turkey)));
34241 }
34242 {
34243 PyDict_SetItemString(d,"DateTime_Gr_USA", SWIG_From_int((int)(wxDateTime::Gr_USA)));
34244 }
34245 {
34246 PyDict_SetItemString(d,"DateTime_Gr_Wales", SWIG_From_int((int)(wxDateTime::Gr_Wales)));
34247 }
34248 {
34249 PyDict_SetItemString(d,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)(wxDateTime::Gr_Yugoslavia)));
34250 }
34251 {
34252 PyDict_SetItemString(d,"DateTime_Country_Unknown", SWIG_From_int((int)(wxDateTime::Country_Unknown)));
34253 }
34254 {
34255 PyDict_SetItemString(d,"DateTime_Country_Default", SWIG_From_int((int)(wxDateTime::Country_Default)));
34256 }
34257 {
34258 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_Start)));
34259 }
34260 {
34261 PyDict_SetItemString(d,"DateTime_Country_EEC", SWIG_From_int((int)(wxDateTime::Country_EEC)));
34262 }
34263 {
34264 PyDict_SetItemString(d,"DateTime_France", SWIG_From_int((int)(wxDateTime::France)));
34265 }
34266 {
34267 PyDict_SetItemString(d,"DateTime_Germany", SWIG_From_int((int)(wxDateTime::Germany)));
34268 }
34269 {
34270 PyDict_SetItemString(d,"DateTime_UK", SWIG_From_int((int)(wxDateTime::UK)));
34271 }
34272 {
34273 PyDict_SetItemString(d,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)(wxDateTime::Country_WesternEurope_End)));
34274 }
34275 {
34276 PyDict_SetItemString(d,"DateTime_Russia", SWIG_From_int((int)(wxDateTime::Russia)));
34277 }
34278 {
34279 PyDict_SetItemString(d,"DateTime_USA", SWIG_From_int((int)(wxDateTime::USA)));
34280 }
34281 {
34282 PyDict_SetItemString(d,"DateTime_Jan", SWIG_From_int((int)(wxDateTime::Jan)));
34283 }
34284 {
34285 PyDict_SetItemString(d,"DateTime_Feb", SWIG_From_int((int)(wxDateTime::Feb)));
34286 }
34287 {
34288 PyDict_SetItemString(d,"DateTime_Mar", SWIG_From_int((int)(wxDateTime::Mar)));
34289 }
34290 {
34291 PyDict_SetItemString(d,"DateTime_Apr", SWIG_From_int((int)(wxDateTime::Apr)));
34292 }
34293 {
34294 PyDict_SetItemString(d,"DateTime_May", SWIG_From_int((int)(wxDateTime::May)));
34295 }
34296 {
34297 PyDict_SetItemString(d,"DateTime_Jun", SWIG_From_int((int)(wxDateTime::Jun)));
34298 }
34299 {
34300 PyDict_SetItemString(d,"DateTime_Jul", SWIG_From_int((int)(wxDateTime::Jul)));
34301 }
34302 {
34303 PyDict_SetItemString(d,"DateTime_Aug", SWIG_From_int((int)(wxDateTime::Aug)));
34304 }
34305 {
34306 PyDict_SetItemString(d,"DateTime_Sep", SWIG_From_int((int)(wxDateTime::Sep)));
34307 }
34308 {
34309 PyDict_SetItemString(d,"DateTime_Oct", SWIG_From_int((int)(wxDateTime::Oct)));
34310 }
34311 {
34312 PyDict_SetItemString(d,"DateTime_Nov", SWIG_From_int((int)(wxDateTime::Nov)));
34313 }
34314 {
34315 PyDict_SetItemString(d,"DateTime_Dec", SWIG_From_int((int)(wxDateTime::Dec)));
34316 }
34317 {
34318 PyDict_SetItemString(d,"DateTime_Inv_Month", SWIG_From_int((int)(wxDateTime::Inv_Month)));
34319 }
34320 {
34321 PyDict_SetItemString(d,"DateTime_Sun", SWIG_From_int((int)(wxDateTime::Sun)));
34322 }
34323 {
34324 PyDict_SetItemString(d,"DateTime_Mon", SWIG_From_int((int)(wxDateTime::Mon)));
34325 }
34326 {
34327 PyDict_SetItemString(d,"DateTime_Tue", SWIG_From_int((int)(wxDateTime::Tue)));
34328 }
34329 {
34330 PyDict_SetItemString(d,"DateTime_Wed", SWIG_From_int((int)(wxDateTime::Wed)));
34331 }
34332 {
34333 PyDict_SetItemString(d,"DateTime_Thu", SWIG_From_int((int)(wxDateTime::Thu)));
34334 }
34335 {
34336 PyDict_SetItemString(d,"DateTime_Fri", SWIG_From_int((int)(wxDateTime::Fri)));
34337 }
34338 {
34339 PyDict_SetItemString(d,"DateTime_Sat", SWIG_From_int((int)(wxDateTime::Sat)));
34340 }
34341 {
34342 PyDict_SetItemString(d,"DateTime_Inv_WeekDay", SWIG_From_int((int)(wxDateTime::Inv_WeekDay)));
34343 }
34344 {
34345 PyDict_SetItemString(d,"DateTime_Inv_Year", SWIG_From_int((int)(wxDateTime::Inv_Year)));
34346 }
34347 {
34348 PyDict_SetItemString(d,"DateTime_Name_Full", SWIG_From_int((int)(wxDateTime::Name_Full)));
34349 }
34350 {
34351 PyDict_SetItemString(d,"DateTime_Name_Abbr", SWIG_From_int((int)(wxDateTime::Name_Abbr)));
34352 }
34353 {
34354 PyDict_SetItemString(d,"DateTime_Default_First", SWIG_From_int((int)(wxDateTime::Default_First)));
34355 }
34356 {
34357 PyDict_SetItemString(d,"DateTime_Monday_First", SWIG_From_int((int)(wxDateTime::Monday_First)));
34358 }
34359 {
34360 PyDict_SetItemString(d,"DateTime_Sunday_First", SWIG_From_int((int)(wxDateTime::Sunday_First)));
34361 }
34362 SWIG_addvarlink(SWIG_globals,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get, _wrap_DefaultDateTime_set);
34363 {
34364 PyDict_SetItemString(d,"DF_INVALID", SWIG_From_int((int)(wxDF_INVALID)));
34365 }
34366 {
34367 PyDict_SetItemString(d,"DF_TEXT", SWIG_From_int((int)(wxDF_TEXT)));
34368 }
34369 {
34370 PyDict_SetItemString(d,"DF_BITMAP", SWIG_From_int((int)(wxDF_BITMAP)));
34371 }
34372 {
34373 PyDict_SetItemString(d,"DF_METAFILE", SWIG_From_int((int)(wxDF_METAFILE)));
34374 }
34375 {
34376 PyDict_SetItemString(d,"DF_SYLK", SWIG_From_int((int)(wxDF_SYLK)));
34377 }
34378 {
34379 PyDict_SetItemString(d,"DF_DIF", SWIG_From_int((int)(wxDF_DIF)));
34380 }
34381 {
34382 PyDict_SetItemString(d,"DF_TIFF", SWIG_From_int((int)(wxDF_TIFF)));
34383 }
34384 {
34385 PyDict_SetItemString(d,"DF_OEMTEXT", SWIG_From_int((int)(wxDF_OEMTEXT)));
34386 }
34387 {
34388 PyDict_SetItemString(d,"DF_DIB", SWIG_From_int((int)(wxDF_DIB)));
34389 }
34390 {
34391 PyDict_SetItemString(d,"DF_PALETTE", SWIG_From_int((int)(wxDF_PALETTE)));
34392 }
34393 {
34394 PyDict_SetItemString(d,"DF_PENDATA", SWIG_From_int((int)(wxDF_PENDATA)));
34395 }
34396 {
34397 PyDict_SetItemString(d,"DF_RIFF", SWIG_From_int((int)(wxDF_RIFF)));
34398 }
34399 {
34400 PyDict_SetItemString(d,"DF_WAVE", SWIG_From_int((int)(wxDF_WAVE)));
34401 }
34402 {
34403 PyDict_SetItemString(d,"DF_UNICODETEXT", SWIG_From_int((int)(wxDF_UNICODETEXT)));
34404 }
34405 {
34406 PyDict_SetItemString(d,"DF_ENHMETAFILE", SWIG_From_int((int)(wxDF_ENHMETAFILE)));
34407 }
34408 {
34409 PyDict_SetItemString(d,"DF_FILENAME", SWIG_From_int((int)(wxDF_FILENAME)));
34410 }
34411 {
34412 PyDict_SetItemString(d,"DF_LOCALE", SWIG_From_int((int)(wxDF_LOCALE)));
34413 }
34414 {
34415 PyDict_SetItemString(d,"DF_PRIVATE", SWIG_From_int((int)(wxDF_PRIVATE)));
34416 }
34417 {
34418 PyDict_SetItemString(d,"DF_HTML", SWIG_From_int((int)(wxDF_HTML)));
34419 }
34420 {
34421 PyDict_SetItemString(d,"DF_MAX", SWIG_From_int((int)(wxDF_MAX)));
34422 }
34423 SWIG_addvarlink(SWIG_globals,(char*)"FormatInvalid",_wrap_FormatInvalid_get, _wrap_FormatInvalid_set);
34424 {
34425 PyDict_SetItemString(d,"DataObject_Get", SWIG_From_int((int)(wxDataObject::Get)));
34426 }
34427 {
34428 PyDict_SetItemString(d,"DataObject_Set", SWIG_From_int((int)(wxDataObject::Set)));
34429 }
34430 {
34431 PyDict_SetItemString(d,"DataObject_Both", SWIG_From_int((int)(wxDataObject::Both)));
34432 }
34433 {
34434 PyDict_SetItemString(d,"Drag_CopyOnly", SWIG_From_int((int)(wxDrag_CopyOnly)));
34435 }
34436 {
34437 PyDict_SetItemString(d,"Drag_AllowMove", SWIG_From_int((int)(wxDrag_AllowMove)));
34438 }
34439 {
34440 PyDict_SetItemString(d,"Drag_DefaultMove", SWIG_From_int((int)(wxDrag_DefaultMove)));
34441 }
34442 {
34443 PyDict_SetItemString(d,"DragError", SWIG_From_int((int)(wxDragError)));
34444 }
34445 {
34446 PyDict_SetItemString(d,"DragNone", SWIG_From_int((int)(wxDragNone)));
34447 }
34448 {
34449 PyDict_SetItemString(d,"DragCopy", SWIG_From_int((int)(wxDragCopy)));
34450 }
34451 {
34452 PyDict_SetItemString(d,"DragMove", SWIG_From_int((int)(wxDragMove)));
34453 }
34454 {
34455 PyDict_SetItemString(d,"DragLink", SWIG_From_int((int)(wxDragLink)));
34456 }
34457 {
34458 PyDict_SetItemString(d,"DragCancel", SWIG_From_int((int)(wxDragCancel)));
34459 }
34460
34461 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
34462 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
34463 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
34464 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
34465
34466 SWIG_addvarlink(SWIG_globals,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get, _wrap_DefaultVideoMode_set);
34467 }
34468