]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_controls_wrap.cpp
wxCheckListBox doesn't require wxUSE_OWNER_DRAWN when using WXUNIVERSAL
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
d55e5bfc
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
d55e5bfc
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
d55e5bfc 37
d55e5bfc 38
36ed4f51 39#include <Python.h>
d55e5bfc
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
d55e5bfc 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
d55e5bfc
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
d55e5bfc 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
d55e5bfc
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
d55e5bfc 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
85#endif
86
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
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
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
218
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
283
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
d55e5bfc 375
36ed4f51
RD
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
d55e5bfc 417
36ed4f51
RD
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
d55e5bfc
RD
430
431#ifdef __cplusplus
432}
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
d55e5bfc 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
d55e5bfc 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
d55e5bfc
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
d55e5bfc
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
d55e5bfc 465
36ed4f51 466/*************************************************************************/
d55e5bfc 467
d55e5bfc 468
36ed4f51 469/* The static type info list */
d55e5bfc 470
36ed4f51
RD
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
d55e5bfc 474
36ed4f51
RD
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
d55e5bfc 480
36ed4f51
RD
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
d55e5bfc 486
36ed4f51
RD
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
d55e5bfc 492
36ed4f51
RD
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
d55e5bfc
RD
502
503#ifdef __cplusplus
504}
505#endif
506
36ed4f51
RD
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
d55e5bfc 510
36ed4f51
RD
511#ifdef __cplusplus
512extern "C" {
513#endif
c370783e 514
36ed4f51
RD
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
d55e5bfc 518
36ed4f51
RD
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
d55e5bfc 522
36ed4f51
RD
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
d55e5bfc
RD
530
531
36ed4f51
RD
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
d55e5bfc 551
36ed4f51
RD
552/* Constant Types */
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
d55e5bfc 568
c370783e 569
36ed4f51
RD
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
c370783e
RD
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
d55e5bfc
RD
576
577#ifdef __cplusplus
36ed4f51
RD
578}
579#endif
d55e5bfc 580
d55e5bfc 581
36ed4f51
RD
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
d55e5bfc 591
36ed4f51
RD
592/* Common SWIG API */
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
d55e5bfc 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 601
d55e5bfc 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
d55e5bfc 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
d55e5bfc 618
d55e5bfc 619
36ed4f51
RD
620#ifdef __cplusplus
621extern "C" {
622#endif
d55e5bfc 623
36ed4f51
RD
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
d55e5bfc 627
36ed4f51
RD
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
d55e5bfc 631
36ed4f51
RD
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
d55e5bfc 637
36ed4f51
RD
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
d55e5bfc 648{
36ed4f51
RD
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
d55e5bfc 655 }
36ed4f51
RD
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_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;
d55e5bfc
RD
664}
665
36ed4f51
RD
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
d55e5bfc 673
36ed4f51
RD
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
d55e5bfc 676{
36ed4f51
RD
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_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);
d55e5bfc
RD
690}
691
36ed4f51
RD
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
d55e5bfc 699
36ed4f51
RD
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
c370783e 706 } else {
36ed4f51
RD
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
c370783e 710 }
d55e5bfc 711}
36ed4f51
RD
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
c370783e 715{
36ed4f51 716 PyObject_DEL(self);
c370783e 717}
36ed4f51
RD
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
d55e5bfc 789#endif
36ed4f51
RD
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 };
d55e5bfc 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
d55e5bfc 801
36ed4f51
RD
802 return &PySwigObject_Type;
803}
804
805SWIGRUNTIME PyObject *
806PySwigObject_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
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
820
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
826
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
832
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
843
844SWIGRUNTIME int
845PySwigPacked_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
858SWIGRUNTIME PyObject *
859PySwigPacked_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
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_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
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
36ed4f51
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
1210
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1334
1335#ifdef __cplusplus
1336}
1337#endif
1338
1339
1340/* -------- TYPES TABLE (BEGIN) -------- */
1341
1342#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
1343#define SWIGTYPE_p_wxSizer swig_types[1]
1344#define SWIGTYPE_p_wxCheckBox swig_types[2]
1345#define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
1346#define SWIGTYPE_p_wxEvent swig_types[4]
1347#define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
1348#define SWIGTYPE_p_bool swig_types[6]
1349#define SWIGTYPE_p_wxItemContainer swig_types[7]
1350#define SWIGTYPE_p_wxPyListCtrl swig_types[8]
1351#define SWIGTYPE_p_wxPyTreeItemData swig_types[9]
1352#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
1353#define SWIGTYPE_p_wxStaticLine swig_types[11]
1354#define SWIGTYPE_p_wxControl swig_types[12]
1355#define SWIGTYPE_p_wxPyControl swig_types[13]
1356#define SWIGTYPE_p_wxGauge swig_types[14]
1357#define SWIGTYPE_p_wxToolBarBase swig_types[15]
1358#define SWIGTYPE_p_wxFont swig_types[16]
1359#define SWIGTYPE_p_wxToggleButton swig_types[17]
1360#define SWIGTYPE_p_wxRadioButton swig_types[18]
1361#define SWIGTYPE_p_wxChoice swig_types[19]
1362#define SWIGTYPE_p_wxMemoryDC swig_types[20]
1363#define SWIGTYPE_ptrdiff_t swig_types[21]
1364#define SWIGTYPE_std__ptrdiff_t swig_types[22]
1365#define SWIGTYPE_p_wxListItemAttr swig_types[23]
1366#define SWIGTYPE_p_void swig_types[24]
1367#define SWIGTYPE_p_int swig_types[25]
1368#define SWIGTYPE_p_wxSize swig_types[26]
1369#define SWIGTYPE_p_wxDC swig_types[27]
1370#define SWIGTYPE_p_wxListView swig_types[28]
1371#define SWIGTYPE_p_wxIcon swig_types[29]
1372#define SWIGTYPE_p_wxVisualAttributes swig_types[30]
1373#define SWIGTYPE_p_wxTextCtrl swig_types[31]
1374#define SWIGTYPE_p_wxNotebook swig_types[32]
1375#define SWIGTYPE_p_wxChoicebook swig_types[33]
1376#define SWIGTYPE_p_wxNotifyEvent swig_types[34]
1377#define SWIGTYPE_p_wxArrayString swig_types[35]
1378#define SWIGTYPE_p_form_ops_t swig_types[36]
1379#define SWIGTYPE_p_wxListbook swig_types[37]
1380#define SWIGTYPE_p_wxStaticBitmap swig_types[38]
1381#define SWIGTYPE_p_wxSlider swig_types[39]
1382#define SWIGTYPE_p_wxStaticBox swig_types[40]
1383#define SWIGTYPE_p_wxArrayInt swig_types[41]
1384#define SWIGTYPE_p_wxContextHelp swig_types[42]
1385#define SWIGTYPE_p_long swig_types[43]
1386#define SWIGTYPE_p_wxDuplexMode swig_types[44]
1387#define SWIGTYPE_p_wxBookCtrlBase swig_types[45]
1388#define SWIGTYPE_p_wxEvtHandler swig_types[46]
1389#define SWIGTYPE_p_wxListEvent swig_types[47]
1390#define SWIGTYPE_p_wxCheckListBox swig_types[48]
1391#define SWIGTYPE_p_wxListBox swig_types[49]
1392#define SWIGTYPE_p_wxSpinButton swig_types[50]
1393#define SWIGTYPE_p_wxButton swig_types[51]
1394#define SWIGTYPE_p_wxBitmapButton swig_types[52]
1395#define SWIGTYPE_p_wxRect swig_types[53]
1396#define SWIGTYPE_p_wxContextHelpButton swig_types[54]
1397#define SWIGTYPE_p_wxRadioBox swig_types[55]
1398#define SWIGTYPE_p_wxScrollBar swig_types[56]
1399#define SWIGTYPE_p_char swig_types[57]
1400#define SWIGTYPE_p_wxComboBox swig_types[58]
1401#define SWIGTYPE_p_wxTreeItemId swig_types[59]
1402#define SWIGTYPE_p_wxHelpEvent swig_types[60]
1403#define SWIGTYPE_p_wxListItem swig_types[61]
1404#define SWIGTYPE_p_wxNotebookSizer swig_types[62]
1405#define SWIGTYPE_p_wxSpinEvent swig_types[63]
1406#define SWIGTYPE_p_wxGenericDragImage swig_types[64]
1407#define SWIGTYPE_p_wxSpinCtrl swig_types[65]
1408#define SWIGTYPE_p_wxPaperSize swig_types[66]
1409#define SWIGTYPE_p_wxImageList swig_types[67]
1410#define SWIGTYPE_p_wxHelpProvider swig_types[68]
1411#define SWIGTYPE_p_wxTextAttr swig_types[69]
1412#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[70]
1413#define SWIGTYPE_p_wxChoicebookEvent swig_types[71]
1414#define SWIGTYPE_p_wxListbookEvent swig_types[72]
1415#define SWIGTYPE_p_wxNotebookEvent swig_types[73]
1416#define SWIGTYPE_p_wxPoint swig_types[74]
1417#define SWIGTYPE_p_wxObject swig_types[75]
1418#define SWIGTYPE_p_wxCursor swig_types[76]
53aa7709
RD
1419#define SWIGTYPE_p_wxDateTime swig_types[77]
1420#define SWIGTYPE_p_wxKeyEvent swig_types[78]
1421#define SWIGTYPE_p_unsigned_long swig_types[79]
1422#define SWIGTYPE_p_wxWindow swig_types[80]
1423#define SWIGTYPE_p_wxString swig_types[81]
1424#define SWIGTYPE_p_wxBitmap swig_types[82]
1425#define SWIGTYPE_unsigned_int swig_types[83]
1426#define SWIGTYPE_p_unsigned_int swig_types[84]
1427#define SWIGTYPE_p_unsigned_char swig_types[85]
1428#define SWIGTYPE_p_wxMouseEvent swig_types[86]
1429#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[87]
1430#define SWIGTYPE_p_wxTreeEvent swig_types[88]
1431#define SWIGTYPE_p_wxCommandEvent swig_types[89]
1432#define SWIGTYPE_p_wxStaticText swig_types[90]
1433#define SWIGTYPE_p_wxDatePickerCtrl swig_types[91]
1434#define SWIGTYPE_p_wxControlWithItems swig_types[92]
1435#define SWIGTYPE_p_wxToolBarToolBase swig_types[93]
1436#define SWIGTYPE_p_wxColour swig_types[94]
1437#define SWIGTYPE_p_wxToolBar swig_types[95]
1438#define SWIGTYPE_p_wxBookCtrlSizer swig_types[96]
1439#define SWIGTYPE_p_wxValidator swig_types[97]
1440static swig_type_info *swig_types[99];
36ed4f51
RD
1441
1442/* -------- TYPES TABLE (END) -------- */
1443
1444
1445/*-----------------------------------------------
1446 @(target):= _controls_.so
1447 ------------------------------------------------*/
1448#define SWIG_init init_controls_
1449
1450#define SWIG_name "_controls_"
1451
1452#include "wx/wxPython/wxPython.h"
1453#include "wx/wxPython/pyclasses.h"
1454
1455 static const wxString wxPyPanelNameStr(wxPanelNameStr);
1456 static const wxString wxPyEmptyString(wxEmptyString);
1457 static const wxString wxPyControlNameStr(wxControlNameStr);
1458
1459 const wxArrayString wxPyEmptyStringArray;
1460
1461 static const wxString wxPyButtonNameStr(wxButtonNameStr);
1462
1463 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1464#define SWIG_From_int PyInt_FromLong
1465/*@@*/
1466
1467
1468#include <limits.h>
1469
1470
1471SWIGINTERN int
1472 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1473 const char *errmsg)
1474{
1475 if (value < min_value) {
1476 if (errmsg) {
1477 PyErr_Format(PyExc_OverflowError,
1478 "value %ld is less than '%s' minimum %ld",
1479 value, errmsg, min_value);
1480 }
1481 return 0;
1482 } else if (value > max_value) {
1483 if (errmsg) {
1484 PyErr_Format(PyExc_OverflowError,
1485 "value %ld is greater than '%s' maximum %ld",
1486 value, errmsg, max_value);
1487 }
1488 return 0;
1489 }
1490 return 1;
1491}
1492
1493
1494SWIGINTERN int
1495SWIG_AsVal_long(PyObject* obj, long* val)
1496{
1497 if (PyNumber_Check(obj)) {
1498 if (val) *val = PyInt_AsLong(obj);
1499 return 1;
1500 }
1501 else {
1502 SWIG_type_error("number", obj);
1503 }
1504 return 0;
1505}
1506
1507
1508#if INT_MAX != LONG_MAX
1509SWIGINTERN int
1510 SWIG_AsVal_int(PyObject *obj, int *val)
1511{
1512 const char* errmsg = val ? "int" : (char*)0;
1513 long v;
1514 if (SWIG_AsVal_long(obj, &v)) {
1515 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1516 if (val) *val = (int)(v);
1517 return 1;
1518 } else {
1519 return 0;
1520 }
1521 } else {
1522 PyErr_Clear();
1523 }
1524 if (val) {
1525 SWIG_type_error(errmsg, obj);
1526 }
1527 return 0;
1528}
1529#else
1530SWIGINTERNSHORT int
1531 SWIG_AsVal_int(PyObject *obj, int *val)
1532{
1533 return SWIG_AsVal_long(obj,(long*)val);
1534}
1535#endif
1536
1537
1538SWIGINTERNSHORT int
c370783e 1539SWIG_As_int(PyObject* obj)
d55e5bfc 1540{
c370783e
RD
1541 int v;
1542 if (!SWIG_AsVal_int(obj, &v)) {
1543 /*
36ed4f51 1544 this is needed to make valgrind/purify happier.
c370783e
RD
1545 */
1546 memset((void*)&v, 0, sizeof(int));
d55e5bfc 1547 }
c370783e 1548 return v;
d55e5bfc
RD
1549}
1550
1551
36ed4f51 1552SWIGINTERNSHORT long
c370783e 1553SWIG_As_long(PyObject* obj)
d55e5bfc 1554{
c370783e
RD
1555 long v;
1556 if (!SWIG_AsVal_long(obj, &v)) {
1557 /*
36ed4f51 1558 this is needed to make valgrind/purify happier.
c370783e
RD
1559 */
1560 memset((void*)&v, 0, sizeof(long));
d55e5bfc 1561 }
c370783e 1562 return v;
d55e5bfc
RD
1563}
1564
c370783e 1565
36ed4f51 1566SWIGINTERNSHORT int
c370783e
RD
1567SWIG_Check_int(PyObject* obj)
1568{
1569 return SWIG_AsVal_int(obj, (int*)0);
1570}
d55e5bfc 1571
c370783e 1572
36ed4f51 1573SWIGINTERNSHORT int
c370783e 1574SWIG_Check_long(PyObject* obj)
d55e5bfc 1575{
c370783e 1576 return SWIG_AsVal_long(obj, (long*)0);
d55e5bfc
RD
1577}
1578
c370783e 1579 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 1580
36ed4f51 1581SWIGINTERN int
c370783e 1582 SWIG_AsVal_bool(PyObject *obj, bool *val)
d55e5bfc 1583{
c370783e
RD
1584 if (obj == Py_True) {
1585 if (val) *val = true;
1586 return 1;
1587 }
1588 if (obj == Py_False) {
1589 if (val) *val = false;
d55e5bfc
RD
1590 return 1;
1591 }
c370783e
RD
1592 int res = 0;
1593 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1594 if (val) *val = res ? true : false;
c370783e 1595 return 1;
36ed4f51
RD
1596 } else {
1597 PyErr_Clear();
1598 }
c370783e 1599 if (val) {
36ed4f51 1600 SWIG_type_error("bool", obj);
c370783e
RD
1601 }
1602 return 0;
1603}
1604
1605
36ed4f51 1606SWIGINTERNSHORT bool
c370783e
RD
1607SWIG_As_bool(PyObject* obj)
1608{
1609 bool v;
1610 if (!SWIG_AsVal_bool(obj, &v)) {
1611 /*
36ed4f51 1612 this is needed to make valgrind/purify happier.
c370783e
RD
1613 */
1614 memset((void*)&v, 0, sizeof(bool));
1615 }
1616 return v;
1617}
1618
1619
36ed4f51 1620SWIGINTERNSHORT int
c370783e
RD
1621SWIG_Check_bool(PyObject* obj)
1622{
1623 return SWIG_AsVal_bool(obj, (bool*)0);
d55e5bfc
RD
1624}
1625
1626 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
1627 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
36ed4f51
RD
1628
1629 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1630#define SWIG_From_long PyInt_FromLong
1631/*@@*/
1632
d55e5bfc
RD
1633 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
1634 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
1635 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
1636 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
1637
1638#include <wx/checklst.h>
1639
1640
1641 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
36ed4f51 1642static void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
d55e5bfc
RD
1643 if (clientData) {
1644 wxPyClientData* data = new wxPyClientData(clientData);
1645 self->Insert(item, pos, data);
1646 } else
1647 self->Insert(item, pos);
1648 }
36ed4f51 1649static PyObject *wxListBox_GetSelections(wxListBox *self){
d55e5bfc
RD
1650 wxArrayInt lst;
1651 self->GetSelections(lst);
1652 PyObject *tup = PyTuple_New(lst.GetCount());
1653 for(size_t i=0; i<lst.GetCount(); i++) {
1654 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
1655 }
1656 return tup;
1657 }
36ed4f51 1658static void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1659 #ifdef __WXMSW__
1660 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1661 self->GetItem(item)->SetTextColour(c);
1662 #endif
1663 }
36ed4f51 1664static void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
1665 #ifdef __WXMSW__
1666 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1667 self->GetItem(item)->SetBackgroundColour(c);
1668 #endif
1669 }
36ed4f51 1670static void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
1671 #ifdef __WXMSW__
1672 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
1673 self->GetItem(item)->SetFont(f);
1674 #endif
1675 }
1676 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
1677
c370783e 1678 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
d55e5bfc
RD
1679 PyObject* o2;
1680 PyObject* o3;
c370783e 1681
d55e5bfc
RD
1682 if (!target) {
1683 target = o;
1684 } else if (target == Py_None) {
1685 Py_DECREF(Py_None);
1686 target = o;
629e65c2
RD
1687 } else {
1688 if (!PyTuple_Check(target)) {
1689 o2 = target;
1690 target = PyTuple_New(1);
1691 PyTuple_SetItem(target, 0, o2);
1692 }
d55e5bfc
RD
1693 o3 = PyTuple_New(1);
1694 PyTuple_SetItem(o3, 0, o);
1695
1696 o2 = target;
1697 target = PySequence_Concat(o2, o3);
1698 Py_DECREF(o2);
1699 Py_DECREF(o3);
1700 }
1701 return target;
629e65c2 1702 }
d55e5bfc
RD
1703
1704
c370783e 1705
36ed4f51 1706SWIGINTERN int
c370783e 1707SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
d55e5bfc 1708{
c370783e
RD
1709 long v = 0;
1710 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1711 SWIG_type_error("unsigned number", obj);
d55e5bfc 1712 }
c370783e
RD
1713 else if (val)
1714 *val = (unsigned long)v;
1715 return 1;
d55e5bfc
RD
1716}
1717
1718
36ed4f51 1719SWIGINTERNSHORT unsigned long
c370783e 1720SWIG_As_unsigned_SS_long(PyObject* obj)
d55e5bfc 1721{
c370783e
RD
1722 unsigned long v;
1723 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1724 /*
36ed4f51 1725 this is needed to make valgrind/purify happier.
c370783e
RD
1726 */
1727 memset((void*)&v, 0, sizeof(unsigned long));
d55e5bfc 1728 }
c370783e
RD
1729 return v;
1730}
1731
1732
36ed4f51 1733SWIGINTERNSHORT int
c370783e
RD
1734SWIG_Check_unsigned_SS_long(PyObject* obj)
1735{
1736 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
d55e5bfc
RD
1737}
1738
36ed4f51 1739static void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
1740 self->AppendText(text);
1741 }
36ed4f51 1742static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
1743 return self->GetValue().Mid(from, to - from);
1744 }
1745 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
1746 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
1747 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
1748 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
1749 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
1750
1751#include <wx/slider.h>
1752
1753
1754 static const wxString wxPySliderNameStr(wxSliderNameStr);
1755 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
1756
1757#if !wxUSE_TOGGLEBTN
1758// implement dummy items for platforms that don't have this class
1759
1760#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
1761
1762class wxToggleButton : public wxControl
1763{
1764public:
1765 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
1766 const wxPoint&, const wxSize&, long,
1767 const wxValidator&, const wxString&)
1768 { wxPyRaiseNotImplemented(); }
1769
1770 wxToggleButton()
1771 { wxPyRaiseNotImplemented(); }
1772};
1773#endif
1774
51b83b37 1775 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 1776
36ed4f51 1777SWIGINTERNSHORT PyObject*
c370783e 1778 SWIG_From_unsigned_SS_long(unsigned long value)
d55e5bfc
RD
1779{
1780 return (value > LONG_MAX) ?
1781 PyLong_FromUnsignedLong(value)
36ed4f51 1782 : PyInt_FromLong((long)(value));
d55e5bfc
RD
1783}
1784
1785 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
36ed4f51 1786static PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
1787 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
1788 if (udata) {
1789 Py_INCREF(udata->m_obj);
1790 return udata->m_obj;
1791 } else {
1792 Py_INCREF(Py_None);
1793 return Py_None;
1794 }
1795 }
36ed4f51 1796static void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
1797 self->SetClientData(new wxPyUserData(clientData));
1798 }
36ed4f51 1799static wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
1800 wxPyUserData* udata = NULL;
1801 if (clientData && clientData != Py_None)
1802 udata = new wxPyUserData(clientData);
1803 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
1804 shortHelp, longHelp, udata);
1805 }
36ed4f51 1806static wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
1807 wxPyUserData* udata = NULL;
1808 if (clientData && clientData != Py_None)
1809 udata = new wxPyUserData(clientData);
1810 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
1811 shortHelp, longHelp, udata);
1812 }
36ed4f51 1813static PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
1814 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
1815 if (udata) {
1816 Py_INCREF(udata->m_obj);
1817 return udata->m_obj;
1818 } else {
1819 Py_INCREF(Py_None);
1820 return Py_None;
1821 }
1822 }
36ed4f51 1823static void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
1824 self->SetToolClientData(id, new wxPyUserData(clientData));
1825 }
1826
1827#include <wx/listctrl.h>
1828
fef4c27a 1829 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
36ed4f51 1830static void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
1831 // Python aware sorting function for wxPyListCtrl
1832 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
1833 int retval = 0;
1834 PyObject* func = (PyObject*)funcPtr;
5a446332 1835 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
1836
1837 PyObject* args = Py_BuildValue("(ii)", item1, item2);
1838 PyObject* result = PyEval_CallObject(func, args);
1839 Py_DECREF(args);
1840 if (result) {
1841 retval = PyInt_AsLong(result);
1842 Py_DECREF(result);
1843 }
1844
1845 wxPyEndBlockThreads(blocked);
1846 return retval;
1847 }
1848
1849 // C++ Version of a Python aware class
1850class wxPyListCtrl : public wxListCtrl {
1851 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
1852public:
1853 wxPyListCtrl() : wxListCtrl() {}
1854 wxPyListCtrl(wxWindow* parent, wxWindowID id,
1855 const wxPoint& pos,
1856 const wxSize& size,
1857 long style,
1858 const wxValidator& validator,
1859 const wxString& name) :
1860 wxListCtrl(parent, id, pos, size, style, validator, name) {}
1861
1862 bool Create(wxWindow* parent, wxWindowID id,
1863 const wxPoint& pos,
1864 const wxSize& size,
1865 long style,
1866 const wxValidator& validator,
1867 const wxString& name) {
1868 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
1869 }
1870
1871 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
1872 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
1873
84f85550
RD
1874 // use the virtual version to avoid a confusing assert in the base class
1875 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
1876
d55e5bfc
RD
1877 PYPRIVATE;
1878};
1879
1880IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
1881
1882IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 1883IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550
RD
1884IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
1885
d55e5bfc 1886
36ed4f51 1887static wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
1888 wxListItem item;
1889 item.SetMask( wxLIST_MASK_STATE |
1890 wxLIST_MASK_TEXT |
1891 wxLIST_MASK_IMAGE |
1892 wxLIST_MASK_DATA |
1893 wxLIST_SET_ITEM |
1894 wxLIST_MASK_WIDTH |
1895 wxLIST_MASK_FORMAT
1896 );
1897 if (self->GetColumn(col, item))
1898 return new wxListItem(item);
1899 else
1900 return NULL;
1901 }
36ed4f51 1902static wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
1903 wxListItem* info = new wxListItem;
1904 info->m_itemId = itemId;
1905 info->m_col = col;
1906 info->m_mask = 0xFFFF;
1907 self->GetItem(*info);
1908 return info;
1909 }
36ed4f51 1910static wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
1911 wxPoint pos;
1912 self->GetItemPosition(item, pos);
1913 return pos;
1914 }
36ed4f51 1915static wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
1916 wxRect rect;
1917 self->GetItemRect(item, rect, code);
1918 return rect;
1919 }
c370783e 1920
36ed4f51 1921static bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 1922 if (!PyCallable_Check(func))
b411df4a 1923 return false;
d55e5bfc
RD
1924 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
1925 }
36ed4f51 1926static wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
1927
1928
1929
1930 return (wxWindow*)self->m_mainWin;
1931
1932 }
1933
1934#include <wx/treectrl.h>
1935#include "wx/wxPython/pytree.h"
1936
1937 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
36ed4f51
RD
1938static bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
1939static bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
1940static void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d55e5bfc
RD
1941 // C++ version of Python aware wxTreeCtrl
1942class wxPyTreeCtrl : public wxTreeCtrl {
1943 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
1944public:
1945 wxPyTreeCtrl() : wxTreeCtrl() {}
1946 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
1947 const wxPoint& pos,
1948 const wxSize& size,
1949 long style,
1950 const wxValidator& validator,
1951 const wxString& name) :
1952 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
1953
1954 bool Create(wxWindow *parent, wxWindowID id,
1955 const wxPoint& pos,
1956 const wxSize& size,
1957 long style,
1958 const wxValidator& validator,
1959 const wxString& name) {
1960 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
1961 }
1962
1963
1964 int OnCompareItems(const wxTreeItemId& item1,
1965 const wxTreeItemId& item2) {
1966 int rval = 0;
1967 bool found;
5a446332 1968 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 1969 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
b411df4a
RD
1970 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
1971 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
1972 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1973 Py_DECREF(o1);
1974 Py_DECREF(o2);
1975 }
1976 wxPyEndBlockThreads(blocked);
1977 if (! found)
1978 rval = wxTreeCtrl::OnCompareItems(item1, item2);
1979 return rval;
1980 }
1981 PYPRIVATE;
1982};
1983
1984IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
1985
1986
1987
1988#if UINT_MAX < LONG_MAX
36ed4f51 1989/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1990#define SWIG_From_unsigned_SS_int SWIG_From_long
1991/*@@*/
d55e5bfc 1992#else
36ed4f51 1993/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1994#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1995/*@@*/
d55e5bfc
RD
1996#endif
1997
1998
36ed4f51 1999SWIGINTERNSHORT int
c370783e
RD
2000 SWIG_CheckUnsignedLongInRange(unsigned long value,
2001 unsigned long max_value,
2002 const char *errmsg)
d55e5bfc 2003{
c370783e
RD
2004 if (value > max_value) {
2005 if (errmsg) {
2006 PyErr_Format(PyExc_OverflowError,
36ed4f51 2007 "value %lu is greater than '%s' minimum %lu",
c370783e 2008 value, errmsg, max_value);
d55e5bfc 2009 }
c370783e 2010 return 0;
d55e5bfc 2011 }
c370783e
RD
2012 return 1;
2013 }
d55e5bfc
RD
2014
2015
2016#if UINT_MAX != ULONG_MAX
36ed4f51 2017SWIGINTERN int
c370783e 2018 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
d55e5bfc 2019{
36ed4f51 2020 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
2021 unsigned long v;
2022 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
2023 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 2024 if (val) *val = (unsigned int)(v);
c370783e
RD
2025 return 1;
2026 }
2027 } else {
2028 PyErr_Clear();
2029 }
2030 if (val) {
36ed4f51 2031 SWIG_type_error(errmsg, obj);
c370783e
RD
2032 }
2033 return 0;
d55e5bfc
RD
2034}
2035#else
36ed4f51 2036SWIGINTERNSHORT unsigned int
c370783e
RD
2037 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
2038{
2039 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
2040}
d55e5bfc
RD
2041#endif
2042
2043
36ed4f51 2044SWIGINTERNSHORT unsigned int
c370783e 2045SWIG_As_unsigned_SS_int(PyObject* obj)
d55e5bfc 2046{
c370783e
RD
2047 unsigned int v;
2048 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
2049 /*
36ed4f51 2050 this is needed to make valgrind/purify happier.
c370783e
RD
2051 */
2052 memset((void*)&v, 0, sizeof(unsigned int));
d55e5bfc 2053 }
c370783e
RD
2054 return v;
2055}
2056
2057
36ed4f51 2058SWIGINTERNSHORT int
c370783e
RD
2059SWIG_Check_unsigned_SS_int(PyObject* obj)
2060{
2061 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
d55e5bfc
RD
2062}
2063
36ed4f51 2064static wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2065 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2066 if (data == NULL) {
2067 data = new wxPyTreeItemData();
2068 data->SetId(item); // set the id
2069 self->SetItemData(item, data);
2070 }
2071 return data;
2072 }
36ed4f51 2073static PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2074 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2075 if (data == NULL) {
2076 data = new wxPyTreeItemData();
2077 data->SetId(item); // set the id
2078 self->SetItemData(item, data);
2079 }
2080 return data->GetData();
2081 }
36ed4f51 2082static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
2083 data->SetId(item); // set the id
2084 self->SetItemData(item, data);
2085 }
36ed4f51 2086static void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
2087 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
2088 if (data == NULL) {
2089 data = new wxPyTreeItemData(obj);
2090 data->SetId(item); // set the id
2091 self->SetItemData(item, data);
2092 } else
2093 data->SetData(obj);
2094 }
36ed4f51 2095static PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 2096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
2097 PyObject* rval = PyList_New(0);
2098 wxArrayTreeItemIds array;
2099 size_t num, x;
2100 num = self->GetSelections(array);
2101 for (x=0; x < num; x++) {
2102 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 2103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 2104 PyList_Append(rval, item);
68e533f8 2105 Py_DECREF(item);
d55e5bfc
RD
2106 }
2107 wxPyEndBlockThreads(blocked);
2108 return rval;
2109 }
36ed4f51 2110static PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
2111 void* cookie = 0;
2112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 2113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2114 PyObject* tup = PyTuple_New(2);
b411df4a 2115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2117 wxPyEndBlockThreads(blocked);
2118 return tup;
2119 }
36ed4f51 2120static PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 2121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 2122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2123 PyObject* tup = PyTuple_New(2);
b411df4a 2124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
2125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
2126 wxPyEndBlockThreads(blocked);
2127 return tup;
2128 }
36ed4f51 2129static PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
2130 wxRect rect;
2131 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 2132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 2133 wxRect* r = new wxRect(rect);
b411df4a 2134 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
2135 wxPyEndBlockThreads(blocked);
2136 return val;
2137 }
2138 else
2139 RETURN_NONE();
2140 }
2141 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c370783e 2142
36ed4f51 2143SWIGINTERNSHORT PyObject*
c370783e
RD
2144 SWIG_From_bool(bool value)
2145{
2146 PyObject *obj = value ? Py_True : Py_False;
2147 Py_INCREF(obj);
2148 return obj;
2149}
2150
2151
d55e5bfc
RD
2152 // C++ version of Python aware wxControl
2153class wxPyControl : public wxControl
2154{
2155 DECLARE_DYNAMIC_CLASS(wxPyControl)
2156public:
2157 wxPyControl() : wxControl() {}
2158 wxPyControl(wxWindow* parent, const wxWindowID id,
2159 const wxPoint& pos = wxDefaultPosition,
2160 const wxSize& size = wxDefaultSize,
2161 long style = 0,
2162 const wxValidator& validator=wxDefaultValidator,
2163 const wxString& name = wxPyControlNameStr)
2164 : wxControl(parent, id, pos, size, style, validator, name) {}
2165
a5ee0656 2166 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc 2167
976dbff5
RD
2168 bool DoEraseBackground(wxDC* dc) {
2169#ifdef __WXMSW__
2170 return wxWindow::DoEraseBackground(dc->GetHDC());
2171#else
2172 dc->SetBackground(wxBrush(GetBackgroundColour()));
2173 dc->Clear();
2174 return true;
2175#endif
2176 }
2177
d55e5bfc
RD
2178 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
2179 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
2180 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
2181 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
2182
2183 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
2184 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
2185 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
2186
2187 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
2188 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
2189
2190 DEC_PYCALLBACK__(InitDialog);
2191 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
2192 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
2193 DEC_PYCALLBACK_BOOL_(Validate);
2194
2195 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
2196 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
2197 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
2198
2199 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
2200 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
2201
a5ee0656 2202 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 2203 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 2204
51b83b37
RD
2205 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
2206
d55e5bfc
RD
2207 PYPRIVATE;
2208};
2209
2210IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
2211
2212IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
2213IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
2214IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
2215IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
2216
2217IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
2218IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
2219IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
2220
2221IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
2222IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
2223
2224IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
2225IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
2226IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
2227IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
2228
2229IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
2230IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
2231IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
2232
2233IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
2234IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
2235
a5ee0656 2236IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
a5ee0656 2237IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 2238
51b83b37
RD
2239IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
2240
d55e5bfc
RD
2241
2242
36ed4f51 2243static void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
2244
2245#include <wx/generic/dragimgg.h>
2246
53aa7709
RD
2247 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
2248static wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
2249 wxDateTime rv;
2250 self->GetRange(&rv, NULL);
2251 return rv;
2252 }
2253static wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
2254 wxDateTime rv;
2255 self->GetRange(NULL, &rv);
2256 return rv;
2257 }
d55e5bfc
RD
2258#ifdef __cplusplus
2259extern "C" {
2260#endif
c370783e 2261static int _wrap_ButtonNameStr_set(PyObject *) {
d55e5bfc
RD
2262 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
2263 return 1;
2264}
2265
2266
36ed4f51 2267static PyObject *_wrap_ButtonNameStr_get(void) {
d55e5bfc
RD
2268 PyObject *pyobj;
2269
2270 {
2271#if wxUSE_UNICODE
2272 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2273#else
2274 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
2275#endif
2276 }
2277 return pyobj;
2278}
2279
2280
c370783e 2281static PyObject *_wrap_new_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2282 PyObject *resultobj;
2283 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2284 int arg2 = (int) -1 ;
2285 wxString const &arg3_defvalue = wxPyEmptyString ;
2286 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
2287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2289 wxSize const &arg5_defvalue = wxDefaultSize ;
2290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2291 long arg6 = (long) 0 ;
2292 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2293 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2294 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2295 wxString *arg8 = (wxString *) &arg8_defvalue ;
2296 wxButton *result;
b411df4a 2297 bool temp3 = false ;
d55e5bfc
RD
2298 wxPoint temp4 ;
2299 wxSize temp5 ;
b411df4a 2300 bool temp8 = false ;
d55e5bfc
RD
2301 PyObject * obj0 = 0 ;
2302 PyObject * obj1 = 0 ;
2303 PyObject * obj2 = 0 ;
2304 PyObject * obj3 = 0 ;
2305 PyObject * obj4 = 0 ;
2306 PyObject * obj5 = 0 ;
2307 PyObject * obj6 = 0 ;
2308 PyObject * obj7 = 0 ;
2309 char *kwnames[] = {
2310 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2311 };
2312
bfddbb17 2313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2314 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2315 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2316 if (obj1) {
36ed4f51
RD
2317 {
2318 arg2 = (int)(SWIG_As_int(obj1));
2319 if (SWIG_arg_fail(2)) SWIG_fail;
2320 }
bfddbb17
RD
2321 }
2322 if (obj2) {
2323 {
2324 arg3 = wxString_in_helper(obj2);
2325 if (arg3 == NULL) SWIG_fail;
b411df4a 2326 temp3 = true;
bfddbb17 2327 }
d55e5bfc
RD
2328 }
2329 if (obj3) {
2330 {
2331 arg4 = &temp4;
2332 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2333 }
2334 }
2335 if (obj4) {
2336 {
2337 arg5 = &temp5;
2338 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2339 }
2340 }
2341 if (obj5) {
36ed4f51
RD
2342 {
2343 arg6 = (long)(SWIG_As_long(obj5));
2344 if (SWIG_arg_fail(6)) SWIG_fail;
2345 }
d55e5bfc
RD
2346 }
2347 if (obj6) {
36ed4f51
RD
2348 {
2349 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2350 if (SWIG_arg_fail(7)) SWIG_fail;
2351 if (arg7 == NULL) {
2352 SWIG_null_ref("wxValidator");
2353 }
2354 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2355 }
2356 }
2357 if (obj7) {
2358 {
2359 arg8 = wxString_in_helper(obj7);
2360 if (arg8 == NULL) SWIG_fail;
b411df4a 2361 temp8 = true;
d55e5bfc
RD
2362 }
2363 }
2364 {
0439c23b 2365 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2366 PyThreadState* __tstate = wxPyBeginAllowThreads();
2367 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2368
2369 wxPyEndAllowThreads(__tstate);
110da5b0 2370 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2371 }
b0f7404b 2372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2373 {
2374 if (temp3)
2375 delete arg3;
2376 }
2377 {
2378 if (temp8)
2379 delete arg8;
2380 }
2381 return resultobj;
2382 fail:
2383 {
2384 if (temp3)
2385 delete arg3;
2386 }
2387 {
2388 if (temp8)
2389 delete arg8;
2390 }
2391 return NULL;
2392}
2393
2394
c370783e 2395static PyObject *_wrap_new_PreButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2396 PyObject *resultobj;
2397 wxButton *result;
2398 char *kwnames[] = {
2399 NULL
2400 };
2401
2402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
2403 {
0439c23b 2404 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = (wxButton *)new wxButton();
2407
2408 wxPyEndAllowThreads(__tstate);
110da5b0 2409 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2410 }
b0f7404b 2411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxButton, 1);
d55e5bfc
RD
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
c370783e 2418static PyObject *_wrap_Button_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2419 PyObject *resultobj;
2420 wxButton *arg1 = (wxButton *) 0 ;
2421 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2422 int arg3 = (int) -1 ;
2423 wxString const &arg4_defvalue = wxPyEmptyString ;
2424 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2425 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2426 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2427 wxSize const &arg6_defvalue = wxDefaultSize ;
2428 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2429 long arg7 = (long) 0 ;
2430 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2431 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2432 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2433 wxString *arg9 = (wxString *) &arg9_defvalue ;
2434 bool result;
b411df4a 2435 bool temp4 = false ;
d55e5bfc
RD
2436 wxPoint temp5 ;
2437 wxSize temp6 ;
b411df4a 2438 bool temp9 = false ;
d55e5bfc
RD
2439 PyObject * obj0 = 0 ;
2440 PyObject * obj1 = 0 ;
2441 PyObject * obj2 = 0 ;
2442 PyObject * obj3 = 0 ;
2443 PyObject * obj4 = 0 ;
2444 PyObject * obj5 = 0 ;
2445 PyObject * obj6 = 0 ;
2446 PyObject * obj7 = 0 ;
2447 PyObject * obj8 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2450 };
2451
bfddbb17 2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2454 if (SWIG_arg_fail(1)) SWIG_fail;
2455 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2456 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2457 if (obj2) {
36ed4f51
RD
2458 {
2459 arg3 = (int)(SWIG_As_int(obj2));
2460 if (SWIG_arg_fail(3)) SWIG_fail;
2461 }
bfddbb17
RD
2462 }
2463 if (obj3) {
2464 {
2465 arg4 = wxString_in_helper(obj3);
2466 if (arg4 == NULL) SWIG_fail;
b411df4a 2467 temp4 = true;
bfddbb17 2468 }
d55e5bfc
RD
2469 }
2470 if (obj4) {
2471 {
2472 arg5 = &temp5;
2473 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2474 }
2475 }
2476 if (obj5) {
2477 {
2478 arg6 = &temp6;
2479 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2480 }
2481 }
2482 if (obj6) {
36ed4f51
RD
2483 {
2484 arg7 = (long)(SWIG_As_long(obj6));
2485 if (SWIG_arg_fail(7)) SWIG_fail;
2486 }
d55e5bfc
RD
2487 }
2488 if (obj7) {
36ed4f51
RD
2489 {
2490 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2491 if (SWIG_arg_fail(8)) SWIG_fail;
2492 if (arg8 == NULL) {
2493 SWIG_null_ref("wxValidator");
2494 }
2495 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2496 }
2497 }
2498 if (obj8) {
2499 {
2500 arg9 = wxString_in_helper(obj8);
2501 if (arg9 == NULL) SWIG_fail;
b411df4a 2502 temp9 = true;
d55e5bfc
RD
2503 }
2504 }
2505 {
2506 PyThreadState* __tstate = wxPyBeginAllowThreads();
2507 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2508
2509 wxPyEndAllowThreads(__tstate);
2510 if (PyErr_Occurred()) SWIG_fail;
2511 }
2512 {
2513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2514 }
2515 {
2516 if (temp4)
2517 delete arg4;
2518 }
2519 {
2520 if (temp9)
2521 delete arg9;
2522 }
2523 return resultobj;
2524 fail:
2525 {
2526 if (temp4)
2527 delete arg4;
2528 }
2529 {
2530 if (temp9)
2531 delete arg9;
2532 }
2533 return NULL;
2534}
2535
2536
c370783e 2537static PyObject *_wrap_Button_SetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2538 PyObject *resultobj;
2539 wxButton *arg1 = (wxButton *) 0 ;
2540 PyObject * obj0 = 0 ;
2541 char *kwnames[] = {
2542 (char *) "self", NULL
2543 };
2544
2545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
2546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxButton, SWIG_POINTER_EXCEPTION | 0);
2547 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2548 {
2549 PyThreadState* __tstate = wxPyBeginAllowThreads();
2550 (arg1)->SetDefault();
2551
2552 wxPyEndAllowThreads(__tstate);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 Py_INCREF(Py_None); resultobj = Py_None;
2556 return resultobj;
2557 fail:
2558 return NULL;
2559}
2560
2561
c370783e 2562static PyObject *_wrap_Button_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2563 PyObject *resultobj;
2564 wxSize result;
2565 char *kwnames[] = {
2566 NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
2570 {
2571 PyThreadState* __tstate = wxPyBeginAllowThreads();
2572 result = wxButton::GetDefaultSize();
2573
2574 wxPyEndAllowThreads(__tstate);
2575 if (PyErr_Occurred()) SWIG_fail;
2576 }
2577 {
2578 wxSize * resultptr;
36ed4f51 2579 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
2580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
2581 }
2582 return resultobj;
2583 fail:
2584 return NULL;
2585}
2586
2587
c370783e 2588static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 2589 PyObject *resultobj;
36ed4f51 2590 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
2591 wxVisualAttributes result;
2592 PyObject * obj0 = 0 ;
2593 char *kwnames[] = {
2594 (char *) "variant", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2598 if (obj0) {
36ed4f51
RD
2599 {
2600 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
2601 if (SWIG_arg_fail(1)) SWIG_fail;
2602 }
f20a2e1f
RD
2603 }
2604 {
0439c23b 2605 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2606 PyThreadState* __tstate = wxPyBeginAllowThreads();
2607 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
2608
2609 wxPyEndAllowThreads(__tstate);
110da5b0 2610 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2611 }
2612 {
2613 wxVisualAttributes * resultptr;
36ed4f51 2614 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
2615 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2616 }
2617 return resultobj;
2618 fail:
2619 return NULL;
2620}
2621
2622
c370783e 2623static PyObject * Button_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
2624 PyObject *obj;
2625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2626 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
2627 Py_INCREF(obj);
2628 return Py_BuildValue((char *)"");
2629}
c370783e 2630static PyObject *_wrap_new_BitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2631 PyObject *resultobj;
2632 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2633 int arg2 = (int) -1 ;
2634 wxBitmap const &arg3_defvalue = wxNullBitmap ;
2635 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
2636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2638 wxSize const &arg5_defvalue = wxDefaultSize ;
2639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2640 long arg6 = (long) wxBU_AUTODRAW ;
2641 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2642 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2643 wxString const &arg8_defvalue = wxPyButtonNameStr ;
2644 wxString *arg8 = (wxString *) &arg8_defvalue ;
2645 wxBitmapButton *result;
2646 wxPoint temp4 ;
2647 wxSize temp5 ;
b411df4a 2648 bool temp8 = false ;
d55e5bfc
RD
2649 PyObject * obj0 = 0 ;
2650 PyObject * obj1 = 0 ;
2651 PyObject * obj2 = 0 ;
2652 PyObject * obj3 = 0 ;
2653 PyObject * obj4 = 0 ;
2654 PyObject * obj5 = 0 ;
2655 PyObject * obj6 = 0 ;
2656 PyObject * obj7 = 0 ;
2657 char *kwnames[] = {
2658 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2659 };
2660
bfddbb17 2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
2662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2663 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2664 if (obj1) {
36ed4f51
RD
2665 {
2666 arg2 = (int)(SWIG_As_int(obj1));
2667 if (SWIG_arg_fail(2)) SWIG_fail;
2668 }
bfddbb17
RD
2669 }
2670 if (obj2) {
36ed4f51
RD
2671 {
2672 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2673 if (SWIG_arg_fail(3)) SWIG_fail;
2674 if (arg3 == NULL) {
2675 SWIG_null_ref("wxBitmap");
2676 }
2677 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 2678 }
d55e5bfc
RD
2679 }
2680 if (obj3) {
2681 {
2682 arg4 = &temp4;
2683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2684 }
2685 }
2686 if (obj4) {
2687 {
2688 arg5 = &temp5;
2689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2690 }
2691 }
2692 if (obj5) {
36ed4f51
RD
2693 {
2694 arg6 = (long)(SWIG_As_long(obj5));
2695 if (SWIG_arg_fail(6)) SWIG_fail;
2696 }
d55e5bfc
RD
2697 }
2698 if (obj6) {
36ed4f51
RD
2699 {
2700 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2701 if (SWIG_arg_fail(7)) SWIG_fail;
2702 if (arg7 == NULL) {
2703 SWIG_null_ref("wxValidator");
2704 }
2705 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
2706 }
2707 }
2708 if (obj7) {
2709 {
2710 arg8 = wxString_in_helper(obj7);
2711 if (arg8 == NULL) SWIG_fail;
b411df4a 2712 temp8 = true;
d55e5bfc
RD
2713 }
2714 }
2715 {
0439c23b 2716 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2719
2720 wxPyEndAllowThreads(__tstate);
110da5b0 2721 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2722 }
b0f7404b 2723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2724 {
2725 if (temp8)
2726 delete arg8;
2727 }
2728 return resultobj;
2729 fail:
2730 {
2731 if (temp8)
2732 delete arg8;
2733 }
2734 return NULL;
2735}
2736
2737
c370783e 2738static PyObject *_wrap_new_PreBitmapButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2739 PyObject *resultobj;
2740 wxBitmapButton *result;
2741 char *kwnames[] = {
2742 NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
2746 {
0439c23b 2747 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 result = (wxBitmapButton *)new wxBitmapButton();
2750
2751 wxPyEndAllowThreads(__tstate);
110da5b0 2752 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 2753 }
b0f7404b 2754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBitmapButton, 1);
d55e5bfc
RD
2755 return resultobj;
2756 fail:
2757 return NULL;
2758}
2759
2760
c370783e 2761static PyObject *_wrap_BitmapButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2762 PyObject *resultobj;
2763 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2764 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
2765 int arg3 = (int) -1 ;
2766 wxBitmap const &arg4_defvalue = wxNullBitmap ;
2767 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
2768 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2769 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2770 wxSize const &arg6_defvalue = wxDefaultSize ;
2771 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2772 long arg7 = (long) wxBU_AUTODRAW ;
2773 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2774 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2775 wxString const &arg9_defvalue = wxPyButtonNameStr ;
2776 wxString *arg9 = (wxString *) &arg9_defvalue ;
2777 bool result;
2778 wxPoint temp5 ;
2779 wxSize temp6 ;
b411df4a 2780 bool temp9 = false ;
d55e5bfc
RD
2781 PyObject * obj0 = 0 ;
2782 PyObject * obj1 = 0 ;
2783 PyObject * obj2 = 0 ;
2784 PyObject * obj3 = 0 ;
2785 PyObject * obj4 = 0 ;
2786 PyObject * obj5 = 0 ;
2787 PyObject * obj6 = 0 ;
2788 PyObject * obj7 = 0 ;
2789 PyObject * obj8 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2792 };
2793
bfddbb17 2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
2795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2796 if (SWIG_arg_fail(1)) SWIG_fail;
2797 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2798 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2799 if (obj2) {
36ed4f51
RD
2800 {
2801 arg3 = (int)(SWIG_As_int(obj2));
2802 if (SWIG_arg_fail(3)) SWIG_fail;
2803 }
bfddbb17
RD
2804 }
2805 if (obj3) {
36ed4f51
RD
2806 {
2807 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
2808 if (SWIG_arg_fail(4)) SWIG_fail;
2809 if (arg4 == NULL) {
2810 SWIG_null_ref("wxBitmap");
2811 }
2812 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 2813 }
d55e5bfc
RD
2814 }
2815 if (obj4) {
2816 {
2817 arg5 = &temp5;
2818 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2819 }
2820 }
2821 if (obj5) {
2822 {
2823 arg6 = &temp6;
2824 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2825 }
2826 }
2827 if (obj6) {
36ed4f51
RD
2828 {
2829 arg7 = (long)(SWIG_As_long(obj6));
2830 if (SWIG_arg_fail(7)) SWIG_fail;
2831 }
d55e5bfc
RD
2832 }
2833 if (obj7) {
36ed4f51
RD
2834 {
2835 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
2836 if (SWIG_arg_fail(8)) SWIG_fail;
2837 if (arg8 == NULL) {
2838 SWIG_null_ref("wxValidator");
2839 }
2840 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
2841 }
2842 }
2843 if (obj8) {
2844 {
2845 arg9 = wxString_in_helper(obj8);
2846 if (arg9 == NULL) SWIG_fail;
b411df4a 2847 temp9 = true;
d55e5bfc
RD
2848 }
2849 }
2850 {
2851 PyThreadState* __tstate = wxPyBeginAllowThreads();
2852 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2853
2854 wxPyEndAllowThreads(__tstate);
2855 if (PyErr_Occurred()) SWIG_fail;
2856 }
2857 {
2858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2859 }
2860 {
2861 if (temp9)
2862 delete arg9;
2863 }
2864 return resultobj;
2865 fail:
2866 {
2867 if (temp9)
2868 delete arg9;
2869 }
2870 return NULL;
2871}
2872
2873
c370783e 2874static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2875 PyObject *resultobj;
2876 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2877 wxBitmap result;
2878 PyObject * obj0 = 0 ;
2879 char *kwnames[] = {
2880 (char *) "self", NULL
2881 };
2882
2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
2884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 result = (arg1)->GetBitmapLabel();
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
2894 wxBitmap * resultptr;
36ed4f51 2895 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2897 }
2898 return resultobj;
2899 fail:
2900 return NULL;
2901}
2902
2903
c370783e 2904static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2905 PyObject *resultobj;
2906 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2907 wxBitmap result;
2908 PyObject * obj0 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
2914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 result = (arg1)->GetBitmapDisabled();
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 {
2924 wxBitmap * resultptr;
36ed4f51 2925 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2926 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2927 }
2928 return resultobj;
2929 fail:
2930 return NULL;
2931}
2932
2933
c370783e 2934static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2935 PyObject *resultobj;
2936 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2937 wxBitmap result;
2938 PyObject * obj0 = 0 ;
2939 char *kwnames[] = {
2940 (char *) "self", NULL
2941 };
2942
2943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
2944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2945 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 result = (arg1)->GetBitmapFocus();
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 {
2954 wxBitmap * resultptr;
36ed4f51 2955 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
c370783e 2964static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2965 PyObject *resultobj;
2966 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2967 wxBitmap result;
2968 PyObject * obj0 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "self", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
2974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 result = (arg1)->GetBitmapSelected();
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 {
2984 wxBitmap * resultptr;
36ed4f51 2985 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
2986 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
2987 }
2988 return resultobj;
2989 fail:
2990 return NULL;
2991}
2992
2993
c370783e 2994static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
2995 PyObject *resultobj;
2996 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
2997 wxBitmap *arg2 = 0 ;
2998 PyObject * obj0 = 0 ;
2999 PyObject * obj1 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self",(char *) "bitmap", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3006 if (SWIG_arg_fail(1)) SWIG_fail;
3007 {
3008 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3009 if (SWIG_arg_fail(2)) SWIG_fail;
3010 if (arg2 == NULL) {
3011 SWIG_null_ref("wxBitmap");
3012 }
3013 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3014 }
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 Py_INCREF(Py_None); resultobj = Py_None;
3023 return resultobj;
3024 fail:
3025 return NULL;
3026}
3027
3028
c370783e 3029static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3030 PyObject *resultobj;
3031 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3032 wxBitmap *arg2 = 0 ;
3033 PyObject * obj0 = 0 ;
3034 PyObject * obj1 = 0 ;
3035 char *kwnames[] = {
3036 (char *) "self",(char *) "bitmap", NULL
3037 };
3038
3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3040 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3041 if (SWIG_arg_fail(1)) SWIG_fail;
3042 {
3043 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3044 if (SWIG_arg_fail(2)) SWIG_fail;
3045 if (arg2 == NULL) {
3046 SWIG_null_ref("wxBitmap");
3047 }
3048 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3049 }
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 Py_INCREF(Py_None); resultobj = Py_None;
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
c370783e 3064static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3065 PyObject *resultobj;
3066 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3067 wxBitmap *arg2 = 0 ;
3068 PyObject * obj0 = 0 ;
3069 PyObject * obj1 = 0 ;
3070 char *kwnames[] = {
3071 (char *) "self",(char *) "bitmap", NULL
3072 };
3073
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3076 if (SWIG_arg_fail(1)) SWIG_fail;
3077 {
3078 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3079 if (SWIG_arg_fail(2)) SWIG_fail;
3080 if (arg2 == NULL) {
3081 SWIG_null_ref("wxBitmap");
3082 }
3083 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3084 }
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 Py_INCREF(Py_None); resultobj = Py_None;
3093 return resultobj;
3094 fail:
3095 return NULL;
3096}
3097
3098
c370783e 3099static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3100 PyObject *resultobj;
3101 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3102 wxBitmap *arg2 = 0 ;
3103 PyObject * obj0 = 0 ;
3104 PyObject * obj1 = 0 ;
3105 char *kwnames[] = {
3106 (char *) "self",(char *) "bitmap", NULL
3107 };
3108
3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3111 if (SWIG_arg_fail(1)) SWIG_fail;
3112 {
3113 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3114 if (SWIG_arg_fail(2)) SWIG_fail;
3115 if (arg2 == NULL) {
3116 SWIG_null_ref("wxBitmap");
3117 }
3118 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 Py_INCREF(Py_None); resultobj = Py_None;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
c370783e 3134static PyObject *_wrap_BitmapButton_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3135 PyObject *resultobj;
3136 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3137 int arg2 ;
3138 int arg3 ;
3139 PyObject * obj0 = 0 ;
3140 PyObject * obj1 = 0 ;
3141 PyObject * obj2 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "x",(char *) "y", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3148 if (SWIG_arg_fail(1)) SWIG_fail;
3149 {
3150 arg2 = (int)(SWIG_As_int(obj1));
3151 if (SWIG_arg_fail(2)) SWIG_fail;
3152 }
3153 {
3154 arg3 = (int)(SWIG_As_int(obj2));
3155 if (SWIG_arg_fail(3)) SWIG_fail;
3156 }
d55e5bfc
RD
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 (arg1)->SetMargins(arg2,arg3);
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 Py_INCREF(Py_None); resultobj = Py_None;
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
c370783e 3171static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3172 PyObject *resultobj;
3173 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3174 int result;
3175 PyObject * obj0 = 0 ;
3176 char *kwnames[] = {
3177 (char *) "self", NULL
3178 };
3179
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
36ed4f51
RD
3181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3182 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
36ed4f51
RD
3190 {
3191 resultobj = SWIG_From_int((int)(result));
3192 }
d55e5bfc
RD
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
c370783e 3199static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3200 PyObject *resultobj;
3201 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3202 int result;
3203 PyObject * obj0 = 0 ;
3204 char *kwnames[] = {
3205 (char *) "self", NULL
3206 };
3207
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
36ed4f51
RD
3209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_EXCEPTION | 0);
3210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3211 {
3212 PyThreadState* __tstate = wxPyBeginAllowThreads();
3213 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
3214
3215 wxPyEndAllowThreads(__tstate);
3216 if (PyErr_Occurred()) SWIG_fail;
3217 }
36ed4f51
RD
3218 {
3219 resultobj = SWIG_From_int((int)(result));
3220 }
d55e5bfc
RD
3221 return resultobj;
3222 fail:
3223 return NULL;
3224}
3225
3226
c370783e 3227static PyObject * BitmapButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3228 PyObject *obj;
3229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3230 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
3231 Py_INCREF(obj);
3232 return Py_BuildValue((char *)"");
3233}
c370783e 3234static int _wrap_CheckBoxNameStr_set(PyObject *) {
d55e5bfc
RD
3235 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
3236 return 1;
3237}
3238
3239
36ed4f51 3240static PyObject *_wrap_CheckBoxNameStr_get(void) {
d55e5bfc
RD
3241 PyObject *pyobj;
3242
3243 {
3244#if wxUSE_UNICODE
3245 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3246#else
3247 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
3248#endif
3249 }
3250 return pyobj;
3251}
3252
3253
c370783e 3254static PyObject *_wrap_new_CheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3255 PyObject *resultobj;
3256 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
3257 int arg2 = (int) -1 ;
3258 wxString const &arg3_defvalue = wxPyEmptyString ;
3259 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
3260 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3261 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3262 wxSize const &arg5_defvalue = wxDefaultSize ;
3263 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3264 long arg6 = (long) 0 ;
3265 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3266 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3267 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
3268 wxString *arg8 = (wxString *) &arg8_defvalue ;
3269 wxCheckBox *result;
b411df4a 3270 bool temp3 = false ;
d55e5bfc
RD
3271 wxPoint temp4 ;
3272 wxSize temp5 ;
b411df4a 3273 bool temp8 = false ;
d55e5bfc
RD
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 PyObject * obj2 = 0 ;
3277 PyObject * obj3 = 0 ;
3278 PyObject * obj4 = 0 ;
3279 PyObject * obj5 = 0 ;
3280 PyObject * obj6 = 0 ;
3281 PyObject * obj7 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3284 };
3285
bfddbb17 3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3288 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 3289 if (obj1) {
36ed4f51
RD
3290 {
3291 arg2 = (int)(SWIG_As_int(obj1));
3292 if (SWIG_arg_fail(2)) SWIG_fail;
3293 }
bfddbb17
RD
3294 }
3295 if (obj2) {
3296 {
3297 arg3 = wxString_in_helper(obj2);
3298 if (arg3 == NULL) SWIG_fail;
b411df4a 3299 temp3 = true;
bfddbb17 3300 }
d55e5bfc
RD
3301 }
3302 if (obj3) {
3303 {
3304 arg4 = &temp4;
3305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3306 }
3307 }
3308 if (obj4) {
3309 {
3310 arg5 = &temp5;
3311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3312 }
3313 }
3314 if (obj5) {
36ed4f51
RD
3315 {
3316 arg6 = (long)(SWIG_As_long(obj5));
3317 if (SWIG_arg_fail(6)) SWIG_fail;
3318 }
d55e5bfc
RD
3319 }
3320 if (obj6) {
36ed4f51
RD
3321 {
3322 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3323 if (SWIG_arg_fail(7)) SWIG_fail;
3324 if (arg7 == NULL) {
3325 SWIG_null_ref("wxValidator");
3326 }
3327 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3328 }
3329 }
3330 if (obj7) {
3331 {
3332 arg8 = wxString_in_helper(obj7);
3333 if (arg8 == NULL) SWIG_fail;
b411df4a 3334 temp8 = true;
d55e5bfc
RD
3335 }
3336 }
3337 {
0439c23b 3338 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3341
3342 wxPyEndAllowThreads(__tstate);
110da5b0 3343 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3344 }
3345 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3346 {
3347 if (temp3)
3348 delete arg3;
3349 }
3350 {
3351 if (temp8)
3352 delete arg8;
3353 }
3354 return resultobj;
3355 fail:
3356 {
3357 if (temp3)
3358 delete arg3;
3359 }
3360 {
3361 if (temp8)
3362 delete arg8;
3363 }
3364 return NULL;
3365}
3366
3367
c370783e 3368static PyObject *_wrap_new_PreCheckBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3369 PyObject *resultobj;
3370 wxCheckBox *result;
3371 char *kwnames[] = {
3372 NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
3376 {
0439c23b 3377 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (wxCheckBox *)new wxCheckBox();
3380
3381 wxPyEndAllowThreads(__tstate);
110da5b0 3382 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3383 }
3384 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388}
3389
3390
c370783e 3391static PyObject *_wrap_CheckBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3392 PyObject *resultobj;
3393 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3394 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
3395 int arg3 = (int) -1 ;
3396 wxString const &arg4_defvalue = wxPyEmptyString ;
3397 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
3398 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3399 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3400 wxSize const &arg6_defvalue = wxDefaultSize ;
3401 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3402 long arg7 = (long) 0 ;
3403 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3404 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3405 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
3406 wxString *arg9 = (wxString *) &arg9_defvalue ;
3407 bool result;
b411df4a 3408 bool temp4 = false ;
d55e5bfc
RD
3409 wxPoint temp5 ;
3410 wxSize temp6 ;
b411df4a 3411 bool temp9 = false ;
d55e5bfc
RD
3412 PyObject * obj0 = 0 ;
3413 PyObject * obj1 = 0 ;
3414 PyObject * obj2 = 0 ;
3415 PyObject * obj3 = 0 ;
3416 PyObject * obj4 = 0 ;
3417 PyObject * obj5 = 0 ;
3418 PyObject * obj6 = 0 ;
3419 PyObject * obj7 = 0 ;
3420 PyObject * obj8 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3423 };
3424
bfddbb17 3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3426 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail;
3428 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3429 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 3430 if (obj2) {
36ed4f51
RD
3431 {
3432 arg3 = (int)(SWIG_As_int(obj2));
3433 if (SWIG_arg_fail(3)) SWIG_fail;
3434 }
bfddbb17
RD
3435 }
3436 if (obj3) {
3437 {
3438 arg4 = wxString_in_helper(obj3);
3439 if (arg4 == NULL) SWIG_fail;
b411df4a 3440 temp4 = true;
bfddbb17 3441 }
d55e5bfc
RD
3442 }
3443 if (obj4) {
3444 {
3445 arg5 = &temp5;
3446 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3447 }
3448 }
3449 if (obj5) {
3450 {
3451 arg6 = &temp6;
3452 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3453 }
3454 }
3455 if (obj6) {
36ed4f51
RD
3456 {
3457 arg7 = (long)(SWIG_As_long(obj6));
3458 if (SWIG_arg_fail(7)) SWIG_fail;
3459 }
d55e5bfc
RD
3460 }
3461 if (obj7) {
36ed4f51
RD
3462 {
3463 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3464 if (SWIG_arg_fail(8)) SWIG_fail;
3465 if (arg8 == NULL) {
3466 SWIG_null_ref("wxValidator");
3467 }
3468 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
3469 }
3470 }
3471 if (obj8) {
3472 {
3473 arg9 = wxString_in_helper(obj8);
3474 if (arg9 == NULL) SWIG_fail;
b411df4a 3475 temp9 = true;
d55e5bfc
RD
3476 }
3477 }
3478 {
3479 PyThreadState* __tstate = wxPyBeginAllowThreads();
3480 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3481
3482 wxPyEndAllowThreads(__tstate);
3483 if (PyErr_Occurred()) SWIG_fail;
3484 }
3485 {
3486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3487 }
3488 {
3489 if (temp4)
3490 delete arg4;
3491 }
3492 {
3493 if (temp9)
3494 delete arg9;
3495 }
3496 return resultobj;
3497 fail:
3498 {
3499 if (temp4)
3500 delete arg4;
3501 }
3502 {
3503 if (temp9)
3504 delete arg9;
3505 }
3506 return NULL;
3507}
3508
3509
c370783e 3510static PyObject *_wrap_CheckBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3511 PyObject *resultobj;
3512 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3513 bool result;
3514 PyObject * obj0 = 0 ;
3515 char *kwnames[] = {
3516 (char *) "self", NULL
3517 };
3518
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3520 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3521 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 result = (bool)(arg1)->GetValue();
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 {
3530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3531 }
3532 return resultobj;
3533 fail:
3534 return NULL;
3535}
3536
3537
c370783e 3538static PyObject *_wrap_CheckBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3539 PyObject *resultobj;
3540 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3541 bool result;
3542 PyObject * obj0 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
36ed4f51
RD
3548 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3549 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 result = (bool)(arg1)->IsChecked();
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 {
3558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3559 }
3560 return resultobj;
3561 fail:
3562 return NULL;
3563}
3564
3565
c370783e 3566static PyObject *_wrap_CheckBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3567 PyObject *resultobj;
3568 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3569 bool arg2 ;
3570 PyObject * obj0 = 0 ;
3571 PyObject * obj1 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self",(char *) "state", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3578 if (SWIG_arg_fail(1)) SWIG_fail;
3579 {
3580 arg2 = (bool const)(SWIG_As_bool(obj1));
3581 if (SWIG_arg_fail(2)) SWIG_fail;
3582 }
d55e5bfc
RD
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 (arg1)->SetValue(arg2);
3586
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 Py_INCREF(Py_None); resultobj = Py_None;
3591 return resultobj;
3592 fail:
3593 return NULL;
3594}
3595
3596
c370783e 3597static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3598 PyObject *resultobj;
3599 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3600 wxCheckBoxState result;
d55e5bfc
RD
3601 PyObject * obj0 = 0 ;
3602 char *kwnames[] = {
3603 (char *) "self", NULL
3604 };
3605
3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3611 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
d55e5bfc
RD
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
36ed4f51 3616 resultobj = SWIG_From_int((result));
d55e5bfc
RD
3617 return resultobj;
3618 fail:
3619 return NULL;
3620}
3621
3622
c370783e 3623static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3624 PyObject *resultobj;
3625 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
36ed4f51 3626 wxCheckBoxState arg2 ;
d55e5bfc
RD
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "state", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail;
3636 {
3637 arg2 = (wxCheckBoxState)(SWIG_As_int(obj1));
3638 if (SWIG_arg_fail(2)) SWIG_fail;
3639 }
d55e5bfc
RD
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 Py_INCREF(Py_None); resultobj = Py_None;
3648 return resultobj;
3649 fail:
3650 return NULL;
3651}
3652
3653
c370783e 3654static PyObject *_wrap_CheckBox_Is3State(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3655 PyObject *resultobj;
3656 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3657 bool result;
3658 PyObject * obj0 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
36ed4f51
RD
3664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3665 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 result = (bool)((wxCheckBox const *)arg1)->Is3State();
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 {
3674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3675 }
3676 return resultobj;
3677 fail:
3678 return NULL;
3679}
3680
3681
c370783e 3682static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3683 PyObject *resultobj;
3684 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
3685 bool result;
3686 PyObject * obj0 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
36ed4f51
RD
3692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckBox, SWIG_POINTER_EXCEPTION | 0);
3693 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3703 }
3704 return resultobj;
3705 fail:
3706 return NULL;
3707}
3708
3709
c370783e 3710static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 3711 PyObject *resultobj;
36ed4f51 3712 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
3713 wxVisualAttributes result;
3714 PyObject * obj0 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "variant", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3720 if (obj0) {
36ed4f51
RD
3721 {
3722 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
3723 if (SWIG_arg_fail(1)) SWIG_fail;
3724 }
f20a2e1f
RD
3725 }
3726 {
0439c23b 3727 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3730
3731 wxPyEndAllowThreads(__tstate);
110da5b0 3732 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3733 }
3734 {
3735 wxVisualAttributes * resultptr;
36ed4f51 3736 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
3737 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3738 }
3739 return resultobj;
3740 fail:
3741 return NULL;
3742}
3743
3744
c370783e 3745static PyObject * CheckBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
3746 PyObject *obj;
3747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3748 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
3749 Py_INCREF(obj);
3750 return Py_BuildValue((char *)"");
3751}
c370783e 3752static int _wrap_ChoiceNameStr_set(PyObject *) {
d55e5bfc
RD
3753 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
3754 return 1;
3755}
3756
3757
36ed4f51 3758static PyObject *_wrap_ChoiceNameStr_get(void) {
d55e5bfc
RD
3759 PyObject *pyobj;
3760
3761 {
3762#if wxUSE_UNICODE
3763 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3764#else
3765 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
3766#endif
3767 }
3768 return pyobj;
3769}
3770
3771
c370783e 3772static PyObject *_wrap_new_Choice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3773 PyObject *resultobj;
3774 wxWindow *arg1 = (wxWindow *) 0 ;
3775 int arg2 = (int) -1 ;
3776 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3777 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3778 wxSize const &arg4_defvalue = wxDefaultSize ;
3779 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3780 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
3781 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
3782 long arg6 = (long) 0 ;
3783 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3784 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3785 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
3786 wxString *arg8 = (wxString *) &arg8_defvalue ;
3787 wxChoice *result;
3788 wxPoint temp3 ;
3789 wxSize temp4 ;
b411df4a
RD
3790 bool temp5 = false ;
3791 bool temp8 = false ;
d55e5bfc
RD
3792 PyObject * obj0 = 0 ;
3793 PyObject * obj1 = 0 ;
3794 PyObject * obj2 = 0 ;
3795 PyObject * obj3 = 0 ;
3796 PyObject * obj4 = 0 ;
3797 PyObject * obj5 = 0 ;
3798 PyObject * obj6 = 0 ;
3799 PyObject * obj7 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
3805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 3807 if (obj1) {
36ed4f51
RD
3808 {
3809 arg2 = (int)(SWIG_As_int(obj1));
3810 if (SWIG_arg_fail(2)) SWIG_fail;
3811 }
d55e5bfc
RD
3812 }
3813 if (obj2) {
3814 {
3815 arg3 = &temp3;
3816 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3817 }
3818 }
3819 if (obj3) {
3820 {
3821 arg4 = &temp4;
3822 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3823 }
3824 }
3825 if (obj4) {
3826 {
3827 if (! PySequence_Check(obj4)) {
3828 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3829 SWIG_fail;
3830 }
3831 arg5 = new wxArrayString;
b411df4a 3832 temp5 = true;
d55e5bfc
RD
3833 int i, len=PySequence_Length(obj4);
3834 for (i=0; i<len; i++) {
3835 PyObject* item = PySequence_GetItem(obj4, i);
71237536 3836 wxString* s = wxString_in_helper(item);
d55e5bfc 3837 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
3838 arg5->Add(*s);
3839 delete s;
d55e5bfc 3840 Py_DECREF(item);
d55e5bfc
RD
3841 }
3842 }
3843 }
3844 if (obj5) {
36ed4f51
RD
3845 {
3846 arg6 = (long)(SWIG_As_long(obj5));
3847 if (SWIG_arg_fail(6)) SWIG_fail;
3848 }
d55e5bfc
RD
3849 }
3850 if (obj6) {
36ed4f51
RD
3851 {
3852 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
3853 if (SWIG_arg_fail(7)) SWIG_fail;
3854 if (arg7 == NULL) {
3855 SWIG_null_ref("wxValidator");
3856 }
3857 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
3858 }
3859 }
3860 if (obj7) {
3861 {
3862 arg8 = wxString_in_helper(obj7);
3863 if (arg8 == NULL) SWIG_fail;
b411df4a 3864 temp8 = true;
d55e5bfc
RD
3865 }
3866 }
3867 {
0439c23b 3868 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
3870 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3871
3872 wxPyEndAllowThreads(__tstate);
110da5b0 3873 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3874 }
3875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3876 {
3877 if (temp5) delete arg5;
3878 }
3879 {
3880 if (temp8)
3881 delete arg8;
3882 }
3883 return resultobj;
3884 fail:
3885 {
3886 if (temp5) delete arg5;
3887 }
3888 {
3889 if (temp8)
3890 delete arg8;
3891 }
3892 return NULL;
3893}
3894
3895
c370783e 3896static PyObject *_wrap_new_PreChoice(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3897 PyObject *resultobj;
3898 wxChoice *result;
3899 char *kwnames[] = {
3900 NULL
3901 };
3902
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
3904 {
0439c23b 3905 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3906 PyThreadState* __tstate = wxPyBeginAllowThreads();
3907 result = (wxChoice *)new wxChoice();
3908
3909 wxPyEndAllowThreads(__tstate);
110da5b0 3910 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3911 }
3912 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
3913 return resultobj;
3914 fail:
3915 return NULL;
3916}
3917
3918
c370783e 3919static PyObject *_wrap_Choice_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
3920 PyObject *resultobj;
3921 wxChoice *arg1 = (wxChoice *) 0 ;
3922 wxWindow *arg2 = (wxWindow *) 0 ;
3923 int arg3 = (int) -1 ;
3924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3926 wxSize const &arg5_defvalue = wxDefaultSize ;
3927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3928 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
3929 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
3930 long arg7 = (long) 0 ;
3931 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3932 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3933 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
3934 wxString *arg9 = (wxString *) &arg9_defvalue ;
3935 bool result;
3936 wxPoint temp4 ;
3937 wxSize temp5 ;
b411df4a
RD
3938 bool temp6 = false ;
3939 bool temp9 = false ;
d55e5bfc
RD
3940 PyObject * obj0 = 0 ;
3941 PyObject * obj1 = 0 ;
3942 PyObject * obj2 = 0 ;
3943 PyObject * obj3 = 0 ;
3944 PyObject * obj4 = 0 ;
3945 PyObject * obj5 = 0 ;
3946 PyObject * obj6 = 0 ;
3947 PyObject * obj7 = 0 ;
3948 PyObject * obj8 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
3954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoice, SWIG_POINTER_EXCEPTION | 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail;
3956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3957 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 3958 if (obj2) {
36ed4f51
RD
3959 {
3960 arg3 = (int)(SWIG_As_int(obj2));
3961 if (SWIG_arg_fail(3)) SWIG_fail;
3962 }
d55e5bfc
RD
3963 }
3964 if (obj3) {
3965 {
3966 arg4 = &temp4;
3967 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3968 }
3969 }
3970 if (obj4) {
3971 {
3972 arg5 = &temp5;
3973 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3974 }
3975 }
3976 if (obj5) {
3977 {
3978 if (! PySequence_Check(obj5)) {
3979 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3980 SWIG_fail;
3981 }
3982 arg6 = new wxArrayString;
b411df4a 3983 temp6 = true;
d55e5bfc
RD
3984 int i, len=PySequence_Length(obj5);
3985 for (i=0; i<len; i++) {
3986 PyObject* item = PySequence_GetItem(obj5, i);
71237536 3987 wxString* s = wxString_in_helper(item);
d55e5bfc 3988 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
3989 arg6->Add(*s);
3990 delete s;
d55e5bfc 3991 Py_DECREF(item);
d55e5bfc
RD
3992 }
3993 }
3994 }
3995 if (obj6) {
36ed4f51
RD
3996 {
3997 arg7 = (long)(SWIG_As_long(obj6));
3998 if (SWIG_arg_fail(7)) SWIG_fail;
3999 }
d55e5bfc
RD
4000 }
4001 if (obj7) {
36ed4f51
RD
4002 {
4003 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4004 if (SWIG_arg_fail(8)) SWIG_fail;
4005 if (arg8 == NULL) {
4006 SWIG_null_ref("wxValidator");
4007 }
4008 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4009 }
4010 }
4011 if (obj8) {
4012 {
4013 arg9 = wxString_in_helper(obj8);
4014 if (arg9 == NULL) SWIG_fail;
b411df4a 4015 temp9 = true;
d55e5bfc
RD
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 {
4026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4027 }
4028 {
4029 if (temp6) delete arg6;
4030 }
4031 {
4032 if (temp9)
4033 delete arg9;
4034 }
4035 return resultobj;
4036 fail:
4037 {
4038 if (temp6) delete arg6;
4039 }
4040 {
4041 if (temp9)
4042 delete arg9;
4043 }
4044 return NULL;
4045}
4046
4047
c370783e 4048static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 4049 PyObject *resultobj;
36ed4f51 4050 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
4051 wxVisualAttributes result;
4052 PyObject * obj0 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "variant", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4058 if (obj0) {
36ed4f51
RD
4059 {
4060 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
4061 if (SWIG_arg_fail(1)) SWIG_fail;
4062 }
f20a2e1f
RD
4063 }
4064 {
0439c23b 4065 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
4068
4069 wxPyEndAllowThreads(__tstate);
110da5b0 4070 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4071 }
4072 {
4073 wxVisualAttributes * resultptr;
36ed4f51 4074 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
4075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4076 }
4077 return resultobj;
4078 fail:
4079 return NULL;
4080}
4081
4082
c370783e 4083static PyObject * Choice_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
4084 PyObject *obj;
4085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4086 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
4087 Py_INCREF(obj);
4088 return Py_BuildValue((char *)"");
4089}
c370783e 4090static int _wrap_ComboBoxNameStr_set(PyObject *) {
d55e5bfc
RD
4091 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
4092 return 1;
4093}
4094
4095
36ed4f51 4096static PyObject *_wrap_ComboBoxNameStr_get(void) {
d55e5bfc
RD
4097 PyObject *pyobj;
4098
4099 {
4100#if wxUSE_UNICODE
4101 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4102#else
4103 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
4104#endif
4105 }
4106 return pyobj;
4107}
4108
4109
c370783e 4110static PyObject *_wrap_new_ComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4111 PyObject *resultobj;
4112 wxWindow *arg1 = (wxWindow *) 0 ;
4113 int arg2 = (int) -1 ;
4114 wxString const &arg3_defvalue = wxPyEmptyString ;
4115 wxString *arg3 = (wxString *) &arg3_defvalue ;
4116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4118 wxSize const &arg5_defvalue = wxDefaultSize ;
4119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4120 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
4121 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
4122 long arg7 = (long) 0 ;
4123 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4124 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4125 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
4126 wxString *arg9 = (wxString *) &arg9_defvalue ;
4127 wxComboBox *result;
b411df4a 4128 bool temp3 = false ;
d55e5bfc
RD
4129 wxPoint temp4 ;
4130 wxSize temp5 ;
b411df4a
RD
4131 bool temp6 = false ;
4132 bool temp9 = false ;
d55e5bfc
RD
4133 PyObject * obj0 = 0 ;
4134 PyObject * obj1 = 0 ;
4135 PyObject * obj2 = 0 ;
4136 PyObject * obj3 = 0 ;
4137 PyObject * obj4 = 0 ;
4138 PyObject * obj5 = 0 ;
4139 PyObject * obj6 = 0 ;
4140 PyObject * obj7 = 0 ;
4141 PyObject * obj8 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
4147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4148 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 4149 if (obj1) {
36ed4f51
RD
4150 {
4151 arg2 = (int)(SWIG_As_int(obj1));
4152 if (SWIG_arg_fail(2)) SWIG_fail;
4153 }
d55e5bfc
RD
4154 }
4155 if (obj2) {
4156 {
4157 arg3 = wxString_in_helper(obj2);
4158 if (arg3 == NULL) SWIG_fail;
b411df4a 4159 temp3 = true;
d55e5bfc
RD
4160 }
4161 }
4162 if (obj3) {
4163 {
4164 arg4 = &temp4;
4165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4166 }
4167 }
4168 if (obj4) {
4169 {
4170 arg5 = &temp5;
4171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4172 }
4173 }
4174 if (obj5) {
4175 {
4176 if (! PySequence_Check(obj5)) {
4177 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4178 SWIG_fail;
4179 }
4180 arg6 = new wxArrayString;
b411df4a 4181 temp6 = true;
d55e5bfc
RD
4182 int i, len=PySequence_Length(obj5);
4183 for (i=0; i<len; i++) {
4184 PyObject* item = PySequence_GetItem(obj5, i);
71237536 4185 wxString* s = wxString_in_helper(item);
d55e5bfc 4186 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4187 arg6->Add(*s);
4188 delete s;
d55e5bfc 4189 Py_DECREF(item);
d55e5bfc
RD
4190 }
4191 }
4192 }
4193 if (obj6) {
36ed4f51
RD
4194 {
4195 arg7 = (long)(SWIG_As_long(obj6));
4196 if (SWIG_arg_fail(7)) SWIG_fail;
4197 }
d55e5bfc
RD
4198 }
4199 if (obj7) {
36ed4f51
RD
4200 {
4201 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4202 if (SWIG_arg_fail(8)) SWIG_fail;
4203 if (arg8 == NULL) {
4204 SWIG_null_ref("wxValidator");
4205 }
4206 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
4207 }
4208 }
4209 if (obj8) {
4210 {
4211 arg9 = wxString_in_helper(obj8);
4212 if (arg9 == NULL) SWIG_fail;
b411df4a 4213 temp9 = true;
d55e5bfc
RD
4214 }
4215 }
4216 {
0439c23b 4217 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4220
4221 wxPyEndAllowThreads(__tstate);
110da5b0 4222 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4223 }
4224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4225 {
4226 if (temp3)
4227 delete arg3;
4228 }
4229 {
4230 if (temp6) delete arg6;
4231 }
4232 {
4233 if (temp9)
4234 delete arg9;
4235 }
4236 return resultobj;
4237 fail:
4238 {
4239 if (temp3)
4240 delete arg3;
4241 }
4242 {
4243 if (temp6) delete arg6;
4244 }
4245 {
4246 if (temp9)
4247 delete arg9;
4248 }
4249 return NULL;
4250}
4251
4252
c370783e 4253static PyObject *_wrap_new_PreComboBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4254 PyObject *resultobj;
4255 wxComboBox *result;
4256 char *kwnames[] = {
4257 NULL
4258 };
4259
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
4261 {
0439c23b 4262 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (wxComboBox *)new wxComboBox();
4265
4266 wxPyEndAllowThreads(__tstate);
110da5b0 4267 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4268 }
4269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
4270 return resultobj;
4271 fail:
4272 return NULL;
4273}
4274
4275
c370783e 4276static PyObject *_wrap_ComboBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4277 PyObject *resultobj;
4278 wxComboBox *arg1 = (wxComboBox *) 0 ;
4279 wxWindow *arg2 = (wxWindow *) 0 ;
4280 int arg3 = (int) -1 ;
4281 wxString const &arg4_defvalue = wxPyEmptyString ;
4282 wxString *arg4 = (wxString *) &arg4_defvalue ;
4283 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4284 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4285 wxSize const &arg6_defvalue = wxDefaultSize ;
4286 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4287 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
4288 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
4289 long arg8 = (long) 0 ;
4290 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4291 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4292 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4293 wxString *arg10 = (wxString *) &arg10_defvalue ;
4294 bool result;
b411df4a 4295 bool temp4 = false ;
d55e5bfc
RD
4296 wxPoint temp5 ;
4297 wxSize temp6 ;
b411df4a
RD
4298 bool temp7 = false ;
4299 bool temp10 = false ;
d55e5bfc
RD
4300 PyObject * obj0 = 0 ;
4301 PyObject * obj1 = 0 ;
4302 PyObject * obj2 = 0 ;
4303 PyObject * obj3 = 0 ;
4304 PyObject * obj4 = 0 ;
4305 PyObject * obj5 = 0 ;
4306 PyObject * obj6 = 0 ;
4307 PyObject * obj7 = 0 ;
4308 PyObject * obj8 = 0 ;
4309 PyObject * obj9 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
4315 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4316 if (SWIG_arg_fail(1)) SWIG_fail;
4317 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4318 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 4319 if (obj2) {
36ed4f51
RD
4320 {
4321 arg3 = (int)(SWIG_As_int(obj2));
4322 if (SWIG_arg_fail(3)) SWIG_fail;
4323 }
d55e5bfc
RD
4324 }
4325 if (obj3) {
4326 {
4327 arg4 = wxString_in_helper(obj3);
4328 if (arg4 == NULL) SWIG_fail;
b411df4a 4329 temp4 = true;
d55e5bfc
RD
4330 }
4331 }
4332 if (obj4) {
4333 {
4334 arg5 = &temp5;
4335 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4336 }
4337 }
4338 if (obj5) {
4339 {
4340 arg6 = &temp6;
4341 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4342 }
4343 }
4344 if (obj6) {
4345 {
4346 if (! PySequence_Check(obj6)) {
4347 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4348 SWIG_fail;
4349 }
4350 arg7 = new wxArrayString;
b411df4a 4351 temp7 = true;
d55e5bfc
RD
4352 int i, len=PySequence_Length(obj6);
4353 for (i=0; i<len; i++) {
4354 PyObject* item = PySequence_GetItem(obj6, i);
71237536 4355 wxString* s = wxString_in_helper(item);
d55e5bfc 4356 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
4357 arg7->Add(*s);
4358 delete s;
d55e5bfc 4359 Py_DECREF(item);
d55e5bfc
RD
4360 }
4361 }
4362 }
4363 if (obj7) {
36ed4f51
RD
4364 {
4365 arg8 = (long)(SWIG_As_long(obj7));
4366 if (SWIG_arg_fail(8)) SWIG_fail;
4367 }
d55e5bfc
RD
4368 }
4369 if (obj8) {
36ed4f51
RD
4370 {
4371 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4372 if (SWIG_arg_fail(9)) SWIG_fail;
4373 if (arg9 == NULL) {
4374 SWIG_null_ref("wxValidator");
4375 }
4376 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
4377 }
4378 }
4379 if (obj9) {
4380 {
4381 arg10 = wxString_in_helper(obj9);
4382 if (arg10 == NULL) SWIG_fail;
b411df4a 4383 temp10 = true;
d55e5bfc
RD
4384 }
4385 }
4386 {
4387 PyThreadState* __tstate = wxPyBeginAllowThreads();
4388 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4389
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) SWIG_fail;
4392 }
4393 {
4394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4395 }
4396 {
4397 if (temp4)
4398 delete arg4;
4399 }
4400 {
4401 if (temp7) delete arg7;
4402 }
4403 {
4404 if (temp10)
4405 delete arg10;
4406 }
4407 return resultobj;
4408 fail:
4409 {
4410 if (temp4)
4411 delete arg4;
4412 }
4413 {
4414 if (temp7) delete arg7;
4415 }
4416 {
4417 if (temp10)
4418 delete arg10;
4419 }
4420 return NULL;
4421}
4422
4423
c370783e 4424static PyObject *_wrap_ComboBox_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4425 PyObject *resultobj;
4426 wxComboBox *arg1 = (wxComboBox *) 0 ;
4427 wxString result;
4428 PyObject * obj0 = 0 ;
4429 char *kwnames[] = {
4430 (char *) "self", NULL
4431 };
4432
4433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
4434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = ((wxComboBox const *)arg1)->GetValue();
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 {
4444#if wxUSE_UNICODE
4445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4446#else
4447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4448#endif
4449 }
4450 return resultobj;
4451 fail:
4452 return NULL;
4453}
4454
4455
c370783e 4456static PyObject *_wrap_ComboBox_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4457 PyObject *resultobj;
4458 wxComboBox *arg1 = (wxComboBox *) 0 ;
4459 wxString *arg2 = 0 ;
b411df4a 4460 bool temp2 = false ;
d55e5bfc
RD
4461 PyObject * obj0 = 0 ;
4462 PyObject * obj1 = 0 ;
4463 char *kwnames[] = {
4464 (char *) "self",(char *) "value", NULL
4465 };
4466
4467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4470 {
4471 arg2 = wxString_in_helper(obj1);
4472 if (arg2 == NULL) SWIG_fail;
b411df4a 4473 temp2 = true;
d55e5bfc
RD
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetValue((wxString const &)*arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 {
4484 if (temp2)
4485 delete arg2;
4486 }
4487 return resultobj;
4488 fail:
4489 {
4490 if (temp2)
4491 delete arg2;
4492 }
4493 return NULL;
4494}
4495
4496
c370783e 4497static PyObject *_wrap_ComboBox_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4498 PyObject *resultobj;
4499 wxComboBox *arg1 = (wxComboBox *) 0 ;
4500 PyObject * obj0 = 0 ;
4501 char *kwnames[] = {
4502 (char *) "self", NULL
4503 };
4504
4505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
4506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 (arg1)->Copy();
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 return resultobj;
4517 fail:
4518 return NULL;
4519}
4520
4521
c370783e 4522static PyObject *_wrap_ComboBox_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4523 PyObject *resultobj;
4524 wxComboBox *arg1 = (wxComboBox *) 0 ;
4525 PyObject * obj0 = 0 ;
4526 char *kwnames[] = {
4527 (char *) "self", NULL
4528 };
4529
4530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
4531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 (arg1)->Cut();
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
4541 return resultobj;
4542 fail:
4543 return NULL;
4544}
4545
4546
c370783e 4547static PyObject *_wrap_ComboBox_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4548 PyObject *resultobj;
4549 wxComboBox *arg1 = (wxComboBox *) 0 ;
4550 PyObject * obj0 = 0 ;
4551 char *kwnames[] = {
4552 (char *) "self", NULL
4553 };
4554
4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
4556 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4557 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 (arg1)->Paste();
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
c370783e 4572static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4573 PyObject *resultobj;
4574 wxComboBox *arg1 = (wxComboBox *) 0 ;
4575 long arg2 ;
4576 PyObject * obj0 = 0 ;
4577 PyObject * obj1 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "pos", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail;
4585 {
4586 arg2 = (long)(SWIG_As_long(obj1));
4587 if (SWIG_arg_fail(2)) SWIG_fail;
4588 }
d55e5bfc
RD
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->SetInsertionPoint(arg2);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
c370783e 4603static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4604 PyObject *resultobj;
4605 wxComboBox *arg1 = (wxComboBox *) 0 ;
4606 long result;
4607 PyObject * obj0 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
4613 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
36ed4f51
RD
4622 {
4623 resultobj = SWIG_From_long((long)(result));
4624 }
d55e5bfc
RD
4625 return resultobj;
4626 fail:
4627 return NULL;
4628}
4629
4630
c370783e 4631static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4632 PyObject *resultobj;
4633 wxComboBox *arg1 = (wxComboBox *) 0 ;
4634 long result;
4635 PyObject * obj0 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "self", NULL
4638 };
4639
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
4641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4642 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
36ed4f51
RD
4650 {
4651 resultobj = SWIG_From_long((long)(result));
4652 }
d55e5bfc
RD
4653 return resultobj;
4654 fail:
4655 return NULL;
4656}
4657
4658
c370783e 4659static PyObject *_wrap_ComboBox_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4660 PyObject *resultobj;
4661 wxComboBox *arg1 = (wxComboBox *) 0 ;
4662 long arg2 ;
4663 long arg3 ;
4664 wxString *arg4 = 0 ;
b411df4a 4665 bool temp4 = false ;
d55e5bfc
RD
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 PyObject * obj2 = 0 ;
4669 PyObject * obj3 = 0 ;
4670 char *kwnames[] = {
4671 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
4672 };
4673
4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
4675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4676 if (SWIG_arg_fail(1)) SWIG_fail;
4677 {
4678 arg2 = (long)(SWIG_As_long(obj1));
4679 if (SWIG_arg_fail(2)) SWIG_fail;
4680 }
4681 {
4682 arg3 = (long)(SWIG_As_long(obj2));
4683 if (SWIG_arg_fail(3)) SWIG_fail;
4684 }
d55e5bfc
RD
4685 {
4686 arg4 = wxString_in_helper(obj3);
4687 if (arg4 == NULL) SWIG_fail;
b411df4a 4688 temp4 = true;
d55e5bfc
RD
4689 }
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) SWIG_fail;
4696 }
4697 Py_INCREF(Py_None); resultobj = Py_None;
4698 {
4699 if (temp4)
4700 delete arg4;
4701 }
4702 return resultobj;
4703 fail:
4704 {
4705 if (temp4)
4706 delete arg4;
4707 }
4708 return NULL;
4709}
4710
4711
c370783e 4712static PyObject *_wrap_ComboBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4713 PyObject *resultobj;
4714 wxComboBox *arg1 = (wxComboBox *) 0 ;
4715 int arg2 ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "n", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
4725 {
4726 arg2 = (int)(SWIG_As_int(obj1));
4727 if (SWIG_arg_fail(2)) SWIG_fail;
4728 }
d55e5bfc
RD
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 (arg1)->SetSelection(arg2);
4732
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 Py_INCREF(Py_None); resultobj = Py_None;
4737 return resultobj;
4738 fail:
4739 return NULL;
4740}
4741
4742
c370783e 4743static PyObject *_wrap_ComboBox_SetMark(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4744 PyObject *resultobj;
4745 wxComboBox *arg1 = (wxComboBox *) 0 ;
4746 long arg2 ;
4747 long arg3 ;
4748 PyObject * obj0 = 0 ;
4749 PyObject * obj1 = 0 ;
4750 PyObject * obj2 = 0 ;
4751 char *kwnames[] = {
4752 (char *) "self",(char *) "from",(char *) "to", NULL
4753 };
4754
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4757 if (SWIG_arg_fail(1)) SWIG_fail;
4758 {
4759 arg2 = (long)(SWIG_As_long(obj1));
4760 if (SWIG_arg_fail(2)) SWIG_fail;
4761 }
4762 {
4763 arg3 = (long)(SWIG_As_long(obj2));
4764 if (SWIG_arg_fail(3)) SWIG_fail;
4765 }
d55e5bfc
RD
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 (arg1)->SetSelection(arg2,arg3);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 Py_INCREF(Py_None); resultobj = Py_None;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
c370783e 4780static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4781 PyObject *resultobj;
4782 wxComboBox *arg1 = (wxComboBox *) 0 ;
4783 wxString *arg2 = 0 ;
4784 bool result;
b411df4a 4785 bool temp2 = false ;
121b9a67
RD
4786 PyObject * obj0 = 0 ;
4787 PyObject * obj1 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "string", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4794 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
4795 {
4796 arg2 = wxString_in_helper(obj1);
4797 if (arg2 == NULL) SWIG_fail;
b411df4a 4798 temp2 = true;
121b9a67
RD
4799 }
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 {
4808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4809 }
4810 {
4811 if (temp2)
4812 delete arg2;
4813 }
4814 return resultobj;
4815 fail:
4816 {
4817 if (temp2)
4818 delete arg2;
4819 }
4820 return NULL;
4821}
4822
4823
c370783e 4824static PyObject *_wrap_ComboBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
4825 PyObject *resultobj;
4826 wxComboBox *arg1 = (wxComboBox *) 0 ;
4827 int arg2 ;
4828 wxString *arg3 = 0 ;
b411df4a 4829 bool temp3 = false ;
121b9a67
RD
4830 PyObject * obj0 = 0 ;
4831 PyObject * obj1 = 0 ;
4832 PyObject * obj2 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "n",(char *) "string", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4838 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4839 if (SWIG_arg_fail(1)) SWIG_fail;
4840 {
4841 arg2 = (int)(SWIG_As_int(obj1));
4842 if (SWIG_arg_fail(2)) SWIG_fail;
4843 }
121b9a67
RD
4844 {
4845 arg3 = wxString_in_helper(obj2);
4846 if (arg3 == NULL) SWIG_fail;
b411df4a 4847 temp3 = true;
121b9a67
RD
4848 }
4849 {
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 (arg1)->SetString(arg2,(wxString const &)*arg3);
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 Py_INCREF(Py_None); resultobj = Py_None;
4857 {
4858 if (temp3)
4859 delete arg3;
4860 }
4861 return resultobj;
4862 fail:
4863 {
4864 if (temp3)
4865 delete arg3;
4866 }
4867 return NULL;
4868}
4869
4870
c370783e 4871static PyObject *_wrap_ComboBox_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4872 PyObject *resultobj;
4873 wxComboBox *arg1 = (wxComboBox *) 0 ;
4874 bool arg2 ;
4875 PyObject * obj0 = 0 ;
4876 PyObject * obj1 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self",(char *) "editable", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4883 if (SWIG_arg_fail(1)) SWIG_fail;
4884 {
4885 arg2 = (bool)(SWIG_As_bool(obj1));
4886 if (SWIG_arg_fail(2)) SWIG_fail;
4887 }
d55e5bfc
RD
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 (arg1)->SetEditable(arg2);
4891
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 Py_INCREF(Py_None); resultobj = Py_None;
4896 return resultobj;
4897 fail:
4898 return NULL;
4899}
4900
4901
c370783e 4902static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4903 PyObject *resultobj;
4904 wxComboBox *arg1 = (wxComboBox *) 0 ;
4905 PyObject * obj0 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
4911 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4912 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->SetInsertionPointEnd();
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924}
4925
4926
c370783e 4927static PyObject *_wrap_ComboBox_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
4928 PyObject *resultobj;
4929 wxComboBox *arg1 = (wxComboBox *) 0 ;
4930 long arg2 ;
4931 long arg3 ;
4932 PyObject * obj0 = 0 ;
4933 PyObject * obj1 = 0 ;
4934 PyObject * obj2 = 0 ;
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "from",(char *) "to", NULL
4937 };
4938
4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4941 if (SWIG_arg_fail(1)) SWIG_fail;
4942 {
4943 arg2 = (long)(SWIG_As_long(obj1));
4944 if (SWIG_arg_fail(2)) SWIG_fail;
4945 }
4946 {
4947 arg3 = (long)(SWIG_As_long(obj2));
4948 if (SWIG_arg_fail(3)) SWIG_fail;
4949 }
d55e5bfc
RD
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 (arg1)->Remove(arg2,arg3);
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 Py_INCREF(Py_None); resultobj = Py_None;
4958 return resultobj;
4959 fail:
4960 return NULL;
4961}
4962
4963
5cbf236d
RD
4964static PyObject *_wrap_ComboBox_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxComboBox *arg1 = (wxComboBox *) 0 ;
4967 bool result;
4968 PyObject * obj0 = 0 ;
4969 char *kwnames[] = {
4970 (char *) "self", NULL
4971 };
4972
4973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
4974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
4975 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 result = (bool)((wxComboBox const *)arg1)->IsEditable();
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 {
4984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4985 }
4986 return resultobj;
4987 fail:
4988 return NULL;
4989}
4990
4991
4992static PyObject *_wrap_ComboBox_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxComboBox *arg1 = (wxComboBox *) 0 ;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5001 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5002 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 (arg1)->Undo();
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) SWIG_fail;
5009 }
5010 Py_INCREF(Py_None); resultobj = Py_None;
5011 return resultobj;
5012 fail:
5013 return NULL;
5014}
5015
5016
5017static PyObject *_wrap_ComboBox_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxComboBox *arg1 = (wxComboBox *) 0 ;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5026 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5027 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5028 {
5029 PyThreadState* __tstate = wxPyBeginAllowThreads();
5030 (arg1)->Redo();
5031
5032 wxPyEndAllowThreads(__tstate);
5033 if (PyErr_Occurred()) SWIG_fail;
5034 }
5035 Py_INCREF(Py_None); resultobj = Py_None;
5036 return resultobj;
5037 fail:
5038 return NULL;
5039}
5040
5041
5042static PyObject *_wrap_ComboBox_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxComboBox *arg1 = (wxComboBox *) 0 ;
5045 PyObject * obj0 = 0 ;
5046 char *kwnames[] = {
5047 (char *) "self", NULL
5048 };
5049
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
5051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5052 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 (arg1)->SelectAll();
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 Py_INCREF(Py_None); resultobj = Py_None;
5061 return resultobj;
5062 fail:
5063 return NULL;
5064}
5065
5066
5067static PyObject *_wrap_ComboBox_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxComboBox *arg1 = (wxComboBox *) 0 ;
5070 bool result;
5071 PyObject * obj0 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
5077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5078 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (bool)((wxComboBox const *)arg1)->CanCopy();
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
5086 {
5087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5088 }
5089 return resultobj;
5090 fail:
5091 return NULL;
5092}
5093
5094
5095static PyObject *_wrap_ComboBox_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxComboBox *arg1 = (wxComboBox *) 0 ;
5098 bool result;
5099 PyObject * obj0 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
5105 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5106 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5107 {
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 result = (bool)((wxComboBox const *)arg1)->CanCut();
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 {
5115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5116 }
5117 return resultobj;
5118 fail:
5119 return NULL;
5120}
5121
5122
5123static PyObject *_wrap_ComboBox_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
5124 PyObject *resultobj;
5125 wxComboBox *arg1 = (wxComboBox *) 0 ;
5126 bool result;
5127 PyObject * obj0 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
5133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (bool)((wxComboBox const *)arg1)->CanPaste();
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 {
5143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5144 }
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
5151static PyObject *_wrap_ComboBox_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
5152 PyObject *resultobj;
5153 wxComboBox *arg1 = (wxComboBox *) 0 ;
5154 bool result;
5155 PyObject * obj0 = 0 ;
5156 char *kwnames[] = {
5157 (char *) "self", NULL
5158 };
5159
5160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5162 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (bool)((wxComboBox const *)arg1)->CanUndo();
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 {
5171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5172 }
5173 return resultobj;
5174 fail:
5175 return NULL;
5176}
5177
5178
5179static PyObject *_wrap_ComboBox_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
5180 PyObject *resultobj;
5181 wxComboBox *arg1 = (wxComboBox *) 0 ;
5182 bool result;
5183 PyObject * obj0 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxComboBox, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5cbf236d
RD
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (bool)((wxComboBox const *)arg1)->CanRedo();
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 {
5199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5200 }
5201 return resultobj;
5202 fail:
5203 return NULL;
5204}
5205
5206
c370783e 5207static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5208 PyObject *resultobj;
36ed4f51 5209 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5210 wxVisualAttributes result;
5211 PyObject * obj0 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "variant", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5217 if (obj0) {
36ed4f51
RD
5218 {
5219 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5220 if (SWIG_arg_fail(1)) SWIG_fail;
5221 }
f20a2e1f
RD
5222 }
5223 {
0439c23b 5224 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
5227
5228 wxPyEndAllowThreads(__tstate);
110da5b0 5229 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5230 }
5231 {
5232 wxVisualAttributes * resultptr;
36ed4f51 5233 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5235 }
5236 return resultobj;
5237 fail:
5238 return NULL;
5239}
5240
5241
c370783e 5242static PyObject * ComboBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5243 PyObject *obj;
5244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5245 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
5246 Py_INCREF(obj);
5247 return Py_BuildValue((char *)"");
5248}
c370783e 5249static int _wrap_GaugeNameStr_set(PyObject *) {
d55e5bfc
RD
5250 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
5251 return 1;
5252}
5253
5254
36ed4f51 5255static PyObject *_wrap_GaugeNameStr_get(void) {
d55e5bfc
RD
5256 PyObject *pyobj;
5257
5258 {
5259#if wxUSE_UNICODE
5260 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5261#else
5262 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
5263#endif
5264 }
5265 return pyobj;
5266}
5267
5268
c370783e 5269static PyObject *_wrap_new_Gauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5270 PyObject *resultobj;
5271 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5272 int arg2 = (int) -1 ;
5273 int arg3 = (int) 100 ;
d55e5bfc
RD
5274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5276 wxSize const &arg5_defvalue = wxDefaultSize ;
5277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5278 long arg6 = (long) wxGA_HORIZONTAL ;
5279 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5280 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5281 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
5282 wxString *arg8 = (wxString *) &arg8_defvalue ;
5283 wxGauge *result;
5284 wxPoint temp4 ;
5285 wxSize temp5 ;
b411df4a 5286 bool temp8 = false ;
d55e5bfc
RD
5287 PyObject * obj0 = 0 ;
5288 PyObject * obj1 = 0 ;
5289 PyObject * obj2 = 0 ;
5290 PyObject * obj3 = 0 ;
5291 PyObject * obj4 = 0 ;
5292 PyObject * obj5 = 0 ;
5293 PyObject * obj6 = 0 ;
5294 PyObject * obj7 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5297 };
5298
bfddbb17 5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
5300 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5301 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5302 if (obj1) {
36ed4f51
RD
5303 {
5304 arg2 = (int)(SWIG_As_int(obj1));
5305 if (SWIG_arg_fail(2)) SWIG_fail;
5306 }
bfddbb17
RD
5307 }
5308 if (obj2) {
36ed4f51
RD
5309 {
5310 arg3 = (int)(SWIG_As_int(obj2));
5311 if (SWIG_arg_fail(3)) SWIG_fail;
5312 }
bfddbb17 5313 }
d55e5bfc
RD
5314 if (obj3) {
5315 {
5316 arg4 = &temp4;
5317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5318 }
5319 }
5320 if (obj4) {
5321 {
5322 arg5 = &temp5;
5323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5324 }
5325 }
5326 if (obj5) {
36ed4f51
RD
5327 {
5328 arg6 = (long)(SWIG_As_long(obj5));
5329 if (SWIG_arg_fail(6)) SWIG_fail;
5330 }
d55e5bfc
RD
5331 }
5332 if (obj6) {
36ed4f51
RD
5333 {
5334 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5335 if (SWIG_arg_fail(7)) SWIG_fail;
5336 if (arg7 == NULL) {
5337 SWIG_null_ref("wxValidator");
5338 }
5339 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
5340 }
5341 }
5342 if (obj7) {
5343 {
5344 arg8 = wxString_in_helper(obj7);
5345 if (arg8 == NULL) SWIG_fail;
b411df4a 5346 temp8 = true;
d55e5bfc
RD
5347 }
5348 }
5349 {
0439c23b 5350 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5353
5354 wxPyEndAllowThreads(__tstate);
110da5b0 5355 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5356 }
5357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5358 {
5359 if (temp8)
5360 delete arg8;
5361 }
5362 return resultobj;
5363 fail:
5364 {
5365 if (temp8)
5366 delete arg8;
5367 }
5368 return NULL;
5369}
5370
5371
c370783e 5372static PyObject *_wrap_new_PreGauge(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5373 PyObject *resultobj;
5374 wxGauge *result;
5375 char *kwnames[] = {
5376 NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
5380 {
0439c23b 5381 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (wxGauge *)new wxGauge();
5384
5385 wxPyEndAllowThreads(__tstate);
110da5b0 5386 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5387 }
5388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
5389 return resultobj;
5390 fail:
5391 return NULL;
5392}
5393
5394
c370783e 5395static PyObject *_wrap_Gauge_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5396 PyObject *resultobj;
5397 wxGauge *arg1 = (wxGauge *) 0 ;
5398 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5399 int arg3 = (int) -1 ;
5400 int arg4 = (int) 100 ;
d55e5bfc
RD
5401 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5402 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5403 wxSize const &arg6_defvalue = wxDefaultSize ;
5404 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5405 long arg7 = (long) wxGA_HORIZONTAL ;
5406 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5407 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5408 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
5409 wxString *arg9 = (wxString *) &arg9_defvalue ;
5410 bool result;
5411 wxPoint temp5 ;
5412 wxSize temp6 ;
b411df4a 5413 bool temp9 = false ;
d55e5bfc
RD
5414 PyObject * obj0 = 0 ;
5415 PyObject * obj1 = 0 ;
5416 PyObject * obj2 = 0 ;
5417 PyObject * obj3 = 0 ;
5418 PyObject * obj4 = 0 ;
5419 PyObject * obj5 = 0 ;
5420 PyObject * obj6 = 0 ;
5421 PyObject * obj7 = 0 ;
5422 PyObject * obj8 = 0 ;
5423 char *kwnames[] = {
5424 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5425 };
5426
bfddbb17 5427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
5428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5429 if (SWIG_arg_fail(1)) SWIG_fail;
5430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5431 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 5432 if (obj2) {
36ed4f51
RD
5433 {
5434 arg3 = (int)(SWIG_As_int(obj2));
5435 if (SWIG_arg_fail(3)) SWIG_fail;
5436 }
bfddbb17
RD
5437 }
5438 if (obj3) {
36ed4f51
RD
5439 {
5440 arg4 = (int)(SWIG_As_int(obj3));
5441 if (SWIG_arg_fail(4)) SWIG_fail;
5442 }
bfddbb17 5443 }
d55e5bfc
RD
5444 if (obj4) {
5445 {
5446 arg5 = &temp5;
5447 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5448 }
5449 }
5450 if (obj5) {
5451 {
5452 arg6 = &temp6;
5453 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5454 }
5455 }
5456 if (obj6) {
36ed4f51
RD
5457 {
5458 arg7 = (long)(SWIG_As_long(obj6));
5459 if (SWIG_arg_fail(7)) SWIG_fail;
5460 }
d55e5bfc
RD
5461 }
5462 if (obj7) {
36ed4f51
RD
5463 {
5464 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
5465 if (SWIG_arg_fail(8)) SWIG_fail;
5466 if (arg8 == NULL) {
5467 SWIG_null_ref("wxValidator");
5468 }
5469 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
5470 }
5471 }
5472 if (obj8) {
5473 {
5474 arg9 = wxString_in_helper(obj8);
5475 if (arg9 == NULL) SWIG_fail;
b411df4a 5476 temp9 = true;
d55e5bfc
RD
5477 }
5478 }
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5488 }
5489 {
5490 if (temp9)
5491 delete arg9;
5492 }
5493 return resultobj;
5494 fail:
5495 {
5496 if (temp9)
5497 delete arg9;
5498 }
5499 return NULL;
5500}
5501
5502
c370783e 5503static PyObject *_wrap_Gauge_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5504 PyObject *resultobj;
5505 wxGauge *arg1 = (wxGauge *) 0 ;
5506 int arg2 ;
5507 PyObject * obj0 = 0 ;
5508 PyObject * obj1 = 0 ;
5509 char *kwnames[] = {
5510 (char *) "self",(char *) "range", NULL
5511 };
5512
5513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5515 if (SWIG_arg_fail(1)) SWIG_fail;
5516 {
5517 arg2 = (int)(SWIG_As_int(obj1));
5518 if (SWIG_arg_fail(2)) SWIG_fail;
5519 }
d55e5bfc
RD
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 (arg1)->SetRange(arg2);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 Py_INCREF(Py_None); resultobj = Py_None;
5528 return resultobj;
5529 fail:
5530 return NULL;
5531}
5532
5533
c370783e 5534static PyObject *_wrap_Gauge_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5535 PyObject *resultobj;
5536 wxGauge *arg1 = (wxGauge *) 0 ;
5537 int result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
5544 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (int)((wxGauge const *)arg1)->GetRange();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
36ed4f51
RD
5553 {
5554 resultobj = SWIG_From_int((int)(result));
5555 }
d55e5bfc
RD
5556 return resultobj;
5557 fail:
5558 return NULL;
5559}
5560
5561
c370783e 5562static PyObject *_wrap_Gauge_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5563 PyObject *resultobj;
5564 wxGauge *arg1 = (wxGauge *) 0 ;
5565 int arg2 ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self",(char *) "pos", NULL
5570 };
5571
5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5574 if (SWIG_arg_fail(1)) SWIG_fail;
5575 {
5576 arg2 = (int)(SWIG_As_int(obj1));
5577 if (SWIG_arg_fail(2)) SWIG_fail;
5578 }
d55e5bfc
RD
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->SetValue(arg2);
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 Py_INCREF(Py_None); resultobj = Py_None;
5587 return resultobj;
5588 fail:
5589 return NULL;
5590}
5591
5592
c370783e 5593static PyObject *_wrap_Gauge_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5594 PyObject *resultobj;
5595 wxGauge *arg1 = (wxGauge *) 0 ;
5596 int result;
5597 PyObject * obj0 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
5603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5604 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 result = (int)((wxGauge const *)arg1)->GetValue();
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
36ed4f51
RD
5612 {
5613 resultobj = SWIG_From_int((int)(result));
5614 }
d55e5bfc
RD
5615 return resultobj;
5616 fail:
5617 return NULL;
5618}
5619
5620
c370783e 5621static PyObject *_wrap_Gauge_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5622 PyObject *resultobj;
5623 wxGauge *arg1 = (wxGauge *) 0 ;
5624 bool result;
5625 PyObject * obj0 = 0 ;
5626 char *kwnames[] = {
5627 (char *) "self", NULL
5628 };
5629
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
5631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 result = (bool)((wxGauge const *)arg1)->IsVertical();
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 {
5641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5642 }
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
c370783e 5649static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5650 PyObject *resultobj;
5651 wxGauge *arg1 = (wxGauge *) 0 ;
5652 int arg2 ;
5653 PyObject * obj0 = 0 ;
5654 PyObject * obj1 = 0 ;
5655 char *kwnames[] = {
5656 (char *) "self",(char *) "w", NULL
5657 };
5658
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5661 if (SWIG_arg_fail(1)) SWIG_fail;
5662 {
5663 arg2 = (int)(SWIG_As_int(obj1));
5664 if (SWIG_arg_fail(2)) SWIG_fail;
5665 }
d55e5bfc
RD
5666 {
5667 PyThreadState* __tstate = wxPyBeginAllowThreads();
5668 (arg1)->SetShadowWidth(arg2);
5669
5670 wxPyEndAllowThreads(__tstate);
5671 if (PyErr_Occurred()) SWIG_fail;
5672 }
5673 Py_INCREF(Py_None); resultobj = Py_None;
5674 return resultobj;
5675 fail:
5676 return NULL;
5677}
5678
5679
c370783e 5680static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5681 PyObject *resultobj;
5682 wxGauge *arg1 = (wxGauge *) 0 ;
5683 int result;
5684 PyObject * obj0 = 0 ;
5685 char *kwnames[] = {
5686 (char *) "self", NULL
5687 };
5688
5689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
5690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5692 {
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
5695
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
36ed4f51
RD
5699 {
5700 resultobj = SWIG_From_int((int)(result));
5701 }
d55e5bfc
RD
5702 return resultobj;
5703 fail:
5704 return NULL;
5705}
5706
5707
c370783e 5708static PyObject *_wrap_Gauge_SetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5709 PyObject *resultobj;
5710 wxGauge *arg1 = (wxGauge *) 0 ;
5711 int arg2 ;
5712 PyObject * obj0 = 0 ;
5713 PyObject * obj1 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self",(char *) "w", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5720 if (SWIG_arg_fail(1)) SWIG_fail;
5721 {
5722 arg2 = (int)(SWIG_As_int(obj1));
5723 if (SWIG_arg_fail(2)) SWIG_fail;
5724 }
d55e5bfc
RD
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 (arg1)->SetBezelFace(arg2);
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 Py_INCREF(Py_None); resultobj = Py_None;
5733 return resultobj;
5734 fail:
5735 return NULL;
5736}
5737
5738
c370783e 5739static PyObject *_wrap_Gauge_GetBezelFace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5740 PyObject *resultobj;
5741 wxGauge *arg1 = (wxGauge *) 0 ;
5742 int result;
5743 PyObject * obj0 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self", NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
36ed4f51
RD
5749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGauge, SWIG_POINTER_EXCEPTION | 0);
5750 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 result = (int)((wxGauge const *)arg1)->GetBezelFace();
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
36ed4f51
RD
5758 {
5759 resultobj = SWIG_From_int((int)(result));
5760 }
d55e5bfc
RD
5761 return resultobj;
5762 fail:
5763 return NULL;
5764}
5765
5766
c370783e 5767static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 5768 PyObject *resultobj;
36ed4f51 5769 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
5770 wxVisualAttributes result;
5771 PyObject * obj0 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "variant", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5777 if (obj0) {
36ed4f51
RD
5778 {
5779 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
5780 if (SWIG_arg_fail(1)) SWIG_fail;
5781 }
f20a2e1f
RD
5782 }
5783 {
0439c23b 5784 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
5787
5788 wxPyEndAllowThreads(__tstate);
110da5b0 5789 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5790 }
5791 {
5792 wxVisualAttributes * resultptr;
36ed4f51 5793 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
5794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5795 }
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
c370783e 5802static PyObject * Gauge_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
5803 PyObject *obj;
5804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5805 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
5806 Py_INCREF(obj);
5807 return Py_BuildValue((char *)"");
5808}
c370783e 5809static int _wrap_StaticBitmapNameStr_set(PyObject *) {
d55e5bfc
RD
5810 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
5811 return 1;
5812}
5813
5814
36ed4f51 5815static PyObject *_wrap_StaticBitmapNameStr_get(void) {
d55e5bfc
RD
5816 PyObject *pyobj;
5817
5818 {
5819#if wxUSE_UNICODE
5820 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5821#else
5822 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
5823#endif
5824 }
5825 return pyobj;
5826}
5827
5828
c370783e 5829static int _wrap_StaticBoxNameStr_set(PyObject *) {
d55e5bfc
RD
5830 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
5831 return 1;
5832}
5833
5834
36ed4f51 5835static PyObject *_wrap_StaticBoxNameStr_get(void) {
d55e5bfc
RD
5836 PyObject *pyobj;
5837
5838 {
5839#if wxUSE_UNICODE
5840 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5841#else
5842 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
5843#endif
5844 }
5845 return pyobj;
5846}
5847
5848
c370783e 5849static int _wrap_StaticTextNameStr_set(PyObject *) {
d55e5bfc
RD
5850 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
5851 return 1;
5852}
5853
5854
36ed4f51 5855static PyObject *_wrap_StaticTextNameStr_get(void) {
d55e5bfc
RD
5856 PyObject *pyobj;
5857
5858 {
5859#if wxUSE_UNICODE
5860 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5861#else
5862 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
5863#endif
5864 }
5865 return pyobj;
5866}
5867
5868
c370783e 5869static PyObject *_wrap_new_StaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5870 PyObject *resultobj;
5871 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
5872 int arg2 = (int) -1 ;
5873 wxString const &arg3_defvalue = wxPyEmptyString ;
5874 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
5875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5877 wxSize const &arg5_defvalue = wxDefaultSize ;
5878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5879 long arg6 = (long) 0 ;
5880 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
5881 wxString *arg7 = (wxString *) &arg7_defvalue ;
5882 wxStaticBox *result;
b411df4a 5883 bool temp3 = false ;
d55e5bfc
RD
5884 wxPoint temp4 ;
5885 wxSize temp5 ;
b411df4a 5886 bool temp7 = false ;
d55e5bfc
RD
5887 PyObject * obj0 = 0 ;
5888 PyObject * obj1 = 0 ;
5889 PyObject * obj2 = 0 ;
5890 PyObject * obj3 = 0 ;
5891 PyObject * obj4 = 0 ;
5892 PyObject * obj5 = 0 ;
5893 PyObject * obj6 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5896 };
5897
bfddbb17 5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
5899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
5900 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 5901 if (obj1) {
36ed4f51
RD
5902 {
5903 arg2 = (int)(SWIG_As_int(obj1));
5904 if (SWIG_arg_fail(2)) SWIG_fail;
5905 }
bfddbb17
RD
5906 }
5907 if (obj2) {
5908 {
5909 arg3 = wxString_in_helper(obj2);
5910 if (arg3 == NULL) SWIG_fail;
b411df4a 5911 temp3 = true;
bfddbb17 5912 }
d55e5bfc
RD
5913 }
5914 if (obj3) {
5915 {
5916 arg4 = &temp4;
5917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5918 }
5919 }
5920 if (obj4) {
5921 {
5922 arg5 = &temp5;
5923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5924 }
5925 }
5926 if (obj5) {
36ed4f51
RD
5927 {
5928 arg6 = (long)(SWIG_As_long(obj5));
5929 if (SWIG_arg_fail(6)) SWIG_fail;
5930 }
d55e5bfc
RD
5931 }
5932 if (obj6) {
5933 {
5934 arg7 = wxString_in_helper(obj6);
5935 if (arg7 == NULL) SWIG_fail;
b411df4a 5936 temp7 = true;
d55e5bfc
RD
5937 }
5938 }
5939 {
0439c23b 5940 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5943
5944 wxPyEndAllowThreads(__tstate);
110da5b0 5945 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5946 }
b0f7404b 5947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5948 {
5949 if (temp3)
5950 delete arg3;
5951 }
5952 {
5953 if (temp7)
5954 delete arg7;
5955 }
5956 return resultobj;
5957 fail:
5958 {
5959 if (temp3)
5960 delete arg3;
5961 }
5962 {
5963 if (temp7)
5964 delete arg7;
5965 }
5966 return NULL;
5967}
5968
5969
c370783e 5970static PyObject *_wrap_new_PreStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5971 PyObject *resultobj;
5972 wxStaticBox *result;
5973 char *kwnames[] = {
5974 NULL
5975 };
5976
5977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
5978 {
0439c23b 5979 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 result = (wxStaticBox *)new wxStaticBox();
5982
5983 wxPyEndAllowThreads(__tstate);
110da5b0 5984 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 5985 }
b0f7404b 5986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBox, 1);
d55e5bfc
RD
5987 return resultobj;
5988 fail:
5989 return NULL;
5990}
5991
5992
c370783e 5993static PyObject *_wrap_StaticBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
5994 PyObject *resultobj;
5995 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
5996 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
5997 int arg3 = (int) -1 ;
5998 wxString const &arg4_defvalue = wxPyEmptyString ;
5999 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6000 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6001 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6002 wxSize const &arg6_defvalue = wxDefaultSize ;
6003 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6004 long arg7 = (long) 0 ;
6005 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
6006 wxString *arg8 = (wxString *) &arg8_defvalue ;
6007 bool result;
b411df4a 6008 bool temp4 = false ;
d55e5bfc
RD
6009 wxPoint temp5 ;
6010 wxSize temp6 ;
b411df4a 6011 bool temp8 = false ;
d55e5bfc
RD
6012 PyObject * obj0 = 0 ;
6013 PyObject * obj1 = 0 ;
6014 PyObject * obj2 = 0 ;
6015 PyObject * obj3 = 0 ;
6016 PyObject * obj4 = 0 ;
6017 PyObject * obj5 = 0 ;
6018 PyObject * obj6 = 0 ;
6019 PyObject * obj7 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6022 };
6023
bfddbb17 6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBox, SWIG_POINTER_EXCEPTION | 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail;
6027 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6028 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6029 if (obj2) {
36ed4f51
RD
6030 {
6031 arg3 = (int)(SWIG_As_int(obj2));
6032 if (SWIG_arg_fail(3)) SWIG_fail;
6033 }
bfddbb17
RD
6034 }
6035 if (obj3) {
6036 {
6037 arg4 = wxString_in_helper(obj3);
6038 if (arg4 == NULL) SWIG_fail;
b411df4a 6039 temp4 = true;
bfddbb17 6040 }
d55e5bfc
RD
6041 }
6042 if (obj4) {
6043 {
6044 arg5 = &temp5;
6045 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6046 }
6047 }
6048 if (obj5) {
6049 {
6050 arg6 = &temp6;
6051 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6052 }
6053 }
6054 if (obj6) {
36ed4f51
RD
6055 {
6056 arg7 = (long)(SWIG_As_long(obj6));
6057 if (SWIG_arg_fail(7)) SWIG_fail;
6058 }
d55e5bfc
RD
6059 }
6060 if (obj7) {
6061 {
6062 arg8 = wxString_in_helper(obj7);
6063 if (arg8 == NULL) SWIG_fail;
b411df4a 6064 temp8 = true;
d55e5bfc
RD
6065 }
6066 }
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 {
6075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6076 }
6077 {
6078 if (temp4)
6079 delete arg4;
6080 }
6081 {
6082 if (temp8)
6083 delete arg8;
6084 }
6085 return resultobj;
6086 fail:
6087 {
6088 if (temp4)
6089 delete arg4;
6090 }
6091 {
6092 if (temp8)
6093 delete arg8;
6094 }
6095 return NULL;
6096}
6097
6098
c370783e 6099static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6100 PyObject *resultobj;
36ed4f51 6101 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6102 wxVisualAttributes result;
6103 PyObject * obj0 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "variant", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6109 if (obj0) {
36ed4f51
RD
6110 {
6111 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6112 if (SWIG_arg_fail(1)) SWIG_fail;
6113 }
f20a2e1f
RD
6114 }
6115 {
0439c23b 6116 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6119
6120 wxPyEndAllowThreads(__tstate);
110da5b0 6121 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6122 }
6123 {
6124 wxVisualAttributes * resultptr;
36ed4f51 6125 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6126 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6127 }
6128 return resultobj;
6129 fail:
6130 return NULL;
6131}
6132
6133
c370783e 6134static PyObject * StaticBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6135 PyObject *obj;
6136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6137 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
6138 Py_INCREF(obj);
6139 return Py_BuildValue((char *)"");
6140}
c370783e 6141static PyObject *_wrap_new_StaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6142 PyObject *resultobj;
6143 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 6144 int arg2 = (int) -1 ;
d55e5bfc
RD
6145 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6146 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6147 wxSize const &arg4_defvalue = wxDefaultSize ;
6148 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6149 long arg5 = (long) wxLI_HORIZONTAL ;
6150 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
6151 wxString *arg6 = (wxString *) &arg6_defvalue ;
6152 wxStaticLine *result;
6153 wxPoint temp3 ;
6154 wxSize temp4 ;
b411df4a 6155 bool temp6 = false ;
d55e5bfc
RD
6156 PyObject * obj0 = 0 ;
6157 PyObject * obj1 = 0 ;
6158 PyObject * obj2 = 0 ;
6159 PyObject * obj3 = 0 ;
6160 PyObject * obj4 = 0 ;
6161 PyObject * obj5 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6164 };
6165
bfddbb17 6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
6167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6168 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6169 if (obj1) {
36ed4f51
RD
6170 {
6171 arg2 = (int)(SWIG_As_int(obj1));
6172 if (SWIG_arg_fail(2)) SWIG_fail;
6173 }
bfddbb17 6174 }
d55e5bfc
RD
6175 if (obj2) {
6176 {
6177 arg3 = &temp3;
6178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6179 }
6180 }
6181 if (obj3) {
6182 {
6183 arg4 = &temp4;
6184 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6185 }
6186 }
6187 if (obj4) {
36ed4f51
RD
6188 {
6189 arg5 = (long)(SWIG_As_long(obj4));
6190 if (SWIG_arg_fail(5)) SWIG_fail;
6191 }
d55e5bfc
RD
6192 }
6193 if (obj5) {
6194 {
6195 arg6 = wxString_in_helper(obj5);
6196 if (arg6 == NULL) SWIG_fail;
b411df4a 6197 temp6 = true;
d55e5bfc
RD
6198 }
6199 }
6200 {
0439c23b 6201 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6204
6205 wxPyEndAllowThreads(__tstate);
110da5b0 6206 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6207 }
6208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6209 {
6210 if (temp6)
6211 delete arg6;
6212 }
6213 return resultobj;
6214 fail:
6215 {
6216 if (temp6)
6217 delete arg6;
6218 }
6219 return NULL;
6220}
6221
6222
c370783e 6223static PyObject *_wrap_new_PreStaticLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6224 PyObject *resultobj;
6225 wxStaticLine *result;
6226 char *kwnames[] = {
6227 NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
6231 {
0439c23b 6232 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (wxStaticLine *)new wxStaticLine();
6235
6236 wxPyEndAllowThreads(__tstate);
110da5b0 6237 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6238 }
6239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
6240 return resultobj;
6241 fail:
6242 return NULL;
6243}
6244
6245
c370783e 6246static PyObject *_wrap_StaticLine_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6247 PyObject *resultobj;
6248 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6249 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 6250 int arg3 = (int) -1 ;
d55e5bfc
RD
6251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6253 wxSize const &arg5_defvalue = wxDefaultSize ;
6254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6255 long arg6 = (long) wxLI_HORIZONTAL ;
6256 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6257 wxString *arg7 = (wxString *) &arg7_defvalue ;
6258 bool result;
6259 wxPoint temp4 ;
6260 wxSize temp5 ;
b411df4a 6261 bool temp7 = false ;
d55e5bfc
RD
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 PyObject * obj2 = 0 ;
6265 PyObject * obj3 = 0 ;
6266 PyObject * obj4 = 0 ;
6267 PyObject * obj5 = 0 ;
6268 PyObject * obj6 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6271 };
6272
bfddbb17 6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6275 if (SWIG_arg_fail(1)) SWIG_fail;
6276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6277 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6278 if (obj2) {
36ed4f51
RD
6279 {
6280 arg3 = (int)(SWIG_As_int(obj2));
6281 if (SWIG_arg_fail(3)) SWIG_fail;
6282 }
bfddbb17 6283 }
d55e5bfc
RD
6284 if (obj3) {
6285 {
6286 arg4 = &temp4;
6287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6288 }
6289 }
6290 if (obj4) {
6291 {
6292 arg5 = &temp5;
6293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6294 }
6295 }
6296 if (obj5) {
36ed4f51
RD
6297 {
6298 arg6 = (long)(SWIG_As_long(obj5));
6299 if (SWIG_arg_fail(6)) SWIG_fail;
6300 }
d55e5bfc
RD
6301 }
6302 if (obj6) {
6303 {
6304 arg7 = wxString_in_helper(obj6);
6305 if (arg7 == NULL) SWIG_fail;
b411df4a 6306 temp7 = true;
d55e5bfc
RD
6307 }
6308 }
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 {
6317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6318 }
6319 {
6320 if (temp7)
6321 delete arg7;
6322 }
6323 return resultobj;
6324 fail:
6325 {
6326 if (temp7)
6327 delete arg7;
6328 }
6329 return NULL;
6330}
6331
6332
c370783e 6333static PyObject *_wrap_StaticLine_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6334 PyObject *resultobj;
6335 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
6336 bool result;
6337 PyObject * obj0 = 0 ;
6338 char *kwnames[] = {
6339 (char *) "self", NULL
6340 };
6341
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
6343 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticLine, SWIG_POINTER_EXCEPTION | 0);
6344 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6345 {
6346 PyThreadState* __tstate = wxPyBeginAllowThreads();
6347 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
6348
6349 wxPyEndAllowThreads(__tstate);
6350 if (PyErr_Occurred()) SWIG_fail;
6351 }
6352 {
6353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6354 }
6355 return resultobj;
6356 fail:
6357 return NULL;
6358}
6359
6360
c370783e 6361static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6362 PyObject *resultobj;
6363 int result;
6364 char *kwnames[] = {
6365 NULL
6366 };
6367
6368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 result = (int)wxStaticLine::GetDefaultSize();
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
36ed4f51
RD
6376 {
6377 resultobj = SWIG_From_int((int)(result));
6378 }
d55e5bfc
RD
6379 return resultobj;
6380 fail:
6381 return NULL;
6382}
6383
6384
c370783e 6385static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6386 PyObject *resultobj;
36ed4f51 6387 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6388 wxVisualAttributes result;
6389 PyObject * obj0 = 0 ;
6390 char *kwnames[] = {
6391 (char *) "variant", NULL
6392 };
6393
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6395 if (obj0) {
36ed4f51
RD
6396 {
6397 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6398 if (SWIG_arg_fail(1)) SWIG_fail;
6399 }
f20a2e1f
RD
6400 }
6401 {
0439c23b 6402 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
6405
6406 wxPyEndAllowThreads(__tstate);
110da5b0 6407 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6408 }
6409 {
6410 wxVisualAttributes * resultptr;
36ed4f51 6411 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6412 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6413 }
6414 return resultobj;
6415 fail:
6416 return NULL;
6417}
6418
6419
c370783e 6420static PyObject * StaticLine_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6421 PyObject *obj;
6422 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6423 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
6424 Py_INCREF(obj);
6425 return Py_BuildValue((char *)"");
6426}
c370783e 6427static PyObject *_wrap_new_StaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6428 PyObject *resultobj;
6429 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6430 int arg2 = (int) -1 ;
6431 wxString const &arg3_defvalue = wxPyEmptyString ;
6432 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
6433 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6434 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6435 wxSize const &arg5_defvalue = wxDefaultSize ;
6436 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6437 long arg6 = (long) 0 ;
6438 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
6439 wxString *arg7 = (wxString *) &arg7_defvalue ;
6440 wxStaticText *result;
b411df4a 6441 bool temp3 = false ;
d55e5bfc
RD
6442 wxPoint temp4 ;
6443 wxSize temp5 ;
b411df4a 6444 bool temp7 = false ;
d55e5bfc
RD
6445 PyObject * obj0 = 0 ;
6446 PyObject * obj1 = 0 ;
6447 PyObject * obj2 = 0 ;
6448 PyObject * obj3 = 0 ;
6449 PyObject * obj4 = 0 ;
6450 PyObject * obj5 = 0 ;
6451 PyObject * obj6 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6454 };
6455
bfddbb17 6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6458 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6459 if (obj1) {
36ed4f51
RD
6460 {
6461 arg2 = (int)(SWIG_As_int(obj1));
6462 if (SWIG_arg_fail(2)) SWIG_fail;
6463 }
bfddbb17
RD
6464 }
6465 if (obj2) {
6466 {
6467 arg3 = wxString_in_helper(obj2);
6468 if (arg3 == NULL) SWIG_fail;
b411df4a 6469 temp3 = true;
bfddbb17 6470 }
d55e5bfc
RD
6471 }
6472 if (obj3) {
6473 {
6474 arg4 = &temp4;
6475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6476 }
6477 }
6478 if (obj4) {
6479 {
6480 arg5 = &temp5;
6481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6482 }
6483 }
6484 if (obj5) {
36ed4f51
RD
6485 {
6486 arg6 = (long)(SWIG_As_long(obj5));
6487 if (SWIG_arg_fail(6)) SWIG_fail;
6488 }
d55e5bfc
RD
6489 }
6490 if (obj6) {
6491 {
6492 arg7 = wxString_in_helper(obj6);
6493 if (arg7 == NULL) SWIG_fail;
b411df4a 6494 temp7 = true;
d55e5bfc
RD
6495 }
6496 }
6497 {
0439c23b 6498 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6499 PyThreadState* __tstate = wxPyBeginAllowThreads();
6500 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6501
6502 wxPyEndAllowThreads(__tstate);
110da5b0 6503 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6504 }
6505 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6506 {
6507 if (temp3)
6508 delete arg3;
6509 }
6510 {
6511 if (temp7)
6512 delete arg7;
6513 }
6514 return resultobj;
6515 fail:
6516 {
6517 if (temp3)
6518 delete arg3;
6519 }
6520 {
6521 if (temp7)
6522 delete arg7;
6523 }
6524 return NULL;
6525}
6526
6527
c370783e 6528static PyObject *_wrap_new_PreStaticText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6529 PyObject *resultobj;
6530 wxStaticText *result;
6531 char *kwnames[] = {
6532 NULL
6533 };
6534
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
6536 {
0439c23b 6537 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (wxStaticText *)new wxStaticText();
6540
6541 wxPyEndAllowThreads(__tstate);
110da5b0 6542 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6543 }
6544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
6545 return resultobj;
6546 fail:
6547 return NULL;
6548}
6549
6550
c370783e 6551static PyObject *_wrap_StaticText_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6552 PyObject *resultobj;
6553 wxStaticText *arg1 = (wxStaticText *) 0 ;
6554 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6555 int arg3 = (int) -1 ;
6556 wxString const &arg4_defvalue = wxPyEmptyString ;
6557 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
6558 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6559 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6560 wxSize const &arg6_defvalue = wxDefaultSize ;
6561 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6562 long arg7 = (long) 0 ;
6563 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
6564 wxString *arg8 = (wxString *) &arg8_defvalue ;
6565 bool result;
b411df4a 6566 bool temp4 = false ;
d55e5bfc
RD
6567 wxPoint temp5 ;
6568 wxSize temp6 ;
b411df4a 6569 bool temp8 = false ;
d55e5bfc
RD
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 PyObject * obj2 = 0 ;
6573 PyObject * obj3 = 0 ;
6574 PyObject * obj4 = 0 ;
6575 PyObject * obj5 = 0 ;
6576 PyObject * obj6 = 0 ;
6577 PyObject * obj7 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6580 };
6581
bfddbb17 6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticText, SWIG_POINTER_EXCEPTION | 0);
6584 if (SWIG_arg_fail(1)) SWIG_fail;
6585 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6586 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6587 if (obj2) {
36ed4f51
RD
6588 {
6589 arg3 = (int)(SWIG_As_int(obj2));
6590 if (SWIG_arg_fail(3)) SWIG_fail;
6591 }
bfddbb17
RD
6592 }
6593 if (obj3) {
6594 {
6595 arg4 = wxString_in_helper(obj3);
6596 if (arg4 == NULL) SWIG_fail;
b411df4a 6597 temp4 = true;
bfddbb17 6598 }
d55e5bfc
RD
6599 }
6600 if (obj4) {
6601 {
6602 arg5 = &temp5;
6603 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6604 }
6605 }
6606 if (obj5) {
6607 {
6608 arg6 = &temp6;
6609 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6610 }
6611 }
6612 if (obj6) {
36ed4f51
RD
6613 {
6614 arg7 = (long)(SWIG_As_long(obj6));
6615 if (SWIG_arg_fail(7)) SWIG_fail;
6616 }
d55e5bfc
RD
6617 }
6618 if (obj7) {
6619 {
6620 arg8 = wxString_in_helper(obj7);
6621 if (arg8 == NULL) SWIG_fail;
b411df4a 6622 temp8 = true;
d55e5bfc
RD
6623 }
6624 }
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 {
6633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6634 }
6635 {
6636 if (temp4)
6637 delete arg4;
6638 }
6639 {
6640 if (temp8)
6641 delete arg8;
6642 }
6643 return resultobj;
6644 fail:
6645 {
6646 if (temp4)
6647 delete arg4;
6648 }
6649 {
6650 if (temp8)
6651 delete arg8;
6652 }
6653 return NULL;
6654}
6655
6656
c370783e 6657static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 6658 PyObject *resultobj;
36ed4f51 6659 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
6660 wxVisualAttributes result;
6661 PyObject * obj0 = 0 ;
6662 char *kwnames[] = {
6663 (char *) "variant", NULL
6664 };
6665
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6667 if (obj0) {
36ed4f51
RD
6668 {
6669 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
6670 if (SWIG_arg_fail(1)) SWIG_fail;
6671 }
f20a2e1f
RD
6672 }
6673 {
0439c23b 6674 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
6677
6678 wxPyEndAllowThreads(__tstate);
110da5b0 6679 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
6680 }
6681 {
6682 wxVisualAttributes * resultptr;
36ed4f51 6683 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
6684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6685 }
6686 return resultobj;
6687 fail:
6688 return NULL;
6689}
6690
6691
c370783e 6692static PyObject * StaticText_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
6693 PyObject *obj;
6694 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6695 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
6696 Py_INCREF(obj);
6697 return Py_BuildValue((char *)"");
6698}
c370783e 6699static PyObject *_wrap_new_StaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6700 PyObject *resultobj;
6701 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
6702 int arg2 = (int) -1 ;
6703 wxBitmap const &arg3_defvalue = wxNullBitmap ;
6704 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
6705 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6706 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6707 wxSize const &arg5_defvalue = wxDefaultSize ;
6708 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6709 long arg6 = (long) 0 ;
6710 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
6711 wxString *arg7 = (wxString *) &arg7_defvalue ;
6712 wxStaticBitmap *result;
6713 wxPoint temp4 ;
6714 wxSize temp5 ;
b411df4a 6715 bool temp7 = false ;
d55e5bfc
RD
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 PyObject * obj2 = 0 ;
6719 PyObject * obj3 = 0 ;
6720 PyObject * obj4 = 0 ;
6721 PyObject * obj5 = 0 ;
6722 PyObject * obj6 = 0 ;
6723 char *kwnames[] = {
6724 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6725 };
6726
bfddbb17 6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
6728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6729 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 6730 if (obj1) {
36ed4f51
RD
6731 {
6732 arg2 = (int)(SWIG_As_int(obj1));
6733 if (SWIG_arg_fail(2)) SWIG_fail;
6734 }
bfddbb17
RD
6735 }
6736 if (obj2) {
36ed4f51
RD
6737 {
6738 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6739 if (SWIG_arg_fail(3)) SWIG_fail;
6740 if (arg3 == NULL) {
6741 SWIG_null_ref("wxBitmap");
6742 }
6743 if (SWIG_arg_fail(3)) SWIG_fail;
bfddbb17 6744 }
d55e5bfc
RD
6745 }
6746 if (obj3) {
6747 {
6748 arg4 = &temp4;
6749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6750 }
6751 }
6752 if (obj4) {
6753 {
6754 arg5 = &temp5;
6755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6756 }
6757 }
6758 if (obj5) {
36ed4f51
RD
6759 {
6760 arg6 = (long)(SWIG_As_long(obj5));
6761 if (SWIG_arg_fail(6)) SWIG_fail;
6762 }
d55e5bfc
RD
6763 }
6764 if (obj6) {
6765 {
6766 arg7 = wxString_in_helper(obj6);
6767 if (arg7 == NULL) SWIG_fail;
b411df4a 6768 temp7 = true;
d55e5bfc
RD
6769 }
6770 }
6771 {
0439c23b 6772 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6775
6776 wxPyEndAllowThreads(__tstate);
110da5b0 6777 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6778 }
6779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6780 {
6781 if (temp7)
6782 delete arg7;
6783 }
6784 return resultobj;
6785 fail:
6786 {
6787 if (temp7)
6788 delete arg7;
6789 }
6790 return NULL;
6791}
6792
6793
c370783e 6794static PyObject *_wrap_new_PreStaticBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6795 PyObject *resultobj;
6796 wxStaticBitmap *result;
6797 char *kwnames[] = {
6798 NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
6802 {
0439c23b 6803 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 result = (wxStaticBitmap *)new wxStaticBitmap();
6806
6807 wxPyEndAllowThreads(__tstate);
110da5b0 6808 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6809 }
6810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
6811 return resultobj;
6812 fail:
6813 return NULL;
6814}
6815
6816
c370783e 6817static PyObject *_wrap_StaticBitmap_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6818 PyObject *resultobj;
6819 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6820 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
6821 int arg3 = (int) -1 ;
6822 wxBitmap const &arg4_defvalue = wxNullBitmap ;
6823 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
6824 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6825 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6826 wxSize const &arg6_defvalue = wxDefaultSize ;
6827 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6828 long arg7 = (long) 0 ;
6829 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
6830 wxString *arg8 = (wxString *) &arg8_defvalue ;
6831 bool result;
6832 wxPoint temp5 ;
6833 wxSize temp6 ;
b411df4a 6834 bool temp8 = false ;
d55e5bfc
RD
6835 PyObject * obj0 = 0 ;
6836 PyObject * obj1 = 0 ;
6837 PyObject * obj2 = 0 ;
6838 PyObject * obj3 = 0 ;
6839 PyObject * obj4 = 0 ;
6840 PyObject * obj5 = 0 ;
6841 PyObject * obj6 = 0 ;
6842 PyObject * obj7 = 0 ;
6843 char *kwnames[] = {
6844 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6845 };
6846
bfddbb17 6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
6848 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6849 if (SWIG_arg_fail(1)) SWIG_fail;
6850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
6851 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 6852 if (obj2) {
36ed4f51
RD
6853 {
6854 arg3 = (int)(SWIG_As_int(obj2));
6855 if (SWIG_arg_fail(3)) SWIG_fail;
6856 }
bfddbb17
RD
6857 }
6858 if (obj3) {
36ed4f51
RD
6859 {
6860 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6861 if (SWIG_arg_fail(4)) SWIG_fail;
6862 if (arg4 == NULL) {
6863 SWIG_null_ref("wxBitmap");
6864 }
6865 if (SWIG_arg_fail(4)) SWIG_fail;
bfddbb17 6866 }
d55e5bfc
RD
6867 }
6868 if (obj4) {
6869 {
6870 arg5 = &temp5;
6871 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6872 }
6873 }
6874 if (obj5) {
6875 {
6876 arg6 = &temp6;
6877 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6878 }
6879 }
6880 if (obj6) {
36ed4f51
RD
6881 {
6882 arg7 = (long)(SWIG_As_long(obj6));
6883 if (SWIG_arg_fail(7)) SWIG_fail;
6884 }
d55e5bfc
RD
6885 }
6886 if (obj7) {
6887 {
6888 arg8 = wxString_in_helper(obj7);
6889 if (arg8 == NULL) SWIG_fail;
b411df4a 6890 temp8 = true;
d55e5bfc
RD
6891 }
6892 }
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 {
6901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6902 }
6903 {
6904 if (temp8)
6905 delete arg8;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp8)
6911 delete arg8;
6912 }
6913 return NULL;
6914}
6915
6916
c370783e 6917static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6918 PyObject *resultobj;
6919 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6920 wxBitmap result;
6921 PyObject * obj0 = 0 ;
6922 char *kwnames[] = {
6923 (char *) "self", NULL
6924 };
6925
6926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
6927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 result = (arg1)->GetBitmap();
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 {
6937 wxBitmap * resultptr;
36ed4f51 6938 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
6939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
6940 }
6941 return resultobj;
6942 fail:
6943 return NULL;
6944}
6945
6946
c370783e 6947static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6948 PyObject *resultobj;
6949 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6950 wxBitmap *arg2 = 0 ;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 char *kwnames[] = {
6954 (char *) "self",(char *) "bitmap", NULL
6955 };
6956
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6958 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6959 if (SWIG_arg_fail(1)) SWIG_fail;
6960 {
6961 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
6962 if (SWIG_arg_fail(2)) SWIG_fail;
6963 if (arg2 == NULL) {
6964 SWIG_null_ref("wxBitmap");
6965 }
6966 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->SetBitmap((wxBitmap const &)*arg2);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 return resultobj;
6977 fail:
6978 return NULL;
6979}
6980
6981
c370783e 6982static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
6983 PyObject *resultobj;
6984 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
6985 wxIcon *arg2 = 0 ;
6986 PyObject * obj0 = 0 ;
6987 PyObject * obj1 = 0 ;
6988 char *kwnames[] = {
6989 (char *) "self",(char *) "icon", NULL
6990 };
6991
6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_EXCEPTION | 0);
6994 if (SWIG_arg_fail(1)) SWIG_fail;
6995 {
6996 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
6997 if (SWIG_arg_fail(2)) SWIG_fail;
6998 if (arg2 == NULL) {
6999 SWIG_null_ref("wxIcon");
7000 }
7001 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetIcon((wxIcon const &)*arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014}
7015
7016
c370783e 7017static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 7018 PyObject *resultobj;
36ed4f51 7019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
7020 wxVisualAttributes result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "variant", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
7027 if (obj0) {
36ed4f51
RD
7028 {
7029 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
7030 if (SWIG_arg_fail(1)) SWIG_fail;
7031 }
f20a2e1f
RD
7032 }
7033 {
0439c23b 7034 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
7037
7038 wxPyEndAllowThreads(__tstate);
110da5b0 7039 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
7040 }
7041 {
7042 wxVisualAttributes * resultptr;
36ed4f51 7043 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
7044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
7045 }
7046 return resultobj;
7047 fail:
7048 return NULL;
7049}
7050
7051
c370783e 7052static PyObject * StaticBitmap_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
7053 PyObject *obj;
7054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
7056 Py_INCREF(obj);
7057 return Py_BuildValue((char *)"");
7058}
c370783e 7059static int _wrap_ListBoxNameStr_set(PyObject *) {
d55e5bfc
RD
7060 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
7061 return 1;
7062}
7063
7064
36ed4f51 7065static PyObject *_wrap_ListBoxNameStr_get(void) {
d55e5bfc
RD
7066 PyObject *pyobj;
7067
7068 {
7069#if wxUSE_UNICODE
7070 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7071#else
7072 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
7073#endif
7074 }
7075 return pyobj;
7076}
7077
7078
c370783e 7079static PyObject *_wrap_new_ListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7080 PyObject *resultobj;
7081 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 7082 int arg2 = (int) -1 ;
d55e5bfc
RD
7083 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7084 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7085 wxSize const &arg4_defvalue = wxDefaultSize ;
7086 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7087 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
7088 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
7089 long arg6 = (long) 0 ;
7090 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7091 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7092 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
7093 wxString *arg8 = (wxString *) &arg8_defvalue ;
7094 wxListBox *result;
7095 wxPoint temp3 ;
7096 wxSize temp4 ;
b411df4a
RD
7097 bool temp5 = false ;
7098 bool temp8 = false ;
d55e5bfc
RD
7099 PyObject * obj0 = 0 ;
7100 PyObject * obj1 = 0 ;
7101 PyObject * obj2 = 0 ;
7102 PyObject * obj3 = 0 ;
7103 PyObject * obj4 = 0 ;
7104 PyObject * obj5 = 0 ;
7105 PyObject * obj6 = 0 ;
7106 PyObject * obj7 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7109 };
7110
bfddbb17 7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
7112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7113 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 7114 if (obj1) {
36ed4f51
RD
7115 {
7116 arg2 = (int)(SWIG_As_int(obj1));
7117 if (SWIG_arg_fail(2)) SWIG_fail;
7118 }
bfddbb17 7119 }
d55e5bfc
RD
7120 if (obj2) {
7121 {
7122 arg3 = &temp3;
7123 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7124 }
7125 }
7126 if (obj3) {
7127 {
7128 arg4 = &temp4;
7129 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7130 }
7131 }
7132 if (obj4) {
7133 {
7134 if (! PySequence_Check(obj4)) {
7135 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7136 SWIG_fail;
7137 }
7138 arg5 = new wxArrayString;
b411df4a 7139 temp5 = true;
d55e5bfc
RD
7140 int i, len=PySequence_Length(obj4);
7141 for (i=0; i<len; i++) {
7142 PyObject* item = PySequence_GetItem(obj4, i);
71237536 7143 wxString* s = wxString_in_helper(item);
d55e5bfc 7144 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7145 arg5->Add(*s);
7146 delete s;
d55e5bfc 7147 Py_DECREF(item);
d55e5bfc
RD
7148 }
7149 }
7150 }
7151 if (obj5) {
36ed4f51
RD
7152 {
7153 arg6 = (long)(SWIG_As_long(obj5));
7154 if (SWIG_arg_fail(6)) SWIG_fail;
7155 }
d55e5bfc
RD
7156 }
7157 if (obj6) {
36ed4f51
RD
7158 {
7159 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7160 if (SWIG_arg_fail(7)) SWIG_fail;
7161 if (arg7 == NULL) {
7162 SWIG_null_ref("wxValidator");
7163 }
7164 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
7165 }
7166 }
7167 if (obj7) {
7168 {
7169 arg8 = wxString_in_helper(obj7);
7170 if (arg8 == NULL) SWIG_fail;
b411df4a 7171 temp8 = true;
d55e5bfc
RD
7172 }
7173 }
7174 {
0439c23b 7175 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7178
7179 wxPyEndAllowThreads(__tstate);
110da5b0 7180 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7181 }
7182 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7183 {
7184 if (temp5) delete arg5;
7185 }
7186 {
7187 if (temp8)
7188 delete arg8;
7189 }
7190 return resultobj;
7191 fail:
7192 {
7193 if (temp5) delete arg5;
7194 }
7195 {
7196 if (temp8)
7197 delete arg8;
7198 }
7199 return NULL;
7200}
7201
7202
c370783e 7203static PyObject *_wrap_new_PreListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7204 PyObject *resultobj;
7205 wxListBox *result;
7206 char *kwnames[] = {
7207 NULL
7208 };
7209
7210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
7211 {
0439c23b 7212 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 result = (wxListBox *)new wxListBox();
7215
7216 wxPyEndAllowThreads(__tstate);
110da5b0 7217 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
7218 }
7219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
7220 return resultobj;
7221 fail:
7222 return NULL;
7223}
7224
7225
c370783e 7226static PyObject *_wrap_ListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7227 PyObject *resultobj;
7228 wxListBox *arg1 = (wxListBox *) 0 ;
7229 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 7230 int arg3 = (int) -1 ;
d55e5bfc
RD
7231 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7232 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7233 wxSize const &arg5_defvalue = wxDefaultSize ;
7234 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7235 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
7236 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
7237 long arg7 = (long) 0 ;
7238 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7239 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7240 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
7241 wxString *arg9 = (wxString *) &arg9_defvalue ;
7242 bool result;
7243 wxPoint temp4 ;
7244 wxSize temp5 ;
b411df4a
RD
7245 bool temp6 = false ;
7246 bool temp9 = false ;
d55e5bfc
RD
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 PyObject * obj2 = 0 ;
7250 PyObject * obj3 = 0 ;
7251 PyObject * obj4 = 0 ;
7252 PyObject * obj5 = 0 ;
7253 PyObject * obj6 = 0 ;
7254 PyObject * obj7 = 0 ;
7255 PyObject * obj8 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7258 };
7259
bfddbb17 7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
7261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7262 if (SWIG_arg_fail(1)) SWIG_fail;
7263 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
7264 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 7265 if (obj2) {
36ed4f51
RD
7266 {
7267 arg3 = (int)(SWIG_As_int(obj2));
7268 if (SWIG_arg_fail(3)) SWIG_fail;
7269 }
bfddbb17 7270 }
d55e5bfc
RD
7271 if (obj3) {
7272 {
7273 arg4 = &temp4;
7274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7275 }
7276 }
7277 if (obj4) {
7278 {
7279 arg5 = &temp5;
7280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7281 }
7282 }
7283 if (obj5) {
7284 {
7285 if (! PySequence_Check(obj5)) {
7286 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7287 SWIG_fail;
7288 }
7289 arg6 = new wxArrayString;
b411df4a 7290 temp6 = true;
d55e5bfc
RD
7291 int i, len=PySequence_Length(obj5);
7292 for (i=0; i<len; i++) {
7293 PyObject* item = PySequence_GetItem(obj5, i);
71237536 7294 wxString* s = wxString_in_helper(item);
d55e5bfc 7295 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7296 arg6->Add(*s);
7297 delete s;
d55e5bfc 7298 Py_DECREF(item);
d55e5bfc
RD
7299 }
7300 }
7301 }
7302 if (obj6) {
36ed4f51
RD
7303 {
7304 arg7 = (long)(SWIG_As_long(obj6));
7305 if (SWIG_arg_fail(7)) SWIG_fail;
7306 }
d55e5bfc
RD
7307 }
7308 if (obj7) {
36ed4f51
RD
7309 {
7310 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
7311 if (SWIG_arg_fail(8)) SWIG_fail;
7312 if (arg8 == NULL) {
7313 SWIG_null_ref("wxValidator");
7314 }
7315 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
7316 }
7317 }
7318 if (obj8) {
7319 {
7320 arg9 = wxString_in_helper(obj8);
7321 if (arg9 == NULL) SWIG_fail;
b411df4a 7322 temp9 = true;
d55e5bfc
RD
7323 }
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 {
7333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7334 }
7335 {
7336 if (temp6) delete arg6;
7337 }
7338 {
7339 if (temp9)
7340 delete arg9;
7341 }
7342 return resultobj;
7343 fail:
7344 {
7345 if (temp6) delete arg6;
7346 }
7347 {
7348 if (temp9)
7349 delete arg9;
7350 }
7351 return NULL;
7352}
7353
7354
c370783e 7355static PyObject *_wrap_ListBox_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7356 PyObject *resultobj;
7357 wxListBox *arg1 = (wxListBox *) 0 ;
7358 wxString *arg2 = 0 ;
7359 int arg3 ;
7360 PyObject *arg4 = (PyObject *) NULL ;
b411df4a 7361 bool temp2 = false ;
d55e5bfc
RD
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 PyObject * obj2 = 0 ;
7365 PyObject * obj3 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7372 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7373 {
7374 arg2 = wxString_in_helper(obj1);
7375 if (arg2 == NULL) SWIG_fail;
b411df4a 7376 temp2 = true;
d55e5bfc 7377 }
36ed4f51
RD
7378 {
7379 arg3 = (int)(SWIG_As_int(obj2));
7380 if (SWIG_arg_fail(3)) SWIG_fail;
7381 }
d55e5bfc
RD
7382 if (obj3) {
7383 arg4 = obj3;
7384 }
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
7388
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 Py_INCREF(Py_None); resultobj = Py_None;
7393 {
7394 if (temp2)
7395 delete arg2;
7396 }
7397 return resultobj;
7398 fail:
7399 {
7400 if (temp2)
7401 delete arg2;
7402 }
7403 return NULL;
7404}
7405
7406
c370783e 7407static PyObject *_wrap_ListBox_InsertItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7408 PyObject *resultobj;
7409 wxListBox *arg1 = (wxListBox *) 0 ;
7410 wxArrayString *arg2 = 0 ;
7411 int arg3 ;
b411df4a 7412 bool temp2 = false ;
d55e5bfc
RD
7413 PyObject * obj0 = 0 ;
7414 PyObject * obj1 = 0 ;
7415 PyObject * obj2 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "items",(char *) "pos", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7423 {
7424 if (! PySequence_Check(obj1)) {
7425 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7426 SWIG_fail;
7427 }
7428 arg2 = new wxArrayString;
b411df4a 7429 temp2 = true;
d55e5bfc
RD
7430 int i, len=PySequence_Length(obj1);
7431 for (i=0; i<len; i++) {
7432 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7433 wxString* s = wxString_in_helper(item);
d55e5bfc 7434 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7435 arg2->Add(*s);
7436 delete s;
d55e5bfc 7437 Py_DECREF(item);
d55e5bfc
RD
7438 }
7439 }
36ed4f51
RD
7440 {
7441 arg3 = (int)(SWIG_As_int(obj2));
7442 if (SWIG_arg_fail(3)) SWIG_fail;
7443 }
d55e5bfc
RD
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
7447
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 Py_INCREF(Py_None); resultobj = Py_None;
7452 {
7453 if (temp2) delete arg2;
7454 }
7455 return resultobj;
7456 fail:
7457 {
7458 if (temp2) delete arg2;
7459 }
7460 return NULL;
7461}
7462
7463
c370783e 7464static PyObject *_wrap_ListBox_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7465 PyObject *resultobj;
7466 wxListBox *arg1 = (wxListBox *) 0 ;
7467 wxArrayString *arg2 = 0 ;
b411df4a 7468 bool temp2 = false ;
d55e5bfc
RD
7469 PyObject * obj0 = 0 ;
7470 PyObject * obj1 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self",(char *) "items", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7476 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7477 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7478 {
7479 if (! PySequence_Check(obj1)) {
7480 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
7481 SWIG_fail;
7482 }
7483 arg2 = new wxArrayString;
b411df4a 7484 temp2 = true;
d55e5bfc
RD
7485 int i, len=PySequence_Length(obj1);
7486 for (i=0; i<len; i++) {
7487 PyObject* item = PySequence_GetItem(obj1, i);
71237536 7488 wxString* s = wxString_in_helper(item);
d55e5bfc 7489 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
7490 arg2->Add(*s);
7491 delete s;
d55e5bfc 7492 Py_DECREF(item);
d55e5bfc
RD
7493 }
7494 }
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->Set((wxArrayString const &)*arg2);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 Py_INCREF(Py_None); resultobj = Py_None;
7503 {
7504 if (temp2) delete arg2;
7505 }
7506 return resultobj;
7507 fail:
7508 {
7509 if (temp2) delete arg2;
7510 }
7511 return NULL;
7512}
7513
7514
c370783e 7515static PyObject *_wrap_ListBox_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7516 PyObject *resultobj;
7517 wxListBox *arg1 = (wxListBox *) 0 ;
7518 int arg2 ;
7519 bool result;
7520 PyObject * obj0 = 0 ;
7521 PyObject * obj1 = 0 ;
7522 char *kwnames[] = {
7523 (char *) "self",(char *) "n", NULL
7524 };
7525
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7528 if (SWIG_arg_fail(1)) SWIG_fail;
7529 {
7530 arg2 = (int)(SWIG_As_int(obj1));
7531 if (SWIG_arg_fail(2)) SWIG_fail;
7532 }
d55e5bfc
RD
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
7536
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7542 }
7543 return resultobj;
7544 fail:
7545 return NULL;
7546}
7547
7548
c370783e 7549static PyObject *_wrap_ListBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7550 PyObject *resultobj;
7551 wxListBox *arg1 = (wxListBox *) 0 ;
7552 int arg2 ;
b411df4a 7553 bool arg3 = (bool) true ;
d55e5bfc
RD
7554 PyObject * obj0 = 0 ;
7555 PyObject * obj1 = 0 ;
7556 PyObject * obj2 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self",(char *) "n",(char *) "select", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7562 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7563 if (SWIG_arg_fail(1)) SWIG_fail;
7564 {
7565 arg2 = (int)(SWIG_As_int(obj1));
7566 if (SWIG_arg_fail(2)) SWIG_fail;
7567 }
d55e5bfc 7568 if (obj2) {
36ed4f51
RD
7569 {
7570 arg3 = (bool)(SWIG_As_bool(obj2));
7571 if (SWIG_arg_fail(3)) SWIG_fail;
7572 }
d55e5bfc
RD
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 (arg1)->SetSelection(arg2,arg3);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 Py_INCREF(Py_None); resultobj = Py_None;
7582 return resultobj;
7583 fail:
7584 return NULL;
7585}
7586
7587
c370783e 7588static PyObject *_wrap_ListBox_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7589 PyObject *resultobj;
7590 wxListBox *arg1 = (wxListBox *) 0 ;
7591 int arg2 ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self",(char *) "n", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7599 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7600 if (SWIG_arg_fail(1)) SWIG_fail;
7601 {
7602 arg2 = (int)(SWIG_As_int(obj1));
7603 if (SWIG_arg_fail(2)) SWIG_fail;
7604 }
d55e5bfc
RD
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->Select(arg2);
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 return resultobj;
7614 fail:
7615 return NULL;
7616}
7617
7618
c370783e 7619static PyObject *_wrap_ListBox_Deselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7620 PyObject *resultobj;
7621 wxListBox *arg1 = (wxListBox *) 0 ;
7622 int arg2 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 char *kwnames[] = {
7626 (char *) "self",(char *) "n", NULL
7627 };
7628
7629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7631 if (SWIG_arg_fail(1)) SWIG_fail;
7632 {
7633 arg2 = (int)(SWIG_As_int(obj1));
7634 if (SWIG_arg_fail(2)) SWIG_fail;
7635 }
d55e5bfc
RD
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 (arg1)->Deselect(arg2);
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 Py_INCREF(Py_None); resultobj = Py_None;
7644 return resultobj;
7645 fail:
7646 return NULL;
7647}
7648
7649
c370783e 7650static PyObject *_wrap_ListBox_DeselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7651 PyObject *resultobj;
7652 wxListBox *arg1 = (wxListBox *) 0 ;
7653 int arg2 = (int) -1 ;
7654 PyObject * obj0 = 0 ;
7655 PyObject * obj1 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self",(char *) "itemToLeaveSelected", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7662 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 7663 if (obj1) {
36ed4f51
RD
7664 {
7665 arg2 = (int)(SWIG_As_int(obj1));
7666 if (SWIG_arg_fail(2)) SWIG_fail;
7667 }
d55e5bfc
RD
7668 }
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 (arg1)->DeselectAll(arg2);
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 Py_INCREF(Py_None); resultobj = Py_None;
7677 return resultobj;
7678 fail:
7679 return NULL;
7680}
7681
7682
c370783e 7683static PyObject *_wrap_ListBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7684 PyObject *resultobj;
7685 wxListBox *arg1 = (wxListBox *) 0 ;
7686 wxString *arg2 = 0 ;
b411df4a 7687 bool arg3 = (bool) true ;
d55e5bfc 7688 bool result;
b411df4a 7689 bool temp2 = false ;
d55e5bfc
RD
7690 PyObject * obj0 = 0 ;
7691 PyObject * obj1 = 0 ;
7692 PyObject * obj2 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "s",(char *) "select", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7698 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7700 {
7701 arg2 = wxString_in_helper(obj1);
7702 if (arg2 == NULL) SWIG_fail;
b411df4a 7703 temp2 = true;
d55e5bfc
RD
7704 }
7705 if (obj2) {
36ed4f51
RD
7706 {
7707 arg3 = (bool)(SWIG_As_bool(obj2));
7708 if (SWIG_arg_fail(3)) SWIG_fail;
7709 }
d55e5bfc
RD
7710 }
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
7718 {
7719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7720 }
7721 {
7722 if (temp2)
7723 delete arg2;
7724 }
7725 return resultobj;
7726 fail:
7727 {
7728 if (temp2)
7729 delete arg2;
7730 }
7731 return NULL;
7732}
7733
7734
c370783e 7735static PyObject *_wrap_ListBox_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7736 PyObject *resultobj;
7737 wxListBox *arg1 = (wxListBox *) 0 ;
7738 PyObject *result;
7739 PyObject * obj0 = 0 ;
7740 char *kwnames[] = {
7741 (char *) "self", NULL
7742 };
7743
7744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
7745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7746 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 result = (PyObject *)wxListBox_GetSelections(arg1);
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 resultobj = result;
7755 return resultobj;
7756 fail:
7757 return NULL;
7758}
7759
7760
c370783e 7761static PyObject *_wrap_ListBox_SetFirstItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7762 PyObject *resultobj;
7763 wxListBox *arg1 = (wxListBox *) 0 ;
7764 int arg2 ;
7765 PyObject * obj0 = 0 ;
7766 PyObject * obj1 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "self",(char *) "n", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail;
7774 {
7775 arg2 = (int)(SWIG_As_int(obj1));
7776 if (SWIG_arg_fail(2)) SWIG_fail;
7777 }
d55e5bfc
RD
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 (arg1)->SetFirstItem(arg2);
7781
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 Py_INCREF(Py_None); resultobj = Py_None;
7786 return resultobj;
7787 fail:
7788 return NULL;
7789}
7790
7791
c370783e 7792static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7793 PyObject *resultobj;
7794 wxListBox *arg1 = (wxListBox *) 0 ;
7795 wxString *arg2 = 0 ;
b411df4a 7796 bool temp2 = false ;
d55e5bfc
RD
7797 PyObject * obj0 = 0 ;
7798 PyObject * obj1 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self",(char *) "s", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7805 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7806 {
7807 arg2 = wxString_in_helper(obj1);
7808 if (arg2 == NULL) SWIG_fail;
b411df4a 7809 temp2 = true;
d55e5bfc
RD
7810 }
7811 {
7812 PyThreadState* __tstate = wxPyBeginAllowThreads();
7813 (arg1)->SetFirstItem((wxString const &)*arg2);
7814
7815 wxPyEndAllowThreads(__tstate);
7816 if (PyErr_Occurred()) SWIG_fail;
7817 }
7818 Py_INCREF(Py_None); resultobj = Py_None;
7819 {
7820 if (temp2)
7821 delete arg2;
7822 }
7823 return resultobj;
7824 fail:
7825 {
7826 if (temp2)
7827 delete arg2;
7828 }
7829 return NULL;
7830}
7831
7832
c370783e 7833static PyObject *_wrap_ListBox_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7834 PyObject *resultobj;
7835 wxListBox *arg1 = (wxListBox *) 0 ;
7836 int arg2 ;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self",(char *) "n", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail;
7846 {
7847 arg2 = (int)(SWIG_As_int(obj1));
7848 if (SWIG_arg_fail(2)) SWIG_fail;
7849 }
d55e5bfc
RD
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->EnsureVisible(arg2);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
c370783e 7864static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7865 PyObject *resultobj;
7866 wxListBox *arg1 = (wxListBox *) 0 ;
7867 wxString *arg2 = 0 ;
b411df4a 7868 bool temp2 = false ;
d55e5bfc
RD
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "s", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7878 {
7879 arg2 = wxString_in_helper(obj1);
7880 if (arg2 == NULL) SWIG_fail;
b411df4a 7881 temp2 = true;
d55e5bfc
RD
7882 }
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 Py_INCREF(Py_None); resultobj = Py_None;
7891 {
7892 if (temp2)
7893 delete arg2;
7894 }
7895 return resultobj;
7896 fail:
7897 {
7898 if (temp2)
7899 delete arg2;
7900 }
7901 return NULL;
7902}
7903
7904
c370783e 7905static PyObject *_wrap_ListBox_IsSorted(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7906 PyObject *resultobj;
7907 wxListBox *arg1 = (wxListBox *) 0 ;
7908 bool result;
7909 PyObject * obj0 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
36ed4f51
RD
7915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (bool)((wxListBox const *)arg1)->IsSorted();
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 {
7925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7926 }
7927 return resultobj;
7928 fail:
7929 return NULL;
7930}
7931
7932
c370783e 7933static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7934 PyObject *resultobj;
7935 wxListBox *arg1 = (wxListBox *) 0 ;
7936 int arg2 ;
7937 wxColour *arg3 = 0 ;
7938 wxColour temp3 ;
7939 PyObject * obj0 = 0 ;
7940 PyObject * obj1 = 0 ;
7941 PyObject * obj2 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "item",(char *) "c", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7948 if (SWIG_arg_fail(1)) SWIG_fail;
7949 {
7950 arg2 = (int)(SWIG_As_int(obj1));
7951 if (SWIG_arg_fail(2)) SWIG_fail;
7952 }
d55e5bfc
RD
7953 {
7954 arg3 = &temp3;
7955 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7956 }
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
7960
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 Py_INCREF(Py_None); resultobj = Py_None;
7965 return resultobj;
7966 fail:
7967 return NULL;
7968}
7969
7970
c370783e 7971static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
7972 PyObject *resultobj;
7973 wxListBox *arg1 = (wxListBox *) 0 ;
7974 int arg2 ;
7975 wxColour *arg3 = 0 ;
7976 wxColour temp3 ;
7977 PyObject * obj0 = 0 ;
7978 PyObject * obj1 = 0 ;
7979 PyObject * obj2 = 0 ;
7980 char *kwnames[] = {
7981 (char *) "self",(char *) "item",(char *) "c", NULL
7982 };
7983
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
7986 if (SWIG_arg_fail(1)) SWIG_fail;
7987 {
7988 arg2 = (int)(SWIG_As_int(obj1));
7989 if (SWIG_arg_fail(2)) SWIG_fail;
7990 }
d55e5bfc
RD
7991 {
7992 arg3 = &temp3;
7993 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 Py_INCREF(Py_None); resultobj = Py_None;
8003 return resultobj;
8004 fail:
8005 return NULL;
8006}
8007
8008
c370783e 8009static PyObject *_wrap_ListBox_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8010 PyObject *resultobj;
8011 wxListBox *arg1 = (wxListBox *) 0 ;
8012 int arg2 ;
8013 wxFont *arg3 = 0 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 PyObject * obj2 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "item",(char *) "f", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListBox, SWIG_POINTER_EXCEPTION | 0);
8023 if (SWIG_arg_fail(1)) SWIG_fail;
8024 {
8025 arg2 = (int)(SWIG_As_int(obj1));
8026 if (SWIG_arg_fail(2)) SWIG_fail;
8027 }
8028 {
8029 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(3)) SWIG_fail;
8031 if (arg3 == NULL) {
8032 SWIG_null_ref("wxFont");
8033 }
8034 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8035 }
8036 {
8037 PyThreadState* __tstate = wxPyBeginAllowThreads();
8038 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
8039
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 Py_INCREF(Py_None); resultobj = Py_None;
8044 return resultobj;
8045 fail:
8046 return NULL;
8047}
8048
8049
c370783e 8050static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8051 PyObject *resultobj;
36ed4f51 8052 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
8053 wxVisualAttributes result;
8054 PyObject * obj0 = 0 ;
8055 char *kwnames[] = {
8056 (char *) "variant", NULL
8057 };
8058
8059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
8060 if (obj0) {
36ed4f51
RD
8061 {
8062 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
8063 if (SWIG_arg_fail(1)) SWIG_fail;
8064 }
d55e5bfc
RD
8065 }
8066 {
0439c23b 8067 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
8070
8071 wxPyEndAllowThreads(__tstate);
110da5b0 8072 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8073 }
8074 {
8075 wxVisualAttributes * resultptr;
36ed4f51 8076 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
8077 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
8078 }
8079 return resultobj;
8080 fail:
8081 return NULL;
8082}
8083
8084
c370783e 8085static PyObject * ListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8086 PyObject *obj;
8087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
8089 Py_INCREF(obj);
8090 return Py_BuildValue((char *)"");
8091}
c370783e 8092static PyObject *_wrap_new_CheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8093 PyObject *resultobj;
8094 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 8095 int arg2 = (int) -1 ;
d55e5bfc
RD
8096 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8097 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8098 wxSize const &arg4_defvalue = wxDefaultSize ;
8099 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8100 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8101 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8102 long arg6 = (long) 0 ;
8103 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8104 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8105 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8106 wxString *arg8 = (wxString *) &arg8_defvalue ;
8107 wxCheckListBox *result;
8108 wxPoint temp3 ;
8109 wxSize temp4 ;
b411df4a
RD
8110 bool temp5 = false ;
8111 bool temp8 = false ;
d55e5bfc
RD
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 PyObject * obj2 = 0 ;
8115 PyObject * obj3 = 0 ;
8116 PyObject * obj4 = 0 ;
8117 PyObject * obj5 = 0 ;
8118 PyObject * obj6 = 0 ;
8119 PyObject * obj7 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8122 };
8123
bfddbb17 8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
8125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8126 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 8127 if (obj1) {
36ed4f51
RD
8128 {
8129 arg2 = (int)(SWIG_As_int(obj1));
8130 if (SWIG_arg_fail(2)) SWIG_fail;
8131 }
bfddbb17 8132 }
d55e5bfc
RD
8133 if (obj2) {
8134 {
8135 arg3 = &temp3;
8136 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8137 }
8138 }
8139 if (obj3) {
8140 {
8141 arg4 = &temp4;
8142 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8143 }
8144 }
8145 if (obj4) {
8146 {
8147 if (! PySequence_Check(obj4)) {
8148 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8149 SWIG_fail;
8150 }
8151 arg5 = new wxArrayString;
b411df4a 8152 temp5 = true;
d55e5bfc
RD
8153 int i, len=PySequence_Length(obj4);
8154 for (i=0; i<len; i++) {
8155 PyObject* item = PySequence_GetItem(obj4, i);
71237536 8156 wxString* s = wxString_in_helper(item);
d55e5bfc 8157 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8158 arg5->Add(*s);
8159 delete s;
d55e5bfc 8160 Py_DECREF(item);
d55e5bfc
RD
8161 }
8162 }
8163 }
8164 if (obj5) {
36ed4f51
RD
8165 {
8166 arg6 = (long)(SWIG_As_long(obj5));
8167 if (SWIG_arg_fail(6)) SWIG_fail;
8168 }
d55e5bfc
RD
8169 }
8170 if (obj6) {
36ed4f51
RD
8171 {
8172 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8173 if (SWIG_arg_fail(7)) SWIG_fail;
8174 if (arg7 == NULL) {
8175 SWIG_null_ref("wxValidator");
8176 }
8177 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
8178 }
8179 }
8180 if (obj7) {
8181 {
8182 arg8 = wxString_in_helper(obj7);
8183 if (arg8 == NULL) SWIG_fail;
b411df4a 8184 temp8 = true;
d55e5bfc
RD
8185 }
8186 }
8187 {
0439c23b 8188 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8189 PyThreadState* __tstate = wxPyBeginAllowThreads();
8190 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8191
8192 wxPyEndAllowThreads(__tstate);
110da5b0 8193 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8194 }
8195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8196 {
8197 if (temp5) delete arg5;
8198 }
8199 {
8200 if (temp8)
8201 delete arg8;
8202 }
8203 return resultobj;
8204 fail:
8205 {
8206 if (temp5) delete arg5;
8207 }
8208 {
8209 if (temp8)
8210 delete arg8;
8211 }
8212 return NULL;
8213}
8214
8215
c370783e 8216static PyObject *_wrap_new_PreCheckListBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8217 PyObject *resultobj;
8218 wxCheckListBox *result;
8219 char *kwnames[] = {
8220 NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
8224 {
0439c23b 8225 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (wxCheckListBox *)new wxCheckListBox();
8228
8229 wxPyEndAllowThreads(__tstate);
110da5b0 8230 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8231 }
8232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
8233 return resultobj;
8234 fail:
8235 return NULL;
8236}
8237
8238
c370783e 8239static PyObject *_wrap_CheckListBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8240 PyObject *resultobj;
8241 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8242 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 8243 int arg3 = (int) -1 ;
d55e5bfc
RD
8244 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8245 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8246 wxSize const &arg5_defvalue = wxDefaultSize ;
8247 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8248 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8249 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8250 long arg7 = (long) 0 ;
8251 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8252 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8253 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8254 wxString *arg9 = (wxString *) &arg9_defvalue ;
8255 bool result;
8256 wxPoint temp4 ;
8257 wxSize temp5 ;
b411df4a
RD
8258 bool temp6 = false ;
8259 bool temp9 = false ;
d55e5bfc
RD
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 PyObject * obj2 = 0 ;
8263 PyObject * obj3 = 0 ;
8264 PyObject * obj4 = 0 ;
8265 PyObject * obj5 = 0 ;
8266 PyObject * obj6 = 0 ;
8267 PyObject * obj7 = 0 ;
8268 PyObject * obj8 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8271 };
8272
bfddbb17 8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
8274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail;
8276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8277 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 8278 if (obj2) {
36ed4f51
RD
8279 {
8280 arg3 = (int)(SWIG_As_int(obj2));
8281 if (SWIG_arg_fail(3)) SWIG_fail;
8282 }
bfddbb17 8283 }
d55e5bfc
RD
8284 if (obj3) {
8285 {
8286 arg4 = &temp4;
8287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8288 }
8289 }
8290 if (obj4) {
8291 {
8292 arg5 = &temp5;
8293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8294 }
8295 }
8296 if (obj5) {
8297 {
8298 if (! PySequence_Check(obj5)) {
8299 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8300 SWIG_fail;
8301 }
8302 arg6 = new wxArrayString;
b411df4a 8303 temp6 = true;
d55e5bfc
RD
8304 int i, len=PySequence_Length(obj5);
8305 for (i=0; i<len; i++) {
8306 PyObject* item = PySequence_GetItem(obj5, i);
71237536 8307 wxString* s = wxString_in_helper(item);
d55e5bfc 8308 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
8309 arg6->Add(*s);
8310 delete s;
d55e5bfc 8311 Py_DECREF(item);
d55e5bfc
RD
8312 }
8313 }
8314 }
8315 if (obj6) {
36ed4f51
RD
8316 {
8317 arg7 = (long)(SWIG_As_long(obj6));
8318 if (SWIG_arg_fail(7)) SWIG_fail;
8319 }
d55e5bfc
RD
8320 }
8321 if (obj7) {
36ed4f51
RD
8322 {
8323 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
8324 if (SWIG_arg_fail(8)) SWIG_fail;
8325 if (arg8 == NULL) {
8326 SWIG_null_ref("wxValidator");
8327 }
8328 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
8329 }
8330 }
8331 if (obj8) {
8332 {
8333 arg9 = wxString_in_helper(obj8);
8334 if (arg9 == NULL) SWIG_fail;
b411df4a 8335 temp9 = true;
d55e5bfc
RD
8336 }
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8341
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 {
8346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8347 }
8348 {
8349 if (temp6) delete arg6;
8350 }
8351 {
8352 if (temp9)
8353 delete arg9;
8354 }
8355 return resultobj;
8356 fail:
8357 {
8358 if (temp6) delete arg6;
8359 }
8360 {
8361 if (temp9)
8362 delete arg9;
8363 }
8364 return NULL;
8365}
8366
8367
c370783e 8368static PyObject *_wrap_CheckListBox_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8369 PyObject *resultobj;
8370 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8371 int arg2 ;
8372 bool result;
8373 PyObject * obj0 = 0 ;
8374 PyObject * obj1 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "self",(char *) "index", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8381 if (SWIG_arg_fail(1)) SWIG_fail;
8382 {
8383 arg2 = (int)(SWIG_As_int(obj1));
8384 if (SWIG_arg_fail(2)) SWIG_fail;
8385 }
d55e5bfc
RD
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 result = (bool)(arg1)->IsChecked(arg2);
8389
8390 wxPyEndAllowThreads(__tstate);
8391 if (PyErr_Occurred()) SWIG_fail;
8392 }
8393 {
8394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8395 }
8396 return resultobj;
8397 fail:
8398 return NULL;
8399}
8400
8401
c370783e 8402static PyObject *_wrap_CheckListBox_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8403 PyObject *resultobj;
8404 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8405 int arg2 ;
b411df4a 8406 int arg3 = (int) true ;
d55e5bfc
RD
8407 PyObject * obj0 = 0 ;
8408 PyObject * obj1 = 0 ;
8409 PyObject * obj2 = 0 ;
8410 char *kwnames[] = {
8411 (char *) "self",(char *) "index",(char *) "check", NULL
8412 };
8413
8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8415 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8416 if (SWIG_arg_fail(1)) SWIG_fail;
8417 {
8418 arg2 = (int)(SWIG_As_int(obj1));
8419 if (SWIG_arg_fail(2)) SWIG_fail;
8420 }
d55e5bfc 8421 if (obj2) {
36ed4f51
RD
8422 {
8423 arg3 = (int)(SWIG_As_int(obj2));
8424 if (SWIG_arg_fail(3)) SWIG_fail;
8425 }
d55e5bfc
RD
8426 }
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 (arg1)->Check(arg2,arg3);
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 Py_INCREF(Py_None); resultobj = Py_None;
8435 return resultobj;
8436 fail:
8437 return NULL;
8438}
8439
8440
c370783e 8441static PyObject *_wrap_CheckListBox_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8442 PyObject *resultobj;
8443 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8444 wxPoint *arg2 = 0 ;
8445 int result;
8446 wxPoint temp2 ;
8447 PyObject * obj0 = 0 ;
8448 PyObject * obj1 = 0 ;
8449 char *kwnames[] = {
8450 (char *) "self",(char *) "pt", NULL
8451 };
8452
8453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8455 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8456 {
8457 arg2 = &temp2;
8458 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8459 }
8460 {
8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
8462 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
8463
8464 wxPyEndAllowThreads(__tstate);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 }
36ed4f51
RD
8467 {
8468 resultobj = SWIG_From_int((int)(result));
8469 }
d55e5bfc
RD
8470 return resultobj;
8471 fail:
8472 return NULL;
8473}
8474
8475
c370783e 8476static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8477 PyObject *resultobj;
8478 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
8479 int arg2 ;
8480 int arg3 ;
8481 int result;
8482 PyObject * obj0 = 0 ;
8483 PyObject * obj1 = 0 ;
8484 PyObject * obj2 = 0 ;
8485 char *kwnames[] = {
8486 (char *) "self",(char *) "x",(char *) "y", NULL
8487 };
8488
8489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_EXCEPTION | 0);
8491 if (SWIG_arg_fail(1)) SWIG_fail;
8492 {
8493 arg2 = (int)(SWIG_As_int(obj1));
8494 if (SWIG_arg_fail(2)) SWIG_fail;
8495 }
8496 {
8497 arg3 = (int)(SWIG_As_int(obj2));
8498 if (SWIG_arg_fail(3)) SWIG_fail;
8499 }
d55e5bfc
RD
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
36ed4f51
RD
8507 {
8508 resultobj = SWIG_From_int((int)(result));
8509 }
d55e5bfc
RD
8510 return resultobj;
8511 fail:
8512 return NULL;
8513}
8514
8515
c370783e 8516static PyObject * CheckListBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
8517 PyObject *obj;
8518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8519 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
8520 Py_INCREF(obj);
8521 return Py_BuildValue((char *)"");
8522}
c370783e 8523static int _wrap_TextCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
8524 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
8525 return 1;
8526}
8527
8528
36ed4f51 8529static PyObject *_wrap_TextCtrlNameStr_get(void) {
d55e5bfc
RD
8530 PyObject *pyobj;
8531
8532 {
8533#if wxUSE_UNICODE
8534 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8535#else
8536 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
8537#endif
8538 }
8539 return pyobj;
8540}
8541
8542
c370783e 8543static PyObject *_wrap_new_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 8544 PyObject *resultobj;
908b74cd
RD
8545 wxColour const &arg1_defvalue = wxNullColour ;
8546 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
d55e5bfc
RD
8547 wxColour const &arg2_defvalue = wxNullColour ;
8548 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
8549 wxFont const &arg3_defvalue = wxNullFont ;
8550 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
36ed4f51 8551 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
d55e5bfc
RD
8552 wxTextAttr *result;
8553 wxColour temp1 ;
8554 wxColour temp2 ;
8555 PyObject * obj0 = 0 ;
8556 PyObject * obj1 = 0 ;
8557 PyObject * obj2 = 0 ;
8558 PyObject * obj3 = 0 ;
908b74cd
RD
8559 char *kwnames[] = {
8560 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
8561 };
d55e5bfc 8562
908b74cd
RD
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8564 if (obj0) {
8565 {
8566 arg1 = &temp1;
8567 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
8568 }
d55e5bfc
RD
8569 }
8570 if (obj1) {
8571 {
8572 arg2 = &temp2;
8573 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8574 }
8575 }
8576 if (obj2) {
36ed4f51
RD
8577 {
8578 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8579 if (SWIG_arg_fail(3)) SWIG_fail;
8580 if (arg3 == NULL) {
8581 SWIG_null_ref("wxFont");
8582 }
8583 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
8584 }
8585 }
8586 if (obj3) {
36ed4f51
RD
8587 {
8588 arg4 = (wxTextAttrAlignment)(SWIG_As_int(obj3));
8589 if (SWIG_arg_fail(4)) SWIG_fail;
8590 }
d55e5bfc
RD
8591 }
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
8600 return resultobj;
8601 fail:
8602 return NULL;
8603}
8604
8605
c370783e 8606static PyObject *_wrap_delete_TextAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8607 PyObject *resultobj;
8608 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
36ed4f51
RD
8615 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8616 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 delete arg1;
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 Py_INCREF(Py_None); resultobj = Py_None;
8625 return resultobj;
8626 fail:
8627 return NULL;
8628}
8629
8630
c370783e 8631static PyObject *_wrap_TextAttr_Init(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8632 PyObject *resultobj;
8633 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8634 PyObject * obj0 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
36ed4f51
RD
8640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8641 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->Init();
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 return resultobj;
8651 fail:
8652 return NULL;
8653}
8654
8655
c370783e 8656static PyObject *_wrap_TextAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8657 PyObject *resultobj;
8658 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8659 wxColour *arg2 = 0 ;
8660 wxColour temp2 ;
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
8663 char *kwnames[] = {
8664 (char *) "self",(char *) "colText", NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8668 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8670 {
8671 arg2 = &temp2;
8672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8673 }
8674 {
8675 PyThreadState* __tstate = wxPyBeginAllowThreads();
8676 (arg1)->SetTextColour((wxColour const &)*arg2);
8677
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 Py_INCREF(Py_None); resultobj = Py_None;
8682 return resultobj;
8683 fail:
8684 return NULL;
8685}
8686
8687
c370783e 8688static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8689 PyObject *resultobj;
8690 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8691 wxColour *arg2 = 0 ;
8692 wxColour temp2 ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj1 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self",(char *) "colBack", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8700 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8701 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8702 {
8703 arg2 = &temp2;
8704 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 return resultobj;
8715 fail:
8716 return NULL;
8717}
8718
8719
c370783e 8720static PyObject *_wrap_TextAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8721 PyObject *resultobj;
8722 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8723 wxFont *arg2 = 0 ;
8724 long arg3 = (long) wxTEXT_ATTR_FONT ;
8725 PyObject * obj0 = 0 ;
8726 PyObject * obj1 = 0 ;
8727 PyObject * obj2 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self",(char *) "font",(char *) "flags", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8734 if (SWIG_arg_fail(1)) SWIG_fail;
8735 {
8736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
8737 if (SWIG_arg_fail(2)) SWIG_fail;
8738 if (arg2 == NULL) {
8739 SWIG_null_ref("wxFont");
8740 }
8741 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
8742 }
8743 if (obj2) {
36ed4f51
RD
8744 {
8745 arg3 = (long)(SWIG_As_long(obj2));
8746 if (SWIG_arg_fail(3)) SWIG_fail;
8747 }
d55e5bfc
RD
8748 }
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 (arg1)->SetFont((wxFont const &)*arg2,arg3);
8752
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 Py_INCREF(Py_None); resultobj = Py_None;
8757 return resultobj;
8758 fail:
8759 return NULL;
8760}
8761
8762
c370783e 8763static PyObject *_wrap_TextAttr_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8764 PyObject *resultobj;
8765 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 8766 wxTextAttrAlignment arg2 ;
d55e5bfc
RD
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "alignment", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8774 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8775 if (SWIG_arg_fail(1)) SWIG_fail;
8776 {
8777 arg2 = (wxTextAttrAlignment)(SWIG_As_int(obj1));
8778 if (SWIG_arg_fail(2)) SWIG_fail;
8779 }
d55e5bfc
RD
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 Py_INCREF(Py_None); resultobj = Py_None;
8788 return resultobj;
8789 fail:
8790 return NULL;
8791}
8792
8793
c370783e 8794static PyObject *_wrap_TextAttr_SetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8795 PyObject *resultobj;
8796 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8797 wxArrayInt *arg2 = 0 ;
b411df4a 8798 bool temp2 = false ;
d55e5bfc
RD
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 char *kwnames[] = {
8802 (char *) "self",(char *) "tabs", NULL
8803 };
8804
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8807 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8808 {
8809 if (! PySequence_Check(obj1)) {
8810 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
8811 SWIG_fail;
8812 }
8813 arg2 = new wxArrayInt;
b411df4a 8814 temp2 = true;
d55e5bfc
RD
8815 int i, len=PySequence_Length(obj1);
8816 for (i=0; i<len; i++) {
8817 PyObject* item = PySequence_GetItem(obj1, i);
8818 PyObject* number = PyNumber_Int(item);
8819 arg2->Add(PyInt_AS_LONG(number));
8820 Py_DECREF(item);
8821 Py_DECREF(number);
8822 }
8823 }
8824 {
8825 PyThreadState* __tstate = wxPyBeginAllowThreads();
8826 (arg1)->SetTabs((wxArrayInt const &)*arg2);
8827
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 Py_INCREF(Py_None); resultobj = Py_None;
8832 {
8833 if (temp2) delete arg2;
8834 }
8835 return resultobj;
8836 fail:
8837 {
8838 if (temp2) delete arg2;
8839 }
8840 return NULL;
8841}
8842
8843
c370783e 8844static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8845 PyObject *resultobj;
8846 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8847 int arg2 ;
68e533f8 8848 int arg3 = (int) 0 ;
d55e5bfc
RD
8849 PyObject * obj0 = 0 ;
8850 PyObject * obj1 = 0 ;
68e533f8 8851 PyObject * obj2 = 0 ;
d55e5bfc 8852 char *kwnames[] = {
68e533f8 8853 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
8854 };
8855
68e533f8 8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
8857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8858 if (SWIG_arg_fail(1)) SWIG_fail;
8859 {
8860 arg2 = (int)(SWIG_As_int(obj1));
8861 if (SWIG_arg_fail(2)) SWIG_fail;
8862 }
68e533f8 8863 if (obj2) {
36ed4f51
RD
8864 {
8865 arg3 = (int)(SWIG_As_int(obj2));
8866 if (SWIG_arg_fail(3)) SWIG_fail;
8867 }
68e533f8 8868 }
d55e5bfc
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
68e533f8 8871 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 return resultobj;
8878 fail:
8879 return NULL;
8880}
8881
8882
c370783e 8883static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8884 PyObject *resultobj;
8885 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8886 int arg2 ;
8887 PyObject * obj0 = 0 ;
8888 PyObject * obj1 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self",(char *) "indent", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8895 if (SWIG_arg_fail(1)) SWIG_fail;
8896 {
8897 arg2 = (int)(SWIG_As_int(obj1));
8898 if (SWIG_arg_fail(2)) SWIG_fail;
8899 }
d55e5bfc
RD
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 (arg1)->SetRightIndent(arg2);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 Py_INCREF(Py_None); resultobj = Py_None;
8908 return resultobj;
8909 fail:
8910 return NULL;
8911}
8912
8913
c370783e 8914static PyObject *_wrap_TextAttr_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8915 PyObject *resultobj;
8916 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8917 long arg2 ;
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self",(char *) "flags", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
8925 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8926 if (SWIG_arg_fail(1)) SWIG_fail;
8927 {
8928 arg2 = (long)(SWIG_As_long(obj1));
8929 if (SWIG_arg_fail(2)) SWIG_fail;
8930 }
d55e5bfc
RD
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 (arg1)->SetFlags(arg2);
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 Py_INCREF(Py_None); resultobj = Py_None;
8939 return resultobj;
8940 fail:
8941 return NULL;
8942}
8943
8944
c370783e 8945static PyObject *_wrap_TextAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8946 PyObject *resultobj;
8947 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8948 bool result;
8949 PyObject * obj0 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
8955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
8960
8961 wxPyEndAllowThreads(__tstate);
8962 if (PyErr_Occurred()) SWIG_fail;
8963 }
8964 {
8965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8966 }
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
c370783e 8973static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
8974 PyObject *resultobj;
8975 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
8976 bool result;
8977 PyObject * obj0 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
8983 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
8984 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
8985 {
8986 PyThreadState* __tstate = wxPyBeginAllowThreads();
8987 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
8988
8989 wxPyEndAllowThreads(__tstate);
8990 if (PyErr_Occurred()) SWIG_fail;
8991 }
8992 {
8993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8994 }
8995 return resultobj;
8996 fail:
8997 return NULL;
8998}
8999
9000
c370783e 9001static PyObject *_wrap_TextAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9002 PyObject *resultobj;
9003 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9004 bool result;
9005 PyObject * obj0 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (bool)((wxTextAttr const *)arg1)->HasFont();
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 {
9021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9022 }
9023 return resultobj;
9024 fail:
9025 return NULL;
9026}
9027
9028
c370783e 9029static PyObject *_wrap_TextAttr_HasAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9030 PyObject *resultobj;
9031 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9032 bool result;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9040 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 {
9049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9050 }
9051 return resultobj;
9052 fail:
9053 return NULL;
9054}
9055
9056
c370783e 9057static PyObject *_wrap_TextAttr_HasTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9058 PyObject *resultobj;
9059 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9060 bool result;
9061 PyObject * obj0 = 0 ;
9062 char *kwnames[] = {
9063 (char *) "self", NULL
9064 };
9065
9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9068 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9069 {
9070 PyThreadState* __tstate = wxPyBeginAllowThreads();
9071 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
9072
9073 wxPyEndAllowThreads(__tstate);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 }
9076 {
9077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9078 }
9079 return resultobj;
9080 fail:
9081 return NULL;
9082}
9083
9084
c370783e 9085static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9086 PyObject *resultobj;
9087 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9088 bool result;
9089 PyObject * obj0 = 0 ;
9090 char *kwnames[] = {
9091 (char *) "self", NULL
9092 };
9093
9094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9096 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
c370783e 9113static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9114 PyObject *resultobj;
9115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9116 bool result;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9124 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138}
9139
9140
c370783e 9141static PyObject *_wrap_TextAttr_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9142 PyObject *resultobj;
9143 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9144 long arg2 ;
9145 bool result;
9146 PyObject * obj0 = 0 ;
9147 PyObject * obj1 = 0 ;
9148 char *kwnames[] = {
9149 (char *) "self",(char *) "flag", NULL
9150 };
9151
9152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail;
9155 {
9156 arg2 = (long)(SWIG_As_long(obj1));
9157 if (SWIG_arg_fail(2)) SWIG_fail;
9158 }
d55e5bfc
RD
9159 {
9160 PyThreadState* __tstate = wxPyBeginAllowThreads();
9161 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
9162
9163 wxPyEndAllowThreads(__tstate);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 }
9166 {
9167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9168 }
9169 return resultobj;
9170 fail:
9171 return NULL;
9172}
9173
9174
c370783e 9175static PyObject *_wrap_TextAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9176 PyObject *resultobj;
9177 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9178 wxColour *result;
9179 PyObject * obj0 = 0 ;
9180 char *kwnames[] = {
9181 (char *) "self", NULL
9182 };
9183
9184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9185 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9186 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 {
9190 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
9191 result = (wxColour *) &_result_ref;
9192 }
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
c370783e 9204static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9205 PyObject *resultobj;
9206 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9207 wxColour *result;
9208 PyObject * obj0 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
9214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 {
9219 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
9220 result = (wxColour *) &_result_ref;
9221 }
9222
9223 wxPyEndAllowThreads(__tstate);
9224 if (PyErr_Occurred()) SWIG_fail;
9225 }
9226 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
9227 return resultobj;
9228 fail:
9229 return NULL;
9230}
9231
9232
c370783e 9233static PyObject *_wrap_TextAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9234 PyObject *resultobj;
9235 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9236 wxFont *result;
9237 PyObject * obj0 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "self", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
9243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9244 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 {
9248 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
9249 result = (wxFont *) &_result_ref;
9250 }
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 {
9256 wxFont* resultptr = new wxFont(*result);
9257 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
9258 }
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
c370783e 9265static PyObject *_wrap_TextAttr_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9266 PyObject *resultobj;
9267 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
36ed4f51 9268 wxTextAttrAlignment result;
d55e5bfc
RD
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
9275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 9279 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
d55e5bfc
RD
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
36ed4f51 9284 resultobj = SWIG_From_int((result));
d55e5bfc
RD
9285 return resultobj;
9286 fail:
9287 return NULL;
9288}
9289
9290
c370783e 9291static PyObject *_wrap_TextAttr_GetTabs(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9292 PyObject *resultobj;
9293 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9294 wxArrayInt *result;
9295 PyObject * obj0 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
36ed4f51
RD
9301 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9302 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 {
9306 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
9307 result = (wxArrayInt *) &_result_ref;
9308 }
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 {
9314 resultobj = PyList_New(0);
9315 size_t idx;
9316 for (idx = 0; idx < result->GetCount(); idx += 1) {
9317 PyObject* val = PyInt_FromLong( result->Item(idx) );
9318 PyList_Append(resultobj, val);
9319 Py_DECREF(val);
9320 }
9321 }
9322 return resultobj;
9323 fail:
9324 return NULL;
9325}
9326
9327
c370783e 9328static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9329 PyObject *resultobj;
9330 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9331 long result;
9332 PyObject * obj0 = 0 ;
9333 char *kwnames[] = {
9334 (char *) "self", NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9339 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
36ed4f51
RD
9347 {
9348 resultobj = SWIG_From_long((long)(result));
9349 }
d55e5bfc
RD
9350 return resultobj;
9351 fail:
9352 return NULL;
9353}
9354
9355
c370783e 9356static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *, PyObject *args, PyObject *kwargs) {
68e533f8
RD
9357 PyObject *resultobj;
9358 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9359 long result;
9360 PyObject * obj0 = 0 ;
9361 char *kwnames[] = {
9362 (char *) "self", NULL
9363 };
9364
9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9367 if (SWIG_arg_fail(1)) SWIG_fail;
68e533f8
RD
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
36ed4f51
RD
9375 {
9376 resultobj = SWIG_From_long((long)(result));
9377 }
68e533f8
RD
9378 return resultobj;
9379 fail:
9380 return NULL;
9381}
9382
9383
c370783e 9384static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9385 PyObject *resultobj;
9386 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9387 long result;
9388 PyObject * obj0 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
9394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
36ed4f51
RD
9403 {
9404 resultobj = SWIG_From_long((long)(result));
9405 }
d55e5bfc
RD
9406 return resultobj;
9407 fail:
9408 return NULL;
9409}
9410
9411
c370783e 9412static PyObject *_wrap_TextAttr_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9413 PyObject *resultobj;
9414 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9415 long result;
9416 PyObject * obj0 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
36ed4f51
RD
9422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (long)((wxTextAttr const *)arg1)->GetFlags();
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
36ed4f51
RD
9431 {
9432 resultobj = SWIG_From_long((long)(result));
9433 }
d55e5bfc
RD
9434 return resultobj;
9435 fail:
9436 return NULL;
9437}
9438
9439
c370783e 9440static PyObject *_wrap_TextAttr_IsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9441 PyObject *resultobj;
9442 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
9443 bool result;
9444 PyObject * obj0 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "self", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
36ed4f51
RD
9450 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9451 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
c370783e 9468static PyObject *_wrap_TextAttr_Combine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9469 PyObject *resultobj;
9470 wxTextAttr *arg1 = 0 ;
9471 wxTextAttr *arg2 = 0 ;
9472 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
9473 wxTextAttr result;
9474 PyObject * obj0 = 0 ;
9475 PyObject * obj1 = 0 ;
9476 PyObject * obj2 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9482 {
9483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail;
9485 if (arg1 == NULL) {
9486 SWIG_null_ref("wxTextAttr");
9487 }
9488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 9489 }
36ed4f51
RD
9490 {
9491 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
9492 if (SWIG_arg_fail(2)) SWIG_fail;
9493 if (arg2 == NULL) {
9494 SWIG_null_ref("wxTextAttr");
9495 }
9496 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 9497 }
36ed4f51
RD
9498 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9499 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
9500 {
9501 PyThreadState* __tstate = wxPyBeginAllowThreads();
9502 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
9503
9504 wxPyEndAllowThreads(__tstate);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 }
9507 {
9508 wxTextAttr * resultptr;
36ed4f51 9509 resultptr = new wxTextAttr((wxTextAttr &)(result));
d55e5bfc
RD
9510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
9511 }
9512 return resultobj;
9513 fail:
9514 return NULL;
9515}
9516
9517
c370783e 9518static PyObject * TextAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
9519 PyObject *obj;
9520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9521 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
9522 Py_INCREF(obj);
9523 return Py_BuildValue((char *)"");
9524}
c370783e 9525static PyObject *_wrap_new_TextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9526 PyObject *resultobj;
9527 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 9528 int arg2 = (int) -1 ;
d55e5bfc
RD
9529 wxString const &arg3_defvalue = wxPyEmptyString ;
9530 wxString *arg3 = (wxString *) &arg3_defvalue ;
9531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9533 wxSize const &arg5_defvalue = wxDefaultSize ;
9534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9535 long arg6 = (long) 0 ;
9536 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9537 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9538 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
9539 wxString *arg8 = (wxString *) &arg8_defvalue ;
9540 wxTextCtrl *result;
b411df4a 9541 bool temp3 = false ;
d55e5bfc
RD
9542 wxPoint temp4 ;
9543 wxSize temp5 ;
b411df4a 9544 bool temp8 = false ;
d55e5bfc
RD
9545 PyObject * obj0 = 0 ;
9546 PyObject * obj1 = 0 ;
9547 PyObject * obj2 = 0 ;
9548 PyObject * obj3 = 0 ;
9549 PyObject * obj4 = 0 ;
9550 PyObject * obj5 = 0 ;
9551 PyObject * obj6 = 0 ;
9552 PyObject * obj7 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9555 };
9556
bfddbb17 9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
9558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9559 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 9560 if (obj1) {
36ed4f51
RD
9561 {
9562 arg2 = (int)(SWIG_As_int(obj1));
9563 if (SWIG_arg_fail(2)) SWIG_fail;
9564 }
bfddbb17 9565 }
d55e5bfc
RD
9566 if (obj2) {
9567 {
9568 arg3 = wxString_in_helper(obj2);
9569 if (arg3 == NULL) SWIG_fail;
b411df4a 9570 temp3 = true;
d55e5bfc
RD
9571 }
9572 }
9573 if (obj3) {
9574 {
9575 arg4 = &temp4;
9576 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9577 }
9578 }
9579 if (obj4) {
9580 {
9581 arg5 = &temp5;
9582 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9583 }
9584 }
9585 if (obj5) {
36ed4f51
RD
9586 {
9587 arg6 = (long)(SWIG_As_long(obj5));
9588 if (SWIG_arg_fail(6)) SWIG_fail;
9589 }
d55e5bfc
RD
9590 }
9591 if (obj6) {
36ed4f51
RD
9592 {
9593 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9594 if (SWIG_arg_fail(7)) SWIG_fail;
9595 if (arg7 == NULL) {
9596 SWIG_null_ref("wxValidator");
9597 }
9598 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
9599 }
9600 }
9601 if (obj7) {
9602 {
9603 arg8 = wxString_in_helper(obj7);
9604 if (arg8 == NULL) SWIG_fail;
b411df4a 9605 temp8 = true;
d55e5bfc
RD
9606 }
9607 }
9608 {
0439c23b 9609 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9612
9613 wxPyEndAllowThreads(__tstate);
110da5b0 9614 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9615 }
b0f7404b 9616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9617 {
9618 if (temp3)
9619 delete arg3;
9620 }
9621 {
9622 if (temp8)
9623 delete arg8;
9624 }
9625 return resultobj;
9626 fail:
9627 {
9628 if (temp3)
9629 delete arg3;
9630 }
9631 {
9632 if (temp8)
9633 delete arg8;
9634 }
9635 return NULL;
9636}
9637
9638
c370783e 9639static PyObject *_wrap_new_PreTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9640 PyObject *resultobj;
9641 wxTextCtrl *result;
9642 char *kwnames[] = {
9643 NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
9647 {
0439c23b 9648 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (wxTextCtrl *)new wxTextCtrl();
9651
9652 wxPyEndAllowThreads(__tstate);
110da5b0 9653 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 9654 }
b0f7404b 9655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextCtrl, 1);
d55e5bfc
RD
9656 return resultobj;
9657 fail:
9658 return NULL;
9659}
9660
9661
c370783e 9662static PyObject *_wrap_TextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9663 PyObject *resultobj;
9664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9665 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 9666 int arg3 = (int) -1 ;
d55e5bfc
RD
9667 wxString const &arg4_defvalue = wxPyEmptyString ;
9668 wxString *arg4 = (wxString *) &arg4_defvalue ;
9669 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9670 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9671 wxSize const &arg6_defvalue = wxDefaultSize ;
9672 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9673 long arg7 = (long) 0 ;
9674 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9675 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9676 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
9677 wxString *arg9 = (wxString *) &arg9_defvalue ;
9678 bool result;
b411df4a 9679 bool temp4 = false ;
d55e5bfc
RD
9680 wxPoint temp5 ;
9681 wxSize temp6 ;
b411df4a 9682 bool temp9 = false ;
d55e5bfc
RD
9683 PyObject * obj0 = 0 ;
9684 PyObject * obj1 = 0 ;
9685 PyObject * obj2 = 0 ;
9686 PyObject * obj3 = 0 ;
9687 PyObject * obj4 = 0 ;
9688 PyObject * obj5 = 0 ;
9689 PyObject * obj6 = 0 ;
9690 PyObject * obj7 = 0 ;
9691 PyObject * obj8 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9694 };
9695
bfddbb17 9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
9697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9698 if (SWIG_arg_fail(1)) SWIG_fail;
9699 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
9700 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 9701 if (obj2) {
36ed4f51
RD
9702 {
9703 arg3 = (int)(SWIG_As_int(obj2));
9704 if (SWIG_arg_fail(3)) SWIG_fail;
9705 }
bfddbb17 9706 }
d55e5bfc
RD
9707 if (obj3) {
9708 {
9709 arg4 = wxString_in_helper(obj3);
9710 if (arg4 == NULL) SWIG_fail;
b411df4a 9711 temp4 = true;
d55e5bfc
RD
9712 }
9713 }
9714 if (obj4) {
9715 {
9716 arg5 = &temp5;
9717 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9718 }
9719 }
9720 if (obj5) {
9721 {
9722 arg6 = &temp6;
9723 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9724 }
9725 }
9726 if (obj6) {
36ed4f51
RD
9727 {
9728 arg7 = (long)(SWIG_As_long(obj6));
9729 if (SWIG_arg_fail(7)) SWIG_fail;
9730 }
d55e5bfc
RD
9731 }
9732 if (obj7) {
36ed4f51
RD
9733 {
9734 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
9735 if (SWIG_arg_fail(8)) SWIG_fail;
9736 if (arg8 == NULL) {
9737 SWIG_null_ref("wxValidator");
9738 }
9739 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
9740 }
9741 }
9742 if (obj8) {
9743 {
9744 arg9 = wxString_in_helper(obj8);
9745 if (arg9 == NULL) SWIG_fail;
b411df4a 9746 temp9 = true;
d55e5bfc
RD
9747 }
9748 }
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 {
9757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9758 }
9759 {
9760 if (temp4)
9761 delete arg4;
9762 }
9763 {
9764 if (temp9)
9765 delete arg9;
9766 }
9767 return resultobj;
9768 fail:
9769 {
9770 if (temp4)
9771 delete arg4;
9772 }
9773 {
9774 if (temp9)
9775 delete arg9;
9776 }
9777 return NULL;
9778}
9779
9780
c370783e 9781static PyObject *_wrap_TextCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9782 PyObject *resultobj;
9783 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9784 wxString result;
9785 PyObject * obj0 = 0 ;
9786 char *kwnames[] = {
9787 (char *) "self", NULL
9788 };
9789
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
9791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = ((wxTextCtrl const *)arg1)->GetValue();
9796
9797 wxPyEndAllowThreads(__tstate);
9798 if (PyErr_Occurred()) SWIG_fail;
9799 }
9800 {
9801#if wxUSE_UNICODE
9802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9803#else
9804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9805#endif
9806 }
9807 return resultobj;
9808 fail:
9809 return NULL;
9810}
9811
9812
c370783e 9813static PyObject *_wrap_TextCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9814 PyObject *resultobj;
9815 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9816 wxString *arg2 = 0 ;
b411df4a 9817 bool temp2 = false ;
d55e5bfc
RD
9818 PyObject * obj0 = 0 ;
9819 PyObject * obj1 = 0 ;
9820 char *kwnames[] = {
9821 (char *) "self",(char *) "value", NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9826 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9827 {
9828 arg2 = wxString_in_helper(obj1);
9829 if (arg2 == NULL) SWIG_fail;
b411df4a 9830 temp2 = true;
d55e5bfc
RD
9831 }
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 (arg1)->SetValue((wxString const &)*arg2);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 Py_INCREF(Py_None); resultobj = Py_None;
9840 {
9841 if (temp2)
9842 delete arg2;
9843 }
9844 return resultobj;
9845 fail:
9846 {
9847 if (temp2)
9848 delete arg2;
9849 }
9850 return NULL;
9851}
9852
9853
c370783e 9854static PyObject *_wrap_TextCtrl_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9855 PyObject *resultobj;
9856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9857 long arg2 ;
9858 long arg3 ;
9859 wxString result;
9860 PyObject * obj0 = 0 ;
9861 PyObject * obj1 = 0 ;
9862 PyObject * obj2 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self",(char *) "from",(char *) "to", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
9868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail;
9870 {
9871 arg2 = (long)(SWIG_As_long(obj1));
9872 if (SWIG_arg_fail(2)) SWIG_fail;
9873 }
9874 {
9875 arg3 = (long)(SWIG_As_long(obj2));
9876 if (SWIG_arg_fail(3)) SWIG_fail;
9877 }
d55e5bfc
RD
9878 {
9879 PyThreadState* __tstate = wxPyBeginAllowThreads();
9880 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
9881
9882 wxPyEndAllowThreads(__tstate);
9883 if (PyErr_Occurred()) SWIG_fail;
9884 }
9885 {
9886#if wxUSE_UNICODE
9887 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9888#else
9889 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9890#endif
9891 }
9892 return resultobj;
9893 fail:
9894 return NULL;
9895}
9896
9897
c370783e 9898static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9899 PyObject *resultobj;
9900 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9901 long arg2 ;
9902 int result;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 char *kwnames[] = {
9906 (char *) "self",(char *) "lineNo", NULL
9907 };
9908
9909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail;
9912 {
9913 arg2 = (long)(SWIG_As_long(obj1));
9914 if (SWIG_arg_fail(2)) SWIG_fail;
9915 }
d55e5bfc
RD
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
36ed4f51
RD
9923 {
9924 resultobj = SWIG_From_int((int)(result));
9925 }
d55e5bfc
RD
9926 return resultobj;
9927 fail:
9928 return NULL;
9929}
9930
9931
c370783e 9932static PyObject *_wrap_TextCtrl_GetLineText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9933 PyObject *resultobj;
9934 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9935 long arg2 ;
9936 wxString result;
9937 PyObject * obj0 = 0 ;
9938 PyObject * obj1 = 0 ;
9939 char *kwnames[] = {
9940 (char *) "self",(char *) "lineNo", NULL
9941 };
9942
9943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
9944 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9945 if (SWIG_arg_fail(1)) SWIG_fail;
9946 {
9947 arg2 = (long)(SWIG_As_long(obj1));
9948 if (SWIG_arg_fail(2)) SWIG_fail;
9949 }
d55e5bfc
RD
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 {
9958#if wxUSE_UNICODE
9959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9960#else
9961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9962#endif
9963 }
9964 return resultobj;
9965 fail:
9966 return NULL;
9967}
9968
9969
c370783e 9970static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9971 PyObject *resultobj;
9972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9973 int result;
9974 PyObject * obj0 = 0 ;
9975 char *kwnames[] = {
9976 (char *) "self", NULL
9977 };
9978
9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
36ed4f51
RD
9980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
9982 {
9983 PyThreadState* __tstate = wxPyBeginAllowThreads();
9984 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
9985
9986 wxPyEndAllowThreads(__tstate);
9987 if (PyErr_Occurred()) SWIG_fail;
9988 }
36ed4f51
RD
9989 {
9990 resultobj = SWIG_From_int((int)(result));
9991 }
d55e5bfc
RD
9992 return resultobj;
9993 fail:
9994 return NULL;
9995}
9996
9997
c370783e 9998static PyObject *_wrap_TextCtrl_IsModified(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
9999 PyObject *resultobj;
10000 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10001 bool result;
10002 PyObject * obj0 = 0 ;
10003 char *kwnames[] = {
10004 (char *) "self", NULL
10005 };
10006
10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
36ed4f51
RD
10008 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 {
10018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10019 }
10020 return resultobj;
10021 fail:
10022 return NULL;
10023}
10024
10025
c370783e 10026static PyObject *_wrap_TextCtrl_IsEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10027 PyObject *resultobj;
10028 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10029 bool result;
10030 PyObject * obj0 = 0 ;
10031 char *kwnames[] = {
10032 (char *) "self", NULL
10033 };
10034
10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
36ed4f51
RD
10036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10037 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 {
10046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10047 }
10048 return resultobj;
10049 fail:
10050 return NULL;
10051}
10052
10053
c370783e 10054static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10055 PyObject *resultobj;
10056 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10057 bool result;
10058 PyObject * obj0 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10064 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10065 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10066 {
10067 PyThreadState* __tstate = wxPyBeginAllowThreads();
10068 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
10069
10070 wxPyEndAllowThreads(__tstate);
10071 if (PyErr_Occurred()) SWIG_fail;
10072 }
10073 {
10074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10075 }
10076 return resultobj;
10077 fail:
10078 return NULL;
10079}
10080
10081
c370783e 10082static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10083 PyObject *resultobj;
10084 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10085 bool result;
10086 PyObject * obj0 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
36ed4f51
RD
10092 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 {
10102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10103 }
10104 return resultobj;
10105 fail:
10106 return NULL;
10107}
10108
10109
c370783e 10110static PyObject *_wrap_TextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10111 PyObject *resultobj;
10112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10113 long *arg2 = (long *) 0 ;
10114 long *arg3 = (long *) 0 ;
10115 long temp2 ;
c370783e 10116 int res2 = 0 ;
d55e5bfc 10117 long temp3 ;
c370783e 10118 int res3 = 0 ;
d55e5bfc
RD
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self", NULL
10122 };
10123
c370783e
RD
10124 arg2 = &temp2; res2 = SWIG_NEWOBJ;
10125 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10128 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10137 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
10138 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
10139 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10140 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10141 return resultobj;
10142 fail:
10143 return NULL;
10144}
10145
10146
c370783e 10147static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10148 PyObject *resultobj;
10149 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10150 wxString result;
10151 PyObject * obj0 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
10157 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10158 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 {
10167#if wxUSE_UNICODE
10168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10169#else
10170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10171#endif
10172 }
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
c370783e 10179static PyObject *_wrap_TextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10180 PyObject *resultobj;
10181 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10182 PyObject * obj0 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
10188 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10189 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10190 {
10191 PyThreadState* __tstate = wxPyBeginAllowThreads();
10192 (arg1)->Clear();
10193
10194 wxPyEndAllowThreads(__tstate);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 Py_INCREF(Py_None); resultobj = Py_None;
10198 return resultobj;
10199 fail:
10200 return NULL;
10201}
10202
10203
c370783e 10204static PyObject *_wrap_TextCtrl_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10205 PyObject *resultobj;
10206 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10207 long arg2 ;
10208 long arg3 ;
10209 wxString *arg4 = 0 ;
b411df4a 10210 bool temp4 = false ;
d55e5bfc
RD
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 PyObject * obj2 = 0 ;
10214 PyObject * obj3 = 0 ;
10215 char *kwnames[] = {
10216 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
10217 };
10218
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10220 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10221 if (SWIG_arg_fail(1)) SWIG_fail;
10222 {
10223 arg2 = (long)(SWIG_As_long(obj1));
10224 if (SWIG_arg_fail(2)) SWIG_fail;
10225 }
10226 {
10227 arg3 = (long)(SWIG_As_long(obj2));
10228 if (SWIG_arg_fail(3)) SWIG_fail;
10229 }
d55e5bfc
RD
10230 {
10231 arg4 = wxString_in_helper(obj3);
10232 if (arg4 == NULL) SWIG_fail;
b411df4a 10233 temp4 = true;
d55e5bfc
RD
10234 }
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 Py_INCREF(Py_None); resultobj = Py_None;
10243 {
10244 if (temp4)
10245 delete arg4;
10246 }
10247 return resultobj;
10248 fail:
10249 {
10250 if (temp4)
10251 delete arg4;
10252 }
10253 return NULL;
10254}
10255
10256
c370783e 10257static PyObject *_wrap_TextCtrl_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10258 PyObject *resultobj;
10259 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10260 long arg2 ;
10261 long arg3 ;
10262 PyObject * obj0 = 0 ;
10263 PyObject * obj1 = 0 ;
10264 PyObject * obj2 = 0 ;
10265 char *kwnames[] = {
10266 (char *) "self",(char *) "from",(char *) "to", NULL
10267 };
10268
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10270 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10271 if (SWIG_arg_fail(1)) SWIG_fail;
10272 {
10273 arg2 = (long)(SWIG_As_long(obj1));
10274 if (SWIG_arg_fail(2)) SWIG_fail;
10275 }
10276 {
10277 arg3 = (long)(SWIG_As_long(obj2));
10278 if (SWIG_arg_fail(3)) SWIG_fail;
10279 }
d55e5bfc
RD
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->Remove(arg2,arg3);
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 Py_INCREF(Py_None); resultobj = Py_None;
10288 return resultobj;
10289 fail:
10290 return NULL;
10291}
10292
10293
c370783e 10294static PyObject *_wrap_TextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10295 PyObject *resultobj;
10296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10297 wxString *arg2 = 0 ;
10298 bool result;
b411df4a 10299 bool temp2 = false ;
d55e5bfc
RD
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self",(char *) "file", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10307 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10308 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10309 {
10310 arg2 = wxString_in_helper(obj1);
10311 if (arg2 == NULL) SWIG_fail;
b411df4a 10312 temp2 = true;
d55e5bfc
RD
10313 }
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10317
10318 wxPyEndAllowThreads(__tstate);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 {
10322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10323 }
10324 {
10325 if (temp2)
10326 delete arg2;
10327 }
10328 return resultobj;
10329 fail:
10330 {
10331 if (temp2)
10332 delete arg2;
10333 }
10334 return NULL;
10335}
10336
10337
c370783e 10338static PyObject *_wrap_TextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10339 PyObject *resultobj;
10340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10341 wxString const &arg2_defvalue = wxPyEmptyString ;
10342 wxString *arg2 = (wxString *) &arg2_defvalue ;
10343 bool result;
b411df4a 10344 bool temp2 = false ;
d55e5bfc
RD
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char *kwnames[] = {
10348 (char *) "self",(char *) "file", NULL
10349 };
10350
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10354 if (obj1) {
10355 {
10356 arg2 = wxString_in_helper(obj1);
10357 if (arg2 == NULL) SWIG_fail;
b411df4a 10358 temp2 = true;
d55e5bfc
RD
10359 }
10360 }
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 {
10369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10370 }
10371 {
10372 if (temp2)
10373 delete arg2;
10374 }
10375 return resultobj;
10376 fail:
10377 {
10378 if (temp2)
10379 delete arg2;
10380 }
10381 return NULL;
10382}
10383
10384
c370783e 10385static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10386 PyObject *resultobj;
10387 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10388 PyObject * obj0 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
36ed4f51
RD
10394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10395 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 (arg1)->MarkDirty();
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 Py_INCREF(Py_None); resultobj = Py_None;
10404 return resultobj;
10405 fail:
10406 return NULL;
10407}
10408
10409
c370783e 10410static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10411 PyObject *resultobj;
10412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10413 PyObject * obj0 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "self", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
36ed4f51
RD
10419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10420 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 (arg1)->DiscardEdits();
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 Py_INCREF(Py_None); resultobj = Py_None;
10429 return resultobj;
10430 fail:
10431 return NULL;
10432}
10433
10434
c370783e 10435static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10436 PyObject *resultobj;
10437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10438 unsigned long arg2 ;
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self",(char *) "len", NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10447 if (SWIG_arg_fail(1)) SWIG_fail;
10448 {
10449 arg2 = (unsigned long)(SWIG_As_unsigned_SS_long(obj1));
10450 if (SWIG_arg_fail(2)) SWIG_fail;
10451 }
d55e5bfc
RD
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 (arg1)->SetMaxLength(arg2);
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 Py_INCREF(Py_None); resultobj = Py_None;
10460 return resultobj;
10461 fail:
10462 return NULL;
10463}
10464
10465
c370783e 10466static PyObject *_wrap_TextCtrl_WriteText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10467 PyObject *resultobj;
10468 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10469 wxString *arg2 = 0 ;
b411df4a 10470 bool temp2 = false ;
d55e5bfc
RD
10471 PyObject * obj0 = 0 ;
10472 PyObject * obj1 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self",(char *) "text", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10478 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10479 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10480 {
10481 arg2 = wxString_in_helper(obj1);
10482 if (arg2 == NULL) SWIG_fail;
b411df4a 10483 temp2 = true;
d55e5bfc
RD
10484 }
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->WriteText((wxString const &)*arg2);
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 Py_INCREF(Py_None); resultobj = Py_None;
10493 {
10494 if (temp2)
10495 delete arg2;
10496 }
10497 return resultobj;
10498 fail:
10499 {
10500 if (temp2)
10501 delete arg2;
10502 }
10503 return NULL;
10504}
10505
10506
c370783e 10507static PyObject *_wrap_TextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10508 PyObject *resultobj;
10509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10510 wxString *arg2 = 0 ;
b411df4a 10511 bool temp2 = false ;
d55e5bfc
RD
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "text", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10521 {
10522 arg2 = wxString_in_helper(obj1);
10523 if (arg2 == NULL) SWIG_fail;
b411df4a 10524 temp2 = true;
d55e5bfc
RD
10525 }
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 (arg1)->AppendText((wxString const &)*arg2);
10529
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 Py_INCREF(Py_None); resultobj = Py_None;
10534 {
10535 if (temp2)
10536 delete arg2;
10537 }
10538 return resultobj;
10539 fail:
10540 {
10541 if (temp2)
10542 delete arg2;
10543 }
10544 return NULL;
10545}
10546
10547
c370783e 10548static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10549 PyObject *resultobj;
10550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10551 wxKeyEvent *arg2 = 0 ;
10552 bool result;
10553 PyObject * obj0 = 0 ;
10554 PyObject * obj1 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "self",(char *) "event", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10561 if (SWIG_arg_fail(1)) SWIG_fail;
10562 {
10563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
10564 if (SWIG_arg_fail(2)) SWIG_fail;
10565 if (arg2 == NULL) {
10566 SWIG_null_ref("wxKeyEvent");
10567 }
10568 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10569 }
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 {
10578 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10579 }
10580 return resultobj;
10581 fail:
10582 return NULL;
10583}
10584
10585
c370783e 10586static PyObject *_wrap_TextCtrl_SetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10587 PyObject *resultobj;
10588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10589 long arg2 ;
10590 long arg3 ;
10591 wxTextAttr *arg4 = 0 ;
10592 bool result;
10593 PyObject * obj0 = 0 ;
10594 PyObject * obj1 = 0 ;
10595 PyObject * obj2 = 0 ;
10596 PyObject * obj3 = 0 ;
10597 char *kwnames[] = {
10598 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
10599 };
10600
10601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
10602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10603 if (SWIG_arg_fail(1)) SWIG_fail;
10604 {
10605 arg2 = (long)(SWIG_As_long(obj1));
10606 if (SWIG_arg_fail(2)) SWIG_fail;
10607 }
10608 {
10609 arg3 = (long)(SWIG_As_long(obj2));
10610 if (SWIG_arg_fail(3)) SWIG_fail;
10611 }
10612 {
10613 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10614 if (SWIG_arg_fail(4)) SWIG_fail;
10615 if (arg4 == NULL) {
10616 SWIG_null_ref("wxTextAttr");
10617 }
10618 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
10619 }
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 {
10628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10629 }
10630 return resultobj;
10631 fail:
10632 return NULL;
10633}
10634
10635
c370783e 10636static PyObject *_wrap_TextCtrl_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10637 PyObject *resultobj;
10638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10639 long arg2 ;
10640 wxTextAttr *arg3 = 0 ;
10641 bool result;
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
10644 PyObject * obj2 = 0 ;
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "position",(char *) "style", NULL
10647 };
10648
10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10651 if (SWIG_arg_fail(1)) SWIG_fail;
10652 {
10653 arg2 = (long)(SWIG_As_long(obj1));
10654 if (SWIG_arg_fail(2)) SWIG_fail;
10655 }
10656 {
10657 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10658 if (SWIG_arg_fail(3)) SWIG_fail;
10659 if (arg3 == NULL) {
10660 SWIG_null_ref("wxTextAttr");
10661 }
10662 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
10663 }
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 result = (bool)(arg1)->GetStyle(arg2,*arg3);
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 {
10672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10673 }
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
c370783e 10680static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10681 PyObject *resultobj;
10682 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10683 wxTextAttr *arg2 = 0 ;
10684 bool result;
10685 PyObject * obj0 = 0 ;
10686 PyObject * obj1 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self",(char *) "style", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10692 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10693 if (SWIG_arg_fail(1)) SWIG_fail;
10694 {
10695 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTextAttr, SWIG_POINTER_EXCEPTION | 0);
10696 if (SWIG_arg_fail(2)) SWIG_fail;
10697 if (arg2 == NULL) {
10698 SWIG_null_ref("wxTextAttr");
10699 }
10700 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
10701 }
10702 {
10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
10704 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
10705
10706 wxPyEndAllowThreads(__tstate);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 {
10710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10711 }
10712 return resultobj;
10713 fail:
10714 return NULL;
10715}
10716
10717
c370783e 10718static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10719 PyObject *resultobj;
10720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10721 wxTextAttr *result;
10722 PyObject * obj0 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
10728 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10729 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 {
10733 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
10734 result = (wxTextAttr *) &_result_ref;
10735 }
10736
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
10741 return resultobj;
10742 fail:
10743 return NULL;
10744}
10745
10746
c370783e 10747static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10748 PyObject *resultobj;
10749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10750 long arg2 ;
10751 long arg3 ;
10752 long result;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 PyObject * obj2 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self",(char *) "x",(char *) "y", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
10761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail;
10763 {
10764 arg2 = (long)(SWIG_As_long(obj1));
10765 if (SWIG_arg_fail(2)) SWIG_fail;
10766 }
10767 {
10768 arg3 = (long)(SWIG_As_long(obj2));
10769 if (SWIG_arg_fail(3)) SWIG_fail;
10770 }
d55e5bfc
RD
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
10774
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
36ed4f51
RD
10778 {
10779 resultobj = SWIG_From_long((long)(result));
10780 }
d55e5bfc
RD
10781 return resultobj;
10782 fail:
10783 return NULL;
10784}
10785
10786
c370783e 10787static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10788 PyObject *resultobj;
10789 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10790 long arg2 ;
10791 long *arg3 = (long *) 0 ;
10792 long *arg4 = (long *) 0 ;
10793 long temp3 ;
c370783e 10794 int res3 = 0 ;
d55e5bfc 10795 long temp4 ;
c370783e 10796 int res4 = 0 ;
d55e5bfc
RD
10797 PyObject * obj0 = 0 ;
10798 PyObject * obj1 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "pos", NULL
10801 };
10802
c370783e
RD
10803 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10804 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10806 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail;
10808 {
10809 arg2 = (long)(SWIG_As_long(obj1));
10810 if (SWIG_arg_fail(2)) SWIG_fail;
10811 }
d55e5bfc
RD
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
10820 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10821 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10822 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10823 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10824 return resultobj;
10825 fail:
10826 return NULL;
10827}
10828
10829
c370783e 10830static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10831 PyObject *resultobj;
10832 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10833 long arg2 ;
10834 PyObject * obj0 = 0 ;
10835 PyObject * obj1 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self",(char *) "pos", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10842 if (SWIG_arg_fail(1)) SWIG_fail;
10843 {
10844 arg2 = (long)(SWIG_As_long(obj1));
10845 if (SWIG_arg_fail(2)) SWIG_fail;
10846 }
d55e5bfc
RD
10847 {
10848 PyThreadState* __tstate = wxPyBeginAllowThreads();
10849 (arg1)->ShowPosition(arg2);
10850
10851 wxPyEndAllowThreads(__tstate);
10852 if (PyErr_Occurred()) SWIG_fail;
10853 }
10854 Py_INCREF(Py_None); resultobj = Py_None;
10855 return resultobj;
10856 fail:
10857 return NULL;
10858}
10859
10860
c370783e 10861static PyObject *_wrap_TextCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10862 PyObject *resultobj;
10863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10864 wxPoint *arg2 = 0 ;
10865 long *arg3 = (long *) 0 ;
10866 long *arg4 = (long *) 0 ;
36ed4f51 10867 wxTextCtrlHitTestResult result;
d55e5bfc
RD
10868 wxPoint temp2 ;
10869 long temp3 ;
c370783e 10870 int res3 = 0 ;
d55e5bfc 10871 long temp4 ;
c370783e 10872 int res4 = 0 ;
d55e5bfc
RD
10873 PyObject * obj0 = 0 ;
10874 PyObject * obj1 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self",(char *) "pt", NULL
10877 };
10878
c370783e
RD
10879 arg3 = &temp3; res3 = SWIG_NEWOBJ;
10880 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10883 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10884 {
10885 arg2 = &temp2;
10886 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10887 }
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10890 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
d55e5bfc
RD
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
36ed4f51 10895 resultobj = SWIG_From_int((result));
c370783e
RD
10896 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10897 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
10898 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
10899 SWIG_From_long((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
10900 return resultobj;
10901 fail:
10902 return NULL;
10903}
10904
10905
c370783e 10906static PyObject *_wrap_TextCtrl_HitTestPos(PyObject *, PyObject *args, PyObject *kwargs) {
4896ac9e
RD
10907 PyObject *resultobj;
10908 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10909 wxPoint *arg2 = 0 ;
10910 long *arg3 = (long *) 0 ;
36ed4f51 10911 wxTextCtrlHitTestResult result;
4896ac9e
RD
10912 wxPoint temp2 ;
10913 long temp3 ;
c370783e 10914 int res3 = 0 ;
4896ac9e
RD
10915 PyObject * obj0 = 0 ;
10916 PyObject * obj1 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self",(char *) "pt", NULL
10919 };
10920
c370783e 10921 arg3 = &temp3; res3 = SWIG_NEWOBJ;
4896ac9e 10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
10923 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail;
4896ac9e
RD
10925 {
10926 arg2 = &temp2;
10927 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 10931 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
4896ac9e
RD
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
36ed4f51 10936 resultobj = SWIG_From_int((result));
c370783e
RD
10937 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
10938 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
4896ac9e
RD
10939 return resultobj;
10940 fail:
10941 return NULL;
10942}
10943
10944
c370783e 10945static PyObject *_wrap_TextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10946 PyObject *resultobj;
10947 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10948 PyObject * obj0 = 0 ;
10949 char *kwnames[] = {
10950 (char *) "self", NULL
10951 };
10952
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
36ed4f51
RD
10954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10955 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 (arg1)->Copy();
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 Py_INCREF(Py_None); resultobj = Py_None;
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
c370783e 10970static PyObject *_wrap_TextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10971 PyObject *resultobj;
10972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10973 PyObject * obj0 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
36ed4f51
RD
10979 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10980 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 (arg1)->Cut();
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 Py_INCREF(Py_None); resultobj = Py_None;
10989 return resultobj;
10990 fail:
10991 return NULL;
10992}
10993
10994
c370783e 10995static PyObject *_wrap_TextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
10996 PyObject *resultobj;
10997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11005 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11006 {
11007 PyThreadState* __tstate = wxPyBeginAllowThreads();
11008 (arg1)->Paste();
11009
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 Py_INCREF(Py_None); resultobj = Py_None;
11014 return resultobj;
11015 fail:
11016 return NULL;
11017}
11018
11019
c370783e 11020static PyObject *_wrap_TextCtrl_CanCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11021 PyObject *resultobj;
11022 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11023 bool result;
11024 PyObject * obj0 = 0 ;
11025 char *kwnames[] = {
11026 (char *) "self", NULL
11027 };
11028
11029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
36ed4f51
RD
11030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11031 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 {
11040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11041 }
11042 return resultobj;
11043 fail:
11044 return NULL;
11045}
11046
11047
c370783e 11048static PyObject *_wrap_TextCtrl_CanCut(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11049 PyObject *resultobj;
11050 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11051 bool result;
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
36ed4f51
RD
11058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11059 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 {
11068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11069 }
11070 return resultobj;
11071 fail:
11072 return NULL;
11073}
11074
11075
c370783e 11076static PyObject *_wrap_TextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11077 PyObject *resultobj;
11078 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11079 bool result;
11080 PyObject * obj0 = 0 ;
11081 char *kwnames[] = {
11082 (char *) "self", NULL
11083 };
11084
11085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
36ed4f51
RD
11086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11087 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 {
11096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11097 }
11098 return resultobj;
11099 fail:
11100 return NULL;
11101}
11102
11103
c370783e 11104static PyObject *_wrap_TextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11105 PyObject *resultobj;
11106 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11107 PyObject * obj0 = 0 ;
11108 char *kwnames[] = {
11109 (char *) "self", NULL
11110 };
11111
11112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11114 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 (arg1)->Undo();
11118
11119 wxPyEndAllowThreads(__tstate);
11120 if (PyErr_Occurred()) SWIG_fail;
11121 }
11122 Py_INCREF(Py_None); resultobj = Py_None;
11123 return resultobj;
11124 fail:
11125 return NULL;
11126}
11127
11128
c370783e 11129static PyObject *_wrap_TextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11130 PyObject *resultobj;
11131 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11132 PyObject * obj0 = 0 ;
11133 char *kwnames[] = {
11134 (char *) "self", NULL
11135 };
11136
11137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 (arg1)->Redo();
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 Py_INCREF(Py_None); resultobj = Py_None;
11148 return resultobj;
11149 fail:
11150 return NULL;
11151}
11152
11153
c370783e 11154static PyObject *_wrap_TextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11155 PyObject *resultobj;
11156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11157 bool result;
11158 PyObject * obj0 = 0 ;
11159 char *kwnames[] = {
11160 (char *) "self", NULL
11161 };
11162
11163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11165 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 {
11174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11175 }
11176 return resultobj;
11177 fail:
11178 return NULL;
11179}
11180
11181
c370783e 11182static PyObject *_wrap_TextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11183 PyObject *resultobj;
11184 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11185 bool result;
11186 PyObject * obj0 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
36ed4f51
RD
11192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 {
11202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11203 }
11204 return resultobj;
11205 fail:
11206 return NULL;
11207}
11208
11209
c370783e 11210static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11211 PyObject *resultobj;
11212 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11213 long arg2 ;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 char *kwnames[] = {
11217 (char *) "self",(char *) "pos", NULL
11218 };
11219
11220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11222 if (SWIG_arg_fail(1)) SWIG_fail;
11223 {
11224 arg2 = (long)(SWIG_As_long(obj1));
11225 if (SWIG_arg_fail(2)) SWIG_fail;
11226 }
d55e5bfc
RD
11227 {
11228 PyThreadState* __tstate = wxPyBeginAllowThreads();
11229 (arg1)->SetInsertionPoint(arg2);
11230
11231 wxPyEndAllowThreads(__tstate);
11232 if (PyErr_Occurred()) SWIG_fail;
11233 }
11234 Py_INCREF(Py_None); resultobj = Py_None;
11235 return resultobj;
11236 fail:
11237 return NULL;
11238}
11239
11240
c370783e 11241static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11242 PyObject *resultobj;
11243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11244 PyObject * obj0 = 0 ;
11245 char *kwnames[] = {
11246 (char *) "self", NULL
11247 };
11248
11249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11252 {
11253 PyThreadState* __tstate = wxPyBeginAllowThreads();
11254 (arg1)->SetInsertionPointEnd();
11255
11256 wxPyEndAllowThreads(__tstate);
11257 if (PyErr_Occurred()) SWIG_fail;
11258 }
11259 Py_INCREF(Py_None); resultobj = Py_None;
11260 return resultobj;
11261 fail:
11262 return NULL;
11263}
11264
11265
c370783e 11266static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11267 PyObject *resultobj;
11268 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11269 long result;
11270 PyObject * obj0 = 0 ;
11271 char *kwnames[] = {
11272 (char *) "self", NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
11276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
36ed4f51
RD
11285 {
11286 resultobj = SWIG_From_long((long)(result));
11287 }
d55e5bfc
RD
11288 return resultobj;
11289 fail:
11290 return NULL;
11291}
11292
11293
c370783e 11294static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11295 PyObject *resultobj;
11296 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11297 long result;
11298 PyObject * obj0 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11305 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
36ed4f51
RD
11313 {
11314 resultobj = SWIG_From_long((long)(result));
11315 }
d55e5bfc
RD
11316 return resultobj;
11317 fail:
11318 return NULL;
11319}
11320
11321
c370783e 11322static PyObject *_wrap_TextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11323 PyObject *resultobj;
11324 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11325 long arg2 ;
11326 long arg3 ;
11327 PyObject * obj0 = 0 ;
11328 PyObject * obj1 = 0 ;
11329 PyObject * obj2 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self",(char *) "from",(char *) "to", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11336 if (SWIG_arg_fail(1)) SWIG_fail;
11337 {
11338 arg2 = (long)(SWIG_As_long(obj1));
11339 if (SWIG_arg_fail(2)) SWIG_fail;
11340 }
11341 {
11342 arg3 = (long)(SWIG_As_long(obj2));
11343 if (SWIG_arg_fail(3)) SWIG_fail;
11344 }
d55e5bfc
RD
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 (arg1)->SetSelection(arg2,arg3);
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 Py_INCREF(Py_None); resultobj = Py_None;
11353 return resultobj;
11354 fail:
11355 return NULL;
11356}
11357
11358
c370783e 11359static PyObject *_wrap_TextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11360 PyObject *resultobj;
11361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11362 PyObject * obj0 = 0 ;
11363 char *kwnames[] = {
11364 (char *) "self", NULL
11365 };
11366
11367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
11368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 (arg1)->SelectAll();
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 Py_INCREF(Py_None); resultobj = Py_None;
11378 return resultobj;
11379 fail:
11380 return NULL;
11381}
11382
11383
c370783e 11384static PyObject *_wrap_TextCtrl_SetEditable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11385 PyObject *resultobj;
11386 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11387 bool arg2 ;
11388 PyObject * obj0 = 0 ;
11389 PyObject * obj1 = 0 ;
11390 char *kwnames[] = {
11391 (char *) "self",(char *) "editable", NULL
11392 };
11393
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11396 if (SWIG_arg_fail(1)) SWIG_fail;
11397 {
11398 arg2 = (bool)(SWIG_As_bool(obj1));
11399 if (SWIG_arg_fail(2)) SWIG_fail;
11400 }
d55e5bfc
RD
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 (arg1)->SetEditable(arg2);
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 Py_INCREF(Py_None); resultobj = Py_None;
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
c370783e 11415static PyObject *_wrap_TextCtrl_write(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11416 PyObject *resultobj;
11417 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11418 wxString *arg2 = 0 ;
b411df4a 11419 bool temp2 = false ;
d55e5bfc
RD
11420 PyObject * obj0 = 0 ;
11421 PyObject * obj1 = 0 ;
11422 char *kwnames[] = {
11423 (char *) "self",(char *) "text", NULL
11424 };
11425
11426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
11427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11429 {
11430 arg2 = wxString_in_helper(obj1);
11431 if (arg2 == NULL) SWIG_fail;
b411df4a 11432 temp2 = true;
d55e5bfc
RD
11433 }
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 wxTextCtrl_write(arg1,(wxString const &)*arg2);
11437
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 Py_INCREF(Py_None); resultobj = Py_None;
11442 {
11443 if (temp2)
11444 delete arg2;
11445 }
11446 return resultobj;
11447 fail:
11448 {
11449 if (temp2)
11450 delete arg2;
11451 }
11452 return NULL;
11453}
11454
11455
c370783e 11456static PyObject *_wrap_TextCtrl_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11457 PyObject *resultobj;
11458 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11459 long arg2 ;
11460 long arg3 ;
11461 wxString result;
11462 PyObject * obj0 = 0 ;
11463 PyObject * obj1 = 0 ;
11464 PyObject * obj2 = 0 ;
11465 char *kwnames[] = {
11466 (char *) "self",(char *) "from",(char *) "to", NULL
11467 };
11468
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
11470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail;
11472 {
11473 arg2 = (long)(SWIG_As_long(obj1));
11474 if (SWIG_arg_fail(2)) SWIG_fail;
11475 }
11476 {
11477 arg3 = (long)(SWIG_As_long(obj2));
11478 if (SWIG_arg_fail(3)) SWIG_fail;
11479 }
d55e5bfc
RD
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = wxTextCtrl_GetString(arg1,arg2,arg3);
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 {
11488#if wxUSE_UNICODE
11489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11490#else
11491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11492#endif
11493 }
11494 return resultobj;
11495 fail:
11496 return NULL;
11497}
11498
11499
c370783e 11500static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 11501 PyObject *resultobj;
36ed4f51 11502 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
11503 wxVisualAttributes result;
11504 PyObject * obj0 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "variant", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11510 if (obj0) {
36ed4f51
RD
11511 {
11512 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
11513 if (SWIG_arg_fail(1)) SWIG_fail;
11514 }
f20a2e1f
RD
11515 }
11516 {
0439c23b 11517 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11518 PyThreadState* __tstate = wxPyBeginAllowThreads();
11519 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11520
11521 wxPyEndAllowThreads(__tstate);
110da5b0 11522 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11523 }
11524 {
11525 wxVisualAttributes * resultptr;
36ed4f51 11526 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
11527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11528 }
11529 return resultobj;
11530 fail:
11531 return NULL;
11532}
11533
11534
c370783e 11535static PyObject * TextCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11536 PyObject *obj;
11537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11538 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
11539 Py_INCREF(obj);
11540 return Py_BuildValue((char *)"");
11541}
c370783e 11542static PyObject *_wrap_new_TextUrlEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11543 PyObject *resultobj;
11544 int arg1 ;
11545 wxMouseEvent *arg2 = 0 ;
11546 long arg3 ;
11547 long arg4 ;
11548 wxTextUrlEvent *result;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 PyObject * obj2 = 0 ;
11552 PyObject * obj3 = 0 ;
11553 char *kwnames[] = {
11554 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
11555 };
11556
11557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
11558 {
11559 arg1 = (int)(SWIG_As_int(obj0));
11560 if (SWIG_arg_fail(1)) SWIG_fail;
11561 }
11562 {
11563 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxMouseEvent, SWIG_POINTER_EXCEPTION | 0);
11564 if (SWIG_arg_fail(2)) SWIG_fail;
11565 if (arg2 == NULL) {
11566 SWIG_null_ref("wxMouseEvent");
11567 }
11568 if (SWIG_arg_fail(2)) SWIG_fail;
11569 }
11570 {
11571 arg3 = (long)(SWIG_As_long(obj2));
11572 if (SWIG_arg_fail(3)) SWIG_fail;
11573 }
11574 {
11575 arg4 = (long)(SWIG_As_long(obj3));
11576 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc 11577 }
d55e5bfc
RD
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
11586 return resultobj;
11587 fail:
11588 return NULL;
11589}
11590
11591
c370783e 11592static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11593 PyObject *resultobj;
11594 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11595 wxMouseEvent *result;
11596 PyObject * obj0 = 0 ;
11597 char *kwnames[] = {
11598 (char *) "self", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
11602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11603 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 {
11607 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
11608 result = (wxMouseEvent *) &_result_ref;
11609 }
11610
11611 wxPyEndAllowThreads(__tstate);
11612 if (PyErr_Occurred()) SWIG_fail;
11613 }
11614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
11615 return resultobj;
11616 fail:
11617 return NULL;
11618}
11619
11620
c370783e 11621static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11622 PyObject *resultobj;
11623 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11624 long result;
11625 PyObject * obj0 = 0 ;
11626 char *kwnames[] = {
11627 (char *) "self", NULL
11628 };
11629
11630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
11631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
36ed4f51
RD
11640 {
11641 resultobj = SWIG_From_long((long)(result));
11642 }
d55e5bfc
RD
11643 return resultobj;
11644 fail:
11645 return NULL;
11646}
11647
11648
c370783e 11649static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11650 PyObject *resultobj;
11651 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
11652 long result;
11653 PyObject * obj0 = 0 ;
11654 char *kwnames[] = {
11655 (char *) "self", NULL
11656 };
11657
11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
11659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_EXCEPTION | 0);
11660 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
36ed4f51
RD
11668 {
11669 resultobj = SWIG_From_long((long)(result));
11670 }
d55e5bfc
RD
11671 return resultobj;
11672 fail:
11673 return NULL;
11674}
11675
11676
c370783e 11677static PyObject * TextUrlEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
11678 PyObject *obj;
11679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11680 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
11681 Py_INCREF(obj);
11682 return Py_BuildValue((char *)"");
11683}
c370783e 11684static int _wrap_ScrollBarNameStr_set(PyObject *) {
d55e5bfc
RD
11685 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
11686 return 1;
11687}
11688
11689
36ed4f51 11690static PyObject *_wrap_ScrollBarNameStr_get(void) {
d55e5bfc
RD
11691 PyObject *pyobj;
11692
11693 {
11694#if wxUSE_UNICODE
11695 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11696#else
11697 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
11698#endif
11699 }
11700 return pyobj;
11701}
11702
11703
c370783e 11704static PyObject *_wrap_new_ScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11705 PyObject *resultobj;
11706 wxWindow *arg1 = (wxWindow *) 0 ;
11707 int arg2 = (int) -1 ;
11708 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11709 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11710 wxSize const &arg4_defvalue = wxDefaultSize ;
11711 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11712 long arg5 = (long) wxSB_HORIZONTAL ;
11713 wxValidator const &arg6_defvalue = wxDefaultValidator ;
11714 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
11715 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
11716 wxString *arg7 = (wxString *) &arg7_defvalue ;
11717 wxScrollBar *result;
11718 wxPoint temp3 ;
11719 wxSize temp4 ;
b411df4a 11720 bool temp7 = false ;
d55e5bfc
RD
11721 PyObject * obj0 = 0 ;
11722 PyObject * obj1 = 0 ;
11723 PyObject * obj2 = 0 ;
11724 PyObject * obj3 = 0 ;
11725 PyObject * obj4 = 0 ;
11726 PyObject * obj5 = 0 ;
11727 PyObject * obj6 = 0 ;
11728 char *kwnames[] = {
11729 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11730 };
11731
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
11733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 11735 if (obj1) {
36ed4f51
RD
11736 {
11737 arg2 = (int)(SWIG_As_int(obj1));
11738 if (SWIG_arg_fail(2)) SWIG_fail;
11739 }
d55e5bfc
RD
11740 }
11741 if (obj2) {
11742 {
11743 arg3 = &temp3;
11744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11745 }
11746 }
11747 if (obj3) {
11748 {
11749 arg4 = &temp4;
11750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11751 }
11752 }
11753 if (obj4) {
36ed4f51
RD
11754 {
11755 arg5 = (long)(SWIG_As_long(obj4));
11756 if (SWIG_arg_fail(5)) SWIG_fail;
11757 }
d55e5bfc
RD
11758 }
11759 if (obj5) {
36ed4f51
RD
11760 {
11761 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11762 if (SWIG_arg_fail(6)) SWIG_fail;
11763 if (arg6 == NULL) {
11764 SWIG_null_ref("wxValidator");
11765 }
11766 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
11767 }
11768 }
11769 if (obj6) {
11770 {
11771 arg7 = wxString_in_helper(obj6);
11772 if (arg7 == NULL) SWIG_fail;
b411df4a 11773 temp7 = true;
d55e5bfc
RD
11774 }
11775 }
11776 {
0439c23b 11777 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
11780
11781 wxPyEndAllowThreads(__tstate);
110da5b0 11782 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11783 }
11784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11785 {
11786 if (temp7)
11787 delete arg7;
11788 }
11789 return resultobj;
11790 fail:
11791 {
11792 if (temp7)
11793 delete arg7;
11794 }
11795 return NULL;
11796}
11797
11798
c370783e 11799static PyObject *_wrap_new_PreScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11800 PyObject *resultobj;
11801 wxScrollBar *result;
11802 char *kwnames[] = {
11803 NULL
11804 };
11805
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
11807 {
0439c23b 11808 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (wxScrollBar *)new wxScrollBar();
11811
11812 wxPyEndAllowThreads(__tstate);
110da5b0 11813 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11814 }
11815 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
11816 return resultobj;
11817 fail:
11818 return NULL;
11819}
11820
11821
c370783e 11822static PyObject *_wrap_ScrollBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11823 PyObject *resultobj;
11824 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11825 wxWindow *arg2 = (wxWindow *) 0 ;
11826 int arg3 = (int) -1 ;
11827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11829 wxSize const &arg5_defvalue = wxDefaultSize ;
11830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11831 long arg6 = (long) wxSB_HORIZONTAL ;
11832 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11833 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11834 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
11835 wxString *arg8 = (wxString *) &arg8_defvalue ;
11836 bool result;
11837 wxPoint temp4 ;
11838 wxSize temp5 ;
b411df4a 11839 bool temp8 = false ;
d55e5bfc
RD
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 PyObject * obj2 = 0 ;
11843 PyObject * obj3 = 0 ;
11844 PyObject * obj4 = 0 ;
11845 PyObject * obj5 = 0 ;
11846 PyObject * obj6 = 0 ;
11847 PyObject * obj7 = 0 ;
11848 char *kwnames[] = {
11849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11850 };
11851
11852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
11853 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11854 if (SWIG_arg_fail(1)) SWIG_fail;
11855 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
11856 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 11857 if (obj2) {
36ed4f51
RD
11858 {
11859 arg3 = (int)(SWIG_As_int(obj2));
11860 if (SWIG_arg_fail(3)) SWIG_fail;
11861 }
d55e5bfc
RD
11862 }
11863 if (obj3) {
11864 {
11865 arg4 = &temp4;
11866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11867 }
11868 }
11869 if (obj4) {
11870 {
11871 arg5 = &temp5;
11872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11873 }
11874 }
11875 if (obj5) {
36ed4f51
RD
11876 {
11877 arg6 = (long)(SWIG_As_long(obj5));
11878 if (SWIG_arg_fail(6)) SWIG_fail;
11879 }
d55e5bfc
RD
11880 }
11881 if (obj6) {
36ed4f51
RD
11882 {
11883 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
11884 if (SWIG_arg_fail(7)) SWIG_fail;
11885 if (arg7 == NULL) {
11886 SWIG_null_ref("wxValidator");
11887 }
11888 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
11889 }
11890 }
11891 if (obj7) {
11892 {
11893 arg8 = wxString_in_helper(obj7);
11894 if (arg8 == NULL) SWIG_fail;
b411df4a 11895 temp8 = true;
d55e5bfc
RD
11896 }
11897 }
11898 {
11899 PyThreadState* __tstate = wxPyBeginAllowThreads();
11900 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11901
11902 wxPyEndAllowThreads(__tstate);
11903 if (PyErr_Occurred()) SWIG_fail;
11904 }
11905 {
11906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11907 }
11908 {
11909 if (temp8)
11910 delete arg8;
11911 }
11912 return resultobj;
11913 fail:
11914 {
11915 if (temp8)
11916 delete arg8;
11917 }
11918 return NULL;
11919}
11920
11921
c370783e 11922static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11923 PyObject *resultobj;
11924 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11925 int result;
11926 PyObject * obj0 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "self", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
11932 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11933 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
36ed4f51
RD
11941 {
11942 resultobj = SWIG_From_int((int)(result));
11943 }
d55e5bfc
RD
11944 return resultobj;
11945 fail:
11946 return NULL;
11947}
11948
11949
c370783e 11950static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11951 PyObject *resultobj;
11952 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11953 int result;
11954 PyObject * obj0 = 0 ;
11955 char *kwnames[] = {
11956 (char *) "self", NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11961 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11962 {
11963 PyThreadState* __tstate = wxPyBeginAllowThreads();
11964 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
11965
11966 wxPyEndAllowThreads(__tstate);
11967 if (PyErr_Occurred()) SWIG_fail;
11968 }
36ed4f51
RD
11969 {
11970 resultobj = SWIG_From_int((int)(result));
11971 }
d55e5bfc
RD
11972 return resultobj;
11973 fail:
11974 return NULL;
11975}
11976
11977
c370783e 11978static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
11979 PyObject *resultobj;
11980 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
11981 int result;
11982 PyObject * obj0 = 0 ;
11983 char *kwnames[] = {
11984 (char *) "self", NULL
11985 };
11986
11987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
11988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
36ed4f51
RD
11997 {
11998 resultobj = SWIG_From_int((int)(result));
11999 }
d55e5bfc
RD
12000 return resultobj;
12001 fail:
12002 return NULL;
12003}
12004
12005
c370783e 12006static PyObject *_wrap_ScrollBar_GetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12007 PyObject *resultobj;
12008 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12009 int result;
12010 PyObject * obj0 = 0 ;
12011 char *kwnames[] = {
12012 (char *) "self", NULL
12013 };
12014
12015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
36ed4f51
RD
12016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12017 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 result = (int)((wxScrollBar const *)arg1)->GetRange();
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
36ed4f51
RD
12025 {
12026 resultobj = SWIG_From_int((int)(result));
12027 }
d55e5bfc
RD
12028 return resultobj;
12029 fail:
12030 return NULL;
12031}
12032
12033
c370783e 12034static PyObject *_wrap_ScrollBar_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12035 PyObject *resultobj;
12036 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12037 bool result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12045 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 {
12054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12055 }
12056 return resultobj;
12057 fail:
12058 return NULL;
12059}
12060
12061
c370783e 12062static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12063 PyObject *resultobj;
12064 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12065 int arg2 ;
12066 PyObject * obj0 = 0 ;
12067 PyObject * obj1 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self",(char *) "viewStart", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12074 if (SWIG_arg_fail(1)) SWIG_fail;
12075 {
12076 arg2 = (int)(SWIG_As_int(obj1));
12077 if (SWIG_arg_fail(2)) SWIG_fail;
12078 }
d55e5bfc
RD
12079 {
12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
12081 (arg1)->SetThumbPosition(arg2);
12082
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 Py_INCREF(Py_None); resultobj = Py_None;
12087 return resultobj;
12088 fail:
12089 return NULL;
12090}
12091
12092
c370783e 12093static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12094 PyObject *resultobj;
12095 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
12096 int arg2 ;
12097 int arg3 ;
12098 int arg4 ;
12099 int arg5 ;
b411df4a 12100 bool arg6 = (bool) true ;
d55e5bfc
RD
12101 PyObject * obj0 = 0 ;
12102 PyObject * obj1 = 0 ;
12103 PyObject * obj2 = 0 ;
12104 PyObject * obj3 = 0 ;
12105 PyObject * obj4 = 0 ;
12106 PyObject * obj5 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
12113 if (SWIG_arg_fail(1)) SWIG_fail;
12114 {
12115 arg2 = (int)(SWIG_As_int(obj1));
12116 if (SWIG_arg_fail(2)) SWIG_fail;
12117 }
12118 {
12119 arg3 = (int)(SWIG_As_int(obj2));
12120 if (SWIG_arg_fail(3)) SWIG_fail;
12121 }
12122 {
12123 arg4 = (int)(SWIG_As_int(obj3));
12124 if (SWIG_arg_fail(4)) SWIG_fail;
12125 }
12126 {
12127 arg5 = (int)(SWIG_As_int(obj4));
12128 if (SWIG_arg_fail(5)) SWIG_fail;
12129 }
d55e5bfc 12130 if (obj5) {
36ed4f51
RD
12131 {
12132 arg6 = (bool)(SWIG_As_bool(obj5));
12133 if (SWIG_arg_fail(6)) SWIG_fail;
12134 }
d55e5bfc
RD
12135 }
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 Py_INCREF(Py_None); resultobj = Py_None;
12144 return resultobj;
12145 fail:
12146 return NULL;
12147}
12148
12149
c370783e 12150static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 12151 PyObject *resultobj;
36ed4f51 12152 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
12153 wxVisualAttributes result;
12154 PyObject * obj0 = 0 ;
12155 char *kwnames[] = {
12156 (char *) "variant", NULL
12157 };
12158
12159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12160 if (obj0) {
36ed4f51
RD
12161 {
12162 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12163 if (SWIG_arg_fail(1)) SWIG_fail;
12164 }
f20a2e1f
RD
12165 }
12166 {
0439c23b 12167 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
12170
12171 wxPyEndAllowThreads(__tstate);
110da5b0 12172 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12173 }
12174 {
12175 wxVisualAttributes * resultptr;
36ed4f51 12176 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
12177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12178 }
12179 return resultobj;
12180 fail:
12181 return NULL;
12182}
12183
12184
c370783e 12185static PyObject * ScrollBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12186 PyObject *obj;
12187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12188 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
12189 Py_INCREF(obj);
12190 return Py_BuildValue((char *)"");
12191}
c370783e 12192static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
d55e5bfc
RD
12193 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
12194 return 1;
12195}
12196
12197
36ed4f51 12198static PyObject *_wrap_SPIN_BUTTON_NAME_get(void) {
d55e5bfc
RD
12199 PyObject *pyobj;
12200
12201 {
12202#if wxUSE_UNICODE
12203 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12204#else
12205 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
12206#endif
12207 }
12208 return pyobj;
12209}
12210
12211
c370783e 12212static int _wrap_SpinCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
12213 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
12214 return 1;
12215}
12216
12217
36ed4f51 12218static PyObject *_wrap_SpinCtrlNameStr_get(void) {
d55e5bfc
RD
12219 PyObject *pyobj;
12220
12221 {
12222#if wxUSE_UNICODE
12223 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12224#else
12225 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
12226#endif
12227 }
12228 return pyobj;
12229}
12230
12231
c370783e 12232static PyObject *_wrap_new_SpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12233 PyObject *resultobj;
12234 wxWindow *arg1 = (wxWindow *) 0 ;
12235 int arg2 = (int) -1 ;
12236 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12237 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12238 wxSize const &arg4_defvalue = wxDefaultSize ;
12239 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12240 long arg5 = (long) wxSP_HORIZONTAL ;
12241 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
12242 wxString *arg6 = (wxString *) &arg6_defvalue ;
12243 wxSpinButton *result;
12244 wxPoint temp3 ;
12245 wxSize temp4 ;
b411df4a 12246 bool temp6 = false ;
d55e5bfc
RD
12247 PyObject * obj0 = 0 ;
12248 PyObject * obj1 = 0 ;
12249 PyObject * obj2 = 0 ;
12250 PyObject * obj3 = 0 ;
12251 PyObject * obj4 = 0 ;
12252 PyObject * obj5 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
12258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12259 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12260 if (obj1) {
36ed4f51
RD
12261 {
12262 arg2 = (int)(SWIG_As_int(obj1));
12263 if (SWIG_arg_fail(2)) SWIG_fail;
12264 }
d55e5bfc
RD
12265 }
12266 if (obj2) {
12267 {
12268 arg3 = &temp3;
12269 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12270 }
12271 }
12272 if (obj3) {
12273 {
12274 arg4 = &temp4;
12275 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12276 }
12277 }
12278 if (obj4) {
36ed4f51
RD
12279 {
12280 arg5 = (long)(SWIG_As_long(obj4));
12281 if (SWIG_arg_fail(5)) SWIG_fail;
12282 }
d55e5bfc
RD
12283 }
12284 if (obj5) {
12285 {
12286 arg6 = wxString_in_helper(obj5);
12287 if (arg6 == NULL) SWIG_fail;
b411df4a 12288 temp6 = true;
d55e5bfc
RD
12289 }
12290 }
12291 {
0439c23b 12292 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12295
12296 wxPyEndAllowThreads(__tstate);
110da5b0 12297 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12298 }
12299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12300 {
12301 if (temp6)
12302 delete arg6;
12303 }
12304 return resultobj;
12305 fail:
12306 {
12307 if (temp6)
12308 delete arg6;
12309 }
12310 return NULL;
12311}
12312
12313
c370783e 12314static PyObject *_wrap_new_PreSpinButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12315 PyObject *resultobj;
12316 wxSpinButton *result;
12317 char *kwnames[] = {
12318 NULL
12319 };
12320
12321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
12322 {
0439c23b 12323 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 result = (wxSpinButton *)new wxSpinButton();
12326
12327 wxPyEndAllowThreads(__tstate);
110da5b0 12328 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12329 }
12330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
12331 return resultobj;
12332 fail:
12333 return NULL;
12334}
12335
12336
c370783e 12337static PyObject *_wrap_SpinButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12338 PyObject *resultobj;
12339 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12340 wxWindow *arg2 = (wxWindow *) 0 ;
12341 int arg3 = (int) -1 ;
12342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12344 wxSize const &arg5_defvalue = wxDefaultSize ;
12345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12346 long arg6 = (long) wxSP_HORIZONTAL ;
12347 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
12348 wxString *arg7 = (wxString *) &arg7_defvalue ;
12349 bool result;
12350 wxPoint temp4 ;
12351 wxSize temp5 ;
b411df4a 12352 bool temp7 = false ;
d55e5bfc
RD
12353 PyObject * obj0 = 0 ;
12354 PyObject * obj1 = 0 ;
12355 PyObject * obj2 = 0 ;
12356 PyObject * obj3 = 0 ;
12357 PyObject * obj4 = 0 ;
12358 PyObject * obj5 = 0 ;
12359 PyObject * obj6 = 0 ;
12360 char *kwnames[] = {
12361 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12362 };
12363
12364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
12365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12366 if (SWIG_arg_fail(1)) SWIG_fail;
12367 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12368 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12369 if (obj2) {
36ed4f51
RD
12370 {
12371 arg3 = (int)(SWIG_As_int(obj2));
12372 if (SWIG_arg_fail(3)) SWIG_fail;
12373 }
d55e5bfc
RD
12374 }
12375 if (obj3) {
12376 {
12377 arg4 = &temp4;
12378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12379 }
12380 }
12381 if (obj4) {
12382 {
12383 arg5 = &temp5;
12384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12385 }
12386 }
12387 if (obj5) {
36ed4f51
RD
12388 {
12389 arg6 = (long)(SWIG_As_long(obj5));
12390 if (SWIG_arg_fail(6)) SWIG_fail;
12391 }
d55e5bfc
RD
12392 }
12393 if (obj6) {
12394 {
12395 arg7 = wxString_in_helper(obj6);
12396 if (arg7 == NULL) SWIG_fail;
b411df4a 12397 temp7 = true;
d55e5bfc
RD
12398 }
12399 }
12400 {
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 {
12408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12409 }
12410 {
12411 if (temp7)
12412 delete arg7;
12413 }
12414 return resultobj;
12415 fail:
12416 {
12417 if (temp7)
12418 delete arg7;
12419 }
12420 return NULL;
12421}
12422
12423
c370783e 12424static PyObject *_wrap_SpinButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12425 PyObject *resultobj;
12426 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12427 int result;
12428 PyObject * obj0 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
12434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12435 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 result = (int)((wxSpinButton const *)arg1)->GetValue();
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
36ed4f51
RD
12443 {
12444 resultobj = SWIG_From_int((int)(result));
12445 }
d55e5bfc
RD
12446 return resultobj;
12447 fail:
12448 return NULL;
12449}
12450
12451
c370783e 12452static PyObject *_wrap_SpinButton_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12453 PyObject *resultobj;
12454 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12455 int result;
12456 PyObject * obj0 = 0 ;
12457 char *kwnames[] = {
12458 (char *) "self", NULL
12459 };
12460
12461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
12462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12464 {
12465 PyThreadState* __tstate = wxPyBeginAllowThreads();
12466 result = (int)((wxSpinButton const *)arg1)->GetMin();
12467
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
36ed4f51
RD
12471 {
12472 resultobj = SWIG_From_int((int)(result));
12473 }
d55e5bfc
RD
12474 return resultobj;
12475 fail:
12476 return NULL;
12477}
12478
12479
c370783e 12480static PyObject *_wrap_SpinButton_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12481 PyObject *resultobj;
12482 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12483 int result;
12484 PyObject * obj0 = 0 ;
12485 char *kwnames[] = {
12486 (char *) "self", NULL
12487 };
12488
12489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
12490 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (int)((wxSpinButton const *)arg1)->GetMax();
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
36ed4f51
RD
12499 {
12500 resultobj = SWIG_From_int((int)(result));
12501 }
d55e5bfc
RD
12502 return resultobj;
12503 fail:
12504 return NULL;
12505}
12506
12507
c370783e 12508static PyObject *_wrap_SpinButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12509 PyObject *resultobj;
12510 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12511 int arg2 ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 char *kwnames[] = {
12515 (char *) "self",(char *) "val", NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12520 if (SWIG_arg_fail(1)) SWIG_fail;
12521 {
12522 arg2 = (int)(SWIG_As_int(obj1));
12523 if (SWIG_arg_fail(2)) SWIG_fail;
12524 }
d55e5bfc
RD
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 (arg1)->SetValue(arg2);
12528
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 Py_INCREF(Py_None); resultobj = Py_None;
12533 return resultobj;
12534 fail:
12535 return NULL;
12536}
12537
12538
c370783e 12539static PyObject *_wrap_SpinButton_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12540 PyObject *resultobj;
12541 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12542 int arg2 ;
12543 PyObject * obj0 = 0 ;
12544 PyObject * obj1 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self",(char *) "minVal", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12550 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12551 if (SWIG_arg_fail(1)) SWIG_fail;
12552 {
12553 arg2 = (int)(SWIG_As_int(obj1));
12554 if (SWIG_arg_fail(2)) SWIG_fail;
12555 }
d55e5bfc
RD
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->SetMin(arg2);
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 Py_INCREF(Py_None); resultobj = Py_None;
12564 return resultobj;
12565 fail:
12566 return NULL;
12567}
12568
12569
c370783e 12570static PyObject *_wrap_SpinButton_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12571 PyObject *resultobj;
12572 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12573 int arg2 ;
12574 PyObject * obj0 = 0 ;
12575 PyObject * obj1 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self",(char *) "maxVal", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
12581 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12582 if (SWIG_arg_fail(1)) SWIG_fail;
12583 {
12584 arg2 = (int)(SWIG_As_int(obj1));
12585 if (SWIG_arg_fail(2)) SWIG_fail;
12586 }
d55e5bfc
RD
12587 {
12588 PyThreadState* __tstate = wxPyBeginAllowThreads();
12589 (arg1)->SetMax(arg2);
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 Py_INCREF(Py_None); resultobj = Py_None;
12595 return resultobj;
12596 fail:
12597 return NULL;
12598}
12599
12600
c370783e 12601static PyObject *_wrap_SpinButton_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12602 PyObject *resultobj;
12603 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12604 int arg2 ;
12605 int arg3 ;
12606 PyObject * obj0 = 0 ;
12607 PyObject * obj1 = 0 ;
12608 PyObject * obj2 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
12614 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12615 if (SWIG_arg_fail(1)) SWIG_fail;
12616 {
12617 arg2 = (int)(SWIG_As_int(obj1));
12618 if (SWIG_arg_fail(2)) SWIG_fail;
12619 }
12620 {
12621 arg3 = (int)(SWIG_As_int(obj2));
12622 if (SWIG_arg_fail(3)) SWIG_fail;
12623 }
d55e5bfc
RD
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetRange(arg2,arg3);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
f20a2e1f
RD
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635}
12636
12637
c370783e 12638static PyObject *_wrap_SpinButton_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f
RD
12639 PyObject *resultobj;
12640 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
12641 bool result;
12642 PyObject * obj0 = 0 ;
12643 char *kwnames[] = {
12644 (char *) "self", NULL
12645 };
12646
12647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
12648 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinButton, SWIG_POINTER_EXCEPTION | 0);
12649 if (SWIG_arg_fail(1)) SWIG_fail;
f20a2e1f
RD
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 {
12658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12659 }
d55e5bfc
RD
12660 return resultobj;
12661 fail:
12662 return NULL;
12663}
12664
12665
c370783e 12666static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 12667 PyObject *resultobj;
36ed4f51 12668 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f 12669 wxVisualAttributes result;
d55e5bfc
RD
12670 PyObject * obj0 = 0 ;
12671 char *kwnames[] = {
f20a2e1f 12672 (char *) "variant", NULL
d55e5bfc
RD
12673 };
12674
f20a2e1f
RD
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12676 if (obj0) {
36ed4f51
RD
12677 {
12678 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
12679 if (SWIG_arg_fail(1)) SWIG_fail;
12680 }
f20a2e1f 12681 }
d55e5bfc 12682 {
0439c23b 12683 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 12685 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
12686
12687 wxPyEndAllowThreads(__tstate);
110da5b0 12688 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12689 }
12690 {
f20a2e1f 12691 wxVisualAttributes * resultptr;
36ed4f51 12692 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f 12693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
12694 }
12695 return resultobj;
12696 fail:
12697 return NULL;
12698}
12699
12700
c370783e 12701static PyObject * SpinButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
12702 PyObject *obj;
12703 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12704 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
12705 Py_INCREF(obj);
12706 return Py_BuildValue((char *)"");
12707}
c370783e 12708static PyObject *_wrap_new_SpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12709 PyObject *resultobj;
12710 wxWindow *arg1 = (wxWindow *) 0 ;
12711 int arg2 = (int) -1 ;
12712 wxString const &arg3_defvalue = wxPyEmptyString ;
12713 wxString *arg3 = (wxString *) &arg3_defvalue ;
12714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12716 wxSize const &arg5_defvalue = wxDefaultSize ;
12717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12718 long arg6 = (long) wxSP_ARROW_KEYS ;
12719 int arg7 = (int) 0 ;
12720 int arg8 = (int) 100 ;
12721 int arg9 = (int) 0 ;
12722 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
12723 wxString *arg10 = (wxString *) &arg10_defvalue ;
12724 wxSpinCtrl *result;
b411df4a 12725 bool temp3 = false ;
d55e5bfc
RD
12726 wxPoint temp4 ;
12727 wxSize temp5 ;
b411df4a 12728 bool temp10 = false ;
d55e5bfc
RD
12729 PyObject * obj0 = 0 ;
12730 PyObject * obj1 = 0 ;
12731 PyObject * obj2 = 0 ;
12732 PyObject * obj3 = 0 ;
12733 PyObject * obj4 = 0 ;
12734 PyObject * obj5 = 0 ;
12735 PyObject * obj6 = 0 ;
12736 PyObject * obj7 = 0 ;
12737 PyObject * obj8 = 0 ;
12738 PyObject * obj9 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
12744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12745 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 12746 if (obj1) {
36ed4f51
RD
12747 {
12748 arg2 = (int)(SWIG_As_int(obj1));
12749 if (SWIG_arg_fail(2)) SWIG_fail;
12750 }
d55e5bfc
RD
12751 }
12752 if (obj2) {
12753 {
12754 arg3 = wxString_in_helper(obj2);
12755 if (arg3 == NULL) SWIG_fail;
b411df4a 12756 temp3 = true;
d55e5bfc
RD
12757 }
12758 }
12759 if (obj3) {
12760 {
12761 arg4 = &temp4;
12762 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12763 }
12764 }
12765 if (obj4) {
12766 {
12767 arg5 = &temp5;
12768 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12769 }
12770 }
12771 if (obj5) {
36ed4f51
RD
12772 {
12773 arg6 = (long)(SWIG_As_long(obj5));
12774 if (SWIG_arg_fail(6)) SWIG_fail;
12775 }
d55e5bfc
RD
12776 }
12777 if (obj6) {
36ed4f51
RD
12778 {
12779 arg7 = (int)(SWIG_As_int(obj6));
12780 if (SWIG_arg_fail(7)) SWIG_fail;
12781 }
d55e5bfc
RD
12782 }
12783 if (obj7) {
36ed4f51
RD
12784 {
12785 arg8 = (int)(SWIG_As_int(obj7));
12786 if (SWIG_arg_fail(8)) SWIG_fail;
12787 }
d55e5bfc
RD
12788 }
12789 if (obj8) {
36ed4f51
RD
12790 {
12791 arg9 = (int)(SWIG_As_int(obj8));
12792 if (SWIG_arg_fail(9)) SWIG_fail;
12793 }
d55e5bfc
RD
12794 }
12795 if (obj9) {
12796 {
12797 arg10 = wxString_in_helper(obj9);
12798 if (arg10 == NULL) SWIG_fail;
b411df4a 12799 temp10 = true;
d55e5bfc
RD
12800 }
12801 }
12802 {
0439c23b 12803 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
12806
12807 wxPyEndAllowThreads(__tstate);
110da5b0 12808 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12809 }
12810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12811 {
12812 if (temp3)
12813 delete arg3;
12814 }
12815 {
12816 if (temp10)
12817 delete arg10;
12818 }
12819 return resultobj;
12820 fail:
12821 {
12822 if (temp3)
12823 delete arg3;
12824 }
12825 {
12826 if (temp10)
12827 delete arg10;
12828 }
12829 return NULL;
12830}
12831
12832
c370783e 12833static PyObject *_wrap_new_PreSpinCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12834 PyObject *resultobj;
12835 wxSpinCtrl *result;
12836 char *kwnames[] = {
12837 NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
12841 {
0439c23b 12842 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (wxSpinCtrl *)new wxSpinCtrl();
12845
12846 wxPyEndAllowThreads(__tstate);
110da5b0 12847 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12848 }
12849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
12850 return resultobj;
12851 fail:
12852 return NULL;
12853}
12854
12855
c370783e 12856static PyObject *_wrap_SpinCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12857 PyObject *resultobj;
12858 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12859 wxWindow *arg2 = (wxWindow *) 0 ;
12860 int arg3 = (int) -1 ;
12861 wxString const &arg4_defvalue = wxPyEmptyString ;
12862 wxString *arg4 = (wxString *) &arg4_defvalue ;
12863 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12864 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12865 wxSize const &arg6_defvalue = wxDefaultSize ;
12866 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12867 long arg7 = (long) wxSP_ARROW_KEYS ;
12868 int arg8 = (int) 0 ;
12869 int arg9 = (int) 100 ;
12870 int arg10 = (int) 0 ;
12871 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
12872 wxString *arg11 = (wxString *) &arg11_defvalue ;
12873 bool result;
b411df4a 12874 bool temp4 = false ;
d55e5bfc
RD
12875 wxPoint temp5 ;
12876 wxSize temp6 ;
b411df4a 12877 bool temp11 = false ;
d55e5bfc
RD
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 PyObject * obj3 = 0 ;
12882 PyObject * obj4 = 0 ;
12883 PyObject * obj5 = 0 ;
12884 PyObject * obj6 = 0 ;
12885 PyObject * obj7 = 0 ;
12886 PyObject * obj8 = 0 ;
12887 PyObject * obj9 = 0 ;
12888 PyObject * obj10 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
12894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12895 if (SWIG_arg_fail(1)) SWIG_fail;
12896 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
12897 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 12898 if (obj2) {
36ed4f51
RD
12899 {
12900 arg3 = (int)(SWIG_As_int(obj2));
12901 if (SWIG_arg_fail(3)) SWIG_fail;
12902 }
d55e5bfc
RD
12903 }
12904 if (obj3) {
12905 {
12906 arg4 = wxString_in_helper(obj3);
12907 if (arg4 == NULL) SWIG_fail;
b411df4a 12908 temp4 = true;
d55e5bfc
RD
12909 }
12910 }
12911 if (obj4) {
12912 {
12913 arg5 = &temp5;
12914 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12915 }
12916 }
12917 if (obj5) {
12918 {
12919 arg6 = &temp6;
12920 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12921 }
12922 }
12923 if (obj6) {
36ed4f51
RD
12924 {
12925 arg7 = (long)(SWIG_As_long(obj6));
12926 if (SWIG_arg_fail(7)) SWIG_fail;
12927 }
d55e5bfc
RD
12928 }
12929 if (obj7) {
36ed4f51
RD
12930 {
12931 arg8 = (int)(SWIG_As_int(obj7));
12932 if (SWIG_arg_fail(8)) SWIG_fail;
12933 }
d55e5bfc
RD
12934 }
12935 if (obj8) {
36ed4f51
RD
12936 {
12937 arg9 = (int)(SWIG_As_int(obj8));
12938 if (SWIG_arg_fail(9)) SWIG_fail;
12939 }
d55e5bfc
RD
12940 }
12941 if (obj9) {
36ed4f51
RD
12942 {
12943 arg10 = (int)(SWIG_As_int(obj9));
12944 if (SWIG_arg_fail(10)) SWIG_fail;
12945 }
d55e5bfc
RD
12946 }
12947 if (obj10) {
12948 {
12949 arg11 = wxString_in_helper(obj10);
12950 if (arg11 == NULL) SWIG_fail;
b411df4a 12951 temp11 = true;
d55e5bfc
RD
12952 }
12953 }
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
12964 {
12965 if (temp4)
12966 delete arg4;
12967 }
12968 {
12969 if (temp11)
12970 delete arg11;
12971 }
12972 return resultobj;
12973 fail:
12974 {
12975 if (temp4)
12976 delete arg4;
12977 }
12978 {
12979 if (temp11)
12980 delete arg11;
12981 }
12982 return NULL;
12983}
12984
12985
c370783e 12986static PyObject *_wrap_SpinCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
12987 PyObject *resultobj;
12988 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
12989 int result;
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
12996 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
12997 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
12998 {
12999 PyThreadState* __tstate = wxPyBeginAllowThreads();
13000 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
13001
13002 wxPyEndAllowThreads(__tstate);
13003 if (PyErr_Occurred()) SWIG_fail;
13004 }
36ed4f51
RD
13005 {
13006 resultobj = SWIG_From_int((int)(result));
13007 }
d55e5bfc
RD
13008 return resultobj;
13009 fail:
13010 return NULL;
13011}
13012
13013
c370783e 13014static PyObject *_wrap_SpinCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13015 PyObject *resultobj;
13016 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13017 int arg2 ;
13018 PyObject * obj0 = 0 ;
13019 PyObject * obj1 = 0 ;
13020 char *kwnames[] = {
13021 (char *) "self",(char *) "value", NULL
13022 };
13023
13024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13026 if (SWIG_arg_fail(1)) SWIG_fail;
13027 {
13028 arg2 = (int)(SWIG_As_int(obj1));
13029 if (SWIG_arg_fail(2)) SWIG_fail;
13030 }
d55e5bfc
RD
13031 {
13032 PyThreadState* __tstate = wxPyBeginAllowThreads();
13033 (arg1)->SetValue(arg2);
13034
13035 wxPyEndAllowThreads(__tstate);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 }
13038 Py_INCREF(Py_None); resultobj = Py_None;
13039 return resultobj;
13040 fail:
13041 return NULL;
13042}
13043
13044
c370783e 13045static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13046 PyObject *resultobj;
13047 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13048 wxString *arg2 = 0 ;
b411df4a 13049 bool temp2 = false ;
d55e5bfc
RD
13050 PyObject * obj0 = 0 ;
13051 PyObject * obj1 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self",(char *) "text", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13058 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13059 {
13060 arg2 = wxString_in_helper(obj1);
13061 if (arg2 == NULL) SWIG_fail;
b411df4a 13062 temp2 = true;
d55e5bfc
RD
13063 }
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 (arg1)->SetValue((wxString const &)*arg2);
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 Py_INCREF(Py_None); resultobj = Py_None;
13072 {
13073 if (temp2)
13074 delete arg2;
13075 }
13076 return resultobj;
13077 fail:
13078 {
13079 if (temp2)
13080 delete arg2;
13081 }
13082 return NULL;
13083}
13084
13085
c370783e 13086static PyObject *_wrap_SpinCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13087 PyObject *resultobj;
13088 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13089 int arg2 ;
13090 int arg3 ;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 PyObject * obj2 = 0 ;
13094 char *kwnames[] = {
13095 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
13096 };
13097
13098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail;
13101 {
13102 arg2 = (int)(SWIG_As_int(obj1));
13103 if (SWIG_arg_fail(2)) SWIG_fail;
13104 }
13105 {
13106 arg3 = (int)(SWIG_As_int(obj2));
13107 if (SWIG_arg_fail(3)) SWIG_fail;
13108 }
d55e5bfc
RD
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 (arg1)->SetRange(arg2,arg3);
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 Py_INCREF(Py_None); resultobj = Py_None;
13117 return resultobj;
13118 fail:
13119 return NULL;
13120}
13121
13122
c370783e 13123static PyObject *_wrap_SpinCtrl_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13124 PyObject *resultobj;
13125 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13126 int result;
13127 PyObject * obj0 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
13133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13134 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
36ed4f51
RD
13142 {
13143 resultobj = SWIG_From_int((int)(result));
13144 }
d55e5bfc
RD
13145 return resultobj;
13146 fail:
13147 return NULL;
13148}
13149
13150
c370783e 13151static PyObject *_wrap_SpinCtrl_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13152 PyObject *resultobj;
13153 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13154 int result;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
13161 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13162 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
36ed4f51
RD
13170 {
13171 resultobj = SWIG_From_int((int)(result));
13172 }
d55e5bfc
RD
13173 return resultobj;
13174 fail:
13175 return NULL;
13176}
13177
13178
c370783e 13179static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13180 PyObject *resultobj;
13181 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
13182 long arg2 ;
13183 long arg3 ;
13184 PyObject * obj0 = 0 ;
13185 PyObject * obj1 = 0 ;
13186 PyObject * obj2 = 0 ;
13187 char *kwnames[] = {
13188 (char *) "self",(char *) "from",(char *) "to", NULL
13189 };
13190
13191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_EXCEPTION | 0);
13193 if (SWIG_arg_fail(1)) SWIG_fail;
13194 {
13195 arg2 = (long)(SWIG_As_long(obj1));
13196 if (SWIG_arg_fail(2)) SWIG_fail;
13197 }
13198 {
13199 arg3 = (long)(SWIG_As_long(obj2));
13200 if (SWIG_arg_fail(3)) SWIG_fail;
13201 }
d55e5bfc
RD
13202 {
13203 PyThreadState* __tstate = wxPyBeginAllowThreads();
13204 (arg1)->SetSelection(arg2,arg3);
13205
13206 wxPyEndAllowThreads(__tstate);
13207 if (PyErr_Occurred()) SWIG_fail;
13208 }
13209 Py_INCREF(Py_None); resultobj = Py_None;
13210 return resultobj;
13211 fail:
13212 return NULL;
13213}
13214
13215
c370783e 13216static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 13217 PyObject *resultobj;
36ed4f51 13218 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
13219 wxVisualAttributes result;
13220 PyObject * obj0 = 0 ;
13221 char *kwnames[] = {
13222 (char *) "variant", NULL
13223 };
13224
13225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13226 if (obj0) {
36ed4f51
RD
13227 {
13228 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
13229 if (SWIG_arg_fail(1)) SWIG_fail;
13230 }
f20a2e1f
RD
13231 }
13232 {
0439c23b 13233 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13234 PyThreadState* __tstate = wxPyBeginAllowThreads();
13235 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
13236
13237 wxPyEndAllowThreads(__tstate);
110da5b0 13238 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13239 }
13240 {
13241 wxVisualAttributes * resultptr;
36ed4f51 13242 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
13243 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13244 }
13245 return resultobj;
13246 fail:
13247 return NULL;
13248}
13249
13250
c370783e 13251static PyObject * SpinCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13252 PyObject *obj;
13253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13254 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
13255 Py_INCREF(obj);
13256 return Py_BuildValue((char *)"");
13257}
c370783e 13258static PyObject *_wrap_new_SpinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13259 PyObject *resultobj;
13260 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13261 int arg2 = (int) 0 ;
13262 wxSpinEvent *result;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "commandType",(char *) "winid", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
13270 if (obj0) {
36ed4f51
RD
13271 {
13272 arg1 = (wxEventType)(SWIG_As_int(obj0));
13273 if (SWIG_arg_fail(1)) SWIG_fail;
13274 }
d55e5bfc
RD
13275 }
13276 if (obj1) {
36ed4f51
RD
13277 {
13278 arg2 = (int)(SWIG_As_int(obj1));
13279 if (SWIG_arg_fail(2)) SWIG_fail;
13280 }
d55e5bfc
RD
13281 }
13282 {
13283 PyThreadState* __tstate = wxPyBeginAllowThreads();
13284 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
13285
13286 wxPyEndAllowThreads(__tstate);
13287 if (PyErr_Occurred()) SWIG_fail;
13288 }
13289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
13290 return resultobj;
13291 fail:
13292 return NULL;
13293}
13294
13295
c370783e 13296static PyObject *_wrap_SpinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13297 PyObject *resultobj;
13298 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13299 int result;
13300 PyObject * obj0 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
13306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
36ed4f51
RD
13315 {
13316 resultobj = SWIG_From_int((int)(result));
13317 }
d55e5bfc
RD
13318 return resultobj;
13319 fail:
13320 return NULL;
13321}
13322
13323
c370783e 13324static PyObject *_wrap_SpinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13325 PyObject *resultobj;
13326 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
13327 int arg2 ;
13328 PyObject * obj0 = 0 ;
13329 PyObject * obj1 = 0 ;
13330 char *kwnames[] = {
13331 (char *) "self",(char *) "pos", NULL
13332 };
13333
13334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_EXCEPTION | 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail;
13337 {
13338 arg2 = (int)(SWIG_As_int(obj1));
13339 if (SWIG_arg_fail(2)) SWIG_fail;
13340 }
d55e5bfc
RD
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 (arg1)->SetPosition(arg2);
13344
13345 wxPyEndAllowThreads(__tstate);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 Py_INCREF(Py_None); resultobj = Py_None;
13349 return resultobj;
13350 fail:
13351 return NULL;
13352}
13353
13354
c370783e 13355static PyObject * SpinEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
13356 PyObject *obj;
13357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13358 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
13359 Py_INCREF(obj);
13360 return Py_BuildValue((char *)"");
13361}
c370783e 13362static int _wrap_RadioBoxNameStr_set(PyObject *) {
d55e5bfc
RD
13363 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
13364 return 1;
13365}
13366
13367
36ed4f51 13368static PyObject *_wrap_RadioBoxNameStr_get(void) {
d55e5bfc
RD
13369 PyObject *pyobj;
13370
13371 {
13372#if wxUSE_UNICODE
13373 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13374#else
13375 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
13376#endif
13377 }
13378 return pyobj;
13379}
13380
13381
c370783e 13382static int _wrap_RadioButtonNameStr_set(PyObject *) {
d55e5bfc
RD
13383 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
13384 return 1;
13385}
13386
13387
36ed4f51 13388static PyObject *_wrap_RadioButtonNameStr_get(void) {
d55e5bfc
RD
13389 PyObject *pyobj;
13390
13391 {
13392#if wxUSE_UNICODE
13393 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13394#else
13395 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
13396#endif
13397 }
13398 return pyobj;
13399}
13400
13401
c370783e 13402static PyObject *_wrap_new_RadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13403 PyObject *resultobj;
13404 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
13405 int arg2 = (int) -1 ;
13406 wxString const &arg3_defvalue = wxPyEmptyString ;
13407 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13410 wxSize const &arg5_defvalue = wxDefaultSize ;
13411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13412 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
13413 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
13414 int arg7 = (int) 0 ;
13415 long arg8 = (long) wxRA_HORIZONTAL ;
13416 wxValidator const &arg9_defvalue = wxDefaultValidator ;
13417 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
13418 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
13419 wxString *arg10 = (wxString *) &arg10_defvalue ;
13420 wxRadioBox *result;
b411df4a 13421 bool temp3 = false ;
d55e5bfc
RD
13422 wxPoint temp4 ;
13423 wxSize temp5 ;
b411df4a
RD
13424 bool temp6 = false ;
13425 bool temp10 = false ;
d55e5bfc
RD
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 PyObject * obj3 = 0 ;
13430 PyObject * obj4 = 0 ;
13431 PyObject * obj5 = 0 ;
13432 PyObject * obj6 = 0 ;
13433 PyObject * obj7 = 0 ;
13434 PyObject * obj8 = 0 ;
13435 PyObject * obj9 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13438 };
13439
bfddbb17 13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
13441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 13443 if (obj1) {
36ed4f51
RD
13444 {
13445 arg2 = (int)(SWIG_As_int(obj1));
13446 if (SWIG_arg_fail(2)) SWIG_fail;
13447 }
bfddbb17
RD
13448 }
13449 if (obj2) {
13450 {
13451 arg3 = wxString_in_helper(obj2);
13452 if (arg3 == NULL) SWIG_fail;
b411df4a 13453 temp3 = true;
bfddbb17 13454 }
d55e5bfc
RD
13455 }
13456 if (obj3) {
13457 {
13458 arg4 = &temp4;
13459 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13460 }
13461 }
13462 if (obj4) {
13463 {
13464 arg5 = &temp5;
13465 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13466 }
13467 }
13468 if (obj5) {
13469 {
13470 if (! PySequence_Check(obj5)) {
13471 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13472 SWIG_fail;
13473 }
13474 arg6 = new wxArrayString;
b411df4a 13475 temp6 = true;
d55e5bfc
RD
13476 int i, len=PySequence_Length(obj5);
13477 for (i=0; i<len; i++) {
13478 PyObject* item = PySequence_GetItem(obj5, i);
71237536 13479 wxString* s = wxString_in_helper(item);
d55e5bfc 13480 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13481 arg6->Add(*s);
13482 delete s;
d55e5bfc 13483 Py_DECREF(item);
d55e5bfc
RD
13484 }
13485 }
13486 }
13487 if (obj6) {
36ed4f51
RD
13488 {
13489 arg7 = (int)(SWIG_As_int(obj6));
13490 if (SWIG_arg_fail(7)) SWIG_fail;
13491 }
d55e5bfc
RD
13492 }
13493 if (obj7) {
36ed4f51
RD
13494 {
13495 arg8 = (long)(SWIG_As_long(obj7));
13496 if (SWIG_arg_fail(8)) SWIG_fail;
13497 }
d55e5bfc
RD
13498 }
13499 if (obj8) {
36ed4f51
RD
13500 {
13501 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13502 if (SWIG_arg_fail(9)) SWIG_fail;
13503 if (arg9 == NULL) {
13504 SWIG_null_ref("wxValidator");
13505 }
13506 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
13507 }
13508 }
13509 if (obj9) {
13510 {
13511 arg10 = wxString_in_helper(obj9);
13512 if (arg10 == NULL) SWIG_fail;
b411df4a 13513 temp10 = true;
d55e5bfc
RD
13514 }
13515 }
13516 {
0439c23b 13517 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13518 PyThreadState* __tstate = wxPyBeginAllowThreads();
13519 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
13520
13521 wxPyEndAllowThreads(__tstate);
110da5b0 13522 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13523 }
13524 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13525 {
13526 if (temp3)
13527 delete arg3;
13528 }
13529 {
13530 if (temp6) delete arg6;
13531 }
13532 {
13533 if (temp10)
13534 delete arg10;
13535 }
13536 return resultobj;
13537 fail:
13538 {
13539 if (temp3)
13540 delete arg3;
13541 }
13542 {
13543 if (temp6) delete arg6;
13544 }
13545 {
13546 if (temp10)
13547 delete arg10;
13548 }
13549 return NULL;
13550}
13551
13552
c370783e 13553static PyObject *_wrap_new_PreRadioBox(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13554 PyObject *resultobj;
13555 wxRadioBox *result;
13556 char *kwnames[] = {
13557 NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
13561 {
0439c23b 13562 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13563 PyThreadState* __tstate = wxPyBeginAllowThreads();
13564 result = (wxRadioBox *)new wxRadioBox();
13565
13566 wxPyEndAllowThreads(__tstate);
110da5b0 13567 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13568 }
13569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
13570 return resultobj;
13571 fail:
13572 return NULL;
13573}
13574
13575
c370783e 13576static PyObject *_wrap_RadioBox_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13577 PyObject *resultobj;
13578 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13579 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
13580 int arg3 = (int) -1 ;
13581 wxString const &arg4_defvalue = wxPyEmptyString ;
13582 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13583 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13584 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13585 wxSize const &arg6_defvalue = wxDefaultSize ;
13586 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13587 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
13588 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
13589 int arg8 = (int) 0 ;
13590 long arg9 = (long) wxRA_HORIZONTAL ;
13591 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13592 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13593 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
13594 wxString *arg11 = (wxString *) &arg11_defvalue ;
13595 bool result;
b411df4a 13596 bool temp4 = false ;
d55e5bfc
RD
13597 wxPoint temp5 ;
13598 wxSize temp6 ;
b411df4a
RD
13599 bool temp7 = false ;
13600 bool temp11 = false ;
d55e5bfc
RD
13601 PyObject * obj0 = 0 ;
13602 PyObject * obj1 = 0 ;
13603 PyObject * obj2 = 0 ;
13604 PyObject * obj3 = 0 ;
13605 PyObject * obj4 = 0 ;
13606 PyObject * obj5 = 0 ;
13607 PyObject * obj6 = 0 ;
13608 PyObject * obj7 = 0 ;
13609 PyObject * obj8 = 0 ;
13610 PyObject * obj9 = 0 ;
13611 PyObject * obj10 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
13614 };
13615
bfddbb17 13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
13617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13618 if (SWIG_arg_fail(1)) SWIG_fail;
13619 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
13620 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 13621 if (obj2) {
36ed4f51
RD
13622 {
13623 arg3 = (int)(SWIG_As_int(obj2));
13624 if (SWIG_arg_fail(3)) SWIG_fail;
13625 }
bfddbb17
RD
13626 }
13627 if (obj3) {
13628 {
13629 arg4 = wxString_in_helper(obj3);
13630 if (arg4 == NULL) SWIG_fail;
b411df4a 13631 temp4 = true;
bfddbb17 13632 }
d55e5bfc
RD
13633 }
13634 if (obj4) {
13635 {
13636 arg5 = &temp5;
13637 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13638 }
13639 }
13640 if (obj5) {
13641 {
13642 arg6 = &temp6;
13643 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13644 }
13645 }
13646 if (obj6) {
13647 {
13648 if (! PySequence_Check(obj6)) {
13649 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
13650 SWIG_fail;
13651 }
13652 arg7 = new wxArrayString;
b411df4a 13653 temp7 = true;
d55e5bfc
RD
13654 int i, len=PySequence_Length(obj6);
13655 for (i=0; i<len; i++) {
13656 PyObject* item = PySequence_GetItem(obj6, i);
71237536 13657 wxString* s = wxString_in_helper(item);
d55e5bfc 13658 if (PyErr_Occurred()) SWIG_fail;
71237536
RD
13659 arg7->Add(*s);
13660 delete s;
d55e5bfc 13661 Py_DECREF(item);
d55e5bfc
RD
13662 }
13663 }
13664 }
13665 if (obj7) {
36ed4f51
RD
13666 {
13667 arg8 = (int)(SWIG_As_int(obj7));
13668 if (SWIG_arg_fail(8)) SWIG_fail;
13669 }
d55e5bfc
RD
13670 }
13671 if (obj8) {
36ed4f51
RD
13672 {
13673 arg9 = (long)(SWIG_As_long(obj8));
13674 if (SWIG_arg_fail(9)) SWIG_fail;
13675 }
d55e5bfc
RD
13676 }
13677 if (obj9) {
36ed4f51
RD
13678 {
13679 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
13680 if (SWIG_arg_fail(10)) SWIG_fail;
13681 if (arg10 == NULL) {
13682 SWIG_null_ref("wxValidator");
13683 }
13684 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
13685 }
13686 }
13687 if (obj10) {
13688 {
13689 arg11 = wxString_in_helper(obj10);
13690 if (arg11 == NULL) SWIG_fail;
b411df4a 13691 temp11 = true;
d55e5bfc
RD
13692 }
13693 }
13694 {
13695 PyThreadState* __tstate = wxPyBeginAllowThreads();
13696 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13697
13698 wxPyEndAllowThreads(__tstate);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 }
13701 {
13702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13703 }
13704 {
13705 if (temp4)
13706 delete arg4;
13707 }
13708 {
13709 if (temp7) delete arg7;
13710 }
13711 {
13712 if (temp11)
13713 delete arg11;
13714 }
13715 return resultobj;
13716 fail:
13717 {
13718 if (temp4)
13719 delete arg4;
13720 }
13721 {
13722 if (temp7) delete arg7;
13723 }
13724 {
13725 if (temp11)
13726 delete arg11;
13727 }
13728 return NULL;
13729}
13730
13731
c370783e 13732static PyObject *_wrap_RadioBox_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13733 PyObject *resultobj;
13734 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13735 int arg2 ;
13736 PyObject * obj0 = 0 ;
13737 PyObject * obj1 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self",(char *) "n", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13743 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13744 if (SWIG_arg_fail(1)) SWIG_fail;
13745 {
13746 arg2 = (int)(SWIG_As_int(obj1));
13747 if (SWIG_arg_fail(2)) SWIG_fail;
13748 }
d55e5bfc
RD
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 (arg1)->SetSelection(arg2);
13752
13753 wxPyEndAllowThreads(__tstate);
13754 if (PyErr_Occurred()) SWIG_fail;
13755 }
13756 Py_INCREF(Py_None); resultobj = Py_None;
13757 return resultobj;
13758 fail:
13759 return NULL;
13760}
13761
13762
c370783e 13763static PyObject *_wrap_RadioBox_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13764 PyObject *resultobj;
13765 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13766 int result;
13767 PyObject * obj0 = 0 ;
13768 char *kwnames[] = {
13769 (char *) "self", NULL
13770 };
13771
13772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13774 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (int)((wxRadioBox const *)arg1)->GetSelection();
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
36ed4f51
RD
13782 {
13783 resultobj = SWIG_From_int((int)(result));
13784 }
d55e5bfc
RD
13785 return resultobj;
13786 fail:
13787 return NULL;
13788}
13789
13790
c370783e 13791static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13792 PyObject *resultobj;
13793 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13794 wxString result;
13795 PyObject * obj0 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "self", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
13801 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13802 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = ((wxRadioBox const *)arg1)->GetStringSelection();
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811#if wxUSE_UNICODE
13812 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13813#else
13814 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13815#endif
13816 }
13817 return resultobj;
13818 fail:
13819 return NULL;
13820}
13821
13822
c370783e 13823static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13824 PyObject *resultobj;
13825 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13826 wxString *arg2 = 0 ;
13827 bool result;
b411df4a 13828 bool temp2 = false ;
d55e5bfc
RD
13829 PyObject * obj0 = 0 ;
13830 PyObject * obj1 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "self",(char *) "s", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13838 {
13839 arg2 = wxString_in_helper(obj1);
13840 if (arg2 == NULL) SWIG_fail;
b411df4a 13841 temp2 = true;
d55e5bfc
RD
13842 }
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 {
13851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13852 }
13853 {
13854 if (temp2)
13855 delete arg2;
13856 }
13857 return resultobj;
13858 fail:
13859 {
13860 if (temp2)
13861 delete arg2;
13862 }
13863 return NULL;
13864}
13865
13866
c370783e 13867static PyObject *_wrap_RadioBox_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13868 PyObject *resultobj;
13869 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13870 int result;
13871 PyObject * obj0 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
13877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 result = (int)((wxRadioBox const *)arg1)->GetCount();
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
36ed4f51
RD
13886 {
13887 resultobj = SWIG_From_int((int)(result));
13888 }
d55e5bfc
RD
13889 return resultobj;
13890 fail:
13891 return NULL;
13892}
13893
13894
c370783e 13895static PyObject *_wrap_RadioBox_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13896 PyObject *resultobj;
13897 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13898 wxString *arg2 = 0 ;
13899 int result;
b411df4a 13900 bool temp2 = false ;
d55e5bfc
RD
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "s", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13908 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13909 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
13910 {
13911 arg2 = wxString_in_helper(obj1);
13912 if (arg2 == NULL) SWIG_fail;
b411df4a 13913 temp2 = true;
d55e5bfc
RD
13914 }
13915 {
13916 PyThreadState* __tstate = wxPyBeginAllowThreads();
13917 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
13918
13919 wxPyEndAllowThreads(__tstate);
13920 if (PyErr_Occurred()) SWIG_fail;
13921 }
36ed4f51
RD
13922 {
13923 resultobj = SWIG_From_int((int)(result));
13924 }
d55e5bfc
RD
13925 {
13926 if (temp2)
13927 delete arg2;
13928 }
13929 return resultobj;
13930 fail:
13931 {
13932 if (temp2)
13933 delete arg2;
13934 }
13935 return NULL;
13936}
13937
13938
c370783e 13939static PyObject *_wrap_RadioBox_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13940 PyObject *resultobj;
13941 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13942 int arg2 ;
13943 wxString result;
13944 PyObject * obj0 = 0 ;
13945 PyObject * obj1 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self",(char *) "n", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
13951 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13952 if (SWIG_arg_fail(1)) SWIG_fail;
13953 {
13954 arg2 = (int)(SWIG_As_int(obj1));
13955 if (SWIG_arg_fail(2)) SWIG_fail;
13956 }
d55e5bfc
RD
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 result = ((wxRadioBox const *)arg1)->GetString(arg2);
13960
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 {
13965#if wxUSE_UNICODE
13966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13967#else
13968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13969#endif
13970 }
13971 return resultobj;
13972 fail:
13973 return NULL;
13974}
13975
13976
c370783e 13977static PyObject *_wrap_RadioBox_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
13978 PyObject *resultobj;
13979 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
13980 int arg2 ;
13981 wxString *arg3 = 0 ;
b411df4a 13982 bool temp3 = false ;
d55e5bfc
RD
13983 PyObject * obj0 = 0 ;
13984 PyObject * obj1 = 0 ;
13985 PyObject * obj2 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self",(char *) "n",(char *) "label", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
13991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail;
13993 {
13994 arg2 = (int)(SWIG_As_int(obj1));
13995 if (SWIG_arg_fail(2)) SWIG_fail;
13996 }
d55e5bfc
RD
13997 {
13998 arg3 = wxString_in_helper(obj2);
13999 if (arg3 == NULL) SWIG_fail;
b411df4a 14000 temp3 = true;
d55e5bfc
RD
14001 }
14002 {
14003 PyThreadState* __tstate = wxPyBeginAllowThreads();
14004 (arg1)->SetString(arg2,(wxString const &)*arg3);
14005
14006 wxPyEndAllowThreads(__tstate);
14007 if (PyErr_Occurred()) SWIG_fail;
14008 }
14009 Py_INCREF(Py_None); resultobj = Py_None;
14010 {
14011 if (temp3)
14012 delete arg3;
14013 }
14014 return resultobj;
14015 fail:
14016 {
14017 if (temp3)
14018 delete arg3;
14019 }
14020 return NULL;
14021}
14022
14023
c370783e 14024static PyObject *_wrap_RadioBox_EnableItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14025 PyObject *resultobj;
14026 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14027 int arg2 ;
b411df4a 14028 bool arg3 = (bool) true ;
d55e5bfc
RD
14029 PyObject * obj0 = 0 ;
14030 PyObject * obj1 = 0 ;
14031 PyObject * obj2 = 0 ;
14032 char *kwnames[] = {
14033 (char *) "self",(char *) "n",(char *) "enable", NULL
14034 };
14035
14036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14038 if (SWIG_arg_fail(1)) SWIG_fail;
14039 {
14040 arg2 = (int)(SWIG_As_int(obj1));
14041 if (SWIG_arg_fail(2)) SWIG_fail;
14042 }
d55e5bfc 14043 if (obj2) {
36ed4f51
RD
14044 {
14045 arg3 = (bool)(SWIG_As_bool(obj2));
14046 if (SWIG_arg_fail(3)) SWIG_fail;
14047 }
d55e5bfc
RD
14048 }
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 (arg1)->Enable(arg2,arg3);
14052
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 Py_INCREF(Py_None); resultobj = Py_None;
14057 return resultobj;
14058 fail:
14059 return NULL;
14060}
14061
14062
c370783e 14063static PyObject *_wrap_RadioBox_ShowItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14064 PyObject *resultobj;
14065 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14066 int arg2 ;
b411df4a 14067 bool arg3 = (bool) true ;
d55e5bfc
RD
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 PyObject * obj2 = 0 ;
14071 char *kwnames[] = {
14072 (char *) "self",(char *) "n",(char *) "show", NULL
14073 };
14074
14075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14076 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14077 if (SWIG_arg_fail(1)) SWIG_fail;
14078 {
14079 arg2 = (int)(SWIG_As_int(obj1));
14080 if (SWIG_arg_fail(2)) SWIG_fail;
14081 }
d55e5bfc 14082 if (obj2) {
36ed4f51
RD
14083 {
14084 arg3 = (bool)(SWIG_As_bool(obj2));
14085 if (SWIG_arg_fail(3)) SWIG_fail;
14086 }
d55e5bfc
RD
14087 }
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 (arg1)->Show(arg2,arg3);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 Py_INCREF(Py_None); resultobj = Py_None;
14096 return resultobj;
14097 fail:
14098 return NULL;
14099}
14100
14101
c370783e 14102static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14103 PyObject *resultobj;
14104 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14105 int result;
14106 PyObject * obj0 = 0 ;
14107 char *kwnames[] = {
14108 (char *) "self", NULL
14109 };
14110
14111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14112 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14113 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
14117
14118 wxPyEndAllowThreads(__tstate);
14119 if (PyErr_Occurred()) SWIG_fail;
14120 }
36ed4f51
RD
14121 {
14122 resultobj = SWIG_From_int((int)(result));
14123 }
d55e5bfc
RD
14124 return resultobj;
14125 fail:
14126 return NULL;
14127}
14128
14129
c370783e 14130static PyObject *_wrap_RadioBox_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14131 PyObject *resultobj;
14132 wxRadioBox *arg1 = (wxRadioBox *) 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:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
14140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
36ed4f51
RD
14149 {
14150 resultobj = SWIG_From_int((int)(result));
14151 }
d55e5bfc
RD
14152 return resultobj;
14153 fail:
14154 return NULL;
14155}
14156
14157
c370783e 14158static PyObject *_wrap_RadioBox_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14159 PyObject *resultobj;
14160 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
14161 int arg2 ;
36ed4f51 14162 wxDirection arg3 ;
d55e5bfc
RD
14163 long arg4 ;
14164 int result;
14165 PyObject * obj0 = 0 ;
14166 PyObject * obj1 = 0 ;
14167 PyObject * obj2 = 0 ;
14168 PyObject * obj3 = 0 ;
14169 char *kwnames[] = {
14170 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
14171 };
14172
14173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
14174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioBox, SWIG_POINTER_EXCEPTION | 0);
14175 if (SWIG_arg_fail(1)) SWIG_fail;
14176 {
14177 arg2 = (int)(SWIG_As_int(obj1));
14178 if (SWIG_arg_fail(2)) SWIG_fail;
14179 }
14180 {
14181 arg3 = (wxDirection)(SWIG_As_int(obj2));
14182 if (SWIG_arg_fail(3)) SWIG_fail;
14183 }
14184 {
14185 arg4 = (long)(SWIG_As_long(obj3));
14186 if (SWIG_arg_fail(4)) SWIG_fail;
14187 }
d55e5bfc
RD
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
36ed4f51
RD
14195 {
14196 resultobj = SWIG_From_int((int)(result));
14197 }
d55e5bfc
RD
14198 return resultobj;
14199 fail:
14200 return NULL;
14201}
14202
14203
c370783e 14204static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14205 PyObject *resultobj;
36ed4f51 14206 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14207 wxVisualAttributes result;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "variant", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14214 if (obj0) {
36ed4f51
RD
14215 {
14216 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14217 if (SWIG_arg_fail(1)) SWIG_fail;
14218 }
f20a2e1f
RD
14219 }
14220 {
0439c23b 14221 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14222 PyThreadState* __tstate = wxPyBeginAllowThreads();
14223 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
14224
14225 wxPyEndAllowThreads(__tstate);
110da5b0 14226 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14227 }
14228 {
14229 wxVisualAttributes * resultptr;
36ed4f51 14230 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14232 }
14233 return resultobj;
14234 fail:
14235 return NULL;
14236}
14237
14238
c370783e 14239static PyObject * RadioBox_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14240 PyObject *obj;
14241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14242 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
14243 Py_INCREF(obj);
14244 return Py_BuildValue((char *)"");
14245}
c370783e 14246static PyObject *_wrap_new_RadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14247 PyObject *resultobj;
14248 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14249 int arg2 = (int) -1 ;
14250 wxString const &arg3_defvalue = wxPyEmptyString ;
14251 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
14252 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14253 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14254 wxSize const &arg5_defvalue = wxDefaultSize ;
14255 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14256 long arg6 = (long) 0 ;
14257 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14258 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14259 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
14260 wxString *arg8 = (wxString *) &arg8_defvalue ;
14261 wxRadioButton *result;
b411df4a 14262 bool temp3 = false ;
d55e5bfc
RD
14263 wxPoint temp4 ;
14264 wxSize temp5 ;
b411df4a 14265 bool temp8 = false ;
d55e5bfc
RD
14266 PyObject * obj0 = 0 ;
14267 PyObject * obj1 = 0 ;
14268 PyObject * obj2 = 0 ;
14269 PyObject * obj3 = 0 ;
14270 PyObject * obj4 = 0 ;
14271 PyObject * obj5 = 0 ;
14272 PyObject * obj6 = 0 ;
14273 PyObject * obj7 = 0 ;
14274 char *kwnames[] = {
14275 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14276 };
14277
bfddbb17 14278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
14279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14280 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14281 if (obj1) {
36ed4f51
RD
14282 {
14283 arg2 = (int)(SWIG_As_int(obj1));
14284 if (SWIG_arg_fail(2)) SWIG_fail;
14285 }
bfddbb17
RD
14286 }
14287 if (obj2) {
14288 {
14289 arg3 = wxString_in_helper(obj2);
14290 if (arg3 == NULL) SWIG_fail;
b411df4a 14291 temp3 = true;
bfddbb17 14292 }
d55e5bfc
RD
14293 }
14294 if (obj3) {
14295 {
14296 arg4 = &temp4;
14297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14298 }
14299 }
14300 if (obj4) {
14301 {
14302 arg5 = &temp5;
14303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14304 }
14305 }
14306 if (obj5) {
36ed4f51
RD
14307 {
14308 arg6 = (long)(SWIG_As_long(obj5));
14309 if (SWIG_arg_fail(6)) SWIG_fail;
14310 }
d55e5bfc
RD
14311 }
14312 if (obj6) {
36ed4f51
RD
14313 {
14314 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14315 if (SWIG_arg_fail(7)) SWIG_fail;
14316 if (arg7 == NULL) {
14317 SWIG_null_ref("wxValidator");
14318 }
14319 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
14320 }
14321 }
14322 if (obj7) {
14323 {
14324 arg8 = wxString_in_helper(obj7);
14325 if (arg8 == NULL) SWIG_fail;
b411df4a 14326 temp8 = true;
d55e5bfc
RD
14327 }
14328 }
14329 {
0439c23b 14330 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14333
14334 wxPyEndAllowThreads(__tstate);
110da5b0 14335 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14336 }
14337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14338 {
14339 if (temp3)
14340 delete arg3;
14341 }
14342 {
14343 if (temp8)
14344 delete arg8;
14345 }
14346 return resultobj;
14347 fail:
14348 {
14349 if (temp3)
14350 delete arg3;
14351 }
14352 {
14353 if (temp8)
14354 delete arg8;
14355 }
14356 return NULL;
14357}
14358
14359
c370783e 14360static PyObject *_wrap_new_PreRadioButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14361 PyObject *resultobj;
14362 wxRadioButton *result;
14363 char *kwnames[] = {
14364 NULL
14365 };
14366
14367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
14368 {
0439c23b 14369 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14370 PyThreadState* __tstate = wxPyBeginAllowThreads();
14371 result = (wxRadioButton *)new wxRadioButton();
14372
14373 wxPyEndAllowThreads(__tstate);
110da5b0 14374 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14375 }
14376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
14377 return resultobj;
14378 fail:
14379 return NULL;
14380}
14381
14382
c370783e 14383static PyObject *_wrap_RadioButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14384 PyObject *resultobj;
14385 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14386 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14387 int arg3 = (int) -1 ;
14388 wxString const &arg4_defvalue = wxPyEmptyString ;
14389 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
14390 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14391 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14392 wxSize const &arg6_defvalue = wxDefaultSize ;
14393 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14394 long arg7 = (long) 0 ;
14395 wxValidator const &arg8_defvalue = wxDefaultValidator ;
14396 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
14397 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
14398 wxString *arg9 = (wxString *) &arg9_defvalue ;
14399 bool result;
b411df4a 14400 bool temp4 = false ;
d55e5bfc
RD
14401 wxPoint temp5 ;
14402 wxSize temp6 ;
b411df4a 14403 bool temp9 = false ;
d55e5bfc
RD
14404 PyObject * obj0 = 0 ;
14405 PyObject * obj1 = 0 ;
14406 PyObject * obj2 = 0 ;
14407 PyObject * obj3 = 0 ;
14408 PyObject * obj4 = 0 ;
14409 PyObject * obj5 = 0 ;
14410 PyObject * obj6 = 0 ;
14411 PyObject * obj7 = 0 ;
14412 PyObject * obj8 = 0 ;
14413 char *kwnames[] = {
14414 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14415 };
14416
bfddbb17 14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
14418 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14419 if (SWIG_arg_fail(1)) SWIG_fail;
14420 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14421 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14422 if (obj2) {
36ed4f51
RD
14423 {
14424 arg3 = (int)(SWIG_As_int(obj2));
14425 if (SWIG_arg_fail(3)) SWIG_fail;
14426 }
bfddbb17
RD
14427 }
14428 if (obj3) {
14429 {
14430 arg4 = wxString_in_helper(obj3);
14431 if (arg4 == NULL) SWIG_fail;
b411df4a 14432 temp4 = true;
bfddbb17 14433 }
d55e5bfc
RD
14434 }
14435 if (obj4) {
14436 {
14437 arg5 = &temp5;
14438 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14439 }
14440 }
14441 if (obj5) {
14442 {
14443 arg6 = &temp6;
14444 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14445 }
14446 }
14447 if (obj6) {
36ed4f51
RD
14448 {
14449 arg7 = (long)(SWIG_As_long(obj6));
14450 if (SWIG_arg_fail(7)) SWIG_fail;
14451 }
d55e5bfc
RD
14452 }
14453 if (obj7) {
36ed4f51
RD
14454 {
14455 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14456 if (SWIG_arg_fail(8)) SWIG_fail;
14457 if (arg8 == NULL) {
14458 SWIG_null_ref("wxValidator");
14459 }
14460 if (SWIG_arg_fail(8)) SWIG_fail;
d55e5bfc
RD
14461 }
14462 }
14463 if (obj8) {
14464 {
14465 arg9 = wxString_in_helper(obj8);
14466 if (arg9 == NULL) SWIG_fail;
b411df4a 14467 temp9 = true;
d55e5bfc
RD
14468 }
14469 }
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 {
14478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14479 }
14480 {
14481 if (temp4)
14482 delete arg4;
14483 }
14484 {
14485 if (temp9)
14486 delete arg9;
14487 }
14488 return resultobj;
14489 fail:
14490 {
14491 if (temp4)
14492 delete arg4;
14493 }
14494 {
14495 if (temp9)
14496 delete arg9;
14497 }
14498 return NULL;
14499}
14500
14501
c370783e 14502static PyObject *_wrap_RadioButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14503 PyObject *resultobj;
14504 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14505 bool result;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14513 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (bool)(arg1)->GetValue();
14517
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 {
14522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14523 }
14524 return resultobj;
14525 fail:
14526 return NULL;
14527}
14528
14529
c370783e 14530static PyObject *_wrap_RadioButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14531 PyObject *resultobj;
14532 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
14533 bool arg2 ;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj1 = 0 ;
14536 char *kwnames[] = {
14537 (char *) "self",(char *) "value", NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRadioButton, SWIG_POINTER_EXCEPTION | 0);
14542 if (SWIG_arg_fail(1)) SWIG_fail;
14543 {
14544 arg2 = (bool)(SWIG_As_bool(obj1));
14545 if (SWIG_arg_fail(2)) SWIG_fail;
14546 }
d55e5bfc
RD
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 (arg1)->SetValue(arg2);
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 Py_INCREF(Py_None); resultobj = Py_None;
14555 return resultobj;
14556 fail:
14557 return NULL;
14558}
14559
14560
c370783e 14561static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 14562 PyObject *resultobj;
36ed4f51 14563 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
14564 wxVisualAttributes result;
14565 PyObject * obj0 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "variant", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14571 if (obj0) {
36ed4f51
RD
14572 {
14573 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
14574 if (SWIG_arg_fail(1)) SWIG_fail;
14575 }
f20a2e1f
RD
14576 }
14577 {
0439c23b 14578 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14581
14582 wxPyEndAllowThreads(__tstate);
110da5b0 14583 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14584 }
14585 {
14586 wxVisualAttributes * resultptr;
36ed4f51 14587 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
14588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14589 }
14590 return resultobj;
14591 fail:
14592 return NULL;
14593}
14594
14595
c370783e 14596static PyObject * RadioButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
14597 PyObject *obj;
14598 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14599 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
14600 Py_INCREF(obj);
14601 return Py_BuildValue((char *)"");
14602}
c370783e 14603static int _wrap_SliderNameStr_set(PyObject *) {
d55e5bfc
RD
14604 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
14605 return 1;
14606}
14607
14608
36ed4f51 14609static PyObject *_wrap_SliderNameStr_get(void) {
d55e5bfc
RD
14610 PyObject *pyobj;
14611
14612 {
14613#if wxUSE_UNICODE
14614 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14615#else
14616 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
14617#endif
14618 }
14619 return pyobj;
14620}
14621
14622
c370783e 14623static PyObject *_wrap_new_Slider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14624 PyObject *resultobj;
14625 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
14626 int arg2 = (int) -1 ;
14627 int arg3 = (int) 0 ;
14628 int arg4 = (int) 0 ;
14629 int arg5 = (int) 100 ;
d55e5bfc
RD
14630 wxPoint const &arg6_defvalue = wxDefaultPosition ;
14631 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
14632 wxSize const &arg7_defvalue = wxDefaultSize ;
14633 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
14634 long arg8 = (long) wxSL_HORIZONTAL ;
14635 wxValidator const &arg9_defvalue = wxDefaultValidator ;
14636 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
14637 wxString const &arg10_defvalue = wxPySliderNameStr ;
14638 wxString *arg10 = (wxString *) &arg10_defvalue ;
14639 wxSlider *result;
14640 wxPoint temp6 ;
14641 wxSize temp7 ;
b411df4a 14642 bool temp10 = false ;
d55e5bfc
RD
14643 PyObject * obj0 = 0 ;
14644 PyObject * obj1 = 0 ;
14645 PyObject * obj2 = 0 ;
14646 PyObject * obj3 = 0 ;
14647 PyObject * obj4 = 0 ;
14648 PyObject * obj5 = 0 ;
14649 PyObject * obj6 = 0 ;
14650 PyObject * obj7 = 0 ;
14651 PyObject * obj8 = 0 ;
14652 PyObject * obj9 = 0 ;
14653 char *kwnames[] = {
14654 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14655 };
14656
bfddbb17 14657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
14658 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14659 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 14660 if (obj1) {
36ed4f51
RD
14661 {
14662 arg2 = (int)(SWIG_As_int(obj1));
14663 if (SWIG_arg_fail(2)) SWIG_fail;
14664 }
bfddbb17
RD
14665 }
14666 if (obj2) {
36ed4f51
RD
14667 {
14668 arg3 = (int)(SWIG_As_int(obj2));
14669 if (SWIG_arg_fail(3)) SWIG_fail;
14670 }
bfddbb17
RD
14671 }
14672 if (obj3) {
36ed4f51
RD
14673 {
14674 arg4 = (int)(SWIG_As_int(obj3));
14675 if (SWIG_arg_fail(4)) SWIG_fail;
14676 }
bfddbb17
RD
14677 }
14678 if (obj4) {
36ed4f51
RD
14679 {
14680 arg5 = (int)(SWIG_As_int(obj4));
14681 if (SWIG_arg_fail(5)) SWIG_fail;
14682 }
bfddbb17 14683 }
d55e5bfc
RD
14684 if (obj5) {
14685 {
14686 arg6 = &temp6;
14687 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
14688 }
14689 }
14690 if (obj6) {
14691 {
14692 arg7 = &temp7;
14693 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
14694 }
14695 }
14696 if (obj7) {
36ed4f51
RD
14697 {
14698 arg8 = (long)(SWIG_As_long(obj7));
14699 if (SWIG_arg_fail(8)) SWIG_fail;
14700 }
d55e5bfc
RD
14701 }
14702 if (obj8) {
36ed4f51
RD
14703 {
14704 SWIG_Python_ConvertPtr(obj8, (void **)&arg9, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14705 if (SWIG_arg_fail(9)) SWIG_fail;
14706 if (arg9 == NULL) {
14707 SWIG_null_ref("wxValidator");
14708 }
14709 if (SWIG_arg_fail(9)) SWIG_fail;
d55e5bfc
RD
14710 }
14711 }
14712 if (obj9) {
14713 {
14714 arg10 = wxString_in_helper(obj9);
14715 if (arg10 == NULL) SWIG_fail;
b411df4a 14716 temp10 = true;
d55e5bfc
RD
14717 }
14718 }
14719 {
0439c23b 14720 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14721 PyThreadState* __tstate = wxPyBeginAllowThreads();
14722 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
14723
14724 wxPyEndAllowThreads(__tstate);
110da5b0 14725 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14726 }
14727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14728 {
14729 if (temp10)
14730 delete arg10;
14731 }
14732 return resultobj;
14733 fail:
14734 {
14735 if (temp10)
14736 delete arg10;
14737 }
14738 return NULL;
14739}
14740
14741
c370783e 14742static PyObject *_wrap_new_PreSlider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14743 PyObject *resultobj;
14744 wxSlider *result;
14745 char *kwnames[] = {
14746 NULL
14747 };
14748
14749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
14750 {
0439c23b 14751 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = (wxSlider *)new wxSlider();
14754
14755 wxPyEndAllowThreads(__tstate);
110da5b0 14756 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
14757 }
14758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
14759 return resultobj;
14760 fail:
14761 return NULL;
14762}
14763
14764
c370783e 14765static PyObject *_wrap_Slider_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14766 PyObject *resultobj;
14767 wxSlider *arg1 = (wxSlider *) 0 ;
14768 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
14769 int arg3 = (int) -1 ;
14770 int arg4 = (int) 0 ;
14771 int arg5 = (int) 0 ;
14772 int arg6 = (int) 100 ;
d55e5bfc
RD
14773 wxPoint const &arg7_defvalue = wxDefaultPosition ;
14774 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
14775 wxSize const &arg8_defvalue = wxDefaultSize ;
14776 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
14777 long arg9 = (long) wxSL_HORIZONTAL ;
14778 wxValidator const &arg10_defvalue = wxDefaultValidator ;
14779 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
14780 wxString const &arg11_defvalue = wxPySliderNameStr ;
14781 wxString *arg11 = (wxString *) &arg11_defvalue ;
14782 bool result;
14783 wxPoint temp7 ;
14784 wxSize temp8 ;
b411df4a 14785 bool temp11 = false ;
d55e5bfc
RD
14786 PyObject * obj0 = 0 ;
14787 PyObject * obj1 = 0 ;
14788 PyObject * obj2 = 0 ;
14789 PyObject * obj3 = 0 ;
14790 PyObject * obj4 = 0 ;
14791 PyObject * obj5 = 0 ;
14792 PyObject * obj6 = 0 ;
14793 PyObject * obj7 = 0 ;
14794 PyObject * obj8 = 0 ;
14795 PyObject * obj9 = 0 ;
14796 PyObject * obj10 = 0 ;
14797 char *kwnames[] = {
14798 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14799 };
14800
bfddbb17 14801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
36ed4f51
RD
14802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14803 if (SWIG_arg_fail(1)) SWIG_fail;
14804 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
14805 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 14806 if (obj2) {
36ed4f51
RD
14807 {
14808 arg3 = (int)(SWIG_As_int(obj2));
14809 if (SWIG_arg_fail(3)) SWIG_fail;
14810 }
bfddbb17
RD
14811 }
14812 if (obj3) {
36ed4f51
RD
14813 {
14814 arg4 = (int)(SWIG_As_int(obj3));
14815 if (SWIG_arg_fail(4)) SWIG_fail;
14816 }
bfddbb17
RD
14817 }
14818 if (obj4) {
36ed4f51
RD
14819 {
14820 arg5 = (int)(SWIG_As_int(obj4));
14821 if (SWIG_arg_fail(5)) SWIG_fail;
14822 }
bfddbb17
RD
14823 }
14824 if (obj5) {
36ed4f51
RD
14825 {
14826 arg6 = (int)(SWIG_As_int(obj5));
14827 if (SWIG_arg_fail(6)) SWIG_fail;
14828 }
bfddbb17 14829 }
d55e5bfc
RD
14830 if (obj6) {
14831 {
14832 arg7 = &temp7;
14833 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
14834 }
14835 }
14836 if (obj7) {
14837 {
14838 arg8 = &temp8;
14839 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
14840 }
14841 }
14842 if (obj8) {
36ed4f51
RD
14843 {
14844 arg9 = (long)(SWIG_As_long(obj8));
14845 if (SWIG_arg_fail(9)) SWIG_fail;
14846 }
d55e5bfc
RD
14847 }
14848 if (obj9) {
36ed4f51
RD
14849 {
14850 SWIG_Python_ConvertPtr(obj9, (void **)&arg10, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
14851 if (SWIG_arg_fail(10)) SWIG_fail;
14852 if (arg10 == NULL) {
14853 SWIG_null_ref("wxValidator");
14854 }
14855 if (SWIG_arg_fail(10)) SWIG_fail;
d55e5bfc
RD
14856 }
14857 }
14858 if (obj10) {
14859 {
14860 arg11 = wxString_in_helper(obj10);
14861 if (arg11 == NULL) SWIG_fail;
b411df4a 14862 temp11 = true;
d55e5bfc
RD
14863 }
14864 }
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 {
14873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14874 }
14875 {
14876 if (temp11)
14877 delete arg11;
14878 }
14879 return resultobj;
14880 fail:
14881 {
14882 if (temp11)
14883 delete arg11;
14884 }
14885 return NULL;
14886}
14887
14888
c370783e 14889static PyObject *_wrap_Slider_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14890 PyObject *resultobj;
14891 wxSlider *arg1 = (wxSlider *) 0 ;
14892 int result;
14893 PyObject * obj0 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "self", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
14899 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14900 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14901 {
14902 PyThreadState* __tstate = wxPyBeginAllowThreads();
14903 result = (int)((wxSlider const *)arg1)->GetValue();
14904
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
36ed4f51
RD
14908 {
14909 resultobj = SWIG_From_int((int)(result));
14910 }
d55e5bfc
RD
14911 return resultobj;
14912 fail:
14913 return NULL;
14914}
14915
14916
c370783e 14917static PyObject *_wrap_Slider_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14918 PyObject *resultobj;
14919 wxSlider *arg1 = (wxSlider *) 0 ;
14920 int arg2 ;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
14923 char *kwnames[] = {
14924 (char *) "self",(char *) "value", NULL
14925 };
14926
14927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
14928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14929 if (SWIG_arg_fail(1)) SWIG_fail;
14930 {
14931 arg2 = (int)(SWIG_As_int(obj1));
14932 if (SWIG_arg_fail(2)) SWIG_fail;
14933 }
d55e5bfc
RD
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 (arg1)->SetValue(arg2);
14937
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 Py_INCREF(Py_None); resultobj = Py_None;
14942 return resultobj;
14943 fail:
14944 return NULL;
14945}
14946
14947
c370783e 14948static PyObject *_wrap_Slider_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14949 PyObject *resultobj;
14950 wxSlider *arg1 = (wxSlider *) 0 ;
14951 int arg2 ;
14952 int arg3 ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 PyObject * obj2 = 0 ;
14956 char *kwnames[] = {
14957 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
14961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14962 if (SWIG_arg_fail(1)) SWIG_fail;
14963 {
14964 arg2 = (int)(SWIG_As_int(obj1));
14965 if (SWIG_arg_fail(2)) SWIG_fail;
14966 }
14967 {
14968 arg3 = (int)(SWIG_As_int(obj2));
14969 if (SWIG_arg_fail(3)) SWIG_fail;
14970 }
d55e5bfc
RD
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 (arg1)->SetRange(arg2,arg3);
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 Py_INCREF(Py_None); resultobj = Py_None;
14979 return resultobj;
14980 fail:
14981 return NULL;
14982}
14983
14984
c370783e 14985static PyObject *_wrap_Slider_GetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
14986 PyObject *resultobj;
14987 wxSlider *arg1 = (wxSlider *) 0 ;
14988 int result;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
14995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
14996 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (int)((wxSlider const *)arg1)->GetMin();
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
36ed4f51
RD
15004 {
15005 resultobj = SWIG_From_int((int)(result));
15006 }
d55e5bfc
RD
15007 return resultobj;
15008 fail:
15009 return NULL;
15010}
15011
15012
c370783e 15013static PyObject *_wrap_Slider_GetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15014 PyObject *resultobj;
15015 wxSlider *arg1 = (wxSlider *) 0 ;
15016 int result;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
36ed4f51
RD
15023 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15024 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = (int)((wxSlider const *)arg1)->GetMax();
15028
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
36ed4f51
RD
15032 {
15033 resultobj = SWIG_From_int((int)(result));
15034 }
d55e5bfc
RD
15035 return resultobj;
15036 fail:
15037 return NULL;
15038}
15039
15040
c370783e 15041static PyObject *_wrap_Slider_SetMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15042 PyObject *resultobj;
15043 wxSlider *arg1 = (wxSlider *) 0 ;
15044 int arg2 ;
15045 PyObject * obj0 = 0 ;
15046 PyObject * obj1 = 0 ;
15047 char *kwnames[] = {
15048 (char *) "self",(char *) "minValue", NULL
15049 };
15050
15051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15052 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15053 if (SWIG_arg_fail(1)) SWIG_fail;
15054 {
15055 arg2 = (int)(SWIG_As_int(obj1));
15056 if (SWIG_arg_fail(2)) SWIG_fail;
15057 }
d55e5bfc
RD
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 (arg1)->SetMin(arg2);
15061
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 Py_INCREF(Py_None); resultobj = Py_None;
15066 return resultobj;
15067 fail:
15068 return NULL;
15069}
15070
15071
c370783e 15072static PyObject *_wrap_Slider_SetMax(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15073 PyObject *resultobj;
15074 wxSlider *arg1 = (wxSlider *) 0 ;
15075 int arg2 ;
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self",(char *) "maxValue", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail;
15085 {
15086 arg2 = (int)(SWIG_As_int(obj1));
15087 if (SWIG_arg_fail(2)) SWIG_fail;
15088 }
d55e5bfc
RD
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 (arg1)->SetMax(arg2);
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 Py_INCREF(Py_None); resultobj = Py_None;
15097 return resultobj;
15098 fail:
15099 return NULL;
15100}
15101
15102
c370783e 15103static PyObject *_wrap_Slider_SetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15104 PyObject *resultobj;
15105 wxSlider *arg1 = (wxSlider *) 0 ;
15106 int arg2 ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 char *kwnames[] = {
15110 (char *) "self",(char *) "lineSize", NULL
15111 };
15112
15113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15115 if (SWIG_arg_fail(1)) SWIG_fail;
15116 {
15117 arg2 = (int)(SWIG_As_int(obj1));
15118 if (SWIG_arg_fail(2)) SWIG_fail;
15119 }
d55e5bfc
RD
15120 {
15121 PyThreadState* __tstate = wxPyBeginAllowThreads();
15122 (arg1)->SetLineSize(arg2);
15123
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 Py_INCREF(Py_None); resultobj = Py_None;
15128 return resultobj;
15129 fail:
15130 return NULL;
15131}
15132
15133
c370783e 15134static PyObject *_wrap_Slider_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15135 PyObject *resultobj;
15136 wxSlider *arg1 = (wxSlider *) 0 ;
15137 int arg2 ;
15138 PyObject * obj0 = 0 ;
15139 PyObject * obj1 = 0 ;
15140 char *kwnames[] = {
15141 (char *) "self",(char *) "pageSize", NULL
15142 };
15143
15144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15145 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15146 if (SWIG_arg_fail(1)) SWIG_fail;
15147 {
15148 arg2 = (int)(SWIG_As_int(obj1));
15149 if (SWIG_arg_fail(2)) SWIG_fail;
15150 }
d55e5bfc
RD
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 (arg1)->SetPageSize(arg2);
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 Py_INCREF(Py_None); resultobj = Py_None;
15159 return resultobj;
15160 fail:
15161 return NULL;
15162}
15163
15164
c370783e 15165static PyObject *_wrap_Slider_GetLineSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15166 PyObject *resultobj;
15167 wxSlider *arg1 = (wxSlider *) 0 ;
15168 int result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15175 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15176 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (int)((wxSlider const *)arg1)->GetLineSize();
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
36ed4f51
RD
15184 {
15185 resultobj = SWIG_From_int((int)(result));
15186 }
d55e5bfc
RD
15187 return resultobj;
15188 fail:
15189 return NULL;
15190}
15191
15192
c370783e 15193static PyObject *_wrap_Slider_GetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15194 PyObject *resultobj;
15195 wxSlider *arg1 = (wxSlider *) 0 ;
15196 int result;
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
15203 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15204 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15205 {
15206 PyThreadState* __tstate = wxPyBeginAllowThreads();
15207 result = (int)((wxSlider const *)arg1)->GetPageSize();
15208
15209 wxPyEndAllowThreads(__tstate);
15210 if (PyErr_Occurred()) SWIG_fail;
15211 }
36ed4f51
RD
15212 {
15213 resultobj = SWIG_From_int((int)(result));
15214 }
d55e5bfc
RD
15215 return resultobj;
15216 fail:
15217 return NULL;
15218}
15219
15220
c370783e 15221static PyObject *_wrap_Slider_SetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15222 PyObject *resultobj;
15223 wxSlider *arg1 = (wxSlider *) 0 ;
15224 int arg2 ;
15225 PyObject * obj0 = 0 ;
15226 PyObject * obj1 = 0 ;
15227 char *kwnames[] = {
15228 (char *) "self",(char *) "lenPixels", NULL
15229 };
15230
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15232 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15233 if (SWIG_arg_fail(1)) SWIG_fail;
15234 {
15235 arg2 = (int)(SWIG_As_int(obj1));
15236 if (SWIG_arg_fail(2)) SWIG_fail;
15237 }
d55e5bfc
RD
15238 {
15239 PyThreadState* __tstate = wxPyBeginAllowThreads();
15240 (arg1)->SetThumbLength(arg2);
15241
15242 wxPyEndAllowThreads(__tstate);
15243 if (PyErr_Occurred()) SWIG_fail;
15244 }
15245 Py_INCREF(Py_None); resultobj = Py_None;
15246 return resultobj;
15247 fail:
15248 return NULL;
15249}
15250
15251
c370783e 15252static PyObject *_wrap_Slider_GetThumbLength(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15253 PyObject *resultobj;
15254 wxSlider *arg1 = (wxSlider *) 0 ;
15255 int result;
15256 PyObject * obj0 = 0 ;
15257 char *kwnames[] = {
15258 (char *) "self", NULL
15259 };
15260
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
36ed4f51
RD
15262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15263 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (int)((wxSlider const *)arg1)->GetThumbLength();
15267
15268 wxPyEndAllowThreads(__tstate);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
36ed4f51
RD
15271 {
15272 resultobj = SWIG_From_int((int)(result));
15273 }
d55e5bfc
RD
15274 return resultobj;
15275 fail:
15276 return NULL;
15277}
15278
15279
c370783e 15280static PyObject *_wrap_Slider_SetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15281 PyObject *resultobj;
15282 wxSlider *arg1 = (wxSlider *) 0 ;
15283 int arg2 ;
15284 int arg3 = (int) 1 ;
15285 PyObject * obj0 = 0 ;
15286 PyObject * obj1 = 0 ;
15287 PyObject * obj2 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self",(char *) "n",(char *) "pos", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail;
15295 {
15296 arg2 = (int)(SWIG_As_int(obj1));
15297 if (SWIG_arg_fail(2)) SWIG_fail;
15298 }
d55e5bfc 15299 if (obj2) {
36ed4f51
RD
15300 {
15301 arg3 = (int)(SWIG_As_int(obj2));
15302 if (SWIG_arg_fail(3)) SWIG_fail;
15303 }
d55e5bfc
RD
15304 }
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 (arg1)->SetTickFreq(arg2,arg3);
15308
15309 wxPyEndAllowThreads(__tstate);
15310 if (PyErr_Occurred()) SWIG_fail;
15311 }
15312 Py_INCREF(Py_None); resultobj = Py_None;
15313 return resultobj;
15314 fail:
15315 return NULL;
15316}
15317
15318
c370783e 15319static PyObject *_wrap_Slider_GetTickFreq(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15320 PyObject *resultobj;
15321 wxSlider *arg1 = (wxSlider *) 0 ;
15322 int result;
15323 PyObject * obj0 = 0 ;
15324 char *kwnames[] = {
15325 (char *) "self", NULL
15326 };
15327
15328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
36ed4f51
RD
15329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15331 {
15332 PyThreadState* __tstate = wxPyBeginAllowThreads();
15333 result = (int)((wxSlider const *)arg1)->GetTickFreq();
15334
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
36ed4f51
RD
15338 {
15339 resultobj = SWIG_From_int((int)(result));
15340 }
d55e5bfc
RD
15341 return resultobj;
15342 fail:
15343 return NULL;
15344}
15345
15346
c370783e 15347static PyObject *_wrap_Slider_ClearTicks(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15348 PyObject *resultobj;
15349 wxSlider *arg1 = (wxSlider *) 0 ;
15350 PyObject * obj0 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
36ed4f51
RD
15356 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15357 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 (arg1)->ClearTicks();
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 Py_INCREF(Py_None); resultobj = Py_None;
15366 return resultobj;
15367 fail:
15368 return NULL;
15369}
15370
15371
c370783e 15372static PyObject *_wrap_Slider_SetTick(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15373 PyObject *resultobj;
15374 wxSlider *arg1 = (wxSlider *) 0 ;
15375 int arg2 ;
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "tickPos", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15384 if (SWIG_arg_fail(1)) SWIG_fail;
15385 {
15386 arg2 = (int)(SWIG_As_int(obj1));
15387 if (SWIG_arg_fail(2)) SWIG_fail;
15388 }
d55e5bfc
RD
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 (arg1)->SetTick(arg2);
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 Py_INCREF(Py_None); resultobj = Py_None;
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
c370783e 15403static PyObject *_wrap_Slider_ClearSel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15404 PyObject *resultobj;
15405 wxSlider *arg1 = (wxSlider *) 0 ;
15406 PyObject * obj0 = 0 ;
15407 char *kwnames[] = {
15408 (char *) "self", NULL
15409 };
15410
15411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
36ed4f51
RD
15412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 (arg1)->ClearSel();
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 Py_INCREF(Py_None); resultobj = Py_None;
15422 return resultobj;
15423 fail:
15424 return NULL;
15425}
15426
15427
c370783e 15428static PyObject *_wrap_Slider_GetSelEnd(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15429 PyObject *resultobj;
15430 wxSlider *arg1 = (wxSlider *) 0 ;
15431 int result;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
36ed4f51
RD
15438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15439 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (int)((wxSlider const *)arg1)->GetSelEnd();
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
36ed4f51
RD
15447 {
15448 resultobj = SWIG_From_int((int)(result));
15449 }
d55e5bfc
RD
15450 return resultobj;
15451 fail:
15452 return NULL;
15453}
15454
15455
c370783e 15456static PyObject *_wrap_Slider_GetSelStart(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15457 PyObject *resultobj;
15458 wxSlider *arg1 = (wxSlider *) 0 ;
15459 int result;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
36ed4f51
RD
15466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15467 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 result = (int)((wxSlider const *)arg1)->GetSelStart();
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
36ed4f51
RD
15475 {
15476 resultobj = SWIG_From_int((int)(result));
15477 }
d55e5bfc
RD
15478 return resultobj;
15479 fail:
15480 return NULL;
15481}
15482
15483
c370783e 15484static PyObject *_wrap_Slider_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15485 PyObject *resultobj;
15486 wxSlider *arg1 = (wxSlider *) 0 ;
15487 int arg2 ;
15488 int arg3 ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 PyObject * obj2 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self",(char *) "min",(char *) "max", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
15497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxSlider, SWIG_POINTER_EXCEPTION | 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail;
15499 {
15500 arg2 = (int)(SWIG_As_int(obj1));
15501 if (SWIG_arg_fail(2)) SWIG_fail;
15502 }
15503 {
15504 arg3 = (int)(SWIG_As_int(obj2));
15505 if (SWIG_arg_fail(3)) SWIG_fail;
15506 }
d55e5bfc
RD
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->SetSelection(arg2,arg3);
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518}
15519
15520
c370783e 15521static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15522 PyObject *resultobj;
36ed4f51 15523 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15524 wxVisualAttributes result;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "variant", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15531 if (obj0) {
36ed4f51
RD
15532 {
15533 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15534 if (SWIG_arg_fail(1)) SWIG_fail;
15535 }
f20a2e1f
RD
15536 }
15537 {
0439c23b 15538 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
15541
15542 wxPyEndAllowThreads(__tstate);
110da5b0 15543 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15544 }
15545 {
15546 wxVisualAttributes * resultptr;
36ed4f51 15547 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15549 }
15550 return resultobj;
15551 fail:
15552 return NULL;
15553}
15554
15555
c370783e 15556static PyObject * Slider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15557 PyObject *obj;
15558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15559 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
15560 Py_INCREF(obj);
15561 return Py_BuildValue((char *)"");
15562}
c370783e 15563static int _wrap_ToggleButtonNameStr_set(PyObject *) {
d55e5bfc
RD
15564 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
15565 return 1;
15566}
15567
15568
36ed4f51 15569static PyObject *_wrap_ToggleButtonNameStr_get(void) {
d55e5bfc
RD
15570 PyObject *pyobj;
15571
15572 {
15573#if wxUSE_UNICODE
15574 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15575#else
15576 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
15577#endif
15578 }
15579 return pyobj;
15580}
15581
15582
c370783e 15583static PyObject *_wrap_new_ToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15584 PyObject *resultobj;
15585 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
15586 int arg2 = (int) -1 ;
15587 wxString const &arg3_defvalue = wxPyEmptyString ;
15588 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
15589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15591 wxSize const &arg5_defvalue = wxDefaultSize ;
15592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15593 long arg6 = (long) 0 ;
15594 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15595 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15596 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
15597 wxString *arg8 = (wxString *) &arg8_defvalue ;
15598 wxToggleButton *result;
b411df4a 15599 bool temp3 = false ;
d55e5bfc
RD
15600 wxPoint temp4 ;
15601 wxSize temp5 ;
b411df4a 15602 bool temp8 = false ;
d55e5bfc
RD
15603 PyObject * obj0 = 0 ;
15604 PyObject * obj1 = 0 ;
15605 PyObject * obj2 = 0 ;
15606 PyObject * obj3 = 0 ;
15607 PyObject * obj4 = 0 ;
15608 PyObject * obj5 = 0 ;
15609 PyObject * obj6 = 0 ;
15610 PyObject * obj7 = 0 ;
15611 char *kwnames[] = {
15612 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15613 };
15614
bfddbb17 15615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
15616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 15618 if (obj1) {
36ed4f51
RD
15619 {
15620 arg2 = (int)(SWIG_As_int(obj1));
15621 if (SWIG_arg_fail(2)) SWIG_fail;
15622 }
bfddbb17
RD
15623 }
15624 if (obj2) {
15625 {
15626 arg3 = wxString_in_helper(obj2);
15627 if (arg3 == NULL) SWIG_fail;
b411df4a 15628 temp3 = true;
bfddbb17 15629 }
d55e5bfc
RD
15630 }
15631 if (obj3) {
15632 {
15633 arg4 = &temp4;
15634 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15635 }
15636 }
15637 if (obj4) {
15638 {
15639 arg5 = &temp5;
15640 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15641 }
15642 }
15643 if (obj5) {
36ed4f51
RD
15644 {
15645 arg6 = (long)(SWIG_As_long(obj5));
15646 if (SWIG_arg_fail(6)) SWIG_fail;
15647 }
d55e5bfc
RD
15648 }
15649 if (obj6) {
36ed4f51
RD
15650 {
15651 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15652 if (SWIG_arg_fail(7)) SWIG_fail;
15653 if (arg7 == NULL) {
15654 SWIG_null_ref("wxValidator");
15655 }
15656 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
15657 }
15658 }
15659 if (obj7) {
15660 {
15661 arg8 = wxString_in_helper(obj7);
15662 if (arg8 == NULL) SWIG_fail;
b411df4a 15663 temp8 = true;
d55e5bfc
RD
15664 }
15665 }
15666 {
0439c23b 15667 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15670
15671 wxPyEndAllowThreads(__tstate);
110da5b0 15672 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15673 }
15674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15675 {
15676 if (temp3)
15677 delete arg3;
15678 }
15679 {
15680 if (temp8)
15681 delete arg8;
15682 }
15683 return resultobj;
15684 fail:
15685 {
15686 if (temp3)
15687 delete arg3;
15688 }
15689 {
15690 if (temp8)
15691 delete arg8;
15692 }
15693 return NULL;
15694}
15695
15696
c370783e 15697static PyObject *_wrap_new_PreToggleButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
15698 PyObject *resultobj;
15699 wxToggleButton *result;
15700 char *kwnames[] = {
15701 NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
15705 {
0439c23b 15706 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 result = (wxToggleButton *)new wxToggleButton();
15709
15710 wxPyEndAllowThreads(__tstate);
110da5b0 15711 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15712 }
15713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
15714 return resultobj;
15715 fail:
15716 return NULL;
15717}
15718
15719
c370783e 15720static PyObject *_wrap_ToggleButton_Create(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15721 PyObject *resultobj;
15722 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15723 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17
RD
15724 int arg3 = (int) -1 ;
15725 wxString const &arg4_defvalue = wxPyEmptyString ;
15726 wxString *arg4 = (wxString *) &arg4_defvalue ;
121b9a67
RD
15727 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15728 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15729 wxSize const &arg6_defvalue = wxDefaultSize ;
15730 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15731 long arg7 = (long) 0 ;
15732 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15733 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15734 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
15735 wxString *arg9 = (wxString *) &arg9_defvalue ;
15736 bool result;
b411df4a 15737 bool temp4 = false ;
121b9a67
RD
15738 wxPoint temp5 ;
15739 wxSize temp6 ;
b411df4a 15740 bool temp9 = false ;
121b9a67
RD
15741 PyObject * obj0 = 0 ;
15742 PyObject * obj1 = 0 ;
15743 PyObject * obj2 = 0 ;
15744 PyObject * obj3 = 0 ;
15745 PyObject * obj4 = 0 ;
15746 PyObject * obj5 = 0 ;
15747 PyObject * obj6 = 0 ;
15748 PyObject * obj7 = 0 ;
15749 PyObject * obj8 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
15752 };
15753
bfddbb17 15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
15755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15756 if (SWIG_arg_fail(1)) SWIG_fail;
15757 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
15758 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 15759 if (obj2) {
36ed4f51
RD
15760 {
15761 arg3 = (int)(SWIG_As_int(obj2));
15762 if (SWIG_arg_fail(3)) SWIG_fail;
15763 }
bfddbb17
RD
15764 }
15765 if (obj3) {
15766 {
15767 arg4 = wxString_in_helper(obj3);
15768 if (arg4 == NULL) SWIG_fail;
b411df4a 15769 temp4 = true;
bfddbb17 15770 }
121b9a67
RD
15771 }
15772 if (obj4) {
15773 {
15774 arg5 = &temp5;
15775 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
15776 }
15777 }
15778 if (obj5) {
15779 {
15780 arg6 = &temp6;
15781 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
15782 }
15783 }
15784 if (obj6) {
36ed4f51
RD
15785 {
15786 arg7 = (long)(SWIG_As_long(obj6));
15787 if (SWIG_arg_fail(7)) SWIG_fail;
15788 }
121b9a67
RD
15789 }
15790 if (obj7) {
36ed4f51
RD
15791 {
15792 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
15793 if (SWIG_arg_fail(8)) SWIG_fail;
15794 if (arg8 == NULL) {
15795 SWIG_null_ref("wxValidator");
15796 }
15797 if (SWIG_arg_fail(8)) SWIG_fail;
121b9a67
RD
15798 }
15799 }
15800 if (obj8) {
15801 {
15802 arg9 = wxString_in_helper(obj8);
15803 if (arg9 == NULL) SWIG_fail;
b411df4a 15804 temp9 = true;
121b9a67
RD
15805 }
15806 }
15807 {
15808 PyThreadState* __tstate = wxPyBeginAllowThreads();
15809 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
15810
15811 wxPyEndAllowThreads(__tstate);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 {
15815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15816 }
15817 {
15818 if (temp4)
15819 delete arg4;
15820 }
15821 {
15822 if (temp9)
15823 delete arg9;
15824 }
15825 return resultobj;
15826 fail:
15827 {
15828 if (temp4)
15829 delete arg4;
15830 }
15831 {
15832 if (temp9)
15833 delete arg9;
15834 }
15835 return NULL;
15836}
15837
15838
c370783e 15839static PyObject *_wrap_ToggleButton_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15840 PyObject *resultobj;
15841 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15842 bool arg2 ;
15843 PyObject * obj0 = 0 ;
15844 PyObject * obj1 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "self",(char *) "value", NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15851 if (SWIG_arg_fail(1)) SWIG_fail;
15852 {
15853 arg2 = (bool)(SWIG_As_bool(obj1));
15854 if (SWIG_arg_fail(2)) SWIG_fail;
15855 }
121b9a67
RD
15856 {
15857 PyThreadState* __tstate = wxPyBeginAllowThreads();
15858 (arg1)->SetValue(arg2);
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 Py_INCREF(Py_None); resultobj = Py_None;
15864 return resultobj;
15865 fail:
15866 return NULL;
15867}
15868
15869
c370783e 15870static PyObject *_wrap_ToggleButton_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15871 PyObject *resultobj;
15872 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15873 bool result;
15874 PyObject * obj0 = 0 ;
15875 char *kwnames[] = {
15876 (char *) "self", NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
15880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15881 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
15882 {
15883 PyThreadState* __tstate = wxPyBeginAllowThreads();
15884 result = (bool)((wxToggleButton const *)arg1)->GetValue();
15885
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 {
15890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15891 }
15892 return resultobj;
15893 fail:
15894 return NULL;
15895}
15896
15897
c370783e 15898static PyObject *_wrap_ToggleButton_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
121b9a67
RD
15899 PyObject *resultobj;
15900 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
15901 wxString *arg2 = 0 ;
b411df4a 15902 bool temp2 = false ;
121b9a67
RD
15903 PyObject * obj0 = 0 ;
15904 PyObject * obj1 = 0 ;
15905 char *kwnames[] = {
15906 (char *) "self",(char *) "label", NULL
15907 };
15908
15909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
15910 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToggleButton, SWIG_POINTER_EXCEPTION | 0);
15911 if (SWIG_arg_fail(1)) SWIG_fail;
121b9a67
RD
15912 {
15913 arg2 = wxString_in_helper(obj1);
15914 if (arg2 == NULL) SWIG_fail;
b411df4a 15915 temp2 = true;
121b9a67
RD
15916 }
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 (arg1)->SetLabel((wxString const &)*arg2);
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 Py_INCREF(Py_None); resultobj = Py_None;
15925 {
15926 if (temp2)
15927 delete arg2;
15928 }
15929 return resultobj;
15930 fail:
15931 {
15932 if (temp2)
15933 delete arg2;
15934 }
15935 return NULL;
15936}
15937
15938
c370783e 15939static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 15940 PyObject *resultobj;
36ed4f51 15941 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
15942 wxVisualAttributes result;
15943 PyObject * obj0 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "variant", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15949 if (obj0) {
36ed4f51
RD
15950 {
15951 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
15952 if (SWIG_arg_fail(1)) SWIG_fail;
15953 }
f20a2e1f
RD
15954 }
15955 {
0439c23b 15956 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
15959
15960 wxPyEndAllowThreads(__tstate);
110da5b0 15961 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15962 }
15963 {
15964 wxVisualAttributes * resultptr;
36ed4f51 15965 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
15966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15967 }
15968 return resultobj;
15969 fail:
15970 return NULL;
15971}
15972
15973
c370783e 15974static PyObject * ToggleButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
15975 PyObject *obj;
15976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15977 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
15978 Py_INCREF(obj);
15979 return Py_BuildValue((char *)"");
15980}
51b83b37
RD
15981static int _wrap_NotebookNameStr_set(PyObject *) {
15982 PyErr_SetString(PyExc_TypeError,"Variable NotebookNameStr is read-only.");
d55e5bfc
RD
15983 return 1;
15984}
15985
15986
51b83b37 15987static PyObject *_wrap_NotebookNameStr_get(void) {
d55e5bfc
RD
15988 PyObject *pyobj;
15989
15990 {
15991#if wxUSE_UNICODE
51b83b37 15992 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 15993#else
51b83b37 15994 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc
RD
15995#endif
15996 }
15997 return pyobj;
15998}
15999
16000
6e0de3df 16001static PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16002 PyObject *resultobj;
6e0de3df 16003 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16004 size_t result;
16005 PyObject * obj0 = 0 ;
16006 char *kwnames[] = {
16007 (char *) "self", NULL
16008 };
16009
6e0de3df 16010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetPageCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
16011 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16015 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
d55e5bfc
RD
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
36ed4f51
RD
16020 {
16021 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
16022 }
d55e5bfc
RD
16023 return resultobj;
16024 fail:
16025 return NULL;
16026}
16027
16028
6e0de3df 16029static PyObject *_wrap_BookCtrlBase_GetPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16030 PyObject *resultobj;
6e0de3df 16031 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16032 size_t arg2 ;
16033 wxWindow *result;
16034 PyObject * obj0 = 0 ;
16035 PyObject * obj1 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self",(char *) "n", NULL
16038 };
16039
6e0de3df 16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail;
16043 {
16044 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16045 if (SWIG_arg_fail(2)) SWIG_fail;
16046 }
d55e5bfc
RD
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (wxWindow *)(arg1)->GetPage(arg2);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 {
412d302d 16055 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16056 }
16057 return resultobj;
16058 fail:
16059 return NULL;
16060}
16061
16062
6e0de3df 16063static PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *, PyObject *args, PyObject *kwargs) {
8fb0e70a 16064 PyObject *resultobj;
6e0de3df 16065 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
8fb0e70a
RD
16066 wxWindow *result;
16067 PyObject * obj0 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self", NULL
16070 };
16071
6e0de3df 16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
16073 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16074 if (SWIG_arg_fail(1)) SWIG_fail;
8fb0e70a
RD
16075 {
16076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16077 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
8fb0e70a
RD
16078
16079 wxPyEndAllowThreads(__tstate);
16080 if (PyErr_Occurred()) SWIG_fail;
16081 }
16082 {
16083 resultobj = wxPyMake_wxObject(result, 0);
16084 }
16085 return resultobj;
16086 fail:
16087 return NULL;
16088}
16089
16090
6e0de3df 16091static PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16092 PyObject *resultobj;
6e0de3df 16093 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16094 int result;
16095 PyObject * obj0 = 0 ;
16096 char *kwnames[] = {
16097 (char *) "self", NULL
16098 };
16099
6e0de3df 16100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16102 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16103 {
16104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16105 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
d55e5bfc
RD
16106
16107 wxPyEndAllowThreads(__tstate);
16108 if (PyErr_Occurred()) SWIG_fail;
16109 }
36ed4f51
RD
16110 {
16111 resultobj = SWIG_From_int((int)(result));
16112 }
d55e5bfc
RD
16113 return resultobj;
16114 fail:
16115 return NULL;
16116}
16117
16118
6e0de3df 16119static PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16120 PyObject *resultobj;
6e0de3df 16121 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16122 size_t arg2 ;
16123 wxString *arg3 = 0 ;
16124 bool result;
b411df4a 16125 bool temp3 = false ;
d55e5bfc
RD
16126 PyObject * obj0 = 0 ;
16127 PyObject * obj1 = 0 ;
16128 PyObject * obj2 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self",(char *) "n",(char *) "strText", NULL
16131 };
16132
6e0de3df 16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16135 if (SWIG_arg_fail(1)) SWIG_fail;
16136 {
16137 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16138 if (SWIG_arg_fail(2)) SWIG_fail;
16139 }
d55e5bfc
RD
16140 {
16141 arg3 = wxString_in_helper(obj2);
16142 if (arg3 == NULL) SWIG_fail;
b411df4a 16143 temp3 = true;
d55e5bfc
RD
16144 }
16145 {
16146 PyThreadState* __tstate = wxPyBeginAllowThreads();
16147 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
16148
16149 wxPyEndAllowThreads(__tstate);
16150 if (PyErr_Occurred()) SWIG_fail;
16151 }
16152 {
16153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16154 }
16155 {
16156 if (temp3)
16157 delete arg3;
16158 }
16159 return resultobj;
16160 fail:
16161 {
16162 if (temp3)
16163 delete arg3;
16164 }
16165 return NULL;
16166}
16167
16168
6e0de3df 16169static PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16170 PyObject *resultobj;
6e0de3df 16171 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16172 size_t arg2 ;
16173 wxString result;
16174 PyObject * obj0 = 0 ;
16175 PyObject * obj1 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self",(char *) "n", NULL
16178 };
16179
6e0de3df 16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail;
16183 {
16184 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16185 if (SWIG_arg_fail(2)) SWIG_fail;
16186 }
d55e5bfc
RD
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16189 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
d55e5bfc
RD
16190
16191 wxPyEndAllowThreads(__tstate);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 {
16195#if wxUSE_UNICODE
16196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16197#else
16198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16199#endif
16200 }
16201 return resultobj;
16202 fail:
16203 return NULL;
16204}
16205
16206
6e0de3df 16207static PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16208 PyObject *resultobj;
6e0de3df 16209 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16210 wxImageList *arg2 = (wxImageList *) 0 ;
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
16213 char *kwnames[] = {
16214 (char *) "self",(char *) "imageList", NULL
16215 };
16216
6e0de3df 16217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16219 if (SWIG_arg_fail(1)) SWIG_fail;
16220 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
16221 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16222 {
16223 PyThreadState* __tstate = wxPyBeginAllowThreads();
16224 (arg1)->SetImageList(arg2);
16225
16226 wxPyEndAllowThreads(__tstate);
16227 if (PyErr_Occurred()) SWIG_fail;
16228 }
16229 Py_INCREF(Py_None); resultobj = Py_None;
16230 return resultobj;
16231 fail:
16232 return NULL;
16233}
16234
16235
6e0de3df 16236static PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16237 PyObject *resultobj;
6e0de3df 16238 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16239 wxImageList *arg2 = (wxImageList *) 0 ;
16240 PyObject * obj0 = 0 ;
16241 PyObject * obj1 = 0 ;
16242 char *kwnames[] = {
16243 (char *) "self",(char *) "imageList", NULL
16244 };
16245
6e0de3df 16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16248 if (SWIG_arg_fail(1)) SWIG_fail;
16249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
16250 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 (arg1)->AssignImageList(arg2);
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 Py_INCREF(Py_None); resultobj = Py_None;
16259 return resultobj;
16260 fail:
16261 return NULL;
16262}
16263
16264
6e0de3df 16265static PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16266 PyObject *resultobj;
6e0de3df 16267 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16268 wxImageList *result;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self", NULL
16272 };
16273
6e0de3df 16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
16275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16276 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16277 {
16278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16279 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
d55e5bfc
RD
16280
16281 wxPyEndAllowThreads(__tstate);
16282 if (PyErr_Occurred()) SWIG_fail;
16283 }
16284 {
412d302d 16285 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
16286 }
16287 return resultobj;
16288 fail:
16289 return NULL;
16290}
16291
16292
6e0de3df 16293static PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16294 PyObject *resultobj;
6e0de3df 16295 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16296 size_t arg2 ;
16297 int result;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self",(char *) "n", NULL
16302 };
16303
6e0de3df 16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16306 if (SWIG_arg_fail(1)) SWIG_fail;
16307 {
16308 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16309 if (SWIG_arg_fail(2)) SWIG_fail;
16310 }
d55e5bfc
RD
16311 {
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16313 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
d55e5bfc
RD
16314
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
36ed4f51
RD
16318 {
16319 resultobj = SWIG_From_int((int)(result));
16320 }
d55e5bfc
RD
16321 return resultobj;
16322 fail:
16323 return NULL;
16324}
16325
16326
6e0de3df 16327static PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16328 PyObject *resultobj;
6e0de3df 16329 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16330 size_t arg2 ;
16331 int arg3 ;
16332 bool result;
16333 PyObject * obj0 = 0 ;
16334 PyObject * obj1 = 0 ;
16335 PyObject * obj2 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "n",(char *) "imageId", NULL
16338 };
16339
6e0de3df 16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
16341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16342 if (SWIG_arg_fail(1)) SWIG_fail;
16343 {
16344 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16345 if (SWIG_arg_fail(2)) SWIG_fail;
16346 }
16347 {
16348 arg3 = (int)(SWIG_As_int(obj2));
16349 if (SWIG_arg_fail(3)) SWIG_fail;
16350 }
d55e5bfc
RD
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (bool)(arg1)->SetPageImage(arg2,arg3);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 {
16359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16360 }
16361 return resultobj;
16362 fail:
16363 return NULL;
16364}
16365
16366
6e0de3df 16367static PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16368 PyObject *resultobj;
6e0de3df 16369 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16370 wxSize *arg2 = 0 ;
16371 wxSize temp2 ;
16372 PyObject * obj0 = 0 ;
16373 PyObject * obj1 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self",(char *) "size", NULL
16376 };
16377
6e0de3df 16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16379 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16381 {
16382 arg2 = &temp2;
16383 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16384 }
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 (arg1)->SetPageSize((wxSize const &)*arg2);
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 Py_INCREF(Py_None); resultobj = Py_None;
16393 return resultobj;
16394 fail:
16395 return NULL;
16396}
16397
16398
6e0de3df 16399static PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16400 PyObject *resultobj;
6e0de3df 16401 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16402 wxSize *arg2 = 0 ;
16403 wxSize result;
16404 wxSize temp2 ;
16405 PyObject * obj0 = 0 ;
16406 PyObject * obj1 = 0 ;
16407 char *kwnames[] = {
16408 (char *) "self",(char *) "sizePage", NULL
16409 };
16410
6e0de3df 16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16412 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16414 {
16415 arg2 = &temp2;
16416 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16417 }
16418 {
16419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16420 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
d55e5bfc
RD
16421
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 {
16426 wxSize * resultptr;
36ed4f51 16427 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
16428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16429 }
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
6e0de3df 16436static PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16437 PyObject *resultobj;
6e0de3df 16438 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16439 size_t arg2 ;
16440 bool result;
16441 PyObject * obj0 = 0 ;
16442 PyObject * obj1 = 0 ;
16443 char *kwnames[] = {
16444 (char *) "self",(char *) "n", NULL
16445 };
16446
6e0de3df 16447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16448 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16449 if (SWIG_arg_fail(1)) SWIG_fail;
16450 {
16451 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16452 if (SWIG_arg_fail(2)) SWIG_fail;
16453 }
d55e5bfc
RD
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 result = (bool)(arg1)->DeletePage(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 {
16462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16463 }
16464 return resultobj;
16465 fail:
16466 return NULL;
16467}
16468
16469
6e0de3df 16470static PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16471 PyObject *resultobj;
6e0de3df 16472 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16473 size_t arg2 ;
16474 bool result;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self",(char *) "n", NULL
16479 };
16480
6e0de3df 16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16483 if (SWIG_arg_fail(1)) SWIG_fail;
16484 {
16485 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16486 if (SWIG_arg_fail(2)) SWIG_fail;
16487 }
d55e5bfc
RD
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (bool)(arg1)->RemovePage(arg2);
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16497 }
16498 return resultobj;
16499 fail:
16500 return NULL;
16501}
16502
16503
6e0de3df 16504static PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16505 PyObject *resultobj;
6e0de3df 16506 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16507 bool result;
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
6e0de3df 16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
16514 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16515 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (bool)(arg1)->DeleteAllPages();
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16525 }
16526 return resultobj;
16527 fail:
16528 return NULL;
16529}
16530
16531
6e0de3df 16532static PyObject *_wrap_BookCtrlBase_AddPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16533 PyObject *resultobj;
6e0de3df 16534 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16535 wxWindow *arg2 = (wxWindow *) 0 ;
16536 wxString *arg3 = 0 ;
b411df4a 16537 bool arg4 = (bool) false ;
d55e5bfc
RD
16538 int arg5 = (int) -1 ;
16539 bool result;
b411df4a 16540 bool temp3 = false ;
d55e5bfc
RD
16541 PyObject * obj0 = 0 ;
16542 PyObject * obj1 = 0 ;
16543 PyObject * obj2 = 0 ;
16544 PyObject * obj3 = 0 ;
16545 PyObject * obj4 = 0 ;
16546 char *kwnames[] = {
16547 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16548 };
16549
6e0de3df 16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
16551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16552 if (SWIG_arg_fail(1)) SWIG_fail;
16553 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16554 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
16555 {
16556 arg3 = wxString_in_helper(obj2);
16557 if (arg3 == NULL) SWIG_fail;
b411df4a 16558 temp3 = true;
d55e5bfc
RD
16559 }
16560 if (obj3) {
36ed4f51
RD
16561 {
16562 arg4 = (bool)(SWIG_As_bool(obj3));
16563 if (SWIG_arg_fail(4)) SWIG_fail;
16564 }
d55e5bfc
RD
16565 }
16566 if (obj4) {
36ed4f51
RD
16567 {
16568 arg5 = (int)(SWIG_As_int(obj4));
16569 if (SWIG_arg_fail(5)) SWIG_fail;
16570 }
d55e5bfc
RD
16571 }
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 {
16580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16581 }
16582 {
16583 if (temp3)
16584 delete arg3;
16585 }
16586 return resultobj;
16587 fail:
16588 {
16589 if (temp3)
16590 delete arg3;
16591 }
16592 return NULL;
16593}
16594
16595
6e0de3df 16596static PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16597 PyObject *resultobj;
6e0de3df 16598 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16599 size_t arg2 ;
16600 wxWindow *arg3 = (wxWindow *) 0 ;
16601 wxString *arg4 = 0 ;
b411df4a 16602 bool arg5 = (bool) false ;
d55e5bfc
RD
16603 int arg6 = (int) -1 ;
16604 bool result;
b411df4a 16605 bool temp4 = false ;
d55e5bfc
RD
16606 PyObject * obj0 = 0 ;
16607 PyObject * obj1 = 0 ;
16608 PyObject * obj2 = 0 ;
16609 PyObject * obj3 = 0 ;
16610 PyObject * obj4 = 0 ;
16611 PyObject * obj5 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
16614 };
16615
6e0de3df 16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16618 if (SWIG_arg_fail(1)) SWIG_fail;
16619 {
16620 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16621 if (SWIG_arg_fail(2)) SWIG_fail;
16622 }
16623 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16624 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
16625 {
16626 arg4 = wxString_in_helper(obj3);
16627 if (arg4 == NULL) SWIG_fail;
b411df4a 16628 temp4 = true;
d55e5bfc
RD
16629 }
16630 if (obj4) {
36ed4f51
RD
16631 {
16632 arg5 = (bool)(SWIG_As_bool(obj4));
16633 if (SWIG_arg_fail(5)) SWIG_fail;
16634 }
d55e5bfc
RD
16635 }
16636 if (obj5) {
36ed4f51
RD
16637 {
16638 arg6 = (int)(SWIG_As_int(obj5));
16639 if (SWIG_arg_fail(6)) SWIG_fail;
16640 }
d55e5bfc
RD
16641 }
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 {
16650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16651 }
16652 {
16653 if (temp4)
16654 delete arg4;
16655 }
16656 return resultobj;
16657 fail:
16658 {
16659 if (temp4)
16660 delete arg4;
16661 }
16662 return NULL;
16663}
16664
16665
6e0de3df 16666static PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16667 PyObject *resultobj;
6e0de3df 16668 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
16669 size_t arg2 ;
16670 int result;
16671 PyObject * obj0 = 0 ;
16672 PyObject * obj1 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self",(char *) "n", NULL
16675 };
16676
6e0de3df 16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16679 if (SWIG_arg_fail(1)) SWIG_fail;
16680 {
16681 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
16682 if (SWIG_arg_fail(2)) SWIG_fail;
16683 }
d55e5bfc
RD
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = (int)(arg1)->SetSelection(arg2);
16687
16688 wxPyEndAllowThreads(__tstate);
16689 if (PyErr_Occurred()) SWIG_fail;
16690 }
36ed4f51
RD
16691 {
16692 resultobj = SWIG_From_int((int)(result));
16693 }
d55e5bfc
RD
16694 return resultobj;
16695 fail:
16696 return NULL;
16697}
16698
16699
6e0de3df 16700static PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16701 PyObject *resultobj;
6e0de3df 16702 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
b411df4a 16703 bool arg2 = (bool) true ;
d55e5bfc
RD
16704 PyObject * obj0 = 0 ;
16705 PyObject * obj1 = 0 ;
16706 char *kwnames[] = {
16707 (char *) "self",(char *) "forward", NULL
16708 };
16709
6e0de3df 16710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
16712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16713 if (obj1) {
36ed4f51
RD
16714 {
16715 arg2 = (bool)(SWIG_As_bool(obj1));
16716 if (SWIG_arg_fail(2)) SWIG_fail;
16717 }
d55e5bfc
RD
16718 }
16719 {
16720 PyThreadState* __tstate = wxPyBeginAllowThreads();
16721 (arg1)->AdvanceSelection(arg2);
16722
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 Py_INCREF(Py_None); resultobj = Py_None;
16727 return resultobj;
16728 fail:
16729 return NULL;
16730}
16731
16732
6e0de3df 16733static PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 16734 PyObject *resultobj;
36ed4f51 16735 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
16736 wxVisualAttributes result;
16737 PyObject * obj0 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "variant", NULL
16740 };
16741
6e0de3df 16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
f20a2e1f 16743 if (obj0) {
36ed4f51
RD
16744 {
16745 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
16746 if (SWIG_arg_fail(1)) SWIG_fail;
16747 }
f20a2e1f
RD
16748 }
16749 {
0439c23b 16750 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f 16751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16752 result = wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant )arg1);
f20a2e1f
RD
16753
16754 wxPyEndAllowThreads(__tstate);
110da5b0 16755 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
16756 }
16757 {
16758 wxVisualAttributes * resultptr;
36ed4f51 16759 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
16760 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
16761 }
16762 return resultobj;
16763 fail:
16764 return NULL;
16765}
16766
16767
6e0de3df 16768static PyObject * BookCtrlBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16769 PyObject *obj;
16770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16771 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase, obj);
d55e5bfc
RD
16772 Py_INCREF(obj);
16773 return Py_BuildValue((char *)"");
16774}
6e0de3df 16775static PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16776 PyObject *resultobj;
16777 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16778 int arg2 = (int) 0 ;
16779 int arg3 = (int) -1 ;
16780 int arg4 = (int) -1 ;
6e0de3df 16781 wxBookCtrlBaseEvent *result;
d55e5bfc
RD
16782 PyObject * obj0 = 0 ;
16783 PyObject * obj1 = 0 ;
16784 PyObject * obj2 = 0 ;
16785 PyObject * obj3 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16788 };
16789
6e0de3df 16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d55e5bfc 16791 if (obj0) {
36ed4f51
RD
16792 {
16793 arg1 = (wxEventType)(SWIG_As_int(obj0));
16794 if (SWIG_arg_fail(1)) SWIG_fail;
16795 }
d55e5bfc
RD
16796 }
16797 if (obj1) {
36ed4f51
RD
16798 {
16799 arg2 = (int)(SWIG_As_int(obj1));
16800 if (SWIG_arg_fail(2)) SWIG_fail;
16801 }
d55e5bfc
RD
16802 }
16803 if (obj2) {
36ed4f51
RD
16804 {
16805 arg3 = (int)(SWIG_As_int(obj2));
16806 if (SWIG_arg_fail(3)) SWIG_fail;
16807 }
d55e5bfc
RD
16808 }
16809 if (obj3) {
36ed4f51
RD
16810 {
16811 arg4 = (int)(SWIG_As_int(obj3));
16812 if (SWIG_arg_fail(4)) SWIG_fail;
16813 }
d55e5bfc
RD
16814 }
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16817 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
d55e5bfc
RD
16818
16819 wxPyEndAllowThreads(__tstate);
16820 if (PyErr_Occurred()) SWIG_fail;
16821 }
6e0de3df 16822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBaseEvent, 1);
d55e5bfc
RD
16823 return resultobj;
16824 fail:
16825 return NULL;
16826}
16827
16828
6e0de3df 16829static PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16830 PyObject *resultobj;
6e0de3df 16831 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16832 int result;
16833 PyObject * obj0 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self", NULL
16836 };
16837
6e0de3df 16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16840 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16841 {
16842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16843 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
d55e5bfc
RD
16844
16845 wxPyEndAllowThreads(__tstate);
16846 if (PyErr_Occurred()) SWIG_fail;
16847 }
36ed4f51
RD
16848 {
16849 resultobj = SWIG_From_int((int)(result));
16850 }
d55e5bfc
RD
16851 return resultobj;
16852 fail:
16853 return NULL;
16854}
16855
16856
6e0de3df 16857static PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16858 PyObject *resultobj;
6e0de3df 16859 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16860 int arg2 ;
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self",(char *) "nSel", NULL
16865 };
16866
6e0de3df 16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16868 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16869 if (SWIG_arg_fail(1)) SWIG_fail;
16870 {
16871 arg2 = (int)(SWIG_As_int(obj1));
16872 if (SWIG_arg_fail(2)) SWIG_fail;
16873 }
d55e5bfc
RD
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 (arg1)->SetSelection(arg2);
16877
16878 wxPyEndAllowThreads(__tstate);
16879 if (PyErr_Occurred()) SWIG_fail;
16880 }
16881 Py_INCREF(Py_None); resultobj = Py_None;
16882 return resultobj;
16883 fail:
16884 return NULL;
16885}
16886
16887
6e0de3df 16888static PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16889 PyObject *resultobj;
6e0de3df 16890 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16891 int result;
16892 PyObject * obj0 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "self", NULL
16895 };
16896
6e0de3df 16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
16898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
16900 {
16901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 16902 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
d55e5bfc
RD
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
36ed4f51
RD
16907 {
16908 resultobj = SWIG_From_int((int)(result));
16909 }
d55e5bfc
RD
16910 return resultobj;
16911 fail:
16912 return NULL;
16913}
16914
16915
6e0de3df 16916static PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 16917 PyObject *resultobj;
6e0de3df 16918 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
d55e5bfc
RD
16919 int arg2 ;
16920 PyObject * obj0 = 0 ;
16921 PyObject * obj1 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self",(char *) "nOldSel", NULL
16924 };
16925
6e0de3df 16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
16927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_EXCEPTION | 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail;
16929 {
16930 arg2 = (int)(SWIG_As_int(obj1));
16931 if (SWIG_arg_fail(2)) SWIG_fail;
16932 }
d55e5bfc
RD
16933 {
16934 PyThreadState* __tstate = wxPyBeginAllowThreads();
16935 (arg1)->SetOldSelection(arg2);
16936
16937 wxPyEndAllowThreads(__tstate);
16938 if (PyErr_Occurred()) SWIG_fail;
16939 }
16940 Py_INCREF(Py_None); resultobj = Py_None;
16941 return resultobj;
16942 fail:
16943 return NULL;
16944}
16945
16946
6e0de3df 16947static PyObject * BookCtrlBaseEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
16948 PyObject *obj;
16949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6e0de3df 16950 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, obj);
d55e5bfc
RD
16951 Py_INCREF(obj);
16952 return Py_BuildValue((char *)"");
16953}
c370783e 16954static PyObject *_wrap_new_Notebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
16955 PyObject *resultobj;
16956 wxWindow *arg1 = (wxWindow *) 0 ;
16957 int arg2 = (int) -1 ;
16958 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16959 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16960 wxSize const &arg4_defvalue = wxDefaultSize ;
16961 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16962 long arg5 = (long) 0 ;
51b83b37 16963 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
16964 wxString *arg6 = (wxString *) &arg6_defvalue ;
16965 wxNotebook *result;
16966 wxPoint temp3 ;
16967 wxSize temp4 ;
b411df4a 16968 bool temp6 = false ;
d55e5bfc
RD
16969 PyObject * obj0 = 0 ;
16970 PyObject * obj1 = 0 ;
16971 PyObject * obj2 = 0 ;
16972 PyObject * obj3 = 0 ;
16973 PyObject * obj4 = 0 ;
16974 PyObject * obj5 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
16980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
16981 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 16982 if (obj1) {
36ed4f51
RD
16983 {
16984 arg2 = (int)(SWIG_As_int(obj1));
16985 if (SWIG_arg_fail(2)) SWIG_fail;
16986 }
d55e5bfc
RD
16987 }
16988 if (obj2) {
16989 {
16990 arg3 = &temp3;
16991 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16992 }
16993 }
16994 if (obj3) {
16995 {
16996 arg4 = &temp4;
16997 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16998 }
16999 }
17000 if (obj4) {
36ed4f51
RD
17001 {
17002 arg5 = (long)(SWIG_As_long(obj4));
17003 if (SWIG_arg_fail(5)) SWIG_fail;
17004 }
d55e5bfc
RD
17005 }
17006 if (obj5) {
17007 {
17008 arg6 = wxString_in_helper(obj5);
17009 if (arg6 == NULL) SWIG_fail;
b411df4a 17010 temp6 = true;
d55e5bfc
RD
17011 }
17012 }
17013 {
0439c23b 17014 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17015 PyThreadState* __tstate = wxPyBeginAllowThreads();
17016 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17017
17018 wxPyEndAllowThreads(__tstate);
110da5b0 17019 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17020 }
b0f7404b 17021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17022 {
17023 if (temp6)
17024 delete arg6;
17025 }
17026 return resultobj;
17027 fail:
17028 {
17029 if (temp6)
17030 delete arg6;
17031 }
17032 return NULL;
17033}
17034
17035
c370783e 17036static PyObject *_wrap_new_PreNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17037 PyObject *resultobj;
17038 wxNotebook *result;
17039 char *kwnames[] = {
17040 NULL
17041 };
17042
17043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
17044 {
0439c23b 17045 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17046 PyThreadState* __tstate = wxPyBeginAllowThreads();
17047 result = (wxNotebook *)new wxNotebook();
17048
17049 wxPyEndAllowThreads(__tstate);
110da5b0 17050 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 17051 }
b0f7404b 17052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebook, 1);
d55e5bfc
RD
17053 return resultobj;
17054 fail:
17055 return NULL;
17056}
17057
17058
c370783e 17059static PyObject *_wrap_Notebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17060 PyObject *resultobj;
17061 wxNotebook *arg1 = (wxNotebook *) 0 ;
17062 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17063 int arg3 = (int) -1 ;
d55e5bfc
RD
17064 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17065 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17066 wxSize const &arg5_defvalue = wxDefaultSize ;
17067 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17068 long arg6 = (long) 0 ;
51b83b37 17069 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
d55e5bfc
RD
17070 wxString *arg7 = (wxString *) &arg7_defvalue ;
17071 bool result;
17072 wxPoint temp4 ;
17073 wxSize temp5 ;
b411df4a 17074 bool temp7 = false ;
d55e5bfc
RD
17075 PyObject * obj0 = 0 ;
17076 PyObject * obj1 = 0 ;
17077 PyObject * obj2 = 0 ;
17078 PyObject * obj3 = 0 ;
17079 PyObject * obj4 = 0 ;
17080 PyObject * obj5 = 0 ;
17081 PyObject * obj6 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17084 };
17085
bfddbb17 17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17088 if (SWIG_arg_fail(1)) SWIG_fail;
17089 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17090 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17091 if (obj2) {
36ed4f51
RD
17092 {
17093 arg3 = (int)(SWIG_As_int(obj2));
17094 if (SWIG_arg_fail(3)) SWIG_fail;
17095 }
bfddbb17 17096 }
d55e5bfc
RD
17097 if (obj3) {
17098 {
17099 arg4 = &temp4;
17100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17101 }
17102 }
17103 if (obj4) {
17104 {
17105 arg5 = &temp5;
17106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17107 }
17108 }
17109 if (obj5) {
36ed4f51
RD
17110 {
17111 arg6 = (long)(SWIG_As_long(obj5));
17112 if (SWIG_arg_fail(6)) SWIG_fail;
17113 }
d55e5bfc
RD
17114 }
17115 if (obj6) {
17116 {
17117 arg7 = wxString_in_helper(obj6);
17118 if (arg7 == NULL) SWIG_fail;
b411df4a 17119 temp7 = true;
d55e5bfc
RD
17120 }
17121 }
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 {
17130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17131 }
17132 {
17133 if (temp7)
17134 delete arg7;
17135 }
17136 return resultobj;
17137 fail:
17138 {
17139 if (temp7)
17140 delete arg7;
17141 }
17142 return NULL;
17143}
17144
17145
c370783e 17146static PyObject *_wrap_Notebook_GetRowCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17147 PyObject *resultobj;
17148 wxNotebook *arg1 = (wxNotebook *) 0 ;
17149 int result;
17150 PyObject * obj0 = 0 ;
17151 char *kwnames[] = {
17152 (char *) "self", NULL
17153 };
17154
17155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
17156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (int)((wxNotebook const *)arg1)->GetRowCount();
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
36ed4f51
RD
17165 {
17166 resultobj = SWIG_From_int((int)(result));
17167 }
d55e5bfc
RD
17168 return resultobj;
17169 fail:
17170 return NULL;
17171}
17172
17173
c370783e 17174static PyObject *_wrap_Notebook_SetPadding(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17175 PyObject *resultobj;
17176 wxNotebook *arg1 = (wxNotebook *) 0 ;
17177 wxSize *arg2 = 0 ;
17178 wxSize temp2 ;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "padding", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17188 {
17189 arg2 = &temp2;
17190 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17191 }
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 (arg1)->SetPadding((wxSize const &)*arg2);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 Py_INCREF(Py_None); resultobj = Py_None;
17200 return resultobj;
17201 fail:
17202 return NULL;
17203}
17204
17205
c370783e 17206static PyObject *_wrap_Notebook_SetTabSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17207 PyObject *resultobj;
17208 wxNotebook *arg1 = (wxNotebook *) 0 ;
17209 wxSize *arg2 = 0 ;
17210 wxSize temp2 ;
17211 PyObject * obj0 = 0 ;
17212 PyObject * obj1 = 0 ;
17213 char *kwnames[] = {
17214 (char *) "self",(char *) "sz", NULL
17215 };
17216
17217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17219 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17220 {
17221 arg2 = &temp2;
17222 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17223 }
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 (arg1)->SetTabSize((wxSize const &)*arg2);
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 Py_INCREF(Py_None); resultobj = Py_None;
17232 return resultobj;
17233 fail:
17234 return NULL;
17235}
17236
17237
c370783e 17238static PyObject *_wrap_Notebook_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17239 PyObject *resultobj;
17240 wxNotebook *arg1 = (wxNotebook *) 0 ;
17241 wxPoint *arg2 = 0 ;
17242 long *arg3 = (long *) 0 ;
17243 int result;
17244 wxPoint temp2 ;
17245 long temp3 ;
c370783e 17246 int res3 = 0 ;
d55e5bfc
RD
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 char *kwnames[] = {
17250 (char *) "self",(char *) "pt", NULL
17251 };
17252
c370783e 17253 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17257 {
17258 arg2 = &temp2;
17259 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17260 }
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
36ed4f51
RD
17268 {
17269 resultobj = SWIG_From_int((int)(result));
17270 }
c370783e
RD
17271 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
17272 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d55e5bfc
RD
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
c370783e 17279static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17280 PyObject *resultobj;
17281 wxNotebook *arg1 = (wxNotebook *) 0 ;
17282 wxSize *arg2 = 0 ;
17283 wxSize result;
17284 wxSize temp2 ;
17285 PyObject * obj0 = 0 ;
17286 PyObject * obj1 = 0 ;
17287 char *kwnames[] = {
17288 (char *) "self",(char *) "sizePage", NULL
17289 };
17290
17291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
17292 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17293 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17294 {
17295 arg2 = &temp2;
17296 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17297 }
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 {
17306 wxSize * resultptr;
36ed4f51 17307 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
17308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17309 }
17310 return resultobj;
17311 fail:
17312 return NULL;
17313}
17314
17315
091fdbfa
RD
17316static PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxNotebook *arg1 = (wxNotebook *) 0 ;
17319 wxColour result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetThemeBackgroundColour",kwnames,&obj0)) goto fail;
17326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
17327 if (SWIG_arg_fail(1)) SWIG_fail;
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 {
17336 wxColour * resultptr;
17337 resultptr = new wxColour((wxColour &)(result));
17338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
17339 }
17340 return resultobj;
17341 fail:
17342 return NULL;
17343}
17344
17345
c370783e 17346static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 17347 PyObject *resultobj;
36ed4f51 17348 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
17349 wxVisualAttributes result;
17350 PyObject * obj0 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "variant", NULL
17353 };
17354
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
17356 if (obj0) {
36ed4f51
RD
17357 {
17358 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
17359 if (SWIG_arg_fail(1)) SWIG_fail;
17360 }
f20a2e1f
RD
17361 }
17362 {
0439c23b 17363 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
17364 PyThreadState* __tstate = wxPyBeginAllowThreads();
17365 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
17366
17367 wxPyEndAllowThreads(__tstate);
110da5b0 17368 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
17369 }
17370 {
17371 wxVisualAttributes * resultptr;
36ed4f51 17372 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
17373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
17374 }
17375 return resultobj;
17376 fail:
17377 return NULL;
17378}
17379
17380
c370783e 17381static PyObject * Notebook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17382 PyObject *obj;
17383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17384 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
17385 Py_INCREF(obj);
17386 return Py_BuildValue((char *)"");
17387}
c370783e 17388static PyObject *_wrap_new_NotebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17389 PyObject *resultobj;
17390 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17391 int arg2 = (int) 0 ;
17392 int arg3 = (int) -1 ;
17393 int arg4 = (int) -1 ;
17394 wxNotebookEvent *result;
17395 PyObject * obj0 = 0 ;
17396 PyObject * obj1 = 0 ;
17397 PyObject * obj2 = 0 ;
17398 PyObject * obj3 = 0 ;
17399 char *kwnames[] = {
17400 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17401 };
17402
17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17404 if (obj0) {
36ed4f51
RD
17405 {
17406 arg1 = (wxEventType)(SWIG_As_int(obj0));
17407 if (SWIG_arg_fail(1)) SWIG_fail;
17408 }
d55e5bfc
RD
17409 }
17410 if (obj1) {
36ed4f51
RD
17411 {
17412 arg2 = (int)(SWIG_As_int(obj1));
17413 if (SWIG_arg_fail(2)) SWIG_fail;
17414 }
d55e5bfc
RD
17415 }
17416 if (obj2) {
36ed4f51
RD
17417 {
17418 arg3 = (int)(SWIG_As_int(obj2));
17419 if (SWIG_arg_fail(3)) SWIG_fail;
17420 }
d55e5bfc
RD
17421 }
17422 if (obj3) {
36ed4f51
RD
17423 {
17424 arg4 = (int)(SWIG_As_int(obj3));
17425 if (SWIG_arg_fail(4)) SWIG_fail;
17426 }
d55e5bfc
RD
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
17436 return resultobj;
17437 fail:
17438 return NULL;
17439}
17440
17441
c370783e 17442static PyObject * NotebookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17443 PyObject *obj;
17444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17445 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
17446 Py_INCREF(obj);
17447 return Py_BuildValue((char *)"");
17448}
c370783e 17449static PyObject *_wrap_new_Listbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17450 PyObject *resultobj;
17451 wxWindow *arg1 = (wxWindow *) 0 ;
17452 int arg2 = (int) -1 ;
17453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17455 wxSize const &arg4_defvalue = wxDefaultSize ;
17456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17457 long arg5 = (long) 0 ;
17458 wxString const &arg6_defvalue = wxPyEmptyString ;
17459 wxString *arg6 = (wxString *) &arg6_defvalue ;
17460 wxListbook *result;
17461 wxPoint temp3 ;
17462 wxSize temp4 ;
b411df4a 17463 bool temp6 = false ;
d55e5bfc
RD
17464 PyObject * obj0 = 0 ;
17465 PyObject * obj1 = 0 ;
17466 PyObject * obj2 = 0 ;
17467 PyObject * obj3 = 0 ;
17468 PyObject * obj4 = 0 ;
17469 PyObject * obj5 = 0 ;
17470 char *kwnames[] = {
17471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17472 };
17473
17474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17475 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17476 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 17477 if (obj1) {
36ed4f51
RD
17478 {
17479 arg2 = (int)(SWIG_As_int(obj1));
17480 if (SWIG_arg_fail(2)) SWIG_fail;
17481 }
d55e5bfc
RD
17482 }
17483 if (obj2) {
17484 {
17485 arg3 = &temp3;
17486 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17487 }
17488 }
17489 if (obj3) {
17490 {
17491 arg4 = &temp4;
17492 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17493 }
17494 }
17495 if (obj4) {
36ed4f51
RD
17496 {
17497 arg5 = (long)(SWIG_As_long(obj4));
17498 if (SWIG_arg_fail(5)) SWIG_fail;
17499 }
d55e5bfc
RD
17500 }
17501 if (obj5) {
17502 {
17503 arg6 = wxString_in_helper(obj5);
17504 if (arg6 == NULL) SWIG_fail;
b411df4a 17505 temp6 = true;
d55e5bfc
RD
17506 }
17507 }
17508 {
0439c23b 17509 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17510 PyThreadState* __tstate = wxPyBeginAllowThreads();
17511 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17512
17513 wxPyEndAllowThreads(__tstate);
110da5b0 17514 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17515 }
17516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17517 {
17518 if (temp6)
17519 delete arg6;
17520 }
17521 return resultobj;
17522 fail:
17523 {
17524 if (temp6)
17525 delete arg6;
17526 }
17527 return NULL;
17528}
17529
17530
c370783e 17531static PyObject *_wrap_new_PreListbook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17532 PyObject *resultobj;
17533 wxListbook *result;
17534 char *kwnames[] = {
17535 NULL
17536 };
17537
17538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
17539 {
0439c23b 17540 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
17541 PyThreadState* __tstate = wxPyBeginAllowThreads();
17542 result = (wxListbook *)new wxListbook();
17543
17544 wxPyEndAllowThreads(__tstate);
110da5b0 17545 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
17546 }
17547 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
17548 return resultobj;
17549 fail:
17550 return NULL;
17551}
17552
17553
c370783e 17554static PyObject *_wrap_Listbook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17555 PyObject *resultobj;
17556 wxListbook *arg1 = (wxListbook *) 0 ;
17557 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 17558 int arg3 = (int) -1 ;
d55e5bfc
RD
17559 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17560 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17561 wxSize const &arg5_defvalue = wxDefaultSize ;
17562 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17563 long arg6 = (long) 0 ;
17564 wxString const &arg7_defvalue = wxPyEmptyString ;
17565 wxString *arg7 = (wxString *) &arg7_defvalue ;
17566 bool result;
17567 wxPoint temp4 ;
17568 wxSize temp5 ;
b411df4a 17569 bool temp7 = false ;
d55e5bfc
RD
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
17572 PyObject * obj2 = 0 ;
17573 PyObject * obj3 = 0 ;
17574 PyObject * obj4 = 0 ;
17575 PyObject * obj5 = 0 ;
17576 PyObject * obj6 = 0 ;
17577 char *kwnames[] = {
17578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17579 };
17580
bfddbb17 17581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail;
17584 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17585 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 17586 if (obj2) {
36ed4f51
RD
17587 {
17588 arg3 = (int)(SWIG_As_int(obj2));
17589 if (SWIG_arg_fail(3)) SWIG_fail;
17590 }
bfddbb17 17591 }
d55e5bfc
RD
17592 if (obj3) {
17593 {
17594 arg4 = &temp4;
17595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17596 }
17597 }
17598 if (obj4) {
17599 {
17600 arg5 = &temp5;
17601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17602 }
17603 }
17604 if (obj5) {
36ed4f51
RD
17605 {
17606 arg6 = (long)(SWIG_As_long(obj5));
17607 if (SWIG_arg_fail(6)) SWIG_fail;
17608 }
d55e5bfc
RD
17609 }
17610 if (obj6) {
17611 {
17612 arg7 = wxString_in_helper(obj6);
17613 if (arg7 == NULL) SWIG_fail;
b411df4a 17614 temp7 = true;
d55e5bfc
RD
17615 }
17616 }
17617 {
17618 PyThreadState* __tstate = wxPyBeginAllowThreads();
17619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17620
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 {
17625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17626 }
17627 {
17628 if (temp7)
17629 delete arg7;
17630 }
17631 return resultobj;
17632 fail:
17633 {
17634 if (temp7)
17635 delete arg7;
17636 }
17637 return NULL;
17638}
17639
17640
c370783e 17641static PyObject *_wrap_Listbook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17642 PyObject *resultobj;
17643 wxListbook *arg1 = (wxListbook *) 0 ;
17644 bool result;
17645 PyObject * obj0 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
17651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17652 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (bool)((wxListbook const *)arg1)->IsVertical();
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 {
17661 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17662 }
17663 return resultobj;
17664 fail:
17665 return NULL;
17666}
17667
17668
44bf767a
RD
17669static PyObject *_wrap_Listbook_GetListView(PyObject *, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxListbook *arg1 = (wxListbook *) 0 ;
17672 wxListView *result;
17673 PyObject * obj0 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_GetListView",kwnames,&obj0)) goto fail;
36ed4f51
RD
17679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListbook, SWIG_POINTER_EXCEPTION | 0);
17680 if (SWIG_arg_fail(1)) SWIG_fail;
44bf767a
RD
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = (wxListView *)(arg1)->GetListView();
17684
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 0);
17689 return resultobj;
17690 fail:
17691 return NULL;
17692}
17693
17694
c370783e 17695static PyObject * Listbook_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17696 PyObject *obj;
17697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17698 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
17699 Py_INCREF(obj);
17700 return Py_BuildValue((char *)"");
17701}
c370783e 17702static PyObject *_wrap_new_ListbookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
17703 PyObject *resultobj;
17704 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17705 int arg2 = (int) 0 ;
17706 int arg3 = (int) -1 ;
17707 int arg4 = (int) -1 ;
17708 wxListbookEvent *result;
17709 PyObject * obj0 = 0 ;
17710 PyObject * obj1 = 0 ;
17711 PyObject * obj2 = 0 ;
17712 PyObject * obj3 = 0 ;
17713 char *kwnames[] = {
17714 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
17715 };
17716
17717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
17718 if (obj0) {
36ed4f51
RD
17719 {
17720 arg1 = (wxEventType)(SWIG_As_int(obj0));
17721 if (SWIG_arg_fail(1)) SWIG_fail;
17722 }
d55e5bfc
RD
17723 }
17724 if (obj1) {
36ed4f51
RD
17725 {
17726 arg2 = (int)(SWIG_As_int(obj1));
17727 if (SWIG_arg_fail(2)) SWIG_fail;
17728 }
d55e5bfc
RD
17729 }
17730 if (obj2) {
36ed4f51
RD
17731 {
17732 arg3 = (int)(SWIG_As_int(obj2));
17733 if (SWIG_arg_fail(3)) SWIG_fail;
17734 }
d55e5bfc
RD
17735 }
17736 if (obj3) {
36ed4f51
RD
17737 {
17738 arg4 = (int)(SWIG_As_int(obj3));
17739 if (SWIG_arg_fail(4)) SWIG_fail;
17740 }
d55e5bfc
RD
17741 }
17742 {
17743 PyThreadState* __tstate = wxPyBeginAllowThreads();
17744 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
17745
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
17750 return resultobj;
17751 fail:
17752 return NULL;
17753}
17754
17755
c370783e 17756static PyObject * ListbookEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
17757 PyObject *obj;
17758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17759 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
17760 Py_INCREF(obj);
17761 return Py_BuildValue((char *)"");
17762}
b411df4a
RD
17763static PyObject *_wrap_new_Choicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxWindow *arg1 = (wxWindow *) 0 ;
17766 int arg2 ;
17767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17769 wxSize const &arg4_defvalue = wxDefaultSize ;
17770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17771 long arg5 = (long) 0 ;
17772 wxString const &arg6_defvalue = wxPyEmptyString ;
17773 wxString *arg6 = (wxString *) &arg6_defvalue ;
17774 wxChoicebook *result;
17775 wxPoint temp3 ;
17776 wxSize temp4 ;
17777 bool temp6 = false ;
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 PyObject * obj2 = 0 ;
17781 PyObject * obj3 = 0 ;
17782 PyObject * obj4 = 0 ;
17783 PyObject * obj5 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
17789 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17790 if (SWIG_arg_fail(1)) SWIG_fail;
17791 {
17792 arg2 = (int)(SWIG_As_int(obj1));
17793 if (SWIG_arg_fail(2)) SWIG_fail;
17794 }
b411df4a
RD
17795 if (obj2) {
17796 {
17797 arg3 = &temp3;
17798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17799 }
17800 }
17801 if (obj3) {
17802 {
17803 arg4 = &temp4;
17804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17805 }
17806 }
17807 if (obj4) {
36ed4f51
RD
17808 {
17809 arg5 = (long)(SWIG_As_long(obj4));
17810 if (SWIG_arg_fail(5)) SWIG_fail;
17811 }
b411df4a
RD
17812 }
17813 if (obj5) {
17814 {
17815 arg6 = wxString_in_helper(obj5);
17816 if (arg6 == NULL) SWIG_fail;
17817 temp6 = true;
17818 }
17819 }
17820 {
17821 if (!wxPyCheckForApp()) SWIG_fail;
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17829 {
17830 if (temp6)
17831 delete arg6;
17832 }
17833 return resultobj;
17834 fail:
17835 {
17836 if (temp6)
17837 delete arg6;
17838 }
17839 return NULL;
17840}
17841
17842
17843static PyObject *_wrap_new_PreChoicebook(PyObject *, PyObject *args, PyObject *kwargs) {
17844 PyObject *resultobj;
17845 wxChoicebook *result;
17846 char *kwnames[] = {
17847 NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoicebook",kwnames)) goto fail;
17851 {
17852 if (!wxPyCheckForApp()) SWIG_fail;
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 result = (wxChoicebook *)new wxChoicebook();
17855
17856 wxPyEndAllowThreads(__tstate);
17857 if (PyErr_Occurred()) SWIG_fail;
17858 }
17859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebook, 1);
17860 return resultobj;
17861 fail:
17862 return NULL;
17863}
17864
17865
17866static PyObject *_wrap_Choicebook_Create(PyObject *, PyObject *args, PyObject *kwargs) {
17867 PyObject *resultobj;
17868 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17869 wxWindow *arg2 = (wxWindow *) 0 ;
17870 int arg3 ;
17871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17873 wxSize const &arg5_defvalue = wxDefaultSize ;
17874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17875 long arg6 = (long) 0 ;
17876 wxString const &arg7_defvalue = wxPyEmptyString ;
17877 wxString *arg7 = (wxString *) &arg7_defvalue ;
17878 bool result;
17879 wxPoint temp4 ;
17880 wxSize temp5 ;
17881 bool temp7 = false ;
17882 PyObject * obj0 = 0 ;
17883 PyObject * obj1 = 0 ;
17884 PyObject * obj2 = 0 ;
17885 PyObject * obj3 = 0 ;
17886 PyObject * obj4 = 0 ;
17887 PyObject * obj5 = 0 ;
17888 PyObject * obj6 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
17894 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17895 if (SWIG_arg_fail(1)) SWIG_fail;
17896 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
17897 if (SWIG_arg_fail(2)) SWIG_fail;
17898 {
17899 arg3 = (int)(SWIG_As_int(obj2));
17900 if (SWIG_arg_fail(3)) SWIG_fail;
17901 }
b411df4a
RD
17902 if (obj3) {
17903 {
17904 arg4 = &temp4;
17905 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17906 }
17907 }
17908 if (obj4) {
17909 {
17910 arg5 = &temp5;
17911 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17912 }
17913 }
17914 if (obj5) {
36ed4f51
RD
17915 {
17916 arg6 = (long)(SWIG_As_long(obj5));
17917 if (SWIG_arg_fail(6)) SWIG_fail;
17918 }
b411df4a
RD
17919 }
17920 if (obj6) {
17921 {
17922 arg7 = wxString_in_helper(obj6);
17923 if (arg7 == NULL) SWIG_fail;
17924 temp7 = true;
17925 }
17926 }
17927 {
17928 PyThreadState* __tstate = wxPyBeginAllowThreads();
17929 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17930
17931 wxPyEndAllowThreads(__tstate);
17932 if (PyErr_Occurred()) SWIG_fail;
17933 }
17934 {
17935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17936 }
17937 {
17938 if (temp7)
17939 delete arg7;
17940 }
17941 return resultobj;
17942 fail:
17943 {
17944 if (temp7)
17945 delete arg7;
17946 }
17947 return NULL;
17948}
17949
17950
17951static PyObject *_wrap_Choicebook_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17954 bool result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
17961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17962 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (bool)((wxChoicebook const *)arg1)->IsVertical();
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 {
17971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17972 }
17973 return resultobj;
17974 fail:
17975 return NULL;
17976}
17977
17978
7993762b
RD
17979static PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
17982 wxChoice *result;
17983 PyObject * obj0 = 0 ;
17984 char *kwnames[] = {
17985 (char *) "self", NULL
17986 };
17987
17988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_GetChoiceCtrl",kwnames,&obj0)) goto fail;
17989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
17990 if (SWIG_arg_fail(1)) SWIG_fail;
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 0);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002}
18003
18004
b411df4a
RD
18005static PyObject *_wrap_Choicebook_DeleteAllPages(PyObject *, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
18008 bool result;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choicebook_DeleteAllPages",kwnames,&obj0)) goto fail;
36ed4f51
RD
18015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxChoicebook, SWIG_POINTER_EXCEPTION | 0);
18016 if (SWIG_arg_fail(1)) SWIG_fail;
b411df4a
RD
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 result = (bool)(arg1)->DeleteAllPages();
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 {
18025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18026 }
18027 return resultobj;
18028 fail:
18029 return NULL;
18030}
18031
18032
18033static PyObject * Choicebook_swigregister(PyObject *, PyObject *args) {
18034 PyObject *obj;
18035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18036 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook, obj);
18037 Py_INCREF(obj);
18038 return Py_BuildValue((char *)"");
18039}
18040static PyObject *_wrap_new_ChoicebookEvent(PyObject *, PyObject *args, PyObject *kwargs) {
18041 PyObject *resultobj;
18042 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18043 int arg2 = (int) 0 ;
18044 int arg3 = (int) -1 ;
18045 int arg4 = (int) -1 ;
18046 wxChoicebookEvent *result;
18047 PyObject * obj0 = 0 ;
18048 PyObject * obj1 = 0 ;
18049 PyObject * obj2 = 0 ;
18050 PyObject * obj3 = 0 ;
18051 char *kwnames[] = {
18052 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
18053 };
18054
18055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18056 if (obj0) {
36ed4f51
RD
18057 {
18058 arg1 = (wxEventType)(SWIG_As_int(obj0));
18059 if (SWIG_arg_fail(1)) SWIG_fail;
18060 }
b411df4a
RD
18061 }
18062 if (obj1) {
36ed4f51
RD
18063 {
18064 arg2 = (int)(SWIG_As_int(obj1));
18065 if (SWIG_arg_fail(2)) SWIG_fail;
18066 }
b411df4a
RD
18067 }
18068 if (obj2) {
36ed4f51
RD
18069 {
18070 arg3 = (int)(SWIG_As_int(obj2));
18071 if (SWIG_arg_fail(3)) SWIG_fail;
18072 }
b411df4a
RD
18073 }
18074 if (obj3) {
36ed4f51
RD
18075 {
18076 arg4 = (int)(SWIG_As_int(obj3));
18077 if (SWIG_arg_fail(4)) SWIG_fail;
18078 }
b411df4a
RD
18079 }
18080 {
18081 PyThreadState* __tstate = wxPyBeginAllowThreads();
18082 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
18083
18084 wxPyEndAllowThreads(__tstate);
18085 if (PyErr_Occurred()) SWIG_fail;
18086 }
18087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoicebookEvent, 1);
18088 return resultobj;
18089 fail:
18090 return NULL;
18091}
18092
18093
18094static PyObject * ChoicebookEvent_swigregister(PyObject *, PyObject *args) {
18095 PyObject *obj;
18096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18097 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent, obj);
18098 Py_INCREF(obj);
18099 return Py_BuildValue((char *)"");
18100}
c370783e 18101static PyObject *_wrap_new_BookCtrlSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 18102 PyObject *resultobj;
6e0de3df 18103 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
d55e5bfc
RD
18104 wxBookCtrlSizer *result;
18105 PyObject * obj0 = 0 ;
18106 char *kwnames[] = {
18107 (char *) "nb", NULL
18108 };
18109
18110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18111 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlBase, SWIG_POINTER_EXCEPTION | 0);
18112 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18113 {
18114 PyThreadState* __tstate = wxPyBeginAllowThreads();
18115 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
18116
18117 wxPyEndAllowThreads(__tstate);
18118 if (PyErr_Occurred()) SWIG_fail;
18119 }
18120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
18121 return resultobj;
18122 fail:
18123 return NULL;
18124}
18125
18126
c370783e 18127static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18128 PyObject *resultobj;
18129 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18130 PyObject * obj0 = 0 ;
18131 char *kwnames[] = {
18132 (char *) "self", NULL
18133 };
18134
18135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18137 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
18140 (arg1)->RecalcSizes();
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
18145 Py_INCREF(Py_None); resultobj = Py_None;
18146 return resultobj;
18147 fail:
18148 return NULL;
18149}
18150
18151
c370783e 18152static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18153 PyObject *resultobj;
18154 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
18155 wxSize result;
18156 PyObject * obj0 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self", NULL
18159 };
18160
18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18163 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 result = (arg1)->CalcMin();
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 {
18172 wxSize * resultptr;
36ed4f51 18173 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18175 }
18176 return resultobj;
18177 fail:
18178 return NULL;
18179}
18180
18181
c370783e 18182static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18183 PyObject *resultobj;
18184 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
6e0de3df 18185 wxBookCtrlBase *result;
d55e5bfc
RD
18186 PyObject * obj0 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "self", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18192 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBookCtrlSizer, SWIG_POINTER_EXCEPTION | 0);
18193 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e0de3df 18196 result = (wxBookCtrlBase *)(arg1)->GetControl();
d55e5bfc
RD
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
6e0de3df 18201 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlBase, 0);
d55e5bfc
RD
18202 return resultobj;
18203 fail:
18204 return NULL;
18205}
18206
18207
c370783e 18208static PyObject * BookCtrlSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18209 PyObject *obj;
18210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18211 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
18212 Py_INCREF(obj);
18213 return Py_BuildValue((char *)"");
18214}
c370783e 18215static PyObject *_wrap_new_NotebookSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18216 PyObject *resultobj;
18217 wxNotebook *arg1 = (wxNotebook *) 0 ;
18218 wxNotebookSizer *result;
18219 PyObject * obj0 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "nb", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
36ed4f51
RD
18225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebook, SWIG_POINTER_EXCEPTION | 0);
18226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
18235 return resultobj;
18236 fail:
18237 return NULL;
18238}
18239
18240
c370783e 18241static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18242 PyObject *resultobj;
18243 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18244 PyObject * obj0 = 0 ;
18245 char *kwnames[] = {
18246 (char *) "self", NULL
18247 };
18248
18249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
36ed4f51
RD
18250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 (arg1)->RecalcSizes();
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 Py_INCREF(Py_None); resultobj = Py_None;
18260 return resultobj;
18261 fail:
18262 return NULL;
18263}
18264
18265
c370783e 18266static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18267 PyObject *resultobj;
18268 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18269 wxSize result;
18270 PyObject * obj0 = 0 ;
18271 char *kwnames[] = {
18272 (char *) "self", NULL
18273 };
18274
18275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
36ed4f51
RD
18276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 result = (arg1)->CalcMin();
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 {
18286 wxSize * resultptr;
36ed4f51 18287 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
18288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18289 }
18290 return resultobj;
18291 fail:
18292 return NULL;
18293}
18294
18295
c370783e 18296static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18297 PyObject *resultobj;
18298 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
18299 wxNotebook *result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
36ed4f51
RD
18306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxNotebookSizer, SWIG_POINTER_EXCEPTION | 0);
18307 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (wxNotebook *)(arg1)->GetNotebook();
18311
18312 wxPyEndAllowThreads(__tstate);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 }
18315 {
412d302d 18316 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
c370783e 18324static PyObject * NotebookSizer_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
18325 PyObject *obj;
18326 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18327 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
18328 Py_INCREF(obj);
18329 return Py_BuildValue((char *)"");
18330}
c370783e 18331static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18332 PyObject *resultobj;
18333 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18334 int result;
18335 PyObject * obj0 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
18341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 result = (int)(arg1)->GetId();
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
36ed4f51
RD
18350 {
18351 resultobj = SWIG_From_int((int)(result));
18352 }
d55e5bfc
RD
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
c370783e 18359static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18360 PyObject *resultobj;
18361 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18362 wxControl *result;
18363 PyObject * obj0 = 0 ;
18364 char *kwnames[] = {
18365 (char *) "self", NULL
18366 };
18367
18368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18370 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18371 {
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 result = (wxControl *)(arg1)->GetControl();
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
412d302d 18379 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18380 }
18381 return resultobj;
18382 fail:
18383 return NULL;
18384}
18385
18386
c370783e 18387static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18388 PyObject *resultobj;
18389 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18390 wxToolBarBase *result;
18391 PyObject * obj0 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
36ed4f51
RD
18397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18398 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18399 {
18400 PyThreadState* __tstate = wxPyBeginAllowThreads();
18401 result = (wxToolBarBase *)(arg1)->GetToolBar();
18402
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 {
412d302d 18407 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
18408 }
18409 return resultobj;
18410 fail:
18411 return NULL;
18412}
18413
18414
c370783e 18415static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18416 PyObject *resultobj;
18417 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18418 int result;
18419 PyObject * obj0 = 0 ;
18420 char *kwnames[] = {
18421 (char *) "self", NULL
18422 };
18423
18424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
18425 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18426 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (int)(arg1)->IsButton();
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
36ed4f51
RD
18434 {
18435 resultobj = SWIG_From_int((int)(result));
18436 }
d55e5bfc
RD
18437 return resultobj;
18438 fail:
18439 return NULL;
18440}
18441
18442
c370783e 18443static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18444 PyObject *resultobj;
18445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18446 int result;
18447 PyObject * obj0 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
18453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (int)(arg1)->IsControl();
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
36ed4f51
RD
18462 {
18463 resultobj = SWIG_From_int((int)(result));
18464 }
d55e5bfc
RD
18465 return resultobj;
18466 fail:
18467 return NULL;
18468}
18469
18470
c370783e 18471static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18472 PyObject *resultobj;
18473 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18474 int result;
18475 PyObject * obj0 = 0 ;
18476 char *kwnames[] = {
18477 (char *) "self", NULL
18478 };
18479
18480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
18481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18482 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = (int)(arg1)->IsSeparator();
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
36ed4f51
RD
18490 {
18491 resultobj = SWIG_From_int((int)(result));
18492 }
d55e5bfc
RD
18493 return resultobj;
18494 fail:
18495 return NULL;
18496}
18497
18498
c370783e 18499static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18500 PyObject *resultobj;
18501 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18502 int result;
18503 PyObject * obj0 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 result = (int)(arg1)->GetStyle();
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
36ed4f51
RD
18518 {
18519 resultobj = SWIG_From_int((int)(result));
18520 }
d55e5bfc
RD
18521 return resultobj;
18522 fail:
18523 return NULL;
18524}
18525
18526
c370783e 18527static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18528 PyObject *resultobj;
18529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
36ed4f51 18530 wxItemKind result;
d55e5bfc
RD
18531 PyObject * obj0 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
36ed4f51
RD
18537 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 18541 result = (wxItemKind)(arg1)->GetKind();
d55e5bfc
RD
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
36ed4f51 18546 resultobj = SWIG_From_int((result));
d55e5bfc
RD
18547 return resultobj;
18548 fail:
18549 return NULL;
18550}
18551
18552
c370783e 18553static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18554 PyObject *resultobj;
18555 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18556 bool result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18564 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (bool)(arg1)->IsEnabled();
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 {
18573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18574 }
18575 return resultobj;
18576 fail:
18577 return NULL;
18578}
18579
18580
c370783e 18581static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18582 PyObject *resultobj;
18583 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18584 bool result;
18585 PyObject * obj0 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 result = (bool)(arg1)->IsToggled();
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 {
18601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18602 }
18603 return resultobj;
18604 fail:
18605 return NULL;
18606}
18607
18608
c370783e 18609static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18610 PyObject *resultobj;
18611 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18612 bool result;
18613 PyObject * obj0 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
36ed4f51
RD
18619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 result = (bool)(arg1)->CanBeToggled();
18624
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 {
18629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18630 }
18631 return resultobj;
18632 fail:
18633 return NULL;
18634}
18635
18636
c370783e 18637static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18638 PyObject *resultobj;
18639 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18640 wxBitmap *result;
18641 PyObject * obj0 = 0 ;
18642 char *kwnames[] = {
18643 (char *) "self", NULL
18644 };
18645
18646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18648 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 {
18652 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
18653 result = (wxBitmap *) &_result_ref;
18654 }
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 {
18660 wxBitmap* resultptr = new wxBitmap(*result);
18661 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18662 }
18663 return resultobj;
18664 fail:
18665 return NULL;
18666}
18667
18668
c370783e 18669static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18670 PyObject *resultobj;
18671 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18672 wxBitmap *result;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18679 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18680 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 {
18684 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
18685 result = (wxBitmap *) &_result_ref;
18686 }
18687
18688 wxPyEndAllowThreads(__tstate);
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 {
18692 wxBitmap* resultptr = new wxBitmap(*result);
18693 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18694 }
18695 return resultobj;
18696 fail:
18697 return NULL;
18698}
18699
18700
c370783e 18701static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18702 PyObject *resultobj;
18703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18704 wxBitmap result;
18705 PyObject * obj0 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
36ed4f51
RD
18711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (arg1)->GetBitmap();
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 {
18721 wxBitmap * resultptr;
36ed4f51 18722 resultptr = new wxBitmap((wxBitmap &)(result));
d55e5bfc
RD
18723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
18724 }
18725 return resultobj;
18726 fail:
18727 return NULL;
18728}
18729
18730
c370783e 18731static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18732 PyObject *resultobj;
18733 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18734 wxString result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
18741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (arg1)->GetLabel();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 {
18751#if wxUSE_UNICODE
18752 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18753#else
18754 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18755#endif
18756 }
18757 return resultobj;
18758 fail:
18759 return NULL;
18760}
18761
18762
c370783e 18763static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18764 PyObject *resultobj;
18765 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18766 wxString result;
18767 PyObject * obj0 = 0 ;
18768 char *kwnames[] = {
18769 (char *) "self", NULL
18770 };
18771
18772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18774 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18775 {
18776 PyThreadState* __tstate = wxPyBeginAllowThreads();
18777 result = (arg1)->GetShortHelp();
18778
18779 wxPyEndAllowThreads(__tstate);
18780 if (PyErr_Occurred()) SWIG_fail;
18781 }
18782 {
18783#if wxUSE_UNICODE
18784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18785#else
18786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18787#endif
18788 }
18789 return resultobj;
18790 fail:
18791 return NULL;
18792}
18793
18794
c370783e 18795static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18796 PyObject *resultobj;
18797 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18798 wxString result;
18799 PyObject * obj0 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
18805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18806 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18807 {
18808 PyThreadState* __tstate = wxPyBeginAllowThreads();
18809 result = (arg1)->GetLongHelp();
18810
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 {
18815#if wxUSE_UNICODE
18816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18817#else
18818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18819#endif
18820 }
18821 return resultobj;
18822 fail:
18823 return NULL;
18824}
18825
18826
c370783e 18827static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18828 PyObject *resultobj;
18829 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18830 bool arg2 ;
18831 bool result;
18832 PyObject * obj0 = 0 ;
18833 PyObject * obj1 = 0 ;
18834 char *kwnames[] = {
18835 (char *) "self",(char *) "enable", NULL
18836 };
18837
18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18839 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18840 if (SWIG_arg_fail(1)) SWIG_fail;
18841 {
18842 arg2 = (bool)(SWIG_As_bool(obj1));
18843 if (SWIG_arg_fail(2)) SWIG_fail;
18844 }
d55e5bfc
RD
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 result = (bool)(arg1)->Enable(arg2);
18848
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 {
18853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18854 }
18855 return resultobj;
18856 fail:
18857 return NULL;
18858}
18859
18860
c370783e 18861static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18862 PyObject *resultobj;
18863 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
36ed4f51
RD
18870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 (arg1)->Toggle();
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 Py_INCREF(Py_None); resultobj = Py_None;
18880 return resultobj;
18881 fail:
18882 return NULL;
18883}
18884
18885
c370783e 18886static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18887 PyObject *resultobj;
18888 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18889 bool arg2 ;
18890 bool result;
18891 PyObject * obj0 = 0 ;
18892 PyObject * obj1 = 0 ;
18893 char *kwnames[] = {
18894 (char *) "self",(char *) "toggle", NULL
18895 };
18896
18897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18898 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail;
18900 {
18901 arg2 = (bool)(SWIG_As_bool(obj1));
18902 if (SWIG_arg_fail(2)) SWIG_fail;
18903 }
d55e5bfc
RD
18904 {
18905 PyThreadState* __tstate = wxPyBeginAllowThreads();
18906 result = (bool)(arg1)->SetToggle(arg2);
18907
18908 wxPyEndAllowThreads(__tstate);
18909 if (PyErr_Occurred()) SWIG_fail;
18910 }
18911 {
18912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18913 }
18914 return resultobj;
18915 fail:
18916 return NULL;
18917}
18918
18919
c370783e 18920static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18921 PyObject *resultobj;
18922 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18923 wxString *arg2 = 0 ;
18924 bool result;
b411df4a 18925 bool temp2 = false ;
d55e5bfc
RD
18926 PyObject * obj0 = 0 ;
18927 PyObject * obj1 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "self",(char *) "help", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18934 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18935 {
18936 arg2 = wxString_in_helper(obj1);
18937 if (arg2 == NULL) SWIG_fail;
b411df4a 18938 temp2 = true;
d55e5bfc
RD
18939 }
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 {
18948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18949 }
18950 {
18951 if (temp2)
18952 delete arg2;
18953 }
18954 return resultobj;
18955 fail:
18956 {
18957 if (temp2)
18958 delete arg2;
18959 }
18960 return NULL;
18961}
18962
18963
c370783e 18964static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
18965 PyObject *resultobj;
18966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
18967 wxString *arg2 = 0 ;
18968 bool result;
b411df4a 18969 bool temp2 = false ;
d55e5bfc
RD
18970 PyObject * obj0 = 0 ;
18971 PyObject * obj1 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self",(char *) "help", NULL
18974 };
18975
18976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
18977 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
18978 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
18979 {
18980 arg2 = wxString_in_helper(obj1);
18981 if (arg2 == NULL) SWIG_fail;
b411df4a 18982 temp2 = true;
d55e5bfc
RD
18983 }
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
18987
18988 wxPyEndAllowThreads(__tstate);
18989 if (PyErr_Occurred()) SWIG_fail;
18990 }
18991 {
18992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18993 }
18994 {
18995 if (temp2)
18996 delete arg2;
18997 }
18998 return resultobj;
18999 fail:
19000 {
19001 if (temp2)
19002 delete arg2;
19003 }
19004 return NULL;
19005}
19006
19007
c370783e 19008static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19009 PyObject *resultobj;
19010 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19011 wxBitmap *arg2 = 0 ;
19012 PyObject * obj0 = 0 ;
19013 PyObject * obj1 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self",(char *) "bmp", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19019 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19020 if (SWIG_arg_fail(1)) SWIG_fail;
19021 {
19022 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19023 if (SWIG_arg_fail(2)) SWIG_fail;
19024 if (arg2 == NULL) {
19025 SWIG_null_ref("wxBitmap");
19026 }
19027 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040}
19041
19042
c370783e 19043static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19044 PyObject *resultobj;
19045 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19046 wxBitmap *arg2 = 0 ;
19047 PyObject * obj0 = 0 ;
19048 PyObject * obj1 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self",(char *) "bmp", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19054 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19055 if (SWIG_arg_fail(1)) SWIG_fail;
19056 {
19057 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19058 if (SWIG_arg_fail(2)) SWIG_fail;
19059 if (arg2 == NULL) {
19060 SWIG_null_ref("wxBitmap");
19061 }
19062 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19063 }
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 Py_INCREF(Py_None); resultobj = Py_None;
19072 return resultobj;
19073 fail:
19074 return NULL;
19075}
19076
19077
c370783e 19078static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19079 PyObject *resultobj;
19080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19081 wxString *arg2 = 0 ;
b411df4a 19082 bool temp2 = false ;
d55e5bfc
RD
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "label", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19091 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19092 {
19093 arg2 = wxString_in_helper(obj1);
19094 if (arg2 == NULL) SWIG_fail;
b411df4a 19095 temp2 = true;
d55e5bfc
RD
19096 }
19097 {
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 (arg1)->SetLabel((wxString const &)*arg2);
19100
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 Py_INCREF(Py_None); resultobj = Py_None;
19105 {
19106 if (temp2)
19107 delete arg2;
19108 }
19109 return resultobj;
19110 fail:
19111 {
19112 if (temp2)
19113 delete arg2;
19114 }
19115 return NULL;
19116}
19117
19118
c370783e 19119static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19120 PyObject *resultobj;
19121 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19122 PyObject * obj0 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
36ed4f51
RD
19128 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19129 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19130 {
19131 PyThreadState* __tstate = wxPyBeginAllowThreads();
19132 (arg1)->Detach();
19133
19134 wxPyEndAllowThreads(__tstate);
19135 if (PyErr_Occurred()) SWIG_fail;
19136 }
19137 Py_INCREF(Py_None); resultobj = Py_None;
19138 return resultobj;
19139 fail:
19140 return NULL;
19141}
19142
19143
c370783e 19144static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19145 PyObject *resultobj;
19146 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19147 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
19148 PyObject * obj0 = 0 ;
19149 PyObject * obj1 = 0 ;
19150 char *kwnames[] = {
19151 (char *) "self",(char *) "tbar", NULL
19152 };
19153
19154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19155 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19156 if (SWIG_arg_fail(1)) SWIG_fail;
19157 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19158 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 (arg1)->Attach(arg2);
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 Py_INCREF(Py_None); resultobj = Py_None;
19167 return resultobj;
19168 fail:
19169 return NULL;
19170}
19171
19172
c370783e 19173static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19174 PyObject *resultobj;
19175 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19176 PyObject *result;
19177 PyObject * obj0 = 0 ;
19178 char *kwnames[] = {
19179 (char *) "self", NULL
19180 };
19181
19182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
36ed4f51
RD
19183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19184 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 resultobj = result;
19193 return resultobj;
19194 fail:
19195 return NULL;
19196}
19197
19198
c370783e 19199static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19200 PyObject *resultobj;
19201 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
19202 PyObject *arg2 = (PyObject *) 0 ;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "clientData", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19210 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19211 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19212 arg2 = obj1;
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 wxToolBarToolBase_SetClientData(arg1,arg2);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 return resultobj;
19222 fail:
19223 return NULL;
19224}
19225
19226
c370783e 19227static PyObject * ToolBarToolBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
19228 PyObject *obj;
19229 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19230 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
19231 Py_INCREF(obj);
19232 return Py_BuildValue((char *)"");
19233}
c370783e 19234static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19235 PyObject *resultobj;
19236 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19237 int arg2 ;
19238 wxString *arg3 = 0 ;
19239 wxBitmap *arg4 = 0 ;
19240 wxBitmap const &arg5_defvalue = wxNullBitmap ;
19241 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
36ed4f51 19242 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19243 wxString const &arg7_defvalue = wxPyEmptyString ;
19244 wxString *arg7 = (wxString *) &arg7_defvalue ;
19245 wxString const &arg8_defvalue = wxPyEmptyString ;
19246 wxString *arg8 = (wxString *) &arg8_defvalue ;
19247 PyObject *arg9 = (PyObject *) NULL ;
19248 wxToolBarToolBase *result;
b411df4a
RD
19249 bool temp3 = false ;
19250 bool temp7 = false ;
19251 bool temp8 = false ;
d55e5bfc
RD
19252 PyObject * obj0 = 0 ;
19253 PyObject * obj1 = 0 ;
19254 PyObject * obj2 = 0 ;
19255 PyObject * obj3 = 0 ;
19256 PyObject * obj4 = 0 ;
19257 PyObject * obj5 = 0 ;
19258 PyObject * obj6 = 0 ;
19259 PyObject * obj7 = 0 ;
19260 PyObject * obj8 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
19266 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail;
19268 {
19269 arg2 = (int)(SWIG_As_int(obj1));
19270 if (SWIG_arg_fail(2)) SWIG_fail;
19271 }
d55e5bfc
RD
19272 {
19273 arg3 = wxString_in_helper(obj2);
19274 if (arg3 == NULL) SWIG_fail;
b411df4a 19275 temp3 = true;
d55e5bfc 19276 }
36ed4f51
RD
19277 {
19278 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19279 if (SWIG_arg_fail(4)) SWIG_fail;
19280 if (arg4 == NULL) {
19281 SWIG_null_ref("wxBitmap");
19282 }
19283 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
19284 }
19285 if (obj4) {
36ed4f51
RD
19286 {
19287 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19288 if (SWIG_arg_fail(5)) SWIG_fail;
19289 if (arg5 == NULL) {
19290 SWIG_null_ref("wxBitmap");
19291 }
19292 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19293 }
19294 }
19295 if (obj5) {
36ed4f51
RD
19296 {
19297 arg6 = (wxItemKind)(SWIG_As_int(obj5));
19298 if (SWIG_arg_fail(6)) SWIG_fail;
19299 }
d55e5bfc
RD
19300 }
19301 if (obj6) {
19302 {
19303 arg7 = wxString_in_helper(obj6);
19304 if (arg7 == NULL) SWIG_fail;
b411df4a 19305 temp7 = true;
d55e5bfc
RD
19306 }
19307 }
19308 if (obj7) {
19309 {
19310 arg8 = wxString_in_helper(obj7);
19311 if (arg8 == NULL) SWIG_fail;
b411df4a 19312 temp8 = true;
d55e5bfc
RD
19313 }
19314 }
19315 if (obj8) {
19316 arg9 = obj8;
19317 }
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 {
412d302d 19326 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19327 }
19328 {
19329 if (temp3)
19330 delete arg3;
19331 }
19332 {
19333 if (temp7)
19334 delete arg7;
19335 }
19336 {
19337 if (temp8)
19338 delete arg8;
19339 }
19340 return resultobj;
19341 fail:
19342 {
19343 if (temp3)
19344 delete arg3;
19345 }
19346 {
19347 if (temp7)
19348 delete arg7;
19349 }
19350 {
19351 if (temp8)
19352 delete arg8;
19353 }
19354 return NULL;
19355}
19356
19357
c370783e 19358static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19359 PyObject *resultobj;
19360 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19361 size_t arg2 ;
19362 int arg3 ;
19363 wxString *arg4 = 0 ;
19364 wxBitmap *arg5 = 0 ;
19365 wxBitmap const &arg6_defvalue = wxNullBitmap ;
19366 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
36ed4f51 19367 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
d55e5bfc
RD
19368 wxString const &arg8_defvalue = wxPyEmptyString ;
19369 wxString *arg8 = (wxString *) &arg8_defvalue ;
19370 wxString const &arg9_defvalue = wxPyEmptyString ;
19371 wxString *arg9 = (wxString *) &arg9_defvalue ;
19372 PyObject *arg10 = (PyObject *) NULL ;
19373 wxToolBarToolBase *result;
b411df4a
RD
19374 bool temp4 = false ;
19375 bool temp8 = false ;
19376 bool temp9 = false ;
d55e5bfc
RD
19377 PyObject * obj0 = 0 ;
19378 PyObject * obj1 = 0 ;
19379 PyObject * obj2 = 0 ;
19380 PyObject * obj3 = 0 ;
19381 PyObject * obj4 = 0 ;
19382 PyObject * obj5 = 0 ;
19383 PyObject * obj6 = 0 ;
19384 PyObject * obj7 = 0 ;
19385 PyObject * obj8 = 0 ;
19386 PyObject * obj9 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
19392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19393 if (SWIG_arg_fail(1)) SWIG_fail;
19394 {
19395 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19396 if (SWIG_arg_fail(2)) SWIG_fail;
19397 }
19398 {
19399 arg3 = (int)(SWIG_As_int(obj2));
19400 if (SWIG_arg_fail(3)) SWIG_fail;
19401 }
d55e5bfc
RD
19402 {
19403 arg4 = wxString_in_helper(obj3);
19404 if (arg4 == NULL) SWIG_fail;
b411df4a 19405 temp4 = true;
d55e5bfc 19406 }
36ed4f51
RD
19407 {
19408 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19409 if (SWIG_arg_fail(5)) SWIG_fail;
19410 if (arg5 == NULL) {
19411 SWIG_null_ref("wxBitmap");
19412 }
19413 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
19414 }
19415 if (obj5) {
36ed4f51
RD
19416 {
19417 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
19418 if (SWIG_arg_fail(6)) SWIG_fail;
19419 if (arg6 == NULL) {
19420 SWIG_null_ref("wxBitmap");
19421 }
19422 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
19423 }
19424 }
19425 if (obj6) {
36ed4f51
RD
19426 {
19427 arg7 = (wxItemKind)(SWIG_As_int(obj6));
19428 if (SWIG_arg_fail(7)) SWIG_fail;
19429 }
d55e5bfc
RD
19430 }
19431 if (obj7) {
19432 {
19433 arg8 = wxString_in_helper(obj7);
19434 if (arg8 == NULL) SWIG_fail;
b411df4a 19435 temp8 = true;
d55e5bfc
RD
19436 }
19437 }
19438 if (obj8) {
19439 {
19440 arg9 = wxString_in_helper(obj8);
19441 if (arg9 == NULL) SWIG_fail;
b411df4a 19442 temp9 = true;
d55e5bfc
RD
19443 }
19444 }
19445 if (obj9) {
19446 arg10 = obj9;
19447 }
19448 {
19449 PyThreadState* __tstate = wxPyBeginAllowThreads();
19450 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,(wxItemKind )arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
19451
19452 wxPyEndAllowThreads(__tstate);
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
19455 {
412d302d 19456 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19457 }
19458 {
19459 if (temp4)
19460 delete arg4;
19461 }
19462 {
19463 if (temp8)
19464 delete arg8;
19465 }
19466 {
19467 if (temp9)
19468 delete arg9;
19469 }
19470 return resultobj;
19471 fail:
19472 {
19473 if (temp4)
19474 delete arg4;
19475 }
19476 {
19477 if (temp8)
19478 delete arg8;
19479 }
19480 {
19481 if (temp9)
19482 delete arg9;
19483 }
19484 return NULL;
19485}
19486
19487
c370783e 19488static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19489 PyObject *resultobj;
19490 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19491 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
19492 wxToolBarToolBase *result;
19493 PyObject * obj0 = 0 ;
19494 PyObject * obj1 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self",(char *) "tool", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19500 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail;
19502 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19503 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 {
412d302d 19512 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19513 }
19514 return resultobj;
19515 fail:
19516 return NULL;
19517}
19518
19519
c370783e 19520static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19521 PyObject *resultobj;
19522 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19523 size_t arg2 ;
19524 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
19525 wxToolBarToolBase *result;
19526 PyObject * obj0 = 0 ;
19527 PyObject * obj1 = 0 ;
19528 PyObject * obj2 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self",(char *) "pos",(char *) "tool", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19534 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19535 if (SWIG_arg_fail(1)) SWIG_fail;
19536 {
19537 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19538 if (SWIG_arg_fail(2)) SWIG_fail;
19539 }
19540 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxToolBarToolBase, SWIG_POINTER_EXCEPTION | 0);
19541 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 {
412d302d 19550 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19551 }
19552 return resultobj;
19553 fail:
19554 return NULL;
19555}
19556
19557
c370783e 19558static PyObject *_wrap_ToolBarBase_AddControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19559 PyObject *resultobj;
19560 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19561 wxControl *arg2 = (wxControl *) 0 ;
19562 wxToolBarToolBase *result;
19563 PyObject * obj0 = 0 ;
19564 PyObject * obj1 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self",(char *) "control", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19570 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19571 if (SWIG_arg_fail(1)) SWIG_fail;
19572 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19573 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 {
412d302d 19582 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19583 }
19584 return resultobj;
19585 fail:
19586 return NULL;
19587}
19588
19589
c370783e 19590static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19591 PyObject *resultobj;
19592 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19593 size_t arg2 ;
19594 wxControl *arg3 = (wxControl *) 0 ;
19595 wxToolBarToolBase *result;
19596 PyObject * obj0 = 0 ;
19597 PyObject * obj1 = 0 ;
19598 PyObject * obj2 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "pos",(char *) "control", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19605 if (SWIG_arg_fail(1)) SWIG_fail;
19606 {
19607 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19608 if (SWIG_arg_fail(2)) SWIG_fail;
19609 }
19610 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxControl, SWIG_POINTER_EXCEPTION | 0);
19611 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 {
412d302d 19620 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19621 }
19622 return resultobj;
19623 fail:
19624 return NULL;
19625}
19626
19627
c370783e 19628static PyObject *_wrap_ToolBarBase_FindControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19629 PyObject *resultobj;
19630 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19631 int arg2 ;
19632 wxControl *result;
19633 PyObject * obj0 = 0 ;
19634 PyObject * obj1 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self",(char *) "id", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19641 if (SWIG_arg_fail(1)) SWIG_fail;
19642 {
19643 arg2 = (int)(SWIG_As_int(obj1));
19644 if (SWIG_arg_fail(2)) SWIG_fail;
19645 }
d55e5bfc
RD
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 result = (wxControl *)(arg1)->FindControl(arg2);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 {
412d302d 19654 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19655 }
19656 return resultobj;
19657 fail:
19658 return NULL;
19659}
19660
19661
c370783e 19662static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19663 PyObject *resultobj;
19664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19665 wxToolBarToolBase *result;
19666 PyObject * obj0 = 0 ;
19667 char *kwnames[] = {
19668 (char *) "self", NULL
19669 };
19670
19671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
36ed4f51
RD
19672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
19677
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 {
412d302d 19682 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19683 }
19684 return resultobj;
19685 fail:
19686 return NULL;
19687}
19688
19689
c370783e 19690static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19691 PyObject *resultobj;
19692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19693 size_t arg2 ;
19694 wxToolBarToolBase *result;
19695 PyObject * obj0 = 0 ;
19696 PyObject * obj1 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self",(char *) "pos", NULL
19699 };
19700
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19703 if (SWIG_arg_fail(1)) SWIG_fail;
19704 {
19705 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19706 if (SWIG_arg_fail(2)) SWIG_fail;
19707 }
d55e5bfc
RD
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 {
412d302d 19716 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19717 }
19718 return resultobj;
19719 fail:
19720 return NULL;
19721}
19722
19723
c370783e 19724static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19725 PyObject *resultobj;
19726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19727 int arg2 ;
19728 wxToolBarToolBase *result;
19729 PyObject * obj0 = 0 ;
19730 PyObject * obj1 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self",(char *) "id", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19736 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail;
19738 {
19739 arg2 = (int)(SWIG_As_int(obj1));
19740 if (SWIG_arg_fail(2)) SWIG_fail;
19741 }
d55e5bfc
RD
19742 {
19743 PyThreadState* __tstate = wxPyBeginAllowThreads();
19744 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
19745
19746 wxPyEndAllowThreads(__tstate);
19747 if (PyErr_Occurred()) SWIG_fail;
19748 }
19749 {
412d302d 19750 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
19751 }
19752 return resultobj;
19753 fail:
19754 return NULL;
19755}
19756
19757
c370783e 19758static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19759 PyObject *resultobj;
19760 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19761 size_t arg2 ;
19762 bool result;
19763 PyObject * obj0 = 0 ;
19764 PyObject * obj1 = 0 ;
19765 char *kwnames[] = {
19766 (char *) "self",(char *) "pos", NULL
19767 };
19768
19769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail;
19772 {
19773 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
19774 if (SWIG_arg_fail(2)) SWIG_fail;
19775 }
d55e5bfc
RD
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (bool)(arg1)->DeleteToolByPos(arg2);
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19785 }
19786 return resultobj;
19787 fail:
19788 return NULL;
19789}
19790
19791
c370783e 19792static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19793 PyObject *resultobj;
19794 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19795 int arg2 ;
19796 bool result;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "id", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
19804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19805 if (SWIG_arg_fail(1)) SWIG_fail;
19806 {
19807 arg2 = (int)(SWIG_As_int(obj1));
19808 if (SWIG_arg_fail(2)) SWIG_fail;
19809 }
d55e5bfc
RD
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 result = (bool)(arg1)->DeleteTool(arg2);
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 {
19818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19819 }
19820 return resultobj;
19821 fail:
19822 return NULL;
19823}
19824
19825
c370783e 19826static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19827 PyObject *resultobj;
19828 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19829 PyObject * obj0 = 0 ;
19830 char *kwnames[] = {
19831 (char *) "self", NULL
19832 };
19833
19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
36ed4f51
RD
19835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19836 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 (arg1)->ClearTools();
19840
19841 wxPyEndAllowThreads(__tstate);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 Py_INCREF(Py_None); resultobj = Py_None;
19845 return resultobj;
19846 fail:
19847 return NULL;
19848}
19849
19850
c370783e 19851static PyObject *_wrap_ToolBarBase_Realize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19852 PyObject *resultobj;
19853 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19854 bool result;
19855 PyObject * obj0 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
36ed4f51
RD
19861 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
19863 {
19864 PyThreadState* __tstate = wxPyBeginAllowThreads();
19865 result = (bool)(arg1)->Realize();
19866
19867 wxPyEndAllowThreads(__tstate);
19868 if (PyErr_Occurred()) SWIG_fail;
19869 }
19870 {
19871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19872 }
19873 return resultobj;
19874 fail:
19875 return NULL;
19876}
19877
19878
c370783e 19879static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19880 PyObject *resultobj;
19881 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19882 int arg2 ;
19883 bool arg3 ;
19884 PyObject * obj0 = 0 ;
19885 PyObject * obj1 = 0 ;
19886 PyObject * obj2 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self",(char *) "id",(char *) "enable", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19893 if (SWIG_arg_fail(1)) SWIG_fail;
19894 {
19895 arg2 = (int)(SWIG_As_int(obj1));
19896 if (SWIG_arg_fail(2)) SWIG_fail;
19897 }
19898 {
19899 arg3 = (bool)(SWIG_As_bool(obj2));
19900 if (SWIG_arg_fail(3)) SWIG_fail;
19901 }
d55e5bfc
RD
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 (arg1)->EnableTool(arg2,arg3);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 Py_INCREF(Py_None); resultobj = Py_None;
19910 return resultobj;
19911 fail:
19912 return NULL;
19913}
19914
19915
c370783e 19916static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19917 PyObject *resultobj;
19918 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19919 int arg2 ;
19920 bool arg3 ;
19921 PyObject * obj0 = 0 ;
19922 PyObject * obj1 = 0 ;
19923 PyObject * obj2 = 0 ;
19924 char *kwnames[] = {
19925 (char *) "self",(char *) "id",(char *) "toggle", NULL
19926 };
19927
19928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19929 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19930 if (SWIG_arg_fail(1)) SWIG_fail;
19931 {
19932 arg2 = (int)(SWIG_As_int(obj1));
19933 if (SWIG_arg_fail(2)) SWIG_fail;
19934 }
19935 {
19936 arg3 = (bool)(SWIG_As_bool(obj2));
19937 if (SWIG_arg_fail(3)) SWIG_fail;
19938 }
d55e5bfc
RD
19939 {
19940 PyThreadState* __tstate = wxPyBeginAllowThreads();
19941 (arg1)->ToggleTool(arg2,arg3);
19942
19943 wxPyEndAllowThreads(__tstate);
19944 if (PyErr_Occurred()) SWIG_fail;
19945 }
19946 Py_INCREF(Py_None); resultobj = Py_None;
19947 return resultobj;
19948 fail:
19949 return NULL;
19950}
19951
19952
c370783e 19953static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19954 PyObject *resultobj;
19955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19956 int arg2 ;
19957 bool arg3 ;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960 PyObject * obj2 = 0 ;
19961 char *kwnames[] = {
19962 (char *) "self",(char *) "id",(char *) "toggle", NULL
19963 };
19964
19965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
19966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail;
19968 {
19969 arg2 = (int)(SWIG_As_int(obj1));
19970 if (SWIG_arg_fail(2)) SWIG_fail;
19971 }
19972 {
19973 arg3 = (bool)(SWIG_As_bool(obj2));
19974 if (SWIG_arg_fail(3)) SWIG_fail;
19975 }
d55e5bfc
RD
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->SetToggle(arg2,arg3);
19979
19980 wxPyEndAllowThreads(__tstate);
19981 if (PyErr_Occurred()) SWIG_fail;
19982 }
19983 Py_INCREF(Py_None); resultobj = Py_None;
19984 return resultobj;
19985 fail:
19986 return NULL;
19987}
19988
19989
c370783e 19990static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
19991 PyObject *resultobj;
19992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
19993 int arg2 ;
19994 PyObject *result;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "id", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail;
20004 {
20005 arg2 = (int)(SWIG_As_int(obj1));
20006 if (SWIG_arg_fail(2)) SWIG_fail;
20007 }
d55e5bfc
RD
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 resultobj = result;
20016 return resultobj;
20017 fail:
20018 return NULL;
20019}
20020
20021
c370783e 20022static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20023 PyObject *resultobj;
20024 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20025 int arg2 ;
20026 PyObject *arg3 = (PyObject *) 0 ;
20027 PyObject * obj0 = 0 ;
20028 PyObject * obj1 = 0 ;
20029 PyObject * obj2 = 0 ;
20030 char *kwnames[] = {
20031 (char *) "self",(char *) "id",(char *) "clientData", NULL
20032 };
20033
20034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20035 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20036 if (SWIG_arg_fail(1)) SWIG_fail;
20037 {
20038 arg2 = (int)(SWIG_As_int(obj1));
20039 if (SWIG_arg_fail(2)) SWIG_fail;
20040 }
d55e5bfc
RD
20041 arg3 = obj2;
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 Py_INCREF(Py_None); resultobj = Py_None;
20050 return resultobj;
20051 fail:
20052 return NULL;
20053}
20054
20055
c370783e 20056static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20057 PyObject *resultobj;
20058 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20059 int arg2 ;
20060 int result;
20061 PyObject * obj0 = 0 ;
20062 PyObject * obj1 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self",(char *) "id", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20068 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20069 if (SWIG_arg_fail(1)) SWIG_fail;
20070 {
20071 arg2 = (int)(SWIG_As_int(obj1));
20072 if (SWIG_arg_fail(2)) SWIG_fail;
20073 }
d55e5bfc
RD
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
36ed4f51
RD
20081 {
20082 resultobj = SWIG_From_int((int)(result));
20083 }
d55e5bfc
RD
20084 return resultobj;
20085 fail:
20086 return NULL;
20087}
20088
20089
c370783e 20090static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20091 PyObject *resultobj;
20092 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20093 int arg2 ;
20094 bool result;
20095 PyObject * obj0 = 0 ;
20096 PyObject * obj1 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self",(char *) "id", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20103 if (SWIG_arg_fail(1)) SWIG_fail;
20104 {
20105 arg2 = (int)(SWIG_As_int(obj1));
20106 if (SWIG_arg_fail(2)) SWIG_fail;
20107 }
d55e5bfc
RD
20108 {
20109 PyThreadState* __tstate = wxPyBeginAllowThreads();
20110 result = (bool)(arg1)->GetToolState(arg2);
20111
20112 wxPyEndAllowThreads(__tstate);
20113 if (PyErr_Occurred()) SWIG_fail;
20114 }
20115 {
20116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20117 }
20118 return resultobj;
20119 fail:
20120 return NULL;
20121}
20122
20123
c370783e 20124static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20125 PyObject *resultobj;
20126 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20127 int arg2 ;
20128 bool result;
20129 PyObject * obj0 = 0 ;
20130 PyObject * obj1 = 0 ;
20131 char *kwnames[] = {
20132 (char *) "self",(char *) "id", NULL
20133 };
20134
20135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20136 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20137 if (SWIG_arg_fail(1)) SWIG_fail;
20138 {
20139 arg2 = (int)(SWIG_As_int(obj1));
20140 if (SWIG_arg_fail(2)) SWIG_fail;
20141 }
d55e5bfc
RD
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (bool)(arg1)->GetToolEnabled(arg2);
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 {
20150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20151 }
20152 return resultobj;
20153 fail:
20154 return NULL;
20155}
20156
20157
c370783e 20158static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20159 PyObject *resultobj;
20160 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20161 int arg2 ;
20162 wxString *arg3 = 0 ;
b411df4a 20163 bool temp3 = false ;
d55e5bfc
RD
20164 PyObject * obj0 = 0 ;
20165 PyObject * obj1 = 0 ;
20166 PyObject * obj2 = 0 ;
20167 char *kwnames[] = {
20168 (char *) "self",(char *) "id",(char *) "helpString", NULL
20169 };
20170
20171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20173 if (SWIG_arg_fail(1)) SWIG_fail;
20174 {
20175 arg2 = (int)(SWIG_As_int(obj1));
20176 if (SWIG_arg_fail(2)) SWIG_fail;
20177 }
d55e5bfc
RD
20178 {
20179 arg3 = wxString_in_helper(obj2);
20180 if (arg3 == NULL) SWIG_fail;
b411df4a 20181 temp3 = true;
d55e5bfc
RD
20182 }
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 Py_INCREF(Py_None); resultobj = Py_None;
20191 {
20192 if (temp3)
20193 delete arg3;
20194 }
20195 return resultobj;
20196 fail:
20197 {
20198 if (temp3)
20199 delete arg3;
20200 }
20201 return NULL;
20202}
20203
20204
c370783e 20205static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20206 PyObject *resultobj;
20207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20208 int arg2 ;
20209 wxString result;
20210 PyObject * obj0 = 0 ;
20211 PyObject * obj1 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self",(char *) "id", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail;
20219 {
20220 arg2 = (int)(SWIG_As_int(obj1));
20221 if (SWIG_arg_fail(2)) SWIG_fail;
20222 }
d55e5bfc
RD
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 result = (arg1)->GetToolShortHelp(arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 {
20231#if wxUSE_UNICODE
20232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20233#else
20234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20235#endif
20236 }
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
c370783e 20243static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20244 PyObject *resultobj;
20245 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20246 int arg2 ;
20247 wxString *arg3 = 0 ;
b411df4a 20248 bool temp3 = false ;
d55e5bfc
RD
20249 PyObject * obj0 = 0 ;
20250 PyObject * obj1 = 0 ;
20251 PyObject * obj2 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "id",(char *) "helpString", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20258 if (SWIG_arg_fail(1)) SWIG_fail;
20259 {
20260 arg2 = (int)(SWIG_As_int(obj1));
20261 if (SWIG_arg_fail(2)) SWIG_fail;
20262 }
d55e5bfc
RD
20263 {
20264 arg3 = wxString_in_helper(obj2);
20265 if (arg3 == NULL) SWIG_fail;
b411df4a 20266 temp3 = true;
d55e5bfc
RD
20267 }
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
20271
20272 wxPyEndAllowThreads(__tstate);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 }
20275 Py_INCREF(Py_None); resultobj = Py_None;
20276 {
20277 if (temp3)
20278 delete arg3;
20279 }
20280 return resultobj;
20281 fail:
20282 {
20283 if (temp3)
20284 delete arg3;
20285 }
20286 return NULL;
20287}
20288
20289
c370783e 20290static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20291 PyObject *resultobj;
20292 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20293 int arg2 ;
20294 wxString result;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "id", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20302 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20303 if (SWIG_arg_fail(1)) SWIG_fail;
20304 {
20305 arg2 = (int)(SWIG_As_int(obj1));
20306 if (SWIG_arg_fail(2)) SWIG_fail;
20307 }
d55e5bfc
RD
20308 {
20309 PyThreadState* __tstate = wxPyBeginAllowThreads();
20310 result = (arg1)->GetToolLongHelp(arg2);
20311
20312 wxPyEndAllowThreads(__tstate);
20313 if (PyErr_Occurred()) SWIG_fail;
20314 }
20315 {
20316#if wxUSE_UNICODE
20317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20318#else
20319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20320#endif
20321 }
20322 return resultobj;
20323 fail:
20324 return NULL;
20325}
20326
20327
c370783e 20328static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20329 PyObject *resultobj;
20330 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20331 int arg2 ;
20332 int arg3 ;
20333 PyObject * obj0 = 0 ;
20334 PyObject * obj1 = 0 ;
20335 PyObject * obj2 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self",(char *) "x",(char *) "y", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20341 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20342 if (SWIG_arg_fail(1)) SWIG_fail;
20343 {
20344 arg2 = (int)(SWIG_As_int(obj1));
20345 if (SWIG_arg_fail(2)) SWIG_fail;
20346 }
20347 {
20348 arg3 = (int)(SWIG_As_int(obj2));
20349 if (SWIG_arg_fail(3)) SWIG_fail;
20350 }
d55e5bfc
RD
20351 {
20352 PyThreadState* __tstate = wxPyBeginAllowThreads();
20353 (arg1)->SetMargins(arg2,arg3);
20354
20355 wxPyEndAllowThreads(__tstate);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 }
20358 Py_INCREF(Py_None); resultobj = Py_None;
20359 return resultobj;
20360 fail:
20361 return NULL;
20362}
20363
20364
c370783e 20365static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20366 PyObject *resultobj;
20367 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20368 wxSize *arg2 = 0 ;
20369 wxSize temp2 ;
20370 PyObject * obj0 = 0 ;
20371 PyObject * obj1 = 0 ;
20372 char *kwnames[] = {
20373 (char *) "self",(char *) "size", NULL
20374 };
20375
20376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20379 {
20380 arg2 = &temp2;
20381 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20382 }
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 (arg1)->SetMargins((wxSize const &)*arg2);
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 Py_INCREF(Py_None); resultobj = Py_None;
20391 return resultobj;
20392 fail:
20393 return NULL;
20394}
20395
20396
c370783e 20397static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20398 PyObject *resultobj;
20399 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20400 int arg2 ;
20401 PyObject * obj0 = 0 ;
20402 PyObject * obj1 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self",(char *) "packing", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20409 if (SWIG_arg_fail(1)) SWIG_fail;
20410 {
20411 arg2 = (int)(SWIG_As_int(obj1));
20412 if (SWIG_arg_fail(2)) SWIG_fail;
20413 }
d55e5bfc
RD
20414 {
20415 PyThreadState* __tstate = wxPyBeginAllowThreads();
20416 (arg1)->SetToolPacking(arg2);
20417
20418 wxPyEndAllowThreads(__tstate);
20419 if (PyErr_Occurred()) SWIG_fail;
20420 }
20421 Py_INCREF(Py_None); resultobj = Py_None;
20422 return resultobj;
20423 fail:
20424 return NULL;
20425}
20426
20427
c370783e 20428static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20429 PyObject *resultobj;
20430 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20431 int arg2 ;
20432 PyObject * obj0 = 0 ;
20433 PyObject * obj1 = 0 ;
20434 char *kwnames[] = {
20435 (char *) "self",(char *) "separation", NULL
20436 };
20437
20438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20440 if (SWIG_arg_fail(1)) SWIG_fail;
20441 {
20442 arg2 = (int)(SWIG_As_int(obj1));
20443 if (SWIG_arg_fail(2)) SWIG_fail;
20444 }
d55e5bfc
RD
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 (arg1)->SetToolSeparation(arg2);
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 Py_INCREF(Py_None); resultobj = Py_None;
20453 return resultobj;
20454 fail:
20455 return NULL;
20456}
20457
20458
c370783e 20459static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20460 PyObject *resultobj;
20461 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20462 wxSize result;
20463 PyObject * obj0 = 0 ;
20464 char *kwnames[] = {
20465 (char *) "self", NULL
20466 };
20467
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (arg1)->GetToolMargins();
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 {
20479 wxSize * resultptr;
36ed4f51 20480 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20481 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20482 }
20483 return resultobj;
20484 fail:
20485 return NULL;
20486}
20487
20488
c370783e 20489static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20490 PyObject *resultobj;
20491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20492 wxSize result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
36ed4f51
RD
20499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20500 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (arg1)->GetMargins();
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 {
20509 wxSize * resultptr;
36ed4f51 20510 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20511 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20512 }
20513 return resultobj;
20514 fail:
20515 return NULL;
20516}
20517
20518
c370783e 20519static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20520 PyObject *resultobj;
20521 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20522 int result;
20523 PyObject * obj0 = 0 ;
20524 char *kwnames[] = {
20525 (char *) "self", NULL
20526 };
20527
20528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
36ed4f51
RD
20529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20531 {
20532 PyThreadState* __tstate = wxPyBeginAllowThreads();
20533 result = (int)(arg1)->GetToolPacking();
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
36ed4f51
RD
20538 {
20539 resultobj = SWIG_From_int((int)(result));
20540 }
d55e5bfc
RD
20541 return resultobj;
20542 fail:
20543 return NULL;
20544}
20545
20546
c370783e 20547static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20548 PyObject *resultobj;
20549 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20550 int result;
20551 PyObject * obj0 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
36ed4f51
RD
20557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (int)(arg1)->GetToolSeparation();
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
36ed4f51
RD
20566 {
20567 resultobj = SWIG_From_int((int)(result));
20568 }
d55e5bfc
RD
20569 return resultobj;
20570 fail:
20571 return NULL;
20572}
20573
20574
c370783e 20575static PyObject *_wrap_ToolBarBase_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20576 PyObject *resultobj;
20577 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20578 int arg2 ;
20579 PyObject * obj0 = 0 ;
20580 PyObject * obj1 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "nRows", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20587 if (SWIG_arg_fail(1)) SWIG_fail;
20588 {
20589 arg2 = (int)(SWIG_As_int(obj1));
20590 if (SWIG_arg_fail(2)) SWIG_fail;
20591 }
d55e5bfc
RD
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 (arg1)->SetRows(arg2);
20595
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 Py_INCREF(Py_None); resultobj = Py_None;
20600 return resultobj;
20601 fail:
20602 return NULL;
20603}
20604
20605
c370783e 20606static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20607 PyObject *resultobj;
20608 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20609 int arg2 ;
20610 int arg3 ;
20611 PyObject * obj0 = 0 ;
20612 PyObject * obj1 = 0 ;
20613 PyObject * obj2 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self",(char *) "rows",(char *) "cols", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20620 if (SWIG_arg_fail(1)) SWIG_fail;
20621 {
20622 arg2 = (int)(SWIG_As_int(obj1));
20623 if (SWIG_arg_fail(2)) SWIG_fail;
20624 }
20625 {
20626 arg3 = (int)(SWIG_As_int(obj2));
20627 if (SWIG_arg_fail(3)) SWIG_fail;
20628 }
d55e5bfc
RD
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 (arg1)->SetMaxRowsCols(arg2,arg3);
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 Py_INCREF(Py_None); resultobj = Py_None;
20637 return resultobj;
20638 fail:
20639 return NULL;
20640}
20641
20642
c370783e 20643static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20644 PyObject *resultobj;
20645 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20646 int result;
20647 PyObject * obj0 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
36ed4f51
RD
20653 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20654 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (int)(arg1)->GetMaxRows();
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
36ed4f51
RD
20662 {
20663 resultobj = SWIG_From_int((int)(result));
20664 }
d55e5bfc
RD
20665 return resultobj;
20666 fail:
20667 return NULL;
20668}
20669
20670
c370783e 20671static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20672 PyObject *resultobj;
20673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20674 int result;
20675 PyObject * obj0 = 0 ;
20676 char *kwnames[] = {
20677 (char *) "self", NULL
20678 };
20679
20680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
36ed4f51
RD
20681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20682 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (int)(arg1)->GetMaxCols();
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
36ed4f51
RD
20690 {
20691 resultobj = SWIG_From_int((int)(result));
20692 }
d55e5bfc
RD
20693 return resultobj;
20694 fail:
20695 return NULL;
20696}
20697
20698
c370783e 20699static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20700 PyObject *resultobj;
20701 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20702 wxSize *arg2 = 0 ;
20703 wxSize temp2 ;
20704 PyObject * obj0 = 0 ;
20705 PyObject * obj1 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self",(char *) "size", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20713 {
20714 arg2 = &temp2;
20715 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20716 }
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 Py_INCREF(Py_None); resultobj = Py_None;
20725 return resultobj;
20726 fail:
20727 return NULL;
20728}
20729
20730
c370783e 20731static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20732 PyObject *resultobj;
20733 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20734 wxSize result;
20735 PyObject * obj0 = 0 ;
20736 char *kwnames[] = {
20737 (char *) "self", NULL
20738 };
20739
20740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20742 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 result = (arg1)->GetToolBitmapSize();
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 {
20751 wxSize * resultptr;
36ed4f51 20752 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20754 }
20755 return resultobj;
20756 fail:
20757 return NULL;
20758}
20759
20760
c370783e 20761static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20762 PyObject *resultobj;
20763 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20764 wxSize result;
20765 PyObject * obj0 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
20771 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20772 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 result = (arg1)->GetToolSize();
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 {
20781 wxSize * resultptr;
36ed4f51 20782 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
20783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
20784 }
20785 return resultobj;
20786 fail:
20787 return NULL;
20788}
20789
20790
c370783e 20791static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20792 PyObject *resultobj;
20793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20794 int arg2 ;
20795 int arg3 ;
20796 wxToolBarToolBase *result;
20797 PyObject * obj0 = 0 ;
20798 PyObject * obj1 = 0 ;
20799 PyObject * obj2 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self",(char *) "x",(char *) "y", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
20805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20806 if (SWIG_arg_fail(1)) SWIG_fail;
20807 {
20808 arg2 = (int)(SWIG_As_int(obj1));
20809 if (SWIG_arg_fail(2)) SWIG_fail;
20810 }
20811 {
20812 arg3 = (int)(SWIG_As_int(obj2));
20813 if (SWIG_arg_fail(3)) SWIG_fail;
20814 }
d55e5bfc
RD
20815 {
20816 PyThreadState* __tstate = wxPyBeginAllowThreads();
20817 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
20818
20819 wxPyEndAllowThreads(__tstate);
20820 if (PyErr_Occurred()) SWIG_fail;
20821 }
20822 {
412d302d 20823 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20824 }
20825 return resultobj;
20826 fail:
20827 return NULL;
20828}
20829
20830
c370783e 20831static PyObject *_wrap_ToolBarBase_FindById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20832 PyObject *resultobj;
20833 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20834 int arg2 ;
20835 wxToolBarToolBase *result;
20836 PyObject * obj0 = 0 ;
20837 PyObject * obj1 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self",(char *) "toolid", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
20843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20844 if (SWIG_arg_fail(1)) SWIG_fail;
20845 {
20846 arg2 = (int)(SWIG_As_int(obj1));
20847 if (SWIG_arg_fail(2)) SWIG_fail;
20848 }
d55e5bfc
RD
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
20852
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
412d302d 20857 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
20858 }
20859 return resultobj;
20860 fail:
20861 return NULL;
20862}
20863
20864
c370783e 20865static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20866 PyObject *resultobj;
20867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
20868 bool result;
20869 PyObject * obj0 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
36ed4f51
RD
20875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBarBase, SWIG_POINTER_EXCEPTION | 0);
20876 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (bool)(arg1)->IsVertical();
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 {
20885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20886 }
20887 return resultobj;
20888 fail:
20889 return NULL;
20890}
20891
20892
c370783e 20893static PyObject * ToolBarBase_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
20894 PyObject *obj;
20895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20896 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
20897 Py_INCREF(obj);
20898 return Py_BuildValue((char *)"");
20899}
c370783e 20900static PyObject *_wrap_new_ToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20901 PyObject *resultobj;
20902 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 20903 int arg2 = (int) -1 ;
d55e5bfc
RD
20904 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20905 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20906 wxSize const &arg4_defvalue = wxDefaultSize ;
20907 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20908 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
20909 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
20910 wxString *arg6 = (wxString *) &arg6_defvalue ;
20911 wxToolBar *result;
20912 wxPoint temp3 ;
20913 wxSize temp4 ;
b411df4a 20914 bool temp6 = false ;
d55e5bfc
RD
20915 PyObject * obj0 = 0 ;
20916 PyObject * obj1 = 0 ;
20917 PyObject * obj2 = 0 ;
20918 PyObject * obj3 = 0 ;
20919 PyObject * obj4 = 0 ;
20920 PyObject * obj5 = 0 ;
20921 char *kwnames[] = {
20922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20923 };
20924
bfddbb17 20925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
20926 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
20927 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 20928 if (obj1) {
36ed4f51
RD
20929 {
20930 arg2 = (int)(SWIG_As_int(obj1));
20931 if (SWIG_arg_fail(2)) SWIG_fail;
20932 }
bfddbb17 20933 }
d55e5bfc
RD
20934 if (obj2) {
20935 {
20936 arg3 = &temp3;
20937 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20938 }
20939 }
20940 if (obj3) {
20941 {
20942 arg4 = &temp4;
20943 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20944 }
20945 }
20946 if (obj4) {
36ed4f51
RD
20947 {
20948 arg5 = (long)(SWIG_As_long(obj4));
20949 if (SWIG_arg_fail(5)) SWIG_fail;
20950 }
d55e5bfc
RD
20951 }
20952 if (obj5) {
20953 {
20954 arg6 = wxString_in_helper(obj5);
20955 if (arg6 == NULL) SWIG_fail;
b411df4a 20956 temp6 = true;
d55e5bfc
RD
20957 }
20958 }
20959 {
0439c23b 20960 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20963
20964 wxPyEndAllowThreads(__tstate);
110da5b0 20965 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 20966 }
b0f7404b 20967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
20968 {
20969 if (temp6)
20970 delete arg6;
20971 }
20972 return resultobj;
20973 fail:
20974 {
20975 if (temp6)
20976 delete arg6;
20977 }
20978 return NULL;
20979}
20980
20981
c370783e 20982static PyObject *_wrap_new_PreToolBar(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
20983 PyObject *resultobj;
20984 wxToolBar *result;
20985 char *kwnames[] = {
20986 NULL
20987 };
20988
20989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
20990 {
0439c23b 20991 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
20992 PyThreadState* __tstate = wxPyBeginAllowThreads();
20993 result = (wxToolBar *)new wxToolBar();
20994
20995 wxPyEndAllowThreads(__tstate);
110da5b0 20996 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 20997 }
b0f7404b 20998 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToolBar, 1);
d55e5bfc
RD
20999 return resultobj;
21000 fail:
21001 return NULL;
21002}
21003
21004
c370783e 21005static PyObject *_wrap_ToolBar_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21006 PyObject *resultobj;
21007 wxToolBar *arg1 = (wxToolBar *) 0 ;
21008 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 21009 int arg3 = (int) -1 ;
d55e5bfc
RD
21010 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21011 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21012 wxSize const &arg5_defvalue = wxDefaultSize ;
21013 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21014 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
21015 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
21016 wxString *arg7 = (wxString *) &arg7_defvalue ;
21017 bool result;
21018 wxPoint temp4 ;
21019 wxSize temp5 ;
b411df4a 21020 bool temp7 = false ;
d55e5bfc
RD
21021 PyObject * obj0 = 0 ;
21022 PyObject * obj1 = 0 ;
21023 PyObject * obj2 = 0 ;
21024 PyObject * obj3 = 0 ;
21025 PyObject * obj4 = 0 ;
21026 PyObject * obj5 = 0 ;
21027 PyObject * obj6 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21030 };
21031
bfddbb17 21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
21033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21034 if (SWIG_arg_fail(1)) SWIG_fail;
21035 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
21036 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 21037 if (obj2) {
36ed4f51
RD
21038 {
21039 arg3 = (int)(SWIG_As_int(obj2));
21040 if (SWIG_arg_fail(3)) SWIG_fail;
21041 }
bfddbb17 21042 }
d55e5bfc
RD
21043 if (obj3) {
21044 {
21045 arg4 = &temp4;
21046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21047 }
21048 }
21049 if (obj4) {
21050 {
21051 arg5 = &temp5;
21052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21053 }
21054 }
21055 if (obj5) {
36ed4f51
RD
21056 {
21057 arg6 = (long)(SWIG_As_long(obj5));
21058 if (SWIG_arg_fail(6)) SWIG_fail;
21059 }
d55e5bfc
RD
21060 }
21061 if (obj6) {
21062 {
21063 arg7 = wxString_in_helper(obj6);
21064 if (arg7 == NULL) SWIG_fail;
b411df4a 21065 temp7 = true;
d55e5bfc
RD
21066 }
21067 }
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 {
21076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21077 }
21078 {
21079 if (temp7)
21080 delete arg7;
21081 }
21082 return resultobj;
21083 fail:
21084 {
21085 if (temp7)
21086 delete arg7;
21087 }
21088 return NULL;
21089}
21090
21091
c370783e 21092static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21093 PyObject *resultobj;
21094 wxToolBar *arg1 = (wxToolBar *) 0 ;
21095 int arg2 ;
21096 int arg3 ;
21097 wxToolBarToolBase *result;
21098 PyObject * obj0 = 0 ;
21099 PyObject * obj1 = 0 ;
21100 PyObject * obj2 = 0 ;
21101 char *kwnames[] = {
21102 (char *) "self",(char *) "x",(char *) "y", NULL
21103 };
21104
21105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
21106 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxToolBar, SWIG_POINTER_EXCEPTION | 0);
21107 if (SWIG_arg_fail(1)) SWIG_fail;
21108 {
21109 arg2 = (int)(SWIG_As_int(obj1));
21110 if (SWIG_arg_fail(2)) SWIG_fail;
21111 }
21112 {
21113 arg3 = (int)(SWIG_As_int(obj2));
21114 if (SWIG_arg_fail(3)) SWIG_fail;
21115 }
d55e5bfc
RD
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 {
412d302d 21124 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
21125 }
21126 return resultobj;
21127 fail:
21128 return NULL;
21129}
21130
21131
c370783e 21132static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
f20a2e1f 21133 PyObject *resultobj;
36ed4f51 21134 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
f20a2e1f
RD
21135 wxVisualAttributes result;
21136 PyObject * obj0 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "variant", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
21142 if (obj0) {
36ed4f51
RD
21143 {
21144 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
21145 if (SWIG_arg_fail(1)) SWIG_fail;
21146 }
f20a2e1f
RD
21147 }
21148 {
0439c23b 21149 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
21152
21153 wxPyEndAllowThreads(__tstate);
110da5b0 21154 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
21155 }
21156 {
21157 wxVisualAttributes * resultptr;
36ed4f51 21158 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
f20a2e1f
RD
21159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
21160 }
21161 return resultobj;
21162 fail:
21163 return NULL;
21164}
21165
21166
c370783e 21167static PyObject * ToolBar_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21168 PyObject *obj;
21169 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21170 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
21171 Py_INCREF(obj);
21172 return Py_BuildValue((char *)"");
21173}
c370783e 21174static int _wrap_ListCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
21175 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
21176 return 1;
21177}
21178
21179
36ed4f51 21180static PyObject *_wrap_ListCtrlNameStr_get(void) {
d55e5bfc
RD
21181 PyObject *pyobj;
21182
21183 {
21184#if wxUSE_UNICODE
21185 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21186#else
21187 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
21188#endif
21189 }
21190 return pyobj;
21191}
21192
21193
c370783e 21194static PyObject *_wrap_new_ListItemAttr(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21195 PyObject *resultobj;
21196 wxColour const &arg1_defvalue = wxNullColour ;
21197 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
21198 wxColour const &arg2_defvalue = wxNullColour ;
21199 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
21200 wxFont const &arg3_defvalue = wxNullFont ;
21201 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
21202 wxListItemAttr *result;
21203 wxColour temp1 ;
21204 wxColour temp2 ;
21205 PyObject * obj0 = 0 ;
21206 PyObject * obj1 = 0 ;
21207 PyObject * obj2 = 0 ;
21208 char *kwnames[] = {
21209 (char *) "colText",(char *) "colBack",(char *) "font", NULL
21210 };
21211
21212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
21213 if (obj0) {
21214 {
21215 arg1 = &temp1;
21216 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
21217 }
21218 }
21219 if (obj1) {
21220 {
21221 arg2 = &temp2;
21222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21223 }
21224 }
21225 if (obj2) {
36ed4f51
RD
21226 {
21227 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21228 if (SWIG_arg_fail(3)) SWIG_fail;
21229 if (arg3 == NULL) {
21230 SWIG_null_ref("wxFont");
21231 }
21232 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
21233 }
21234 }
21235 {
21236 PyThreadState* __tstate = wxPyBeginAllowThreads();
21237 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
21238
21239 wxPyEndAllowThreads(__tstate);
21240 if (PyErr_Occurred()) SWIG_fail;
21241 }
21242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
21243 return resultobj;
21244 fail:
21245 return NULL;
21246}
21247
21248
c370783e 21249static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21250 PyObject *resultobj;
21251 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21252 wxColour *arg2 = 0 ;
21253 wxColour temp2 ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 char *kwnames[] = {
21257 (char *) "self",(char *) "colText", NULL
21258 };
21259
21260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21261 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21262 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21263 {
21264 arg2 = &temp2;
21265 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21266 }
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->SetTextColour((wxColour const &)*arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278}
21279
21280
c370783e 21281static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21282 PyObject *resultobj;
21283 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21284 wxColour *arg2 = 0 ;
21285 wxColour temp2 ;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "colBack", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21294 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21295 {
21296 arg2 = &temp2;
21297 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21298 }
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
21302
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 Py_INCREF(Py_None); resultobj = Py_None;
21307 return resultobj;
21308 fail:
21309 return NULL;
21310}
21311
21312
c370783e 21313static PyObject *_wrap_ListItemAttr_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21314 PyObject *resultobj;
21315 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21316 wxFont *arg2 = 0 ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 char *kwnames[] = {
21320 (char *) "self",(char *) "font", NULL
21321 };
21322
21323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21325 if (SWIG_arg_fail(1)) SWIG_fail;
21326 {
21327 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
21328 if (SWIG_arg_fail(2)) SWIG_fail;
21329 if (arg2 == NULL) {
21330 SWIG_null_ref("wxFont");
21331 }
21332 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
21333 }
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 (arg1)->SetFont((wxFont const &)*arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 Py_INCREF(Py_None); resultobj = Py_None;
21342 return resultobj;
21343 fail:
21344 return NULL;
21345}
21346
21347
c370783e 21348static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21349 PyObject *resultobj;
21350 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21351 bool result;
21352 PyObject * obj0 = 0 ;
21353 char *kwnames[] = {
21354 (char *) "self", NULL
21355 };
21356
21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21359 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (bool)(arg1)->HasTextColour();
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 {
21368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21369 }
21370 return resultobj;
21371 fail:
21372 return NULL;
21373}
21374
21375
c370783e 21376static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21377 PyObject *resultobj;
21378 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21379 bool result;
21380 PyObject * obj0 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21387 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = (bool)(arg1)->HasBackgroundColour();
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21397 }
21398 return resultobj;
21399 fail:
21400 return NULL;
21401}
21402
21403
c370783e 21404static PyObject *_wrap_ListItemAttr_HasFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21405 PyObject *resultobj;
21406 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21407 bool result;
21408 PyObject * obj0 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21414 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21415 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 result = (bool)(arg1)->HasFont();
21419
21420 wxPyEndAllowThreads(__tstate);
21421 if (PyErr_Occurred()) SWIG_fail;
21422 }
21423 {
21424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21425 }
21426 return resultobj;
21427 fail:
21428 return NULL;
21429}
21430
21431
c370783e 21432static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21433 PyObject *resultobj;
21434 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21435 wxColour result;
21436 PyObject * obj0 = 0 ;
21437 char *kwnames[] = {
21438 (char *) "self", NULL
21439 };
21440
21441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21442 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21443 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = (arg1)->GetTextColour();
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 {
21452 wxColour * resultptr;
36ed4f51 21453 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21455 }
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
c370783e 21462static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21463 PyObject *resultobj;
21464 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21465 wxColour result;
21466 PyObject * obj0 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
21472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21473 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21474 {
21475 PyThreadState* __tstate = wxPyBeginAllowThreads();
21476 result = (arg1)->GetBackgroundColour();
21477
21478 wxPyEndAllowThreads(__tstate);
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 {
21482 wxColour * resultptr;
36ed4f51 21483 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
21484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21485 }
21486 return resultobj;
21487 fail:
21488 return NULL;
21489}
21490
21491
c370783e 21492static PyObject *_wrap_ListItemAttr_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21493 PyObject *resultobj;
21494 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21495 wxFont result;
21496 PyObject * obj0 = 0 ;
21497 char *kwnames[] = {
21498 (char *) "self", NULL
21499 };
21500
21501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
21502 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21503 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (arg1)->GetFont();
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 {
21512 wxFont * resultptr;
36ed4f51 21513 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
21514 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
21515 }
21516 return resultobj;
21517 fail:
21518 return NULL;
21519}
21520
21521
c370783e 21522static PyObject *_wrap_ListItemAttr_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21523 PyObject *resultobj;
21524 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
21525 PyObject * obj0 = 0 ;
21526 char *kwnames[] = {
21527 (char *) "self", NULL
21528 };
21529
21530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
21531 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_EXCEPTION | 0);
21532 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 wxListItemAttr_Destroy(arg1);
21536
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 Py_INCREF(Py_None); resultobj = Py_None;
21541 return resultobj;
21542 fail:
21543 return NULL;
21544}
21545
21546
c370783e 21547static PyObject * ListItemAttr_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
21548 PyObject *obj;
21549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21550 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
21551 Py_INCREF(obj);
21552 return Py_BuildValue((char *)"");
21553}
c370783e 21554static PyObject *_wrap_new_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21555 PyObject *resultobj;
21556 wxListItem *result;
21557 char *kwnames[] = {
21558 NULL
21559 };
21560
21561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (wxListItem *)new wxListItem();
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 {
412d302d 21570 resultobj = wxPyMake_wxObject(result, 1);
d55e5bfc
RD
21571 }
21572 return resultobj;
21573 fail:
21574 return NULL;
21575}
21576
21577
c370783e 21578static PyObject *_wrap_delete_ListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21579 PyObject *resultobj;
21580 wxListItem *arg1 = (wxListItem *) 0 ;
21581 PyObject * obj0 = 0 ;
21582 char *kwnames[] = {
21583 (char *) "self", NULL
21584 };
21585
21586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
21587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21588 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 delete arg1;
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 Py_INCREF(Py_None); resultobj = Py_None;
21597 return resultobj;
21598 fail:
21599 return NULL;
21600}
21601
21602
c370783e 21603static PyObject *_wrap_ListItem_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21604 PyObject *resultobj;
21605 wxListItem *arg1 = (wxListItem *) 0 ;
21606 PyObject * obj0 = 0 ;
21607 char *kwnames[] = {
21608 (char *) "self", NULL
21609 };
21610
21611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
36ed4f51
RD
21612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 (arg1)->Clear();
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 return resultobj;
21623 fail:
21624 return NULL;
21625}
21626
21627
c370783e 21628static PyObject *_wrap_ListItem_ClearAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21629 PyObject *resultobj;
21630 wxListItem *arg1 = (wxListItem *) 0 ;
21631 PyObject * obj0 = 0 ;
21632 char *kwnames[] = {
21633 (char *) "self", NULL
21634 };
21635
21636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
21637 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 (arg1)->ClearAttributes();
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 Py_INCREF(Py_None); resultobj = Py_None;
21647 return resultobj;
21648 fail:
21649 return NULL;
21650}
21651
21652
c370783e 21653static PyObject *_wrap_ListItem_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21654 PyObject *resultobj;
21655 wxListItem *arg1 = (wxListItem *) 0 ;
21656 long arg2 ;
21657 PyObject * obj0 = 0 ;
21658 PyObject * obj1 = 0 ;
21659 char *kwnames[] = {
21660 (char *) "self",(char *) "mask", NULL
21661 };
21662
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail;
21666 {
21667 arg2 = (long)(SWIG_As_long(obj1));
21668 if (SWIG_arg_fail(2)) SWIG_fail;
21669 }
d55e5bfc
RD
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 (arg1)->SetMask(arg2);
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
21677 Py_INCREF(Py_None); resultobj = Py_None;
21678 return resultobj;
21679 fail:
21680 return NULL;
21681}
21682
21683
c370783e 21684static PyObject *_wrap_ListItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21685 PyObject *resultobj;
21686 wxListItem *arg1 = (wxListItem *) 0 ;
21687 long arg2 ;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690 char *kwnames[] = {
21691 (char *) "self",(char *) "id", NULL
21692 };
21693
21694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21695 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21696 if (SWIG_arg_fail(1)) SWIG_fail;
21697 {
21698 arg2 = (long)(SWIG_As_long(obj1));
21699 if (SWIG_arg_fail(2)) SWIG_fail;
21700 }
d55e5bfc
RD
21701 {
21702 PyThreadState* __tstate = wxPyBeginAllowThreads();
21703 (arg1)->SetId(arg2);
21704
21705 wxPyEndAllowThreads(__tstate);
21706 if (PyErr_Occurred()) SWIG_fail;
21707 }
21708 Py_INCREF(Py_None); resultobj = Py_None;
21709 return resultobj;
21710 fail:
21711 return NULL;
21712}
21713
21714
c370783e 21715static PyObject *_wrap_ListItem_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21716 PyObject *resultobj;
21717 wxListItem *arg1 = (wxListItem *) 0 ;
21718 int arg2 ;
21719 PyObject * obj0 = 0 ;
21720 PyObject * obj1 = 0 ;
21721 char *kwnames[] = {
21722 (char *) "self",(char *) "col", NULL
21723 };
21724
21725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail;
21728 {
21729 arg2 = (int)(SWIG_As_int(obj1));
21730 if (SWIG_arg_fail(2)) SWIG_fail;
21731 }
d55e5bfc
RD
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 (arg1)->SetColumn(arg2);
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 Py_INCREF(Py_None); resultobj = Py_None;
21740 return resultobj;
21741 fail:
21742 return NULL;
21743}
21744
21745
c370783e 21746static PyObject *_wrap_ListItem_SetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21747 PyObject *resultobj;
21748 wxListItem *arg1 = (wxListItem *) 0 ;
21749 long arg2 ;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self",(char *) "state", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21757 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail;
21759 {
21760 arg2 = (long)(SWIG_As_long(obj1));
21761 if (SWIG_arg_fail(2)) SWIG_fail;
21762 }
d55e5bfc
RD
21763 {
21764 PyThreadState* __tstate = wxPyBeginAllowThreads();
21765 (arg1)->SetState(arg2);
21766
21767 wxPyEndAllowThreads(__tstate);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
21770 Py_INCREF(Py_None); resultobj = Py_None;
21771 return resultobj;
21772 fail:
21773 return NULL;
21774}
21775
21776
c370783e 21777static PyObject *_wrap_ListItem_SetStateMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21778 PyObject *resultobj;
21779 wxListItem *arg1 = (wxListItem *) 0 ;
21780 long arg2 ;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 char *kwnames[] = {
21784 (char *) "self",(char *) "stateMask", NULL
21785 };
21786
21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21788 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21789 if (SWIG_arg_fail(1)) SWIG_fail;
21790 {
21791 arg2 = (long)(SWIG_As_long(obj1));
21792 if (SWIG_arg_fail(2)) SWIG_fail;
21793 }
d55e5bfc
RD
21794 {
21795 PyThreadState* __tstate = wxPyBeginAllowThreads();
21796 (arg1)->SetStateMask(arg2);
21797
21798 wxPyEndAllowThreads(__tstate);
21799 if (PyErr_Occurred()) SWIG_fail;
21800 }
21801 Py_INCREF(Py_None); resultobj = Py_None;
21802 return resultobj;
21803 fail:
21804 return NULL;
21805}
21806
21807
c370783e 21808static PyObject *_wrap_ListItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21809 PyObject *resultobj;
21810 wxListItem *arg1 = (wxListItem *) 0 ;
21811 wxString *arg2 = 0 ;
b411df4a 21812 bool temp2 = false ;
d55e5bfc
RD
21813 PyObject * obj0 = 0 ;
21814 PyObject * obj1 = 0 ;
21815 char *kwnames[] = {
21816 (char *) "self",(char *) "text", NULL
21817 };
21818
21819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21822 {
21823 arg2 = wxString_in_helper(obj1);
21824 if (arg2 == NULL) SWIG_fail;
b411df4a 21825 temp2 = true;
d55e5bfc
RD
21826 }
21827 {
21828 PyThreadState* __tstate = wxPyBeginAllowThreads();
21829 (arg1)->SetText((wxString const &)*arg2);
21830
21831 wxPyEndAllowThreads(__tstate);
21832 if (PyErr_Occurred()) SWIG_fail;
21833 }
21834 Py_INCREF(Py_None); resultobj = Py_None;
21835 {
21836 if (temp2)
21837 delete arg2;
21838 }
21839 return resultobj;
21840 fail:
21841 {
21842 if (temp2)
21843 delete arg2;
21844 }
21845 return NULL;
21846}
21847
21848
c370783e 21849static PyObject *_wrap_ListItem_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21850 PyObject *resultobj;
21851 wxListItem *arg1 = (wxListItem *) 0 ;
21852 int arg2 ;
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "image", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21860 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21861 if (SWIG_arg_fail(1)) SWIG_fail;
21862 {
21863 arg2 = (int)(SWIG_As_int(obj1));
21864 if (SWIG_arg_fail(2)) SWIG_fail;
21865 }
d55e5bfc
RD
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetImage(arg2);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 return resultobj;
21875 fail:
21876 return NULL;
21877}
21878
21879
c370783e 21880static PyObject *_wrap_ListItem_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21881 PyObject *resultobj;
21882 wxListItem *arg1 = (wxListItem *) 0 ;
21883 long arg2 ;
21884 PyObject * obj0 = 0 ;
21885 PyObject * obj1 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "data", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21892 if (SWIG_arg_fail(1)) SWIG_fail;
21893 {
21894 arg2 = (long)(SWIG_As_long(obj1));
21895 if (SWIG_arg_fail(2)) SWIG_fail;
21896 }
d55e5bfc
RD
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 (arg1)->SetData(arg2);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 Py_INCREF(Py_None); resultobj = Py_None;
21905 return resultobj;
21906 fail:
21907 return NULL;
21908}
21909
21910
c370783e 21911static PyObject *_wrap_ListItem_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21912 PyObject *resultobj;
21913 wxListItem *arg1 = (wxListItem *) 0 ;
21914 int arg2 ;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self",(char *) "width", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail;
21924 {
21925 arg2 = (int)(SWIG_As_int(obj1));
21926 if (SWIG_arg_fail(2)) SWIG_fail;
21927 }
d55e5bfc
RD
21928 {
21929 PyThreadState* __tstate = wxPyBeginAllowThreads();
21930 (arg1)->SetWidth(arg2);
21931
21932 wxPyEndAllowThreads(__tstate);
21933 if (PyErr_Occurred()) SWIG_fail;
21934 }
21935 Py_INCREF(Py_None); resultobj = Py_None;
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
c370783e 21942static PyObject *_wrap_ListItem_SetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21943 PyObject *resultobj;
21944 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 21945 wxListColumnFormat arg2 ;
d55e5bfc
RD
21946 PyObject * obj0 = 0 ;
21947 PyObject * obj1 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self",(char *) "align", NULL
21950 };
21951
21952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail;
21955 {
21956 arg2 = (wxListColumnFormat)(SWIG_As_int(obj1));
21957 if (SWIG_arg_fail(2)) SWIG_fail;
21958 }
d55e5bfc
RD
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 (arg1)->SetAlign((wxListColumnFormat )arg2);
21962
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 Py_INCREF(Py_None); resultobj = Py_None;
21967 return resultobj;
21968 fail:
21969 return NULL;
21970}
21971
21972
c370783e 21973static PyObject *_wrap_ListItem_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
21974 PyObject *resultobj;
21975 wxListItem *arg1 = (wxListItem *) 0 ;
21976 wxColour *arg2 = 0 ;
21977 wxColour temp2 ;
21978 PyObject * obj0 = 0 ;
21979 PyObject * obj1 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self",(char *) "colText", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
21985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
21987 {
21988 arg2 = &temp2;
21989 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21990 }
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 (arg1)->SetTextColour((wxColour const &)*arg2);
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 Py_INCREF(Py_None); resultobj = Py_None;
21999 return resultobj;
22000 fail:
22001 return NULL;
22002}
22003
22004
c370783e 22005static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22006 PyObject *resultobj;
22007 wxListItem *arg1 = (wxListItem *) 0 ;
22008 wxColour *arg2 = 0 ;
22009 wxColour temp2 ;
22010 PyObject * obj0 = 0 ;
22011 PyObject * obj1 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self",(char *) "colBack", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22019 {
22020 arg2 = &temp2;
22021 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22022 }
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
22026
22027 wxPyEndAllowThreads(__tstate);
22028 if (PyErr_Occurred()) SWIG_fail;
22029 }
22030 Py_INCREF(Py_None); resultobj = Py_None;
22031 return resultobj;
22032 fail:
22033 return NULL;
22034}
22035
22036
c370783e 22037static PyObject *_wrap_ListItem_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22038 PyObject *resultobj;
22039 wxListItem *arg1 = (wxListItem *) 0 ;
22040 wxFont *arg2 = 0 ;
22041 PyObject * obj0 = 0 ;
22042 PyObject * obj1 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "self",(char *) "font", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22049 if (SWIG_arg_fail(1)) SWIG_fail;
22050 {
22051 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
22052 if (SWIG_arg_fail(2)) SWIG_fail;
22053 if (arg2 == NULL) {
22054 SWIG_null_ref("wxFont");
22055 }
22056 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
22057 }
22058 {
22059 PyThreadState* __tstate = wxPyBeginAllowThreads();
22060 (arg1)->SetFont((wxFont const &)*arg2);
22061
22062 wxPyEndAllowThreads(__tstate);
22063 if (PyErr_Occurred()) SWIG_fail;
22064 }
22065 Py_INCREF(Py_None); resultobj = Py_None;
22066 return resultobj;
22067 fail:
22068 return NULL;
22069}
22070
22071
c370783e 22072static PyObject *_wrap_ListItem_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22073 PyObject *resultobj;
22074 wxListItem *arg1 = (wxListItem *) 0 ;
22075 long result;
22076 PyObject * obj0 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
22082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22083 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 result = (long)(arg1)->GetMask();
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
36ed4f51
RD
22091 {
22092 resultobj = SWIG_From_long((long)(result));
22093 }
d55e5bfc
RD
22094 return resultobj;
22095 fail:
22096 return NULL;
22097}
22098
22099
c370783e 22100static PyObject *_wrap_ListItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22101 PyObject *resultobj;
22102 wxListItem *arg1 = (wxListItem *) 0 ;
22103 long result;
22104 PyObject * obj0 = 0 ;
22105 char *kwnames[] = {
22106 (char *) "self", NULL
22107 };
22108
22109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
22110 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22111 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 result = (long)(arg1)->GetId();
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
36ed4f51
RD
22119 {
22120 resultobj = SWIG_From_long((long)(result));
22121 }
d55e5bfc
RD
22122 return resultobj;
22123 fail:
22124 return NULL;
22125}
22126
22127
c370783e 22128static PyObject *_wrap_ListItem_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22129 PyObject *resultobj;
22130 wxListItem *arg1 = (wxListItem *) 0 ;
22131 int result;
22132 PyObject * obj0 = 0 ;
22133 char *kwnames[] = {
22134 (char *) "self", NULL
22135 };
22136
22137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
22138 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = (int)(arg1)->GetColumn();
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
36ed4f51
RD
22147 {
22148 resultobj = SWIG_From_int((int)(result));
22149 }
d55e5bfc
RD
22150 return resultobj;
22151 fail:
22152 return NULL;
22153}
22154
22155
c370783e 22156static PyObject *_wrap_ListItem_GetState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22157 PyObject *resultobj;
22158 wxListItem *arg1 = (wxListItem *) 0 ;
22159 long result;
22160 PyObject * obj0 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self", NULL
22163 };
22164
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
36ed4f51
RD
22166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22167 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = (long)(arg1)->GetState();
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
36ed4f51
RD
22175 {
22176 resultobj = SWIG_From_long((long)(result));
22177 }
d55e5bfc
RD
22178 return resultobj;
22179 fail:
22180 return NULL;
22181}
22182
22183
c370783e 22184static PyObject *_wrap_ListItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22185 PyObject *resultobj;
22186 wxListItem *arg1 = (wxListItem *) 0 ;
22187 wxString *result;
22188 PyObject * obj0 = 0 ;
22189 char *kwnames[] = {
22190 (char *) "self", NULL
22191 };
22192
22193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
22194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 {
22199 wxString const &_result_ref = (arg1)->GetText();
22200 result = (wxString *) &_result_ref;
22201 }
22202
22203 wxPyEndAllowThreads(__tstate);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 {
22207#if wxUSE_UNICODE
22208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22209#else
22210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22211#endif
22212 }
22213 return resultobj;
22214 fail:
22215 return NULL;
22216}
22217
22218
c370783e 22219static PyObject *_wrap_ListItem_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22220 PyObject *resultobj;
22221 wxListItem *arg1 = (wxListItem *) 0 ;
22222 int result;
22223 PyObject * obj0 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self", NULL
22226 };
22227
22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
22229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22230 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 result = (int)(arg1)->GetImage();
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
36ed4f51
RD
22238 {
22239 resultobj = SWIG_From_int((int)(result));
22240 }
d55e5bfc
RD
22241 return resultobj;
22242 fail:
22243 return NULL;
22244}
22245
22246
c370783e 22247static PyObject *_wrap_ListItem_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22248 PyObject *resultobj;
22249 wxListItem *arg1 = (wxListItem *) 0 ;
22250 long result;
22251 PyObject * obj0 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
22257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22258 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = (long)(arg1)->GetData();
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
36ed4f51
RD
22266 {
22267 resultobj = SWIG_From_long((long)(result));
22268 }
d55e5bfc
RD
22269 return resultobj;
22270 fail:
22271 return NULL;
22272}
22273
22274
c370783e 22275static PyObject *_wrap_ListItem_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22276 PyObject *resultobj;
22277 wxListItem *arg1 = (wxListItem *) 0 ;
22278 int result;
22279 PyObject * obj0 = 0 ;
22280 char *kwnames[] = {
22281 (char *) "self", NULL
22282 };
22283
22284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
22285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22286 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (int)(arg1)->GetWidth();
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
36ed4f51
RD
22294 {
22295 resultobj = SWIG_From_int((int)(result));
22296 }
d55e5bfc
RD
22297 return resultobj;
22298 fail:
22299 return NULL;
22300}
22301
22302
c370783e 22303static PyObject *_wrap_ListItem_GetAlign(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22304 PyObject *resultobj;
22305 wxListItem *arg1 = (wxListItem *) 0 ;
36ed4f51 22306 wxListColumnFormat result;
d55e5bfc
RD
22307 PyObject * obj0 = 0 ;
22308 char *kwnames[] = {
22309 (char *) "self", NULL
22310 };
22311
22312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
36ed4f51
RD
22313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22314 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22315 {
22316 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 22317 result = (wxListColumnFormat)(arg1)->GetAlign();
d55e5bfc
RD
22318
22319 wxPyEndAllowThreads(__tstate);
22320 if (PyErr_Occurred()) SWIG_fail;
22321 }
36ed4f51 22322 resultobj = SWIG_From_int((result));
d55e5bfc
RD
22323 return resultobj;
22324 fail:
22325 return NULL;
22326}
22327
22328
c370783e 22329static PyObject *_wrap_ListItem_GetAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22330 PyObject *resultobj;
22331 wxListItem *arg1 = (wxListItem *) 0 ;
22332 wxListItemAttr *result;
22333 PyObject * obj0 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22340 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 result = (wxListItemAttr *)(arg1)->GetAttributes();
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
22349 return resultobj;
22350 fail:
22351 return NULL;
22352}
22353
22354
c370783e 22355static PyObject *_wrap_ListItem_HasAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22356 PyObject *resultobj;
22357 wxListItem *arg1 = (wxListItem *) 0 ;
22358 bool result;
22359 PyObject * obj0 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
22365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22366 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 result = (bool)(arg1)->HasAttributes();
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 {
22375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22376 }
22377 return resultobj;
22378 fail:
22379 return NULL;
22380}
22381
22382
c370783e 22383static PyObject *_wrap_ListItem_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22384 PyObject *resultobj;
22385 wxListItem *arg1 = (wxListItem *) 0 ;
22386 wxColour result;
22387 PyObject * obj0 = 0 ;
22388 char *kwnames[] = {
22389 (char *) "self", NULL
22390 };
22391
22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22394 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 result = ((wxListItem const *)arg1)->GetTextColour();
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 {
22403 wxColour * resultptr;
36ed4f51 22404 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22405 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22406 }
22407 return resultobj;
22408 fail:
22409 return NULL;
22410}
22411
22412
c370783e 22413static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22414 PyObject *resultobj;
22415 wxListItem *arg1 = (wxListItem *) 0 ;
22416 wxColour result;
22417 PyObject * obj0 = 0 ;
22418 char *kwnames[] = {
22419 (char *) "self", NULL
22420 };
22421
22422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
22423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 result = ((wxListItem const *)arg1)->GetBackgroundColour();
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 {
22433 wxColour * resultptr;
36ed4f51 22434 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
22435 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22436 }
22437 return resultobj;
22438 fail:
22439 return NULL;
22440}
22441
22442
c370783e 22443static PyObject *_wrap_ListItem_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22444 PyObject *resultobj;
22445 wxListItem *arg1 = (wxListItem *) 0 ;
22446 wxFont result;
22447 PyObject * obj0 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
36ed4f51
RD
22453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22454 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = ((wxListItem const *)arg1)->GetFont();
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 {
22463 wxFont * resultptr;
36ed4f51 22464 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
22465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
22466 }
22467 return resultobj;
22468 fail:
22469 return NULL;
22470}
22471
22472
c370783e 22473static PyObject *_wrap_ListItem_m_mask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22474 PyObject *resultobj;
22475 wxListItem *arg1 = (wxListItem *) 0 ;
22476 long arg2 ;
22477 PyObject * obj0 = 0 ;
22478 PyObject * obj1 = 0 ;
22479 char *kwnames[] = {
22480 (char *) "self",(char *) "m_mask", NULL
22481 };
22482
22483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22485 if (SWIG_arg_fail(1)) SWIG_fail;
22486 {
22487 arg2 = (long)(SWIG_As_long(obj1));
22488 if (SWIG_arg_fail(2)) SWIG_fail;
22489 }
d55e5bfc
RD
22490 if (arg1) (arg1)->m_mask = arg2;
22491
22492 Py_INCREF(Py_None); resultobj = Py_None;
22493 return resultobj;
22494 fail:
22495 return NULL;
22496}
22497
22498
c370783e 22499static PyObject *_wrap_ListItem_m_mask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22500 PyObject *resultobj;
22501 wxListItem *arg1 = (wxListItem *) 0 ;
22502 long result;
22503 PyObject * obj0 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22510 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22511 result = (long) ((arg1)->m_mask);
22512
36ed4f51
RD
22513 {
22514 resultobj = SWIG_From_long((long)(result));
22515 }
d55e5bfc
RD
22516 return resultobj;
22517 fail:
22518 return NULL;
22519}
22520
22521
c370783e 22522static PyObject *_wrap_ListItem_m_itemId_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22523 PyObject *resultobj;
22524 wxListItem *arg1 = (wxListItem *) 0 ;
22525 long arg2 ;
22526 PyObject * obj0 = 0 ;
22527 PyObject * obj1 = 0 ;
22528 char *kwnames[] = {
22529 (char *) "self",(char *) "m_itemId", NULL
22530 };
22531
22532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22534 if (SWIG_arg_fail(1)) SWIG_fail;
22535 {
22536 arg2 = (long)(SWIG_As_long(obj1));
22537 if (SWIG_arg_fail(2)) SWIG_fail;
22538 }
d55e5bfc
RD
22539 if (arg1) (arg1)->m_itemId = arg2;
22540
22541 Py_INCREF(Py_None); resultobj = Py_None;
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
c370783e 22548static PyObject *_wrap_ListItem_m_itemId_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22549 PyObject *resultobj;
22550 wxListItem *arg1 = (wxListItem *) 0 ;
22551 long result;
22552 PyObject * obj0 = 0 ;
22553 char *kwnames[] = {
22554 (char *) "self", NULL
22555 };
22556
22557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22560 result = (long) ((arg1)->m_itemId);
22561
36ed4f51
RD
22562 {
22563 resultobj = SWIG_From_long((long)(result));
22564 }
d55e5bfc
RD
22565 return resultobj;
22566 fail:
22567 return NULL;
22568}
22569
22570
c370783e 22571static PyObject *_wrap_ListItem_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22572 PyObject *resultobj;
22573 wxListItem *arg1 = (wxListItem *) 0 ;
22574 int arg2 ;
22575 PyObject * obj0 = 0 ;
22576 PyObject * obj1 = 0 ;
22577 char *kwnames[] = {
22578 (char *) "self",(char *) "m_col", NULL
22579 };
22580
22581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22583 if (SWIG_arg_fail(1)) SWIG_fail;
22584 {
22585 arg2 = (int)(SWIG_As_int(obj1));
22586 if (SWIG_arg_fail(2)) SWIG_fail;
22587 }
d55e5bfc
RD
22588 if (arg1) (arg1)->m_col = arg2;
22589
22590 Py_INCREF(Py_None); resultobj = Py_None;
22591 return resultobj;
22592 fail:
22593 return NULL;
22594}
22595
22596
c370783e 22597static PyObject *_wrap_ListItem_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22598 PyObject *resultobj;
22599 wxListItem *arg1 = (wxListItem *) 0 ;
22600 int result;
22601 PyObject * obj0 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22608 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22609 result = (int) ((arg1)->m_col);
22610
36ed4f51
RD
22611 {
22612 resultobj = SWIG_From_int((int)(result));
22613 }
d55e5bfc
RD
22614 return resultobj;
22615 fail:
22616 return NULL;
22617}
22618
22619
c370783e 22620static PyObject *_wrap_ListItem_m_state_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22621 PyObject *resultobj;
22622 wxListItem *arg1 = (wxListItem *) 0 ;
22623 long arg2 ;
22624 PyObject * obj0 = 0 ;
22625 PyObject * obj1 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "m_state", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail;
22633 {
22634 arg2 = (long)(SWIG_As_long(obj1));
22635 if (SWIG_arg_fail(2)) SWIG_fail;
22636 }
d55e5bfc
RD
22637 if (arg1) (arg1)->m_state = arg2;
22638
22639 Py_INCREF(Py_None); resultobj = Py_None;
22640 return resultobj;
22641 fail:
22642 return NULL;
22643}
22644
22645
c370783e 22646static PyObject *_wrap_ListItem_m_state_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22647 PyObject *resultobj;
22648 wxListItem *arg1 = (wxListItem *) 0 ;
22649 long result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "self", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22657 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22658 result = (long) ((arg1)->m_state);
22659
36ed4f51
RD
22660 {
22661 resultobj = SWIG_From_long((long)(result));
22662 }
d55e5bfc
RD
22663 return resultobj;
22664 fail:
22665 return NULL;
22666}
22667
22668
c370783e 22669static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22670 PyObject *resultobj;
22671 wxListItem *arg1 = (wxListItem *) 0 ;
22672 long arg2 ;
22673 PyObject * obj0 = 0 ;
22674 PyObject * obj1 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self",(char *) "m_stateMask", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail;
22682 {
22683 arg2 = (long)(SWIG_As_long(obj1));
22684 if (SWIG_arg_fail(2)) SWIG_fail;
22685 }
d55e5bfc
RD
22686 if (arg1) (arg1)->m_stateMask = arg2;
22687
22688 Py_INCREF(Py_None); resultobj = Py_None;
22689 return resultobj;
22690 fail:
22691 return NULL;
22692}
22693
22694
c370783e 22695static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22696 PyObject *resultobj;
22697 wxListItem *arg1 = (wxListItem *) 0 ;
22698 long result;
22699 PyObject * obj0 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22707 result = (long) ((arg1)->m_stateMask);
22708
36ed4f51
RD
22709 {
22710 resultobj = SWIG_From_long((long)(result));
22711 }
d55e5bfc
RD
22712 return resultobj;
22713 fail:
22714 return NULL;
22715}
22716
22717
c370783e 22718static PyObject *_wrap_ListItem_m_text_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22719 PyObject *resultobj;
22720 wxListItem *arg1 = (wxListItem *) 0 ;
22721 wxString *arg2 = (wxString *) 0 ;
b411df4a 22722 bool temp2 = false ;
d55e5bfc
RD
22723 PyObject * obj0 = 0 ;
22724 PyObject * obj1 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self",(char *) "m_text", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22731 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22732 {
22733 arg2 = wxString_in_helper(obj1);
22734 if (arg2 == NULL) SWIG_fail;
b411df4a 22735 temp2 = true;
d55e5bfc
RD
22736 }
22737 if (arg1) (arg1)->m_text = *arg2;
22738
22739 Py_INCREF(Py_None); resultobj = Py_None;
22740 {
22741 if (temp2)
22742 delete arg2;
22743 }
22744 return resultobj;
22745 fail:
22746 {
22747 if (temp2)
22748 delete arg2;
22749 }
22750 return NULL;
22751}
22752
22753
c370783e 22754static PyObject *_wrap_ListItem_m_text_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22755 PyObject *resultobj;
22756 wxListItem *arg1 = (wxListItem *) 0 ;
22757 wxString *result;
22758 PyObject * obj0 = 0 ;
22759 char *kwnames[] = {
22760 (char *) "self", NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22764 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22765 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22766 result = (wxString *)& ((arg1)->m_text);
22767
22768 {
22769#if wxUSE_UNICODE
22770 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22771#else
22772 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22773#endif
22774 }
22775 return resultobj;
22776 fail:
22777 return NULL;
22778}
22779
22780
c370783e 22781static PyObject *_wrap_ListItem_m_image_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22782 PyObject *resultobj;
22783 wxListItem *arg1 = (wxListItem *) 0 ;
22784 int arg2 ;
22785 PyObject * obj0 = 0 ;
22786 PyObject * obj1 = 0 ;
22787 char *kwnames[] = {
22788 (char *) "self",(char *) "m_image", NULL
22789 };
22790
22791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22793 if (SWIG_arg_fail(1)) SWIG_fail;
22794 {
22795 arg2 = (int)(SWIG_As_int(obj1));
22796 if (SWIG_arg_fail(2)) SWIG_fail;
22797 }
d55e5bfc
RD
22798 if (arg1) (arg1)->m_image = arg2;
22799
22800 Py_INCREF(Py_None); resultobj = Py_None;
22801 return resultobj;
22802 fail:
22803 return NULL;
22804}
22805
22806
c370783e 22807static PyObject *_wrap_ListItem_m_image_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22808 PyObject *resultobj;
22809 wxListItem *arg1 = (wxListItem *) 0 ;
22810 int result;
22811 PyObject * obj0 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22818 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22819 result = (int) ((arg1)->m_image);
22820
36ed4f51
RD
22821 {
22822 resultobj = SWIG_From_int((int)(result));
22823 }
d55e5bfc
RD
22824 return resultobj;
22825 fail:
22826 return NULL;
22827}
22828
22829
c370783e 22830static PyObject *_wrap_ListItem_m_data_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22831 PyObject *resultobj;
22832 wxListItem *arg1 = (wxListItem *) 0 ;
22833 long arg2 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "m_data", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22842 if (SWIG_arg_fail(1)) SWIG_fail;
22843 {
22844 arg2 = (long)(SWIG_As_long(obj1));
22845 if (SWIG_arg_fail(2)) SWIG_fail;
22846 }
d55e5bfc
RD
22847 if (arg1) (arg1)->m_data = arg2;
22848
22849 Py_INCREF(Py_None); resultobj = Py_None;
22850 return resultobj;
22851 fail:
22852 return NULL;
22853}
22854
22855
c370783e 22856static PyObject *_wrap_ListItem_m_data_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22857 PyObject *resultobj;
22858 wxListItem *arg1 = (wxListItem *) 0 ;
22859 long result;
22860 PyObject * obj0 = 0 ;
22861 char *kwnames[] = {
22862 (char *) "self", NULL
22863 };
22864
22865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22867 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22868 result = (long) ((arg1)->m_data);
22869
36ed4f51
RD
22870 {
22871 resultobj = SWIG_From_long((long)(result));
22872 }
d55e5bfc
RD
22873 return resultobj;
22874 fail:
22875 return NULL;
22876}
22877
22878
c370783e 22879static PyObject *_wrap_ListItem_m_format_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22880 PyObject *resultobj;
22881 wxListItem *arg1 = (wxListItem *) 0 ;
22882 int arg2 ;
22883 PyObject * obj0 = 0 ;
22884 PyObject * obj1 = 0 ;
22885 char *kwnames[] = {
22886 (char *) "self",(char *) "m_format", NULL
22887 };
22888
22889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22891 if (SWIG_arg_fail(1)) SWIG_fail;
22892 {
22893 arg2 = (int)(SWIG_As_int(obj1));
22894 if (SWIG_arg_fail(2)) SWIG_fail;
22895 }
d55e5bfc
RD
22896 if (arg1) (arg1)->m_format = arg2;
22897
22898 Py_INCREF(Py_None); resultobj = Py_None;
22899 return resultobj;
22900 fail:
22901 return NULL;
22902}
22903
22904
c370783e 22905static PyObject *_wrap_ListItem_m_format_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22906 PyObject *resultobj;
22907 wxListItem *arg1 = (wxListItem *) 0 ;
22908 int result;
22909 PyObject * obj0 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22915 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22916 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22917 result = (int) ((arg1)->m_format);
22918
36ed4f51
RD
22919 {
22920 resultobj = SWIG_From_int((int)(result));
22921 }
d55e5bfc
RD
22922 return resultobj;
22923 fail:
22924 return NULL;
22925}
22926
22927
c370783e 22928static PyObject *_wrap_ListItem_m_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22929 PyObject *resultobj;
22930 wxListItem *arg1 = (wxListItem *) 0 ;
22931 int arg2 ;
22932 PyObject * obj0 = 0 ;
22933 PyObject * obj1 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "self",(char *) "m_width", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
22939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22940 if (SWIG_arg_fail(1)) SWIG_fail;
22941 {
22942 arg2 = (int)(SWIG_As_int(obj1));
22943 if (SWIG_arg_fail(2)) SWIG_fail;
22944 }
d55e5bfc
RD
22945 if (arg1) (arg1)->m_width = arg2;
22946
22947 Py_INCREF(Py_None); resultobj = Py_None;
22948 return resultobj;
22949 fail:
22950 return NULL;
22951}
22952
22953
c370783e 22954static PyObject *_wrap_ListItem_m_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22955 PyObject *resultobj;
22956 wxListItem *arg1 = (wxListItem *) 0 ;
22957 int result;
22958 PyObject * obj0 = 0 ;
22959 char *kwnames[] = {
22960 (char *) "self", NULL
22961 };
22962
22963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
22964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
22966 result = (int) ((arg1)->m_width);
22967
36ed4f51
RD
22968 {
22969 resultobj = SWIG_From_int((int)(result));
22970 }
d55e5bfc
RD
22971 return resultobj;
22972 fail:
22973 return NULL;
22974}
22975
22976
c370783e 22977static PyObject * ListItem_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
22978 PyObject *obj;
22979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22980 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
22981 Py_INCREF(obj);
22982 return Py_BuildValue((char *)"");
22983}
c370783e 22984static PyObject *_wrap_new_ListEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
22985 PyObject *resultobj;
22986 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22987 int arg2 = (int) 0 ;
22988 wxListEvent *result;
22989 PyObject * obj0 = 0 ;
22990 PyObject * obj1 = 0 ;
22991 char *kwnames[] = {
22992 (char *) "commandType",(char *) "id", NULL
22993 };
22994
22995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
22996 if (obj0) {
36ed4f51
RD
22997 {
22998 arg1 = (wxEventType)(SWIG_As_int(obj0));
22999 if (SWIG_arg_fail(1)) SWIG_fail;
23000 }
d55e5bfc
RD
23001 }
23002 if (obj1) {
36ed4f51
RD
23003 {
23004 arg2 = (int)(SWIG_As_int(obj1));
23005 if (SWIG_arg_fail(2)) SWIG_fail;
23006 }
d55e5bfc
RD
23007 }
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (wxListEvent *)new wxListEvent(arg1,arg2);
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
23016 return resultobj;
23017 fail:
23018 return NULL;
23019}
23020
23021
c370783e 23022static PyObject *_wrap_ListEvent_m_code_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23023 PyObject *resultobj;
23024 wxListEvent *arg1 = (wxListEvent *) 0 ;
23025 int arg2 ;
23026 PyObject * obj0 = 0 ;
23027 PyObject * obj1 = 0 ;
23028 char *kwnames[] = {
23029 (char *) "self",(char *) "m_code", NULL
23030 };
23031
23032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23034 if (SWIG_arg_fail(1)) SWIG_fail;
23035 {
23036 arg2 = (int)(SWIG_As_int(obj1));
23037 if (SWIG_arg_fail(2)) SWIG_fail;
23038 }
d55e5bfc
RD
23039 if (arg1) (arg1)->m_code = arg2;
23040
23041 Py_INCREF(Py_None); resultobj = Py_None;
23042 return resultobj;
23043 fail:
23044 return NULL;
23045}
23046
23047
c370783e 23048static PyObject *_wrap_ListEvent_m_code_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23049 PyObject *resultobj;
23050 wxListEvent *arg1 = (wxListEvent *) 0 ;
23051 int result;
23052 PyObject * obj0 = 0 ;
23053 char *kwnames[] = {
23054 (char *) "self", NULL
23055 };
23056
23057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23059 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23060 result = (int) ((arg1)->m_code);
23061
36ed4f51
RD
23062 {
23063 resultobj = SWIG_From_int((int)(result));
23064 }
d55e5bfc
RD
23065 return resultobj;
23066 fail:
23067 return NULL;
23068}
23069
23070
c370783e 23071static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23072 PyObject *resultobj;
23073 wxListEvent *arg1 = (wxListEvent *) 0 ;
23074 long arg2 ;
23075 PyObject * obj0 = 0 ;
23076 PyObject * obj1 = 0 ;
23077 char *kwnames[] = {
23078 (char *) "self",(char *) "m_oldItemIndex", NULL
23079 };
23080
23081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23083 if (SWIG_arg_fail(1)) SWIG_fail;
23084 {
23085 arg2 = (long)(SWIG_As_long(obj1));
23086 if (SWIG_arg_fail(2)) SWIG_fail;
23087 }
d55e5bfc
RD
23088 if (arg1) (arg1)->m_oldItemIndex = arg2;
23089
23090 Py_INCREF(Py_None); resultobj = Py_None;
23091 return resultobj;
23092 fail:
23093 return NULL;
23094}
23095
23096
c370783e 23097static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23098 PyObject *resultobj;
23099 wxListEvent *arg1 = (wxListEvent *) 0 ;
23100 long result;
23101 PyObject * obj0 = 0 ;
23102 char *kwnames[] = {
23103 (char *) "self", NULL
23104 };
23105
23106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23109 result = (long) ((arg1)->m_oldItemIndex);
23110
36ed4f51
RD
23111 {
23112 resultobj = SWIG_From_long((long)(result));
23113 }
d55e5bfc
RD
23114 return resultobj;
23115 fail:
23116 return NULL;
23117}
23118
23119
c370783e 23120static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23121 PyObject *resultobj;
23122 wxListEvent *arg1 = (wxListEvent *) 0 ;
23123 long arg2 ;
23124 PyObject * obj0 = 0 ;
23125 PyObject * obj1 = 0 ;
23126 char *kwnames[] = {
23127 (char *) "self",(char *) "m_itemIndex", NULL
23128 };
23129
23130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23131 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23132 if (SWIG_arg_fail(1)) SWIG_fail;
23133 {
23134 arg2 = (long)(SWIG_As_long(obj1));
23135 if (SWIG_arg_fail(2)) SWIG_fail;
23136 }
d55e5bfc
RD
23137 if (arg1) (arg1)->m_itemIndex = arg2;
23138
23139 Py_INCREF(Py_None); resultobj = Py_None;
23140 return resultobj;
23141 fail:
23142 return NULL;
23143}
23144
23145
c370783e 23146static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23147 PyObject *resultobj;
23148 wxListEvent *arg1 = (wxListEvent *) 0 ;
23149 long result;
23150 PyObject * obj0 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "self", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23156 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23158 result = (long) ((arg1)->m_itemIndex);
23159
36ed4f51
RD
23160 {
23161 resultobj = SWIG_From_long((long)(result));
23162 }
d55e5bfc
RD
23163 return resultobj;
23164 fail:
23165 return NULL;
23166}
23167
23168
c370783e 23169static PyObject *_wrap_ListEvent_m_col_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23170 PyObject *resultobj;
23171 wxListEvent *arg1 = (wxListEvent *) 0 ;
23172 int arg2 ;
23173 PyObject * obj0 = 0 ;
23174 PyObject * obj1 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self",(char *) "m_col", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23181 if (SWIG_arg_fail(1)) SWIG_fail;
23182 {
23183 arg2 = (int)(SWIG_As_int(obj1));
23184 if (SWIG_arg_fail(2)) SWIG_fail;
23185 }
d55e5bfc
RD
23186 if (arg1) (arg1)->m_col = arg2;
23187
23188 Py_INCREF(Py_None); resultobj = Py_None;
23189 return resultobj;
23190 fail:
23191 return NULL;
23192}
23193
23194
c370783e 23195static PyObject *_wrap_ListEvent_m_col_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23196 PyObject *resultobj;
23197 wxListEvent *arg1 = (wxListEvent *) 0 ;
23198 int result;
23199 PyObject * obj0 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23207 result = (int) ((arg1)->m_col);
23208
36ed4f51
RD
23209 {
23210 resultobj = SWIG_From_int((int)(result));
23211 }
d55e5bfc
RD
23212 return resultobj;
23213 fail:
23214 return NULL;
23215}
23216
23217
c370783e 23218static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23219 PyObject *resultobj;
23220 wxListEvent *arg1 = (wxListEvent *) 0 ;
23221 wxPoint *arg2 = (wxPoint *) 0 ;
23222 PyObject * obj0 = 0 ;
23223 PyObject * obj1 = 0 ;
23224 char *kwnames[] = {
23225 (char *) "self",(char *) "m_pointDrag", NULL
23226 };
23227
23228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23229 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23230 if (SWIG_arg_fail(1)) SWIG_fail;
23231 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION | 0);
23232 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
23233 if (arg1) (arg1)->m_pointDrag = *arg2;
23234
23235 Py_INCREF(Py_None); resultobj = Py_None;
23236 return resultobj;
23237 fail:
23238 return NULL;
23239}
23240
23241
c370783e 23242static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23243 PyObject *resultobj;
23244 wxListEvent *arg1 = (wxListEvent *) 0 ;
23245 wxPoint *result;
23246 PyObject * obj0 = 0 ;
23247 char *kwnames[] = {
23248 (char *) "self", NULL
23249 };
23250
23251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23254 result = (wxPoint *)& ((arg1)->m_pointDrag);
23255
23256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
23257 return resultobj;
23258 fail:
23259 return NULL;
23260}
23261
23262
c370783e 23263static PyObject *_wrap_ListEvent_m_item_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23264 PyObject *resultobj;
23265 wxListEvent *arg1 = (wxListEvent *) 0 ;
23266 wxListItem *result;
23267 PyObject * obj0 = 0 ;
23268 char *kwnames[] = {
23269 (char *) "self", NULL
23270 };
23271
23272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
23273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23274 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23275 result = (wxListItem *)& ((arg1)->m_item);
23276
23277 {
412d302d 23278 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
23279 }
23280 return resultobj;
23281 fail:
23282 return NULL;
23283}
23284
23285
c370783e 23286static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23287 PyObject *resultobj;
23288 wxListEvent *arg1 = (wxListEvent *) 0 ;
23289 int result;
23290 PyObject * obj0 = 0 ;
23291 char *kwnames[] = {
23292 (char *) "self", NULL
23293 };
23294
23295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
23296 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 result = (int)(arg1)->GetKeyCode();
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
36ed4f51
RD
23305 {
23306 resultobj = SWIG_From_int((int)(result));
23307 }
d55e5bfc
RD
23308 return resultobj;
23309 fail:
23310 return NULL;
23311}
23312
23313
c370783e 23314static PyObject *_wrap_ListEvent_GetIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23315 PyObject *resultobj;
23316 wxListEvent *arg1 = (wxListEvent *) 0 ;
23317 long result;
23318 PyObject * obj0 = 0 ;
23319 char *kwnames[] = {
23320 (char *) "self", NULL
23321 };
23322
23323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
23324 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 result = (long)(arg1)->GetIndex();
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
36ed4f51
RD
23333 {
23334 resultobj = SWIG_From_long((long)(result));
23335 }
d55e5bfc
RD
23336 return resultobj;
23337 fail:
23338 return NULL;
23339}
23340
23341
c370783e 23342static PyObject *_wrap_ListEvent_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23343 PyObject *resultobj;
23344 wxListEvent *arg1 = (wxListEvent *) 0 ;
23345 int result;
23346 PyObject * obj0 = 0 ;
23347 char *kwnames[] = {
23348 (char *) "self", NULL
23349 };
23350
23351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
23352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23353 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 result = (int)(arg1)->GetColumn();
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
36ed4f51
RD
23361 {
23362 resultobj = SWIG_From_int((int)(result));
23363 }
d55e5bfc
RD
23364 return resultobj;
23365 fail:
23366 return NULL;
23367}
23368
23369
c370783e 23370static PyObject *_wrap_ListEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23371 PyObject *resultobj;
23372 wxListEvent *arg1 = (wxListEvent *) 0 ;
23373 wxPoint result;
23374 PyObject * obj0 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
23380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23381 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = (arg1)->GetPoint();
23385
23386 wxPyEndAllowThreads(__tstate);
23387 if (PyErr_Occurred()) SWIG_fail;
23388 }
23389 {
23390 wxPoint * resultptr;
36ed4f51 23391 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
23392 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23393 }
23394 return resultobj;
23395 fail:
23396 return NULL;
23397}
23398
23399
c370783e 23400static PyObject *_wrap_ListEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23401 PyObject *resultobj;
23402 wxListEvent *arg1 = (wxListEvent *) 0 ;
23403 wxString *result;
23404 PyObject * obj0 = 0 ;
23405 char *kwnames[] = {
23406 (char *) "self", NULL
23407 };
23408
23409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
23410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23411 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23412 {
23413 PyThreadState* __tstate = wxPyBeginAllowThreads();
23414 {
23415 wxString const &_result_ref = (arg1)->GetLabel();
23416 result = (wxString *) &_result_ref;
23417 }
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 {
23423#if wxUSE_UNICODE
23424 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23425#else
23426 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23427#endif
23428 }
23429 return resultobj;
23430 fail:
23431 return NULL;
23432}
23433
23434
c370783e 23435static PyObject *_wrap_ListEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23436 PyObject *resultobj;
23437 wxListEvent *arg1 = (wxListEvent *) 0 ;
23438 wxString *result;
23439 PyObject * obj0 = 0 ;
23440 char *kwnames[] = {
23441 (char *) "self", NULL
23442 };
23443
23444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
23445 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23446 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 {
23450 wxString const &_result_ref = (arg1)->GetText();
23451 result = (wxString *) &_result_ref;
23452 }
23453
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 {
23458#if wxUSE_UNICODE
23459 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23460#else
23461 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23462#endif
23463 }
23464 return resultobj;
23465 fail:
23466 return NULL;
23467}
23468
23469
c370783e 23470static PyObject *_wrap_ListEvent_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23471 PyObject *resultobj;
23472 wxListEvent *arg1 = (wxListEvent *) 0 ;
23473 int result;
23474 PyObject * obj0 = 0 ;
23475 char *kwnames[] = {
23476 (char *) "self", NULL
23477 };
23478
23479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
23480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23481 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23482 {
23483 PyThreadState* __tstate = wxPyBeginAllowThreads();
23484 result = (int)(arg1)->GetImage();
23485
23486 wxPyEndAllowThreads(__tstate);
23487 if (PyErr_Occurred()) SWIG_fail;
23488 }
36ed4f51
RD
23489 {
23490 resultobj = SWIG_From_int((int)(result));
23491 }
d55e5bfc
RD
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
c370783e 23498static PyObject *_wrap_ListEvent_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23499 PyObject *resultobj;
23500 wxListEvent *arg1 = (wxListEvent *) 0 ;
23501 long result;
23502 PyObject * obj0 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "self", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
23508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23509 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23510 {
23511 PyThreadState* __tstate = wxPyBeginAllowThreads();
23512 result = (long)(arg1)->GetData();
23513
23514 wxPyEndAllowThreads(__tstate);
23515 if (PyErr_Occurred()) SWIG_fail;
23516 }
36ed4f51
RD
23517 {
23518 resultobj = SWIG_From_long((long)(result));
23519 }
d55e5bfc
RD
23520 return resultobj;
23521 fail:
23522 return NULL;
23523}
23524
23525
c370783e 23526static PyObject *_wrap_ListEvent_GetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23527 PyObject *resultobj;
23528 wxListEvent *arg1 = (wxListEvent *) 0 ;
23529 long result;
23530 PyObject * obj0 = 0 ;
23531 char *kwnames[] = {
23532 (char *) "self", NULL
23533 };
23534
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
36ed4f51
RD
23536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23538 {
23539 PyThreadState* __tstate = wxPyBeginAllowThreads();
23540 result = (long)(arg1)->GetMask();
23541
23542 wxPyEndAllowThreads(__tstate);
23543 if (PyErr_Occurred()) SWIG_fail;
23544 }
36ed4f51
RD
23545 {
23546 resultobj = SWIG_From_long((long)(result));
23547 }
d55e5bfc
RD
23548 return resultobj;
23549 fail:
23550 return NULL;
23551}
23552
23553
c370783e 23554static PyObject *_wrap_ListEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23555 PyObject *resultobj;
23556 wxListEvent *arg1 = (wxListEvent *) 0 ;
23557 wxListItem *result;
23558 PyObject * obj0 = 0 ;
23559 char *kwnames[] = {
23560 (char *) "self", NULL
23561 };
23562
23563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
23564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 {
23569 wxListItem const &_result_ref = (arg1)->GetItem();
23570 result = (wxListItem *) &_result_ref;
23571 }
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
23577 return resultobj;
23578 fail:
23579 return NULL;
23580}
23581
23582
c370783e 23583static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23584 PyObject *resultobj;
23585 wxListEvent *arg1 = (wxListEvent *) 0 ;
23586 long result;
23587 PyObject * obj0 = 0 ;
23588 char *kwnames[] = {
23589 (char *) "self", NULL
23590 };
23591
23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
36ed4f51
RD
23593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23594 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23595 {
23596 PyThreadState* __tstate = wxPyBeginAllowThreads();
23597 result = (long)(arg1)->GetCacheFrom();
23598
23599 wxPyEndAllowThreads(__tstate);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
36ed4f51
RD
23602 {
23603 resultobj = SWIG_From_long((long)(result));
23604 }
d55e5bfc
RD
23605 return resultobj;
23606 fail:
23607 return NULL;
23608}
23609
23610
c370783e 23611static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23612 PyObject *resultobj;
23613 wxListEvent *arg1 = (wxListEvent *) 0 ;
23614 long result;
23615 PyObject * obj0 = 0 ;
23616 char *kwnames[] = {
23617 (char *) "self", NULL
23618 };
23619
23620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
36ed4f51
RD
23621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23623 {
23624 PyThreadState* __tstate = wxPyBeginAllowThreads();
23625 result = (long)(arg1)->GetCacheTo();
23626
23627 wxPyEndAllowThreads(__tstate);
23628 if (PyErr_Occurred()) SWIG_fail;
23629 }
36ed4f51
RD
23630 {
23631 resultobj = SWIG_From_long((long)(result));
23632 }
d55e5bfc
RD
23633 return resultobj;
23634 fail:
23635 return NULL;
23636}
23637
23638
c370783e 23639static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23640 PyObject *resultobj;
23641 wxListEvent *arg1 = (wxListEvent *) 0 ;
23642 bool result;
23643 PyObject * obj0 = 0 ;
23644 char *kwnames[] = {
23645 (char *) "self", NULL
23646 };
23647
23648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
23649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
23654
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 {
23659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23660 }
23661 return resultobj;
23662 fail:
23663 return NULL;
23664}
23665
23666
c370783e 23667static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23668 PyObject *resultobj;
23669 wxListEvent *arg1 = (wxListEvent *) 0 ;
23670 bool arg2 ;
23671 PyObject * obj0 = 0 ;
23672 PyObject * obj1 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self",(char *) "editCancelled", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23678 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListEvent, SWIG_POINTER_EXCEPTION | 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail;
23680 {
23681 arg2 = (bool)(SWIG_As_bool(obj1));
23682 if (SWIG_arg_fail(2)) SWIG_fail;
23683 }
d55e5bfc
RD
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 (arg1)->SetEditCanceled(arg2);
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 Py_INCREF(Py_None); resultobj = Py_None;
23692 return resultobj;
23693 fail:
23694 return NULL;
23695}
23696
23697
c370783e 23698static PyObject * ListEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
23699 PyObject *obj;
23700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23701 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
23702 Py_INCREF(obj);
23703 return Py_BuildValue((char *)"");
23704}
c370783e 23705static PyObject *_wrap_new_ListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23706 PyObject *resultobj;
23707 wxWindow *arg1 = (wxWindow *) 0 ;
23708 int arg2 = (int) -1 ;
23709 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23710 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23711 wxSize const &arg4_defvalue = wxDefaultSize ;
23712 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23713 long arg5 = (long) wxLC_ICON ;
23714 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23715 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23716 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23717 wxString *arg7 = (wxString *) &arg7_defvalue ;
23718 wxPyListCtrl *result;
23719 wxPoint temp3 ;
23720 wxSize temp4 ;
b411df4a 23721 bool temp7 = false ;
d55e5bfc
RD
23722 PyObject * obj0 = 0 ;
23723 PyObject * obj1 = 0 ;
23724 PyObject * obj2 = 0 ;
23725 PyObject * obj3 = 0 ;
23726 PyObject * obj4 = 0 ;
23727 PyObject * obj5 = 0 ;
23728 PyObject * obj6 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
23734 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23735 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 23736 if (obj1) {
36ed4f51
RD
23737 {
23738 arg2 = (int)(SWIG_As_int(obj1));
23739 if (SWIG_arg_fail(2)) SWIG_fail;
23740 }
d55e5bfc
RD
23741 }
23742 if (obj2) {
23743 {
23744 arg3 = &temp3;
23745 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23746 }
23747 }
23748 if (obj3) {
23749 {
23750 arg4 = &temp4;
23751 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23752 }
23753 }
23754 if (obj4) {
36ed4f51
RD
23755 {
23756 arg5 = (long)(SWIG_As_long(obj4));
23757 if (SWIG_arg_fail(5)) SWIG_fail;
23758 }
d55e5bfc
RD
23759 }
23760 if (obj5) {
36ed4f51
RD
23761 {
23762 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23763 if (SWIG_arg_fail(6)) SWIG_fail;
23764 if (arg6 == NULL) {
23765 SWIG_null_ref("wxValidator");
23766 }
23767 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
23768 }
23769 }
23770 if (obj6) {
23771 {
23772 arg7 = wxString_in_helper(obj6);
23773 if (arg7 == NULL) SWIG_fail;
b411df4a 23774 temp7 = true;
d55e5bfc
RD
23775 }
23776 }
23777 {
0439c23b 23778 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23779 PyThreadState* __tstate = wxPyBeginAllowThreads();
23780 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23781
23782 wxPyEndAllowThreads(__tstate);
110da5b0 23783 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23784 }
23785 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23786 {
23787 if (temp7)
23788 delete arg7;
23789 }
23790 return resultobj;
23791 fail:
23792 {
23793 if (temp7)
23794 delete arg7;
23795 }
23796 return NULL;
23797}
23798
23799
c370783e 23800static PyObject *_wrap_new_PreListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23801 PyObject *resultobj;
23802 wxPyListCtrl *result;
23803 char *kwnames[] = {
23804 NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
23808 {
0439c23b 23809 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 result = (wxPyListCtrl *)new wxPyListCtrl();
23812
23813 wxPyEndAllowThreads(__tstate);
110da5b0 23814 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23815 }
23816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
23817 return resultobj;
23818 fail:
23819 return NULL;
23820}
23821
23822
c370783e 23823static PyObject *_wrap_ListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23824 PyObject *resultobj;
23825 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23826 wxWindow *arg2 = (wxWindow *) 0 ;
23827 int arg3 = (int) -1 ;
23828 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23829 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23830 wxSize const &arg5_defvalue = wxDefaultSize ;
23831 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23832 long arg6 = (long) wxLC_ICON ;
23833 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23834 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23835 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23836 wxString *arg8 = (wxString *) &arg8_defvalue ;
23837 bool result;
23838 wxPoint temp4 ;
23839 wxSize temp5 ;
b411df4a 23840 bool temp8 = false ;
d55e5bfc
RD
23841 PyObject * obj0 = 0 ;
23842 PyObject * obj1 = 0 ;
23843 PyObject * obj2 = 0 ;
23844 PyObject * obj3 = 0 ;
23845 PyObject * obj4 = 0 ;
23846 PyObject * obj5 = 0 ;
23847 PyObject * obj6 = 0 ;
23848 PyObject * obj7 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
23854 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23855 if (SWIG_arg_fail(1)) SWIG_fail;
23856 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
23857 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 23858 if (obj2) {
36ed4f51
RD
23859 {
23860 arg3 = (int)(SWIG_As_int(obj2));
23861 if (SWIG_arg_fail(3)) SWIG_fail;
23862 }
d55e5bfc
RD
23863 }
23864 if (obj3) {
23865 {
23866 arg4 = &temp4;
23867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23868 }
23869 }
23870 if (obj4) {
23871 {
23872 arg5 = &temp5;
23873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23874 }
23875 }
23876 if (obj5) {
36ed4f51
RD
23877 {
23878 arg6 = (long)(SWIG_As_long(obj5));
23879 if (SWIG_arg_fail(6)) SWIG_fail;
23880 }
d55e5bfc
RD
23881 }
23882 if (obj6) {
36ed4f51
RD
23883 {
23884 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
23885 if (SWIG_arg_fail(7)) SWIG_fail;
23886 if (arg7 == NULL) {
23887 SWIG_null_ref("wxValidator");
23888 }
23889 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
23890 }
23891 }
23892 if (obj7) {
23893 {
23894 arg8 = wxString_in_helper(obj7);
23895 if (arg8 == NULL) SWIG_fail;
b411df4a 23896 temp8 = true;
d55e5bfc
RD
23897 }
23898 }
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23902
23903 wxPyEndAllowThreads(__tstate);
23904 if (PyErr_Occurred()) SWIG_fail;
23905 }
23906 {
23907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23908 }
23909 {
23910 if (temp8)
23911 delete arg8;
23912 }
23913 return resultobj;
23914 fail:
23915 {
23916 if (temp8)
23917 delete arg8;
23918 }
23919 return NULL;
23920}
23921
23922
c370783e 23923static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23924 PyObject *resultobj;
23925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23926 PyObject *arg2 = (PyObject *) 0 ;
23927 PyObject *arg3 = (PyObject *) 0 ;
23928 PyObject * obj0 = 0 ;
23929 PyObject * obj1 = 0 ;
23930 PyObject * obj2 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self",(char *) "self",(char *) "_class", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
23936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23937 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23938 arg2 = obj1;
23939 arg3 = obj2;
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
23942 (arg1)->_setCallbackInfo(arg2,arg3);
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 Py_INCREF(Py_None); resultobj = Py_None;
23948 return resultobj;
23949 fail:
23950 return NULL;
23951}
23952
23953
c370783e 23954static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23955 PyObject *resultobj;
23956 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23957 wxColour *arg2 = 0 ;
23958 bool result;
23959 wxColour temp2 ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 char *kwnames[] = {
23963 (char *) "self",(char *) "col", NULL
23964 };
23965
23966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
23967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
23968 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
23969 {
23970 arg2 = &temp2;
23971 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
23972 }
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
23976
23977 wxPyEndAllowThreads(__tstate);
23978 if (PyErr_Occurred()) SWIG_fail;
23979 }
23980 {
23981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23982 }
23983 return resultobj;
23984 fail:
23985 return NULL;
23986}
23987
23988
c370783e 23989static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
23990 PyObject *resultobj;
23991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23992 wxColour *arg2 = 0 ;
23993 bool result;
23994 wxColour temp2 ;
23995 PyObject * obj0 = 0 ;
23996 PyObject * obj1 = 0 ;
23997 char *kwnames[] = {
23998 (char *) "self",(char *) "col", NULL
23999 };
24000
24001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24004 {
24005 arg2 = &temp2;
24006 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24007 }
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 {
24016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24017 }
24018 return resultobj;
24019 fail:
24020 return NULL;
24021}
24022
24023
c370783e 24024static PyObject *_wrap_ListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24025 PyObject *resultobj;
24026 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24027 int arg2 ;
24028 wxListItem *result;
24029 PyObject * obj0 = 0 ;
24030 PyObject * obj1 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self",(char *) "col", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24037 if (SWIG_arg_fail(1)) SWIG_fail;
24038 {
24039 arg2 = (int)(SWIG_As_int(obj1));
24040 if (SWIG_arg_fail(2)) SWIG_fail;
24041 }
d55e5bfc
RD
24042 {
24043 PyThreadState* __tstate = wxPyBeginAllowThreads();
24044 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
24045
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
24049 {
412d302d 24050 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24051 }
24052 return resultobj;
24053 fail:
24054 return NULL;
24055}
24056
24057
c370783e 24058static PyObject *_wrap_ListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24059 PyObject *resultobj;
24060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24061 int arg2 ;
24062 wxListItem *arg3 = 0 ;
24063 bool result;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 PyObject * obj2 = 0 ;
24067 char *kwnames[] = {
24068 (char *) "self",(char *) "col",(char *) "item", NULL
24069 };
24070
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24073 if (SWIG_arg_fail(1)) SWIG_fail;
24074 {
24075 arg2 = (int)(SWIG_As_int(obj1));
24076 if (SWIG_arg_fail(2)) SWIG_fail;
24077 }
24078 {
24079 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24080 if (SWIG_arg_fail(3)) SWIG_fail;
24081 if (arg3 == NULL) {
24082 SWIG_null_ref("wxListItem");
24083 }
24084 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
24085 }
24086 {
24087 PyThreadState* __tstate = wxPyBeginAllowThreads();
24088 result = (bool)(arg1)->SetColumn(arg2,*arg3);
24089
24090 wxPyEndAllowThreads(__tstate);
24091 if (PyErr_Occurred()) SWIG_fail;
24092 }
24093 {
24094 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24095 }
24096 return resultobj;
24097 fail:
24098 return NULL;
24099}
24100
24101
c370783e 24102static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24103 PyObject *resultobj;
24104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24105 int arg2 ;
24106 int result;
24107 PyObject * obj0 = 0 ;
24108 PyObject * obj1 = 0 ;
24109 char *kwnames[] = {
24110 (char *) "self",(char *) "col", NULL
24111 };
24112
24113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail;
24116 {
24117 arg2 = (int)(SWIG_As_int(obj1));
24118 if (SWIG_arg_fail(2)) SWIG_fail;
24119 }
d55e5bfc
RD
24120 {
24121 PyThreadState* __tstate = wxPyBeginAllowThreads();
24122 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
24123
24124 wxPyEndAllowThreads(__tstate);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
36ed4f51
RD
24127 {
24128 resultobj = SWIG_From_int((int)(result));
24129 }
d55e5bfc
RD
24130 return resultobj;
24131 fail:
24132 return NULL;
24133}
24134
24135
c370783e 24136static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24137 PyObject *resultobj;
24138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24139 int arg2 ;
24140 int arg3 ;
24141 bool result;
24142 PyObject * obj0 = 0 ;
24143 PyObject * obj1 = 0 ;
24144 PyObject * obj2 = 0 ;
24145 char *kwnames[] = {
24146 (char *) "self",(char *) "col",(char *) "width", NULL
24147 };
24148
24149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24150 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail;
24152 {
24153 arg2 = (int)(SWIG_As_int(obj1));
24154 if (SWIG_arg_fail(2)) SWIG_fail;
24155 }
24156 {
24157 arg3 = (int)(SWIG_As_int(obj2));
24158 if (SWIG_arg_fail(3)) SWIG_fail;
24159 }
d55e5bfc
RD
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 {
24168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24169 }
24170 return resultobj;
24171 fail:
24172 return NULL;
24173}
24174
24175
c370783e 24176static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24177 PyObject *resultobj;
24178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24179 int result;
24180 PyObject * obj0 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
36ed4f51
RD
24186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
36ed4f51
RD
24195 {
24196 resultobj = SWIG_From_int((int)(result));
24197 }
d55e5bfc
RD
24198 return resultobj;
24199 fail:
24200 return NULL;
24201}
24202
24203
c370783e 24204static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24205 PyObject *resultobj;
24206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24207 wxRect result;
24208 PyObject * obj0 = 0 ;
24209 char *kwnames[] = {
24210 (char *) "self", NULL
24211 };
24212
24213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
36ed4f51
RD
24214 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24215 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24216 {
24217 PyThreadState* __tstate = wxPyBeginAllowThreads();
24218 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
24219
24220 wxPyEndAllowThreads(__tstate);
24221 if (PyErr_Occurred()) SWIG_fail;
24222 }
24223 {
24224 wxRect * resultptr;
36ed4f51 24225 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24227 }
24228 return resultobj;
24229 fail:
24230 return NULL;
24231}
24232
24233
c370783e 24234static PyObject *_wrap_ListCtrl_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24235 PyObject *resultobj;
24236 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24237 long arg2 ;
24238 int arg3 = (int) 0 ;
24239 wxListItem *result;
24240 PyObject * obj0 = 0 ;
24241 PyObject * obj1 = 0 ;
24242 PyObject * obj2 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "self",(char *) "itemId",(char *) "col", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24248 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24249 if (SWIG_arg_fail(1)) SWIG_fail;
24250 {
24251 arg2 = (long)(SWIG_As_long(obj1));
24252 if (SWIG_arg_fail(2)) SWIG_fail;
24253 }
d55e5bfc 24254 if (obj2) {
36ed4f51
RD
24255 {
24256 arg3 = (int)(SWIG_As_int(obj2));
24257 if (SWIG_arg_fail(3)) SWIG_fail;
24258 }
d55e5bfc
RD
24259 }
24260 {
24261 PyThreadState* __tstate = wxPyBeginAllowThreads();
24262 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
24263
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 {
412d302d 24268 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
24269 }
24270 return resultobj;
24271 fail:
24272 return NULL;
24273}
24274
24275
c370783e 24276static PyObject *_wrap_ListCtrl_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24277 PyObject *resultobj;
24278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24279 wxListItem *arg2 = 0 ;
24280 bool result;
24281 PyObject * obj0 = 0 ;
24282 PyObject * obj1 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self",(char *) "info", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24289 if (SWIG_arg_fail(1)) SWIG_fail;
24290 {
24291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
24292 if (SWIG_arg_fail(2)) SWIG_fail;
24293 if (arg2 == NULL) {
24294 SWIG_null_ref("wxListItem");
24295 }
24296 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
24297 }
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = (bool)(arg1)->SetItem(*arg2);
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24307 }
24308 return resultobj;
24309 fail:
24310 return NULL;
24311}
24312
24313
c370783e 24314static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24315 PyObject *resultobj;
24316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24317 long arg2 ;
24318 int arg3 ;
24319 wxString *arg4 = 0 ;
24320 int arg5 = (int) -1 ;
24321 long result;
b411df4a 24322 bool temp4 = false ;
d55e5bfc
RD
24323 PyObject * obj0 = 0 ;
24324 PyObject * obj1 = 0 ;
24325 PyObject * obj2 = 0 ;
24326 PyObject * obj3 = 0 ;
24327 PyObject * obj4 = 0 ;
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
24330 };
24331
24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
24333 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24334 if (SWIG_arg_fail(1)) SWIG_fail;
24335 {
24336 arg2 = (long)(SWIG_As_long(obj1));
24337 if (SWIG_arg_fail(2)) SWIG_fail;
24338 }
24339 {
24340 arg3 = (int)(SWIG_As_int(obj2));
24341 if (SWIG_arg_fail(3)) SWIG_fail;
24342 }
d55e5bfc
RD
24343 {
24344 arg4 = wxString_in_helper(obj3);
24345 if (arg4 == NULL) SWIG_fail;
b411df4a 24346 temp4 = true;
d55e5bfc
RD
24347 }
24348 if (obj4) {
36ed4f51
RD
24349 {
24350 arg5 = (int)(SWIG_As_int(obj4));
24351 if (SWIG_arg_fail(5)) SWIG_fail;
24352 }
d55e5bfc
RD
24353 }
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
24357
24358 wxPyEndAllowThreads(__tstate);
24359 if (PyErr_Occurred()) SWIG_fail;
24360 }
36ed4f51
RD
24361 {
24362 resultobj = SWIG_From_long((long)(result));
24363 }
d55e5bfc
RD
24364 {
24365 if (temp4)
24366 delete arg4;
24367 }
24368 return resultobj;
24369 fail:
24370 {
24371 if (temp4)
24372 delete arg4;
24373 }
24374 return NULL;
24375}
24376
24377
c370783e 24378static PyObject *_wrap_ListCtrl_GetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24379 PyObject *resultobj;
24380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24381 long arg2 ;
24382 long arg3 ;
24383 int result;
24384 PyObject * obj0 = 0 ;
24385 PyObject * obj1 = 0 ;
24386 PyObject * obj2 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self",(char *) "item",(char *) "stateMask", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24393 if (SWIG_arg_fail(1)) SWIG_fail;
24394 {
24395 arg2 = (long)(SWIG_As_long(obj1));
24396 if (SWIG_arg_fail(2)) SWIG_fail;
24397 }
24398 {
24399 arg3 = (long)(SWIG_As_long(obj2));
24400 if (SWIG_arg_fail(3)) SWIG_fail;
24401 }
d55e5bfc
RD
24402 {
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
24405
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
36ed4f51
RD
24409 {
24410 resultobj = SWIG_From_int((int)(result));
24411 }
d55e5bfc
RD
24412 return resultobj;
24413 fail:
24414 return NULL;
24415}
24416
24417
c370783e 24418static PyObject *_wrap_ListCtrl_SetItemState(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24419 PyObject *resultobj;
24420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24421 long arg2 ;
24422 long arg3 ;
24423 long arg4 ;
24424 bool result;
24425 PyObject * obj0 = 0 ;
24426 PyObject * obj1 = 0 ;
24427 PyObject * obj2 = 0 ;
24428 PyObject * obj3 = 0 ;
24429 char *kwnames[] = {
24430 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
24431 };
24432
24433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24435 if (SWIG_arg_fail(1)) SWIG_fail;
24436 {
24437 arg2 = (long)(SWIG_As_long(obj1));
24438 if (SWIG_arg_fail(2)) SWIG_fail;
24439 }
24440 {
24441 arg3 = (long)(SWIG_As_long(obj2));
24442 if (SWIG_arg_fail(3)) SWIG_fail;
24443 }
24444 {
24445 arg4 = (long)(SWIG_As_long(obj3));
24446 if (SWIG_arg_fail(4)) SWIG_fail;
24447 }
d55e5bfc
RD
24448 {
24449 PyThreadState* __tstate = wxPyBeginAllowThreads();
24450 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
24451
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 {
24456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24457 }
24458 return resultobj;
24459 fail:
24460 return NULL;
24461}
24462
24463
c370783e 24464static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24465 PyObject *resultobj;
24466 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24467 long arg2 ;
24468 int arg3 ;
84f85550 24469 int arg4 = (int) -1 ;
d55e5bfc
RD
24470 bool result;
24471 PyObject * obj0 = 0 ;
24472 PyObject * obj1 = 0 ;
24473 PyObject * obj2 = 0 ;
24474 PyObject * obj3 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
24477 };
24478
84f85550 24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
24480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24481 if (SWIG_arg_fail(1)) SWIG_fail;
24482 {
24483 arg2 = (long)(SWIG_As_long(obj1));
24484 if (SWIG_arg_fail(2)) SWIG_fail;
24485 }
24486 {
24487 arg3 = (int)(SWIG_As_int(obj2));
24488 if (SWIG_arg_fail(3)) SWIG_fail;
24489 }
84f85550 24490 if (obj3) {
36ed4f51
RD
24491 {
24492 arg4 = (int)(SWIG_As_int(obj3));
24493 if (SWIG_arg_fail(4)) SWIG_fail;
24494 }
84f85550 24495 }
d55e5bfc
RD
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
24499
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 {
24504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24505 }
24506 return resultobj;
24507 fail:
24508 return NULL;
24509}
24510
24511
c370783e 24512static PyObject *_wrap_ListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24513 PyObject *resultobj;
24514 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24515 long arg2 ;
24516 wxString result;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self",(char *) "item", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24524 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24525 if (SWIG_arg_fail(1)) SWIG_fail;
24526 {
24527 arg2 = (long)(SWIG_As_long(obj1));
24528 if (SWIG_arg_fail(2)) SWIG_fail;
24529 }
d55e5bfc
RD
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
24533
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 {
24538#if wxUSE_UNICODE
24539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24540#else
24541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24542#endif
24543 }
24544 return resultobj;
24545 fail:
24546 return NULL;
24547}
24548
24549
c370783e 24550static PyObject *_wrap_ListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24551 PyObject *resultobj;
24552 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24553 long arg2 ;
24554 wxString *arg3 = 0 ;
b411df4a 24555 bool temp3 = false ;
d55e5bfc
RD
24556 PyObject * obj0 = 0 ;
24557 PyObject * obj1 = 0 ;
24558 PyObject * obj2 = 0 ;
24559 char *kwnames[] = {
24560 (char *) "self",(char *) "item",(char *) "str", NULL
24561 };
24562
24563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24565 if (SWIG_arg_fail(1)) SWIG_fail;
24566 {
24567 arg2 = (long)(SWIG_As_long(obj1));
24568 if (SWIG_arg_fail(2)) SWIG_fail;
24569 }
d55e5bfc
RD
24570 {
24571 arg3 = wxString_in_helper(obj2);
24572 if (arg3 == NULL) SWIG_fail;
b411df4a 24573 temp3 = true;
d55e5bfc
RD
24574 }
24575 {
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 Py_INCREF(Py_None); resultobj = Py_None;
24583 {
24584 if (temp3)
24585 delete arg3;
24586 }
24587 return resultobj;
24588 fail:
24589 {
24590 if (temp3)
24591 delete arg3;
24592 }
24593 return NULL;
24594}
24595
24596
c370783e 24597static PyObject *_wrap_ListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24598 PyObject *resultobj;
24599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24600 long arg2 ;
24601 long result;
24602 PyObject * obj0 = 0 ;
24603 PyObject * obj1 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self",(char *) "item", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24610 if (SWIG_arg_fail(1)) SWIG_fail;
24611 {
24612 arg2 = (long)(SWIG_As_long(obj1));
24613 if (SWIG_arg_fail(2)) SWIG_fail;
24614 }
d55e5bfc
RD
24615 {
24616 PyThreadState* __tstate = wxPyBeginAllowThreads();
24617 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
24618
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
36ed4f51
RD
24622 {
24623 resultobj = SWIG_From_long((long)(result));
24624 }
d55e5bfc
RD
24625 return resultobj;
24626 fail:
24627 return NULL;
24628}
24629
24630
c370783e 24631static PyObject *_wrap_ListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24632 PyObject *resultobj;
24633 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24634 long arg2 ;
24635 long arg3 ;
24636 bool result;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 PyObject * obj2 = 0 ;
24640 char *kwnames[] = {
24641 (char *) "self",(char *) "item",(char *) "data", NULL
24642 };
24643
24644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail;
24647 {
24648 arg2 = (long)(SWIG_As_long(obj1));
24649 if (SWIG_arg_fail(2)) SWIG_fail;
24650 }
24651 {
24652 arg3 = (long)(SWIG_As_long(obj2));
24653 if (SWIG_arg_fail(3)) SWIG_fail;
24654 }
d55e5bfc
RD
24655 {
24656 PyThreadState* __tstate = wxPyBeginAllowThreads();
24657 result = (bool)(arg1)->SetItemData(arg2,arg3);
24658
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 {
24663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24664 }
24665 return resultobj;
24666 fail:
24667 return NULL;
24668}
24669
24670
c370783e 24671static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24672 PyObject *resultobj;
24673 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24674 long arg2 ;
24675 wxPoint result;
24676 PyObject * obj0 = 0 ;
24677 PyObject * obj1 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self",(char *) "item", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24683 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail;
24685 {
24686 arg2 = (long)(SWIG_As_long(obj1));
24687 if (SWIG_arg_fail(2)) SWIG_fail;
24688 }
d55e5bfc
RD
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
24692
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 {
24697 wxPoint * resultptr;
36ed4f51 24698 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
24699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24700 }
24701 return resultobj;
24702 fail:
24703 return NULL;
24704}
24705
24706
c370783e 24707static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24708 PyObject *resultobj;
24709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24710 long arg2 ;
24711 int arg3 = (int) wxLIST_RECT_BOUNDS ;
24712 wxRect result;
24713 PyObject * obj0 = 0 ;
24714 PyObject * obj1 = 0 ;
24715 PyObject * obj2 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self",(char *) "item",(char *) "code", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24722 if (SWIG_arg_fail(1)) SWIG_fail;
24723 {
24724 arg2 = (long)(SWIG_As_long(obj1));
24725 if (SWIG_arg_fail(2)) SWIG_fail;
24726 }
d55e5bfc 24727 if (obj2) {
36ed4f51
RD
24728 {
24729 arg3 = (int)(SWIG_As_int(obj2));
24730 if (SWIG_arg_fail(3)) SWIG_fail;
24731 }
d55e5bfc
RD
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 {
24741 wxRect * resultptr;
36ed4f51 24742 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
24743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
24744 }
24745 return resultobj;
24746 fail:
24747 return NULL;
24748}
24749
24750
c370783e 24751static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24752 PyObject *resultobj;
24753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24754 long arg2 ;
24755 wxPoint *arg3 = 0 ;
24756 bool result;
24757 wxPoint temp3 ;
24758 PyObject * obj0 = 0 ;
24759 PyObject * obj1 = 0 ;
24760 PyObject * obj2 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self",(char *) "item",(char *) "pos", NULL
24763 };
24764
24765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail;
24768 {
24769 arg2 = (long)(SWIG_As_long(obj1));
24770 if (SWIG_arg_fail(2)) SWIG_fail;
24771 }
d55e5bfc
RD
24772 {
24773 arg3 = &temp3;
24774 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24775 }
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 {
24784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24785 }
24786 return resultobj;
24787 fail:
24788 return NULL;
24789}
24790
24791
c370783e 24792static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24793 PyObject *resultobj;
24794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24795 int result;
24796 PyObject * obj0 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24803 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24804 {
24805 PyThreadState* __tstate = wxPyBeginAllowThreads();
24806 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
24807
24808 wxPyEndAllowThreads(__tstate);
24809 if (PyErr_Occurred()) SWIG_fail;
24810 }
36ed4f51
RD
24811 {
24812 resultobj = SWIG_From_int((int)(result));
24813 }
d55e5bfc
RD
24814 return resultobj;
24815 fail:
24816 return NULL;
24817}
24818
24819
c370783e 24820static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24821 PyObject *resultobj;
24822 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24823 int result;
24824 PyObject * obj0 = 0 ;
24825 char *kwnames[] = {
24826 (char *) "self", NULL
24827 };
24828
24829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24830 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24831 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24832 {
24833 PyThreadState* __tstate = wxPyBeginAllowThreads();
24834 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
24835
24836 wxPyEndAllowThreads(__tstate);
24837 if (PyErr_Occurred()) SWIG_fail;
24838 }
36ed4f51
RD
24839 {
24840 resultobj = SWIG_From_int((int)(result));
24841 }
d55e5bfc
RD
24842 return resultobj;
24843 fail:
24844 return NULL;
24845}
24846
24847
c370783e 24848static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24849 PyObject *resultobj;
24850 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24851 wxSize result;
24852 PyObject * obj0 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
24858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24859 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 {
24868 wxSize * resultptr;
36ed4f51 24869 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
24870 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24871 }
24872 return resultobj;
24873 fail:
24874 return NULL;
24875}
24876
24877
c370783e 24878static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24879 PyObject *resultobj;
24880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24881 int arg2 ;
b411df4a 24882 bool arg3 = (bool) false ;
d55e5bfc
RD
24883 PyObject * obj0 = 0 ;
24884 PyObject * obj1 = 0 ;
24885 PyObject * obj2 = 0 ;
24886 char *kwnames[] = {
24887 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
24888 };
24889
24890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
24891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24892 if (SWIG_arg_fail(1)) SWIG_fail;
24893 {
24894 arg2 = (int)(SWIG_As_int(obj1));
24895 if (SWIG_arg_fail(2)) SWIG_fail;
24896 }
d55e5bfc 24897 if (obj2) {
36ed4f51
RD
24898 {
24899 arg3 = (bool)(SWIG_As_bool(obj2));
24900 if (SWIG_arg_fail(3)) SWIG_fail;
24901 }
d55e5bfc
RD
24902 }
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 (arg1)->SetItemSpacing(arg2,arg3);
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 Py_INCREF(Py_None); resultobj = Py_None;
24911 return resultobj;
24912 fail:
24913 return NULL;
24914}
24915
24916
c370783e 24917static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24918 PyObject *resultobj;
24919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24920 int result;
24921 PyObject * obj0 = 0 ;
24922 char *kwnames[] = {
24923 (char *) "self", NULL
24924 };
24925
24926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
24927 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24928 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24929 {
24930 PyThreadState* __tstate = wxPyBeginAllowThreads();
24931 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
24932
24933 wxPyEndAllowThreads(__tstate);
24934 if (PyErr_Occurred()) SWIG_fail;
24935 }
36ed4f51
RD
24936 {
24937 resultobj = SWIG_From_int((int)(result));
24938 }
d55e5bfc
RD
24939 return resultobj;
24940 fail:
24941 return NULL;
24942}
24943
24944
c370783e 24945static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24946 PyObject *resultobj;
24947 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24948 wxColour result;
24949 PyObject * obj0 = 0 ;
24950 char *kwnames[] = {
24951 (char *) "self", NULL
24952 };
24953
24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
36ed4f51
RD
24955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24956 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24957 {
24958 PyThreadState* __tstate = wxPyBeginAllowThreads();
24959 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
24960
24961 wxPyEndAllowThreads(__tstate);
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 {
24965 wxColour * resultptr;
36ed4f51 24966 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
24967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24968 }
24969 return resultobj;
24970 fail:
24971 return NULL;
24972}
24973
24974
c370783e 24975static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
24976 PyObject *resultobj;
24977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
24978 wxColour *arg2 = 0 ;
24979 wxColour temp2 ;
24980 PyObject * obj0 = 0 ;
24981 PyObject * obj1 = 0 ;
24982 char *kwnames[] = {
24983 (char *) "self",(char *) "col", NULL
24984 };
24985
24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
24987 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
24988 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
24989 {
24990 arg2 = &temp2;
24991 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24992 }
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 (arg1)->SetTextColour((wxColour const &)*arg2);
24996
24997 wxPyEndAllowThreads(__tstate);
24998 if (PyErr_Occurred()) SWIG_fail;
24999 }
25000 Py_INCREF(Py_None); resultobj = Py_None;
25001 return resultobj;
25002 fail:
25003 return NULL;
25004}
25005
25006
c370783e 25007static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25008 PyObject *resultobj;
25009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25010 long result;
25011 PyObject * obj0 = 0 ;
25012 char *kwnames[] = {
25013 (char *) "self", NULL
25014 };
25015
25016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
25017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25018 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25019 {
25020 PyThreadState* __tstate = wxPyBeginAllowThreads();
25021 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
25022
25023 wxPyEndAllowThreads(__tstate);
25024 if (PyErr_Occurred()) SWIG_fail;
25025 }
36ed4f51
RD
25026 {
25027 resultobj = SWIG_From_long((long)(result));
25028 }
d55e5bfc
RD
25029 return resultobj;
25030 fail:
25031 return NULL;
25032}
25033
25034
c370783e 25035static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25036 PyObject *resultobj;
25037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25038 long arg2 ;
b411df4a 25039 bool arg3 = (bool) true ;
d55e5bfc
RD
25040 PyObject * obj0 = 0 ;
25041 PyObject * obj1 = 0 ;
25042 PyObject * obj2 = 0 ;
25043 char *kwnames[] = {
25044 (char *) "self",(char *) "style",(char *) "add", NULL
25045 };
25046
25047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25049 if (SWIG_arg_fail(1)) SWIG_fail;
25050 {
25051 arg2 = (long)(SWIG_As_long(obj1));
25052 if (SWIG_arg_fail(2)) SWIG_fail;
25053 }
d55e5bfc 25054 if (obj2) {
36ed4f51
RD
25055 {
25056 arg3 = (bool)(SWIG_As_bool(obj2));
25057 if (SWIG_arg_fail(3)) SWIG_fail;
25058 }
d55e5bfc
RD
25059 }
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 (arg1)->SetSingleStyle(arg2,arg3);
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 Py_INCREF(Py_None); resultobj = Py_None;
25068 return resultobj;
25069 fail:
25070 return NULL;
25071}
25072
25073
c370783e 25074static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25075 PyObject *resultobj;
25076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25077 long arg2 ;
25078 PyObject * obj0 = 0 ;
25079 PyObject * obj1 = 0 ;
25080 char *kwnames[] = {
25081 (char *) "self",(char *) "style", NULL
25082 };
25083
25084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25086 if (SWIG_arg_fail(1)) SWIG_fail;
25087 {
25088 arg2 = (long)(SWIG_As_long(obj1));
25089 if (SWIG_arg_fail(2)) SWIG_fail;
25090 }
d55e5bfc
RD
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 (arg1)->SetWindowStyleFlag(arg2);
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 Py_INCREF(Py_None); resultobj = Py_None;
25099 return resultobj;
25100 fail:
25101 return NULL;
25102}
25103
25104
c370783e 25105static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25106 PyObject *resultobj;
25107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25108 long arg2 ;
25109 int arg3 = (int) wxLIST_NEXT_ALL ;
25110 int arg4 = (int) wxLIST_STATE_DONTCARE ;
25111 long result;
25112 PyObject * obj0 = 0 ;
25113 PyObject * obj1 = 0 ;
25114 PyObject * obj2 = 0 ;
25115 PyObject * obj3 = 0 ;
25116 char *kwnames[] = {
25117 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
25118 };
25119
25120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25122 if (SWIG_arg_fail(1)) SWIG_fail;
25123 {
25124 arg2 = (long)(SWIG_As_long(obj1));
25125 if (SWIG_arg_fail(2)) SWIG_fail;
25126 }
d55e5bfc 25127 if (obj2) {
36ed4f51
RD
25128 {
25129 arg3 = (int)(SWIG_As_int(obj2));
25130 if (SWIG_arg_fail(3)) SWIG_fail;
25131 }
d55e5bfc
RD
25132 }
25133 if (obj3) {
36ed4f51
RD
25134 {
25135 arg4 = (int)(SWIG_As_int(obj3));
25136 if (SWIG_arg_fail(4)) SWIG_fail;
25137 }
d55e5bfc
RD
25138 }
25139 {
25140 PyThreadState* __tstate = wxPyBeginAllowThreads();
25141 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
25142
25143 wxPyEndAllowThreads(__tstate);
25144 if (PyErr_Occurred()) SWIG_fail;
25145 }
36ed4f51
RD
25146 {
25147 resultobj = SWIG_From_long((long)(result));
25148 }
d55e5bfc
RD
25149 return resultobj;
25150 fail:
25151 return NULL;
25152}
25153
25154
c370783e 25155static PyObject *_wrap_ListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25156 PyObject *resultobj;
25157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25158 int arg2 ;
25159 wxImageList *result;
25160 PyObject * obj0 = 0 ;
25161 PyObject * obj1 = 0 ;
25162 char *kwnames[] = {
25163 (char *) "self",(char *) "which", NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail;
25169 {
25170 arg2 = (int)(SWIG_As_int(obj1));
25171 if (SWIG_arg_fail(2)) SWIG_fail;
25172 }
d55e5bfc
RD
25173 {
25174 PyThreadState* __tstate = wxPyBeginAllowThreads();
25175 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
25176
25177 wxPyEndAllowThreads(__tstate);
25178 if (PyErr_Occurred()) SWIG_fail;
25179 }
25180 {
412d302d 25181 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
25182 }
25183 return resultobj;
25184 fail:
25185 return NULL;
25186}
25187
25188
c370783e 25189static PyObject *_wrap_ListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25190 PyObject *resultobj;
25191 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25192 wxImageList *arg2 = (wxImageList *) 0 ;
25193 int arg3 ;
25194 PyObject * obj0 = 0 ;
25195 PyObject * obj1 = 0 ;
25196 PyObject * obj2 = 0 ;
25197 char *kwnames[] = {
25198 (char *) "self",(char *) "imageList",(char *) "which", NULL
25199 };
25200
25201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail;
25204 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
25205 if (SWIG_arg_fail(2)) SWIG_fail;
25206 {
25207 arg3 = (int)(SWIG_As_int(obj2));
25208 if (SWIG_arg_fail(3)) SWIG_fail;
25209 }
d55e5bfc
RD
25210 {
25211 PyThreadState* __tstate = wxPyBeginAllowThreads();
25212 (arg1)->SetImageList(arg2,arg3);
25213
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
25217 Py_INCREF(Py_None); resultobj = Py_None;
25218 return resultobj;
25219 fail:
25220 return NULL;
25221}
25222
25223
c370783e 25224static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25225 PyObject *resultobj;
25226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25227 wxImageList *arg2 = (wxImageList *) 0 ;
25228 int arg3 ;
25229 PyObject * obj0 = 0 ;
25230 PyObject * obj1 = 0 ;
25231 PyObject * obj2 = 0 ;
25232 char *kwnames[] = {
25233 (char *) "self",(char *) "imageList",(char *) "which", NULL
25234 };
25235
25236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25238 if (SWIG_arg_fail(1)) SWIG_fail;
25239 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
25240 if (SWIG_arg_fail(2)) SWIG_fail;
25241 {
25242 arg3 = (int)(SWIG_As_int(obj2));
25243 if (SWIG_arg_fail(3)) SWIG_fail;
25244 }
d55e5bfc
RD
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 (arg1)->AssignImageList(arg2,arg3);
25248
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 Py_INCREF(Py_None); resultobj = Py_None;
25253 return resultobj;
25254 fail:
25255 return NULL;
25256}
25257
25258
c370783e 25259static PyObject *_wrap_ListCtrl_InReportView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25260 PyObject *resultobj;
25261 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25262 bool result;
25263 PyObject * obj0 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
36ed4f51
RD
25269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25270 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 {
25279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25280 }
25281 return resultobj;
25282 fail:
25283 return NULL;
25284}
25285
25286
c370783e 25287static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25288 PyObject *resultobj;
25289 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25290 bool result;
25291 PyObject * obj0 = 0 ;
25292 char *kwnames[] = {
25293 (char *) "self", NULL
25294 };
25295
25296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
36ed4f51
RD
25297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25298 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
25302
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 {
25307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25308 }
25309 return resultobj;
25310 fail:
25311 return NULL;
25312}
25313
25314
c370783e 25315static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25316 PyObject *resultobj;
25317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25318 long arg2 ;
25319 PyObject * obj0 = 0 ;
25320 PyObject * obj1 = 0 ;
25321 char *kwnames[] = {
25322 (char *) "self",(char *) "item", NULL
25323 };
25324
25325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25327 if (SWIG_arg_fail(1)) SWIG_fail;
25328 {
25329 arg2 = (long)(SWIG_As_long(obj1));
25330 if (SWIG_arg_fail(2)) SWIG_fail;
25331 }
d55e5bfc
RD
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 (arg1)->RefreshItem(arg2);
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 Py_INCREF(Py_None); resultobj = Py_None;
25340 return resultobj;
25341 fail:
25342 return NULL;
25343}
25344
25345
c370783e 25346static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25347 PyObject *resultobj;
25348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25349 long arg2 ;
25350 long arg3 ;
25351 PyObject * obj0 = 0 ;
25352 PyObject * obj1 = 0 ;
25353 PyObject * obj2 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25360 if (SWIG_arg_fail(1)) SWIG_fail;
25361 {
25362 arg2 = (long)(SWIG_As_long(obj1));
25363 if (SWIG_arg_fail(2)) SWIG_fail;
25364 }
25365 {
25366 arg3 = (long)(SWIG_As_long(obj2));
25367 if (SWIG_arg_fail(3)) SWIG_fail;
25368 }
d55e5bfc
RD
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 (arg1)->RefreshItems(arg2,arg3);
25372
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 Py_INCREF(Py_None); resultobj = Py_None;
25377 return resultobj;
25378 fail:
25379 return NULL;
25380}
25381
25382
c370783e 25383static PyObject *_wrap_ListCtrl_Arrange(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25384 PyObject *resultobj;
25385 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25386 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
25387 bool result;
25388 PyObject * obj0 = 0 ;
25389 PyObject * obj1 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self",(char *) "flag", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25395 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25396 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 25397 if (obj1) {
36ed4f51
RD
25398 {
25399 arg2 = (int)(SWIG_As_int(obj1));
25400 if (SWIG_arg_fail(2)) SWIG_fail;
25401 }
d55e5bfc
RD
25402 }
25403 {
25404 PyThreadState* __tstate = wxPyBeginAllowThreads();
25405 result = (bool)(arg1)->Arrange(arg2);
25406
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 {
25411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25412 }
25413 return resultobj;
25414 fail:
25415 return NULL;
25416}
25417
25418
c370783e 25419static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25420 PyObject *resultobj;
25421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25422 long arg2 ;
25423 bool result;
25424 PyObject * obj0 = 0 ;
25425 PyObject * obj1 = 0 ;
25426 char *kwnames[] = {
25427 (char *) "self",(char *) "item", NULL
25428 };
25429
25430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25431 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25432 if (SWIG_arg_fail(1)) SWIG_fail;
25433 {
25434 arg2 = (long)(SWIG_As_long(obj1));
25435 if (SWIG_arg_fail(2)) SWIG_fail;
25436 }
d55e5bfc
RD
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 result = (bool)(arg1)->DeleteItem(arg2);
25440
25441 wxPyEndAllowThreads(__tstate);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 {
25445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25446 }
25447 return resultobj;
25448 fail:
25449 return NULL;
25450}
25451
25452
c370783e 25453static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25454 PyObject *resultobj;
25455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25456 bool result;
25457 PyObject * obj0 = 0 ;
25458 char *kwnames[] = {
25459 (char *) "self", NULL
25460 };
25461
25462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
25463 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25464 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25465 {
25466 PyThreadState* __tstate = wxPyBeginAllowThreads();
25467 result = (bool)(arg1)->DeleteAllItems();
25468
25469 wxPyEndAllowThreads(__tstate);
25470 if (PyErr_Occurred()) SWIG_fail;
25471 }
25472 {
25473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25474 }
25475 return resultobj;
25476 fail:
25477 return NULL;
25478}
25479
25480
c370783e 25481static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25482 PyObject *resultobj;
25483 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25484 int arg2 ;
25485 bool result;
25486 PyObject * obj0 = 0 ;
25487 PyObject * obj1 = 0 ;
25488 char *kwnames[] = {
25489 (char *) "self",(char *) "col", NULL
25490 };
25491
25492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25493 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25494 if (SWIG_arg_fail(1)) SWIG_fail;
25495 {
25496 arg2 = (int)(SWIG_As_int(obj1));
25497 if (SWIG_arg_fail(2)) SWIG_fail;
25498 }
d55e5bfc
RD
25499 {
25500 PyThreadState* __tstate = wxPyBeginAllowThreads();
25501 result = (bool)(arg1)->DeleteColumn(arg2);
25502
25503 wxPyEndAllowThreads(__tstate);
25504 if (PyErr_Occurred()) SWIG_fail;
25505 }
25506 {
25507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25508 }
25509 return resultobj;
25510 fail:
25511 return NULL;
25512}
25513
25514
c370783e 25515static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25516 PyObject *resultobj;
25517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25518 bool result;
25519 PyObject * obj0 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
36ed4f51
RD
25525 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25526 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 result = (bool)(arg1)->DeleteAllColumns();
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 {
25535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25536 }
25537 return resultobj;
25538 fail:
25539 return NULL;
25540}
25541
25542
c370783e 25543static PyObject *_wrap_ListCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25544 PyObject *resultobj;
25545 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25546 PyObject * obj0 = 0 ;
25547 char *kwnames[] = {
25548 (char *) "self", NULL
25549 };
25550
25551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
25552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25553 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25554 {
25555 PyThreadState* __tstate = wxPyBeginAllowThreads();
25556 (arg1)->ClearAll();
25557
25558 wxPyEndAllowThreads(__tstate);
25559 if (PyErr_Occurred()) SWIG_fail;
25560 }
25561 Py_INCREF(Py_None); resultobj = Py_None;
25562 return resultobj;
25563 fail:
25564 return NULL;
25565}
25566
25567
c370783e 25568static PyObject *_wrap_ListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25569 PyObject *resultobj;
25570 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25571 long arg2 ;
25572 PyObject * obj0 = 0 ;
25573 PyObject * obj1 = 0 ;
25574 char *kwnames[] = {
25575 (char *) "self",(char *) "item", NULL
25576 };
25577
25578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25579 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25580 if (SWIG_arg_fail(1)) SWIG_fail;
25581 {
25582 arg2 = (long)(SWIG_As_long(obj1));
25583 if (SWIG_arg_fail(2)) SWIG_fail;
25584 }
d55e5bfc
RD
25585 {
25586 PyThreadState* __tstate = wxPyBeginAllowThreads();
25587 (arg1)->EditLabel(arg2);
25588
25589 wxPyEndAllowThreads(__tstate);
25590 if (PyErr_Occurred()) SWIG_fail;
25591 }
25592 Py_INCREF(Py_None); resultobj = Py_None;
25593 return resultobj;
25594 fail:
25595 return NULL;
25596}
25597
25598
c370783e 25599static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25600 PyObject *resultobj;
25601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25602 long arg2 ;
25603 bool result;
25604 PyObject * obj0 = 0 ;
25605 PyObject * obj1 = 0 ;
25606 char *kwnames[] = {
25607 (char *) "self",(char *) "item", NULL
25608 };
25609
25610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25612 if (SWIG_arg_fail(1)) SWIG_fail;
25613 {
25614 arg2 = (long)(SWIG_As_long(obj1));
25615 if (SWIG_arg_fail(2)) SWIG_fail;
25616 }
d55e5bfc
RD
25617 {
25618 PyThreadState* __tstate = wxPyBeginAllowThreads();
25619 result = (bool)(arg1)->EnsureVisible(arg2);
25620
25621 wxPyEndAllowThreads(__tstate);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 {
25625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25626 }
25627 return resultobj;
25628 fail:
25629 return NULL;
25630}
25631
25632
c370783e 25633static PyObject *_wrap_ListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25634 PyObject *resultobj;
25635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25636 long arg2 ;
25637 wxString *arg3 = 0 ;
b411df4a 25638 bool arg4 = (bool) false ;
d55e5bfc 25639 long result;
b411df4a 25640 bool temp3 = false ;
d55e5bfc
RD
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643 PyObject * obj2 = 0 ;
25644 PyObject * obj3 = 0 ;
25645 char *kwnames[] = {
25646 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
25647 };
25648
25649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25650 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25651 if (SWIG_arg_fail(1)) SWIG_fail;
25652 {
25653 arg2 = (long)(SWIG_As_long(obj1));
25654 if (SWIG_arg_fail(2)) SWIG_fail;
25655 }
d55e5bfc
RD
25656 {
25657 arg3 = wxString_in_helper(obj2);
25658 if (arg3 == NULL) SWIG_fail;
b411df4a 25659 temp3 = true;
d55e5bfc
RD
25660 }
25661 if (obj3) {
36ed4f51
RD
25662 {
25663 arg4 = (bool)(SWIG_As_bool(obj3));
25664 if (SWIG_arg_fail(4)) SWIG_fail;
25665 }
d55e5bfc
RD
25666 }
25667 {
25668 PyThreadState* __tstate = wxPyBeginAllowThreads();
25669 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
25670
25671 wxPyEndAllowThreads(__tstate);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
36ed4f51
RD
25674 {
25675 resultobj = SWIG_From_long((long)(result));
25676 }
d55e5bfc
RD
25677 {
25678 if (temp3)
25679 delete arg3;
25680 }
25681 return resultobj;
25682 fail:
25683 {
25684 if (temp3)
25685 delete arg3;
25686 }
25687 return NULL;
25688}
25689
25690
c370783e 25691static PyObject *_wrap_ListCtrl_FindItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25692 PyObject *resultobj;
25693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25694 long arg2 ;
25695 long arg3 ;
25696 long result;
25697 PyObject * obj0 = 0 ;
25698 PyObject * obj1 = 0 ;
25699 PyObject * obj2 = 0 ;
25700 char *kwnames[] = {
25701 (char *) "self",(char *) "start",(char *) "data", NULL
25702 };
25703
25704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25706 if (SWIG_arg_fail(1)) SWIG_fail;
25707 {
25708 arg2 = (long)(SWIG_As_long(obj1));
25709 if (SWIG_arg_fail(2)) SWIG_fail;
25710 }
25711 {
25712 arg3 = (long)(SWIG_As_long(obj2));
25713 if (SWIG_arg_fail(3)) SWIG_fail;
25714 }
d55e5bfc
RD
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 result = (long)(arg1)->FindItem(arg2,arg3);
25718
25719 wxPyEndAllowThreads(__tstate);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 }
36ed4f51
RD
25722 {
25723 resultobj = SWIG_From_long((long)(result));
25724 }
d55e5bfc
RD
25725 return resultobj;
25726 fail:
25727 return NULL;
25728}
25729
25730
c370783e 25731static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25732 PyObject *resultobj;
25733 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25734 long arg2 ;
25735 wxPoint *arg3 = 0 ;
25736 int arg4 ;
25737 long result;
25738 wxPoint temp3 ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 PyObject * obj2 = 0 ;
25742 PyObject * obj3 = 0 ;
25743 char *kwnames[] = {
25744 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
25745 };
25746
25747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail;
25750 {
25751 arg2 = (long)(SWIG_As_long(obj1));
25752 if (SWIG_arg_fail(2)) SWIG_fail;
25753 }
d55e5bfc
RD
25754 {
25755 arg3 = &temp3;
25756 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25757 }
36ed4f51
RD
25758 {
25759 arg4 = (int)(SWIG_As_int(obj3));
25760 if (SWIG_arg_fail(4)) SWIG_fail;
25761 }
d55e5bfc
RD
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
36ed4f51
RD
25769 {
25770 resultobj = SWIG_From_long((long)(result));
25771 }
d55e5bfc
RD
25772 return resultobj;
25773 fail:
25774 return NULL;
25775}
25776
25777
c370783e 25778static PyObject *_wrap_ListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25779 PyObject *resultobj;
25780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25781 wxPoint *arg2 = 0 ;
25782 int *arg3 = 0 ;
25783 long result;
25784 wxPoint temp2 ;
25785 int temp3 ;
c370783e 25786 int res3 = 0 ;
d55e5bfc
RD
25787 PyObject * obj0 = 0 ;
25788 PyObject * obj1 = 0 ;
25789 char *kwnames[] = {
25790 (char *) "self",(char *) "point", NULL
25791 };
25792
c370783e 25793 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 25794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25796 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
25797 {
25798 arg2 = &temp2;
25799 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25800 }
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
25803 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25804
25805 wxPyEndAllowThreads(__tstate);
25806 if (PyErr_Occurred()) SWIG_fail;
25807 }
36ed4f51
RD
25808 {
25809 resultobj = SWIG_From_long((long)(result));
25810 }
c370783e
RD
25811 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
25812 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
25813 return resultobj;
25814 fail:
25815 return NULL;
25816}
25817
25818
c370783e 25819static PyObject *_wrap_ListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25820 PyObject *resultobj;
25821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25822 wxListItem *arg2 = 0 ;
25823 long result;
25824 PyObject * obj0 = 0 ;
25825 PyObject * obj1 = 0 ;
25826 char *kwnames[] = {
25827 (char *) "self",(char *) "info", NULL
25828 };
25829
25830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
25831 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail;
25833 {
25834 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
25835 if (SWIG_arg_fail(2)) SWIG_fail;
25836 if (arg2 == NULL) {
25837 SWIG_null_ref("wxListItem");
25838 }
25839 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
25840 }
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (long)(arg1)->InsertItem(*arg2);
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
36ed4f51
RD
25848 {
25849 resultobj = SWIG_From_long((long)(result));
25850 }
d55e5bfc
RD
25851 return resultobj;
25852 fail:
25853 return NULL;
25854}
25855
25856
c370783e 25857static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25858 PyObject *resultobj;
25859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25860 long arg2 ;
25861 wxString *arg3 = 0 ;
25862 long result;
b411df4a 25863 bool temp3 = false ;
d55e5bfc
RD
25864 PyObject * obj0 = 0 ;
25865 PyObject * obj1 = 0 ;
25866 PyObject * obj2 = 0 ;
25867 char *kwnames[] = {
25868 (char *) "self",(char *) "index",(char *) "label", NULL
25869 };
25870
25871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25873 if (SWIG_arg_fail(1)) SWIG_fail;
25874 {
25875 arg2 = (long)(SWIG_As_long(obj1));
25876 if (SWIG_arg_fail(2)) SWIG_fail;
25877 }
d55e5bfc
RD
25878 {
25879 arg3 = wxString_in_helper(obj2);
25880 if (arg3 == NULL) SWIG_fail;
b411df4a 25881 temp3 = true;
d55e5bfc
RD
25882 }
25883 {
25884 PyThreadState* __tstate = wxPyBeginAllowThreads();
25885 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
25886
25887 wxPyEndAllowThreads(__tstate);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 }
36ed4f51
RD
25890 {
25891 resultobj = SWIG_From_long((long)(result));
25892 }
d55e5bfc
RD
25893 {
25894 if (temp3)
25895 delete arg3;
25896 }
25897 return resultobj;
25898 fail:
25899 {
25900 if (temp3)
25901 delete arg3;
25902 }
25903 return NULL;
25904}
25905
25906
c370783e 25907static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25908 PyObject *resultobj;
25909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25910 long arg2 ;
25911 int arg3 ;
25912 long result;
25913 PyObject * obj0 = 0 ;
25914 PyObject * obj1 = 0 ;
25915 PyObject * obj2 = 0 ;
25916 char *kwnames[] = {
25917 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
25918 };
25919
25920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
25921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25922 if (SWIG_arg_fail(1)) SWIG_fail;
25923 {
25924 arg2 = (long)(SWIG_As_long(obj1));
25925 if (SWIG_arg_fail(2)) SWIG_fail;
25926 }
25927 {
25928 arg3 = (int)(SWIG_As_int(obj2));
25929 if (SWIG_arg_fail(3)) SWIG_fail;
25930 }
d55e5bfc
RD
25931 {
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 result = (long)(arg1)->InsertItem(arg2,arg3);
25934
25935 wxPyEndAllowThreads(__tstate);
25936 if (PyErr_Occurred()) SWIG_fail;
25937 }
36ed4f51
RD
25938 {
25939 resultobj = SWIG_From_long((long)(result));
25940 }
d55e5bfc
RD
25941 return resultobj;
25942 fail:
25943 return NULL;
25944}
25945
25946
c370783e 25947static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
25948 PyObject *resultobj;
25949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
25950 long arg2 ;
25951 wxString *arg3 = 0 ;
25952 int arg4 ;
25953 long result;
b411df4a 25954 bool temp3 = false ;
d55e5bfc
RD
25955 PyObject * obj0 = 0 ;
25956 PyObject * obj1 = 0 ;
25957 PyObject * obj2 = 0 ;
25958 PyObject * obj3 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
25964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
25965 if (SWIG_arg_fail(1)) SWIG_fail;
25966 {
25967 arg2 = (long)(SWIG_As_long(obj1));
25968 if (SWIG_arg_fail(2)) SWIG_fail;
25969 }
d55e5bfc
RD
25970 {
25971 arg3 = wxString_in_helper(obj2);
25972 if (arg3 == NULL) SWIG_fail;
b411df4a 25973 temp3 = true;
d55e5bfc 25974 }
36ed4f51
RD
25975 {
25976 arg4 = (int)(SWIG_As_int(obj3));
25977 if (SWIG_arg_fail(4)) SWIG_fail;
25978 }
d55e5bfc
RD
25979 {
25980 PyThreadState* __tstate = wxPyBeginAllowThreads();
25981 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
25982
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
36ed4f51
RD
25986 {
25987 resultobj = SWIG_From_long((long)(result));
25988 }
d55e5bfc
RD
25989 {
25990 if (temp3)
25991 delete arg3;
25992 }
25993 return resultobj;
25994 fail:
25995 {
25996 if (temp3)
25997 delete arg3;
25998 }
25999 return NULL;
26000}
26001
26002
a3957d3d 26003static PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26004 PyObject *resultobj;
26005 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26006 long arg2 ;
26007 wxListItem *arg3 = 0 ;
26008 long result;
26009 PyObject * obj0 = 0 ;
26010 PyObject * obj1 = 0 ;
26011 PyObject * obj2 = 0 ;
26012 char *kwnames[] = {
26013 (char *) "self",(char *) "col",(char *) "info", NULL
26014 };
26015
a3957d3d 26016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26018 if (SWIG_arg_fail(1)) SWIG_fail;
26019 {
26020 arg2 = (long)(SWIG_As_long(obj1));
26021 if (SWIG_arg_fail(2)) SWIG_fail;
26022 }
26023 {
26024 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxListItem, SWIG_POINTER_EXCEPTION | 0);
26025 if (SWIG_arg_fail(3)) SWIG_fail;
26026 if (arg3 == NULL) {
26027 SWIG_null_ref("wxListItem");
26028 }
26029 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
26030 }
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 result = (long)(arg1)->InsertColumn(arg2,*arg3);
26034
26035 wxPyEndAllowThreads(__tstate);
26036 if (PyErr_Occurred()) SWIG_fail;
26037 }
36ed4f51
RD
26038 {
26039 resultobj = SWIG_From_long((long)(result));
26040 }
d55e5bfc
RD
26041 return resultobj;
26042 fail:
26043 return NULL;
26044}
26045
26046
c370783e 26047static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26048 PyObject *resultobj;
26049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26050 long arg2 ;
26051 wxString *arg3 = 0 ;
26052 int arg4 = (int) wxLIST_FORMAT_LEFT ;
26053 int arg5 = (int) -1 ;
26054 long result;
b411df4a 26055 bool temp3 = false ;
d55e5bfc
RD
26056 PyObject * obj0 = 0 ;
26057 PyObject * obj1 = 0 ;
26058 PyObject * obj2 = 0 ;
26059 PyObject * obj3 = 0 ;
26060 PyObject * obj4 = 0 ;
26061 char *kwnames[] = {
26062 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
26063 };
26064
26065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
26066 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26067 if (SWIG_arg_fail(1)) SWIG_fail;
26068 {
26069 arg2 = (long)(SWIG_As_long(obj1));
26070 if (SWIG_arg_fail(2)) SWIG_fail;
26071 }
d55e5bfc
RD
26072 {
26073 arg3 = wxString_in_helper(obj2);
26074 if (arg3 == NULL) SWIG_fail;
b411df4a 26075 temp3 = true;
d55e5bfc
RD
26076 }
26077 if (obj3) {
36ed4f51
RD
26078 {
26079 arg4 = (int)(SWIG_As_int(obj3));
26080 if (SWIG_arg_fail(4)) SWIG_fail;
26081 }
d55e5bfc
RD
26082 }
26083 if (obj4) {
36ed4f51
RD
26084 {
26085 arg5 = (int)(SWIG_As_int(obj4));
26086 if (SWIG_arg_fail(5)) SWIG_fail;
26087 }
d55e5bfc
RD
26088 }
26089 {
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
26092
26093 wxPyEndAllowThreads(__tstate);
26094 if (PyErr_Occurred()) SWIG_fail;
26095 }
36ed4f51
RD
26096 {
26097 resultobj = SWIG_From_long((long)(result));
26098 }
d55e5bfc
RD
26099 {
26100 if (temp3)
26101 delete arg3;
26102 }
26103 return resultobj;
26104 fail:
26105 {
26106 if (temp3)
26107 delete arg3;
26108 }
26109 return NULL;
26110}
26111
26112
c370783e 26113static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26114 PyObject *resultobj;
26115 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26116 long arg2 ;
26117 PyObject * obj0 = 0 ;
26118 PyObject * obj1 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self",(char *) "count", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26125 if (SWIG_arg_fail(1)) SWIG_fail;
26126 {
26127 arg2 = (long)(SWIG_As_long(obj1));
26128 if (SWIG_arg_fail(2)) SWIG_fail;
26129 }
d55e5bfc
RD
26130 {
26131 PyThreadState* __tstate = wxPyBeginAllowThreads();
26132 (arg1)->SetItemCount(arg2);
26133
26134 wxPyEndAllowThreads(__tstate);
26135 if (PyErr_Occurred()) SWIG_fail;
26136 }
26137 Py_INCREF(Py_None); resultobj = Py_None;
26138 return resultobj;
26139 fail:
26140 return NULL;
26141}
26142
26143
c370783e 26144static PyObject *_wrap_ListCtrl_ScrollList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26145 PyObject *resultobj;
26146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26147 int arg2 ;
26148 int arg3 ;
26149 bool result;
26150 PyObject * obj0 = 0 ;
26151 PyObject * obj1 = 0 ;
26152 PyObject * obj2 = 0 ;
26153 char *kwnames[] = {
26154 (char *) "self",(char *) "dx",(char *) "dy", NULL
26155 };
26156
26157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26158 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26159 if (SWIG_arg_fail(1)) SWIG_fail;
26160 {
26161 arg2 = (int)(SWIG_As_int(obj1));
26162 if (SWIG_arg_fail(2)) SWIG_fail;
26163 }
26164 {
26165 arg3 = (int)(SWIG_As_int(obj2));
26166 if (SWIG_arg_fail(3)) SWIG_fail;
26167 }
d55e5bfc
RD
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 result = (bool)(arg1)->ScrollList(arg2,arg3);
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 {
26176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26177 }
26178 return resultobj;
26179 fail:
26180 return NULL;
26181}
26182
26183
c370783e 26184static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26185 PyObject *resultobj;
26186 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26187 long arg2 ;
26188 wxColour *arg3 = 0 ;
26189 wxColour temp3 ;
26190 PyObject * obj0 = 0 ;
26191 PyObject * obj1 = 0 ;
26192 PyObject * obj2 = 0 ;
26193 char *kwnames[] = {
26194 (char *) "self",(char *) "item",(char *) "col", NULL
26195 };
26196
26197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26199 if (SWIG_arg_fail(1)) SWIG_fail;
26200 {
26201 arg2 = (long)(SWIG_As_long(obj1));
26202 if (SWIG_arg_fail(2)) SWIG_fail;
26203 }
d55e5bfc
RD
26204 {
26205 arg3 = &temp3;
26206 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26207 }
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 Py_INCREF(Py_None); resultobj = Py_None;
26216 return resultobj;
26217 fail:
26218 return NULL;
26219}
26220
26221
c370783e 26222static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26223 PyObject *resultobj;
26224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26225 long arg2 ;
26226 wxColour result;
26227 PyObject * obj0 = 0 ;
26228 PyObject * obj1 = 0 ;
26229 char *kwnames[] = {
26230 (char *) "self",(char *) "item", NULL
26231 };
26232
26233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26234 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26235 if (SWIG_arg_fail(1)) SWIG_fail;
26236 {
26237 arg2 = (long)(SWIG_As_long(obj1));
26238 if (SWIG_arg_fail(2)) SWIG_fail;
26239 }
d55e5bfc
RD
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
26243
26244 wxPyEndAllowThreads(__tstate);
26245 if (PyErr_Occurred()) SWIG_fail;
26246 }
26247 {
26248 wxColour * resultptr;
36ed4f51 26249 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26250 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26251 }
26252 return resultobj;
26253 fail:
26254 return NULL;
26255}
26256
26257
c370783e 26258static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26259 PyObject *resultobj;
26260 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26261 long arg2 ;
26262 wxColour *arg3 = 0 ;
26263 wxColour temp3 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 PyObject * obj2 = 0 ;
26267 char *kwnames[] = {
26268 (char *) "self",(char *) "item",(char *) "col", NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26273 if (SWIG_arg_fail(1)) SWIG_fail;
26274 {
26275 arg2 = (long)(SWIG_As_long(obj1));
26276 if (SWIG_arg_fail(2)) SWIG_fail;
26277 }
d55e5bfc
RD
26278 {
26279 arg3 = &temp3;
26280 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26281 }
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 Py_INCREF(Py_None); resultobj = Py_None;
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
c370783e 26296static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26297 PyObject *resultobj;
26298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26299 long arg2 ;
26300 wxColour result;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 char *kwnames[] = {
26304 (char *) "self",(char *) "item", NULL
26305 };
26306
26307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26309 if (SWIG_arg_fail(1)) SWIG_fail;
26310 {
26311 arg2 = (long)(SWIG_As_long(obj1));
26312 if (SWIG_arg_fail(2)) SWIG_fail;
26313 }
d55e5bfc
RD
26314 {
26315 PyThreadState* __tstate = wxPyBeginAllowThreads();
26316 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
26317
26318 wxPyEndAllowThreads(__tstate);
26319 if (PyErr_Occurred()) SWIG_fail;
26320 }
26321 {
26322 wxColour * resultptr;
36ed4f51 26323 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
26324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
26325 }
26326 return resultobj;
26327 fail:
26328 return NULL;
26329}
26330
26331
c370783e 26332static PyObject *_wrap_ListCtrl_SortItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26333 PyObject *resultobj;
26334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26335 PyObject *arg2 = (PyObject *) 0 ;
26336 bool result;
26337 PyObject * obj0 = 0 ;
26338 PyObject * obj1 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "func", NULL
26341 };
26342
26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26345 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26346 arg2 = obj1;
26347 {
26348 PyThreadState* __tstate = wxPyBeginAllowThreads();
26349 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
26350
26351 wxPyEndAllowThreads(__tstate);
26352 if (PyErr_Occurred()) SWIG_fail;
26353 }
26354 {
26355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26356 }
26357 return resultobj;
26358 fail:
26359 return NULL;
26360}
26361
26362
c370783e 26363static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26364 PyObject *resultobj;
26365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
26366 wxWindow *result;
26367 PyObject * obj0 = 0 ;
26368 char *kwnames[] = {
26369 (char *) "self", NULL
26370 };
26371
26372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
26373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
26374 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
26378
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 {
412d302d 26383 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
26384 }
26385 return resultobj;
26386 fail:
26387 return NULL;
26388}
26389
26390
c370783e 26391static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 26392 PyObject *resultobj;
36ed4f51 26393 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
26394 wxVisualAttributes result;
26395 PyObject * obj0 = 0 ;
26396 char *kwnames[] = {
26397 (char *) "variant", NULL
26398 };
26399
26400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26401 if (obj0) {
36ed4f51
RD
26402 {
26403 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
26404 if (SWIG_arg_fail(1)) SWIG_fail;
26405 }
d55e5bfc
RD
26406 }
26407 {
0439c23b 26408 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26409 PyThreadState* __tstate = wxPyBeginAllowThreads();
26410 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26411
26412 wxPyEndAllowThreads(__tstate);
110da5b0 26413 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26414 }
26415 {
26416 wxVisualAttributes * resultptr;
36ed4f51 26417 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
26418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26419 }
26420 return resultobj;
26421 fail:
26422 return NULL;
26423}
26424
26425
c370783e 26426static PyObject * ListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26427 PyObject *obj;
26428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26429 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
26430 Py_INCREF(obj);
26431 return Py_BuildValue((char *)"");
26432}
c370783e 26433static PyObject *_wrap_new_ListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26434 PyObject *resultobj;
26435 wxWindow *arg1 = (wxWindow *) 0 ;
26436 int arg2 = (int) -1 ;
26437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26439 wxSize const &arg4_defvalue = wxDefaultSize ;
26440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26441 long arg5 = (long) wxLC_REPORT ;
26442 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26443 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26444 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
26445 wxString *arg7 = (wxString *) &arg7_defvalue ;
26446 wxListView *result;
26447 wxPoint temp3 ;
26448 wxSize temp4 ;
b411df4a 26449 bool temp7 = false ;
d55e5bfc
RD
26450 PyObject * obj0 = 0 ;
26451 PyObject * obj1 = 0 ;
26452 PyObject * obj2 = 0 ;
26453 PyObject * obj3 = 0 ;
26454 PyObject * obj4 = 0 ;
26455 PyObject * obj5 = 0 ;
26456 PyObject * obj6 = 0 ;
26457 char *kwnames[] = {
26458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26459 };
26460
26461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
26462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26463 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 26464 if (obj1) {
36ed4f51
RD
26465 {
26466 arg2 = (int)(SWIG_As_int(obj1));
26467 if (SWIG_arg_fail(2)) SWIG_fail;
26468 }
d55e5bfc
RD
26469 }
26470 if (obj2) {
26471 {
26472 arg3 = &temp3;
26473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26474 }
26475 }
26476 if (obj3) {
26477 {
26478 arg4 = &temp4;
26479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26480 }
26481 }
26482 if (obj4) {
36ed4f51
RD
26483 {
26484 arg5 = (long)(SWIG_As_long(obj4));
26485 if (SWIG_arg_fail(5)) SWIG_fail;
26486 }
d55e5bfc
RD
26487 }
26488 if (obj5) {
36ed4f51
RD
26489 {
26490 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26491 if (SWIG_arg_fail(6)) SWIG_fail;
26492 if (arg6 == NULL) {
26493 SWIG_null_ref("wxValidator");
26494 }
26495 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
26496 }
26497 }
26498 if (obj6) {
26499 {
26500 arg7 = wxString_in_helper(obj6);
26501 if (arg7 == NULL) SWIG_fail;
b411df4a 26502 temp7 = true;
d55e5bfc
RD
26503 }
26504 }
26505 {
0439c23b 26506 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26507 PyThreadState* __tstate = wxPyBeginAllowThreads();
26508 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
26509
26510 wxPyEndAllowThreads(__tstate);
110da5b0 26511 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26512 }
26513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26514 {
26515 if (temp7)
26516 delete arg7;
26517 }
26518 return resultobj;
26519 fail:
26520 {
26521 if (temp7)
26522 delete arg7;
26523 }
26524 return NULL;
26525}
26526
26527
c370783e 26528static PyObject *_wrap_new_PreListView(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26529 PyObject *resultobj;
26530 wxListView *result;
26531 char *kwnames[] = {
26532 NULL
26533 };
26534
26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
26536 {
0439c23b 26537 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
26538 PyThreadState* __tstate = wxPyBeginAllowThreads();
26539 result = (wxListView *)new wxListView();
26540
26541 wxPyEndAllowThreads(__tstate);
110da5b0 26542 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
26543 }
26544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
26545 return resultobj;
26546 fail:
26547 return NULL;
26548}
26549
26550
c370783e 26551static PyObject *_wrap_ListView_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26552 PyObject *resultobj;
26553 wxListView *arg1 = (wxListView *) 0 ;
26554 wxWindow *arg2 = (wxWindow *) 0 ;
26555 int arg3 = (int) -1 ;
26556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26558 wxSize const &arg5_defvalue = wxDefaultSize ;
26559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26560 long arg6 = (long) wxLC_REPORT ;
26561 wxValidator const &arg7_defvalue = wxDefaultValidator ;
26562 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
26563 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
26564 wxString *arg8 = (wxString *) &arg8_defvalue ;
26565 bool result;
26566 wxPoint temp4 ;
26567 wxSize temp5 ;
b411df4a 26568 bool temp8 = false ;
d55e5bfc
RD
26569 PyObject * obj0 = 0 ;
26570 PyObject * obj1 = 0 ;
26571 PyObject * obj2 = 0 ;
26572 PyObject * obj3 = 0 ;
26573 PyObject * obj4 = 0 ;
26574 PyObject * obj5 = 0 ;
26575 PyObject * obj6 = 0 ;
26576 PyObject * obj7 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
26582 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26583 if (SWIG_arg_fail(1)) SWIG_fail;
26584 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
26585 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 26586 if (obj2) {
36ed4f51
RD
26587 {
26588 arg3 = (int)(SWIG_As_int(obj2));
26589 if (SWIG_arg_fail(3)) SWIG_fail;
26590 }
d55e5bfc
RD
26591 }
26592 if (obj3) {
26593 {
26594 arg4 = &temp4;
26595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26596 }
26597 }
26598 if (obj4) {
26599 {
26600 arg5 = &temp5;
26601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26602 }
26603 }
26604 if (obj5) {
36ed4f51
RD
26605 {
26606 arg6 = (long)(SWIG_As_long(obj5));
26607 if (SWIG_arg_fail(6)) SWIG_fail;
26608 }
d55e5bfc
RD
26609 }
26610 if (obj6) {
36ed4f51
RD
26611 {
26612 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
26613 if (SWIG_arg_fail(7)) SWIG_fail;
26614 if (arg7 == NULL) {
26615 SWIG_null_ref("wxValidator");
26616 }
26617 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
26618 }
26619 }
26620 if (obj7) {
26621 {
26622 arg8 = wxString_in_helper(obj7);
26623 if (arg8 == NULL) SWIG_fail;
b411df4a 26624 temp8 = true;
d55e5bfc
RD
26625 }
26626 }
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
26630
26631 wxPyEndAllowThreads(__tstate);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 }
26634 {
26635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26636 }
26637 {
26638 if (temp8)
26639 delete arg8;
26640 }
26641 return resultobj;
26642 fail:
26643 {
26644 if (temp8)
26645 delete arg8;
26646 }
26647 return NULL;
26648}
26649
26650
c370783e 26651static PyObject *_wrap_ListView_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26652 PyObject *resultobj;
26653 wxListView *arg1 = (wxListView *) 0 ;
26654 long arg2 ;
b411df4a 26655 bool arg3 = (bool) true ;
d55e5bfc
RD
26656 PyObject * obj0 = 0 ;
26657 PyObject * obj1 = 0 ;
26658 PyObject * obj2 = 0 ;
26659 char *kwnames[] = {
26660 (char *) "self",(char *) "n",(char *) "on", NULL
26661 };
26662
26663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26664 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail;
26666 {
26667 arg2 = (long)(SWIG_As_long(obj1));
26668 if (SWIG_arg_fail(2)) SWIG_fail;
26669 }
d55e5bfc 26670 if (obj2) {
36ed4f51
RD
26671 {
26672 arg3 = (bool)(SWIG_As_bool(obj2));
26673 if (SWIG_arg_fail(3)) SWIG_fail;
26674 }
d55e5bfc
RD
26675 }
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 (arg1)->Select(arg2,arg3);
26679
26680 wxPyEndAllowThreads(__tstate);
26681 if (PyErr_Occurred()) SWIG_fail;
26682 }
26683 Py_INCREF(Py_None); resultobj = Py_None;
26684 return resultobj;
26685 fail:
26686 return NULL;
26687}
26688
26689
c370783e 26690static PyObject *_wrap_ListView_Focus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26691 PyObject *resultobj;
26692 wxListView *arg1 = (wxListView *) 0 ;
26693 long arg2 ;
26694 PyObject * obj0 = 0 ;
26695 PyObject * obj1 = 0 ;
26696 char *kwnames[] = {
26697 (char *) "self",(char *) "index", NULL
26698 };
26699
26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail;
26703 {
26704 arg2 = (long)(SWIG_As_long(obj1));
26705 if (SWIG_arg_fail(2)) SWIG_fail;
26706 }
d55e5bfc
RD
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 (arg1)->Focus(arg2);
26710
26711 wxPyEndAllowThreads(__tstate);
26712 if (PyErr_Occurred()) SWIG_fail;
26713 }
26714 Py_INCREF(Py_None); resultobj = Py_None;
26715 return resultobj;
26716 fail:
26717 return NULL;
26718}
26719
26720
c370783e 26721static PyObject *_wrap_ListView_GetFocusedItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26722 PyObject *resultobj;
26723 wxListView *arg1 = (wxListView *) 0 ;
26724 long result;
26725 PyObject * obj0 = 0 ;
26726 char *kwnames[] = {
26727 (char *) "self", NULL
26728 };
26729
26730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
26731 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26732 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26733 {
26734 PyThreadState* __tstate = wxPyBeginAllowThreads();
26735 result = (long)((wxListView const *)arg1)->GetFocusedItem();
26736
26737 wxPyEndAllowThreads(__tstate);
26738 if (PyErr_Occurred()) SWIG_fail;
26739 }
36ed4f51
RD
26740 {
26741 resultobj = SWIG_From_long((long)(result));
26742 }
d55e5bfc
RD
26743 return resultobj;
26744 fail:
26745 return NULL;
26746}
26747
26748
c370783e 26749static PyObject *_wrap_ListView_GetNextSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26750 PyObject *resultobj;
26751 wxListView *arg1 = (wxListView *) 0 ;
26752 long arg2 ;
26753 long result;
26754 PyObject * obj0 = 0 ;
26755 PyObject * obj1 = 0 ;
26756 char *kwnames[] = {
26757 (char *) "self",(char *) "item", NULL
26758 };
26759
26760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26762 if (SWIG_arg_fail(1)) SWIG_fail;
26763 {
26764 arg2 = (long)(SWIG_As_long(obj1));
26765 if (SWIG_arg_fail(2)) SWIG_fail;
26766 }
d55e5bfc
RD
26767 {
26768 PyThreadState* __tstate = wxPyBeginAllowThreads();
26769 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
26770
26771 wxPyEndAllowThreads(__tstate);
26772 if (PyErr_Occurred()) SWIG_fail;
26773 }
36ed4f51
RD
26774 {
26775 resultobj = SWIG_From_long((long)(result));
26776 }
d55e5bfc
RD
26777 return resultobj;
26778 fail:
26779 return NULL;
26780}
26781
26782
c370783e 26783static PyObject *_wrap_ListView_GetFirstSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26784 PyObject *resultobj;
26785 wxListView *arg1 = (wxListView *) 0 ;
26786 long result;
26787 PyObject * obj0 = 0 ;
26788 char *kwnames[] = {
26789 (char *) "self", NULL
26790 };
26791
26792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
36ed4f51
RD
26793 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26794 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26795 {
26796 PyThreadState* __tstate = wxPyBeginAllowThreads();
26797 result = (long)((wxListView const *)arg1)->GetFirstSelected();
26798
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
36ed4f51
RD
26802 {
26803 resultobj = SWIG_From_long((long)(result));
26804 }
d55e5bfc
RD
26805 return resultobj;
26806 fail:
26807 return NULL;
26808}
26809
26810
c370783e 26811static PyObject *_wrap_ListView_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26812 PyObject *resultobj;
26813 wxListView *arg1 = (wxListView *) 0 ;
26814 long arg2 ;
26815 bool result;
26816 PyObject * obj0 = 0 ;
26817 PyObject * obj1 = 0 ;
26818 char *kwnames[] = {
26819 (char *) "self",(char *) "index", NULL
26820 };
26821
26822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26823 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail;
26825 {
26826 arg2 = (long)(SWIG_As_long(obj1));
26827 if (SWIG_arg_fail(2)) SWIG_fail;
26828 }
d55e5bfc
RD
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 result = (bool)(arg1)->IsSelected(arg2);
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 {
26837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26838 }
26839 return resultobj;
26840 fail:
26841 return NULL;
26842}
26843
26844
c370783e 26845static PyObject *_wrap_ListView_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26846 PyObject *resultobj;
26847 wxListView *arg1 = (wxListView *) 0 ;
26848 int arg2 ;
26849 int arg3 ;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26852 PyObject * obj2 = 0 ;
26853 char *kwnames[] = {
26854 (char *) "self",(char *) "col",(char *) "image", NULL
26855 };
26856
26857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
26858 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26859 if (SWIG_arg_fail(1)) SWIG_fail;
26860 {
26861 arg2 = (int)(SWIG_As_int(obj1));
26862 if (SWIG_arg_fail(2)) SWIG_fail;
26863 }
26864 {
26865 arg3 = (int)(SWIG_As_int(obj2));
26866 if (SWIG_arg_fail(3)) SWIG_fail;
26867 }
d55e5bfc
RD
26868 {
26869 PyThreadState* __tstate = wxPyBeginAllowThreads();
26870 (arg1)->SetColumnImage(arg2,arg3);
26871
26872 wxPyEndAllowThreads(__tstate);
26873 if (PyErr_Occurred()) SWIG_fail;
26874 }
26875 Py_INCREF(Py_None); resultobj = Py_None;
26876 return resultobj;
26877 fail:
26878 return NULL;
26879}
26880
26881
c370783e 26882static PyObject *_wrap_ListView_ClearColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26883 PyObject *resultobj;
26884 wxListView *arg1 = (wxListView *) 0 ;
26885 int arg2 ;
26886 PyObject * obj0 = 0 ;
26887 PyObject * obj1 = 0 ;
26888 char *kwnames[] = {
26889 (char *) "self",(char *) "col", NULL
26890 };
26891
26892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
26893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxListView, SWIG_POINTER_EXCEPTION | 0);
26894 if (SWIG_arg_fail(1)) SWIG_fail;
26895 {
26896 arg2 = (int)(SWIG_As_int(obj1));
26897 if (SWIG_arg_fail(2)) SWIG_fail;
26898 }
d55e5bfc
RD
26899 {
26900 PyThreadState* __tstate = wxPyBeginAllowThreads();
26901 (arg1)->ClearColumnImage(arg2);
26902
26903 wxPyEndAllowThreads(__tstate);
26904 if (PyErr_Occurred()) SWIG_fail;
26905 }
26906 Py_INCREF(Py_None); resultobj = Py_None;
26907 return resultobj;
26908 fail:
26909 return NULL;
26910}
26911
26912
c370783e 26913static PyObject * ListView_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
26914 PyObject *obj;
26915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26916 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
26917 Py_INCREF(obj);
26918 return Py_BuildValue((char *)"");
26919}
c370783e 26920static int _wrap_TreeCtrlNameStr_set(PyObject *) {
d55e5bfc
RD
26921 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
26922 return 1;
26923}
26924
26925
36ed4f51 26926static PyObject *_wrap_TreeCtrlNameStr_get(void) {
d55e5bfc
RD
26927 PyObject *pyobj;
26928
26929 {
26930#if wxUSE_UNICODE
26931 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26932#else
26933 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
26934#endif
26935 }
26936 return pyobj;
26937}
26938
26939
c370783e 26940static PyObject *_wrap_new_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26941 PyObject *resultobj;
26942 wxTreeItemId *result;
26943 char *kwnames[] = {
26944 NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
26948 {
26949 PyThreadState* __tstate = wxPyBeginAllowThreads();
26950 result = (wxTreeItemId *)new wxTreeItemId();
26951
26952 wxPyEndAllowThreads(__tstate);
26953 if (PyErr_Occurred()) SWIG_fail;
26954 }
26955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
26956 return resultobj;
26957 fail:
26958 return NULL;
26959}
26960
26961
c370783e 26962static PyObject *_wrap_delete_TreeItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26963 PyObject *resultobj;
26964 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26965 PyObject * obj0 = 0 ;
26966 char *kwnames[] = {
26967 (char *) "self", NULL
26968 };
26969
26970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
36ed4f51
RD
26971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 delete arg1;
26976
26977 wxPyEndAllowThreads(__tstate);
26978 if (PyErr_Occurred()) SWIG_fail;
26979 }
26980 Py_INCREF(Py_None); resultobj = Py_None;
26981 return resultobj;
26982 fail:
26983 return NULL;
26984}
26985
26986
c370783e 26987static PyObject *_wrap_TreeItemId_IsOk(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
26988 PyObject *resultobj;
26989 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
26990 bool result;
26991 PyObject * obj0 = 0 ;
26992 char *kwnames[] = {
26993 (char *) "self", NULL
26994 };
26995
26996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
36ed4f51
RD
26997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
27002
27003 wxPyEndAllowThreads(__tstate);
27004 if (PyErr_Occurred()) SWIG_fail;
27005 }
27006 {
27007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27008 }
27009 return resultobj;
27010 fail:
27011 return NULL;
27012}
27013
27014
c370783e 27015static PyObject *_wrap_TreeItemId___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27016 PyObject *resultobj;
27017 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27018 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27019 bool result;
27020 PyObject * obj0 = 0 ;
27021 PyObject * obj1 = 0 ;
27022 char *kwnames[] = {
27023 (char *) "self",(char *) "other", NULL
27024 };
27025
27026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail;
27029 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27030 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27031 {
27032 PyThreadState* __tstate = wxPyBeginAllowThreads();
27033 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
27034
27035 wxPyEndAllowThreads(__tstate);
27036 if (PyErr_Occurred()) SWIG_fail;
27037 }
27038 {
27039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27040 }
27041 return resultobj;
27042 fail:
27043 return NULL;
27044}
27045
27046
c370783e 27047static PyObject *_wrap_TreeItemId___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27048 PyObject *resultobj;
27049 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27050 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
27051 bool result;
27052 PyObject * obj0 = 0 ;
27053 PyObject * obj1 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "self",(char *) "other", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27059 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail;
27061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27062 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27063 {
27064 PyThreadState* __tstate = wxPyBeginAllowThreads();
27065 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
27066
27067 wxPyEndAllowThreads(__tstate);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 {
27071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27072 }
27073 return resultobj;
27074 fail:
27075 return NULL;
27076}
27077
27078
c370783e 27079static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27080 PyObject *resultobj;
27081 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27082 void *arg2 = (void *) 0 ;
27083 PyObject * obj0 = 0 ;
27084 PyObject * obj1 = 0 ;
27085 char *kwnames[] = {
27086 (char *) "self",(char *) "m_pItem", NULL
27087 };
27088
27089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27090 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27091 if (SWIG_arg_fail(1)) SWIG_fail;
27092 {
27093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|SWIG_POINTER_DISOWN))== -1) {
27094 SWIG_arg_fail(2);SWIG_fail;
27095 }
27096 }
d55e5bfc
RD
27097 if (arg1) (arg1)->m_pItem = arg2;
27098
27099 Py_INCREF(Py_None); resultobj = Py_None;
27100 return resultobj;
27101 fail:
27102 return NULL;
27103}
27104
27105
c370783e 27106static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27107 PyObject *resultobj;
27108 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
27109 void *result;
27110 PyObject * obj0 = 0 ;
27111 char *kwnames[] = {
27112 (char *) "self", NULL
27113 };
27114
27115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
36ed4f51
RD
27116 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27117 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27118 result = (void *) ((arg1)->m_pItem);
27119
27120 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
27121 return resultobj;
27122 fail:
27123 return NULL;
27124}
27125
27126
c370783e 27127static PyObject * TreeItemId_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27128 PyObject *obj;
27129 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27130 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
27131 Py_INCREF(obj);
27132 return Py_BuildValue((char *)"");
27133}
c370783e 27134static PyObject *_wrap_new_TreeItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27135 PyObject *resultobj;
27136 PyObject *arg1 = (PyObject *) NULL ;
27137 wxPyTreeItemData *result;
27138 PyObject * obj0 = 0 ;
27139 char *kwnames[] = {
27140 (char *) "obj", NULL
27141 };
27142
27143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
27144 if (obj0) {
27145 arg1 = obj0;
27146 }
27147 {
27148 PyThreadState* __tstate = wxPyBeginAllowThreads();
27149 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
27150
27151 wxPyEndAllowThreads(__tstate);
27152 if (PyErr_Occurred()) SWIG_fail;
27153 }
27154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
27155 return resultobj;
27156 fail:
27157 return NULL;
27158}
27159
27160
c370783e 27161static PyObject *_wrap_TreeItemData_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27162 PyObject *resultobj;
27163 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27164 PyObject *result;
27165 PyObject * obj0 = 0 ;
27166 char *kwnames[] = {
27167 (char *) "self", NULL
27168 };
27169
27170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
36ed4f51
RD
27171 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27173 {
27174 PyThreadState* __tstate = wxPyBeginAllowThreads();
27175 result = (PyObject *)(arg1)->GetData();
27176
27177 wxPyEndAllowThreads(__tstate);
27178 if (PyErr_Occurred()) SWIG_fail;
27179 }
27180 resultobj = result;
27181 return resultobj;
27182 fail:
27183 return NULL;
27184}
27185
27186
c370783e 27187static PyObject *_wrap_TreeItemData_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27188 PyObject *resultobj;
27189 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27190 PyObject *arg2 = (PyObject *) 0 ;
27191 PyObject * obj0 = 0 ;
27192 PyObject * obj1 = 0 ;
27193 char *kwnames[] = {
27194 (char *) "self",(char *) "obj", NULL
27195 };
27196
27197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27198 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27199 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27200 arg2 = obj1;
27201 {
27202 PyThreadState* __tstate = wxPyBeginAllowThreads();
27203 (arg1)->SetData(arg2);
27204
27205 wxPyEndAllowThreads(__tstate);
27206 if (PyErr_Occurred()) SWIG_fail;
27207 }
27208 Py_INCREF(Py_None); resultobj = Py_None;
27209 return resultobj;
27210 fail:
27211 return NULL;
27212}
27213
27214
c370783e 27215static PyObject *_wrap_TreeItemData_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27216 PyObject *resultobj;
27217 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27218 wxTreeItemId *result;
27219 PyObject * obj0 = 0 ;
27220 char *kwnames[] = {
27221 (char *) "self", NULL
27222 };
27223
27224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
36ed4f51
RD
27225 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27226 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27227 {
27228 PyThreadState* __tstate = wxPyBeginAllowThreads();
27229 {
27230 wxTreeItemId const &_result_ref = (arg1)->GetId();
27231 result = (wxTreeItemId *) &_result_ref;
27232 }
27233
27234 wxPyEndAllowThreads(__tstate);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
27238 return resultobj;
27239 fail:
27240 return NULL;
27241}
27242
27243
c370783e 27244static PyObject *_wrap_TreeItemData_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27245 PyObject *resultobj;
27246 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27247 wxTreeItemId *arg2 = 0 ;
27248 PyObject * obj0 = 0 ;
27249 PyObject * obj1 = 0 ;
27250 char *kwnames[] = {
27251 (char *) "self",(char *) "id", NULL
27252 };
27253
27254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27255 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27256 if (SWIG_arg_fail(1)) SWIG_fail;
27257 {
27258 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27259 if (SWIG_arg_fail(2)) SWIG_fail;
27260 if (arg2 == NULL) {
27261 SWIG_null_ref("wxTreeItemId");
27262 }
27263 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27264 }
27265 {
27266 PyThreadState* __tstate = wxPyBeginAllowThreads();
27267 (arg1)->SetId((wxTreeItemId const &)*arg2);
27268
27269 wxPyEndAllowThreads(__tstate);
27270 if (PyErr_Occurred()) SWIG_fail;
27271 }
27272 Py_INCREF(Py_None); resultobj = Py_None;
27273 return resultobj;
27274 fail:
27275 return NULL;
27276}
27277
27278
c370783e 27279static PyObject *_wrap_TreeItemData_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27280 PyObject *resultobj;
27281 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
27282 PyObject * obj0 = 0 ;
27283 char *kwnames[] = {
27284 (char *) "self", NULL
27285 };
27286
27287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
27288 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
27289 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27290 {
27291 PyThreadState* __tstate = wxPyBeginAllowThreads();
27292 wxPyTreeItemData_Destroy(arg1);
27293
27294 wxPyEndAllowThreads(__tstate);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 Py_INCREF(Py_None); resultobj = Py_None;
27298 return resultobj;
27299 fail:
27300 return NULL;
27301}
27302
27303
c370783e 27304static PyObject * TreeItemData_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27305 PyObject *obj;
27306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27307 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
27308 Py_INCREF(obj);
27309 return Py_BuildValue((char *)"");
27310}
c370783e 27311static PyObject *_wrap_new_TreeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27312 PyObject *resultobj;
27313 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27314 int arg2 = (int) 0 ;
27315 wxTreeEvent *result;
27316 PyObject * obj0 = 0 ;
27317 PyObject * obj1 = 0 ;
27318 char *kwnames[] = {
27319 (char *) "commandType",(char *) "id", NULL
27320 };
27321
27322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
27323 if (obj0) {
36ed4f51
RD
27324 {
27325 arg1 = (wxEventType)(SWIG_As_int(obj0));
27326 if (SWIG_arg_fail(1)) SWIG_fail;
27327 }
d55e5bfc
RD
27328 }
27329 if (obj1) {
36ed4f51
RD
27330 {
27331 arg2 = (int)(SWIG_As_int(obj1));
27332 if (SWIG_arg_fail(2)) SWIG_fail;
27333 }
d55e5bfc
RD
27334 }
27335 {
27336 PyThreadState* __tstate = wxPyBeginAllowThreads();
27337 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
27338
27339 wxPyEndAllowThreads(__tstate);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 }
27342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
27343 return resultobj;
27344 fail:
27345 return NULL;
27346}
27347
27348
c370783e 27349static PyObject *_wrap_TreeEvent_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27350 PyObject *resultobj;
27351 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27352 wxTreeItemId result;
27353 PyObject * obj0 = 0 ;
27354 char *kwnames[] = {
27355 (char *) "self", NULL
27356 };
27357
27358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27360 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27361 {
27362 PyThreadState* __tstate = wxPyBeginAllowThreads();
27363 result = ((wxTreeEvent const *)arg1)->GetItem();
27364
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 {
27369 wxTreeItemId * resultptr;
36ed4f51 27370 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27372 }
27373 return resultobj;
27374 fail:
27375 return NULL;
27376}
27377
27378
c370783e 27379static PyObject *_wrap_TreeEvent_SetItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27380 PyObject *resultobj;
27381 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27382 wxTreeItemId *arg2 = 0 ;
27383 PyObject * obj0 = 0 ;
27384 PyObject * obj1 = 0 ;
27385 char *kwnames[] = {
27386 (char *) "self",(char *) "item", NULL
27387 };
27388
27389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27390 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27391 if (SWIG_arg_fail(1)) SWIG_fail;
27392 {
27393 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27394 if (SWIG_arg_fail(2)) SWIG_fail;
27395 if (arg2 == NULL) {
27396 SWIG_null_ref("wxTreeItemId");
27397 }
27398 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27399 }
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 (arg1)->SetItem((wxTreeItemId const &)*arg2);
27403
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 Py_INCREF(Py_None); resultobj = Py_None;
27408 return resultobj;
27409 fail:
27410 return NULL;
27411}
27412
27413
c370783e 27414static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27415 PyObject *resultobj;
27416 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27417 wxTreeItemId result;
27418 PyObject * obj0 = 0 ;
27419 char *kwnames[] = {
27420 (char *) "self", NULL
27421 };
27422
27423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
27424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27425 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27426 {
27427 PyThreadState* __tstate = wxPyBeginAllowThreads();
27428 result = ((wxTreeEvent const *)arg1)->GetOldItem();
27429
27430 wxPyEndAllowThreads(__tstate);
27431 if (PyErr_Occurred()) SWIG_fail;
27432 }
27433 {
27434 wxTreeItemId * resultptr;
36ed4f51 27435 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
27436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27437 }
27438 return resultobj;
27439 fail:
27440 return NULL;
27441}
27442
27443
c370783e 27444static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27445 PyObject *resultobj;
27446 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27447 wxTreeItemId *arg2 = 0 ;
27448 PyObject * obj0 = 0 ;
27449 PyObject * obj1 = 0 ;
27450 char *kwnames[] = {
27451 (char *) "self",(char *) "item", NULL
27452 };
27453
27454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail;
27457 {
27458 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
27459 if (SWIG_arg_fail(2)) SWIG_fail;
27460 if (arg2 == NULL) {
27461 SWIG_null_ref("wxTreeItemId");
27462 }
27463 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27464 }
27465 {
27466 PyThreadState* __tstate = wxPyBeginAllowThreads();
27467 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
27468
27469 wxPyEndAllowThreads(__tstate);
27470 if (PyErr_Occurred()) SWIG_fail;
27471 }
27472 Py_INCREF(Py_None); resultobj = Py_None;
27473 return resultobj;
27474 fail:
27475 return NULL;
27476}
27477
27478
c370783e 27479static PyObject *_wrap_TreeEvent_GetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27480 PyObject *resultobj;
27481 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27482 wxPoint result;
27483 PyObject * obj0 = 0 ;
27484 char *kwnames[] = {
27485 (char *) "self", NULL
27486 };
27487
27488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
36ed4f51
RD
27489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27490 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 result = ((wxTreeEvent const *)arg1)->GetPoint();
27494
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 {
27499 wxPoint * resultptr;
36ed4f51 27500 resultptr = new wxPoint((wxPoint &)(result));
d55e5bfc
RD
27501 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
27502 }
27503 return resultobj;
27504 fail:
27505 return NULL;
27506}
27507
27508
c370783e 27509static PyObject *_wrap_TreeEvent_SetPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27510 PyObject *resultobj;
27511 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27512 wxPoint *arg2 = 0 ;
27513 wxPoint temp2 ;
27514 PyObject * obj0 = 0 ;
27515 PyObject * obj1 = 0 ;
27516 char *kwnames[] = {
27517 (char *) "self",(char *) "pt", NULL
27518 };
27519
27520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27523 {
27524 arg2 = &temp2;
27525 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27526 }
27527 {
27528 PyThreadState* __tstate = wxPyBeginAllowThreads();
27529 (arg1)->SetPoint((wxPoint const &)*arg2);
27530
27531 wxPyEndAllowThreads(__tstate);
27532 if (PyErr_Occurred()) SWIG_fail;
27533 }
27534 Py_INCREF(Py_None); resultobj = Py_None;
27535 return resultobj;
27536 fail:
27537 return NULL;
27538}
27539
27540
c370783e 27541static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27542 PyObject *resultobj;
27543 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27544 wxKeyEvent *result;
27545 PyObject * obj0 = 0 ;
27546 char *kwnames[] = {
27547 (char *) "self", NULL
27548 };
27549
27550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
27551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27552 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 {
27556 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
27557 result = (wxKeyEvent *) &_result_ref;
27558 }
27559
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
27563 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
27564 return resultobj;
27565 fail:
27566 return NULL;
27567}
27568
27569
c370783e 27570static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27571 PyObject *resultobj;
27572 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27573 int result;
27574 PyObject * obj0 = 0 ;
27575 char *kwnames[] = {
27576 (char *) "self", NULL
27577 };
27578
27579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
36ed4f51
RD
27580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27581 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27582 {
27583 PyThreadState* __tstate = wxPyBeginAllowThreads();
27584 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
27585
27586 wxPyEndAllowThreads(__tstate);
27587 if (PyErr_Occurred()) SWIG_fail;
27588 }
36ed4f51
RD
27589 {
27590 resultobj = SWIG_From_int((int)(result));
27591 }
d55e5bfc
RD
27592 return resultobj;
27593 fail:
27594 return NULL;
27595}
27596
27597
c370783e 27598static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27599 PyObject *resultobj;
27600 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27601 wxKeyEvent *arg2 = 0 ;
27602 PyObject * obj0 = 0 ;
27603 PyObject * obj1 = 0 ;
27604 char *kwnames[] = {
27605 (char *) "self",(char *) "evt", NULL
27606 };
27607
27608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27609 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27610 if (SWIG_arg_fail(1)) SWIG_fail;
27611 {
27612 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxKeyEvent, SWIG_POINTER_EXCEPTION | 0);
27613 if (SWIG_arg_fail(2)) SWIG_fail;
27614 if (arg2 == NULL) {
27615 SWIG_null_ref("wxKeyEvent");
27616 }
27617 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
27618 }
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 Py_INCREF(Py_None); resultobj = Py_None;
27627 return resultobj;
27628 fail:
27629 return NULL;
27630}
27631
27632
c370783e 27633static PyObject *_wrap_TreeEvent_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27634 PyObject *resultobj;
27635 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27636 wxString *result;
27637 PyObject * obj0 = 0 ;
27638 char *kwnames[] = {
27639 (char *) "self", NULL
27640 };
27641
27642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
36ed4f51
RD
27643 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27645 {
27646 PyThreadState* __tstate = wxPyBeginAllowThreads();
27647 {
27648 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
27649 result = (wxString *) &_result_ref;
27650 }
27651
27652 wxPyEndAllowThreads(__tstate);
27653 if (PyErr_Occurred()) SWIG_fail;
27654 }
27655 {
27656#if wxUSE_UNICODE
27657 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27658#else
27659 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27660#endif
27661 }
27662 return resultobj;
27663 fail:
27664 return NULL;
27665}
27666
27667
c370783e 27668static PyObject *_wrap_TreeEvent_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27669 PyObject *resultobj;
27670 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27671 wxString *arg2 = 0 ;
b411df4a 27672 bool temp2 = false ;
d55e5bfc
RD
27673 PyObject * obj0 = 0 ;
27674 PyObject * obj1 = 0 ;
27675 char *kwnames[] = {
27676 (char *) "self",(char *) "label", NULL
27677 };
27678
27679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27680 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27682 {
27683 arg2 = wxString_in_helper(obj1);
27684 if (arg2 == NULL) SWIG_fail;
b411df4a 27685 temp2 = true;
d55e5bfc
RD
27686 }
27687 {
27688 PyThreadState* __tstate = wxPyBeginAllowThreads();
27689 (arg1)->SetLabel((wxString const &)*arg2);
27690
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 Py_INCREF(Py_None); resultobj = Py_None;
27695 {
27696 if (temp2)
27697 delete arg2;
27698 }
27699 return resultobj;
27700 fail:
27701 {
27702 if (temp2)
27703 delete arg2;
27704 }
27705 return NULL;
27706}
27707
27708
c370783e 27709static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27710 PyObject *resultobj;
27711 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27712 bool result;
27713 PyObject * obj0 = 0 ;
27714 char *kwnames[] = {
27715 (char *) "self", NULL
27716 };
27717
27718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
36ed4f51
RD
27719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27720 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27721 {
27722 PyThreadState* __tstate = wxPyBeginAllowThreads();
27723 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
27724
27725 wxPyEndAllowThreads(__tstate);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 }
27728 {
27729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27730 }
27731 return resultobj;
27732 fail:
27733 return NULL;
27734}
27735
27736
c370783e 27737static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27738 PyObject *resultobj;
27739 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27740 bool arg2 ;
27741 PyObject * obj0 = 0 ;
27742 PyObject * obj1 = 0 ;
27743 char *kwnames[] = {
27744 (char *) "self",(char *) "editCancelled", NULL
27745 };
27746
27747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27749 if (SWIG_arg_fail(1)) SWIG_fail;
27750 {
27751 arg2 = (bool)(SWIG_As_bool(obj1));
27752 if (SWIG_arg_fail(2)) SWIG_fail;
27753 }
d55e5bfc
RD
27754 {
27755 PyThreadState* __tstate = wxPyBeginAllowThreads();
27756 (arg1)->SetEditCanceled(arg2);
27757
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 Py_INCREF(Py_None); resultobj = Py_None;
27762 return resultobj;
27763 fail:
27764 return NULL;
27765}
27766
27767
c370783e 27768static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27769 PyObject *resultobj;
27770 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27771 wxString *arg2 = 0 ;
b411df4a 27772 bool temp2 = false ;
d55e5bfc
RD
27773 PyObject * obj0 = 0 ;
27774 PyObject * obj1 = 0 ;
27775 char *kwnames[] = {
27776 (char *) "self",(char *) "toolTip", NULL
27777 };
27778
27779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
27780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
27782 {
27783 arg2 = wxString_in_helper(obj1);
27784 if (arg2 == NULL) SWIG_fail;
b411df4a 27785 temp2 = true;
d55e5bfc
RD
27786 }
27787 {
27788 PyThreadState* __tstate = wxPyBeginAllowThreads();
27789 (arg1)->SetToolTip((wxString const &)*arg2);
27790
27791 wxPyEndAllowThreads(__tstate);
27792 if (PyErr_Occurred()) SWIG_fail;
27793 }
27794 Py_INCREF(Py_None); resultobj = Py_None;
27795 {
27796 if (temp2)
27797 delete arg2;
27798 }
27799 return resultobj;
27800 fail:
27801 {
27802 if (temp2)
27803 delete arg2;
27804 }
27805 return NULL;
27806}
27807
27808
dcb8fc74
RD
27809static PyObject *_wrap_TreeEvent_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
27810 PyObject *resultobj;
27811 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
27812 wxString result;
27813 PyObject * obj0 = 0 ;
27814 char *kwnames[] = {
27815 (char *) "self", NULL
27816 };
27817
27818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetToolTip",kwnames,&obj0)) goto fail;
27819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_EXCEPTION | 0);
27820 if (SWIG_arg_fail(1)) SWIG_fail;
27821 {
27822 PyThreadState* __tstate = wxPyBeginAllowThreads();
27823 result = (arg1)->GetToolTip();
27824
27825 wxPyEndAllowThreads(__tstate);
27826 if (PyErr_Occurred()) SWIG_fail;
27827 }
27828 {
27829#if wxUSE_UNICODE
27830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27831#else
27832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27833#endif
27834 }
27835 return resultobj;
27836 fail:
27837 return NULL;
27838}
27839
27840
c370783e 27841static PyObject * TreeEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
27842 PyObject *obj;
27843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27844 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
27845 Py_INCREF(obj);
27846 return Py_BuildValue((char *)"");
27847}
c370783e 27848static PyObject *_wrap_new_TreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27849 PyObject *resultobj;
27850 wxWindow *arg1 = (wxWindow *) 0 ;
27851 int arg2 = (int) -1 ;
27852 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27853 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27854 wxSize const &arg4_defvalue = wxDefaultSize ;
27855 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27856 long arg5 = (long) wxTR_DEFAULT_STYLE ;
27857 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27858 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27859 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
27860 wxString *arg7 = (wxString *) &arg7_defvalue ;
27861 wxPyTreeCtrl *result;
27862 wxPoint temp3 ;
27863 wxSize temp4 ;
b411df4a 27864 bool temp7 = false ;
d55e5bfc
RD
27865 PyObject * obj0 = 0 ;
27866 PyObject * obj1 = 0 ;
27867 PyObject * obj2 = 0 ;
27868 PyObject * obj3 = 0 ;
27869 PyObject * obj4 = 0 ;
27870 PyObject * obj5 = 0 ;
27871 PyObject * obj6 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
27877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
27878 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 27879 if (obj1) {
36ed4f51
RD
27880 {
27881 arg2 = (int)(SWIG_As_int(obj1));
27882 if (SWIG_arg_fail(2)) SWIG_fail;
27883 }
d55e5bfc
RD
27884 }
27885 if (obj2) {
27886 {
27887 arg3 = &temp3;
27888 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27889 }
27890 }
27891 if (obj3) {
27892 {
27893 arg4 = &temp4;
27894 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27895 }
27896 }
27897 if (obj4) {
36ed4f51
RD
27898 {
27899 arg5 = (long)(SWIG_As_long(obj4));
27900 if (SWIG_arg_fail(5)) SWIG_fail;
27901 }
d55e5bfc
RD
27902 }
27903 if (obj5) {
36ed4f51
RD
27904 {
27905 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
27906 if (SWIG_arg_fail(6)) SWIG_fail;
27907 if (arg6 == NULL) {
27908 SWIG_null_ref("wxValidator");
27909 }
27910 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
27911 }
27912 }
27913 if (obj6) {
27914 {
27915 arg7 = wxString_in_helper(obj6);
27916 if (arg7 == NULL) SWIG_fail;
b411df4a 27917 temp7 = true;
d55e5bfc
RD
27918 }
27919 }
27920 {
0439c23b 27921 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27922 PyThreadState* __tstate = wxPyBeginAllowThreads();
27923 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27924
27925 wxPyEndAllowThreads(__tstate);
110da5b0 27926 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27927 }
b0f7404b 27928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27929 {
27930 if (temp7)
27931 delete arg7;
27932 }
27933 return resultobj;
27934 fail:
27935 {
27936 if (temp7)
27937 delete arg7;
27938 }
27939 return NULL;
27940}
27941
27942
c370783e 27943static PyObject *_wrap_new_PreTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27944 PyObject *resultobj;
27945 wxPyTreeCtrl *result;
27946 char *kwnames[] = {
27947 NULL
27948 };
27949
27950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
27951 {
0439c23b 27952 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
27953 PyThreadState* __tstate = wxPyBeginAllowThreads();
27954 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
27955
27956 wxPyEndAllowThreads(__tstate);
110da5b0 27957 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc 27958 }
b0f7404b 27959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCtrl, 1);
d55e5bfc
RD
27960 return resultobj;
27961 fail:
27962 return NULL;
27963}
27964
27965
c370783e 27966static PyObject *_wrap_TreeCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
27967 PyObject *resultobj;
27968 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27969 wxWindow *arg2 = (wxWindow *) 0 ;
27970 int arg3 = (int) -1 ;
27971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27973 wxSize const &arg5_defvalue = wxDefaultSize ;
27974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27975 long arg6 = (long) wxTR_DEFAULT_STYLE ;
27976 wxValidator const &arg7_defvalue = wxDefaultValidator ;
27977 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
27978 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
27979 wxString *arg8 = (wxString *) &arg8_defvalue ;
27980 bool result;
27981 wxPoint temp4 ;
27982 wxSize temp5 ;
b411df4a 27983 bool temp8 = false ;
d55e5bfc
RD
27984 PyObject * obj0 = 0 ;
27985 PyObject * obj1 = 0 ;
27986 PyObject * obj2 = 0 ;
27987 PyObject * obj3 = 0 ;
27988 PyObject * obj4 = 0 ;
27989 PyObject * obj5 = 0 ;
27990 PyObject * obj6 = 0 ;
27991 PyObject * obj7 = 0 ;
27992 char *kwnames[] = {
27993 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27994 };
27995
27996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
27997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
27998 if (SWIG_arg_fail(1)) SWIG_fail;
27999 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
28000 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28001 if (obj2) {
36ed4f51
RD
28002 {
28003 arg3 = (int)(SWIG_As_int(obj2));
28004 if (SWIG_arg_fail(3)) SWIG_fail;
28005 }
d55e5bfc
RD
28006 }
28007 if (obj3) {
28008 {
28009 arg4 = &temp4;
28010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28011 }
28012 }
28013 if (obj4) {
28014 {
28015 arg5 = &temp5;
28016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28017 }
28018 }
28019 if (obj5) {
36ed4f51
RD
28020 {
28021 arg6 = (long)(SWIG_As_long(obj5));
28022 if (SWIG_arg_fail(6)) SWIG_fail;
28023 }
d55e5bfc
RD
28024 }
28025 if (obj6) {
36ed4f51
RD
28026 {
28027 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
28028 if (SWIG_arg_fail(7)) SWIG_fail;
28029 if (arg7 == NULL) {
28030 SWIG_null_ref("wxValidator");
28031 }
28032 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
28033 }
28034 }
28035 if (obj7) {
28036 {
28037 arg8 = wxString_in_helper(obj7);
28038 if (arg8 == NULL) SWIG_fail;
b411df4a 28039 temp8 = true;
d55e5bfc
RD
28040 }
28041 }
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28045
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
28049 {
28050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28051 }
28052 {
28053 if (temp8)
28054 delete arg8;
28055 }
28056 return resultobj;
28057 fail:
28058 {
28059 if (temp8)
28060 delete arg8;
28061 }
28062 return NULL;
28063}
28064
28065
c370783e 28066static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28067 PyObject *resultobj;
28068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28069 PyObject *arg2 = (PyObject *) 0 ;
28070 PyObject *arg3 = (PyObject *) 0 ;
28071 PyObject * obj0 = 0 ;
28072 PyObject * obj1 = 0 ;
28073 PyObject * obj2 = 0 ;
28074 char *kwnames[] = {
28075 (char *) "self",(char *) "self",(char *) "_class", NULL
28076 };
28077
28078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28079 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28080 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28081 arg2 = obj1;
28082 arg3 = obj2;
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 (arg1)->_setCallbackInfo(arg2,arg3);
28086
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
28090 Py_INCREF(Py_None); resultobj = Py_None;
28091 return resultobj;
28092 fail:
28093 return NULL;
28094}
28095
28096
c370783e 28097static PyObject *_wrap_TreeCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28098 PyObject *resultobj;
28099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28100 size_t result;
28101 PyObject * obj0 = 0 ;
28102 char *kwnames[] = {
28103 (char *) "self", NULL
28104 };
28105
28106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
28107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28108 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28109 {
28110 PyThreadState* __tstate = wxPyBeginAllowThreads();
28111 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
28112
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
36ed4f51
RD
28116 {
28117 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
28118 }
d55e5bfc
RD
28119 return resultobj;
28120 fail:
28121 return NULL;
28122}
28123
28124
c370783e 28125static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28126 PyObject *resultobj;
28127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28128 unsigned int result;
28129 PyObject * obj0 = 0 ;
28130 char *kwnames[] = {
28131 (char *) "self", NULL
28132 };
28133
28134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
28135 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28137 {
28138 PyThreadState* __tstate = wxPyBeginAllowThreads();
28139 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
28140
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
36ed4f51
RD
28144 {
28145 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28146 }
d55e5bfc
RD
28147 return resultobj;
28148 fail:
28149 return NULL;
28150}
28151
28152
c370783e 28153static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28154 PyObject *resultobj;
28155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28156 unsigned int arg2 ;
28157 PyObject * obj0 = 0 ;
28158 PyObject * obj1 = 0 ;
28159 char *kwnames[] = {
28160 (char *) "self",(char *) "indent", NULL
28161 };
28162
28163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28164 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28165 if (SWIG_arg_fail(1)) SWIG_fail;
28166 {
28167 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28168 if (SWIG_arg_fail(2)) SWIG_fail;
28169 }
d55e5bfc
RD
28170 {
28171 PyThreadState* __tstate = wxPyBeginAllowThreads();
28172 (arg1)->SetIndent(arg2);
28173
28174 wxPyEndAllowThreads(__tstate);
28175 if (PyErr_Occurred()) SWIG_fail;
28176 }
28177 Py_INCREF(Py_None); resultobj = Py_None;
28178 return resultobj;
28179 fail:
28180 return NULL;
28181}
28182
28183
c370783e 28184static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28185 PyObject *resultobj;
28186 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28187 unsigned int result;
28188 PyObject * obj0 = 0 ;
28189 char *kwnames[] = {
28190 (char *) "self", NULL
28191 };
28192
28193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
28194 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28195 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28196 {
28197 PyThreadState* __tstate = wxPyBeginAllowThreads();
28198 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
28199
28200 wxPyEndAllowThreads(__tstate);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
36ed4f51
RD
28203 {
28204 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
28205 }
d55e5bfc
RD
28206 return resultobj;
28207 fail:
28208 return NULL;
28209}
28210
28211
c370783e 28212static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28213 PyObject *resultobj;
28214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28215 unsigned int arg2 ;
28216 PyObject * obj0 = 0 ;
28217 PyObject * obj1 = 0 ;
28218 char *kwnames[] = {
28219 (char *) "self",(char *) "spacing", NULL
28220 };
28221
28222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28223 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28224 if (SWIG_arg_fail(1)) SWIG_fail;
28225 {
28226 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
28227 if (SWIG_arg_fail(2)) SWIG_fail;
28228 }
d55e5bfc
RD
28229 {
28230 PyThreadState* __tstate = wxPyBeginAllowThreads();
28231 (arg1)->SetSpacing(arg2);
28232
28233 wxPyEndAllowThreads(__tstate);
28234 if (PyErr_Occurred()) SWIG_fail;
28235 }
28236 Py_INCREF(Py_None); resultobj = Py_None;
28237 return resultobj;
28238 fail:
28239 return NULL;
28240}
28241
28242
c370783e 28243static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28244 PyObject *resultobj;
28245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28246 wxImageList *result;
28247 PyObject * obj0 = 0 ;
28248 char *kwnames[] = {
28249 (char *) "self", NULL
28250 };
28251
28252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28253 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28254 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28255 {
28256 PyThreadState* __tstate = wxPyBeginAllowThreads();
28257 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
28258
28259 wxPyEndAllowThreads(__tstate);
28260 if (PyErr_Occurred()) SWIG_fail;
28261 }
28262 {
412d302d 28263 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28264 }
28265 return resultobj;
28266 fail:
28267 return NULL;
28268}
28269
28270
c370783e 28271static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28272 PyObject *resultobj;
28273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28274 wxImageList *result;
28275 PyObject * obj0 = 0 ;
28276 char *kwnames[] = {
28277 (char *) "self", NULL
28278 };
28279
28280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
28281 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28282 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
28283 {
28284 PyThreadState* __tstate = wxPyBeginAllowThreads();
28285 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
28286
28287 wxPyEndAllowThreads(__tstate);
28288 if (PyErr_Occurred()) SWIG_fail;
28289 }
28290 {
412d302d 28291 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
28292 }
28293 return resultobj;
28294 fail:
28295 return NULL;
28296}
28297
28298
c370783e 28299static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28300 PyObject *resultobj;
28301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28302 wxImageList *arg2 = (wxImageList *) 0 ;
28303 PyObject * obj0 = 0 ;
28304 PyObject * obj1 = 0 ;
28305 char *kwnames[] = {
28306 (char *) "self",(char *) "imageList", NULL
28307 };
28308
28309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28310 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28311 if (SWIG_arg_fail(1)) SWIG_fail;
28312 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28313 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28314 {
28315 PyThreadState* __tstate = wxPyBeginAllowThreads();
28316 (arg1)->SetImageList(arg2);
28317
28318 wxPyEndAllowThreads(__tstate);
28319 if (PyErr_Occurred()) SWIG_fail;
28320 }
28321 Py_INCREF(Py_None); resultobj = Py_None;
28322 return resultobj;
28323 fail:
28324 return NULL;
28325}
28326
28327
c370783e 28328static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28329 PyObject *resultobj;
28330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28331 wxImageList *arg2 = (wxImageList *) 0 ;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 char *kwnames[] = {
28335 (char *) "self",(char *) "imageList", NULL
28336 };
28337
28338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28339 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28340 if (SWIG_arg_fail(1)) SWIG_fail;
28341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
28342 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28343 {
28344 PyThreadState* __tstate = wxPyBeginAllowThreads();
28345 (arg1)->SetStateImageList(arg2);
28346
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
28350 Py_INCREF(Py_None); resultobj = Py_None;
28351 return resultobj;
28352 fail:
28353 return NULL;
28354}
28355
28356
c370783e 28357static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28358 PyObject *resultobj;
28359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28360 wxImageList *arg2 = (wxImageList *) 0 ;
28361 PyObject * obj0 = 0 ;
28362 PyObject * obj1 = 0 ;
28363 char *kwnames[] = {
28364 (char *) "self",(char *) "imageList", NULL
28365 };
28366
28367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28368 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail;
28370 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28371 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28372 {
28373 PyThreadState* __tstate = wxPyBeginAllowThreads();
28374 (arg1)->AssignImageList(arg2);
28375
28376 wxPyEndAllowThreads(__tstate);
28377 if (PyErr_Occurred()) SWIG_fail;
28378 }
28379 Py_INCREF(Py_None); resultobj = Py_None;
28380 return resultobj;
28381 fail:
28382 return NULL;
28383}
28384
28385
c370783e 28386static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28387 PyObject *resultobj;
28388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28389 wxImageList *arg2 = (wxImageList *) 0 ;
28390 PyObject * obj0 = 0 ;
28391 PyObject * obj1 = 0 ;
28392 char *kwnames[] = {
28393 (char *) "self",(char *) "imageList", NULL
28394 };
28395
28396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28398 if (SWIG_arg_fail(1)) SWIG_fail;
28399 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
28400 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28401 {
28402 PyThreadState* __tstate = wxPyBeginAllowThreads();
28403 (arg1)->AssignStateImageList(arg2);
28404
28405 wxPyEndAllowThreads(__tstate);
28406 if (PyErr_Occurred()) SWIG_fail;
28407 }
28408 Py_INCREF(Py_None); resultobj = Py_None;
28409 return resultobj;
28410 fail:
28411 return NULL;
28412}
28413
28414
c370783e 28415static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28416 PyObject *resultobj;
28417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28418 wxTreeItemId *arg2 = 0 ;
28419 wxString result;
28420 PyObject * obj0 = 0 ;
28421 PyObject * obj1 = 0 ;
28422 char *kwnames[] = {
28423 (char *) "self",(char *) "item", NULL
28424 };
28425
28426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28428 if (SWIG_arg_fail(1)) SWIG_fail;
28429 {
28430 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28431 if (SWIG_arg_fail(2)) SWIG_fail;
28432 if (arg2 == NULL) {
28433 SWIG_null_ref("wxTreeItemId");
28434 }
28435 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28436 }
28437 {
28438 PyThreadState* __tstate = wxPyBeginAllowThreads();
28439 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
28440
28441 wxPyEndAllowThreads(__tstate);
28442 if (PyErr_Occurred()) SWIG_fail;
28443 }
28444 {
28445#if wxUSE_UNICODE
28446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28447#else
28448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28449#endif
28450 }
28451 return resultobj;
28452 fail:
28453 return NULL;
28454}
28455
28456
c370783e 28457static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28458 PyObject *resultobj;
28459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28460 wxTreeItemId *arg2 = 0 ;
36ed4f51 28461 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28462 int result;
28463 PyObject * obj0 = 0 ;
28464 PyObject * obj1 = 0 ;
28465 PyObject * obj2 = 0 ;
28466 char *kwnames[] = {
28467 (char *) "self",(char *) "item",(char *) "which", NULL
28468 };
28469
28470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28471 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28472 if (SWIG_arg_fail(1)) SWIG_fail;
28473 {
28474 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28475 if (SWIG_arg_fail(2)) SWIG_fail;
28476 if (arg2 == NULL) {
28477 SWIG_null_ref("wxTreeItemId");
28478 }
28479 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28480 }
28481 if (obj2) {
36ed4f51
RD
28482 {
28483 arg3 = (wxTreeItemIcon)(SWIG_As_int(obj2));
28484 if (SWIG_arg_fail(3)) SWIG_fail;
28485 }
d55e5bfc
RD
28486 }
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
28490
28491 wxPyEndAllowThreads(__tstate);
28492 if (PyErr_Occurred()) SWIG_fail;
28493 }
36ed4f51
RD
28494 {
28495 resultobj = SWIG_From_int((int)(result));
28496 }
d55e5bfc
RD
28497 return resultobj;
28498 fail:
28499 return NULL;
28500}
28501
28502
c370783e 28503static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28504 PyObject *resultobj;
28505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28506 wxTreeItemId *arg2 = 0 ;
28507 wxPyTreeItemData *result;
28508 PyObject * obj0 = 0 ;
28509 PyObject * obj1 = 0 ;
28510 char *kwnames[] = {
28511 (char *) "self",(char *) "item", NULL
28512 };
28513
28514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28515 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28516 if (SWIG_arg_fail(1)) SWIG_fail;
28517 {
28518 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28519 if (SWIG_arg_fail(2)) SWIG_fail;
28520 if (arg2 == NULL) {
28521 SWIG_null_ref("wxTreeItemId");
28522 }
28523 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28524 }
28525 {
28526 PyThreadState* __tstate = wxPyBeginAllowThreads();
28527 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
28528
28529 wxPyEndAllowThreads(__tstate);
28530 if (PyErr_Occurred()) SWIG_fail;
28531 }
28532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
28533 return resultobj;
28534 fail:
28535 return NULL;
28536}
28537
28538
c370783e 28539static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28540 PyObject *resultobj;
28541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28542 wxTreeItemId *arg2 = 0 ;
28543 PyObject *result;
28544 PyObject * obj0 = 0 ;
28545 PyObject * obj1 = 0 ;
28546 char *kwnames[] = {
28547 (char *) "self",(char *) "item", NULL
28548 };
28549
28550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28552 if (SWIG_arg_fail(1)) SWIG_fail;
28553 {
28554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28555 if (SWIG_arg_fail(2)) SWIG_fail;
28556 if (arg2 == NULL) {
28557 SWIG_null_ref("wxTreeItemId");
28558 }
28559 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28560 }
28561 {
28562 PyThreadState* __tstate = wxPyBeginAllowThreads();
28563 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
28564
28565 wxPyEndAllowThreads(__tstate);
28566 if (PyErr_Occurred()) SWIG_fail;
28567 }
28568 resultobj = result;
28569 return resultobj;
28570 fail:
28571 return NULL;
28572}
28573
28574
c370783e 28575static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28576 PyObject *resultobj;
28577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28578 wxTreeItemId *arg2 = 0 ;
28579 wxColour result;
28580 PyObject * obj0 = 0 ;
28581 PyObject * obj1 = 0 ;
28582 char *kwnames[] = {
28583 (char *) "self",(char *) "item", NULL
28584 };
28585
28586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28588 if (SWIG_arg_fail(1)) SWIG_fail;
28589 {
28590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28591 if (SWIG_arg_fail(2)) SWIG_fail;
28592 if (arg2 == NULL) {
28593 SWIG_null_ref("wxTreeItemId");
28594 }
28595 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28596 }
28597 {
28598 PyThreadState* __tstate = wxPyBeginAllowThreads();
28599 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
28600
28601 wxPyEndAllowThreads(__tstate);
28602 if (PyErr_Occurred()) SWIG_fail;
28603 }
28604 {
28605 wxColour * resultptr;
36ed4f51 28606 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28607 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28608 }
28609 return resultobj;
28610 fail:
28611 return NULL;
28612}
28613
28614
c370783e 28615static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28616 PyObject *resultobj;
28617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28618 wxTreeItemId *arg2 = 0 ;
28619 wxColour result;
28620 PyObject * obj0 = 0 ;
28621 PyObject * obj1 = 0 ;
28622 char *kwnames[] = {
28623 (char *) "self",(char *) "item", NULL
28624 };
28625
28626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28627 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28628 if (SWIG_arg_fail(1)) SWIG_fail;
28629 {
28630 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28631 if (SWIG_arg_fail(2)) SWIG_fail;
28632 if (arg2 == NULL) {
28633 SWIG_null_ref("wxTreeItemId");
28634 }
28635 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28636 }
28637 {
28638 PyThreadState* __tstate = wxPyBeginAllowThreads();
28639 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
28640
28641 wxPyEndAllowThreads(__tstate);
28642 if (PyErr_Occurred()) SWIG_fail;
28643 }
28644 {
28645 wxColour * resultptr;
36ed4f51 28646 resultptr = new wxColour((wxColour &)(result));
d55e5bfc
RD
28647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
28648 }
28649 return resultobj;
28650 fail:
28651 return NULL;
28652}
28653
28654
c370783e 28655static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28656 PyObject *resultobj;
28657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28658 wxTreeItemId *arg2 = 0 ;
28659 wxFont result;
28660 PyObject * obj0 = 0 ;
28661 PyObject * obj1 = 0 ;
28662 char *kwnames[] = {
28663 (char *) "self",(char *) "item", NULL
28664 };
28665
28666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
28667 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail;
28669 {
28670 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28671 if (SWIG_arg_fail(2)) SWIG_fail;
28672 if (arg2 == NULL) {
28673 SWIG_null_ref("wxTreeItemId");
28674 }
28675 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28676 }
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 {
28685 wxFont * resultptr;
36ed4f51 28686 resultptr = new wxFont((wxFont &)(result));
d55e5bfc
RD
28687 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
28688 }
28689 return resultobj;
28690 fail:
28691 return NULL;
28692}
28693
28694
c370783e 28695static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28696 PyObject *resultobj;
28697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28698 wxTreeItemId *arg2 = 0 ;
28699 wxString *arg3 = 0 ;
b411df4a 28700 bool temp3 = false ;
d55e5bfc
RD
28701 PyObject * obj0 = 0 ;
28702 PyObject * obj1 = 0 ;
28703 PyObject * obj2 = 0 ;
28704 char *kwnames[] = {
28705 (char *) "self",(char *) "item",(char *) "text", NULL
28706 };
28707
28708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28710 if (SWIG_arg_fail(1)) SWIG_fail;
28711 {
28712 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28713 if (SWIG_arg_fail(2)) SWIG_fail;
28714 if (arg2 == NULL) {
28715 SWIG_null_ref("wxTreeItemId");
28716 }
28717 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28718 }
28719 {
28720 arg3 = wxString_in_helper(obj2);
28721 if (arg3 == NULL) SWIG_fail;
b411df4a 28722 temp3 = true;
d55e5bfc
RD
28723 }
28724 {
28725 PyThreadState* __tstate = wxPyBeginAllowThreads();
28726 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
28727
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 Py_INCREF(Py_None); resultobj = Py_None;
28732 {
28733 if (temp3)
28734 delete arg3;
28735 }
28736 return resultobj;
28737 fail:
28738 {
28739 if (temp3)
28740 delete arg3;
28741 }
28742 return NULL;
28743}
28744
28745
c370783e 28746static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28747 PyObject *resultobj;
28748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28749 wxTreeItemId *arg2 = 0 ;
28750 int arg3 ;
36ed4f51 28751 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
d55e5bfc
RD
28752 PyObject * obj0 = 0 ;
28753 PyObject * obj1 = 0 ;
28754 PyObject * obj2 = 0 ;
28755 PyObject * obj3 = 0 ;
28756 char *kwnames[] = {
28757 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
28758 };
28759
28760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
28761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28762 if (SWIG_arg_fail(1)) SWIG_fail;
28763 {
28764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28765 if (SWIG_arg_fail(2)) SWIG_fail;
28766 if (arg2 == NULL) {
28767 SWIG_null_ref("wxTreeItemId");
28768 }
28769 if (SWIG_arg_fail(2)) SWIG_fail;
28770 }
28771 {
28772 arg3 = (int)(SWIG_As_int(obj2));
28773 if (SWIG_arg_fail(3)) SWIG_fail;
28774 }
d55e5bfc 28775 if (obj3) {
36ed4f51
RD
28776 {
28777 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
28778 if (SWIG_arg_fail(4)) SWIG_fail;
28779 }
d55e5bfc
RD
28780 }
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 Py_INCREF(Py_None); resultobj = Py_None;
28789 return resultobj;
28790 fail:
28791 return NULL;
28792}
28793
28794
c370783e 28795static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28796 PyObject *resultobj;
28797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28798 wxTreeItemId *arg2 = 0 ;
28799 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
28800 PyObject * obj0 = 0 ;
28801 PyObject * obj1 = 0 ;
28802 PyObject * obj2 = 0 ;
28803 char *kwnames[] = {
28804 (char *) "self",(char *) "item",(char *) "data", NULL
28805 };
28806
28807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28808 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28809 if (SWIG_arg_fail(1)) SWIG_fail;
28810 {
28811 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28812 if (SWIG_arg_fail(2)) SWIG_fail;
28813 if (arg2 == NULL) {
28814 SWIG_null_ref("wxTreeItemId");
28815 }
28816 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 28817 }
36ed4f51
RD
28818 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
28819 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
28820 {
28821 PyThreadState* __tstate = wxPyBeginAllowThreads();
28822 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
28823
28824 wxPyEndAllowThreads(__tstate);
28825 if (PyErr_Occurred()) SWIG_fail;
28826 }
28827 Py_INCREF(Py_None); resultobj = Py_None;
28828 return resultobj;
28829 fail:
28830 return NULL;
28831}
28832
28833
c370783e 28834static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28835 PyObject *resultobj;
28836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28837 wxTreeItemId *arg2 = 0 ;
28838 PyObject *arg3 = (PyObject *) 0 ;
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 PyObject * obj2 = 0 ;
28842 char *kwnames[] = {
28843 (char *) "self",(char *) "item",(char *) "obj", NULL
28844 };
28845
28846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28848 if (SWIG_arg_fail(1)) SWIG_fail;
28849 {
28850 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28851 if (SWIG_arg_fail(2)) SWIG_fail;
28852 if (arg2 == NULL) {
28853 SWIG_null_ref("wxTreeItemId");
28854 }
28855 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28856 }
28857 arg3 = obj2;
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
28861
28862 wxPyEndAllowThreads(__tstate);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 }
28865 Py_INCREF(Py_None); resultobj = Py_None;
28866 return resultobj;
28867 fail:
28868 return NULL;
28869}
28870
28871
c370783e 28872static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28873 PyObject *resultobj;
28874 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28875 wxTreeItemId *arg2 = 0 ;
b411df4a 28876 bool arg3 = (bool) true ;
d55e5bfc
RD
28877 PyObject * obj0 = 0 ;
28878 PyObject * obj1 = 0 ;
28879 PyObject * obj2 = 0 ;
28880 char *kwnames[] = {
28881 (char *) "self",(char *) "item",(char *) "has", NULL
28882 };
28883
28884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28885 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28886 if (SWIG_arg_fail(1)) SWIG_fail;
28887 {
28888 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28889 if (SWIG_arg_fail(2)) SWIG_fail;
28890 if (arg2 == NULL) {
28891 SWIG_null_ref("wxTreeItemId");
28892 }
28893 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28894 }
28895 if (obj2) {
36ed4f51
RD
28896 {
28897 arg3 = (bool)(SWIG_As_bool(obj2));
28898 if (SWIG_arg_fail(3)) SWIG_fail;
28899 }
d55e5bfc
RD
28900 }
28901 {
28902 PyThreadState* __tstate = wxPyBeginAllowThreads();
28903 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
28904
28905 wxPyEndAllowThreads(__tstate);
28906 if (PyErr_Occurred()) SWIG_fail;
28907 }
28908 Py_INCREF(Py_None); resultobj = Py_None;
28909 return resultobj;
28910 fail:
28911 return NULL;
28912}
28913
28914
c370783e 28915static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
28916 PyObject *resultobj;
28917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28918 wxTreeItemId *arg2 = 0 ;
b411df4a 28919 bool arg3 = (bool) true ;
d55e5bfc
RD
28920 PyObject * obj0 = 0 ;
28921 PyObject * obj1 = 0 ;
28922 PyObject * obj2 = 0 ;
28923 char *kwnames[] = {
28924 (char *) "self",(char *) "item",(char *) "bold", NULL
28925 };
28926
28927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
28928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28929 if (SWIG_arg_fail(1)) SWIG_fail;
28930 {
28931 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28932 if (SWIG_arg_fail(2)) SWIG_fail;
28933 if (arg2 == NULL) {
28934 SWIG_null_ref("wxTreeItemId");
28935 }
28936 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
28937 }
28938 if (obj2) {
36ed4f51
RD
28939 {
28940 arg3 = (bool)(SWIG_As_bool(obj2));
28941 if (SWIG_arg_fail(3)) SWIG_fail;
28942 }
d55e5bfc
RD
28943 }
28944 {
28945 PyThreadState* __tstate = wxPyBeginAllowThreads();
28946 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
28947
28948 wxPyEndAllowThreads(__tstate);
28949 if (PyErr_Occurred()) SWIG_fail;
28950 }
28951 Py_INCREF(Py_None); resultobj = Py_None;
28952 return resultobj;
28953 fail:
28954 return NULL;
28955}
28956
28957
fef4c27a
RD
28958static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
28959 PyObject *resultobj;
28960 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28961 wxTreeItemId *arg2 = 0 ;
28962 bool arg3 = (bool) true ;
28963 PyObject * obj0 = 0 ;
28964 PyObject * obj1 = 0 ;
28965 PyObject * obj2 = 0 ;
28966 char *kwnames[] = {
28967 (char *) "self",(char *) "item",(char *) "highlight", NULL
28968 };
28969
28970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
28971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
28972 if (SWIG_arg_fail(1)) SWIG_fail;
28973 {
28974 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
28975 if (SWIG_arg_fail(2)) SWIG_fail;
28976 if (arg2 == NULL) {
28977 SWIG_null_ref("wxTreeItemId");
28978 }
28979 if (SWIG_arg_fail(2)) SWIG_fail;
28980 }
28981 if (obj2) {
28982 {
28983 arg3 = (bool)(SWIG_As_bool(obj2));
28984 if (SWIG_arg_fail(3)) SWIG_fail;
28985 }
28986 }
28987 {
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
28990
28991 wxPyEndAllowThreads(__tstate);
28992 if (PyErr_Occurred()) SWIG_fail;
28993 }
28994 Py_INCREF(Py_None); resultobj = Py_None;
28995 return resultobj;
28996 fail:
28997 return NULL;
28998}
28999
29000
c370783e 29001static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29002 PyObject *resultobj;
29003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29004 wxTreeItemId *arg2 = 0 ;
29005 wxColour *arg3 = 0 ;
29006 wxColour temp3 ;
29007 PyObject * obj0 = 0 ;
29008 PyObject * obj1 = 0 ;
29009 PyObject * obj2 = 0 ;
29010 char *kwnames[] = {
29011 (char *) "self",(char *) "item",(char *) "col", NULL
29012 };
29013
29014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29015 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29016 if (SWIG_arg_fail(1)) SWIG_fail;
29017 {
29018 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29019 if (SWIG_arg_fail(2)) SWIG_fail;
29020 if (arg2 == NULL) {
29021 SWIG_null_ref("wxTreeItemId");
29022 }
29023 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29024 }
29025 {
29026 arg3 = &temp3;
29027 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29028 }
29029 {
29030 PyThreadState* __tstate = wxPyBeginAllowThreads();
29031 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29032
29033 wxPyEndAllowThreads(__tstate);
29034 if (PyErr_Occurred()) SWIG_fail;
29035 }
29036 Py_INCREF(Py_None); resultobj = Py_None;
29037 return resultobj;
29038 fail:
29039 return NULL;
29040}
29041
29042
c370783e 29043static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29044 PyObject *resultobj;
29045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29046 wxTreeItemId *arg2 = 0 ;
29047 wxColour *arg3 = 0 ;
29048 wxColour temp3 ;
29049 PyObject * obj0 = 0 ;
29050 PyObject * obj1 = 0 ;
29051 PyObject * obj2 = 0 ;
29052 char *kwnames[] = {
29053 (char *) "self",(char *) "item",(char *) "col", NULL
29054 };
29055
29056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29057 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29058 if (SWIG_arg_fail(1)) SWIG_fail;
29059 {
29060 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29061 if (SWIG_arg_fail(2)) SWIG_fail;
29062 if (arg2 == NULL) {
29063 SWIG_null_ref("wxTreeItemId");
29064 }
29065 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29066 }
29067 {
29068 arg3 = &temp3;
29069 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
29070 }
29071 {
29072 PyThreadState* __tstate = wxPyBeginAllowThreads();
29073 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
29074
29075 wxPyEndAllowThreads(__tstate);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 }
29078 Py_INCREF(Py_None); resultobj = Py_None;
29079 return resultobj;
29080 fail:
29081 return NULL;
29082}
29083
29084
c370783e 29085static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29086 PyObject *resultobj;
29087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29088 wxTreeItemId *arg2 = 0 ;
29089 wxFont *arg3 = 0 ;
29090 PyObject * obj0 = 0 ;
29091 PyObject * obj1 = 0 ;
29092 PyObject * obj2 = 0 ;
29093 char *kwnames[] = {
29094 (char *) "self",(char *) "item",(char *) "font", NULL
29095 };
29096
29097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29099 if (SWIG_arg_fail(1)) SWIG_fail;
29100 {
29101 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29102 if (SWIG_arg_fail(2)) SWIG_fail;
29103 if (arg2 == NULL) {
29104 SWIG_null_ref("wxTreeItemId");
29105 }
29106 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 29107 }
36ed4f51
RD
29108 {
29109 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
29110 if (SWIG_arg_fail(3)) SWIG_fail;
29111 if (arg3 == NULL) {
29112 SWIG_null_ref("wxFont");
29113 }
29114 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29115 }
29116 {
29117 PyThreadState* __tstate = wxPyBeginAllowThreads();
29118 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
29119
29120 wxPyEndAllowThreads(__tstate);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 Py_INCREF(Py_None); resultobj = Py_None;
29124 return resultobj;
29125 fail:
29126 return NULL;
29127}
29128
29129
c370783e 29130static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29131 PyObject *resultobj;
29132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29133 wxTreeItemId *arg2 = 0 ;
29134 bool result;
29135 PyObject * obj0 = 0 ;
29136 PyObject * obj1 = 0 ;
29137 char *kwnames[] = {
29138 (char *) "self",(char *) "item", NULL
29139 };
29140
29141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29143 if (SWIG_arg_fail(1)) SWIG_fail;
29144 {
29145 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29146 if (SWIG_arg_fail(2)) SWIG_fail;
29147 if (arg2 == NULL) {
29148 SWIG_null_ref("wxTreeItemId");
29149 }
29150 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29151 }
29152 {
29153 PyThreadState* __tstate = wxPyBeginAllowThreads();
29154 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
29155
29156 wxPyEndAllowThreads(__tstate);
29157 if (PyErr_Occurred()) SWIG_fail;
29158 }
29159 {
29160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29161 }
29162 return resultobj;
29163 fail:
29164 return NULL;
29165}
29166
29167
c370783e 29168static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29169 PyObject *resultobj;
29170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29171 wxTreeItemId *arg2 = 0 ;
29172 bool result;
29173 PyObject * obj0 = 0 ;
29174 PyObject * obj1 = 0 ;
29175 char *kwnames[] = {
29176 (char *) "self",(char *) "item", NULL
29177 };
29178
29179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29181 if (SWIG_arg_fail(1)) SWIG_fail;
29182 {
29183 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29184 if (SWIG_arg_fail(2)) SWIG_fail;
29185 if (arg2 == NULL) {
29186 SWIG_null_ref("wxTreeItemId");
29187 }
29188 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29189 }
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
29193
29194 wxPyEndAllowThreads(__tstate);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
29197 {
29198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29199 }
29200 return resultobj;
29201 fail:
29202 return NULL;
29203}
29204
29205
c370783e 29206static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29207 PyObject *resultobj;
29208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29209 wxTreeItemId *arg2 = 0 ;
29210 bool result;
29211 PyObject * obj0 = 0 ;
29212 PyObject * obj1 = 0 ;
29213 char *kwnames[] = {
29214 (char *) "self",(char *) "item", NULL
29215 };
29216
29217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29219 if (SWIG_arg_fail(1)) SWIG_fail;
29220 {
29221 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29222 if (SWIG_arg_fail(2)) SWIG_fail;
29223 if (arg2 == NULL) {
29224 SWIG_null_ref("wxTreeItemId");
29225 }
29226 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29227 }
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
29231
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 {
29236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29237 }
29238 return resultobj;
29239 fail:
29240 return NULL;
29241}
29242
29243
c370783e 29244static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29245 PyObject *resultobj;
29246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29247 wxTreeItemId *arg2 = 0 ;
29248 bool result;
29249 PyObject * obj0 = 0 ;
29250 PyObject * obj1 = 0 ;
29251 char *kwnames[] = {
29252 (char *) "self",(char *) "item", NULL
29253 };
29254
29255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29257 if (SWIG_arg_fail(1)) SWIG_fail;
29258 {
29259 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29260 if (SWIG_arg_fail(2)) SWIG_fail;
29261 if (arg2 == NULL) {
29262 SWIG_null_ref("wxTreeItemId");
29263 }
29264 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29265 }
29266 {
29267 PyThreadState* __tstate = wxPyBeginAllowThreads();
29268 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
29269
29270 wxPyEndAllowThreads(__tstate);
29271 if (PyErr_Occurred()) SWIG_fail;
29272 }
29273 {
29274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29275 }
29276 return resultobj;
29277 fail:
29278 return NULL;
29279}
29280
29281
c370783e 29282static PyObject *_wrap_TreeCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29283 PyObject *resultobj;
29284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29285 wxTreeItemId *arg2 = 0 ;
29286 bool result;
29287 PyObject * obj0 = 0 ;
29288 PyObject * obj1 = 0 ;
29289 char *kwnames[] = {
29290 (char *) "self",(char *) "item", NULL
29291 };
29292
29293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29295 if (SWIG_arg_fail(1)) SWIG_fail;
29296 {
29297 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29298 if (SWIG_arg_fail(2)) SWIG_fail;
29299 if (arg2 == NULL) {
29300 SWIG_null_ref("wxTreeItemId");
29301 }
29302 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29303 }
29304 {
29305 PyThreadState* __tstate = wxPyBeginAllowThreads();
29306 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
29307
29308 wxPyEndAllowThreads(__tstate);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 }
29311 {
29312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29313 }
29314 return resultobj;
29315 fail:
29316 return NULL;
29317}
29318
29319
c370783e 29320static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29321 PyObject *resultobj;
29322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29323 wxTreeItemId *arg2 = 0 ;
b411df4a 29324 bool arg3 = (bool) true ;
d55e5bfc
RD
29325 size_t result;
29326 PyObject * obj0 = 0 ;
29327 PyObject * obj1 = 0 ;
29328 PyObject * obj2 = 0 ;
29329 char *kwnames[] = {
29330 (char *) "self",(char *) "item",(char *) "recursively", NULL
29331 };
29332
29333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29335 if (SWIG_arg_fail(1)) SWIG_fail;
29336 {
29337 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29338 if (SWIG_arg_fail(2)) SWIG_fail;
29339 if (arg2 == NULL) {
29340 SWIG_null_ref("wxTreeItemId");
29341 }
29342 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29343 }
29344 if (obj2) {
36ed4f51
RD
29345 {
29346 arg3 = (bool)(SWIG_As_bool(obj2));
29347 if (SWIG_arg_fail(3)) SWIG_fail;
29348 }
d55e5bfc
RD
29349 }
29350 {
29351 PyThreadState* __tstate = wxPyBeginAllowThreads();
29352 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
29353
29354 wxPyEndAllowThreads(__tstate);
29355 if (PyErr_Occurred()) SWIG_fail;
29356 }
36ed4f51
RD
29357 {
29358 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
29359 }
d55e5bfc
RD
29360 return resultobj;
29361 fail:
29362 return NULL;
29363}
29364
29365
c370783e 29366static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29367 PyObject *resultobj;
29368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29369 wxTreeItemId result;
29370 PyObject * obj0 = 0 ;
29371 char *kwnames[] = {
29372 (char *) "self", NULL
29373 };
29374
29375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29376 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29377 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29378 {
29379 PyThreadState* __tstate = wxPyBeginAllowThreads();
29380 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
29381
29382 wxPyEndAllowThreads(__tstate);
29383 if (PyErr_Occurred()) SWIG_fail;
29384 }
29385 {
29386 wxTreeItemId * resultptr;
36ed4f51 29387 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29388 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29389 }
29390 return resultobj;
29391 fail:
29392 return NULL;
29393}
29394
29395
c370783e 29396static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29397 PyObject *resultobj;
29398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29399 wxTreeItemId result;
29400 PyObject * obj0 = 0 ;
29401 char *kwnames[] = {
29402 (char *) "self", NULL
29403 };
29404
29405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
29406 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29407 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29408 {
29409 PyThreadState* __tstate = wxPyBeginAllowThreads();
29410 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
29411
29412 wxPyEndAllowThreads(__tstate);
29413 if (PyErr_Occurred()) SWIG_fail;
29414 }
29415 {
29416 wxTreeItemId * resultptr;
36ed4f51 29417 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29418 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29419 }
29420 return resultobj;
29421 fail:
29422 return NULL;
29423}
29424
29425
c370783e 29426static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29427 PyObject *resultobj;
29428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29429 PyObject *result;
29430 PyObject * obj0 = 0 ;
29431 char *kwnames[] = {
29432 (char *) "self", NULL
29433 };
29434
29435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
29436 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29437 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29438 {
29439 PyThreadState* __tstate = wxPyBeginAllowThreads();
29440 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
29441
29442 wxPyEndAllowThreads(__tstate);
29443 if (PyErr_Occurred()) SWIG_fail;
29444 }
29445 resultobj = result;
29446 return resultobj;
29447 fail:
29448 return NULL;
29449}
29450
29451
c370783e 29452static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29453 PyObject *resultobj;
29454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29455 wxTreeItemId *arg2 = 0 ;
29456 wxTreeItemId result;
29457 PyObject * obj0 = 0 ;
29458 PyObject * obj1 = 0 ;
29459 char *kwnames[] = {
29460 (char *) "self",(char *) "item", NULL
29461 };
29462
29463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail;
29466 {
29467 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29468 if (SWIG_arg_fail(2)) SWIG_fail;
29469 if (arg2 == NULL) {
29470 SWIG_null_ref("wxTreeItemId");
29471 }
29472 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29473 }
29474 {
29475 PyThreadState* __tstate = wxPyBeginAllowThreads();
29476 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
29477
29478 wxPyEndAllowThreads(__tstate);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 }
29481 {
29482 wxTreeItemId * resultptr;
36ed4f51 29483 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29484 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29485 }
29486 return resultobj;
29487 fail:
29488 return NULL;
29489}
29490
29491
c370783e 29492static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29493 PyObject *resultobj;
29494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29495 wxTreeItemId *arg2 = 0 ;
29496 PyObject *result;
29497 PyObject * obj0 = 0 ;
29498 PyObject * obj1 = 0 ;
29499 char *kwnames[] = {
29500 (char *) "self",(char *) "item", NULL
29501 };
29502
29503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29505 if (SWIG_arg_fail(1)) SWIG_fail;
29506 {
29507 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29508 if (SWIG_arg_fail(2)) SWIG_fail;
29509 if (arg2 == NULL) {
29510 SWIG_null_ref("wxTreeItemId");
29511 }
29512 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29513 }
29514 {
29515 PyThreadState* __tstate = wxPyBeginAllowThreads();
29516 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
29517
29518 wxPyEndAllowThreads(__tstate);
29519 if (PyErr_Occurred()) SWIG_fail;
29520 }
29521 resultobj = result;
29522 return resultobj;
29523 fail:
29524 return NULL;
29525}
29526
29527
c370783e 29528static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29529 PyObject *resultobj;
29530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29531 wxTreeItemId *arg2 = 0 ;
29532 void *arg3 = (void *) 0 ;
29533 PyObject *result;
29534 PyObject * obj0 = 0 ;
29535 PyObject * obj1 = 0 ;
29536 PyObject * obj2 = 0 ;
29537 char *kwnames[] = {
29538 (char *) "self",(char *) "item",(char *) "cookie", NULL
29539 };
29540
29541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
29542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29543 if (SWIG_arg_fail(1)) SWIG_fail;
29544 {
29545 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29546 if (SWIG_arg_fail(2)) SWIG_fail;
29547 if (arg2 == NULL) {
29548 SWIG_null_ref("wxTreeItemId");
29549 }
29550 if (SWIG_arg_fail(2)) SWIG_fail;
29551 }
29552 {
29553 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
29554 SWIG_arg_fail(3);SWIG_fail;
29555 }
d55e5bfc 29556 }
d55e5bfc
RD
29557 {
29558 PyThreadState* __tstate = wxPyBeginAllowThreads();
29559 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
29560
29561 wxPyEndAllowThreads(__tstate);
29562 if (PyErr_Occurred()) SWIG_fail;
29563 }
29564 resultobj = result;
29565 return resultobj;
29566 fail:
29567 return NULL;
29568}
29569
29570
c370783e 29571static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29572 PyObject *resultobj;
29573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29574 wxTreeItemId *arg2 = 0 ;
29575 wxTreeItemId result;
29576 PyObject * obj0 = 0 ;
29577 PyObject * obj1 = 0 ;
29578 char *kwnames[] = {
29579 (char *) "self",(char *) "item", NULL
29580 };
29581
29582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29583 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29584 if (SWIG_arg_fail(1)) SWIG_fail;
29585 {
29586 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29587 if (SWIG_arg_fail(2)) SWIG_fail;
29588 if (arg2 == NULL) {
29589 SWIG_null_ref("wxTreeItemId");
29590 }
29591 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29592 }
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
29596
29597 wxPyEndAllowThreads(__tstate);
29598 if (PyErr_Occurred()) SWIG_fail;
29599 }
29600 {
29601 wxTreeItemId * resultptr;
36ed4f51 29602 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29604 }
29605 return resultobj;
29606 fail:
29607 return NULL;
29608}
29609
29610
c370783e 29611static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29612 PyObject *resultobj;
29613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29614 wxTreeItemId *arg2 = 0 ;
29615 wxTreeItemId result;
29616 PyObject * obj0 = 0 ;
29617 PyObject * obj1 = 0 ;
29618 char *kwnames[] = {
29619 (char *) "self",(char *) "item", NULL
29620 };
29621
29622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29624 if (SWIG_arg_fail(1)) SWIG_fail;
29625 {
29626 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29627 if (SWIG_arg_fail(2)) SWIG_fail;
29628 if (arg2 == NULL) {
29629 SWIG_null_ref("wxTreeItemId");
29630 }
29631 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29632 }
29633 {
29634 PyThreadState* __tstate = wxPyBeginAllowThreads();
29635 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
29636
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 {
29641 wxTreeItemId * resultptr;
36ed4f51 29642 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29644 }
29645 return resultobj;
29646 fail:
29647 return NULL;
29648}
29649
29650
c370783e 29651static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29652 PyObject *resultobj;
29653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29654 wxTreeItemId *arg2 = 0 ;
29655 wxTreeItemId result;
29656 PyObject * obj0 = 0 ;
29657 PyObject * obj1 = 0 ;
29658 char *kwnames[] = {
29659 (char *) "self",(char *) "item", NULL
29660 };
29661
29662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29664 if (SWIG_arg_fail(1)) SWIG_fail;
29665 {
29666 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29667 if (SWIG_arg_fail(2)) SWIG_fail;
29668 if (arg2 == NULL) {
29669 SWIG_null_ref("wxTreeItemId");
29670 }
29671 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29672 }
29673 {
29674 PyThreadState* __tstate = wxPyBeginAllowThreads();
29675 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
29676
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 {
29681 wxTreeItemId * resultptr;
36ed4f51 29682 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29683 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29684 }
29685 return resultobj;
29686 fail:
29687 return NULL;
29688}
29689
29690
c370783e 29691static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29692 PyObject *resultobj;
29693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29694 wxTreeItemId result;
29695 PyObject * obj0 = 0 ;
29696 char *kwnames[] = {
29697 (char *) "self", NULL
29698 };
29699
29700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
29701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29702 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29703 {
29704 PyThreadState* __tstate = wxPyBeginAllowThreads();
29705 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
29706
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
29710 {
29711 wxTreeItemId * resultptr;
36ed4f51 29712 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29714 }
29715 return resultobj;
29716 fail:
29717 return NULL;
29718}
29719
29720
c370783e 29721static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29722 PyObject *resultobj;
29723 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29724 wxTreeItemId *arg2 = 0 ;
29725 wxTreeItemId result;
29726 PyObject * obj0 = 0 ;
29727 PyObject * obj1 = 0 ;
29728 char *kwnames[] = {
29729 (char *) "self",(char *) "item", NULL
29730 };
29731
29732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29734 if (SWIG_arg_fail(1)) SWIG_fail;
29735 {
29736 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29737 if (SWIG_arg_fail(2)) SWIG_fail;
29738 if (arg2 == NULL) {
29739 SWIG_null_ref("wxTreeItemId");
29740 }
29741 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29742 }
29743 {
29744 PyThreadState* __tstate = wxPyBeginAllowThreads();
29745 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
29746
29747 wxPyEndAllowThreads(__tstate);
29748 if (PyErr_Occurred()) SWIG_fail;
29749 }
29750 {
29751 wxTreeItemId * resultptr;
36ed4f51 29752 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29753 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29754 }
29755 return resultobj;
29756 fail:
29757 return NULL;
29758}
29759
29760
c370783e 29761static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29762 PyObject *resultobj;
29763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29764 wxTreeItemId *arg2 = 0 ;
29765 wxTreeItemId result;
29766 PyObject * obj0 = 0 ;
29767 PyObject * obj1 = 0 ;
29768 char *kwnames[] = {
29769 (char *) "self",(char *) "item", NULL
29770 };
29771
29772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
29773 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29774 if (SWIG_arg_fail(1)) SWIG_fail;
29775 {
29776 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29777 if (SWIG_arg_fail(2)) SWIG_fail;
29778 if (arg2 == NULL) {
29779 SWIG_null_ref("wxTreeItemId");
29780 }
29781 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29782 }
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
29786
29787 wxPyEndAllowThreads(__tstate);
29788 if (PyErr_Occurred()) SWIG_fail;
29789 }
29790 {
29791 wxTreeItemId * resultptr;
36ed4f51 29792 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29793 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29794 }
29795 return resultobj;
29796 fail:
29797 return NULL;
29798}
29799
29800
c370783e 29801static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29802 PyObject *resultobj;
29803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29804 wxString *arg2 = 0 ;
29805 int arg3 = (int) -1 ;
29806 int arg4 = (int) -1 ;
29807 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
29808 wxTreeItemId result;
b411df4a 29809 bool temp2 = false ;
d55e5bfc
RD
29810 PyObject * obj0 = 0 ;
29811 PyObject * obj1 = 0 ;
29812 PyObject * obj2 = 0 ;
29813 PyObject * obj3 = 0 ;
29814 PyObject * obj4 = 0 ;
29815 char *kwnames[] = {
29816 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29817 };
29818
29819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
29820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29821 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
29822 {
29823 arg2 = wxString_in_helper(obj1);
29824 if (arg2 == NULL) SWIG_fail;
b411df4a 29825 temp2 = true;
d55e5bfc
RD
29826 }
29827 if (obj2) {
36ed4f51
RD
29828 {
29829 arg3 = (int)(SWIG_As_int(obj2));
29830 if (SWIG_arg_fail(3)) SWIG_fail;
29831 }
d55e5bfc
RD
29832 }
29833 if (obj3) {
36ed4f51
RD
29834 {
29835 arg4 = (int)(SWIG_As_int(obj3));
29836 if (SWIG_arg_fail(4)) SWIG_fail;
29837 }
d55e5bfc
RD
29838 }
29839 if (obj4) {
36ed4f51
RD
29840 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29841 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
29842 }
29843 {
29844 PyThreadState* __tstate = wxPyBeginAllowThreads();
29845 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
29846
29847 wxPyEndAllowThreads(__tstate);
29848 if (PyErr_Occurred()) SWIG_fail;
29849 }
29850 {
29851 wxTreeItemId * resultptr;
36ed4f51 29852 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29854 }
29855 {
29856 if (temp2)
29857 delete arg2;
29858 }
29859 return resultobj;
29860 fail:
29861 {
29862 if (temp2)
29863 delete arg2;
29864 }
29865 return NULL;
29866}
29867
29868
c370783e 29869static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29870 PyObject *resultobj;
29871 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29872 wxTreeItemId *arg2 = 0 ;
29873 wxString *arg3 = 0 ;
29874 int arg4 = (int) -1 ;
29875 int arg5 = (int) -1 ;
29876 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
29877 wxTreeItemId result;
b411df4a 29878 bool temp3 = false ;
d55e5bfc
RD
29879 PyObject * obj0 = 0 ;
29880 PyObject * obj1 = 0 ;
29881 PyObject * obj2 = 0 ;
29882 PyObject * obj3 = 0 ;
29883 PyObject * obj4 = 0 ;
29884 PyObject * obj5 = 0 ;
29885 char *kwnames[] = {
29886 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29887 };
29888
29889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
29890 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29891 if (SWIG_arg_fail(1)) SWIG_fail;
29892 {
29893 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29894 if (SWIG_arg_fail(2)) SWIG_fail;
29895 if (arg2 == NULL) {
29896 SWIG_null_ref("wxTreeItemId");
29897 }
29898 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
29899 }
29900 {
29901 arg3 = wxString_in_helper(obj2);
29902 if (arg3 == NULL) SWIG_fail;
b411df4a 29903 temp3 = true;
d55e5bfc
RD
29904 }
29905 if (obj3) {
36ed4f51
RD
29906 {
29907 arg4 = (int)(SWIG_As_int(obj3));
29908 if (SWIG_arg_fail(4)) SWIG_fail;
29909 }
d55e5bfc
RD
29910 }
29911 if (obj4) {
36ed4f51
RD
29912 {
29913 arg5 = (int)(SWIG_As_int(obj4));
29914 if (SWIG_arg_fail(5)) SWIG_fail;
29915 }
d55e5bfc
RD
29916 }
29917 if (obj5) {
36ed4f51
RD
29918 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
29919 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
29920 }
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
29924
29925 wxPyEndAllowThreads(__tstate);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 {
29929 wxTreeItemId * resultptr;
36ed4f51 29930 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
29931 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
29932 }
29933 {
29934 if (temp3)
29935 delete arg3;
29936 }
29937 return resultobj;
29938 fail:
29939 {
29940 if (temp3)
29941 delete arg3;
29942 }
29943 return NULL;
29944}
29945
29946
c370783e 29947static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
29948 PyObject *resultobj;
29949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
29950 wxTreeItemId *arg2 = 0 ;
29951 wxTreeItemId *arg3 = 0 ;
29952 wxString *arg4 = 0 ;
29953 int arg5 = (int) -1 ;
29954 int arg6 = (int) -1 ;
29955 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
29956 wxTreeItemId result;
b411df4a 29957 bool temp4 = false ;
d55e5bfc
RD
29958 PyObject * obj0 = 0 ;
29959 PyObject * obj1 = 0 ;
29960 PyObject * obj2 = 0 ;
29961 PyObject * obj3 = 0 ;
29962 PyObject * obj4 = 0 ;
29963 PyObject * obj5 = 0 ;
29964 PyObject * obj6 = 0 ;
29965 char *kwnames[] = {
29966 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
29967 };
29968
29969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
29970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
29971 if (SWIG_arg_fail(1)) SWIG_fail;
29972 {
29973 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29974 if (SWIG_arg_fail(2)) SWIG_fail;
29975 if (arg2 == NULL) {
29976 SWIG_null_ref("wxTreeItemId");
29977 }
29978 if (SWIG_arg_fail(2)) SWIG_fail;
29979 }
29980 {
29981 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
29982 if (SWIG_arg_fail(3)) SWIG_fail;
29983 if (arg3 == NULL) {
29984 SWIG_null_ref("wxTreeItemId");
29985 }
29986 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
29987 }
29988 {
29989 arg4 = wxString_in_helper(obj3);
29990 if (arg4 == NULL) SWIG_fail;
b411df4a 29991 temp4 = true;
d55e5bfc
RD
29992 }
29993 if (obj4) {
36ed4f51
RD
29994 {
29995 arg5 = (int)(SWIG_As_int(obj4));
29996 if (SWIG_arg_fail(5)) SWIG_fail;
29997 }
d55e5bfc
RD
29998 }
29999 if (obj5) {
36ed4f51
RD
30000 {
30001 arg6 = (int)(SWIG_As_int(obj5));
30002 if (SWIG_arg_fail(6)) SWIG_fail;
30003 }
d55e5bfc
RD
30004 }
30005 if (obj6) {
36ed4f51
RD
30006 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30007 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30008 }
30009 {
30010 PyThreadState* __tstate = wxPyBeginAllowThreads();
30011 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30012
30013 wxPyEndAllowThreads(__tstate);
30014 if (PyErr_Occurred()) SWIG_fail;
30015 }
30016 {
30017 wxTreeItemId * resultptr;
36ed4f51 30018 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30020 }
30021 {
30022 if (temp4)
30023 delete arg4;
30024 }
30025 return resultobj;
30026 fail:
30027 {
30028 if (temp4)
30029 delete arg4;
30030 }
30031 return NULL;
30032}
30033
30034
c370783e 30035static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30036 PyObject *resultobj;
30037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30038 wxTreeItemId *arg2 = 0 ;
30039 size_t arg3 ;
30040 wxString *arg4 = 0 ;
30041 int arg5 = (int) -1 ;
30042 int arg6 = (int) -1 ;
30043 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
30044 wxTreeItemId result;
b411df4a 30045 bool temp4 = false ;
d55e5bfc
RD
30046 PyObject * obj0 = 0 ;
30047 PyObject * obj1 = 0 ;
30048 PyObject * obj2 = 0 ;
30049 PyObject * obj3 = 0 ;
30050 PyObject * obj4 = 0 ;
30051 PyObject * obj5 = 0 ;
30052 PyObject * obj6 = 0 ;
30053 char *kwnames[] = {
30054 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30055 };
30056
30057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
30058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30059 if (SWIG_arg_fail(1)) SWIG_fail;
30060 {
30061 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30062 if (SWIG_arg_fail(2)) SWIG_fail;
30063 if (arg2 == NULL) {
30064 SWIG_null_ref("wxTreeItemId");
30065 }
30066 if (SWIG_arg_fail(2)) SWIG_fail;
30067 }
30068 {
30069 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
30070 if (SWIG_arg_fail(3)) SWIG_fail;
30071 }
d55e5bfc
RD
30072 {
30073 arg4 = wxString_in_helper(obj3);
30074 if (arg4 == NULL) SWIG_fail;
b411df4a 30075 temp4 = true;
d55e5bfc
RD
30076 }
30077 if (obj4) {
36ed4f51
RD
30078 {
30079 arg5 = (int)(SWIG_As_int(obj4));
30080 if (SWIG_arg_fail(5)) SWIG_fail;
30081 }
d55e5bfc
RD
30082 }
30083 if (obj5) {
36ed4f51
RD
30084 {
30085 arg6 = (int)(SWIG_As_int(obj5));
30086 if (SWIG_arg_fail(6)) SWIG_fail;
30087 }
d55e5bfc
RD
30088 }
30089 if (obj6) {
36ed4f51
RD
30090 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30091 if (SWIG_arg_fail(7)) SWIG_fail;
d55e5bfc
RD
30092 }
30093 {
30094 PyThreadState* __tstate = wxPyBeginAllowThreads();
30095 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
30096
30097 wxPyEndAllowThreads(__tstate);
30098 if (PyErr_Occurred()) SWIG_fail;
30099 }
30100 {
30101 wxTreeItemId * resultptr;
36ed4f51 30102 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30104 }
30105 {
30106 if (temp4)
30107 delete arg4;
30108 }
30109 return resultobj;
30110 fail:
30111 {
30112 if (temp4)
30113 delete arg4;
30114 }
30115 return NULL;
30116}
30117
30118
c370783e 30119static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30120 PyObject *resultobj;
30121 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30122 wxTreeItemId *arg2 = 0 ;
30123 wxString *arg3 = 0 ;
30124 int arg4 = (int) -1 ;
30125 int arg5 = (int) -1 ;
30126 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
30127 wxTreeItemId result;
b411df4a 30128 bool temp3 = false ;
d55e5bfc
RD
30129 PyObject * obj0 = 0 ;
30130 PyObject * obj1 = 0 ;
30131 PyObject * obj2 = 0 ;
30132 PyObject * obj3 = 0 ;
30133 PyObject * obj4 = 0 ;
30134 PyObject * obj5 = 0 ;
30135 char *kwnames[] = {
30136 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
30137 };
30138
30139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
30140 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30141 if (SWIG_arg_fail(1)) SWIG_fail;
30142 {
30143 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30144 if (SWIG_arg_fail(2)) SWIG_fail;
30145 if (arg2 == NULL) {
30146 SWIG_null_ref("wxTreeItemId");
30147 }
30148 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30149 }
30150 {
30151 arg3 = wxString_in_helper(obj2);
30152 if (arg3 == NULL) SWIG_fail;
b411df4a 30153 temp3 = true;
d55e5bfc
RD
30154 }
30155 if (obj3) {
36ed4f51
RD
30156 {
30157 arg4 = (int)(SWIG_As_int(obj3));
30158 if (SWIG_arg_fail(4)) SWIG_fail;
30159 }
d55e5bfc
RD
30160 }
30161 if (obj4) {
36ed4f51
RD
30162 {
30163 arg5 = (int)(SWIG_As_int(obj4));
30164 if (SWIG_arg_fail(5)) SWIG_fail;
30165 }
d55e5bfc
RD
30166 }
30167 if (obj5) {
36ed4f51
RD
30168 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
30169 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
30170 }
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
30174
30175 wxPyEndAllowThreads(__tstate);
30176 if (PyErr_Occurred()) SWIG_fail;
30177 }
30178 {
30179 wxTreeItemId * resultptr;
36ed4f51 30180 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30181 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30182 }
30183 {
30184 if (temp3)
30185 delete arg3;
30186 }
30187 return resultobj;
30188 fail:
30189 {
30190 if (temp3)
30191 delete arg3;
30192 }
30193 return NULL;
30194}
30195
30196
c370783e 30197static PyObject *_wrap_TreeCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30198 PyObject *resultobj;
30199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30200 wxTreeItemId *arg2 = 0 ;
30201 PyObject * obj0 = 0 ;
30202 PyObject * obj1 = 0 ;
30203 char *kwnames[] = {
30204 (char *) "self",(char *) "item", NULL
30205 };
30206
30207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30208 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30209 if (SWIG_arg_fail(1)) SWIG_fail;
30210 {
30211 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30212 if (SWIG_arg_fail(2)) SWIG_fail;
30213 if (arg2 == NULL) {
30214 SWIG_null_ref("wxTreeItemId");
30215 }
30216 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30217 }
30218 {
30219 PyThreadState* __tstate = wxPyBeginAllowThreads();
30220 (arg1)->Delete((wxTreeItemId const &)*arg2);
30221
30222 wxPyEndAllowThreads(__tstate);
30223 if (PyErr_Occurred()) SWIG_fail;
30224 }
30225 Py_INCREF(Py_None); resultobj = Py_None;
30226 return resultobj;
30227 fail:
30228 return NULL;
30229}
30230
30231
c370783e 30232static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30233 PyObject *resultobj;
30234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30235 wxTreeItemId *arg2 = 0 ;
30236 PyObject * obj0 = 0 ;
30237 PyObject * obj1 = 0 ;
30238 char *kwnames[] = {
30239 (char *) "self",(char *) "item", NULL
30240 };
30241
30242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30244 if (SWIG_arg_fail(1)) SWIG_fail;
30245 {
30246 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30247 if (SWIG_arg_fail(2)) SWIG_fail;
30248 if (arg2 == NULL) {
30249 SWIG_null_ref("wxTreeItemId");
30250 }
30251 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30252 }
30253 {
30254 PyThreadState* __tstate = wxPyBeginAllowThreads();
30255 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
30256
30257 wxPyEndAllowThreads(__tstate);
30258 if (PyErr_Occurred()) SWIG_fail;
30259 }
30260 Py_INCREF(Py_None); resultobj = Py_None;
30261 return resultobj;
30262 fail:
30263 return NULL;
30264}
30265
30266
c370783e 30267static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30268 PyObject *resultobj;
30269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30270 PyObject * obj0 = 0 ;
30271 char *kwnames[] = {
30272 (char *) "self", NULL
30273 };
30274
30275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
30276 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30277 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30278 {
30279 PyThreadState* __tstate = wxPyBeginAllowThreads();
30280 (arg1)->DeleteAllItems();
30281
30282 wxPyEndAllowThreads(__tstate);
30283 if (PyErr_Occurred()) SWIG_fail;
30284 }
30285 Py_INCREF(Py_None); resultobj = Py_None;
30286 return resultobj;
30287 fail:
30288 return NULL;
30289}
30290
30291
c370783e 30292static PyObject *_wrap_TreeCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30293 PyObject *resultobj;
30294 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30295 wxTreeItemId *arg2 = 0 ;
30296 PyObject * obj0 = 0 ;
30297 PyObject * obj1 = 0 ;
30298 char *kwnames[] = {
30299 (char *) "self",(char *) "item", NULL
30300 };
30301
30302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30304 if (SWIG_arg_fail(1)) SWIG_fail;
30305 {
30306 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30307 if (SWIG_arg_fail(2)) SWIG_fail;
30308 if (arg2 == NULL) {
30309 SWIG_null_ref("wxTreeItemId");
30310 }
30311 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30312 }
30313 {
30314 PyThreadState* __tstate = wxPyBeginAllowThreads();
30315 (arg1)->Expand((wxTreeItemId const &)*arg2);
30316
30317 wxPyEndAllowThreads(__tstate);
30318 if (PyErr_Occurred()) SWIG_fail;
30319 }
30320 Py_INCREF(Py_None); resultobj = Py_None;
30321 return resultobj;
30322 fail:
30323 return NULL;
30324}
30325
30326
c370783e 30327static PyObject *_wrap_TreeCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30328 PyObject *resultobj;
30329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30330 wxTreeItemId *arg2 = 0 ;
30331 PyObject * obj0 = 0 ;
30332 PyObject * obj1 = 0 ;
30333 char *kwnames[] = {
30334 (char *) "self",(char *) "item", NULL
30335 };
30336
30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30338 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30339 if (SWIG_arg_fail(1)) SWIG_fail;
30340 {
30341 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30342 if (SWIG_arg_fail(2)) SWIG_fail;
30343 if (arg2 == NULL) {
30344 SWIG_null_ref("wxTreeItemId");
30345 }
30346 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30347 }
30348 {
30349 PyThreadState* __tstate = wxPyBeginAllowThreads();
30350 (arg1)->Collapse((wxTreeItemId const &)*arg2);
30351
30352 wxPyEndAllowThreads(__tstate);
30353 if (PyErr_Occurred()) SWIG_fail;
30354 }
30355 Py_INCREF(Py_None); resultobj = Py_None;
30356 return resultobj;
30357 fail:
30358 return NULL;
30359}
30360
30361
c370783e 30362static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30363 PyObject *resultobj;
30364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30365 wxTreeItemId *arg2 = 0 ;
30366 PyObject * obj0 = 0 ;
30367 PyObject * obj1 = 0 ;
30368 char *kwnames[] = {
30369 (char *) "self",(char *) "item", NULL
30370 };
30371
30372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30374 if (SWIG_arg_fail(1)) SWIG_fail;
30375 {
30376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30377 if (SWIG_arg_fail(2)) SWIG_fail;
30378 if (arg2 == NULL) {
30379 SWIG_null_ref("wxTreeItemId");
30380 }
30381 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30382 }
30383 {
30384 PyThreadState* __tstate = wxPyBeginAllowThreads();
30385 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
30386
30387 wxPyEndAllowThreads(__tstate);
30388 if (PyErr_Occurred()) SWIG_fail;
30389 }
30390 Py_INCREF(Py_None); resultobj = Py_None;
30391 return resultobj;
30392 fail:
30393 return NULL;
30394}
30395
30396
c370783e 30397static PyObject *_wrap_TreeCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30398 PyObject *resultobj;
30399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30400 wxTreeItemId *arg2 = 0 ;
30401 PyObject * obj0 = 0 ;
30402 PyObject * obj1 = 0 ;
30403 char *kwnames[] = {
30404 (char *) "self",(char *) "item", NULL
30405 };
30406
30407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30408 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30409 if (SWIG_arg_fail(1)) SWIG_fail;
30410 {
30411 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30412 if (SWIG_arg_fail(2)) SWIG_fail;
30413 if (arg2 == NULL) {
30414 SWIG_null_ref("wxTreeItemId");
30415 }
30416 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30417 }
30418 {
30419 PyThreadState* __tstate = wxPyBeginAllowThreads();
30420 (arg1)->Toggle((wxTreeItemId const &)*arg2);
30421
30422 wxPyEndAllowThreads(__tstate);
30423 if (PyErr_Occurred()) SWIG_fail;
30424 }
30425 Py_INCREF(Py_None); resultobj = Py_None;
30426 return resultobj;
30427 fail:
30428 return NULL;
30429}
30430
30431
c370783e 30432static PyObject *_wrap_TreeCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30433 PyObject *resultobj;
30434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30435 PyObject * obj0 = 0 ;
30436 char *kwnames[] = {
30437 (char *) "self", NULL
30438 };
30439
30440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
30441 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30442 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30443 {
30444 PyThreadState* __tstate = wxPyBeginAllowThreads();
30445 (arg1)->Unselect();
30446
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 Py_INCREF(Py_None); resultobj = Py_None;
30451 return resultobj;
30452 fail:
30453 return NULL;
30454}
30455
30456
c370783e 30457static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30458 PyObject *resultobj;
30459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30460 wxTreeItemId *arg2 = 0 ;
30461 PyObject * obj0 = 0 ;
30462 PyObject * obj1 = 0 ;
30463 char *kwnames[] = {
30464 (char *) "self",(char *) "item", NULL
30465 };
30466
30467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30469 if (SWIG_arg_fail(1)) SWIG_fail;
30470 {
30471 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30472 if (SWIG_arg_fail(2)) SWIG_fail;
30473 if (arg2 == NULL) {
30474 SWIG_null_ref("wxTreeItemId");
30475 }
30476 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30477 }
30478 {
30479 PyThreadState* __tstate = wxPyBeginAllowThreads();
30480 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
30481
30482 wxPyEndAllowThreads(__tstate);
30483 if (PyErr_Occurred()) SWIG_fail;
30484 }
30485 Py_INCREF(Py_None); resultobj = Py_None;
30486 return resultobj;
30487 fail:
30488 return NULL;
30489}
30490
30491
c370783e 30492static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30493 PyObject *resultobj;
30494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30495 PyObject * obj0 = 0 ;
30496 char *kwnames[] = {
30497 (char *) "self", NULL
30498 };
30499
30500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
30501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30502 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 (arg1)->UnselectAll();
30506
30507 wxPyEndAllowThreads(__tstate);
30508 if (PyErr_Occurred()) SWIG_fail;
30509 }
30510 Py_INCREF(Py_None); resultobj = Py_None;
30511 return resultobj;
30512 fail:
30513 return NULL;
30514}
30515
30516
c370783e 30517static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30518 PyObject *resultobj;
30519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30520 wxTreeItemId *arg2 = 0 ;
b411df4a 30521 bool arg3 = (bool) true ;
d55e5bfc
RD
30522 PyObject * obj0 = 0 ;
30523 PyObject * obj1 = 0 ;
30524 PyObject * obj2 = 0 ;
30525 char *kwnames[] = {
30526 (char *) "self",(char *) "item",(char *) "select", NULL
30527 };
30528
30529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30530 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30531 if (SWIG_arg_fail(1)) SWIG_fail;
30532 {
30533 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30534 if (SWIG_arg_fail(2)) SWIG_fail;
30535 if (arg2 == NULL) {
30536 SWIG_null_ref("wxTreeItemId");
30537 }
30538 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30539 }
30540 if (obj2) {
36ed4f51
RD
30541 {
30542 arg3 = (bool)(SWIG_As_bool(obj2));
30543 if (SWIG_arg_fail(3)) SWIG_fail;
30544 }
d55e5bfc
RD
30545 }
30546 {
30547 PyThreadState* __tstate = wxPyBeginAllowThreads();
30548 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
30549
30550 wxPyEndAllowThreads(__tstate);
30551 if (PyErr_Occurred()) SWIG_fail;
30552 }
30553 Py_INCREF(Py_None); resultobj = Py_None;
30554 return resultobj;
30555 fail:
30556 return NULL;
30557}
30558
30559
c370783e 30560static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30561 PyObject *resultobj;
30562 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30563 wxTreeItemId *arg2 = 0 ;
30564 PyObject * obj0 = 0 ;
30565 PyObject * obj1 = 0 ;
30566 char *kwnames[] = {
30567 (char *) "self",(char *) "item", NULL
30568 };
30569
30570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30572 if (SWIG_arg_fail(1)) SWIG_fail;
30573 {
30574 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30575 if (SWIG_arg_fail(2)) SWIG_fail;
30576 if (arg2 == NULL) {
30577 SWIG_null_ref("wxTreeItemId");
30578 }
30579 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30580 }
30581 {
30582 PyThreadState* __tstate = wxPyBeginAllowThreads();
30583 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
30584
30585 wxPyEndAllowThreads(__tstate);
30586 if (PyErr_Occurred()) SWIG_fail;
30587 }
30588 Py_INCREF(Py_None); resultobj = Py_None;
30589 return resultobj;
30590 fail:
30591 return NULL;
30592}
30593
30594
c370783e 30595static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30596 PyObject *resultobj;
30597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30598 wxTreeItemId *arg2 = 0 ;
30599 PyObject * obj0 = 0 ;
30600 PyObject * obj1 = 0 ;
30601 char *kwnames[] = {
30602 (char *) "self",(char *) "item", NULL
30603 };
30604
30605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30606 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30607 if (SWIG_arg_fail(1)) SWIG_fail;
30608 {
30609 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30610 if (SWIG_arg_fail(2)) SWIG_fail;
30611 if (arg2 == NULL) {
30612 SWIG_null_ref("wxTreeItemId");
30613 }
30614 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30615 }
30616 {
30617 PyThreadState* __tstate = wxPyBeginAllowThreads();
30618 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
30619
30620 wxPyEndAllowThreads(__tstate);
30621 if (PyErr_Occurred()) SWIG_fail;
30622 }
30623 Py_INCREF(Py_None); resultobj = Py_None;
30624 return resultobj;
30625 fail:
30626 return NULL;
30627}
30628
30629
c370783e 30630static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30631 PyObject *resultobj;
30632 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30633 wxTreeItemId *arg2 = 0 ;
30634 PyObject * obj0 = 0 ;
30635 PyObject * obj1 = 0 ;
30636 char *kwnames[] = {
30637 (char *) "self",(char *) "item", NULL
30638 };
30639
30640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30642 if (SWIG_arg_fail(1)) SWIG_fail;
30643 {
30644 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30645 if (SWIG_arg_fail(2)) SWIG_fail;
30646 if (arg2 == NULL) {
30647 SWIG_null_ref("wxTreeItemId");
30648 }
30649 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30650 }
30651 {
30652 PyThreadState* __tstate = wxPyBeginAllowThreads();
30653 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
30654
30655 wxPyEndAllowThreads(__tstate);
30656 if (PyErr_Occurred()) SWIG_fail;
30657 }
30658 Py_INCREF(Py_None); resultobj = Py_None;
30659 return resultobj;
30660 fail:
30661 return NULL;
30662}
30663
30664
c370783e 30665static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30666 PyObject *resultobj;
30667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30668 wxTreeItemId *arg2 = 0 ;
30669 PyObject * obj0 = 0 ;
30670 PyObject * obj1 = 0 ;
30671 char *kwnames[] = {
30672 (char *) "self",(char *) "item", NULL
30673 };
30674
30675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30677 if (SWIG_arg_fail(1)) SWIG_fail;
30678 {
30679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30680 if (SWIG_arg_fail(2)) SWIG_fail;
30681 if (arg2 == NULL) {
30682 SWIG_null_ref("wxTreeItemId");
30683 }
30684 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30685 }
30686 {
30687 PyThreadState* __tstate = wxPyBeginAllowThreads();
30688 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
30689
30690 wxPyEndAllowThreads(__tstate);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 }
30693 Py_INCREF(Py_None); resultobj = Py_None;
30694 return resultobj;
30695 fail:
30696 return NULL;
30697}
30698
30699
c370783e 30700static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30701 PyObject *resultobj;
30702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30703 wxTextCtrl *result;
30704 PyObject * obj0 = 0 ;
30705 char *kwnames[] = {
30706 (char *) "self", NULL
30707 };
30708
30709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
36ed4f51
RD
30710 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30711 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30712 {
30713 PyThreadState* __tstate = wxPyBeginAllowThreads();
30714 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
30715
30716 wxPyEndAllowThreads(__tstate);
30717 if (PyErr_Occurred()) SWIG_fail;
30718 }
30719 {
412d302d 30720 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
30721 }
30722 return resultobj;
30723 fail:
30724 return NULL;
30725}
30726
30727
c370783e 30728static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30729 PyObject *resultobj;
30730 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30731 wxTreeItemId *arg2 = 0 ;
30732 PyObject * obj0 = 0 ;
30733 PyObject * obj1 = 0 ;
30734 char *kwnames[] = {
30735 (char *) "self",(char *) "item", NULL
30736 };
30737
30738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30740 if (SWIG_arg_fail(1)) SWIG_fail;
30741 {
30742 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30743 if (SWIG_arg_fail(2)) SWIG_fail;
30744 if (arg2 == NULL) {
30745 SWIG_null_ref("wxTreeItemId");
30746 }
30747 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30748 }
30749 {
30750 PyThreadState* __tstate = wxPyBeginAllowThreads();
30751 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
30752
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
30756 Py_INCREF(Py_None); resultobj = Py_None;
30757 return resultobj;
30758 fail:
30759 return NULL;
30760}
30761
30762
c370783e 30763static PyObject *_wrap_TreeCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30764 PyObject *resultobj;
30765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30766 wxPoint *arg2 = 0 ;
30767 int *arg3 = 0 ;
30768 wxTreeItemId result;
30769 wxPoint temp2 ;
30770 int temp3 ;
c370783e 30771 int res3 = 0 ;
d55e5bfc
RD
30772 PyObject * obj0 = 0 ;
30773 PyObject * obj1 = 0 ;
30774 char *kwnames[] = {
30775 (char *) "self",(char *) "point", NULL
30776 };
30777
c370783e 30778 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 30779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
30780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30781 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
30782 {
30783 arg2 = &temp2;
30784 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30785 }
30786 {
30787 PyThreadState* __tstate = wxPyBeginAllowThreads();
30788 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30789
30790 wxPyEndAllowThreads(__tstate);
30791 if (PyErr_Occurred()) SWIG_fail;
30792 }
30793 {
30794 wxTreeItemId * resultptr;
36ed4f51 30795 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
30796 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
30797 }
c370783e
RD
30798 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
30799 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
30800 return resultobj;
30801 fail:
30802 return NULL;
30803}
30804
30805
c370783e 30806static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30807 PyObject *resultobj;
30808 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
30809 wxTreeItemId *arg2 = 0 ;
b411df4a 30810 bool arg3 = (bool) false ;
d55e5bfc
RD
30811 PyObject *result;
30812 PyObject * obj0 = 0 ;
30813 PyObject * obj1 = 0 ;
30814 PyObject * obj2 = 0 ;
30815 char *kwnames[] = {
30816 (char *) "self",(char *) "item",(char *) "textOnly", NULL
30817 };
30818
30819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
30820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
30821 if (SWIG_arg_fail(1)) SWIG_fail;
30822 {
30823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
30824 if (SWIG_arg_fail(2)) SWIG_fail;
30825 if (arg2 == NULL) {
30826 SWIG_null_ref("wxTreeItemId");
30827 }
30828 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
30829 }
30830 if (obj2) {
36ed4f51
RD
30831 {
30832 arg3 = (bool)(SWIG_As_bool(obj2));
30833 if (SWIG_arg_fail(3)) SWIG_fail;
30834 }
d55e5bfc
RD
30835 }
30836 {
30837 PyThreadState* __tstate = wxPyBeginAllowThreads();
30838 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
30839
30840 wxPyEndAllowThreads(__tstate);
30841 if (PyErr_Occurred()) SWIG_fail;
30842 }
30843 resultobj = result;
30844 return resultobj;
30845 fail:
30846 return NULL;
30847}
30848
30849
c370783e 30850static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc 30851 PyObject *resultobj;
36ed4f51 30852 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
d55e5bfc
RD
30853 wxVisualAttributes result;
30854 PyObject * obj0 = 0 ;
30855 char *kwnames[] = {
30856 (char *) "variant", NULL
30857 };
30858
30859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
30860 if (obj0) {
36ed4f51
RD
30861 {
30862 arg1 = (wxWindowVariant)(SWIG_As_int(obj0));
30863 if (SWIG_arg_fail(1)) SWIG_fail;
30864 }
d55e5bfc
RD
30865 }
30866 {
0439c23b 30867 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
30870
30871 wxPyEndAllowThreads(__tstate);
110da5b0 30872 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30873 }
30874 {
30875 wxVisualAttributes * resultptr;
36ed4f51 30876 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
d55e5bfc
RD
30877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30878 }
30879 return resultobj;
30880 fail:
30881 return NULL;
30882}
30883
30884
c370783e 30885static PyObject * TreeCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
30886 PyObject *obj;
30887 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30888 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
30889 Py_INCREF(obj);
30890 return Py_BuildValue((char *)"");
30891}
c370783e 30892static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
d55e5bfc
RD
30893 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
30894 return 1;
30895}
30896
30897
36ed4f51 30898static PyObject *_wrap_DirDialogDefaultFolderStr_get(void) {
d55e5bfc
RD
30899 PyObject *pyobj;
30900
30901 {
30902#if wxUSE_UNICODE
30903 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30904#else
30905 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
30906#endif
30907 }
30908 return pyobj;
30909}
30910
30911
c370783e 30912static PyObject *_wrap_new_GenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
30913 PyObject *resultobj;
30914 wxWindow *arg1 = (wxWindow *) 0 ;
30915 int arg2 = (int) (int)-1 ;
30916 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
30917 wxString *arg3 = (wxString *) &arg3_defvalue ;
30918 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30919 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30920 wxSize const &arg5_defvalue = wxDefaultSize ;
30921 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30922 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
30923 wxString const &arg7_defvalue = wxPyEmptyString ;
30924 wxString *arg7 = (wxString *) &arg7_defvalue ;
30925 int arg8 = (int) 0 ;
30926 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
30927 wxString *arg9 = (wxString *) &arg9_defvalue ;
30928 wxGenericDirCtrl *result;
b411df4a 30929 bool temp3 = false ;
d55e5bfc
RD
30930 wxPoint temp4 ;
30931 wxSize temp5 ;
b411df4a
RD
30932 bool temp7 = false ;
30933 bool temp9 = false ;
d55e5bfc
RD
30934 PyObject * obj0 = 0 ;
30935 PyObject * obj1 = 0 ;
30936 PyObject * obj2 = 0 ;
30937 PyObject * obj3 = 0 ;
30938 PyObject * obj4 = 0 ;
30939 PyObject * obj5 = 0 ;
30940 PyObject * obj6 = 0 ;
30941 PyObject * obj7 = 0 ;
30942 PyObject * obj8 = 0 ;
30943 char *kwnames[] = {
30944 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
30945 };
30946
30947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
36ed4f51
RD
30948 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
30949 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 30950 if (obj1) {
36ed4f51
RD
30951 {
30952 arg2 = (int const)(SWIG_As_int(obj1));
30953 if (SWIG_arg_fail(2)) SWIG_fail;
30954 }
d55e5bfc
RD
30955 }
30956 if (obj2) {
30957 {
30958 arg3 = wxString_in_helper(obj2);
30959 if (arg3 == NULL) SWIG_fail;
b411df4a 30960 temp3 = true;
d55e5bfc
RD
30961 }
30962 }
30963 if (obj3) {
30964 {
30965 arg4 = &temp4;
30966 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30967 }
30968 }
30969 if (obj4) {
30970 {
30971 arg5 = &temp5;
30972 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30973 }
30974 }
30975 if (obj5) {
36ed4f51
RD
30976 {
30977 arg6 = (long)(SWIG_As_long(obj5));
30978 if (SWIG_arg_fail(6)) SWIG_fail;
30979 }
d55e5bfc
RD
30980 }
30981 if (obj6) {
30982 {
30983 arg7 = wxString_in_helper(obj6);
30984 if (arg7 == NULL) SWIG_fail;
b411df4a 30985 temp7 = true;
d55e5bfc
RD
30986 }
30987 }
30988 if (obj7) {
36ed4f51
RD
30989 {
30990 arg8 = (int)(SWIG_As_int(obj7));
30991 if (SWIG_arg_fail(8)) SWIG_fail;
30992 }
d55e5bfc
RD
30993 }
30994 if (obj8) {
30995 {
30996 arg9 = wxString_in_helper(obj8);
30997 if (arg9 == NULL) SWIG_fail;
b411df4a 30998 temp9 = true;
d55e5bfc
RD
30999 }
31000 }
31001 {
0439c23b 31002 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31003 PyThreadState* __tstate = wxPyBeginAllowThreads();
31004 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
31005
31006 wxPyEndAllowThreads(__tstate);
110da5b0 31007 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31008 }
31009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31010 {
31011 if (temp3)
31012 delete arg3;
31013 }
31014 {
31015 if (temp7)
31016 delete arg7;
31017 }
31018 {
31019 if (temp9)
31020 delete arg9;
31021 }
31022 return resultobj;
31023 fail:
31024 {
31025 if (temp3)
31026 delete arg3;
31027 }
31028 {
31029 if (temp7)
31030 delete arg7;
31031 }
31032 {
31033 if (temp9)
31034 delete arg9;
31035 }
31036 return NULL;
31037}
31038
31039
c370783e 31040static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31041 PyObject *resultobj;
31042 wxGenericDirCtrl *result;
31043 char *kwnames[] = {
31044 NULL
31045 };
31046
31047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
31048 {
0439c23b 31049 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31050 PyThreadState* __tstate = wxPyBeginAllowThreads();
31051 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
31052
31053 wxPyEndAllowThreads(__tstate);
110da5b0 31054 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31055 }
31056 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
31057 return resultobj;
31058 fail:
31059 return NULL;
31060}
31061
31062
c370783e 31063static PyObject *_wrap_GenericDirCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31064 PyObject *resultobj;
31065 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31066 wxWindow *arg2 = (wxWindow *) 0 ;
31067 int arg3 = (int) (int)-1 ;
31068 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
31069 wxString *arg4 = (wxString *) &arg4_defvalue ;
31070 wxPoint const &arg5_defvalue = wxDefaultPosition ;
31071 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
31072 wxSize const &arg6_defvalue = wxDefaultSize ;
31073 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
31074 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
31075 wxString const &arg8_defvalue = wxPyEmptyString ;
31076 wxString *arg8 = (wxString *) &arg8_defvalue ;
31077 int arg9 = (int) 0 ;
31078 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
31079 wxString *arg10 = (wxString *) &arg10_defvalue ;
31080 bool result;
b411df4a 31081 bool temp4 = false ;
d55e5bfc
RD
31082 wxPoint temp5 ;
31083 wxSize temp6 ;
b411df4a
RD
31084 bool temp8 = false ;
31085 bool temp10 = false ;
d55e5bfc
RD
31086 PyObject * obj0 = 0 ;
31087 PyObject * obj1 = 0 ;
31088 PyObject * obj2 = 0 ;
31089 PyObject * obj3 = 0 ;
31090 PyObject * obj4 = 0 ;
31091 PyObject * obj5 = 0 ;
31092 PyObject * obj6 = 0 ;
31093 PyObject * obj7 = 0 ;
31094 PyObject * obj8 = 0 ;
31095 PyObject * obj9 = 0 ;
31096 char *kwnames[] = {
31097 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
31098 };
31099
31100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
36ed4f51
RD
31101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31102 if (SWIG_arg_fail(1)) SWIG_fail;
31103 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
31104 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31105 if (obj2) {
36ed4f51
RD
31106 {
31107 arg3 = (int const)(SWIG_As_int(obj2));
31108 if (SWIG_arg_fail(3)) SWIG_fail;
31109 }
d55e5bfc
RD
31110 }
31111 if (obj3) {
31112 {
31113 arg4 = wxString_in_helper(obj3);
31114 if (arg4 == NULL) SWIG_fail;
b411df4a 31115 temp4 = true;
d55e5bfc
RD
31116 }
31117 }
31118 if (obj4) {
31119 {
31120 arg5 = &temp5;
31121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
31122 }
31123 }
31124 if (obj5) {
31125 {
31126 arg6 = &temp6;
31127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
31128 }
31129 }
31130 if (obj6) {
36ed4f51
RD
31131 {
31132 arg7 = (long)(SWIG_As_long(obj6));
31133 if (SWIG_arg_fail(7)) SWIG_fail;
31134 }
d55e5bfc
RD
31135 }
31136 if (obj7) {
31137 {
31138 arg8 = wxString_in_helper(obj7);
31139 if (arg8 == NULL) SWIG_fail;
b411df4a 31140 temp8 = true;
d55e5bfc
RD
31141 }
31142 }
31143 if (obj8) {
36ed4f51
RD
31144 {
31145 arg9 = (int)(SWIG_As_int(obj8));
31146 if (SWIG_arg_fail(9)) SWIG_fail;
31147 }
d55e5bfc
RD
31148 }
31149 if (obj9) {
31150 {
31151 arg10 = wxString_in_helper(obj9);
31152 if (arg10 == NULL) SWIG_fail;
b411df4a 31153 temp10 = true;
d55e5bfc
RD
31154 }
31155 }
31156 {
31157 PyThreadState* __tstate = wxPyBeginAllowThreads();
31158 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
31159
31160 wxPyEndAllowThreads(__tstate);
31161 if (PyErr_Occurred()) SWIG_fail;
31162 }
31163 {
31164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31165 }
31166 {
31167 if (temp4)
31168 delete arg4;
31169 }
31170 {
31171 if (temp8)
31172 delete arg8;
31173 }
31174 {
31175 if (temp10)
31176 delete arg10;
31177 }
31178 return resultobj;
31179 fail:
31180 {
31181 if (temp4)
31182 delete arg4;
31183 }
31184 {
31185 if (temp8)
31186 delete arg8;
31187 }
31188 {
31189 if (temp10)
31190 delete arg10;
31191 }
31192 return NULL;
31193}
31194
31195
c370783e 31196static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31197 PyObject *resultobj;
31198 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31199 wxString *arg2 = 0 ;
31200 bool result;
b411df4a 31201 bool temp2 = false ;
d55e5bfc
RD
31202 PyObject * obj0 = 0 ;
31203 PyObject * obj1 = 0 ;
31204 char *kwnames[] = {
31205 (char *) "self",(char *) "path", NULL
31206 };
31207
31208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31210 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31211 {
31212 arg2 = wxString_in_helper(obj1);
31213 if (arg2 == NULL) SWIG_fail;
b411df4a 31214 temp2 = true;
d55e5bfc
RD
31215 }
31216 {
31217 PyThreadState* __tstate = wxPyBeginAllowThreads();
31218 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
31219
31220 wxPyEndAllowThreads(__tstate);
31221 if (PyErr_Occurred()) SWIG_fail;
31222 }
31223 {
31224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31225 }
31226 {
31227 if (temp2)
31228 delete arg2;
31229 }
31230 return resultobj;
31231 fail:
31232 {
31233 if (temp2)
31234 delete arg2;
31235 }
31236 return NULL;
31237}
31238
31239
c370783e 31240static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31241 PyObject *resultobj;
31242 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31243 wxString result;
31244 PyObject * obj0 = 0 ;
31245 char *kwnames[] = {
31246 (char *) "self", NULL
31247 };
31248
31249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31251 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31252 {
31253 PyThreadState* __tstate = wxPyBeginAllowThreads();
31254 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
31255
31256 wxPyEndAllowThreads(__tstate);
31257 if (PyErr_Occurred()) SWIG_fail;
31258 }
31259 {
31260#if wxUSE_UNICODE
31261 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31262#else
31263 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31264#endif
31265 }
31266 return resultobj;
31267 fail:
31268 return NULL;
31269}
31270
31271
c370783e 31272static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31273 PyObject *resultobj;
31274 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31275 wxString *arg2 = 0 ;
b411df4a 31276 bool temp2 = false ;
d55e5bfc
RD
31277 PyObject * obj0 = 0 ;
31278 PyObject * obj1 = 0 ;
31279 char *kwnames[] = {
31280 (char *) "self",(char *) "path", NULL
31281 };
31282
31283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31285 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31286 {
31287 arg2 = wxString_in_helper(obj1);
31288 if (arg2 == NULL) SWIG_fail;
b411df4a 31289 temp2 = true;
d55e5bfc
RD
31290 }
31291 {
31292 PyThreadState* __tstate = wxPyBeginAllowThreads();
31293 (arg1)->SetDefaultPath((wxString const &)*arg2);
31294
31295 wxPyEndAllowThreads(__tstate);
31296 if (PyErr_Occurred()) SWIG_fail;
31297 }
31298 Py_INCREF(Py_None); resultobj = Py_None;
31299 {
31300 if (temp2)
31301 delete arg2;
31302 }
31303 return resultobj;
31304 fail:
31305 {
31306 if (temp2)
31307 delete arg2;
31308 }
31309 return NULL;
31310}
31311
31312
c370783e 31313static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31314 PyObject *resultobj;
31315 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31316 wxString result;
31317 PyObject * obj0 = 0 ;
31318 char *kwnames[] = {
31319 (char *) "self", NULL
31320 };
31321
31322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31323 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31324 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31325 {
31326 PyThreadState* __tstate = wxPyBeginAllowThreads();
31327 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
31328
31329 wxPyEndAllowThreads(__tstate);
31330 if (PyErr_Occurred()) SWIG_fail;
31331 }
31332 {
31333#if wxUSE_UNICODE
31334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31335#else
31336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31337#endif
31338 }
31339 return resultobj;
31340 fail:
31341 return NULL;
31342}
31343
31344
c370783e 31345static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31346 PyObject *resultobj;
31347 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31348 wxString result;
31349 PyObject * obj0 = 0 ;
31350 char *kwnames[] = {
31351 (char *) "self", NULL
31352 };
31353
31354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
36ed4f51
RD
31355 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31356 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31357 {
31358 PyThreadState* __tstate = wxPyBeginAllowThreads();
31359 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
31360
31361 wxPyEndAllowThreads(__tstate);
31362 if (PyErr_Occurred()) SWIG_fail;
31363 }
31364 {
31365#if wxUSE_UNICODE
31366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31367#else
31368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31369#endif
31370 }
31371 return resultobj;
31372 fail:
31373 return NULL;
31374}
31375
31376
c370783e 31377static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31378 PyObject *resultobj;
31379 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31380 wxString *arg2 = 0 ;
b411df4a 31381 bool temp2 = false ;
d55e5bfc
RD
31382 PyObject * obj0 = 0 ;
31383 PyObject * obj1 = 0 ;
31384 char *kwnames[] = {
31385 (char *) "self",(char *) "path", NULL
31386 };
31387
31388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31389 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31390 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31391 {
31392 arg2 = wxString_in_helper(obj1);
31393 if (arg2 == NULL) SWIG_fail;
b411df4a 31394 temp2 = true;
d55e5bfc
RD
31395 }
31396 {
31397 PyThreadState* __tstate = wxPyBeginAllowThreads();
31398 (arg1)->SetPath((wxString const &)*arg2);
31399
31400 wxPyEndAllowThreads(__tstate);
31401 if (PyErr_Occurred()) SWIG_fail;
31402 }
31403 Py_INCREF(Py_None); resultobj = Py_None;
31404 {
31405 if (temp2)
31406 delete arg2;
31407 }
31408 return resultobj;
31409 fail:
31410 {
31411 if (temp2)
31412 delete arg2;
31413 }
31414 return NULL;
31415}
31416
31417
c370783e 31418static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31419 PyObject *resultobj;
31420 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31421 bool arg2 ;
31422 PyObject * obj0 = 0 ;
31423 PyObject * obj1 = 0 ;
31424 char *kwnames[] = {
31425 (char *) "self",(char *) "show", NULL
31426 };
31427
31428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31430 if (SWIG_arg_fail(1)) SWIG_fail;
31431 {
31432 arg2 = (bool)(SWIG_As_bool(obj1));
31433 if (SWIG_arg_fail(2)) SWIG_fail;
31434 }
d55e5bfc
RD
31435 {
31436 PyThreadState* __tstate = wxPyBeginAllowThreads();
31437 (arg1)->ShowHidden(arg2);
31438
31439 wxPyEndAllowThreads(__tstate);
31440 if (PyErr_Occurred()) SWIG_fail;
31441 }
31442 Py_INCREF(Py_None); resultobj = Py_None;
31443 return resultobj;
31444 fail:
31445 return NULL;
31446}
31447
31448
c370783e 31449static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31450 PyObject *resultobj;
31451 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31452 bool result;
31453 PyObject * obj0 = 0 ;
31454 char *kwnames[] = {
31455 (char *) "self", NULL
31456 };
31457
31458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
36ed4f51
RD
31459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31460 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31461 {
31462 PyThreadState* __tstate = wxPyBeginAllowThreads();
31463 result = (bool)(arg1)->GetShowHidden();
31464
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 {
31469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31470 }
31471 return resultobj;
31472 fail:
31473 return NULL;
31474}
31475
31476
c370783e 31477static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31478 PyObject *resultobj;
31479 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31480 wxString result;
31481 PyObject * obj0 = 0 ;
31482 char *kwnames[] = {
31483 (char *) "self", NULL
31484 };
31485
31486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
36ed4f51
RD
31487 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31488 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31489 {
31490 PyThreadState* __tstate = wxPyBeginAllowThreads();
31491 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
31492
31493 wxPyEndAllowThreads(__tstate);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 }
31496 {
31497#if wxUSE_UNICODE
31498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31499#else
31500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31501#endif
31502 }
31503 return resultobj;
31504 fail:
31505 return NULL;
31506}
31507
31508
c370783e 31509static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31510 PyObject *resultobj;
31511 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31512 wxString *arg2 = 0 ;
b411df4a 31513 bool temp2 = false ;
d55e5bfc
RD
31514 PyObject * obj0 = 0 ;
31515 PyObject * obj1 = 0 ;
31516 char *kwnames[] = {
31517 (char *) "self",(char *) "filter", NULL
31518 };
31519
31520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31521 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31522 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31523 {
31524 arg2 = wxString_in_helper(obj1);
31525 if (arg2 == NULL) SWIG_fail;
b411df4a 31526 temp2 = true;
d55e5bfc
RD
31527 }
31528 {
31529 PyThreadState* __tstate = wxPyBeginAllowThreads();
31530 (arg1)->SetFilter((wxString const &)*arg2);
31531
31532 wxPyEndAllowThreads(__tstate);
31533 if (PyErr_Occurred()) SWIG_fail;
31534 }
31535 Py_INCREF(Py_None); resultobj = Py_None;
31536 {
31537 if (temp2)
31538 delete arg2;
31539 }
31540 return resultobj;
31541 fail:
31542 {
31543 if (temp2)
31544 delete arg2;
31545 }
31546 return NULL;
31547}
31548
31549
c370783e 31550static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31551 PyObject *resultobj;
31552 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31553 int result;
31554 PyObject * obj0 = 0 ;
31555 char *kwnames[] = {
31556 (char *) "self", NULL
31557 };
31558
31559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
36ed4f51
RD
31560 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31561 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31562 {
31563 PyThreadState* __tstate = wxPyBeginAllowThreads();
31564 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
31565
31566 wxPyEndAllowThreads(__tstate);
31567 if (PyErr_Occurred()) SWIG_fail;
31568 }
36ed4f51
RD
31569 {
31570 resultobj = SWIG_From_int((int)(result));
31571 }
d55e5bfc
RD
31572 return resultobj;
31573 fail:
31574 return NULL;
31575}
31576
31577
c370783e 31578static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31579 PyObject *resultobj;
31580 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31581 int arg2 ;
31582 PyObject * obj0 = 0 ;
31583 PyObject * obj1 = 0 ;
31584 char *kwnames[] = {
31585 (char *) "self",(char *) "n", NULL
31586 };
31587
31588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
31589 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31590 if (SWIG_arg_fail(1)) SWIG_fail;
31591 {
31592 arg2 = (int)(SWIG_As_int(obj1));
31593 if (SWIG_arg_fail(2)) SWIG_fail;
31594 }
d55e5bfc
RD
31595 {
31596 PyThreadState* __tstate = wxPyBeginAllowThreads();
31597 (arg1)->SetFilterIndex(arg2);
31598
31599 wxPyEndAllowThreads(__tstate);
31600 if (PyErr_Occurred()) SWIG_fail;
31601 }
31602 Py_INCREF(Py_None); resultobj = Py_None;
31603 return resultobj;
31604 fail:
31605 return NULL;
31606}
31607
31608
c370783e 31609static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31610 PyObject *resultobj;
31611 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31612 wxTreeItemId result;
31613 PyObject * obj0 = 0 ;
31614 char *kwnames[] = {
31615 (char *) "self", NULL
31616 };
31617
31618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
36ed4f51
RD
31619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31620 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31621 {
31622 PyThreadState* __tstate = wxPyBeginAllowThreads();
31623 result = (arg1)->GetRootId();
31624
31625 wxPyEndAllowThreads(__tstate);
31626 if (PyErr_Occurred()) SWIG_fail;
31627 }
31628 {
31629 wxTreeItemId * resultptr;
36ed4f51 31630 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31632 }
31633 return resultobj;
31634 fail:
31635 return NULL;
31636}
31637
31638
c370783e 31639static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31640 PyObject *resultobj;
31641 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31642 wxPyTreeCtrl *result;
31643 PyObject * obj0 = 0 ;
31644 char *kwnames[] = {
31645 (char *) "self", NULL
31646 };
31647
31648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31651 {
31652 PyThreadState* __tstate = wxPyBeginAllowThreads();
31653 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
31654
31655 wxPyEndAllowThreads(__tstate);
31656 if (PyErr_Occurred()) SWIG_fail;
31657 }
31658 {
412d302d 31659 resultobj = wxPyMake_wxObject(result, 0);
d55e5bfc
RD
31660 }
31661 return resultobj;
31662 fail:
31663 return NULL;
31664}
31665
31666
c370783e 31667static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31668 PyObject *resultobj;
31669 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31670 wxDirFilterListCtrl *result;
31671 PyObject * obj0 = 0 ;
31672 char *kwnames[] = {
31673 (char *) "self", NULL
31674 };
31675
31676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
31677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31679 {
31680 PyThreadState* __tstate = wxPyBeginAllowThreads();
31681 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
31682
31683 wxPyEndAllowThreads(__tstate);
31684 if (PyErr_Occurred()) SWIG_fail;
31685 }
31686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
31687 return resultobj;
31688 fail:
31689 return NULL;
31690}
31691
31692
c370783e 31693static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31694 PyObject *resultobj;
31695 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31696 wxTreeItemId arg2 ;
31697 wxString *arg3 = 0 ;
31698 bool *arg4 = 0 ;
31699 wxTreeItemId result;
b411df4a 31700 bool temp3 = false ;
d55e5bfc 31701 bool temp4 ;
c370783e 31702 int res4 = 0 ;
d55e5bfc
RD
31703 PyObject * obj0 = 0 ;
31704 PyObject * obj1 = 0 ;
31705 PyObject * obj2 = 0 ;
31706 char *kwnames[] = {
31707 (char *) "self",(char *) "parentId",(char *) "path", NULL
31708 };
31709
c370783e 31710 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d55e5bfc 31711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31713 if (SWIG_arg_fail(1)) SWIG_fail;
31714 {
31715 wxTreeItemId * argp;
31716 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION);
31717 if (SWIG_arg_fail(2)) SWIG_fail;
31718 if (argp == NULL) {
31719 SWIG_null_ref("wxTreeItemId");
31720 }
31721 if (SWIG_arg_fail(2)) SWIG_fail;
31722 arg2 = *argp;
31723 }
d55e5bfc
RD
31724 {
31725 arg3 = wxString_in_helper(obj2);
31726 if (arg3 == NULL) SWIG_fail;
b411df4a 31727 temp3 = true;
d55e5bfc
RD
31728 }
31729 {
31730 PyThreadState* __tstate = wxPyBeginAllowThreads();
31731 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
31732
31733 wxPyEndAllowThreads(__tstate);
31734 if (PyErr_Occurred()) SWIG_fail;
31735 }
31736 {
31737 wxTreeItemId * resultptr;
36ed4f51 31738 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
d55e5bfc
RD
31739 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
31740 }
c370783e
RD
31741 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
31742 SWIG_From_bool((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, 0)));
d55e5bfc
RD
31743 {
31744 if (temp3)
31745 delete arg3;
31746 }
31747 return resultobj;
31748 fail:
31749 {
31750 if (temp3)
31751 delete arg3;
31752 }
31753 return NULL;
31754}
31755
31756
c370783e 31757static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31758 PyObject *resultobj;
31759 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31760 PyObject * obj0 = 0 ;
31761 char *kwnames[] = {
31762 (char *) "self", NULL
31763 };
31764
31765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
36ed4f51
RD
31766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31767 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31768 {
31769 PyThreadState* __tstate = wxPyBeginAllowThreads();
31770 (arg1)->DoResize();
31771
31772 wxPyEndAllowThreads(__tstate);
31773 if (PyErr_Occurred()) SWIG_fail;
31774 }
31775 Py_INCREF(Py_None); resultobj = Py_None;
31776 return resultobj;
31777 fail:
31778 return NULL;
31779}
31780
31781
c370783e 31782static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31783 PyObject *resultobj;
31784 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31785 PyObject * obj0 = 0 ;
31786 char *kwnames[] = {
31787 (char *) "self", NULL
31788 };
31789
31790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
36ed4f51
RD
31791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31792 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31793 {
31794 PyThreadState* __tstate = wxPyBeginAllowThreads();
31795 (arg1)->ReCreateTree();
31796
31797 wxPyEndAllowThreads(__tstate);
31798 if (PyErr_Occurred()) SWIG_fail;
31799 }
31800 Py_INCREF(Py_None); resultobj = Py_None;
31801 return resultobj;
31802 fail:
31803 return NULL;
31804}
31805
31806
c370783e 31807static PyObject * GenericDirCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
31808 PyObject *obj;
31809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31810 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
31811 Py_INCREF(obj);
31812 return Py_BuildValue((char *)"");
31813}
c370783e 31814static PyObject *_wrap_new_DirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31815 PyObject *resultobj;
31816 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
31817 int arg2 = (int) (int)-1 ;
31818 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31819 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31820 wxSize const &arg4_defvalue = wxDefaultSize ;
31821 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31822 long arg5 = (long) 0 ;
31823 wxDirFilterListCtrl *result;
31824 wxPoint temp3 ;
31825 wxSize temp4 ;
31826 PyObject * obj0 = 0 ;
31827 PyObject * obj1 = 0 ;
31828 PyObject * obj2 = 0 ;
31829 PyObject * obj3 = 0 ;
31830 PyObject * obj4 = 0 ;
31831 char *kwnames[] = {
31832 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31833 };
31834
31835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
31836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31837 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 31838 if (obj1) {
36ed4f51
RD
31839 {
31840 arg2 = (int const)(SWIG_As_int(obj1));
31841 if (SWIG_arg_fail(2)) SWIG_fail;
31842 }
d55e5bfc
RD
31843 }
31844 if (obj2) {
31845 {
31846 arg3 = &temp3;
31847 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31848 }
31849 }
31850 if (obj3) {
31851 {
31852 arg4 = &temp4;
31853 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31854 }
31855 }
31856 if (obj4) {
36ed4f51
RD
31857 {
31858 arg5 = (long)(SWIG_As_long(obj4));
31859 if (SWIG_arg_fail(5)) SWIG_fail;
31860 }
d55e5bfc
RD
31861 }
31862 {
0439c23b 31863 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
31866
31867 wxPyEndAllowThreads(__tstate);
110da5b0 31868 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31869 }
31870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31871 return resultobj;
31872 fail:
31873 return NULL;
31874}
31875
31876
c370783e 31877static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31878 PyObject *resultobj;
31879 wxDirFilterListCtrl *result;
31880 char *kwnames[] = {
31881 NULL
31882 };
31883
31884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
31885 {
0439c23b 31886 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31887 PyThreadState* __tstate = wxPyBeginAllowThreads();
31888 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
31889
31890 wxPyEndAllowThreads(__tstate);
110da5b0 31891 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31892 }
31893 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
31894 return resultobj;
31895 fail:
31896 return NULL;
31897}
31898
31899
c370783e 31900static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31901 PyObject *resultobj;
31902 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31903 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
31904 int arg3 = (int) (int)-1 ;
31905 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31906 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31907 wxSize const &arg5_defvalue = wxDefaultSize ;
31908 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31909 long arg6 = (long) 0 ;
31910 bool result;
31911 wxPoint temp4 ;
31912 wxSize temp5 ;
31913 PyObject * obj0 = 0 ;
31914 PyObject * obj1 = 0 ;
31915 PyObject * obj2 = 0 ;
31916 PyObject * obj3 = 0 ;
31917 PyObject * obj4 = 0 ;
31918 PyObject * obj5 = 0 ;
31919 char *kwnames[] = {
31920 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
31921 };
31922
31923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
31924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31925 if (SWIG_arg_fail(1)) SWIG_fail;
31926 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_EXCEPTION | 0);
31927 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 31928 if (obj2) {
36ed4f51
RD
31929 {
31930 arg3 = (int const)(SWIG_As_int(obj2));
31931 if (SWIG_arg_fail(3)) SWIG_fail;
31932 }
d55e5bfc
RD
31933 }
31934 if (obj3) {
31935 {
31936 arg4 = &temp4;
31937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31938 }
31939 }
31940 if (obj4) {
31941 {
31942 arg5 = &temp5;
31943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31944 }
31945 }
31946 if (obj5) {
36ed4f51
RD
31947 {
31948 arg6 = (long)(SWIG_As_long(obj5));
31949 if (SWIG_arg_fail(6)) SWIG_fail;
31950 }
d55e5bfc
RD
31951 }
31952 {
31953 PyThreadState* __tstate = wxPyBeginAllowThreads();
31954 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
31955
31956 wxPyEndAllowThreads(__tstate);
31957 if (PyErr_Occurred()) SWIG_fail;
31958 }
31959 {
31960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31961 }
31962 return resultobj;
31963 fail:
31964 return NULL;
31965}
31966
31967
c370783e 31968static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
31969 PyObject *resultobj;
31970 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
31971 wxString *arg2 = 0 ;
31972 int arg3 ;
b411df4a 31973 bool temp2 = false ;
d55e5bfc
RD
31974 PyObject * obj0 = 0 ;
31975 PyObject * obj1 = 0 ;
31976 PyObject * obj2 = 0 ;
31977 char *kwnames[] = {
31978 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
31979 };
31980
31981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
31982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_EXCEPTION | 0);
31983 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
31984 {
31985 arg2 = wxString_in_helper(obj1);
31986 if (arg2 == NULL) SWIG_fail;
b411df4a 31987 temp2 = true;
d55e5bfc 31988 }
36ed4f51
RD
31989 {
31990 arg3 = (int)(SWIG_As_int(obj2));
31991 if (SWIG_arg_fail(3)) SWIG_fail;
31992 }
d55e5bfc
RD
31993 {
31994 PyThreadState* __tstate = wxPyBeginAllowThreads();
31995 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
31996
31997 wxPyEndAllowThreads(__tstate);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 }
32000 Py_INCREF(Py_None); resultobj = Py_None;
32001 {
32002 if (temp2)
32003 delete arg2;
32004 }
32005 return resultobj;
32006 fail:
32007 {
32008 if (temp2)
32009 delete arg2;
32010 }
32011 return NULL;
32012}
32013
32014
c370783e 32015static PyObject * DirFilterListCtrl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32016 PyObject *obj;
32017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32018 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
32019 Py_INCREF(obj);
32020 return Py_BuildValue((char *)"");
32021}
c370783e 32022static PyObject *_wrap_new_PyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32023 PyObject *resultobj;
32024 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 32025 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
32026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32028 wxSize const &arg4_defvalue = wxDefaultSize ;
32029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32030 long arg5 = (long) 0 ;
32031 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32032 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32033 wxString const &arg7_defvalue = wxPyControlNameStr ;
32034 wxString *arg7 = (wxString *) &arg7_defvalue ;
32035 wxPyControl *result;
32036 wxPoint temp3 ;
32037 wxSize temp4 ;
b411df4a 32038 bool temp7 = false ;
d55e5bfc
RD
32039 PyObject * obj0 = 0 ;
32040 PyObject * obj1 = 0 ;
32041 PyObject * obj2 = 0 ;
32042 PyObject * obj3 = 0 ;
32043 PyObject * obj4 = 0 ;
32044 PyObject * obj5 = 0 ;
32045 PyObject * obj6 = 0 ;
32046 char *kwnames[] = {
32047 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32048 };
32049
bfddbb17 32050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
32051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32052 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 32053 if (obj1) {
36ed4f51
RD
32054 {
32055 arg2 = (int const)(SWIG_As_int(obj1));
32056 if (SWIG_arg_fail(2)) SWIG_fail;
32057 }
bfddbb17 32058 }
d55e5bfc
RD
32059 if (obj2) {
32060 {
32061 arg3 = &temp3;
32062 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32063 }
32064 }
32065 if (obj3) {
32066 {
32067 arg4 = &temp4;
32068 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32069 }
32070 }
32071 if (obj4) {
36ed4f51
RD
32072 {
32073 arg5 = (long)(SWIG_As_long(obj4));
32074 if (SWIG_arg_fail(5)) SWIG_fail;
32075 }
d55e5bfc
RD
32076 }
32077 if (obj5) {
36ed4f51
RD
32078 {
32079 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
32080 if (SWIG_arg_fail(6)) SWIG_fail;
32081 if (arg6 == NULL) {
32082 SWIG_null_ref("wxValidator");
32083 }
32084 if (SWIG_arg_fail(6)) SWIG_fail;
d55e5bfc
RD
32085 }
32086 }
32087 if (obj6) {
32088 {
32089 arg7 = wxString_in_helper(obj6);
32090 if (arg7 == NULL) SWIG_fail;
b411df4a 32091 temp7 = true;
d55e5bfc
RD
32092 }
32093 }
32094 {
0439c23b 32095 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32096 PyThreadState* __tstate = wxPyBeginAllowThreads();
32097 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32098
32099 wxPyEndAllowThreads(__tstate);
110da5b0 32100 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32101 }
32102 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32103 {
32104 if (temp7)
32105 delete arg7;
32106 }
32107 return resultobj;
32108 fail:
32109 {
32110 if (temp7)
32111 delete arg7;
32112 }
32113 return NULL;
32114}
32115
32116
c370783e 32117static PyObject *_wrap_new_PrePyControl(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32118 PyObject *resultobj;
32119 wxPyControl *result;
32120 char *kwnames[] = {
32121 NULL
32122 };
32123
32124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
32125 {
0439c23b 32126 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
32127 PyThreadState* __tstate = wxPyBeginAllowThreads();
32128 result = (wxPyControl *)new wxPyControl();
32129
32130 wxPyEndAllowThreads(__tstate);
110da5b0 32131 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
32132 }
32133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
32134 return resultobj;
32135 fail:
32136 return NULL;
32137}
32138
32139
c370783e 32140static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32141 PyObject *resultobj;
32142 wxPyControl *arg1 = (wxPyControl *) 0 ;
32143 PyObject *arg2 = (PyObject *) 0 ;
32144 PyObject *arg3 = (PyObject *) 0 ;
32145 PyObject * obj0 = 0 ;
32146 PyObject * obj1 = 0 ;
32147 PyObject * obj2 = 0 ;
32148 char *kwnames[] = {
32149 (char *) "self",(char *) "self",(char *) "_class", NULL
32150 };
32151
32152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32154 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32155 arg2 = obj1;
32156 arg3 = obj2;
32157 {
32158 PyThreadState* __tstate = wxPyBeginAllowThreads();
32159 (arg1)->_setCallbackInfo(arg2,arg3);
32160
32161 wxPyEndAllowThreads(__tstate);
32162 if (PyErr_Occurred()) SWIG_fail;
32163 }
32164 Py_INCREF(Py_None); resultobj = Py_None;
32165 return resultobj;
32166 fail:
32167 return NULL;
32168}
32169
32170
c370783e 32171static PyObject *_wrap_PyControl_SetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32172 PyObject *resultobj;
32173 wxPyControl *arg1 = (wxPyControl *) 0 ;
32174 wxSize *arg2 = 0 ;
32175 wxSize temp2 ;
32176 PyObject * obj0 = 0 ;
32177 PyObject * obj1 = 0 ;
32178 char *kwnames[] = {
32179 (char *) "self",(char *) "size", NULL
32180 };
32181
32182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32183 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32184 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32185 {
32186 arg2 = &temp2;
32187 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
32188 }
32189 {
32190 PyThreadState* __tstate = wxPyBeginAllowThreads();
32191 (arg1)->SetBestSize((wxSize const &)*arg2);
32192
32193 wxPyEndAllowThreads(__tstate);
32194 if (PyErr_Occurred()) SWIG_fail;
32195 }
32196 Py_INCREF(Py_None); resultobj = Py_None;
32197 return resultobj;
32198 fail:
32199 return NULL;
32200}
32201
32202
976dbff5
RD
32203static PyObject *_wrap_PyControl_DoEraseBackground(PyObject *, PyObject *args, PyObject *kwargs) {
32204 PyObject *resultobj;
32205 wxPyControl *arg1 = (wxPyControl *) 0 ;
32206 wxDC *arg2 = (wxDC *) 0 ;
32207 bool result;
32208 PyObject * obj0 = 0 ;
32209 PyObject * obj1 = 0 ;
32210 char *kwnames[] = {
32211 (char *) "self",(char *) "dc", NULL
32212 };
32213
32214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) goto fail;
32215 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32216 if (SWIG_arg_fail(1)) SWIG_fail;
32217 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
32218 if (SWIG_arg_fail(2)) SWIG_fail;
32219 {
32220 PyThreadState* __tstate = wxPyBeginAllowThreads();
32221 result = (bool)(arg1)->DoEraseBackground(arg2);
32222
32223 wxPyEndAllowThreads(__tstate);
32224 if (PyErr_Occurred()) SWIG_fail;
32225 }
32226 {
32227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32228 }
32229 return resultobj;
32230 fail:
32231 return NULL;
32232}
32233
32234
c370783e 32235static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32236 PyObject *resultobj;
32237 wxPyControl *arg1 = (wxPyControl *) 0 ;
32238 int arg2 ;
32239 int arg3 ;
32240 int arg4 ;
32241 int arg5 ;
32242 PyObject * obj0 = 0 ;
32243 PyObject * obj1 = 0 ;
32244 PyObject * obj2 = 0 ;
32245 PyObject * obj3 = 0 ;
32246 PyObject * obj4 = 0 ;
32247 char *kwnames[] = {
32248 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32249 };
32250
32251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
32252 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32253 if (SWIG_arg_fail(1)) SWIG_fail;
32254 {
32255 arg2 = (int)(SWIG_As_int(obj1));
32256 if (SWIG_arg_fail(2)) SWIG_fail;
32257 }
32258 {
32259 arg3 = (int)(SWIG_As_int(obj2));
32260 if (SWIG_arg_fail(3)) SWIG_fail;
32261 }
32262 {
32263 arg4 = (int)(SWIG_As_int(obj3));
32264 if (SWIG_arg_fail(4)) SWIG_fail;
32265 }
32266 {
32267 arg5 = (int)(SWIG_As_int(obj4));
32268 if (SWIG_arg_fail(5)) SWIG_fail;
32269 }
d55e5bfc
RD
32270 {
32271 PyThreadState* __tstate = wxPyBeginAllowThreads();
32272 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
32273
32274 wxPyEndAllowThreads(__tstate);
32275 if (PyErr_Occurred()) SWIG_fail;
32276 }
32277 Py_INCREF(Py_None); resultobj = Py_None;
32278 return resultobj;
32279 fail:
32280 return NULL;
32281}
32282
32283
c370783e 32284static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32285 PyObject *resultobj;
32286 wxPyControl *arg1 = (wxPyControl *) 0 ;
32287 int arg2 ;
32288 int arg3 ;
32289 int arg4 ;
32290 int arg5 ;
32291 int arg6 = (int) wxSIZE_AUTO ;
32292 PyObject * obj0 = 0 ;
32293 PyObject * obj1 = 0 ;
32294 PyObject * obj2 = 0 ;
32295 PyObject * obj3 = 0 ;
32296 PyObject * obj4 = 0 ;
32297 PyObject * obj5 = 0 ;
32298 char *kwnames[] = {
32299 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
32300 };
32301
32302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
32303 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32304 if (SWIG_arg_fail(1)) SWIG_fail;
32305 {
32306 arg2 = (int)(SWIG_As_int(obj1));
32307 if (SWIG_arg_fail(2)) SWIG_fail;
32308 }
32309 {
32310 arg3 = (int)(SWIG_As_int(obj2));
32311 if (SWIG_arg_fail(3)) SWIG_fail;
32312 }
32313 {
32314 arg4 = (int)(SWIG_As_int(obj3));
32315 if (SWIG_arg_fail(4)) SWIG_fail;
32316 }
32317 {
32318 arg5 = (int)(SWIG_As_int(obj4));
32319 if (SWIG_arg_fail(5)) SWIG_fail;
32320 }
d55e5bfc 32321 if (obj5) {
36ed4f51
RD
32322 {
32323 arg6 = (int)(SWIG_As_int(obj5));
32324 if (SWIG_arg_fail(6)) SWIG_fail;
32325 }
d55e5bfc
RD
32326 }
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
32330
32331 wxPyEndAllowThreads(__tstate);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 }
32334 Py_INCREF(Py_None); resultobj = Py_None;
32335 return resultobj;
32336 fail:
32337 return NULL;
32338}
32339
32340
c370783e 32341static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32342 PyObject *resultobj;
32343 wxPyControl *arg1 = (wxPyControl *) 0 ;
32344 int arg2 ;
32345 int arg3 ;
32346 PyObject * obj0 = 0 ;
32347 PyObject * obj1 = 0 ;
32348 PyObject * obj2 = 0 ;
32349 char *kwnames[] = {
32350 (char *) "self",(char *) "width",(char *) "height", NULL
32351 };
32352
32353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32354 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32355 if (SWIG_arg_fail(1)) SWIG_fail;
32356 {
32357 arg2 = (int)(SWIG_As_int(obj1));
32358 if (SWIG_arg_fail(2)) SWIG_fail;
32359 }
32360 {
32361 arg3 = (int)(SWIG_As_int(obj2));
32362 if (SWIG_arg_fail(3)) SWIG_fail;
32363 }
d55e5bfc
RD
32364 {
32365 PyThreadState* __tstate = wxPyBeginAllowThreads();
32366 (arg1)->base_DoSetClientSize(arg2,arg3);
32367
32368 wxPyEndAllowThreads(__tstate);
32369 if (PyErr_Occurred()) SWIG_fail;
32370 }
32371 Py_INCREF(Py_None); resultobj = Py_None;
32372 return resultobj;
32373 fail:
32374 return NULL;
32375}
32376
32377
c370783e 32378static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32379 PyObject *resultobj;
32380 wxPyControl *arg1 = (wxPyControl *) 0 ;
32381 int arg2 ;
32382 int arg3 ;
32383 PyObject * obj0 = 0 ;
32384 PyObject * obj1 = 0 ;
32385 PyObject * obj2 = 0 ;
32386 char *kwnames[] = {
32387 (char *) "self",(char *) "x",(char *) "y", NULL
32388 };
32389
32390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
32391 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32392 if (SWIG_arg_fail(1)) SWIG_fail;
32393 {
32394 arg2 = (int)(SWIG_As_int(obj1));
32395 if (SWIG_arg_fail(2)) SWIG_fail;
32396 }
32397 {
32398 arg3 = (int)(SWIG_As_int(obj2));
32399 if (SWIG_arg_fail(3)) SWIG_fail;
32400 }
d55e5bfc
RD
32401 {
32402 PyThreadState* __tstate = wxPyBeginAllowThreads();
32403 (arg1)->base_DoSetVirtualSize(arg2,arg3);
32404
32405 wxPyEndAllowThreads(__tstate);
32406 if (PyErr_Occurred()) SWIG_fail;
32407 }
32408 Py_INCREF(Py_None); resultobj = Py_None;
32409 return resultobj;
32410 fail:
32411 return NULL;
32412}
32413
32414
c370783e 32415static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32416 PyObject *resultobj;
32417 wxPyControl *arg1 = (wxPyControl *) 0 ;
32418 int *arg2 = (int *) 0 ;
32419 int *arg3 = (int *) 0 ;
32420 int temp2 ;
c370783e 32421 int res2 = 0 ;
d55e5bfc 32422 int temp3 ;
c370783e 32423 int res3 = 0 ;
d55e5bfc
RD
32424 PyObject * obj0 = 0 ;
32425 char *kwnames[] = {
32426 (char *) "self", NULL
32427 };
32428
c370783e
RD
32429 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32430 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32432 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32433 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32434 {
32435 PyThreadState* __tstate = wxPyBeginAllowThreads();
32436 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
32437
32438 wxPyEndAllowThreads(__tstate);
32439 if (PyErr_Occurred()) SWIG_fail;
32440 }
32441 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32442 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32443 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32444 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32445 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32446 return resultobj;
32447 fail:
32448 return NULL;
32449}
32450
32451
c370783e 32452static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32453 PyObject *resultobj;
32454 wxPyControl *arg1 = (wxPyControl *) 0 ;
32455 int *arg2 = (int *) 0 ;
32456 int *arg3 = (int *) 0 ;
32457 int temp2 ;
c370783e 32458 int res2 = 0 ;
d55e5bfc 32459 int temp3 ;
c370783e 32460 int res3 = 0 ;
d55e5bfc
RD
32461 PyObject * obj0 = 0 ;
32462 char *kwnames[] = {
32463 (char *) "self", NULL
32464 };
32465
c370783e
RD
32466 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32467 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32470 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32471 {
32472 PyThreadState* __tstate = wxPyBeginAllowThreads();
32473 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
32474
32475 wxPyEndAllowThreads(__tstate);
32476 if (PyErr_Occurred()) SWIG_fail;
32477 }
32478 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32479 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32480 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32481 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32482 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32483 return resultobj;
32484 fail:
32485 return NULL;
32486}
32487
32488
c370783e 32489static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32490 PyObject *resultobj;
32491 wxPyControl *arg1 = (wxPyControl *) 0 ;
32492 int *arg2 = (int *) 0 ;
32493 int *arg3 = (int *) 0 ;
32494 int temp2 ;
c370783e 32495 int res2 = 0 ;
d55e5bfc 32496 int temp3 ;
c370783e 32497 int res3 = 0 ;
d55e5bfc
RD
32498 PyObject * obj0 = 0 ;
32499 char *kwnames[] = {
32500 (char *) "self", NULL
32501 };
32502
c370783e
RD
32503 arg2 = &temp2; res2 = SWIG_NEWOBJ;
32504 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d55e5bfc 32505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32507 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32508 {
32509 PyThreadState* __tstate = wxPyBeginAllowThreads();
32510 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
32511
32512 wxPyEndAllowThreads(__tstate);
32513 if (PyErr_Occurred()) SWIG_fail;
32514 }
32515 Py_INCREF(Py_None); resultobj = Py_None;
c370783e
RD
32516 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
32517 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
32518 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
32519 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d55e5bfc
RD
32520 return resultobj;
32521 fail:
32522 return NULL;
32523}
32524
32525
c370783e 32526static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32527 PyObject *resultobj;
32528 wxPyControl *arg1 = (wxPyControl *) 0 ;
32529 wxSize result;
32530 PyObject * obj0 = 0 ;
32531 char *kwnames[] = {
32532 (char *) "self", NULL
32533 };
32534
32535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32537 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32538 {
32539 PyThreadState* __tstate = wxPyBeginAllowThreads();
32540 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
32541
32542 wxPyEndAllowThreads(__tstate);
32543 if (PyErr_Occurred()) SWIG_fail;
32544 }
32545 {
32546 wxSize * resultptr;
36ed4f51 32547 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32549 }
32550 return resultobj;
32551 fail:
32552 return NULL;
32553}
32554
32555
c370783e 32556static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32557 PyObject *resultobj;
32558 wxPyControl *arg1 = (wxPyControl *) 0 ;
32559 wxSize result;
32560 PyObject * obj0 = 0 ;
32561 char *kwnames[] = {
32562 (char *) "self", NULL
32563 };
32564
32565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32567 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32568 {
32569 PyThreadState* __tstate = wxPyBeginAllowThreads();
32570 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
32571
32572 wxPyEndAllowThreads(__tstate);
32573 if (PyErr_Occurred()) SWIG_fail;
32574 }
32575 {
32576 wxSize * resultptr;
36ed4f51 32577 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32579 }
32580 return resultobj;
32581 fail:
32582 return NULL;
32583}
32584
32585
c370783e 32586static PyObject *_wrap_PyControl_base_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32587 PyObject *resultobj;
32588 wxPyControl *arg1 = (wxPyControl *) 0 ;
32589 PyObject * obj0 = 0 ;
32590 char *kwnames[] = {
32591 (char *) "self", NULL
32592 };
32593
32594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
36ed4f51
RD
32595 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32596 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32597 {
32598 PyThreadState* __tstate = wxPyBeginAllowThreads();
32599 (arg1)->base_InitDialog();
32600
32601 wxPyEndAllowThreads(__tstate);
32602 if (PyErr_Occurred()) SWIG_fail;
32603 }
32604 Py_INCREF(Py_None); resultobj = Py_None;
32605 return resultobj;
32606 fail:
32607 return NULL;
32608}
32609
32610
c370783e 32611static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32612 PyObject *resultobj;
32613 wxPyControl *arg1 = (wxPyControl *) 0 ;
32614 bool result;
32615 PyObject * obj0 = 0 ;
32616 char *kwnames[] = {
32617 (char *) "self", NULL
32618 };
32619
32620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32621 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32622 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32623 {
32624 PyThreadState* __tstate = wxPyBeginAllowThreads();
32625 result = (bool)(arg1)->base_TransferDataToWindow();
32626
32627 wxPyEndAllowThreads(__tstate);
32628 if (PyErr_Occurred()) SWIG_fail;
32629 }
32630 {
32631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32632 }
32633 return resultobj;
32634 fail:
32635 return NULL;
32636}
32637
32638
c370783e 32639static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32640 PyObject *resultobj;
32641 wxPyControl *arg1 = (wxPyControl *) 0 ;
32642 bool result;
32643 PyObject * obj0 = 0 ;
32644 char *kwnames[] = {
32645 (char *) "self", NULL
32646 };
32647
32648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
32649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32650 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32651 {
32652 PyThreadState* __tstate = wxPyBeginAllowThreads();
32653 result = (bool)(arg1)->base_TransferDataFromWindow();
32654
32655 wxPyEndAllowThreads(__tstate);
32656 if (PyErr_Occurred()) SWIG_fail;
32657 }
32658 {
32659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32660 }
32661 return resultobj;
32662 fail:
32663 return NULL;
32664}
32665
32666
c370783e 32667static PyObject *_wrap_PyControl_base_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32668 PyObject *resultobj;
32669 wxPyControl *arg1 = (wxPyControl *) 0 ;
32670 bool result;
32671 PyObject * obj0 = 0 ;
32672 char *kwnames[] = {
32673 (char *) "self", NULL
32674 };
32675
32676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
36ed4f51
RD
32677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32678 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32679 {
32680 PyThreadState* __tstate = wxPyBeginAllowThreads();
32681 result = (bool)(arg1)->base_Validate();
32682
32683 wxPyEndAllowThreads(__tstate);
32684 if (PyErr_Occurred()) SWIG_fail;
32685 }
32686 {
32687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32688 }
32689 return resultobj;
32690 fail:
32691 return NULL;
32692}
32693
32694
c370783e 32695static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32696 PyObject *resultobj;
32697 wxPyControl *arg1 = (wxPyControl *) 0 ;
32698 bool result;
32699 PyObject * obj0 = 0 ;
32700 char *kwnames[] = {
32701 (char *) "self", NULL
32702 };
32703
32704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
36ed4f51
RD
32705 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32706 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32707 {
32708 PyThreadState* __tstate = wxPyBeginAllowThreads();
32709 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
32710
32711 wxPyEndAllowThreads(__tstate);
32712 if (PyErr_Occurred()) SWIG_fail;
32713 }
32714 {
32715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32716 }
32717 return resultobj;
32718 fail:
32719 return NULL;
32720}
32721
32722
c370783e 32723static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32724 PyObject *resultobj;
32725 wxPyControl *arg1 = (wxPyControl *) 0 ;
32726 bool result;
32727 PyObject * obj0 = 0 ;
32728 char *kwnames[] = {
32729 (char *) "self", NULL
32730 };
32731
32732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
36ed4f51
RD
32733 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32734 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32735 {
32736 PyThreadState* __tstate = wxPyBeginAllowThreads();
32737 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
32738
32739 wxPyEndAllowThreads(__tstate);
32740 if (PyErr_Occurred()) SWIG_fail;
32741 }
32742 {
32743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32744 }
32745 return resultobj;
32746 fail:
32747 return NULL;
32748}
32749
32750
c370783e 32751static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32752 PyObject *resultobj;
32753 wxPyControl *arg1 = (wxPyControl *) 0 ;
32754 wxSize result;
32755 PyObject * obj0 = 0 ;
32756 char *kwnames[] = {
32757 (char *) "self", NULL
32758 };
32759
32760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
36ed4f51
RD
32761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32762 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32763 {
32764 PyThreadState* __tstate = wxPyBeginAllowThreads();
32765 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
32766
32767 wxPyEndAllowThreads(__tstate);
32768 if (PyErr_Occurred()) SWIG_fail;
32769 }
32770 {
32771 wxSize * resultptr;
36ed4f51 32772 resultptr = new wxSize((wxSize &)(result));
d55e5bfc
RD
32773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
32774 }
32775 return resultobj;
32776 fail:
32777 return NULL;
32778}
32779
32780
c370783e 32781static PyObject *_wrap_PyControl_base_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32782 PyObject *resultobj;
32783 wxPyControl *arg1 = (wxPyControl *) 0 ;
32784 wxWindow *arg2 = (wxWindow *) 0 ;
32785 PyObject * obj0 = 0 ;
32786 PyObject * obj1 = 0 ;
32787 char *kwnames[] = {
32788 (char *) "self",(char *) "child", NULL
32789 };
32790
32791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32792 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32793 if (SWIG_arg_fail(1)) SWIG_fail;
32794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32795 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32796 {
32797 PyThreadState* __tstate = wxPyBeginAllowThreads();
32798 (arg1)->base_AddChild(arg2);
32799
32800 wxPyEndAllowThreads(__tstate);
32801 if (PyErr_Occurred()) SWIG_fail;
32802 }
32803 Py_INCREF(Py_None); resultobj = Py_None;
32804 return resultobj;
32805 fail:
32806 return NULL;
32807}
32808
32809
c370783e 32810static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32811 PyObject *resultobj;
32812 wxPyControl *arg1 = (wxPyControl *) 0 ;
32813 wxWindow *arg2 = (wxWindow *) 0 ;
32814 PyObject * obj0 = 0 ;
32815 PyObject * obj1 = 0 ;
32816 char *kwnames[] = {
32817 (char *) "self",(char *) "child", NULL
32818 };
32819
32820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32821 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32822 if (SWIG_arg_fail(1)) SWIG_fail;
32823 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
32824 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
32825 {
32826 PyThreadState* __tstate = wxPyBeginAllowThreads();
32827 (arg1)->base_RemoveChild(arg2);
32828
32829 wxPyEndAllowThreads(__tstate);
32830 if (PyErr_Occurred()) SWIG_fail;
32831 }
32832 Py_INCREF(Py_None); resultobj = Py_None;
32833 return resultobj;
32834 fail:
32835 return NULL;
32836}
32837
32838
c370783e 32839static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32840 PyObject *resultobj;
32841 wxPyControl *arg1 = (wxPyControl *) 0 ;
32842 bool result;
32843 PyObject * obj0 = 0 ;
32844 char *kwnames[] = {
32845 (char *) "self", NULL
32846 };
32847
32848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
36ed4f51
RD
32849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32850 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32851 {
32852 PyThreadState* __tstate = wxPyBeginAllowThreads();
a5ee0656 32853 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
32854
32855 wxPyEndAllowThreads(__tstate);
32856 if (PyErr_Occurred()) SWIG_fail;
32857 }
32858 {
32859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32860 }
32861 return resultobj;
32862 fail:
32863 return NULL;
32864}
32865
32866
c370783e 32867static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a5ee0656
RD
32868 PyObject *resultobj;
32869 wxPyControl *arg1 = (wxPyControl *) 0 ;
32870 wxVisualAttributes result;
32871 PyObject * obj0 = 0 ;
32872 char *kwnames[] = {
32873 (char *) "self", NULL
32874 };
32875
32876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
36ed4f51
RD
32877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyControl, SWIG_POINTER_EXCEPTION | 0);
32878 if (SWIG_arg_fail(1)) SWIG_fail;
a5ee0656
RD
32879 {
32880 PyThreadState* __tstate = wxPyBeginAllowThreads();
32881 result = (arg1)->base_GetDefaultAttributes();
32882
32883 wxPyEndAllowThreads(__tstate);
32884 if (PyErr_Occurred()) SWIG_fail;
32885 }
32886 {
32887 wxVisualAttributes * resultptr;
36ed4f51 32888 resultptr = new wxVisualAttributes((wxVisualAttributes &)(result));
a5ee0656
RD
32889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32890 }
32891 return resultobj;
32892 fail:
32893 return NULL;
32894}
32895
32896
c370783e 32897static PyObject * PyControl_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
32898 PyObject *obj;
32899 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32900 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
32901 Py_INCREF(obj);
32902 return Py_BuildValue((char *)"");
32903}
c370783e 32904static PyObject *_wrap_new_HelpEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32905 PyObject *resultobj;
32906 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32907 int arg2 = (int) 0 ;
32908 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32909 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32910 wxHelpEvent *result;
32911 wxPoint temp3 ;
32912 PyObject * obj0 = 0 ;
32913 PyObject * obj1 = 0 ;
32914 PyObject * obj2 = 0 ;
32915 char *kwnames[] = {
32916 (char *) "type",(char *) "winid",(char *) "pt", NULL
32917 };
32918
32919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
32920 if (obj0) {
36ed4f51
RD
32921 {
32922 arg1 = (wxEventType)(SWIG_As_int(obj0));
32923 if (SWIG_arg_fail(1)) SWIG_fail;
32924 }
d55e5bfc
RD
32925 }
32926 if (obj1) {
36ed4f51
RD
32927 {
32928 arg2 = (int)(SWIG_As_int(obj1));
32929 if (SWIG_arg_fail(2)) SWIG_fail;
32930 }
d55e5bfc
RD
32931 }
32932 if (obj2) {
32933 {
32934 arg3 = &temp3;
32935 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32936 }
32937 }
32938 {
32939 PyThreadState* __tstate = wxPyBeginAllowThreads();
32940 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
32941
32942 wxPyEndAllowThreads(__tstate);
32943 if (PyErr_Occurred()) SWIG_fail;
32944 }
32945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
32946 return resultobj;
32947 fail:
32948 return NULL;
32949}
32950
32951
c370783e 32952static PyObject *_wrap_HelpEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32953 PyObject *resultobj;
32954 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32955 wxPoint result;
32956 PyObject * obj0 = 0 ;
32957 char *kwnames[] = {
32958 (char *) "self", NULL
32959 };
32960
32961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
36ed4f51
RD
32962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32963 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32964 {
32965 PyThreadState* __tstate = wxPyBeginAllowThreads();
32966 result = ((wxHelpEvent const *)arg1)->GetPosition();
32967
32968 wxPyEndAllowThreads(__tstate);
32969 if (PyErr_Occurred()) SWIG_fail;
32970 }
32971 {
32972 wxPoint * resultptr;
36ed4f51 32973 resultptr = new wxPoint((wxPoint const &)(result));
d55e5bfc
RD
32974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
32975 }
32976 return resultobj;
32977 fail:
32978 return NULL;
32979}
32980
32981
c370783e 32982static PyObject *_wrap_HelpEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
32983 PyObject *resultobj;
32984 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
32985 wxPoint *arg2 = 0 ;
32986 wxPoint temp2 ;
32987 PyObject * obj0 = 0 ;
32988 PyObject * obj1 = 0 ;
32989 char *kwnames[] = {
32990 (char *) "self",(char *) "pos", NULL
32991 };
32992
32993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
32994 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
32995 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
32996 {
32997 arg2 = &temp2;
32998 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
32999 }
33000 {
33001 PyThreadState* __tstate = wxPyBeginAllowThreads();
33002 (arg1)->SetPosition((wxPoint const &)*arg2);
33003
33004 wxPyEndAllowThreads(__tstate);
33005 if (PyErr_Occurred()) SWIG_fail;
33006 }
33007 Py_INCREF(Py_None); resultobj = Py_None;
33008 return resultobj;
33009 fail:
33010 return NULL;
33011}
33012
33013
c370783e 33014static PyObject *_wrap_HelpEvent_GetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33015 PyObject *resultobj;
33016 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33017 wxString *result;
33018 PyObject * obj0 = 0 ;
33019 char *kwnames[] = {
33020 (char *) "self", NULL
33021 };
33022
33023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
36ed4f51
RD
33024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33025 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33026 {
33027 PyThreadState* __tstate = wxPyBeginAllowThreads();
33028 {
33029 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
33030 result = (wxString *) &_result_ref;
33031 }
33032
33033 wxPyEndAllowThreads(__tstate);
33034 if (PyErr_Occurred()) SWIG_fail;
33035 }
33036 {
33037#if wxUSE_UNICODE
33038 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33039#else
33040 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33041#endif
33042 }
33043 return resultobj;
33044 fail:
33045 return NULL;
33046}
33047
33048
c370783e 33049static PyObject *_wrap_HelpEvent_SetLink(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33050 PyObject *resultobj;
33051 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33052 wxString *arg2 = 0 ;
b411df4a 33053 bool temp2 = false ;
d55e5bfc
RD
33054 PyObject * obj0 = 0 ;
33055 PyObject * obj1 = 0 ;
33056 char *kwnames[] = {
33057 (char *) "self",(char *) "link", NULL
33058 };
33059
33060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33061 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33063 {
33064 arg2 = wxString_in_helper(obj1);
33065 if (arg2 == NULL) SWIG_fail;
b411df4a 33066 temp2 = true;
d55e5bfc
RD
33067 }
33068 {
33069 PyThreadState* __tstate = wxPyBeginAllowThreads();
33070 (arg1)->SetLink((wxString const &)*arg2);
33071
33072 wxPyEndAllowThreads(__tstate);
33073 if (PyErr_Occurred()) SWIG_fail;
33074 }
33075 Py_INCREF(Py_None); resultobj = Py_None;
33076 {
33077 if (temp2)
33078 delete arg2;
33079 }
33080 return resultobj;
33081 fail:
33082 {
33083 if (temp2)
33084 delete arg2;
33085 }
33086 return NULL;
33087}
33088
33089
c370783e 33090static PyObject *_wrap_HelpEvent_GetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33091 PyObject *resultobj;
33092 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33093 wxString *result;
33094 PyObject * obj0 = 0 ;
33095 char *kwnames[] = {
33096 (char *) "self", NULL
33097 };
33098
33099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
36ed4f51
RD
33100 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33101 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33102 {
33103 PyThreadState* __tstate = wxPyBeginAllowThreads();
33104 {
33105 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
33106 result = (wxString *) &_result_ref;
33107 }
33108
33109 wxPyEndAllowThreads(__tstate);
33110 if (PyErr_Occurred()) SWIG_fail;
33111 }
33112 {
33113#if wxUSE_UNICODE
33114 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33115#else
33116 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33117#endif
33118 }
33119 return resultobj;
33120 fail:
33121 return NULL;
33122}
33123
33124
c370783e 33125static PyObject *_wrap_HelpEvent_SetTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33126 PyObject *resultobj;
33127 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
33128 wxString *arg2 = 0 ;
b411df4a 33129 bool temp2 = false ;
d55e5bfc
RD
33130 PyObject * obj0 = 0 ;
33131 PyObject * obj1 = 0 ;
33132 char *kwnames[] = {
33133 (char *) "self",(char *) "target", NULL
33134 };
33135
33136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_EXCEPTION | 0);
33138 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33139 {
33140 arg2 = wxString_in_helper(obj1);
33141 if (arg2 == NULL) SWIG_fail;
b411df4a 33142 temp2 = true;
d55e5bfc
RD
33143 }
33144 {
33145 PyThreadState* __tstate = wxPyBeginAllowThreads();
33146 (arg1)->SetTarget((wxString const &)*arg2);
33147
33148 wxPyEndAllowThreads(__tstate);
33149 if (PyErr_Occurred()) SWIG_fail;
33150 }
33151 Py_INCREF(Py_None); resultobj = Py_None;
33152 {
33153 if (temp2)
33154 delete arg2;
33155 }
33156 return resultobj;
33157 fail:
33158 {
33159 if (temp2)
33160 delete arg2;
33161 }
33162 return NULL;
33163}
33164
33165
c370783e 33166static PyObject * HelpEvent_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33167 PyObject *obj;
33168 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33169 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
33170 Py_INCREF(obj);
33171 return Py_BuildValue((char *)"");
33172}
c370783e 33173static PyObject *_wrap_new_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33174 PyObject *resultobj;
33175 wxWindow *arg1 = (wxWindow *) NULL ;
b411df4a 33176 bool arg2 = (bool) true ;
d55e5bfc
RD
33177 wxContextHelp *result;
33178 PyObject * obj0 = 0 ;
33179 PyObject * obj1 = 0 ;
33180 char *kwnames[] = {
33181 (char *) "window",(char *) "doNow", NULL
33182 };
33183
33184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
33185 if (obj0) {
36ed4f51
RD
33186 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33187 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33188 }
33189 if (obj1) {
36ed4f51
RD
33190 {
33191 arg2 = (bool)(SWIG_As_bool(obj1));
33192 if (SWIG_arg_fail(2)) SWIG_fail;
33193 }
d55e5bfc
RD
33194 }
33195 {
0439c23b 33196 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33197 PyThreadState* __tstate = wxPyBeginAllowThreads();
33198 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
33199
33200 wxPyEndAllowThreads(__tstate);
110da5b0 33201 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33202 }
33203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
33204 return resultobj;
33205 fail:
33206 return NULL;
33207}
33208
33209
c370783e 33210static PyObject *_wrap_delete_ContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33211 PyObject *resultobj;
33212 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33213 PyObject * obj0 = 0 ;
33214 char *kwnames[] = {
33215 (char *) "self", NULL
33216 };
33217
33218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33220 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33221 {
33222 PyThreadState* __tstate = wxPyBeginAllowThreads();
33223 delete arg1;
33224
33225 wxPyEndAllowThreads(__tstate);
33226 if (PyErr_Occurred()) SWIG_fail;
33227 }
33228 Py_INCREF(Py_None); resultobj = Py_None;
33229 return resultobj;
33230 fail:
33231 return NULL;
33232}
33233
33234
c370783e 33235static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33236 PyObject *resultobj;
33237 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33238 wxWindow *arg2 = (wxWindow *) NULL ;
33239 bool result;
33240 PyObject * obj0 = 0 ;
33241 PyObject * obj1 = 0 ;
33242 char *kwnames[] = {
33243 (char *) "self",(char *) "window", NULL
33244 };
33245
33246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33249 if (obj1) {
36ed4f51
RD
33250 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33251 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33252 }
33253 {
33254 PyThreadState* __tstate = wxPyBeginAllowThreads();
33255 result = (bool)(arg1)->BeginContextHelp(arg2);
33256
33257 wxPyEndAllowThreads(__tstate);
33258 if (PyErr_Occurred()) SWIG_fail;
33259 }
33260 {
33261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33262 }
33263 return resultobj;
33264 fail:
33265 return NULL;
33266}
33267
33268
c370783e 33269static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33270 PyObject *resultobj;
33271 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
33272 bool result;
33273 PyObject * obj0 = 0 ;
33274 char *kwnames[] = {
33275 (char *) "self", NULL
33276 };
33277
33278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
36ed4f51
RD
33279 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxContextHelp, SWIG_POINTER_EXCEPTION | 0);
33280 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33281 {
33282 PyThreadState* __tstate = wxPyBeginAllowThreads();
33283 result = (bool)(arg1)->EndContextHelp();
33284
33285 wxPyEndAllowThreads(__tstate);
33286 if (PyErr_Occurred()) SWIG_fail;
33287 }
33288 {
33289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33290 }
33291 return resultobj;
33292 fail:
33293 return NULL;
33294}
33295
33296
c370783e 33297static PyObject * ContextHelp_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33298 PyObject *obj;
33299 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33300 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
33301 Py_INCREF(obj);
33302 return Py_BuildValue((char *)"");
33303}
c370783e 33304static PyObject *_wrap_new_ContextHelpButton(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33305 PyObject *resultobj;
33306 wxWindow *arg1 = (wxWindow *) 0 ;
33307 int arg2 = (int) wxID_CONTEXT_HELP ;
33308 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33309 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33310 wxSize const &arg4_defvalue = wxDefaultSize ;
33311 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33312 long arg5 = (long) wxBU_AUTODRAW ;
33313 wxContextHelpButton *result;
33314 wxPoint temp3 ;
33315 wxSize temp4 ;
33316 PyObject * obj0 = 0 ;
33317 PyObject * obj1 = 0 ;
33318 PyObject * obj2 = 0 ;
33319 PyObject * obj3 = 0 ;
33320 PyObject * obj4 = 0 ;
33321 char *kwnames[] = {
33322 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
33323 };
33324
33325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33326 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33327 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33328 if (obj1) {
36ed4f51
RD
33329 {
33330 arg2 = (int)(SWIG_As_int(obj1));
33331 if (SWIG_arg_fail(2)) SWIG_fail;
33332 }
d55e5bfc
RD
33333 }
33334 if (obj2) {
33335 {
33336 arg3 = &temp3;
33337 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33338 }
33339 }
33340 if (obj3) {
33341 {
33342 arg4 = &temp4;
33343 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33344 }
33345 }
33346 if (obj4) {
36ed4f51
RD
33347 {
33348 arg5 = (long)(SWIG_As_long(obj4));
33349 if (SWIG_arg_fail(5)) SWIG_fail;
33350 }
d55e5bfc
RD
33351 }
33352 {
0439c23b 33353 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33354 PyThreadState* __tstate = wxPyBeginAllowThreads();
33355 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
33356
33357 wxPyEndAllowThreads(__tstate);
110da5b0 33358 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33359 }
33360 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
33361 return resultobj;
33362 fail:
33363 return NULL;
33364}
33365
33366
c370783e 33367static PyObject * ContextHelpButton_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33368 PyObject *obj;
33369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33370 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
33371 Py_INCREF(obj);
33372 return Py_BuildValue((char *)"");
33373}
c370783e 33374static PyObject *_wrap_HelpProvider_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33375 PyObject *resultobj;
33376 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33377 wxHelpProvider *result;
33378 PyObject * obj0 = 0 ;
33379 char *kwnames[] = {
33380 (char *) "helpProvider", NULL
33381 };
33382
33383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
36ed4f51
RD
33384 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33385 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33386 {
33387 PyThreadState* __tstate = wxPyBeginAllowThreads();
33388 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
33389
33390 wxPyEndAllowThreads(__tstate);
33391 if (PyErr_Occurred()) SWIG_fail;
33392 }
33393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33394 return resultobj;
33395 fail:
33396 return NULL;
33397}
33398
33399
c370783e 33400static PyObject *_wrap_HelpProvider_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33401 PyObject *resultobj;
33402 wxHelpProvider *result;
33403 char *kwnames[] = {
33404 NULL
33405 };
33406
33407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
33408 {
33409 PyThreadState* __tstate = wxPyBeginAllowThreads();
33410 result = (wxHelpProvider *)wxHelpProvider::Get();
33411
33412 wxPyEndAllowThreads(__tstate);
33413 if (PyErr_Occurred()) SWIG_fail;
33414 }
33415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
33416 return resultobj;
33417 fail:
33418 return NULL;
33419}
33420
33421
c370783e 33422static PyObject *_wrap_HelpProvider_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33423 PyObject *resultobj;
33424 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33425 wxWindow *arg2 = (wxWindow *) 0 ;
33426 wxString result;
33427 PyObject * obj0 = 0 ;
33428 PyObject * obj1 = 0 ;
33429 char *kwnames[] = {
33430 (char *) "self",(char *) "window", NULL
33431 };
33432
33433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail;
33436 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33437 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33438 {
33439 PyThreadState* __tstate = wxPyBeginAllowThreads();
33440 result = (arg1)->GetHelp((wxWindow const *)arg2);
33441
33442 wxPyEndAllowThreads(__tstate);
33443 if (PyErr_Occurred()) SWIG_fail;
33444 }
33445 {
33446#if wxUSE_UNICODE
33447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33448#else
33449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33450#endif
33451 }
33452 return resultobj;
33453 fail:
33454 return NULL;
33455}
33456
33457
c370783e 33458static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33459 PyObject *resultobj;
33460 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33461 wxWindow *arg2 = (wxWindow *) 0 ;
33462 bool result;
33463 PyObject * obj0 = 0 ;
33464 PyObject * obj1 = 0 ;
33465 char *kwnames[] = {
33466 (char *) "self",(char *) "window", NULL
33467 };
33468
33469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33471 if (SWIG_arg_fail(1)) SWIG_fail;
33472 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33473 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33474 {
33475 PyThreadState* __tstate = wxPyBeginAllowThreads();
33476 result = (bool)(arg1)->ShowHelp(arg2);
33477
33478 wxPyEndAllowThreads(__tstate);
33479 if (PyErr_Occurred()) SWIG_fail;
33480 }
33481 {
33482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33483 }
33484 return resultobj;
33485 fail:
33486 return NULL;
33487}
33488
33489
c370783e 33490static PyObject *_wrap_HelpProvider_AddHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33491 PyObject *resultobj;
33492 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33493 wxWindow *arg2 = (wxWindow *) 0 ;
33494 wxString *arg3 = 0 ;
b411df4a 33495 bool temp3 = false ;
d55e5bfc
RD
33496 PyObject * obj0 = 0 ;
33497 PyObject * obj1 = 0 ;
33498 PyObject * obj2 = 0 ;
33499 char *kwnames[] = {
33500 (char *) "self",(char *) "window",(char *) "text", NULL
33501 };
33502
33503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33504 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33505 if (SWIG_arg_fail(1)) SWIG_fail;
33506 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33507 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33508 {
33509 arg3 = wxString_in_helper(obj2);
33510 if (arg3 == NULL) SWIG_fail;
b411df4a 33511 temp3 = true;
d55e5bfc
RD
33512 }
33513 {
33514 PyThreadState* __tstate = wxPyBeginAllowThreads();
33515 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33516
33517 wxPyEndAllowThreads(__tstate);
33518 if (PyErr_Occurred()) SWIG_fail;
33519 }
33520 Py_INCREF(Py_None); resultobj = Py_None;
33521 {
33522 if (temp3)
33523 delete arg3;
33524 }
33525 return resultobj;
33526 fail:
33527 {
33528 if (temp3)
33529 delete arg3;
33530 }
33531 return NULL;
33532}
33533
33534
c370783e 33535static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33536 PyObject *resultobj;
33537 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33538 int arg2 ;
33539 wxString *arg3 = 0 ;
b411df4a 33540 bool temp3 = false ;
d55e5bfc
RD
33541 PyObject * obj0 = 0 ;
33542 PyObject * obj1 = 0 ;
33543 PyObject * obj2 = 0 ;
33544 char *kwnames[] = {
33545 (char *) "self",(char *) "id",(char *) "text", NULL
33546 };
33547
33548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
33549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33550 if (SWIG_arg_fail(1)) SWIG_fail;
33551 {
33552 arg2 = (int)(SWIG_As_int(obj1));
33553 if (SWIG_arg_fail(2)) SWIG_fail;
33554 }
d55e5bfc
RD
33555 {
33556 arg3 = wxString_in_helper(obj2);
33557 if (arg3 == NULL) SWIG_fail;
b411df4a 33558 temp3 = true;
d55e5bfc
RD
33559 }
33560 {
33561 PyThreadState* __tstate = wxPyBeginAllowThreads();
33562 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
33563
33564 wxPyEndAllowThreads(__tstate);
33565 if (PyErr_Occurred()) SWIG_fail;
33566 }
33567 Py_INCREF(Py_None); resultobj = Py_None;
33568 {
33569 if (temp3)
33570 delete arg3;
33571 }
33572 return resultobj;
33573 fail:
33574 {
33575 if (temp3)
33576 delete arg3;
33577 }
33578 return NULL;
33579}
33580
33581
c370783e 33582static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33583 PyObject *resultobj;
33584 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33585 wxWindow *arg2 = (wxWindow *) 0 ;
33586 PyObject * obj0 = 0 ;
33587 PyObject * obj1 = 0 ;
33588 char *kwnames[] = {
33589 (char *) "self",(char *) "window", NULL
33590 };
33591
33592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33593 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33594 if (SWIG_arg_fail(1)) SWIG_fail;
33595 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33596 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33597 {
33598 PyThreadState* __tstate = wxPyBeginAllowThreads();
33599 (arg1)->RemoveHelp(arg2);
33600
33601 wxPyEndAllowThreads(__tstate);
33602 if (PyErr_Occurred()) SWIG_fail;
33603 }
33604 Py_INCREF(Py_None); resultobj = Py_None;
33605 return resultobj;
33606 fail:
33607 return NULL;
33608}
33609
33610
c370783e 33611static PyObject *_wrap_HelpProvider_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33612 PyObject *resultobj;
33613 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
33614 PyObject * obj0 = 0 ;
33615 char *kwnames[] = {
33616 (char *) "self", NULL
33617 };
33618
33619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
36ed4f51
RD
33620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_EXCEPTION | 0);
33621 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33622 {
33623 PyThreadState* __tstate = wxPyBeginAllowThreads();
33624 wxHelpProvider_Destroy(arg1);
33625
33626 wxPyEndAllowThreads(__tstate);
33627 if (PyErr_Occurred()) SWIG_fail;
33628 }
33629 Py_INCREF(Py_None); resultobj = Py_None;
33630 return resultobj;
33631 fail:
33632 return NULL;
33633}
33634
33635
c370783e 33636static PyObject * HelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33637 PyObject *obj;
33638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33639 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
33640 Py_INCREF(obj);
33641 return Py_BuildValue((char *)"");
33642}
c370783e 33643static PyObject *_wrap_new_SimpleHelpProvider(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33644 PyObject *resultobj;
33645 wxSimpleHelpProvider *result;
33646 char *kwnames[] = {
33647 NULL
33648 };
33649
33650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
33651 {
33652 PyThreadState* __tstate = wxPyBeginAllowThreads();
33653 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
33654
33655 wxPyEndAllowThreads(__tstate);
33656 if (PyErr_Occurred()) SWIG_fail;
33657 }
33658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
33659 return resultobj;
33660 fail:
33661 return NULL;
33662}
33663
33664
c370783e 33665static PyObject * SimpleHelpProvider_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
33666 PyObject *obj;
33667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33668 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
33669 Py_INCREF(obj);
33670 return Py_BuildValue((char *)"");
33671}
c370783e 33672static PyObject *_wrap_new_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33673 PyObject *resultobj;
33674 wxBitmap *arg1 = 0 ;
33675 wxCursor const &arg2_defvalue = wxNullCursor ;
33676 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33677 wxGenericDragImage *result;
33678 PyObject * obj0 = 0 ;
33679 PyObject * obj1 = 0 ;
33680 char *kwnames[] = {
33681 (char *) "image",(char *) "cursor", NULL
33682 };
33683
33684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33685 {
33686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33687 if (SWIG_arg_fail(1)) SWIG_fail;
33688 if (arg1 == NULL) {
33689 SWIG_null_ref("wxBitmap");
33690 }
33691 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33692 }
33693 if (obj1) {
36ed4f51
RD
33694 {
33695 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33696 if (SWIG_arg_fail(2)) SWIG_fail;
33697 if (arg2 == NULL) {
33698 SWIG_null_ref("wxCursor");
33699 }
33700 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33701 }
33702 }
33703 {
0439c23b 33704 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33705 PyThreadState* __tstate = wxPyBeginAllowThreads();
33706 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
33707
33708 wxPyEndAllowThreads(__tstate);
110da5b0 33709 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33710 }
33711 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33712 return resultobj;
33713 fail:
33714 return NULL;
33715}
33716
33717
c370783e 33718static PyObject *_wrap_new_DragIcon(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33719 PyObject *resultobj;
33720 wxIcon *arg1 = 0 ;
33721 wxCursor const &arg2_defvalue = wxNullCursor ;
33722 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33723 wxGenericDragImage *result;
33724 PyObject * obj0 = 0 ;
33725 PyObject * obj1 = 0 ;
33726 char *kwnames[] = {
33727 (char *) "image",(char *) "cursor", NULL
33728 };
33729
33730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33731 {
33732 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
33733 if (SWIG_arg_fail(1)) SWIG_fail;
33734 if (arg1 == NULL) {
33735 SWIG_null_ref("wxIcon");
33736 }
33737 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33738 }
33739 if (obj1) {
36ed4f51
RD
33740 {
33741 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33742 if (SWIG_arg_fail(2)) SWIG_fail;
33743 if (arg2 == NULL) {
33744 SWIG_null_ref("wxCursor");
33745 }
33746 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33747 }
33748 }
33749 {
0439c23b 33750 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33751 PyThreadState* __tstate = wxPyBeginAllowThreads();
33752 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
33753
33754 wxPyEndAllowThreads(__tstate);
110da5b0 33755 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33756 }
33757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33758 return resultobj;
33759 fail:
33760 return NULL;
33761}
33762
33763
c370783e 33764static PyObject *_wrap_new_DragString(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33765 PyObject *resultobj;
33766 wxString *arg1 = 0 ;
33767 wxCursor const &arg2_defvalue = wxNullCursor ;
33768 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
33769 wxGenericDragImage *result;
b411df4a 33770 bool temp1 = false ;
d55e5bfc
RD
33771 PyObject * obj0 = 0 ;
33772 PyObject * obj1 = 0 ;
33773 char *kwnames[] = {
33774 (char *) "str",(char *) "cursor", NULL
33775 };
33776
33777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
33778 {
33779 arg1 = wxString_in_helper(obj0);
33780 if (arg1 == NULL) SWIG_fail;
b411df4a 33781 temp1 = true;
d55e5bfc
RD
33782 }
33783 if (obj1) {
36ed4f51
RD
33784 {
33785 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxCursor, SWIG_POINTER_EXCEPTION | 0);
33786 if (SWIG_arg_fail(2)) SWIG_fail;
33787 if (arg2 == NULL) {
33788 SWIG_null_ref("wxCursor");
33789 }
33790 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33791 }
33792 }
33793 {
0439c23b 33794 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33795 PyThreadState* __tstate = wxPyBeginAllowThreads();
33796 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
33797
33798 wxPyEndAllowThreads(__tstate);
110da5b0 33799 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33800 }
33801 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33802 {
33803 if (temp1)
33804 delete arg1;
33805 }
33806 return resultobj;
33807 fail:
33808 {
33809 if (temp1)
33810 delete arg1;
33811 }
33812 return NULL;
33813}
33814
33815
c370783e 33816static PyObject *_wrap_new_DragTreeItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33817 PyObject *resultobj;
33818 wxPyTreeCtrl *arg1 = 0 ;
33819 wxTreeItemId *arg2 = 0 ;
33820 wxGenericDragImage *result;
33821 PyObject * obj0 = 0 ;
33822 PyObject * obj1 = 0 ;
33823 char *kwnames[] = {
33824 (char *) "treeCtrl",(char *) "id", NULL
33825 };
33826
33827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33828 {
33829 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
33830 if (SWIG_arg_fail(1)) SWIG_fail;
33831 if (arg1 == NULL) {
33832 SWIG_null_ref("wxPyTreeCtrl");
33833 }
33834 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc 33835 }
36ed4f51
RD
33836 {
33837 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
33838 if (SWIG_arg_fail(2)) SWIG_fail;
33839 if (arg2 == NULL) {
33840 SWIG_null_ref("wxTreeItemId");
33841 }
33842 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33843 }
33844 {
0439c23b 33845 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33846 PyThreadState* __tstate = wxPyBeginAllowThreads();
33847 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
33848
33849 wxPyEndAllowThreads(__tstate);
110da5b0 33850 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33851 }
33852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33853 return resultobj;
33854 fail:
33855 return NULL;
33856}
33857
33858
c370783e 33859static PyObject *_wrap_new_DragListItem(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33860 PyObject *resultobj;
33861 wxPyListCtrl *arg1 = 0 ;
33862 long arg2 ;
33863 wxGenericDragImage *result;
33864 PyObject * obj0 = 0 ;
33865 PyObject * obj1 = 0 ;
33866 char *kwnames[] = {
33867 (char *) "listCtrl",(char *) "id", NULL
33868 };
33869
33870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33871 {
33872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_EXCEPTION | 0);
33873 if (SWIG_arg_fail(1)) SWIG_fail;
33874 if (arg1 == NULL) {
33875 SWIG_null_ref("wxPyListCtrl");
33876 }
33877 if (SWIG_arg_fail(1)) SWIG_fail;
33878 }
33879 {
33880 arg2 = (long)(SWIG_As_long(obj1));
33881 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc 33882 }
d55e5bfc 33883 {
0439c23b 33884 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
33885 PyThreadState* __tstate = wxPyBeginAllowThreads();
33886 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
33887
33888 wxPyEndAllowThreads(__tstate);
110da5b0 33889 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
33890 }
33891 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
33892 return resultobj;
33893 fail:
33894 return NULL;
33895}
33896
33897
c370783e 33898static PyObject *_wrap_delete_DragImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33899 PyObject *resultobj;
33900 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33901 PyObject * obj0 = 0 ;
33902 char *kwnames[] = {
33903 (char *) "self", NULL
33904 };
33905
33906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
33907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33908 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33909 {
33910 PyThreadState* __tstate = wxPyBeginAllowThreads();
33911 delete arg1;
33912
33913 wxPyEndAllowThreads(__tstate);
33914 if (PyErr_Occurred()) SWIG_fail;
33915 }
33916 Py_INCREF(Py_None); resultobj = Py_None;
33917 return resultobj;
33918 fail:
33919 return NULL;
33920}
33921
33922
c370783e 33923static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33924 PyObject *resultobj;
33925 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33926 wxBitmap *arg2 = (wxBitmap *) 0 ;
33927 PyObject * obj0 = 0 ;
33928 PyObject * obj1 = 0 ;
33929 char *kwnames[] = {
33930 (char *) "self",(char *) "bitmap", NULL
33931 };
33932
33933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
33934 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33935 if (SWIG_arg_fail(1)) SWIG_fail;
33936 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
33937 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
33938 {
33939 PyThreadState* __tstate = wxPyBeginAllowThreads();
33940 (arg1)->SetBackingBitmap(arg2);
33941
33942 wxPyEndAllowThreads(__tstate);
33943 if (PyErr_Occurred()) SWIG_fail;
33944 }
33945 Py_INCREF(Py_None); resultobj = Py_None;
33946 return resultobj;
33947 fail:
33948 return NULL;
33949}
33950
33951
c370783e 33952static PyObject *_wrap_DragImage_BeginDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
33953 PyObject *resultobj;
33954 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
33955 wxPoint *arg2 = 0 ;
33956 wxWindow *arg3 = (wxWindow *) 0 ;
b411df4a 33957 bool arg4 = (bool) false ;
d55e5bfc
RD
33958 wxRect *arg5 = (wxRect *) NULL ;
33959 bool result;
33960 wxPoint temp2 ;
33961 PyObject * obj0 = 0 ;
33962 PyObject * obj1 = 0 ;
33963 PyObject * obj2 = 0 ;
33964 PyObject * obj3 = 0 ;
33965 PyObject * obj4 = 0 ;
33966 char *kwnames[] = {
33967 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
33968 };
33969
33970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
33971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
33972 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
33973 {
33974 arg2 = &temp2;
33975 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33976 }
36ed4f51
RD
33977 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
33978 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc 33979 if (obj3) {
36ed4f51
RD
33980 {
33981 arg4 = (bool)(SWIG_As_bool(obj3));
33982 if (SWIG_arg_fail(4)) SWIG_fail;
33983 }
d55e5bfc
RD
33984 }
33985 if (obj4) {
36ed4f51
RD
33986 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION | 0);
33987 if (SWIG_arg_fail(5)) SWIG_fail;
d55e5bfc
RD
33988 }
33989 {
33990 PyThreadState* __tstate = wxPyBeginAllowThreads();
33991 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
33992
33993 wxPyEndAllowThreads(__tstate);
33994 if (PyErr_Occurred()) SWIG_fail;
33995 }
33996 {
33997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33998 }
33999 return resultobj;
34000 fail:
34001 return NULL;
34002}
34003
34004
c370783e 34005static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34006 PyObject *resultobj;
34007 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34008 wxPoint *arg2 = 0 ;
34009 wxWindow *arg3 = (wxWindow *) 0 ;
34010 wxWindow *arg4 = (wxWindow *) 0 ;
34011 bool result;
34012 wxPoint temp2 ;
34013 PyObject * obj0 = 0 ;
34014 PyObject * obj1 = 0 ;
34015 PyObject * obj2 = 0 ;
34016 PyObject * obj3 = 0 ;
34017 char *kwnames[] = {
34018 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
34019 };
34020
34021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
34022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34023 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34024 {
34025 arg2 = &temp2;
34026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34027 }
36ed4f51
RD
34028 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34029 if (SWIG_arg_fail(3)) SWIG_fail;
34030 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34031 if (SWIG_arg_fail(4)) SWIG_fail;
d55e5bfc
RD
34032 {
34033 PyThreadState* __tstate = wxPyBeginAllowThreads();
34034 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
34035
34036 wxPyEndAllowThreads(__tstate);
34037 if (PyErr_Occurred()) SWIG_fail;
34038 }
34039 {
34040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34041 }
34042 return resultobj;
34043 fail:
34044 return NULL;
34045}
34046
34047
c370783e 34048static PyObject *_wrap_DragImage_EndDrag(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34049 PyObject *resultobj;
34050 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34051 bool result;
34052 PyObject * obj0 = 0 ;
34053 char *kwnames[] = {
34054 (char *) "self", NULL
34055 };
34056
34057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
36ed4f51
RD
34058 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34059 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34060 {
34061 PyThreadState* __tstate = wxPyBeginAllowThreads();
34062 result = (bool)(arg1)->EndDrag();
34063
34064 wxPyEndAllowThreads(__tstate);
34065 if (PyErr_Occurred()) SWIG_fail;
34066 }
34067 {
34068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34069 }
34070 return resultobj;
34071 fail:
34072 return NULL;
34073}
34074
34075
c370783e 34076static PyObject *_wrap_DragImage_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34077 PyObject *resultobj;
34078 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34079 wxPoint *arg2 = 0 ;
34080 bool result;
34081 wxPoint temp2 ;
34082 PyObject * obj0 = 0 ;
34083 PyObject * obj1 = 0 ;
34084 char *kwnames[] = {
34085 (char *) "self",(char *) "pt", NULL
34086 };
34087
34088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34090 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34091 {
34092 arg2 = &temp2;
34093 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34094 }
34095 {
34096 PyThreadState* __tstate = wxPyBeginAllowThreads();
34097 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
34098
34099 wxPyEndAllowThreads(__tstate);
34100 if (PyErr_Occurred()) SWIG_fail;
34101 }
34102 {
34103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34104 }
34105 return resultobj;
34106 fail:
34107 return NULL;
34108}
34109
34110
c370783e 34111static PyObject *_wrap_DragImage_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34112 PyObject *resultobj;
34113 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34114 bool result;
34115 PyObject * obj0 = 0 ;
34116 char *kwnames[] = {
34117 (char *) "self", NULL
34118 };
34119
34120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
36ed4f51
RD
34121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34122 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34123 {
34124 PyThreadState* __tstate = wxPyBeginAllowThreads();
34125 result = (bool)(arg1)->Show();
34126
34127 wxPyEndAllowThreads(__tstate);
34128 if (PyErr_Occurred()) SWIG_fail;
34129 }
34130 {
34131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34132 }
34133 return resultobj;
34134 fail:
34135 return NULL;
34136}
34137
34138
c370783e 34139static PyObject *_wrap_DragImage_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34140 PyObject *resultobj;
34141 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34142 bool result;
34143 PyObject * obj0 = 0 ;
34144 char *kwnames[] = {
34145 (char *) "self", NULL
34146 };
34147
34148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
36ed4f51
RD
34149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34150 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34151 {
34152 PyThreadState* __tstate = wxPyBeginAllowThreads();
34153 result = (bool)(arg1)->Hide();
34154
34155 wxPyEndAllowThreads(__tstate);
34156 if (PyErr_Occurred()) SWIG_fail;
34157 }
34158 {
34159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34160 }
34161 return resultobj;
34162 fail:
34163 return NULL;
34164}
34165
34166
c370783e 34167static PyObject *_wrap_DragImage_GetImageRect(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34168 PyObject *resultobj;
34169 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34170 wxPoint *arg2 = 0 ;
34171 wxRect result;
34172 wxPoint temp2 ;
34173 PyObject * obj0 = 0 ;
34174 PyObject * obj1 = 0 ;
34175 char *kwnames[] = {
34176 (char *) "self",(char *) "pos", NULL
34177 };
34178
34179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
34180 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34181 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34182 {
34183 arg2 = &temp2;
34184 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34185 }
34186 {
34187 PyThreadState* __tstate = wxPyBeginAllowThreads();
34188 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
34189
34190 wxPyEndAllowThreads(__tstate);
34191 if (PyErr_Occurred()) SWIG_fail;
34192 }
34193 {
34194 wxRect * resultptr;
36ed4f51 34195 resultptr = new wxRect((wxRect &)(result));
d55e5bfc
RD
34196 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34197 }
34198 return resultobj;
34199 fail:
34200 return NULL;
34201}
34202
34203
c370783e 34204static PyObject *_wrap_DragImage_DoDrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34205 PyObject *resultobj;
34206 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34207 wxDC *arg2 = 0 ;
34208 wxPoint *arg3 = 0 ;
34209 bool result;
34210 wxPoint temp3 ;
34211 PyObject * obj0 = 0 ;
34212 PyObject * obj1 = 0 ;
34213 PyObject * obj2 = 0 ;
34214 char *kwnames[] = {
34215 (char *) "self",(char *) "dc",(char *) "pos", NULL
34216 };
34217
34218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
34219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34220 if (SWIG_arg_fail(1)) SWIG_fail;
34221 {
34222 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34223 if (SWIG_arg_fail(2)) SWIG_fail;
34224 if (arg2 == NULL) {
34225 SWIG_null_ref("wxDC");
34226 }
34227 if (SWIG_arg_fail(2)) SWIG_fail;
d55e5bfc
RD
34228 }
34229 {
34230 arg3 = &temp3;
34231 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34232 }
34233 {
34234 PyThreadState* __tstate = wxPyBeginAllowThreads();
34235 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
34236
34237 wxPyEndAllowThreads(__tstate);
34238 if (PyErr_Occurred()) SWIG_fail;
34239 }
34240 {
34241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34242 }
34243 return resultobj;
34244 fail:
34245 return NULL;
34246}
34247
34248
c370783e 34249static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34250 PyObject *resultobj;
34251 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34252 wxDC *arg2 = 0 ;
34253 wxMemoryDC *arg3 = 0 ;
34254 wxRect *arg4 = 0 ;
34255 wxRect *arg5 = 0 ;
34256 bool result;
34257 wxRect temp4 ;
34258 wxRect temp5 ;
34259 PyObject * obj0 = 0 ;
34260 PyObject * obj1 = 0 ;
34261 PyObject * obj2 = 0 ;
34262 PyObject * obj3 = 0 ;
34263 PyObject * obj4 = 0 ;
34264 char *kwnames[] = {
34265 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
34266 };
34267
34268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34270 if (SWIG_arg_fail(1)) SWIG_fail;
34271 {
34272 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
34273 if (SWIG_arg_fail(2)) SWIG_fail;
34274 if (arg2 == NULL) {
34275 SWIG_null_ref("wxDC");
34276 }
34277 if (SWIG_arg_fail(2)) SWIG_fail;
34278 }
34279 {
34280 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxMemoryDC, SWIG_POINTER_EXCEPTION | 0);
34281 if (SWIG_arg_fail(3)) SWIG_fail;
34282 if (arg3 == NULL) {
34283 SWIG_null_ref("wxMemoryDC");
34284 }
34285 if (SWIG_arg_fail(3)) SWIG_fail;
d55e5bfc
RD
34286 }
34287 {
34288 arg4 = &temp4;
34289 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
34290 }
34291 {
34292 arg5 = &temp5;
34293 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
34294 }
34295 {
34296 PyThreadState* __tstate = wxPyBeginAllowThreads();
34297 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
34298
34299 wxPyEndAllowThreads(__tstate);
34300 if (PyErr_Occurred()) SWIG_fail;
34301 }
34302 {
34303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34304 }
34305 return resultobj;
34306 fail:
34307 return NULL;
34308}
34309
34310
c370783e 34311static PyObject *_wrap_DragImage_RedrawImage(PyObject *, PyObject *args, PyObject *kwargs) {
d55e5bfc
RD
34312 PyObject *resultobj;
34313 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
34314 wxPoint *arg2 = 0 ;
34315 wxPoint *arg3 = 0 ;
34316 bool arg4 ;
34317 bool arg5 ;
34318 bool result;
34319 wxPoint temp2 ;
34320 wxPoint temp3 ;
34321 PyObject * obj0 = 0 ;
34322 PyObject * obj1 = 0 ;
34323 PyObject * obj2 = 0 ;
34324 PyObject * obj3 = 0 ;
34325 PyObject * obj4 = 0 ;
34326 char *kwnames[] = {
34327 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
34328 };
34329
34330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
34331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_EXCEPTION | 0);
34332 if (SWIG_arg_fail(1)) SWIG_fail;
d55e5bfc
RD
34333 {
34334 arg2 = &temp2;
34335 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
34336 }
34337 {
34338 arg3 = &temp3;
34339 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
34340 }
36ed4f51
RD
34341 {
34342 arg4 = (bool)(SWIG_As_bool(obj3));
34343 if (SWIG_arg_fail(4)) SWIG_fail;
34344 }
34345 {
34346 arg5 = (bool)(SWIG_As_bool(obj4));
34347 if (SWIG_arg_fail(5)) SWIG_fail;
34348 }
d55e5bfc
RD
34349 {
34350 PyThreadState* __tstate = wxPyBeginAllowThreads();
34351 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
34352
34353 wxPyEndAllowThreads(__tstate);
34354 if (PyErr_Occurred()) SWIG_fail;
34355 }
34356 {
34357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34358 }
34359 return resultobj;
34360 fail:
34361 return NULL;
34362}
34363
34364
c370783e 34365static PyObject * DragImage_swigregister(PyObject *, PyObject *args) {
d55e5bfc
RD
34366 PyObject *obj;
34367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34368 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
34369 Py_INCREF(obj);
34370 return Py_BuildValue((char *)"");
34371}
53aa7709
RD
34372static int _wrap_DatePickerCtrlNameStr_set(PyObject *) {
34373 PyErr_SetString(PyExc_TypeError,"Variable DatePickerCtrlNameStr is read-only.");
34374 return 1;
34375}
34376
34377
34378static PyObject *_wrap_DatePickerCtrlNameStr_get(void) {
34379 PyObject *pyobj;
34380
34381 {
34382#if wxUSE_UNICODE
34383 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34384#else
34385 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
34386#endif
34387 }
34388 return pyobj;
34389}
34390
34391
34392static PyObject *_wrap_new_DatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34393 PyObject *resultobj;
34394 wxWindow *arg1 = (wxWindow *) 0 ;
34395 int arg2 = (int) -1 ;
34396 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
34397 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
34398 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34399 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34400 wxSize const &arg5_defvalue = wxDefaultSize ;
34401 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34402 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34403 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34404 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34405 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
34406 wxString *arg8 = (wxString *) &arg8_defvalue ;
34407 wxDatePickerCtrl *result;
34408 wxPoint temp4 ;
34409 wxSize temp5 ;
34410 bool temp8 = false ;
34411 PyObject * obj0 = 0 ;
34412 PyObject * obj1 = 0 ;
34413 PyObject * obj2 = 0 ;
34414 PyObject * obj3 = 0 ;
34415 PyObject * obj4 = 0 ;
34416 PyObject * obj5 = 0 ;
34417 PyObject * obj6 = 0 ;
34418 PyObject * obj7 = 0 ;
34419 char *kwnames[] = {
34420 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34421 };
34422
34423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
34424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34425 if (SWIG_arg_fail(1)) SWIG_fail;
34426 if (obj1) {
34427 {
34428 arg2 = (int)(SWIG_As_int(obj1));
34429 if (SWIG_arg_fail(2)) SWIG_fail;
34430 }
34431 }
34432 if (obj2) {
34433 {
34434 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34435 if (SWIG_arg_fail(3)) SWIG_fail;
34436 if (arg3 == NULL) {
34437 SWIG_null_ref("wxDateTime");
34438 }
34439 if (SWIG_arg_fail(3)) SWIG_fail;
34440 }
34441 }
34442 if (obj3) {
34443 {
34444 arg4 = &temp4;
34445 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
34446 }
34447 }
34448 if (obj4) {
34449 {
34450 arg5 = &temp5;
34451 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
34452 }
34453 }
34454 if (obj5) {
34455 {
34456 arg6 = (long)(SWIG_As_long(obj5));
34457 if (SWIG_arg_fail(6)) SWIG_fail;
34458 }
34459 }
34460 if (obj6) {
34461 {
34462 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34463 if (SWIG_arg_fail(7)) SWIG_fail;
34464 if (arg7 == NULL) {
34465 SWIG_null_ref("wxValidator");
34466 }
34467 if (SWIG_arg_fail(7)) SWIG_fail;
34468 }
34469 }
34470 if (obj7) {
34471 {
34472 arg8 = wxString_in_helper(obj7);
34473 if (arg8 == NULL) SWIG_fail;
34474 temp8 = true;
34475 }
34476 }
34477 {
34478 if (!wxPyCheckForApp()) SWIG_fail;
34479 PyThreadState* __tstate = wxPyBeginAllowThreads();
34480 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34481
34482 wxPyEndAllowThreads(__tstate);
34483 if (PyErr_Occurred()) SWIG_fail;
34484 }
34485 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34486 {
34487 if (temp8)
34488 delete arg8;
34489 }
34490 return resultobj;
34491 fail:
34492 {
34493 if (temp8)
34494 delete arg8;
34495 }
34496 return NULL;
34497}
34498
34499
34500static PyObject *_wrap_new_PreDatePickerCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
34501 PyObject *resultobj;
34502 wxDatePickerCtrl *result;
34503 char *kwnames[] = {
34504 NULL
34505 };
34506
34507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDatePickerCtrl",kwnames)) goto fail;
34508 {
34509 if (!wxPyCheckForApp()) SWIG_fail;
34510 PyThreadState* __tstate = wxPyBeginAllowThreads();
34511 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
34512
34513 wxPyEndAllowThreads(__tstate);
34514 if (PyErr_Occurred()) SWIG_fail;
34515 }
34516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDatePickerCtrl, 1);
34517 return resultobj;
34518 fail:
34519 return NULL;
34520}
34521
34522
34523static PyObject *_wrap_DatePickerCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
34524 PyObject *resultobj;
34525 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34526 wxWindow *arg2 = (wxWindow *) 0 ;
34527 int arg3 = (int) -1 ;
34528 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
34529 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
34530 wxPoint const &arg5_defvalue = wxDefaultPosition ;
34531 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
34532 wxSize const &arg6_defvalue = wxDefaultSize ;
34533 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
34534 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
34535 wxValidator const &arg8_defvalue = wxDefaultValidator ;
34536 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
34537 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
34538 wxString *arg9 = (wxString *) &arg9_defvalue ;
34539 bool result;
34540 wxPoint temp5 ;
34541 wxSize temp6 ;
34542 bool temp9 = false ;
34543 PyObject * obj0 = 0 ;
34544 PyObject * obj1 = 0 ;
34545 PyObject * obj2 = 0 ;
34546 PyObject * obj3 = 0 ;
34547 PyObject * obj4 = 0 ;
34548 PyObject * obj5 = 0 ;
34549 PyObject * obj6 = 0 ;
34550 PyObject * obj7 = 0 ;
34551 PyObject * obj8 = 0 ;
34552 char *kwnames[] = {
34553 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34554 };
34555
34556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
34557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34558 if (SWIG_arg_fail(1)) SWIG_fail;
34559 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
34560 if (SWIG_arg_fail(2)) SWIG_fail;
34561 if (obj2) {
34562 {
34563 arg3 = (int)(SWIG_As_int(obj2));
34564 if (SWIG_arg_fail(3)) SWIG_fail;
34565 }
34566 }
34567 if (obj3) {
34568 {
34569 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34570 if (SWIG_arg_fail(4)) SWIG_fail;
34571 if (arg4 == NULL) {
34572 SWIG_null_ref("wxDateTime");
34573 }
34574 if (SWIG_arg_fail(4)) SWIG_fail;
34575 }
34576 }
34577 if (obj4) {
34578 {
34579 arg5 = &temp5;
34580 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
34581 }
34582 }
34583 if (obj5) {
34584 {
34585 arg6 = &temp6;
34586 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
34587 }
34588 }
34589 if (obj6) {
34590 {
34591 arg7 = (long)(SWIG_As_long(obj6));
34592 if (SWIG_arg_fail(7)) SWIG_fail;
34593 }
34594 }
34595 if (obj7) {
34596 {
34597 SWIG_Python_ConvertPtr(obj7, (void **)&arg8, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
34598 if (SWIG_arg_fail(8)) SWIG_fail;
34599 if (arg8 == NULL) {
34600 SWIG_null_ref("wxValidator");
34601 }
34602 if (SWIG_arg_fail(8)) SWIG_fail;
34603 }
34604 }
34605 if (obj8) {
34606 {
34607 arg9 = wxString_in_helper(obj8);
34608 if (arg9 == NULL) SWIG_fail;
34609 temp9 = true;
34610 }
34611 }
34612 {
34613 PyThreadState* __tstate = wxPyBeginAllowThreads();
34614 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
34615
34616 wxPyEndAllowThreads(__tstate);
34617 if (PyErr_Occurred()) SWIG_fail;
34618 }
34619 {
34620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34621 }
34622 {
34623 if (temp9)
34624 delete arg9;
34625 }
34626 return resultobj;
34627 fail:
34628 {
34629 if (temp9)
34630 delete arg9;
34631 }
34632 return NULL;
34633}
34634
34635
34636static PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34637 PyObject *resultobj;
34638 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34639 wxDateTime *arg2 = 0 ;
34640 PyObject * obj0 = 0 ;
34641 PyObject * obj1 = 0 ;
34642 char *kwnames[] = {
34643 (char *) "self",(char *) "dt", NULL
34644 };
34645
34646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
34647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34648 if (SWIG_arg_fail(1)) SWIG_fail;
34649 {
34650 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34651 if (SWIG_arg_fail(2)) SWIG_fail;
34652 if (arg2 == NULL) {
34653 SWIG_null_ref("wxDateTime");
34654 }
34655 if (SWIG_arg_fail(2)) SWIG_fail;
34656 }
34657 {
34658 PyThreadState* __tstate = wxPyBeginAllowThreads();
34659 (arg1)->SetValue((wxDateTime const &)*arg2);
34660
34661 wxPyEndAllowThreads(__tstate);
34662 if (PyErr_Occurred()) SWIG_fail;
34663 }
34664 Py_INCREF(Py_None); resultobj = Py_None;
34665 return resultobj;
34666 fail:
34667 return NULL;
34668}
34669
34670
34671static PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
34672 PyObject *resultobj;
34673 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34674 wxDateTime result;
34675 PyObject * obj0 = 0 ;
34676 char *kwnames[] = {
34677 (char *) "self", NULL
34678 };
34679
34680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetValue",kwnames,&obj0)) goto fail;
34681 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34682 if (SWIG_arg_fail(1)) SWIG_fail;
34683 {
34684 PyThreadState* __tstate = wxPyBeginAllowThreads();
34685 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
34686
34687 wxPyEndAllowThreads(__tstate);
34688 if (PyErr_Occurred()) SWIG_fail;
34689 }
34690 {
34691 wxDateTime * resultptr;
34692 resultptr = new wxDateTime((wxDateTime &)(result));
34693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34694 }
34695 return resultobj;
34696 fail:
34697 return NULL;
34698}
34699
34700
34701static PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *, PyObject *args, PyObject *kwargs) {
34702 PyObject *resultobj;
34703 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34704 wxDateTime *arg2 = 0 ;
34705 wxDateTime *arg3 = 0 ;
34706 PyObject * obj0 = 0 ;
34707 PyObject * obj1 = 0 ;
34708 PyObject * obj2 = 0 ;
34709 char *kwnames[] = {
34710 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
34711 };
34712
34713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
34714 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34715 if (SWIG_arg_fail(1)) SWIG_fail;
34716 {
34717 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34718 if (SWIG_arg_fail(2)) SWIG_fail;
34719 if (arg2 == NULL) {
34720 SWIG_null_ref("wxDateTime");
34721 }
34722 if (SWIG_arg_fail(2)) SWIG_fail;
34723 }
34724 {
34725 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxDateTime, SWIG_POINTER_EXCEPTION | 0);
34726 if (SWIG_arg_fail(3)) SWIG_fail;
34727 if (arg3 == NULL) {
34728 SWIG_null_ref("wxDateTime");
34729 }
34730 if (SWIG_arg_fail(3)) SWIG_fail;
34731 }
34732 {
34733 PyThreadState* __tstate = wxPyBeginAllowThreads();
34734 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
34735
34736 wxPyEndAllowThreads(__tstate);
34737 if (PyErr_Occurred()) SWIG_fail;
34738 }
34739 Py_INCREF(Py_None); resultobj = Py_None;
34740 return resultobj;
34741 fail:
34742 return NULL;
34743}
34744
34745
34746static PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34747 PyObject *resultobj;
34748 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34749 wxDateTime result;
34750 PyObject * obj0 = 0 ;
34751 char *kwnames[] = {
34752 (char *) "self", NULL
34753 };
34754
34755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetLowerLimit",kwnames,&obj0)) goto fail;
34756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34757 if (SWIG_arg_fail(1)) SWIG_fail;
34758 {
34759 PyThreadState* __tstate = wxPyBeginAllowThreads();
34760 result = wxDatePickerCtrl_GetLowerLimit(arg1);
34761
34762 wxPyEndAllowThreads(__tstate);
34763 if (PyErr_Occurred()) SWIG_fail;
34764 }
34765 {
34766 wxDateTime * resultptr;
34767 resultptr = new wxDateTime((wxDateTime &)(result));
34768 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34769 }
34770 return resultobj;
34771 fail:
34772 return NULL;
34773}
34774
34775
34776static PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *, PyObject *args, PyObject *kwargs) {
34777 PyObject *resultobj;
34778 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
34779 wxDateTime result;
34780 PyObject * obj0 = 0 ;
34781 char *kwnames[] = {
34782 (char *) "self", NULL
34783 };
34784
34785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DatePickerCtrl_GetUpperLimit",kwnames,&obj0)) goto fail;
34786 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_EXCEPTION | 0);
34787 if (SWIG_arg_fail(1)) SWIG_fail;
34788 {
34789 PyThreadState* __tstate = wxPyBeginAllowThreads();
34790 result = wxDatePickerCtrl_GetUpperLimit(arg1);
34791
34792 wxPyEndAllowThreads(__tstate);
34793 if (PyErr_Occurred()) SWIG_fail;
34794 }
34795 {
34796 wxDateTime * resultptr;
34797 resultptr = new wxDateTime((wxDateTime &)(result));
34798 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
34799 }
34800 return resultobj;
34801 fail:
34802 return NULL;
34803}
34804
34805
34806static PyObject * DatePickerCtrl_swigregister(PyObject *, PyObject *args) {
34807 PyObject *obj;
34808 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34809 SWIG_TypeClientData(SWIGTYPE_p_wxDatePickerCtrl, obj);
34810 Py_INCREF(obj);
34811 return Py_BuildValue((char *)"");
34812}
d55e5bfc 34813static PyMethodDef SwigMethods[] = {
36ed4f51
RD
34814 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34817 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34818 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
34821 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
34823 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34825 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34826 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34827 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34828 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34831 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
34832 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34833 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS, NULL},
34834 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
34836 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34837 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34842 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34843 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
34844 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS, NULL},
34845 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS, NULL},
34846 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
34848 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS, NULL},
34850 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
34851 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34852 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
34853 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34854 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
34855 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34856 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34857 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34858 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
34859 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
34860 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
34861 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34862 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
34863 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34864 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
34865 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34866 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
34867 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34868 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
34869 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34870 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
34871 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
34872 { (char *)"ComboBox_IsEditable", (PyCFunction) _wrap_ComboBox_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34873 { (char *)"ComboBox_Undo", (PyCFunction) _wrap_ComboBox_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
34874 { (char *)"ComboBox_Redo", (PyCFunction) _wrap_ComboBox_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
34875 { (char *)"ComboBox_SelectAll", (PyCFunction) _wrap_ComboBox_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34876 { (char *)"ComboBox_CanCopy", (PyCFunction) _wrap_ComboBox_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
34877 { (char *)"ComboBox_CanCut", (PyCFunction) _wrap_ComboBox_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
34878 { (char *)"ComboBox_CanPaste", (PyCFunction) _wrap_ComboBox_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
34879 { (char *)"ComboBox_CanUndo", (PyCFunction) _wrap_ComboBox_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
34880 { (char *)"ComboBox_CanRedo", (PyCFunction) _wrap_ComboBox_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
34881 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34882 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
34883 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
34884 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS, NULL},
34885 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34886 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34887 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34888 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34889 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34890 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34891 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34892 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34893 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34894 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
34895 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34896 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
34897 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34898 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
34899 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34900 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34901 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
34902 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34903 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
34904 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34905 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
34906 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34907 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34908 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
34909 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34910 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS, NULL},
34911 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34912 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34913 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
34914 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34915 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34916 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34917 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34918 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34919 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34920 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34921 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
34922 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34923 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34924 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34925 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
34926 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
34927 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
34928 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34929 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34930 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34931 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
34932 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
34933 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34934 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34935 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
34936 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
34937 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34938 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34939 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS, NULL},
34940 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34941 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34942 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
34943 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34944 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
34945 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34946 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34947 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34948 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
34949 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
34950 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34951 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
34952 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
34953 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34954 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
34955 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS, NULL},
34956 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34957 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34958 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34959 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34960 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34961 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34962 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34963 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34964 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34965 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34966 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
34967 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34968 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34969 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34970 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34971 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
34972 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
34973 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
34974 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
34975 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34976 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
34977 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34978 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34979 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
34980 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34981 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
34982 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
34983 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
34984 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34985 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
34986 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34987 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34988 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34989 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34990 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
34991 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
34992 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS, NULL},
34993 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS, NULL},
34994 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS, NULL},
34995 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
34996 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS, NULL},
34997 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34998 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34999 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35000 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
35001 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
35002 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
35003 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
35004 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS, NULL},
35005 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS, NULL},
35006 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
35007 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
35008 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
35009 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
35010 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35011 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35012 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35013 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35014 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35015 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
35016 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35017 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35018 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
35019 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
35020 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
35021 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
35022 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS, NULL},
35023 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS, NULL},
35024 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
35025 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
35026 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
35027 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
35028 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
35029 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35030 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35031 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35032 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35033 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35034 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35035 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
35036 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
35037 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35038 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35039 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
35040 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35041 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35042 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS, NULL},
35043 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35044 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
35045 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35046 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
35047 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35048 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35049 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS, NULL},
35050 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35051 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35052 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35053 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35054 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
35055 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35056 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
35057 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35058 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
35059 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35060 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35061 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35062 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35063 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35064 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35065 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35066 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35067 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35068 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35069 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
35070 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35071 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35072 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35073 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35074 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35075 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
35076 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35077 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35078 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35079 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35080 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35081 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
35082 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35083 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35084 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35085 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
35086 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35087 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
35088 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35089 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35090 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35091 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35092 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35093 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35094 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
35095 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
35096 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
35097 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
35098 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
35099 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35100 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35101 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35102 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35103 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
35104 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35105 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
35106 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35107 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35108 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35109 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35110 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
35111 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
35112 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS, NULL},
35113 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35114 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35115 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35116 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35117 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35118 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35119 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
35120 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
35121 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35122 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35123 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
35124 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35125 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35126 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
35127 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35128 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
35129 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS, NULL},
35130 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
35131 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS, NULL},
35132 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS, NULL},
35133 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS, NULL},
35134 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35135 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35136 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
35137 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35138 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
35139 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35140 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35141 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35142 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35143 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35144 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
35145 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction) _wrap_BookCtrlBase_GetPageCount, METH_VARARGS | METH_KEYWORDS, NULL},
35146 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
35147 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction) _wrap_BookCtrlBase_GetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
35148 { (char *)"BookCtrlBase_GetSelection", (PyCFunction) _wrap_BookCtrlBase_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35149 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35150 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
35151 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35152 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35153 { (char *)"BookCtrlBase_GetImageList", (PyCFunction) _wrap_BookCtrlBase_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35154 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35155 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
35156 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
35157 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
35158 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
35159 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
35160 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction) _wrap_BookCtrlBase_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35161 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
35162 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
35163 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35164 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35165 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35166 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
35167 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35168 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35169 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35170 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35171 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35172 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
35173 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
35174 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35175 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35176 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
35177 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
35178 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
35179 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35180 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
091fdbfa 35181 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction) _wrap_Notebook_GetThemeBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35182 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35183 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
35184 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35185 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
35186 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
35187 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS, NULL},
35188 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35189 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35190 { (char *)"Listbook_GetListView", (PyCFunction) _wrap_Listbook_GetListView, METH_VARARGS | METH_KEYWORDS, NULL},
35191 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
35192 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35193 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
35194 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35195 { (char *)"new_PreChoicebook", (PyCFunction) _wrap_new_PreChoicebook, METH_VARARGS | METH_KEYWORDS, NULL},
35196 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35197 { (char *)"Choicebook_IsVertical", (PyCFunction) _wrap_Choicebook_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
7993762b 35198 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction) _wrap_Choicebook_GetChoiceCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35199 { (char *)"Choicebook_DeleteAllPages", (PyCFunction) _wrap_Choicebook_DeleteAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
35200 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
35201 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35202 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
35203 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35204 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35205 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35206 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35207 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS, NULL},
35208 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS, NULL},
35209 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL},
35210 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL},
35211 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS, NULL},
35212 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS, NULL},
35213 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35214 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
35215 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35216 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS, NULL},
35217 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS, NULL},
35218 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35219 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35220 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS, NULL},
35221 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35222 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35223 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS, NULL},
35224 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35225 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35226 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35227 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35228 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35229 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35230 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
35231 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35232 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35233 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35234 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35235 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35236 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35237 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35238 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS, NULL},
35239 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
35240 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35241 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35242 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
35243 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
35244 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
35245 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35246 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
35247 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
35248 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
35249 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
35250 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35251 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
35252 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
35253 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
35254 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
35255 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS, NULL},
35256 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS, NULL},
35257 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
35258 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
35259 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
35260 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35261 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
35262 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
35263 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
35264 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
35265 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35266 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35267 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35268 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35269 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
35270 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35271 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35272 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35273 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35274 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
35275 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
35276 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
35277 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
35278 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
35279 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS, NULL},
35280 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS, NULL},
35281 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35282 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
35283 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS, NULL},
35284 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35285 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
35286 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS, NULL},
35287 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
35288 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35289 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
35290 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35291 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35292 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35293 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
35294 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
35295 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35296 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35297 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35298 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35299 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35300 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS, NULL},
35301 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35302 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35303 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35304 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35305 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
35306 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35307 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35308 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
35309 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35310 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35311 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35312 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35313 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
35314 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
35315 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
35316 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35317 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35318 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35319 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35320 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35321 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35322 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35323 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35324 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35325 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35326 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
35327 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35328 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35329 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35330 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35331 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
35332 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35333 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35334 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35335 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35336 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS, NULL},
35337 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35338 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35339 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS, NULL},
35340 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS, NULL},
35341 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35342 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35343 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS, NULL},
35344 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS, NULL},
35345 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS, NULL},
35346 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS, NULL},
35347 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS, NULL},
35348 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS, NULL},
35349 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS, NULL},
35350 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS, NULL},
35351 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS, NULL},
35352 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS, NULL},
35353 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS, NULL},
35354 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS, NULL},
35355 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS, NULL},
35356 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS, NULL},
35357 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
35358 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35359 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS, NULL},
35360 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS, NULL},
35361 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35362 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35363 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS, NULL},
35364 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS, NULL},
35365 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS, NULL},
35366 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS, NULL},
35367 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS, NULL},
35368 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS, NULL},
35369 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS, NULL},
35370 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35371 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35372 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35373 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35374 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35375 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
35376 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
35377 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35378 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS, NULL},
35379 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35380 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS, NULL},
35381 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS, NULL},
35382 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35383 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35384 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
35385 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35386 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35387 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35388 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35389 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35390 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35391 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35392 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35393 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35394 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
35395 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS, NULL},
35396 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS, NULL},
35397 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35398 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35399 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35400 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35401 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
35402 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35403 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35404 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35405 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35406 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35407 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35408 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
35409 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35410 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35411 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
35412 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35413 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35414 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35415 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35416 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35417 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS, NULL},
35418 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
35419 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL},
35420 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
35421 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35422 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35423 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35424 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS, NULL},
35425 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS, NULL},
35426 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
35427 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
35428 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
35429 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
35430 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35431 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35432 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS, NULL},
35433 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
35434 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35435 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35436 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
35437 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35438 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
35439 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35440 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35441 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
35442 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
35443 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
a3957d3d 35444 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35445 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
35446 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
35447 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
35448 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35449 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35450 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35451 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35452 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
35453 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35454 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35455 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
35456 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
35457 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS, NULL},
35458 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35459 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
35460 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
35461 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS, NULL},
35462 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35463 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35464 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35465 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35466 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
35467 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
35468 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35469 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS, NULL},
35470 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS, NULL},
35471 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
35472 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
35473 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS, NULL},
35474 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS, NULL},
35475 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
35476 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35477 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS, NULL},
35478 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
35479 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS, NULL},
35480 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
35481 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35482 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
35483 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35484 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35485 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
35486 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35487 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
35488 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35489 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
35490 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35491 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL},
35492 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35493 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35494 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35495 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS, NULL},
35496 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
35497 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
dcb8fc74 35498 { (char *)"TreeEvent_GetToolTip", (PyCFunction) _wrap_TreeEvent_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35499 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
35500 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35501 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35502 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35503 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35504 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
35505 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35506 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
35507 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35508 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
35509 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35510 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35511 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35512 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35513 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35514 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
35515 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35516 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35517 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35518 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35519 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35520 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35521 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35522 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
35523 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
35524 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
35525 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
35526 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35527 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
fef4c27a 35528 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35529 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
35530 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
35531 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
35532 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35533 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35534 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
35535 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
35536 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
35537 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
35538 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
35539 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35540 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
35541 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
35542 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
35543 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
35544 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
35545 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35546 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
35547 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
35548 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35549 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35550 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
35551 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
35552 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
35553 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
35554 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
35555 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
35556 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35557 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
35558 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
35559 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
35560 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
35561 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
35562 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
35563 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35564 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
35565 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
35566 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
35567 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
35568 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
35569 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
35570 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS, NULL},
35571 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
35572 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
35573 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
35574 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35575 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
35576 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35577 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35578 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35579 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
35580 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35581 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
35582 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35583 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS, NULL},
35584 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
35585 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35586 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
35587 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35588 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
35589 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35590 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
35591 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS, NULL},
35592 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35593 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35594 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
35595 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS, NULL},
35596 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS, NULL},
35597 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
35598 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35599 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35600 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35601 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
35602 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
35603 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35604 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS, NULL},
35605 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
35606 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 35607 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35608 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35609 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35610 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35611 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35612 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS, NULL},
35613 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
35614 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35615 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
35616 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
35617 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL},
35618 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35619 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35620 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS, NULL},
35621 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL},
35622 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL},
35623 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL},
35624 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS, NULL},
35625 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
35626 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
35627 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
35628 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
35629 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
35630 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35631 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
35632 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35633 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
35634 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35635 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
35636 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
35637 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35638 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35639 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35640 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35641 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
35642 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
35643 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
35644 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
35645 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS, NULL},
35646 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35647 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35648 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35649 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
35650 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
35651 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS, NULL},
35652 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
35653 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS, NULL},
35654 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
35655 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35656 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
35657 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
35658 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
35659 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
35660 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
35661 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
35662 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35663 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
35664 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS, NULL},
35665 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
35666 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS, NULL},
35667 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS, NULL},
35668 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
35669 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35670 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
35671 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
35672 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
53aa7709
RD
35673 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35674 { (char *)"new_PreDatePickerCtrl", (PyCFunction) _wrap_new_PreDatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
35675 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
35676 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35677 { (char *)"DatePickerCtrl_GetValue", (PyCFunction) _wrap_DatePickerCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
35678 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
35679 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction) _wrap_DatePickerCtrl_GetLowerLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35680 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction) _wrap_DatePickerCtrl_GetUpperLimit, METH_VARARGS | METH_KEYWORDS, NULL},
35681 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
c370783e 35682 { NULL, NULL, 0, NULL }
d55e5bfc
RD
35683};
35684
35685
35686/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35687
d55e5bfc
RD
35688static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
35689 return (void *)((wxSizer *) ((wxBoxSizer *) x));
35690}
35691static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
35692 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
35693}
62d32a5f
RD
35694static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x) {
35695 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35696}
d55e5bfc
RD
35697static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
35698 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35699}
35700static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
35701 return (void *)((wxSizer *) ((wxGridSizer *) x));
35702}
35703static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
35704 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
35705}
35706static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
35707 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
35708}
35709static void *_p_wxPySizerTo_p_wxSizer(void *x) {
35710 return (void *)((wxSizer *) ((wxPySizer *) x));
35711}
35712static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
35713 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
35714}
35715static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
35716 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
35717}
35718static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
35719 return (void *)((wxEvent *) ((wxMenuEvent *) x));
35720}
35721static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
35722 return (void *)((wxEvent *) ((wxCloseEvent *) x));
35723}
35724static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
35725 return (void *)((wxEvent *) ((wxMouseEvent *) x));
35726}
35727static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
35728 return (void *)((wxEvent *) ((wxEraseEvent *) x));
35729}
6e0de3df
RD
35730static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
35731 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35732}
d55e5bfc
RD
35733static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
35734 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
35735}
35736static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
35737 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
35738}
35739static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
35740 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
35741}
35742static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
35743 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
35744}
35745static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
35746 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
35747}
d55e5bfc
RD
35748static void *_p_wxPyEventTo_p_wxEvent(void *x) {
35749 return (void *)((wxEvent *) ((wxPyEvent *) x));
35750}
35751static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
35752 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
35753}
35754static void *_p_wxListEventTo_p_wxEvent(void *x) {
35755 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
35756}
35757static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 35758 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35759}
35760static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 35761 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35762}
b411df4a 35763static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 35764 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 35765}
d55e5bfc
RD
35766static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
35767 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
35768}
35769static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
35770 return (void *)((wxEvent *) ((wxIdleEvent *) x));
35771}
35772static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
35773 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
35774}
35775static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
35776 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
35777}
35778static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
35779 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
35780}
35781static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
35782 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
35783}
35784static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
35785 return (void *)((wxEvent *) ((wxActivateEvent *) x));
35786}
35787static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
35788 return (void *)((wxEvent *) ((wxSizeEvent *) x));
35789}
35790static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
35791 return (void *)((wxEvent *) ((wxMoveEvent *) x));
35792}
53aa7709
RD
35793static void *_p_wxDateEventTo_p_wxEvent(void *x) {
35794 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
35795}
d55e5bfc
RD
35796static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
35797 return (void *)((wxEvent *) ((wxPaintEvent *) x));
35798}
35799static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
35800 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
35801}
35802static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
35803 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
35804}
35805static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
35806 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
35807}
35808static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
35809 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
35810}
35811static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
35812 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35813}
35814static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
35815 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
35816}
35817static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
35818 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
35819}
35820static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
35821 return (void *)((wxEvent *) ((wxFocusEvent *) x));
35822}
35823static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
35824 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
35825}
35826static void *_p_wxShowEventTo_p_wxEvent(void *x) {
35827 return (void *)((wxEvent *) ((wxShowEvent *) x));
35828}
35829static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
35830 return (void *)((wxEvent *) ((wxCommandEvent *) x));
35831}
35832static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
35833 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
35834}
35835static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
35836 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35837}
35838static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
35839 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
35840}
35841static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
35842 return (void *)((wxEvent *) ((wxKeyEvent *) x));
35843}
35844static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
35845 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
35846}
35847static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
35848 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
35849}
35850static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
35851 return (void *)((wxItemContainer *) ((wxComboBox *) x));
35852}
35853static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
35854 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
35855}
35856static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
35857 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
35858}
35859static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
35860 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
35861}
35862static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
35863 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
35864}
35865static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
35866 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35867}
35868static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
35869 return (void *)((wxPyListCtrl *) ((wxListView *) x));
35870}
6e0de3df
RD
35871static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
35872 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
d55e5bfc
RD
35873}
35874static void *_p_wxToolBarTo_p_wxControl(void *x) {
35875 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
35876}
b411df4a
RD
35877static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
35878 return (void *)((wxControl *) ((wxToggleButton *) x));
d55e5bfc 35879}
b411df4a
RD
35880static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
35881 return (void *)((wxControl *) ((wxRadioButton *) x));
d55e5bfc 35882}
b411df4a
RD
35883static void *_p_wxPyControlTo_p_wxControl(void *x) {
35884 return (void *)((wxControl *) ((wxPyControl *) x));
d55e5bfc 35885}
b411df4a
RD
35886static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
35887 return (void *)((wxControl *) ((wxToolBarBase *) x));
35888}
35889static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
35890 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
d55e5bfc
RD
35891}
35892static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
35893 return (void *)((wxControl *) ((wxPyListCtrl *) x));
35894}
b411df4a
RD
35895static void *_p_wxComboBoxTo_p_wxControl(void *x) {
35896 return (void *)((wxControl *) ((wxComboBox *) x));
d55e5bfc 35897}
b411df4a
RD
35898static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
35899 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
d55e5bfc
RD
35900}
35901static void *_p_wxScrollBarTo_p_wxControl(void *x) {
35902 return (void *)((wxControl *) ((wxScrollBar *) x));
35903}
b411df4a
RD
35904static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
35905 return (void *)((wxControl *) ((wxControlWithItems *) x));
d55e5bfc
RD
35906}
35907static void *_p_wxGaugeTo_p_wxControl(void *x) {
35908 return (void *)((wxControl *) ((wxGauge *) x));
35909}
b411df4a
RD
35910static void *_p_wxStaticLineTo_p_wxControl(void *x) {
35911 return (void *)((wxControl *) ((wxStaticLine *) x));
d55e5bfc 35912}
b411df4a 35913static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 35914 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
d55e5bfc 35915}
b411df4a 35916static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 35917 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc 35918}
b411df4a
RD
35919static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
35920 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
d55e5bfc 35921}
b411df4a
RD
35922static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
35923 return (void *)((wxControl *) ((wxCheckBox *) x));
d55e5bfc
RD
35924}
35925static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
35926 return (void *)((wxControl *) ((wxRadioBox *) x));
35927}
b411df4a
RD
35928static void *_p_wxChoiceTo_p_wxControl(void *x) {
35929 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
35930}
35931static void *_p_wxListBoxTo_p_wxControl(void *x) {
35932 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
35933}
35934static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
35935 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
35936}
35937static void *_p_wxListViewTo_p_wxControl(void *x) {
35938 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
35939}
d55e5bfc 35940static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 35941 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc 35942}
b411df4a
RD
35943static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
35944 return (void *)((wxControl *) ((wxStaticBitmap *) x));
d55e5bfc 35945}
b411df4a
RD
35946static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
35947 return (void *)((wxControl *) ((wxSpinCtrl *) x));
d55e5bfc 35948}
b411df4a
RD
35949static void *_p_wxStaticTextTo_p_wxControl(void *x) {
35950 return (void *)((wxControl *) ((wxStaticText *) x));
d55e5bfc 35951}
b411df4a
RD
35952static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
35953 return (void *)((wxControl *) ((wxStaticBox *) x));
d55e5bfc
RD
35954}
35955static void *_p_wxSliderTo_p_wxControl(void *x) {
35956 return (void *)((wxControl *) ((wxSlider *) x));
35957}
b411df4a
RD
35958static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
35959 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
d55e5bfc 35960}
b411df4a
RD
35961static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
35962 return (void *)((wxControl *) ((wxSpinButton *) x));
d55e5bfc 35963}
b411df4a
RD
35964static void *_p_wxButtonTo_p_wxControl(void *x) {
35965 return (void *)((wxControl *) ((wxButton *) x));
d55e5bfc 35966}
b411df4a
RD
35967static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
35968 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
35969}
53aa7709
RD
35970static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
35971 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
35972}
b411df4a
RD
35973static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
35974 return (void *)((wxControl *) ((wxTextCtrl *) x));
d55e5bfc
RD
35975}
35976static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
35977 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
35978}
35979static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
35980 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
35981}
6e0de3df
RD
35982static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
35983 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
35984}
d55e5bfc
RD
35985static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
35986 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
35987}
d55e5bfc
RD
35988static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
35989 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
35990}
35991static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
35992 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
35993}
35994static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 35995 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
35996}
35997static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df 35998 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 35999}
b411df4a 36000static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
6e0de3df
RD
36001 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36002}
36003static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
36004 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
36005}
36006static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
36007 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
b411df4a 36008}
6e0de3df
RD
36009static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
36010 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36011}
36012static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
36013 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
36014}
6e0de3df
RD
36015static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
36016 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36017}
d55e5bfc
RD
36018static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
36019 return (void *)((wxEvtHandler *) ((wxValidator *) x));
36020}
36021static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
36022 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
36023}
36024static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
36025 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36026}
36027static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
36028 return (void *)((wxEvtHandler *) ((wxMenu *) x));
36029}
36030static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
36031 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
36032}
36033static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
36034 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
36035}
36036static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
36037 return (void *)((wxEvtHandler *) ((wxWindow *) x));
36038}
36039static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
36040 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
36041}
36042static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
36043 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36044}
d55e5bfc
RD
36045static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
36046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
36047}
b411df4a
RD
36048static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
36049 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36050}
d55e5bfc
RD
36051static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
36052 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36053}
36054static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
36055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
36056}
36057static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
36058 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
36059}
36060static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
36061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36062}
36063static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
36064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
36065}
36066static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
36067 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36068}
36069static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
36070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
36071}
36072static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
36073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
36074}
b411df4a 36075static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 36076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36077}
d55e5bfc 36078static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 36079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36080}
36081static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
36082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36083}
36084static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
36085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
36086}
36087static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
36088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
36089}
36090static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
36091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36092}
36093static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
36094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36095}
36096static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
36097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36098}
36099static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 36100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36101}
36102static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
36103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36104}
36105static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
36106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36107}
36108static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
36109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36110}
36111static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
36112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
36113}
36114static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
36115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
36116}
36117static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
36118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
36119}
36120static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
36121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
36122}
36123static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
36124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
36125}
36126static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
36127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36128}
36129static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
36130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36131}
53aa7709
RD
36132static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
36133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36134}
d55e5bfc
RD
36135static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
36136 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36137}
36138static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
36139 return (void *)((wxListBox *) ((wxCheckListBox *) x));
36140}
d55e5bfc
RD
36141static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
36142 return (void *)((wxButton *) ((wxBitmapButton *) x));
36143}
36144static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
36145 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
36146}
36147static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
36148 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
36149}
36150static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
36151 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
36152}
36153static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
36154 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
36155}
36156static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
36157 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
36158}
36159static void *_p_wxSizerItemTo_p_wxObject(void *x) {
36160 return (void *)((wxObject *) ((wxSizerItem *) x));
36161}
36162static void *_p_wxScrollEventTo_p_wxObject(void *x) {
36163 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
36164}
36165static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
36166 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
36167}
36168static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
36169 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
36170}
d55e5bfc
RD
36171static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
36172 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
36173}
36174static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
36175 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
36176}
36177static void *_p_wxSizerTo_p_wxObject(void *x) {
36178 return (void *)((wxObject *) ((wxSizer *) x));
36179}
36180static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
36181 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
36182}
36183static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
36184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
36185}
36186static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
36187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
36188}
36189static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
36190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
36191}
36192static void *_p_wxEventTo_p_wxObject(void *x) {
36193 return (void *)((wxObject *) ((wxEvent *) x));
36194}
36195static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
36196 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
36197}
36198static void *_p_wxGridSizerTo_p_wxObject(void *x) {
36199 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
36200}
36201static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
36202 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
36203}
36204static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
36205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
36206}
36207static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
36208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
36209}
36210static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
36211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36212}
36213static void *_p_wxPaintEventTo_p_wxObject(void *x) {
36214 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
36215}
36216static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
36217 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
36218}
36219static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
36220 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
36221}
36222static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
36223 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
36224}
36225static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
36226 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
36227}
36228static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
36229 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
36230}
36231static void *_p_wxStaticLineTo_p_wxObject(void *x) {
36232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
36233}
36234static void *_p_wxControlTo_p_wxObject(void *x) {
36235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
36236}
36237static void *_p_wxPyControlTo_p_wxObject(void *x) {
36238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
36239}
36240static void *_p_wxGaugeTo_p_wxObject(void *x) {
36241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
36242}
36243static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
36244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
36245}
36246static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
36247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
36248}
36249static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
36250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
36251}
36252static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
36253 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
36254}
36255static void *_p_wxChoiceTo_p_wxObject(void *x) {
36256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36257}
36258static void *_p_wxFSFileTo_p_wxObject(void *x) {
36259 return (void *)((wxObject *) ((wxFSFile *) x));
36260}
36261static void *_p_wxPySizerTo_p_wxObject(void *x) {
36262 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
36263}
36264static void *_p_wxListViewTo_p_wxObject(void *x) {
36265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36266}
36267static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
36268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
36269}
36270static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 36271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36272}
36273static void *_p_wxPyEventTo_p_wxObject(void *x) {
36274 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
36275}
36276static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
36277 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
36278}
b411df4a 36279static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df 36280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36281}
d55e5bfc 36282static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 36283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36284}
36285static void *_p_wxShowEventTo_p_wxObject(void *x) {
36286 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
36287}
36288static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
36289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
36290}
36291static void *_p_wxSliderTo_p_wxObject(void *x) {
36292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
36293}
36294static void *_p_wxMenuItemTo_p_wxObject(void *x) {
36295 return (void *)((wxObject *) ((wxMenuItem *) x));
36296}
53aa7709
RD
36297static void *_p_wxDateEventTo_p_wxObject(void *x) {
36298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
36299}
d55e5bfc
RD
36300static void *_p_wxIdleEventTo_p_wxObject(void *x) {
36301 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
36302}
36303static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
36304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
36305}
36306static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
36307 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
36308}
36309static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
36310 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
36311}
36312static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
36313 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
36314}
36315static void *_p_wxSizeEventTo_p_wxObject(void *x) {
36316 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
36317}
36318static void *_p_wxMoveEventTo_p_wxObject(void *x) {
36319 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
36320}
36321static void *_p_wxActivateEventTo_p_wxObject(void *x) {
36322 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
36323}
36324static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
36325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
36326}
36327static void *_p_wxContextHelpTo_p_wxObject(void *x) {
36328 return (void *)((wxObject *) ((wxContextHelp *) x));
36329}
6e0de3df
RD
36330static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
36331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
36332}
d55e5bfc
RD
36333static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
36334 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
36335}
36336static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
36337 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
36338}
36339static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
36340 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
36341}
36342static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
36343 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
36344}
36345static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
36346 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
36347}
36348static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
36349 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
36350}
36351static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
36352 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
36353}
36354static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
36355 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
36356}
36357static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
36358 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
36359}
36360static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
36361 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
36362}
36363static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
36364 return (void *)((wxObject *) ((wxImageHandler *) x));
36365}
36366static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
36367 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
36368}
36369static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
36370 return (void *)((wxObject *) ((wxEvtHandler *) x));
36371}
36372static void *_p_wxListEventTo_p_wxObject(void *x) {
36373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
36374}
36375static void *_p_wxListBoxTo_p_wxObject(void *x) {
36376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36377}
36378static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
36379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36380}
d55e5bfc
RD
36381static void *_p_wxButtonTo_p_wxObject(void *x) {
36382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
36383}
36384static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
36385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
36386}
36387static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
36388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
36389}
36390static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
36391 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36392}
62d32a5f
RD
36393static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
36394 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
36395}
d55e5bfc
RD
36396static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
36397 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
36398}
36399static void *_p_wxScrollBarTo_p_wxObject(void *x) {
36400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
36401}
36402static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
36403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
36404}
36405static void *_p_wxComboBoxTo_p_wxObject(void *x) {
36406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
36407}
36408static void *_p_wxHelpEventTo_p_wxObject(void *x) {
36409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
36410}
36411static void *_p_wxListItemTo_p_wxObject(void *x) {
36412 return (void *)((wxObject *) ((wxListItem *) x));
36413}
36414static void *_p_wxImageTo_p_wxObject(void *x) {
36415 return (void *)((wxObject *) ((wxImage *) x));
36416}
36417static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
36418 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
36419}
36420static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
36421 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
36422}
36423static void *_p_wxSpinEventTo_p_wxObject(void *x) {
36424 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
36425}
36426static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
36427 return (void *)((wxObject *) ((wxGenericDragImage *) x));
36428}
36429static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
36430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
36431}
36432static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 36433 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc
RD
36434}
36435static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 36436 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc 36437}
b411df4a 36438static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 36439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 36440}
d55e5bfc
RD
36441static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
36442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36443}
36444static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
36445 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
36446}
36447static void *_p_wxKeyEventTo_p_wxObject(void *x) {
36448 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
36449}
36450static void *_p_wxWindowTo_p_wxObject(void *x) {
36451 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
36452}
36453static void *_p_wxMenuTo_p_wxObject(void *x) {
36454 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
36455}
36456static void *_p_wxMenuBarTo_p_wxObject(void *x) {
36457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
36458}
36459static void *_p_wxFileSystemTo_p_wxObject(void *x) {
36460 return (void *)((wxObject *) ((wxFileSystem *) x));
36461}
36462static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
36463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
36464}
36465static void *_p_wxMenuEventTo_p_wxObject(void *x) {
36466 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
36467}
36468static void *_p_wxPyAppTo_p_wxObject(void *x) {
36469 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
36470}
36471static void *_p_wxCloseEventTo_p_wxObject(void *x) {
36472 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
36473}
36474static void *_p_wxMouseEventTo_p_wxObject(void *x) {
36475 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
36476}
36477static void *_p_wxEraseEventTo_p_wxObject(void *x) {
36478 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
36479}
6e0de3df
RD
36480static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
36481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36482}
d55e5bfc
RD
36483static void *_p_wxTreeEventTo_p_wxObject(void *x) {
36484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
36485}
36486static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
36487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
36488}
36489static void *_p_wxCommandEventTo_p_wxObject(void *x) {
36490 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
36491}
36492static void *_p_wxStaticTextTo_p_wxObject(void *x) {
36493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
36494}
36495static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
36496 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
36497}
36498static void *_p_wxFocusEventTo_p_wxObject(void *x) {
36499 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
36500}
36501static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
36502 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
36503}
53aa7709
RD
36504static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
36505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
36506}
d55e5bfc
RD
36507static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
36508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
36509}
36510static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
36511 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
36512}
36513static void *_p_wxToolBarTo_p_wxObject(void *x) {
36514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36515}
36516static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
36517 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
36518}
36519static void *_p_wxValidatorTo_p_wxObject(void *x) {
36520 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
36521}
36522static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
36523 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
36524}
d55e5bfc
RD
36525static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
36526 return (void *)((wxWindow *) ((wxMenuBar *) x));
36527}
6e0de3df
RD
36528static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
36529 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
36530}
d55e5bfc
RD
36531static void *_p_wxToolBarTo_p_wxWindow(void *x) {
36532 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
36533}
36534static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
36535 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
36536}
36537static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
36538 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
36539}
d55e5bfc
RD
36540static void *_p_wxControlTo_p_wxWindow(void *x) {
36541 return (void *)((wxWindow *) ((wxControl *) x));
36542}
36543static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
36544 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
36545}
36546static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
36547 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
36548}
36549static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
36550 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
36551}
36552static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
36553 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
36554}
b411df4a
RD
36555static void *_p_wxPyControlTo_p_wxWindow(void *x) {
36556 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
36557}
d55e5bfc
RD
36558static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
36559 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
36560}
36561static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
36562 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
36563}
36564static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
36565 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
36566}
36567static void *_p_wxGaugeTo_p_wxWindow(void *x) {
36568 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
36569}
36570static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
36571 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
36572}
b411df4a 36573static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 36574 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 36575}
d55e5bfc 36576static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 36577 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
d55e5bfc
RD
36578}
36579static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
36580 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
36581}
36582static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
36583 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
36584}
36585static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
36586 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
36587}
36588static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
36589 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
36590}
36591static void *_p_wxChoiceTo_p_wxWindow(void *x) {
36592 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
36593}
36594static void *_p_wxListBoxTo_p_wxWindow(void *x) {
36595 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
36596}
36597static void *_p_wxListViewTo_p_wxWindow(void *x) {
36598 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
36599}
36600static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 36601 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
d55e5bfc
RD
36602}
36603static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
36604 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
36605}
36606static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
36607 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
36608}
36609static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
36610 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
36611}
36612static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
36613 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
36614}
36615static void *_p_wxSliderTo_p_wxWindow(void *x) {
36616 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
36617}
36618static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
36619 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
36620}
36621static void *_p_wxButtonTo_p_wxWindow(void *x) {
36622 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
36623}
36624static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
36625 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
36626}
36627static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
36628 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
36629}
53aa7709
RD
36630static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
36631 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
36632}
d55e5bfc
RD
36633static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
36634 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
36635}
6e0de3df
RD
36636static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36637 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
36638}
36639static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36640 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
36641}
36642static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
36643 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36644}
d55e5bfc
RD
36645static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36646 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36647}
d55e5bfc
RD
36648static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
36649 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
36650}
36651static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
36652 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
36653}
36654static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36655 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36656}
36657static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36658 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36659}
36660static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
36661 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
36662}
36663static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36664 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d55e5bfc
RD
36665}
36666static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 36667 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
d55e5bfc 36668}
53aa7709
RD
36669static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
36670 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
36671}
36672static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
36673 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
36674}
d55e5bfc
RD
36675static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
36676 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
36677}
b411df4a
RD
36678static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
36679 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
36680}
6e0de3df
RD
36681static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
36682 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
36683}
d55e5bfc
RD
36684static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
36685 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
36686}
36687static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
36688 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
36689}
36690static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
36691 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
36692}
36693static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36694 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36695}
36696static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36697 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36698}
36699static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
36700 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
36701}
36702static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
36703 return (void *)((wxControlWithItems *) ((wxChoice *) x));
36704}
36705static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
36706 return (void *)((wxControlWithItems *) ((wxListBox *) x));
36707}
36708static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
36709 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
36710}
36711static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36712 return (void *)((wxValidator *) ((wxPyValidator *) x));
36713}
36714static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
62d32a5f 36715static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36716static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36717static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36718static 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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_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_wxSpinEvent", _p_wxSpinEventTo_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}};
d55e5bfc
RD
36719static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36720static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36721static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36722static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36723static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36724static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36725static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36726static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36727static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36728static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36729static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36730static 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}};
36731static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36732static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36733static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36734static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
36735static 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}};
36736static 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}};
d55e5bfc
RD
36737static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36738static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36739static 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}};
36740static 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}};
36741static 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}};
36742static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36743static 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}};
36744static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36745static 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}};
36746static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b411df4a 36747static swig_type_info _swigt__p_wxChoicebook[] = {{"_p_wxChoicebook", 0, "wxChoicebook *", 0, 0, 0, 0},{"_p_wxChoicebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36748static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36749static 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}};
36ed4f51 36750static 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}};
d55e5bfc
RD
36751static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36752static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36753static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36754static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36755static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36756static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36757static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36758static 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}};
6e0de3df 36759static swig_type_info _swigt__p_wxBookCtrlBase[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36760static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_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_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36761static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36762static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36763static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36764static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36765static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36766static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36767static 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}};
36768static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36769static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36770static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36771static 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}};
d55e5bfc 36772static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36773static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36774static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36775static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36776static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36777static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36778static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36779static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36780static 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}};
d55e5bfc
RD
36781static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36782static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36783static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36784static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
b411df4a 36785static swig_type_info _swigt__p_wxChoicebookEvent[] = {{"_p_wxChoicebookEvent", 0, "wxChoicebookEvent *", 0, 0, 0, 0},{"_p_wxChoicebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36786static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36787static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36788static 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}};
53aa7709 36789static 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_wxTextUrlEvent", _p_wxTextUrlEventTo_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_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_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_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_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_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_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_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_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_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_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_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_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_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_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36790static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36791static 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}};
d55e5bfc 36792static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36793static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36794static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36795static 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}};
36796static 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}};
36ed4f51
RD
36797static 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}};
36798static 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}};
36799static 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}};
d55e5bfc 36800static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6e0de3df 36801static swig_type_info _swigt__p_wxBookCtrlBaseEvent[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 36802static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36803static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc 36804static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 36805static swig_type_info _swigt__p_wxDatePickerCtrl[] = {{"_p_wxDatePickerCtrl", 0, "wxDatePickerCtrl *", 0, 0, 0, 0},{"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
d55e5bfc
RD
36806static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36807static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36808static 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}};
36809static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36810static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36811static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36812
36813static swig_type_info *swig_types_initial[] = {
36814_swigt__p_wxTextUrlEvent,
d55e5bfc
RD
36815_swigt__p_wxSizer,
36816_swigt__p_wxCheckBox,
36817_swigt__p_wxPyTreeCtrl,
36818_swigt__p_wxEvent,
36819_swigt__p_wxGenericDirCtrl,
36820_swigt__p_bool,
d55e5bfc
RD
36821_swigt__p_wxItemContainer,
36822_swigt__p_wxPyListCtrl,
36ed4f51 36823_swigt__p_wxPyTreeItemData,
d55e5bfc
RD
36824_swigt__p_wxDirFilterListCtrl,
36825_swigt__p_wxStaticLine,
36826_swigt__p_wxControl,
36827_swigt__p_wxPyControl,
36828_swigt__p_wxGauge,
36829_swigt__p_wxToolBarBase,
36830_swigt__p_wxFont,
36831_swigt__p_wxToggleButton,
36832_swigt__p_wxRadioButton,
36833_swigt__p_wxChoice,
36834_swigt__p_wxMemoryDC,
36ed4f51
RD
36835_swigt__ptrdiff_t,
36836_swigt__std__ptrdiff_t,
d55e5bfc
RD
36837_swigt__p_wxListItemAttr,
36838_swigt__p_void,
36839_swigt__p_int,
36840_swigt__p_wxSize,
36841_swigt__p_wxDC,
36842_swigt__p_wxListView,
36843_swigt__p_wxIcon,
36844_swigt__p_wxVisualAttributes,
36845_swigt__p_wxTextCtrl,
36846_swigt__p_wxNotebook,
b411df4a 36847_swigt__p_wxChoicebook,
d55e5bfc
RD
36848_swigt__p_wxNotifyEvent,
36849_swigt__p_wxArrayString,
36ed4f51 36850_swigt__p_form_ops_t,
d55e5bfc
RD
36851_swigt__p_wxListbook,
36852_swigt__p_wxStaticBitmap,
36853_swigt__p_wxSlider,
36854_swigt__p_wxStaticBox,
36855_swigt__p_wxArrayInt,
36856_swigt__p_wxContextHelp,
36857_swigt__p_long,
36ed4f51 36858_swigt__p_wxDuplexMode,
6e0de3df 36859_swigt__p_wxBookCtrlBase,
d55e5bfc
RD
36860_swigt__p_wxEvtHandler,
36861_swigt__p_wxListEvent,
36862_swigt__p_wxCheckListBox,
36863_swigt__p_wxListBox,
d55e5bfc
RD
36864_swigt__p_wxSpinButton,
36865_swigt__p_wxButton,
36866_swigt__p_wxBitmapButton,
36867_swigt__p_wxRect,
36868_swigt__p_wxContextHelpButton,
36869_swigt__p_wxRadioBox,
36870_swigt__p_wxScrollBar,
36871_swigt__p_char,
d55e5bfc 36872_swigt__p_wxComboBox,
36ed4f51 36873_swigt__p_wxTreeItemId,
d55e5bfc
RD
36874_swigt__p_wxHelpEvent,
36875_swigt__p_wxListItem,
36876_swigt__p_wxNotebookSizer,
36877_swigt__p_wxSpinEvent,
36878_swigt__p_wxGenericDragImage,
36879_swigt__p_wxSpinCtrl,
36ed4f51 36880_swigt__p_wxPaperSize,
d55e5bfc
RD
36881_swigt__p_wxImageList,
36882_swigt__p_wxHelpProvider,
36883_swigt__p_wxTextAttr,
36884_swigt__p_wxSimpleHelpProvider,
b411df4a 36885_swigt__p_wxChoicebookEvent,
d55e5bfc
RD
36886_swigt__p_wxListbookEvent,
36887_swigt__p_wxNotebookEvent,
36ed4f51 36888_swigt__p_wxPoint,
d55e5bfc
RD
36889_swigt__p_wxObject,
36890_swigt__p_wxCursor,
53aa7709 36891_swigt__p_wxDateTime,
d55e5bfc 36892_swigt__p_wxKeyEvent,
36ed4f51 36893_swigt__p_unsigned_long,
d55e5bfc
RD
36894_swigt__p_wxWindow,
36895_swigt__p_wxString,
36896_swigt__p_wxBitmap,
36ed4f51
RD
36897_swigt__unsigned_int,
36898_swigt__p_unsigned_int,
36899_swigt__p_unsigned_char,
d55e5bfc 36900_swigt__p_wxMouseEvent,
6e0de3df 36901_swigt__p_wxBookCtrlBaseEvent,
36ed4f51 36902_swigt__p_wxTreeEvent,
d55e5bfc
RD
36903_swigt__p_wxCommandEvent,
36904_swigt__p_wxStaticText,
53aa7709 36905_swigt__p_wxDatePickerCtrl,
d55e5bfc
RD
36906_swigt__p_wxControlWithItems,
36907_swigt__p_wxToolBarToolBase,
36908_swigt__p_wxColour,
36909_swigt__p_wxToolBar,
36910_swigt__p_wxBookCtrlSizer,
36911_swigt__p_wxValidator,
369120
36913};
36914
36915
36916/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36917
36918static swig_const_info swig_const_table[] = {
c370783e 36919{0, 0, 0, 0.0, 0, 0}};
d55e5bfc
RD
36920
36921#ifdef __cplusplus
36922}
36923#endif
36924
36ed4f51
RD
36925
36926#ifdef __cplusplus
36927extern "C" {
36928#endif
36929
36930 /* Python-specific SWIG API */
36931#define SWIG_newvarlink() SWIG_Python_newvarlink()
36932#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36933#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36934
36935 /* -----------------------------------------------------------------------------
36936 * global variable support code.
36937 * ----------------------------------------------------------------------------- */
36938
36939 typedef struct swig_globalvar {
36940 char *name; /* Name of global variable */
36941 PyObject *(*get_attr)(); /* Return the current value */
36942 int (*set_attr)(PyObject *); /* Set the value */
36943 struct swig_globalvar *next;
36944 } swig_globalvar;
36945
36946 typedef struct swig_varlinkobject {
36947 PyObject_HEAD
36948 swig_globalvar *vars;
36949 } swig_varlinkobject;
36950
36951 static PyObject *
36952 swig_varlink_repr(swig_varlinkobject *v) {
36953 v = v;
36954 return PyString_FromString("<Swig global variables>");
36955 }
36956
36957 static int
36958 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
36959 swig_globalvar *var;
36960 flags = flags;
36961 fprintf(fp,"Swig global variables { ");
36962 for (var = v->vars; var; var=var->next) {
36963 fprintf(fp,"%s", var->name);
36964 if (var->next) fprintf(fp,", ");
36965 }
36966 fprintf(fp," }\n");
36967 return 0;
36968 }
36969
36970 static PyObject *
36971 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
36972 swig_globalvar *var = v->vars;
36973 while (var) {
36974 if (strcmp(var->name,n) == 0) {
36975 return (*var->get_attr)();
36976 }
36977 var = var->next;
36978 }
36979 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36980 return NULL;
36981 }
36982
36983 static int
36984 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
36985 swig_globalvar *var = v->vars;
36986 while (var) {
36987 if (strcmp(var->name,n) == 0) {
36988 return (*var->set_attr)(p);
36989 }
36990 var = var->next;
36991 }
36992 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36993 return 1;
36994 }
36995
36996 static PyTypeObject varlinktype = {
36997 PyObject_HEAD_INIT(0)
36998 0, /* Number of items in variable part (ob_size) */
36999 (char *)"swigvarlink", /* Type name (tp_name) */
37000 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37001 0, /* Itemsize (tp_itemsize) */
37002 0, /* Deallocator (tp_dealloc) */
37003 (printfunc) swig_varlink_print, /* Print (tp_print) */
37004 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37005 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37006 0, /* tp_compare */
37007 (reprfunc) swig_varlink_repr, /* tp_repr */
37008 0, /* tp_as_number */
37009 0, /* tp_as_sequence */
37010 0, /* tp_as_mapping */
37011 0, /* tp_hash */
37012 0, /* tp_call */
37013 0, /* tp_str */
37014 0, /* tp_getattro */
37015 0, /* tp_setattro */
37016 0, /* tp_as_buffer */
37017 0, /* tp_flags */
37018 0, /* tp_doc */
37019#if PY_VERSION_HEX >= 0x02000000
37020 0, /* tp_traverse */
37021 0, /* tp_clear */
37022#endif
37023#if PY_VERSION_HEX >= 0x02010000
37024 0, /* tp_richcompare */
37025 0, /* tp_weaklistoffset */
37026#endif
37027#if PY_VERSION_HEX >= 0x02020000
37028 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37029#endif
37030#if PY_VERSION_HEX >= 0x02030000
37031 0, /* tp_del */
37032#endif
37033#ifdef COUNT_ALLOCS
37034 0,0,0,0 /* tp_alloc -> tp_next */
37035#endif
37036 };
37037
37038 /* Create a variable linking object for use later */
37039 static PyObject *
37040 SWIG_Python_newvarlink(void) {
37041 swig_varlinkobject *result = 0;
37042 result = PyMem_NEW(swig_varlinkobject,1);
37043 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
37044 result->ob_type = &varlinktype;
37045 result->vars = 0;
37046 result->ob_refcnt = 0;
37047 Py_XINCREF((PyObject *) result);
37048 return ((PyObject*) result);
37049 }
37050
37051 static void
37052 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37053 swig_varlinkobject *v;
37054 swig_globalvar *gv;
37055 v= (swig_varlinkobject *) p;
37056 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37057 gv->name = (char *) malloc(strlen(name)+1);
37058 strcpy(gv->name,name);
37059 gv->get_attr = get_attr;
37060 gv->set_attr = set_attr;
37061 gv->next = v->vars;
37062 v->vars = gv;
37063 }
37064
37065 /* -----------------------------------------------------------------------------
37066 * constants/methods manipulation
37067 * ----------------------------------------------------------------------------- */
37068
37069 /* Install Constants */
37070 static void
37071 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37072 PyObject *obj = 0;
37073 size_t i;
37074 for (i = 0; constants[i].type; i++) {
37075 switch(constants[i].type) {
37076 case SWIG_PY_INT:
37077 obj = PyInt_FromLong(constants[i].lvalue);
37078 break;
37079 case SWIG_PY_FLOAT:
37080 obj = PyFloat_FromDouble(constants[i].dvalue);
37081 break;
37082 case SWIG_PY_STRING:
37083 if (constants[i].pvalue) {
37084 obj = PyString_FromString((char *) constants[i].pvalue);
37085 } else {
37086 Py_INCREF(Py_None);
37087 obj = Py_None;
37088 }
37089 break;
37090 case SWIG_PY_POINTER:
37091 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37092 break;
37093 case SWIG_PY_BINARY:
37094 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37095 break;
37096 default:
37097 obj = 0;
37098 break;
37099 }
37100 if (obj) {
37101 PyDict_SetItemString(d,constants[i].name,obj);
37102 Py_DECREF(obj);
37103 }
37104 }
37105 }
37106
37107 /* -----------------------------------------------------------------------------*/
37108 /* Fix SwigMethods to carry the callback ptrs when needed */
37109 /* -----------------------------------------------------------------------------*/
37110
37111 static void
37112 SWIG_Python_FixMethods(PyMethodDef *methods,
37113 swig_const_info *const_table,
37114 swig_type_info **types,
37115 swig_type_info **types_initial) {
37116 size_t i;
37117 for (i = 0; methods[i].ml_name; ++i) {
37118 char *c = methods[i].ml_doc;
37119 if (c && (c = strstr(c, "swig_ptr: "))) {
37120 int j;
37121 swig_const_info *ci = 0;
37122 char *name = c + 10;
37123 for (j = 0; const_table[j].type; j++) {
37124 if (strncmp(const_table[j].name, name,
37125 strlen(const_table[j].name)) == 0) {
37126 ci = &(const_table[j]);
37127 break;
37128 }
37129 }
37130 if (ci) {
37131 size_t shift = (ci->ptype) - types;
37132 swig_type_info *ty = types_initial[shift];
37133 size_t ldoc = (c - methods[i].ml_doc);
37134 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37135 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37136 char *buff = ndoc;
37137 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
37138 strncpy(buff, methods[i].ml_doc, ldoc);
37139 buff += ldoc;
37140 strncpy(buff, "swig_ptr: ", 10);
37141 buff += 10;
37142 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37143 methods[i].ml_doc = ndoc;
37144 }
37145 }
37146 }
37147 }
37148
37149 /* -----------------------------------------------------------------------------*
37150 * Initialize type list
37151 * -----------------------------------------------------------------------------*/
37152
37153#if PY_MAJOR_VERSION < 2
37154 /* PyModule_AddObject function was introduced in Python 2.0. The following function
37155 is copied out of Python/modsupport.c in python version 2.3.4 */
37156 static int
37157 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
37158 {
37159 PyObject *dict;
37160 if (!PyModule_Check(m)) {
37161 PyErr_SetString(PyExc_TypeError,
37162 "PyModule_AddObject() needs module as first arg");
37163 return -1;
37164 }
37165 if (!o) {
37166 PyErr_SetString(PyExc_TypeError,
37167 "PyModule_AddObject() needs non-NULL value");
37168 return -1;
37169 }
37170
37171 dict = PyModule_GetDict(m);
37172 if (dict == NULL) {
37173 /* Internal error -- modules must have a dict! */
37174 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
37175 PyModule_GetName(m));
37176 return -1;
37177 }
37178 if (PyDict_SetItemString(dict, name, o))
37179 return -1;
37180 Py_DECREF(o);
37181 return 0;
37182 }
37183#endif
37184
37185 static swig_type_info **
37186 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
37187 static PyMethodDef swig_empty_runtime_method_table[] = {
37188 {
37189 NULL, NULL, 0, NULL
37190 }
37191 };/* Sentinel */
37192
37193 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
37194 swig_empty_runtime_method_table);
37195 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
37196 if (pointer && module) {
37197 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
37198 }
37199 return type_list_handle;
37200 }
37201
37202 static swig_type_info **
37203 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
37204 swig_type_info **type_pointer;
37205
37206 /* first check if module already created */
37207 type_pointer = SWIG_Python_GetTypeListHandle();
37208 if (type_pointer) {
37209 return type_pointer;
37210 } else {
37211 /* create a new module and variable */
37212 return SWIG_Python_SetTypeListHandle(type_list_handle);
37213 }
37214 }
37215
37216#ifdef __cplusplus
37217}
37218#endif
37219
37220/* -----------------------------------------------------------------------------*
37221 * Partial Init method
37222 * -----------------------------------------------------------------------------*/
37223
37224#ifdef SWIG_LINK_RUNTIME
37225#ifdef __cplusplus
37226extern "C"
37227#endif
37228SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
37229#endif
37230
d55e5bfc
RD
37231#ifdef __cplusplus
37232extern "C"
37233#endif
37234SWIGEXPORT(void) SWIG_init(void) {
37235 static PyObject *SWIG_globals = 0;
37236 static int typeinit = 0;
37237 PyObject *m, *d;
37238 int i;
37239 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
37240
37241 /* Fix SwigMethods to carry the callback ptrs when needed */
37242 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
37243
d55e5bfc
RD
37244 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37245 d = PyModule_GetDict(m);
37246
37247 if (!typeinit) {
36ed4f51
RD
37248#ifdef SWIG_LINK_RUNTIME
37249 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
37250#else
37251# ifndef SWIG_STATIC_RUNTIME
37252 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
37253# endif
37254#endif
d55e5bfc
RD
37255 for (i = 0; swig_types_initial[i]; i++) {
37256 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
37257 }
37258 typeinit = 1;
37259 }
37260 SWIG_InstallConstants(d,swig_const_table);
37261
37262 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
37263 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
36ed4f51
RD
37264 {
37265 PyDict_SetItemString(d,"BU_LEFT", SWIG_From_int((int)(wxBU_LEFT)));
37266 }
37267 {
37268 PyDict_SetItemString(d,"BU_TOP", SWIG_From_int((int)(wxBU_TOP)));
37269 }
37270 {
37271 PyDict_SetItemString(d,"BU_RIGHT", SWIG_From_int((int)(wxBU_RIGHT)));
37272 }
37273 {
37274 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_From_int((int)(wxBU_BOTTOM)));
37275 }
37276 {
37277 PyDict_SetItemString(d,"BU_ALIGN_MASK", SWIG_From_int((int)(wxBU_ALIGN_MASK)));
37278 }
37279 {
37280 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_From_int((int)(wxBU_EXACTFIT)));
37281 }
37282 {
37283 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_From_int((int)(wxBU_AUTODRAW)));
37284 }
d55e5bfc 37285 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
36ed4f51
RD
37286 {
37287 PyDict_SetItemString(d,"CHK_2STATE", SWIG_From_int((int)(wxCHK_2STATE)));
37288 }
37289 {
37290 PyDict_SetItemString(d,"CHK_3STATE", SWIG_From_int((int)(wxCHK_3STATE)));
37291 }
37292 {
37293 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
37294 }
37295 {
37296 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_From_int((int)(wxCHK_UNCHECKED)));
37297 }
37298 {
37299 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_From_int((int)(wxCHK_CHECKED)));
37300 }
37301 {
37302 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_From_int((int)(wxCHK_UNDETERMINED)));
37303 }
d55e5bfc
RD
37304 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
37305 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
37306 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
36ed4f51
RD
37307 {
37308 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_From_int((int)(wxGA_HORIZONTAL)));
37309 }
37310 {
37311 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_From_int((int)(wxGA_VERTICAL)));
37312 }
37313 {
37314 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_From_int((int)(wxGA_SMOOTH)));
37315 }
37316 {
37317 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_From_int((int)(wxGA_PROGRESSBAR)));
37318 }
d55e5bfc
RD
37319 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
37320 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
37321 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
37322 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
37323 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
36ed4f51
RD
37324 {
37325 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_From_int((int)(wxTE_NO_VSCROLL)));
37326 }
37327 {
37328 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_From_int((int)(wxTE_AUTO_SCROLL)));
37329 }
37330 {
37331 PyDict_SetItemString(d,"TE_READONLY", SWIG_From_int((int)(wxTE_READONLY)));
37332 }
37333 {
37334 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_From_int((int)(wxTE_MULTILINE)));
37335 }
37336 {
37337 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_From_int((int)(wxTE_PROCESS_TAB)));
37338 }
37339 {
37340 PyDict_SetItemString(d,"TE_LEFT", SWIG_From_int((int)(wxTE_LEFT)));
37341 }
37342 {
37343 PyDict_SetItemString(d,"TE_CENTER", SWIG_From_int((int)(wxTE_CENTER)));
37344 }
37345 {
37346 PyDict_SetItemString(d,"TE_RIGHT", SWIG_From_int((int)(wxTE_RIGHT)));
37347 }
37348 {
37349 PyDict_SetItemString(d,"TE_CENTRE", SWIG_From_int((int)(wxTE_CENTRE)));
37350 }
37351 {
37352 PyDict_SetItemString(d,"TE_RICH", SWIG_From_int((int)(wxTE_RICH)));
37353 }
37354 {
37355 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_From_int((int)(wxTE_PROCESS_ENTER)));
37356 }
37357 {
37358 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_From_int((int)(wxTE_PASSWORD)));
37359 }
37360 {
37361 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_From_int((int)(wxTE_AUTO_URL)));
37362 }
37363 {
37364 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_From_int((int)(wxTE_NOHIDESEL)));
37365 }
37366 {
37367 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_From_int((int)(wxTE_DONTWRAP)));
37368 }
37369 {
08d9e66e 37370 PyDict_SetItemString(d,"TE_CHARWRAP", SWIG_From_int((int)(wxTE_CHARWRAP)));
36ed4f51
RD
37371 }
37372 {
37373 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_From_int((int)(wxTE_WORDWRAP)));
37374 }
08d9e66e
RD
37375 {
37376 PyDict_SetItemString(d,"TE_BESTWRAP", SWIG_From_int((int)(wxTE_BESTWRAP)));
37377 }
37378 {
37379 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_From_int((int)(wxTE_LINEWRAP)));
37380 }
36ed4f51
RD
37381 {
37382 PyDict_SetItemString(d,"TE_RICH2", SWIG_From_int((int)(wxTE_RICH2)));
37383 }
88c6b281
RD
37384 {
37385 PyDict_SetItemString(d,"TE_CAPITALIZE", SWIG_From_int((int)(wxTE_CAPITALIZE)));
37386 }
36ed4f51
RD
37387 {
37388 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_DEFAULT)));
37389 }
37390 {
37391 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_LEFT)));
37392 }
37393 {
37394 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTRE)));
37395 }
37396 {
37397 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)(wxTEXT_ALIGNMENT_CENTER)));
37398 }
37399 {
37400 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)(wxTEXT_ALIGNMENT_RIGHT)));
37401 }
37402 {
37403 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)(wxTEXT_ALIGNMENT_JUSTIFIED)));
37404 }
37405 {
37406 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_TEXT_COLOUR)));
37407 }
37408 {
37409 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)(wxTEXT_ATTR_BACKGROUND_COLOUR)));
37410 }
37411 {
37412 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_FACE)));
37413 }
37414 {
37415 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_SIZE)));
37416 }
37417 {
37418 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)(wxTEXT_ATTR_FONT_WEIGHT)));
37419 }
37420 {
37421 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)(wxTEXT_ATTR_FONT_ITALIC)));
37422 }
37423 {
37424 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)(wxTEXT_ATTR_FONT_UNDERLINE)));
37425 }
37426 {
37427 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_From_int((int)(wxTEXT_ATTR_FONT)));
37428 }
37429 {
37430 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)(wxTEXT_ATTR_ALIGNMENT)));
37431 }
37432 {
37433 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_LEFT_INDENT)));
37434 }
37435 {
37436 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)(wxTEXT_ATTR_RIGHT_INDENT)));
37437 }
37438 {
37439 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_From_int((int)(wxTEXT_ATTR_TABS)));
37440 }
37441 {
37442 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_From_int((int)(wxTE_HT_UNKNOWN)));
37443 }
37444 {
37445 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_From_int((int)(wxTE_HT_BEFORE)));
37446 }
37447 {
37448 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_From_int((int)(wxTE_HT_ON_TEXT)));
37449 }
37450 {
37451 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_From_int((int)(wxTE_HT_BELOW)));
37452 }
37453 {
37454 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_From_int((int)(wxTE_HT_BEYOND)));
37455 }
fef4c27a
RD
37456 {
37457 PyDict_SetItemString(d,"OutOfRangeTextCoord", SWIG_From_int((int)(wxOutOfRangeTextCoord)));
37458 }
37459 {
37460 PyDict_SetItemString(d,"InvalidTextCoord", SWIG_From_int((int)(wxInvalidTextCoord)));
37461 }
d55e5bfc
RD
37462 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
37463 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
37464 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
37465 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
37466 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
37467 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
37468 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
36ed4f51
RD
37469 {
37470 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_From_int((int)(wxSP_HORIZONTAL)));
37471 }
37472 {
37473 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_From_int((int)(wxSP_VERTICAL)));
37474 }
37475 {
37476 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_From_int((int)(wxSP_ARROW_KEYS)));
37477 }
37478 {
37479 PyDict_SetItemString(d,"SP_WRAP", SWIG_From_int((int)(wxSP_WRAP)));
37480 }
d55e5bfc
RD
37481 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
37482 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
37483 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
37484 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
fef4c27a
RD
37485 {
37486 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL)));
37487 }
37488 {
37489 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL)));
37490 }
7993762b
RD
37491 {
37492 PyDict_SetItemString(d,"SL_TICKS", SWIG_From_int((int)(wxSL_TICKS)));
37493 }
fef4c27a
RD
37494 {
37495 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS)));
37496 }
37497 {
37498 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS)));
37499 }
37500 {
37501 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT)));
37502 }
37503 {
37504 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)(wxSL_TOP)));
37505 }
37506 {
37507 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT)));
37508 }
37509 {
37510 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM)));
37511 }
37512 {
37513 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH)));
37514 }
37515 {
37516 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE)));
37517 }
37518 {
37519 PyDict_SetItemString(d,"SL_INVERSE", SWIG_From_int((int)(wxSL_INVERSE)));
37520 }
d55e5bfc
RD
37521 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
37522 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
51b83b37 37523 SWIG_addvarlink(SWIG_globals,(char*)"NotebookNameStr",_wrap_NotebookNameStr_get, _wrap_NotebookNameStr_set);
36ed4f51
RD
37524 {
37525 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_From_int((int)(wxNB_FIXEDWIDTH)));
37526 }
37527 {
37528 PyDict_SetItemString(d,"NB_TOP", SWIG_From_int((int)(wxNB_TOP)));
37529 }
37530 {
37531 PyDict_SetItemString(d,"NB_LEFT", SWIG_From_int((int)(wxNB_LEFT)));
37532 }
37533 {
37534 PyDict_SetItemString(d,"NB_RIGHT", SWIG_From_int((int)(wxNB_RIGHT)));
37535 }
37536 {
37537 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_From_int((int)(wxNB_BOTTOM)));
37538 }
37539 {
37540 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_From_int((int)(wxNB_MULTILINE)));
37541 }
091fdbfa
RD
37542 {
37543 PyDict_SetItemString(d,"NB_NOPAGETHEME", SWIG_From_int((int)(wxNB_NOPAGETHEME)));
37544 }
36ed4f51
RD
37545 {
37546 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_From_int((int)(wxNB_HITTEST_NOWHERE)));
37547 }
37548 {
37549 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_From_int((int)(wxNB_HITTEST_ONICON)));
37550 }
37551 {
37552 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_From_int((int)(wxNB_HITTEST_ONLABEL)));
37553 }
37554 {
37555 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_From_int((int)(wxNB_HITTEST_ONITEM)));
37556 }
d55e5bfc
RD
37557 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
37558 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
36ed4f51
RD
37559 {
37560 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_From_int((int)(wxLB_DEFAULT)));
37561 }
37562 {
37563 PyDict_SetItemString(d,"LB_TOP", SWIG_From_int((int)(wxLB_TOP)));
37564 }
37565 {
37566 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_From_int((int)(wxLB_BOTTOM)));
37567 }
37568 {
37569 PyDict_SetItemString(d,"LB_LEFT", SWIG_From_int((int)(wxLB_LEFT)));
37570 }
37571 {
37572 PyDict_SetItemString(d,"LB_RIGHT", SWIG_From_int((int)(wxLB_RIGHT)));
37573 }
37574 {
37575 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_From_int((int)(wxLB_ALIGN_MASK)));
37576 }
d55e5bfc
RD
37577 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
37578 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
36ed4f51
RD
37579 {
37580 PyDict_SetItemString(d,"CHB_DEFAULT", SWIG_From_int((int)(wxCHB_DEFAULT)));
37581 }
37582 {
37583 PyDict_SetItemString(d,"CHB_TOP", SWIG_From_int((int)(wxCHB_TOP)));
37584 }
37585 {
37586 PyDict_SetItemString(d,"CHB_BOTTOM", SWIG_From_int((int)(wxCHB_BOTTOM)));
37587 }
37588 {
37589 PyDict_SetItemString(d,"CHB_LEFT", SWIG_From_int((int)(wxCHB_LEFT)));
37590 }
37591 {
37592 PyDict_SetItemString(d,"CHB_RIGHT", SWIG_From_int((int)(wxCHB_RIGHT)));
37593 }
37594 {
37595 PyDict_SetItemString(d,"CHB_ALIGN_MASK", SWIG_From_int((int)(wxCHB_ALIGN_MASK)));
37596 }
b411df4a
RD
37597 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
37598 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
36ed4f51
RD
37599 {
37600 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_From_int((int)(wxTOOL_STYLE_BUTTON)));
37601 }
37602 {
37603 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)(wxTOOL_STYLE_SEPARATOR)));
37604 }
37605 {
37606 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_From_int((int)(wxTOOL_STYLE_CONTROL)));
37607 }
37608 {
37609 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_From_int((int)(wxTB_HORIZONTAL)));
37610 }
37611 {
37612 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_From_int((int)(wxTB_VERTICAL)));
37613 }
37614 {
37615 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_From_int((int)(wxTB_3DBUTTONS)));
37616 }
37617 {
37618 PyDict_SetItemString(d,"TB_FLAT", SWIG_From_int((int)(wxTB_FLAT)));
37619 }
37620 {
37621 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_From_int((int)(wxTB_DOCKABLE)));
37622 }
37623 {
37624 PyDict_SetItemString(d,"TB_NOICONS", SWIG_From_int((int)(wxTB_NOICONS)));
37625 }
37626 {
37627 PyDict_SetItemString(d,"TB_TEXT", SWIG_From_int((int)(wxTB_TEXT)));
37628 }
37629 {
37630 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_From_int((int)(wxTB_NODIVIDER)));
37631 }
37632 {
37633 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_From_int((int)(wxTB_NOALIGN)));
37634 }
37635 {
37636 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_From_int((int)(wxTB_HORZ_LAYOUT)));
37637 }
37638 {
37639 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_From_int((int)(wxTB_HORZ_TEXT)));
37640 }
d55e5bfc 37641 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
36ed4f51
RD
37642 {
37643 PyDict_SetItemString(d,"LC_VRULES", SWIG_From_int((int)(wxLC_VRULES)));
37644 }
37645 {
37646 PyDict_SetItemString(d,"LC_HRULES", SWIG_From_int((int)(wxLC_HRULES)));
37647 }
37648 {
37649 PyDict_SetItemString(d,"LC_ICON", SWIG_From_int((int)(wxLC_ICON)));
37650 }
37651 {
37652 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_From_int((int)(wxLC_SMALL_ICON)));
37653 }
37654 {
37655 PyDict_SetItemString(d,"LC_LIST", SWIG_From_int((int)(wxLC_LIST)));
37656 }
37657 {
37658 PyDict_SetItemString(d,"LC_REPORT", SWIG_From_int((int)(wxLC_REPORT)));
37659 }
37660 {
37661 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_From_int((int)(wxLC_ALIGN_TOP)));
37662 }
37663 {
37664 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_From_int((int)(wxLC_ALIGN_LEFT)));
37665 }
37666 {
37667 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_From_int((int)(wxLC_AUTOARRANGE)));
37668 }
37669 {
37670 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_From_int((int)(wxLC_VIRTUAL)));
37671 }
37672 {
37673 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_From_int((int)(wxLC_EDIT_LABELS)));
37674 }
37675 {
37676 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_From_int((int)(wxLC_NO_HEADER)));
37677 }
37678 {
37679 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_From_int((int)(wxLC_NO_SORT_HEADER)));
37680 }
37681 {
37682 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_From_int((int)(wxLC_SINGLE_SEL)));
37683 }
37684 {
37685 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_From_int((int)(wxLC_SORT_ASCENDING)));
37686 }
37687 {
37688 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_From_int((int)(wxLC_SORT_DESCENDING)));
37689 }
37690 {
37691 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_From_int((int)(wxLC_MASK_TYPE)));
37692 }
37693 {
37694 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_From_int((int)(wxLC_MASK_ALIGN)));
37695 }
37696 {
37697 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_From_int((int)(wxLC_MASK_SORT)));
37698 }
37699 {
37700 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_From_int((int)(wxLIST_MASK_STATE)));
37701 }
37702 {
37703 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_From_int((int)(wxLIST_MASK_TEXT)));
37704 }
37705 {
37706 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_From_int((int)(wxLIST_MASK_IMAGE)));
37707 }
37708 {
37709 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_From_int((int)(wxLIST_MASK_DATA)));
37710 }
37711 {
37712 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_From_int((int)(wxLIST_SET_ITEM)));
37713 }
37714 {
37715 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_From_int((int)(wxLIST_MASK_WIDTH)));
37716 }
37717 {
37718 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_From_int((int)(wxLIST_MASK_FORMAT)));
37719 }
37720 {
37721 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_From_int((int)(wxLIST_STATE_DONTCARE)));
37722 }
37723 {
37724 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_From_int((int)(wxLIST_STATE_DROPHILITED)));
37725 }
37726 {
37727 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_From_int((int)(wxLIST_STATE_FOCUSED)));
37728 }
37729 {
37730 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_From_int((int)(wxLIST_STATE_SELECTED)));
37731 }
37732 {
37733 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_From_int((int)(wxLIST_STATE_CUT)));
37734 }
37735 {
37736 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_From_int((int)(wxLIST_STATE_DISABLED)));
37737 }
37738 {
37739 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_From_int((int)(wxLIST_STATE_FILTERED)));
37740 }
37741 {
37742 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_From_int((int)(wxLIST_STATE_INUSE)));
37743 }
37744 {
37745 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_From_int((int)(wxLIST_STATE_PICKED)));
37746 }
37747 {
37748 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_From_int((int)(wxLIST_STATE_SOURCE)));
37749 }
37750 {
37751 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_From_int((int)(wxLIST_HITTEST_ABOVE)));
37752 }
37753 {
37754 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_From_int((int)(wxLIST_HITTEST_BELOW)));
37755 }
37756 {
37757 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)(wxLIST_HITTEST_NOWHERE)));
37758 }
37759 {
37760 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMICON)));
37761 }
37762 {
37763 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMLABEL)));
37764 }
37765 {
37766 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMRIGHT)));
37767 }
37768 {
37769 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxLIST_HITTEST_ONITEMSTATEICON)));
37770 }
37771 {
37772 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)(wxLIST_HITTEST_TOLEFT)));
37773 }
37774 {
37775 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)(wxLIST_HITTEST_TORIGHT)));
37776 }
37777 {
37778 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_From_int((int)(wxLIST_HITTEST_ONITEM)));
37779 }
37780 {
37781 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_From_int((int)(wxLIST_NEXT_ABOVE)));
37782 }
37783 {
37784 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_From_int((int)(wxLIST_NEXT_ALL)));
37785 }
37786 {
37787 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_From_int((int)(wxLIST_NEXT_BELOW)));
37788 }
37789 {
37790 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_From_int((int)(wxLIST_NEXT_LEFT)));
37791 }
37792 {
37793 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_From_int((int)(wxLIST_NEXT_RIGHT)));
37794 }
37795 {
37796 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)(wxLIST_ALIGN_DEFAULT)));
37797 }
37798 {
37799 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_From_int((int)(wxLIST_ALIGN_LEFT)));
37800 }
37801 {
37802 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_From_int((int)(wxLIST_ALIGN_TOP)));
37803 }
37804 {
37805 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)(wxLIST_ALIGN_SNAP_TO_GRID)));
37806 }
37807 {
37808 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_From_int((int)(wxLIST_FORMAT_LEFT)));
37809 }
37810 {
37811 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_From_int((int)(wxLIST_FORMAT_RIGHT)));
37812 }
37813 {
37814 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_From_int((int)(wxLIST_FORMAT_CENTRE)));
37815 }
37816 {
37817 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_From_int((int)(wxLIST_FORMAT_CENTER)));
37818 }
37819 {
37820 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_From_int((int)(wxLIST_AUTOSIZE)));
37821 }
37822 {
37823 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)(wxLIST_AUTOSIZE_USEHEADER)));
37824 }
37825 {
37826 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_From_int((int)(wxLIST_RECT_BOUNDS)));
37827 }
37828 {
37829 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_From_int((int)(wxLIST_RECT_ICON)));
37830 }
37831 {
37832 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_From_int((int)(wxLIST_RECT_LABEL)));
37833 }
37834 {
37835 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_From_int((int)(wxLIST_FIND_UP)));
37836 }
37837 {
37838 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_From_int((int)(wxLIST_FIND_DOWN)));
37839 }
37840 {
37841 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_From_int((int)(wxLIST_FIND_LEFT)));
37842 }
37843 {
37844 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_From_int((int)(wxLIST_FIND_RIGHT)));
37845 }
d55e5bfc
RD
37846 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
37847 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
37848 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
37849 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
37850 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
37851 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
d55e5bfc
RD
37852 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
37853 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
37854 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
37855 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
37856 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
37857 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
37858 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
37859 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
37860 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
37861 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
37862 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
37863 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
37864 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
37865 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
fef4c27a
RD
37866 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
37867 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
d55e5bfc
RD
37868
37869 // Map renamed classes back to their common name for OOR
37870 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
37871
37872 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
36ed4f51
RD
37873 {
37874 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_From_int((int)(wxTR_NO_BUTTONS)));
37875 }
37876 {
37877 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_From_int((int)(wxTR_HAS_BUTTONS)));
37878 }
37879 {
37880 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_From_int((int)(wxTR_NO_LINES)));
37881 }
37882 {
37883 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_From_int((int)(wxTR_LINES_AT_ROOT)));
37884 }
37885 {
37886 PyDict_SetItemString(d,"TR_SINGLE", SWIG_From_int((int)(wxTR_SINGLE)));
37887 }
37888 {
37889 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_From_int((int)(wxTR_MULTIPLE)));
37890 }
37891 {
37892 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_From_int((int)(wxTR_EXTENDED)));
37893 }
37894 {
37895 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
37896 }
37897 {
37898 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_From_int((int)(wxTR_EDIT_LABELS)));
37899 }
37900 {
37901 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_From_int((int)(wxTR_HIDE_ROOT)));
37902 }
37903 {
37904 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_From_int((int)(wxTR_ROW_LINES)));
37905 }
37906 {
37907 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)(wxTR_FULL_ROW_HIGHLIGHT)));
37908 }
37909 {
37910 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_From_int((int)(wxTR_DEFAULT_STYLE)));
37911 }
37912 {
37913 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_From_int((int)(wxTR_TWIST_BUTTONS)));
37914 }
37915 {
37916 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_From_int((int)(wxTR_MAC_BUTTONS)));
37917 }
37918 {
37919 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_From_int((int)(wxTR_AQUA_BUTTONS)));
37920 }
37921 {
37922 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_From_int((int)(wxTreeItemIcon_Normal)));
37923 }
37924 {
37925 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_From_int((int)(wxTreeItemIcon_Selected)));
37926 }
37927 {
37928 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_From_int((int)(wxTreeItemIcon_Expanded)));
37929 }
37930 {
37931 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)(wxTreeItemIcon_SelectedExpanded)));
37932 }
37933 {
37934 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_From_int((int)(wxTreeItemIcon_Max)));
37935 }
37936 {
37937 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_From_int((int)(wxTREE_HITTEST_ABOVE)));
37938 }
37939 {
37940 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_From_int((int)(wxTREE_HITTEST_BELOW)));
37941 }
37942 {
37943 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)(wxTREE_HITTEST_NOWHERE)));
37944 }
37945 {
37946 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMBUTTON)));
37947 }
37948 {
37949 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMICON)));
37950 }
37951 {
37952 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMINDENT)));
37953 }
37954 {
37955 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLABEL)));
37956 }
37957 {
37958 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMRIGHT)));
37959 }
37960 {
37961 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMSTATEICON)));
37962 }
37963 {
37964 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)(wxTREE_HITTEST_TOLEFT)));
37965 }
37966 {
37967 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)(wxTREE_HITTEST_TORIGHT)));
37968 }
37969 {
37970 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMUPPERPART)));
37971 }
37972 {
37973 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMLOWERPART)));
37974 }
37975 {
37976 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_From_int((int)(wxTREE_HITTEST_ONITEM)));
37977 }
d55e5bfc
RD
37978 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
37979 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
37980 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
37981 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
37982 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
37983 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
37984 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
37985 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
37986 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
37987 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
37988 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
37989 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
37990 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
37991 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
37992 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
37993 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
37994 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
37995 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
37996 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
37997 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
62d32a5f 37998 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
d55e5bfc
RD
37999
38000 // Map renamed classes back to their common name for OOR
38001 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
38002 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
38003
38004 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
36ed4f51
RD
38005 {
38006 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)(wxDIRCTRL_DIR_ONLY)));
38007 }
38008 {
38009 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)(wxDIRCTRL_SELECT_FIRST)));
38010 }
38011 {
38012 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)(wxDIRCTRL_SHOW_FILTERS)));
38013 }
38014 {
38015 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)(wxDIRCTRL_3D_INTERNAL)));
38016 }
38017 {
38018 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)(wxDIRCTRL_EDIT_LABELS)));
38019 }
38020 {
38021 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)(wxFRAME_EX_CONTEXTHELP)));
38022 }
38023 {
38024 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)(wxDIALOG_EX_CONTEXTHELP)));
38025 }
d55e5bfc
RD
38026 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
38027 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
38028
38029 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
38030
53aa7709
RD
38031 SWIG_addvarlink(SWIG_globals,(char*)"DatePickerCtrlNameStr",_wrap_DatePickerCtrlNameStr_get, _wrap_DatePickerCtrlNameStr_set);
38032 {
38033 PyDict_SetItemString(d,"DP_DEFAULT", SWIG_From_int((int)(wxDP_DEFAULT)));
38034 }
38035 {
38036 PyDict_SetItemString(d,"DP_SPIN", SWIG_From_int((int)(wxDP_SPIN)));
38037 }
38038 {
38039 PyDict_SetItemString(d,"DP_DROPDOWN", SWIG_From_int((int)(wxDP_DROPDOWN)));
38040 }
38041 {
38042 PyDict_SetItemString(d,"DP_SHOWCENTURY", SWIG_From_int((int)(wxDP_SHOWCENTURY)));
38043 }
38044 {
38045 PyDict_SetItemString(d,"DP_ALLOWNONE", SWIG_From_int((int)(wxDP_ALLOWNONE)));
38046 }
d55e5bfc
RD
38047}
38048