]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_controls_wrap.cpp
initialize GdkColor so code which incorrectly accesses it will work as well as it...
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
d14a1e28
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
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d14a1e28
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
093d3ff1 46#endif
d14a1e28 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
0085ce49
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
0085ce49
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
0085ce49
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
0085ce49 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 137
093d3ff1
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
093d3ff1
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
093d3ff1 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
32fe5131 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
0085ce49
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
093d3ff1
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
0085ce49 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
093d3ff1
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
093d3ff1
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
32fe5131 401 return equiv;
093d3ff1
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
093d3ff1
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
0085ce49 481 if (!type) return NULL;
093d3ff1
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
093d3ff1
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
093d3ff1
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
093d3ff1
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
093d3ff1
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 622 register unsigned char uu;
093d3ff1
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
093d3ff1
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d14a1e28 682
093d3ff1
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
0085ce49
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d14a1e28 714
0085ce49
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
093d3ff1 764#endif
0085ce49
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c32bde28 799
093d3ff1 800/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d14a1e28 803
0085ce49
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d14a1e28 846
0085ce49
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
093d3ff1 935#endif
d14a1e28 936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d14a1e28 951
093d3ff1 952/* Constant Types */
093d3ff1
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
0085ce49
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
093d3ff1 964} swig_const_info;
d14a1e28 965
994141e6 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
994141e6 972
15afbcd0 973
0085ce49
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
093d3ff1
RD
978 * pyrun.swg
979 *
0085ce49
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
093d3ff1 983 *
0085ce49 984 * ----------------------------------------------------------------------------- */
15afbcd0 985
093d3ff1 986/* Common SWIG API */
994141e6 987
0085ce49
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
994141e6 996
0085ce49
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
994141e6 1000
0085ce49
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d14a1e28 1004
0085ce49
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
4d5c3d91 1008
0085ce49
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1012
4d5c3d91 1013
0085ce49 1014/* Runtime API */
15afbcd0 1015
0085ce49
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1019
0085ce49
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
32fe5131 1025
15afbcd0 1026
0085ce49 1027/* Runtime API implementation */
093d3ff1 1028
0085ce49 1029/* Error manipulation */
093d3ff1 1030
0085ce49
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
15afbcd0
RD
1037}
1038
0085ce49
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1 1044}
15afbcd0 1045
0085ce49 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1047
0085ce49 1048/* Set a constant value */
093d3ff1 1049
0085ce49
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
15afbcd0
RD
1054}
1055
0085ce49 1056/* Append a value to the result obj */
15afbcd0 1057
0085ce49
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
c32bde28 1084 } else {
0085ce49
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
c32bde28 1096 }
0085ce49
RD
1097 return result;
1098#endif
994141e6 1099}
093d3ff1 1100
0085ce49 1101/* Unpack the argument tuple */
093d3ff1 1102
0085ce49
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1605#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1609#endif
1610 };
1611
0085ce49 1612 static PyTypeObject pyswigobject_type;
32fe5131 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
0085ce49
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
093d3ff1 1628#endif
0085ce49
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
093d3ff1 1647#if PY_VERSION_HEX >= 0x02020000
0085ce49
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
15afbcd0 1668#endif
093d3ff1 1669#if PY_VERSION_HEX >= 0x02030000
0085ce49 1670 0, /* tp_del */
093d3ff1
RD
1671#endif
1672#ifdef COUNT_ALLOCS
0085ce49 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
0085ce49 1675 };
32fe5131 1676 pyswigobject_type = tmp;
0085ce49 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
32fe5131 1680 return &pyswigobject_type;
093d3ff1
RD
1681}
1682
1683SWIGRUNTIME PyObject *
0085ce49 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1685{
0085ce49
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
32fe5131 1692 }
0085ce49 1693 return (PyObject *)sobj;
093d3ff1
RD
1694}
1695
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
0085ce49 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
1706
1707SWIGRUNTIME int
0085ce49 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1709{
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
0085ce49 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
1720
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
0085ce49 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
0085ce49 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1729 }
1730}
1731
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
0085ce49 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
0085ce49 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
1742
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745{
0085ce49
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1750}
1751
0085ce49 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1753
1754SWIGRUNTIME PyTypeObject*
32fe5131 1755PySwigPacked_type(void) {
0085ce49
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
093d3ff1
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
0085ce49 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
0085ce49 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
0085ce49 1838 };
32fe5131 1839 pyswigpacked_type = tmp;
0085ce49 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
32fe5131 1843 return &pyswigpacked_type;
093d3ff1
RD
1844}
1845
1846SWIGRUNTIME PyObject *
0085ce49 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
0085ce49
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
32fe5131
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
0085ce49
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
32fe5131 1860 }
093d3ff1 1861 }
0085ce49 1862 return (PyObject *) sobj;
093d3ff1
RD
1863}
1864
0085ce49 1865SWIGRUNTIME swig_type_info *
093d3ff1
RD
1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867{
0085ce49
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
093d3ff1
RD
1876}
1877
093d3ff1 1878/* -----------------------------------------------------------------------------
0085ce49 1879 * pointers/data manipulation
093d3ff1
RD
1880 * ----------------------------------------------------------------------------- */
1881
0085ce49
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
093d3ff1 1887
0085ce49
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
093d3ff1 1894
0085ce49 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1896
0085ce49
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
0085ce49
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
093d3ff1 1922 } else {
0085ce49
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
0085ce49
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
093d3ff1
RD
1943 }
1944}
1945
0085ce49
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
093d3ff1 1957 }
0085ce49 1958 return 0;
093d3ff1
RD
1959}
1960
0085ce49
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
0085ce49
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
093d3ff1 1988 } else {
0085ce49
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
0085ce49
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
093d3ff1
RD
2038 }
2039}
2040
0085ce49
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
0085ce49
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2047 } else {
0085ce49
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
093d3ff1
RD
2065 }
2066}
2067
0085ce49 2068/* Convert a packed value value */
093d3ff1 2069
093d3ff1 2070SWIGRUNTIME int
0085ce49
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
093d3ff1 2080 }
0085ce49
RD
2081 return SWIG_OK;
2082}
093d3ff1 2083
0085ce49
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
093d3ff1 2087
0085ce49
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
093d3ff1 2092
0085ce49
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
093d3ff1 2111 }
0085ce49
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
0085ce49
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
093d3ff1 2122 }
0085ce49
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
093d3ff1 2136 }
0085ce49
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
093d3ff1 2143 }
0085ce49
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
093d3ff1
RD
2154}
2155
0085ce49
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
093d3ff1 2171#endif
0085ce49
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
093d3ff1 2176
0085ce49
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2187 } else {
0085ce49 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
0085ce49 2190 return SWIG_Py_Void();
093d3ff1 2191 }
0085ce49
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
0085ce49 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
0085ce49
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
093d3ff1 2209 }
093d3ff1 2210 }
0085ce49 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
0085ce49
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
32fe5131
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
093d3ff1
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
093d3ff1 2244#endif
32fe5131
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
32fe5131
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
0085ce49 2259 return SWIG_ERROR;
32fe5131
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
0085ce49 2264 return SWIG_ERROR;
32fe5131
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
0085ce49 2272 return SWIG_ERROR;
32fe5131
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
0085ce49 2275 return SWIG_ERROR;
32fe5131 2276 Py_DECREF(o);
0085ce49 2277 return SWIG_OK;
093d3ff1 2278}
32fe5131 2279#endif
093d3ff1 2280
0085ce49
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
32fe5131
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
0085ce49 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2306 } else {
2307 Py_XDECREF(pointer);
32fe5131
RD
2308 }
2309}
093d3ff1 2310
0085ce49
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
093d3ff1 2316}
093d3ff1 2317
0085ce49
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
32fe5131
RD
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_long swig_types[4]
2467#define SWIGTYPE_p_unsigned_char swig_types[5]
2468#define SWIGTYPE_p_unsigned_int swig_types[6]
2469#define SWIGTYPE_p_unsigned_long swig_types[7]
2470#define SWIGTYPE_p_void swig_types[8]
2471#define SWIGTYPE_p_wxANIHandler swig_types[9]
2472#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474#define SWIGTYPE_p_wxArrayInt swig_types[12]
2475#define SWIGTYPE_p_wxArrayString swig_types[13]
2476#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477#define SWIGTYPE_p_wxBitmap swig_types[15]
2478#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482#define SWIGTYPE_p_wxButton swig_types[20]
2483#define SWIGTYPE_p_wxCURHandler swig_types[21]
2484#define SWIGTYPE_p_wxCheckBox swig_types[22]
2485#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487#define SWIGTYPE_p_wxChoice swig_types[25]
2488#define SWIGTYPE_p_wxChoicebook swig_types[26]
2489#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2490#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2491#define SWIGTYPE_p_wxCloseEvent swig_types[29]
2492#define SWIGTYPE_p_wxColour swig_types[30]
b850e7f3
RD
2493#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494#define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495#define SWIGTYPE_p_wxComboBox swig_types[33]
2496#define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497#define SWIGTYPE_p_wxContextHelp swig_types[35]
2498#define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499#define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500#define SWIGTYPE_p_wxControl swig_types[38]
2501#define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502#define SWIGTYPE_p_wxCursor swig_types[40]
2503#define SWIGTYPE_p_wxDC swig_types[41]
2504#define SWIGTYPE_p_wxDateEvent swig_types[42]
2505#define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2506#define SWIGTYPE_p_wxDateTime swig_types[44]
2507#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[45]
2508#define SWIGTYPE_p_wxDirPickerCtrl swig_types[46]
2509#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[47]
2510#define SWIGTYPE_p_wxDropFilesEvent swig_types[48]
2511#define SWIGTYPE_p_wxDuplexMode swig_types[49]
2512#define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513#define SWIGTYPE_p_wxEvent swig_types[51]
2514#define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515#define SWIGTYPE_p_wxFSFile swig_types[53]
2516#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[54]
2517#define SWIGTYPE_p_wxFilePickerCtrl swig_types[55]
2518#define SWIGTYPE_p_wxFileSystem swig_types[56]
2519#define SWIGTYPE_p_wxFlexGridSizer swig_types[57]
2520#define SWIGTYPE_p_wxFocusEvent swig_types[58]
2521#define SWIGTYPE_p_wxFont swig_types[59]
2522#define SWIGTYPE_p_wxFontPickerCtrl swig_types[60]
2523#define SWIGTYPE_p_wxFontPickerEvent swig_types[61]
2524#define SWIGTYPE_p_wxGBSizerItem swig_types[62]
2525#define SWIGTYPE_p_wxGIFHandler swig_types[63]
2526#define SWIGTYPE_p_wxGauge swig_types[64]
2527#define SWIGTYPE_p_wxGenericDirCtrl swig_types[65]
2528#define SWIGTYPE_p_wxGenericDragImage swig_types[66]
2529#define SWIGTYPE_p_wxGridBagSizer swig_types[67]
2530#define SWIGTYPE_p_wxGridSizer swig_types[68]
2531#define SWIGTYPE_p_wxHelpEvent swig_types[69]
2532#define SWIGTYPE_p_wxHelpProvider swig_types[70]
2533#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[71]
2534#define SWIGTYPE_p_wxHyperlinkEvent swig_types[72]
2535#define SWIGTYPE_p_wxICOHandler swig_types[73]
2536#define SWIGTYPE_p_wxIcon swig_types[74]
2537#define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538#define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539#define SWIGTYPE_p_wxImage swig_types[77]
2540#define SWIGTYPE_p_wxImageHandler swig_types[78]
2541#define SWIGTYPE_p_wxImageList swig_types[79]
2542#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543#define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544#define SWIGTYPE_p_wxItemContainer swig_types[82]
2545#define SWIGTYPE_p_wxJPEGHandler swig_types[83]
2546#define SWIGTYPE_p_wxKeyEvent swig_types[84]
2547#define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548#define SWIGTYPE_p_wxListBox swig_types[86]
2549#define SWIGTYPE_p_wxListEvent swig_types[87]
2550#define SWIGTYPE_p_wxListItem swig_types[88]
2551#define SWIGTYPE_p_wxListItemAttr swig_types[89]
2552#define SWIGTYPE_p_wxListView swig_types[90]
2553#define SWIGTYPE_p_wxListbook swig_types[91]
2554#define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555#define SWIGTYPE_p_wxMaximizeEvent swig_types[93]
2556#define SWIGTYPE_p_wxMemoryDC swig_types[94]
2557#define SWIGTYPE_p_wxMenu swig_types[95]
2558#define SWIGTYPE_p_wxMenuBar swig_types[96]
2559#define SWIGTYPE_p_wxMenuEvent swig_types[97]
2560#define SWIGTYPE_p_wxMenuItem swig_types[98]
2561#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[99]
2562#define SWIGTYPE_p_wxMouseEvent swig_types[100]
2563#define SWIGTYPE_p_wxMoveEvent swig_types[101]
2564#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[102]
2565#define SWIGTYPE_p_wxNcPaintEvent swig_types[103]
2566#define SWIGTYPE_p_wxNotebook swig_types[104]
2567#define SWIGTYPE_p_wxNotebookEvent swig_types[105]
2568#define SWIGTYPE_p_wxNotifyEvent swig_types[106]
2569#define SWIGTYPE_p_wxObject swig_types[107]
2570#define SWIGTYPE_p_wxPCXHandler swig_types[108]
2571#define SWIGTYPE_p_wxPNGHandler swig_types[109]
2572#define SWIGTYPE_p_wxPNMHandler swig_types[110]
2573#define SWIGTYPE_p_wxPaintEvent swig_types[111]
2574#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[112]
2575#define SWIGTYPE_p_wxPaperSize swig_types[113]
2576#define SWIGTYPE_p_wxPickerBase swig_types[114]
2577#define SWIGTYPE_p_wxPoint swig_types[115]
2578#define SWIGTYPE_p_wxPyApp swig_types[116]
2579#define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
2580#define SWIGTYPE_p_wxPyControl swig_types[118]
2581#define SWIGTYPE_p_wxPyEvent swig_types[119]
2582#define SWIGTYPE_p_wxPyImageHandler swig_types[120]
2583#define SWIGTYPE_p_wxPyListCtrl swig_types[121]
2584#define SWIGTYPE_p_wxPySizer swig_types[122]
2585#define SWIGTYPE_p_wxPyTreeCtrl swig_types[123]
2586#define SWIGTYPE_p_wxPyTreeItemData swig_types[124]
2587#define SWIGTYPE_p_wxPyValidator swig_types[125]
2588#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2589#define SWIGTYPE_p_wxRadioBox swig_types[127]
2590#define SWIGTYPE_p_wxRadioButton swig_types[128]
2591#define SWIGTYPE_p_wxRect swig_types[129]
2592#define SWIGTYPE_p_wxScrollBar swig_types[130]
2593#define SWIGTYPE_p_wxScrollEvent swig_types[131]
2594#define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2595#define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596#define SWIGTYPE_p_wxShowEvent swig_types[134]
2597#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[135]
2598#define SWIGTYPE_p_wxSize swig_types[136]
2599#define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600#define SWIGTYPE_p_wxSizer swig_types[138]
2601#define SWIGTYPE_p_wxSizerItem swig_types[139]
2602#define SWIGTYPE_p_wxSlider swig_types[140]
2603#define SWIGTYPE_p_wxSpinButton swig_types[141]
2604#define SWIGTYPE_p_wxSpinCtrl swig_types[142]
2605#define SWIGTYPE_p_wxSpinEvent swig_types[143]
2606#define SWIGTYPE_p_wxStaticBitmap swig_types[144]
2607#define SWIGTYPE_p_wxStaticBox swig_types[145]
2608#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2609#define SWIGTYPE_p_wxStaticLine swig_types[147]
2610#define SWIGTYPE_p_wxStaticText swig_types[148]
2611#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2612#define SWIGTYPE_p_wxString swig_types[150]
2613#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[151]
2614#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2615#define SWIGTYPE_p_wxTextAttr swig_types[153]
2616#define SWIGTYPE_p_wxTextCtrl swig_types[154]
2617#define SWIGTYPE_p_wxTextUrlEvent swig_types[155]
2618#define SWIGTYPE_p_wxToggleButton swig_types[156]
2619#define SWIGTYPE_p_wxToolBar swig_types[157]
2620#define SWIGTYPE_p_wxToolBarBase swig_types[158]
2621#define SWIGTYPE_p_wxToolBarToolBase swig_types[159]
2622#define SWIGTYPE_p_wxToolbook swig_types[160]
2623#define SWIGTYPE_p_wxToolbookEvent swig_types[161]
2624#define SWIGTYPE_p_wxTreeCtrl swig_types[162]
2625#define SWIGTYPE_p_wxTreeEvent swig_types[163]
2626#define SWIGTYPE_p_wxTreeItemId swig_types[164]
2627#define SWIGTYPE_p_wxTreebook swig_types[165]
2628#define SWIGTYPE_p_wxTreebookEvent swig_types[166]
2629#define SWIGTYPE_p_wxUpdateUIEvent swig_types[167]
2630#define SWIGTYPE_p_wxValidator swig_types[168]
2631#define SWIGTYPE_p_wxVisualAttributes swig_types[169]
2632#define SWIGTYPE_p_wxWindow swig_types[170]
2633#define SWIGTYPE_p_wxWindowBase swig_types[171]
2634#define SWIGTYPE_p_wxWindowCreateEvent swig_types[172]
2635#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[173]
2636#define SWIGTYPE_p_wxXPMHandler swig_types[174]
2637static swig_type_info *swig_types[176];
2638static swig_module_info swig_module = {swig_types, 175, 0, 0, 0, 0};
32fe5131
RD
2639#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2640#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2641
2642/* -------- TYPES TABLE (END) -------- */
2643
0085ce49
RD
2644#if (PY_VERSION_HEX <= 0x02000000)
2645# if !defined(SWIG_PYTHON_CLASSIC)
2646# error "This python version requires to use swig with the '-classic' option"
2647# endif
2648#endif
2649#if (PY_VERSION_HEX <= 0x02020000)
2650# error "This python version requires to use swig with the '-nomodern' option"
2651#endif
2652#if (PY_VERSION_HEX <= 0x02020000)
2653# error "This python version requires to use swig with the '-nomodernargs' option"
2654#endif
2655#ifndef METH_O
2656# error "This python version requires to use swig with the '-nofastunpack' option"
2657#endif
093d3ff1
RD
2658
2659/*-----------------------------------------------
2660 @(target):= _controls_.so
2661 ------------------------------------------------*/
2662#define SWIG_init init_controls_
2663
2664#define SWIG_name "_controls_"
2665
0085ce49
RD
2666#define SWIGVERSION 0x010329
2667
2668
2669#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2670#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2671
2672
2673#include <stdexcept>
2674
2675
2676namespace swig {
2677 class PyObject_ptr {
2678 protected:
2679 PyObject *_obj;
2680
2681 public:
2682 PyObject_ptr() :_obj(0)
2683 {
2684 }
2685
2686 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2687 {
2688 Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2692 {
2693 if (initial_ref) Py_XINCREF(_obj);
2694 }
2695
2696 PyObject_ptr & operator=(const PyObject_ptr& item)
2697 {
2698 Py_XINCREF(item._obj);
2699 Py_XDECREF(_obj);
2700 _obj = item._obj;
2701 return *this;
2702 }
2703
2704 ~PyObject_ptr()
2705 {
2706 Py_XDECREF(_obj);
2707 }
2708
2709 operator PyObject *() const
2710 {
2711 return _obj;
2712 }
2713
2714 PyObject *operator->() const
2715 {
2716 return _obj;
2717 }
2718 };
2719}
2720
2721
2722namespace swig {
2723 struct PyObject_var : PyObject_ptr {
2724 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2725
2726 PyObject_var & operator = (PyObject* obj)
2727 {
2728 Py_XDECREF(_obj);
2729 _obj = obj;
2730 return *this;
2731 }
2732 };
2733}
2734
2735
093d3ff1
RD
2736#include "wx/wxPython/wxPython.h"
2737#include "wx/wxPython/pyclasses.h"
2738
2739 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2740 static const wxString wxPyEmptyString(wxEmptyString);
2741 static const wxString wxPyControlNameStr(wxControlNameStr);
2742
2743 const wxArrayString wxPyEmptyStringArray;
2744
2745 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2746
0085ce49 2747 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2748
2749
0085ce49
RD
2750SWIGINTERNINLINE PyObject *
2751SWIG_From_int (int value)
2752{
2753 return SWIG_From_long (value);
2754}
093d3ff1
RD
2755
2756
0085ce49
RD
2757#include <limits.h>
2758#ifndef LLONG_MIN
2759# define LLONG_MIN LONG_LONG_MIN
2760#endif
2761#ifndef LLONG_MAX
2762# define LLONG_MAX LONG_LONG_MAX
2763#endif
2764#ifndef ULLONG_MAX
2765# define ULLONG_MAX ULONG_LONG_MAX
2766#endif
093d3ff1
RD
2767
2768
2769SWIGINTERN int
0085ce49 2770SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2771{
2772 if (PyNumber_Check(obj)) {
2773 if (val) *val = PyInt_AsLong(obj);
0085ce49 2774 return SWIG_OK;
093d3ff1 2775 }
0085ce49 2776 return SWIG_TypeError;
093d3ff1
RD
2777}
2778
2779
093d3ff1 2780SWIGINTERN int
0085ce49
RD
2781SWIG_AsVal_int (PyObject * obj, int *val)
2782{
093d3ff1 2783 long v;
0085ce49
RD
2784 int res = SWIG_AsVal_long (obj, &v);
2785 if (SWIG_IsOK(res)) {
2786 if ((v < INT_MIN || v > INT_MAX)) {
2787 return SWIG_OverflowError;
093d3ff1 2788 } else {
0085ce49 2789 if (val) *val = static_cast< int >(v);
093d3ff1 2790 }
0085ce49
RD
2791 }
2792 return res;
994141e6
RD
2793}
2794
c32bde28 2795 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
15afbcd0 2796
093d3ff1 2797SWIGINTERN int
0085ce49 2798SWIG_AsVal_bool (PyObject *obj, bool *val)
15afbcd0 2799{
c32bde28
RD
2800 if (obj == Py_True) {
2801 if (val) *val = true;
0085ce49
RD
2802 return SWIG_OK;
2803 } else if (obj == Py_False) {
c32bde28 2804 if (val) *val = false;
0085ce49 2805 return SWIG_OK;
093d3ff1 2806 } else {
0085ce49
RD
2807 long v = 0;
2808 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2809 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2810 return res;
c32bde28 2811 }
15afbcd0
RD
2812}
2813
b2dc1044
RD
2814 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2815 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2816 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2817 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2818 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2819 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
d14a1e28
RD
2820
2821#include <wx/checklst.h>
d14a1e28 2822
b2dc1044 2823 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
0085ce49 2824SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2825 if (clientData)
2826 {
d14a1e28
RD
2827 wxPyClientData* data = new wxPyClientData(clientData);
2828 self->Insert(item, pos, data);
e9d6f3a4
RD
2829 }
2830 else
d14a1e28
RD
2831 self->Insert(item, pos);
2832 }
50f151d7
RD
2833
2834SWIGINTERN int
2835SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2836{
2837 long v = 0;
2838 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2839 return SWIG_TypeError;
2840 }
2841 else if (val)
2842 *val = (unsigned long)v;
2843 return SWIG_OK;
2844}
2845
2846
2847SWIGINTERN int
2848SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2849{
2850 unsigned long v;
2851 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2852 if (SWIG_IsOK(res)) {
2853 if ((v > UINT_MAX)) {
2854 return SWIG_OverflowError;
2855 } else {
2856 if (val) *val = static_cast< unsigned int >(v);
2857 }
2858 }
2859 return res;
2860}
2861
0085ce49 2862SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2863 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2864 wxArrayInt lst;
2865 self->GetSelections(lst);
2866 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2867 for (size_t i=0; i<lst.GetCount(); i++)
2868 {
7e08d4ef
RD
2869 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2870 }
e9d6f3a4 2871 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2872 return tup;
2873 }
0085ce49 2874SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
2875 #ifdef __WXMSW__
2876 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2877 self->GetItem(item)->SetTextColour(c);
2878 #endif
2879 }
0085ce49 2880SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
c3eb6258
RD
2881 #ifdef __WXMSW__
2882 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2883 self->GetItem(item)->SetBackgroundColour(c);
2884 #endif
2885 }
0085ce49 2886SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
c3eb6258
RD
2887 #ifdef __WXMSW__
2888 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2889 self->GetItem(item)->SetFont(f);
2890 #endif
2891 }
b2dc1044 2892 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
0085ce49 2893SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d14a1e28
RD
2894 self->AppendText(text);
2895 }
0085ce49 2896SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d14a1e28
RD
2897 return self->GetValue().Mid(from, to - from);
2898 }
b2dc1044
RD
2899 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2900 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
33b885b9 2901 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
b2dc1044
RD
2902 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2903 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
75219dcb
RD
2904
2905SWIGINTERNINLINE PyObject*
2906SWIG_From_unsigned_SS_long (unsigned long value)
2907{
2908 return (value > LONG_MAX) ?
2909 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2910}
2911
2912
2913SWIGINTERNINLINE PyObject *
2914SWIG_From_size_t (size_t value)
2915{
2916 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2917}
2918
50f151d7
RD
2919
2920SWIGINTERNINLINE PyObject *
2921SWIG_From_unsigned_SS_int (unsigned int value)
2922{
2923 return SWIG_From_unsigned_SS_long (value);
2924}
2925
d14a1e28
RD
2926
2927#include <wx/slider.h>
2928
d14a1e28 2929
b2dc1044 2930 static const wxString wxPySliderNameStr(wxSliderNameStr);
33b885b9 2931 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
d14a1e28 2932
15afbcd0
RD
2933#if !wxUSE_TOGGLEBTN
2934// implement dummy items for platforms that don't have this class
d14a1e28
RD
2935
2936#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2937
2938class wxToggleButton : public wxControl
2939{
2940public:
2941 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2942 const wxPoint&, const wxSize&, long,
2943 const wxValidator&, const wxString&)
39f61e25 2944 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
2945
2946 wxToggleButton()
39f61e25 2947 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
2948};
2949#endif
2950
51b83b37 2951 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
994141e6 2952
7e08d4ef 2953SWIGINTERNINLINE int
0085ce49 2954SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2955{
7e08d4ef 2956 unsigned long v;
0085ce49
RD
2957 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2958 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2959 return res;
7e08d4ef 2960}
7e08d4ef 2961
b2dc1044 2962 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
0085ce49 2963SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d14a1e28
RD
2964 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2965 if (udata) {
2966 Py_INCREF(udata->m_obj);
2967 return udata->m_obj;
2968 } else {
2969 Py_INCREF(Py_None);
2970 return Py_None;
2971 }
2972 }
0085ce49 2973SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d14a1e28
RD
2974 self->SetClientData(new wxPyUserData(clientData));
2975 }
0085ce49 2976SWIGINTERN 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){
d14a1e28
RD
2977 wxPyUserData* udata = NULL;
2978 if (clientData && clientData != Py_None)
2979 udata = new wxPyUserData(clientData);
2980 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2981 shortHelp, longHelp, udata);
2982 }
0085ce49 2983SWIGINTERN 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){
d14a1e28
RD
2984 wxPyUserData* udata = NULL;
2985 if (clientData && clientData != Py_None)
2986 udata = new wxPyUserData(clientData);
2987 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2988 shortHelp, longHelp, udata);
2989 }
0085ce49 2990SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d14a1e28
RD
2991 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
2992 if (udata) {
2993 Py_INCREF(udata->m_obj);
2994 return udata->m_obj;
2995 } else {
2996 Py_INCREF(Py_None);
2997 return Py_None;
2998 }
2999 }
0085ce49 3000SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d14a1e28
RD
3001 self->SetToolClientData(id, new wxPyUserData(clientData));
3002 }
3003
3004#include <wx/listctrl.h>
3005
7557b9b5 3006 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
0085ce49 3007SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d14a1e28
RD
3008 // Python aware sorting function for wxPyListCtrl
3009 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3010 int retval = 0;
3011 PyObject* func = (PyObject*)funcPtr;
5a446332 3012 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3013
3014 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3015 PyObject* result = PyEval_CallObject(func, args);
3016 Py_DECREF(args);
3017 if (result) {
3018 retval = PyInt_AsLong(result);
3019 Py_DECREF(result);
3020 }
3021
4f89f6a3 3022 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3023 return retval;
3024 }
3025
3026 // C++ Version of a Python aware class
3027class wxPyListCtrl : public wxListCtrl {
32fe5131 3028 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d14a1e28
RD
3029public:
3030 wxPyListCtrl() : wxListCtrl() {}
3031 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3032 const wxPoint& pos,
3033 const wxSize& size,
3034 long style,
3035 const wxValidator& validator,
3036 const wxString& name) :
3037 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3038
3039 bool Create(wxWindow* parent, wxWindowID id,
3040 const wxPoint& pos,
3041 const wxSize& size,
3042 long style,
3043 const wxValidator& validator,
3044 const wxString& name) {
3045 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3046 }
3047
3048 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d14a1e28
RD
3049 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3050
84f85550
RD
3051 // use the virtual version to avoid a confusing assert in the base class
3052 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3053 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3054
d14a1e28
RD
3055 PYPRIVATE;
3056};
3057
3058IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3059
3060IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d14a1e28 3061IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3062IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
7e08d4ef
RD
3063IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
3064
d14a1e28 3065
0085ce49 3066SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d14a1e28
RD
3067 wxListItem item;
3068 item.SetMask( wxLIST_MASK_STATE |
3069 wxLIST_MASK_TEXT |
3070 wxLIST_MASK_IMAGE |
3071 wxLIST_MASK_DATA |
3072 wxLIST_SET_ITEM |
3073 wxLIST_MASK_WIDTH |
3074 wxLIST_MASK_FORMAT
3075 );
3076 if (self->GetColumn(col, item))
3077 return new wxListItem(item);
3078 else
3079 return NULL;
3080 }
0085ce49 3081SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d14a1e28
RD
3082 wxListItem* info = new wxListItem;
3083 info->m_itemId = itemId;
3084 info->m_col = col;
3085 info->m_mask = 0xFFFF;
3086 self->GetItem(*info);
3087 return info;
3088 }
0085ce49 3089SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d14a1e28
RD
3090 wxPoint pos;
3091 self->GetItemPosition(item, pos);
3092 return pos;
3093 }
0085ce49 3094SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d14a1e28
RD
3095 wxRect rect;
3096 self->GetItemRect(item, rect, code);
3097 return rect;
3098 }
0085ce49 3099SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d14a1e28 3100 if (!PyCallable_Check(func))
ae8162c8 3101 return false;
d14a1e28
RD
3102 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3103 }
0085ce49 3104SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d14a1e28
RD
3105
3106
3107
3108 return (wxWindow*)self->m_mainWin;
3109
3110 }
3111
3112#include <wx/treectrl.h>
3113#include "wx/wxPython/pytree.h"
d14a1e28 3114
33b885b9 3115 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
0085ce49
RD
3116SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3117SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3118SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
d14a1e28
RD
3119 // C++ version of Python aware wxTreeCtrl
3120class wxPyTreeCtrl : public wxTreeCtrl {
32fe5131 3121 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d14a1e28
RD
3122public:
3123 wxPyTreeCtrl() : wxTreeCtrl() {}
3124 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3125 const wxPoint& pos,
3126 const wxSize& size,
3127 long style,
3128 const wxValidator& validator,
3129 const wxString& name) :
3130 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3131
3132 bool Create(wxWindow *parent, wxWindowID id,
3133 const wxPoint& pos,
3134 const wxSize& size,
3135 long style,
3136 const wxValidator& validator,
3137 const wxString& name) {
3138 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3139 }
3140
3141
3142 int OnCompareItems(const wxTreeItemId& item1,
3143 const wxTreeItemId& item2) {
3144 int rval = 0;
3145 bool found;
5a446332 3146 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3147 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3148 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3149 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d14a1e28
RD
3150 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3151 Py_DECREF(o1);
3152 Py_DECREF(o2);
3153 }
4f89f6a3 3154 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3155 if (! found)
3156 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3157 return rval;
3158 }
3159 PYPRIVATE;
3160};
3161
3162IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3163
3164
0085ce49 3165SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
3166 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3167 if (data == NULL) {
3168 data = new wxPyTreeItemData();
3169 data->SetId(item); // set the id
3170 self->SetItemData(item, data);
3171 }
3172 return data;
3173 }
0085ce49 3174SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d14a1e28
RD
3175 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3176 if (data == NULL) {
3177 data = new wxPyTreeItemData();
3178 data->SetId(item); // set the id
3179 self->SetItemData(item, data);
3180 }
3181 return data->GetData();
3182 }
0085ce49 3183SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d14a1e28
RD
3184 data->SetId(item); // set the id
3185 self->SetItemData(item, data);
3186 }
0085ce49 3187SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d14a1e28
RD
3188 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3189 if (data == NULL) {
3190 data = new wxPyTreeItemData(obj);
3191 data->SetId(item); // set the id
3192 self->SetItemData(item, data);
3193 } else
3194 data->SetData(obj);
3195 }
0085ce49 3196SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3198 PyObject* rval = PyList_New(0);
3199 wxArrayTreeItemIds array;
3200 size_t num, x;
3201 num = self->GetSelections(array);
3202 for (x=0; x < num; x++) {
3203 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3204 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d14a1e28 3205 PyList_Append(rval, item);
1a10c483 3206 Py_DECREF(item);
d14a1e28 3207 }
4f89f6a3 3208 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3209 return rval;
3210 }
0085ce49 3211SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
58203fa6
RD
3212 void* cookie = 0;
3213 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3214 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3215 PyObject* tup = PyTuple_New(2);
ae8162c8 3216 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 3217 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3218 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3219 return tup;
3220 }
0085ce49 3221SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
58203fa6 3222 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3223 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3224 PyObject* tup = PyTuple_New(2);
ae8162c8 3225 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
58203fa6 3226 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3227 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3228 return tup;
3229 }
0085ce49 3230SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d14a1e28
RD
3231 wxRect rect;
3232 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3233 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28 3234 wxRect* r = new wxRect(rect);
ae8162c8 3235 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
4f89f6a3 3236 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3237 return val;
3238 }
3239 else
3240 RETURN_NONE();
3241 }
b2dc1044 3242 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3243
32fe5131 3244SWIGINTERNINLINE PyObject*
0085ce49 3245 SWIG_From_bool (bool value)
c32bde28 3246{
0085ce49 3247 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3248}
3249
d14a1e28
RD
3250 // C++ version of Python aware wxControl
3251class wxPyControl : public wxControl
3252{
3253 DECLARE_DYNAMIC_CLASS(wxPyControl)
3254public:
3255 wxPyControl() : wxControl() {}
3256 wxPyControl(wxWindow* parent, const wxWindowID id,
3257 const wxPoint& pos = wxDefaultPosition,
3258 const wxSize& size = wxDefaultSize,
3259 long style = 0,
3260 const wxValidator& validator=wxDefaultValidator,
3261 const wxString& name = wxPyControlNameStr)
3262 : wxControl(parent, id, pos, size, style, validator, name) {}
3263
db3e571a 3264 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d14a1e28 3265
976dbff5
RD
3266 bool DoEraseBackground(wxDC* dc) {
3267#ifdef __WXMSW__
3268 return wxWindow::DoEraseBackground(dc->GetHDC());
3269#else
3270 dc->SetBackground(wxBrush(GetBackgroundColour()));
3271 dc->Clear();
3272 return true;
3273#endif
3274 }
3275
d14a1e28
RD
3276 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3277 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3278 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3280
3281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3284
3285 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3286 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3287
3288 DEC_PYCALLBACK__(InitDialog);
3289 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3290 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3291 DEC_PYCALLBACK_BOOL_(Validate);
3292
3293 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3295 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3296
3297 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3298 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3299
db3e571a 3300 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3301 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3302
51b83b37
RD
3303 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3304
8d38bd1d
RD
3305 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3306
d14a1e28
RD
3307 PYPRIVATE;
3308};
3309
3310IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3311
3312IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3313IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3314IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3315IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3316
3317IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3318IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3319IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3320
3321IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3322IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3323
3324IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3325IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3326IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3327IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3328
3329IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3330IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3331IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3332
3333IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3334IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3335
db3e571a 3336IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
db3e571a 3337IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d14a1e28 3338
51b83b37 3339IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3340
3341IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3342
d14a1e28
RD
3343
3344
0085ce49 3345SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
3346
3347#include <wx/generic/dragimgg.h>
3348
53aa7709 3349 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
0085ce49 3350SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3351 wxDateTime rv;
3352 self->GetRange(&rv, NULL);
3353 return rv;
3354 }
0085ce49 3355SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3356 wxDateTime rv;
3357 self->GetRange(NULL, &rv);
3358 return rv;
3359 }
704eda0c 3360 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3361
3362#include <wx/pickerbase.h>
3363#include <wx/clrpicker.h>
3364#include <wx/filepicker.h>
3365#include <wx/fontpicker.h>
3366
3367 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3368 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3369 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3370 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3371 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3372 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3373 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
d14a1e28
RD
3374#ifdef __cplusplus
3375extern "C" {
3376#endif
0085ce49
RD
3377SWIGINTERN int ButtonNameStr_set(PyObject *) {
3378 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3379 return 1;
b2dc1044
RD
3380}
3381
3382
0085ce49
RD
3383SWIGINTERN PyObject *ButtonNameStr_get(void) {
3384 PyObject *pyobj = 0;
3385
3386 {
b2dc1044 3387#if wxUSE_UNICODE
0085ce49 3388 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
b2dc1044 3389#else
0085ce49 3390 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
b2dc1044 3391#endif
0085ce49
RD
3392 }
3393 return pyobj;
3394}
3395
3396
3397SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj = 0;
3399 wxWindow *arg1 = (wxWindow *) 0 ;
3400 int arg2 = (int) -1 ;
3401 wxString const &arg3_defvalue = wxPyEmptyString ;
3402 wxString *arg3 = (wxString *) &arg3_defvalue ;
3403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3405 wxSize const &arg5_defvalue = wxDefaultSize ;
3406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3407 long arg6 = (long) 0 ;
3408 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3409 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3410 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3411 wxString *arg8 = (wxString *) &arg8_defvalue ;
3412 wxButton *result = 0 ;
3413 void *argp1 = 0 ;
3414 int res1 = 0 ;
3415 int val2 ;
3416 int ecode2 = 0 ;
3417 bool temp3 = false ;
3418 wxPoint temp4 ;
3419 wxSize temp5 ;
3420 long val6 ;
3421 int ecode6 = 0 ;
3422 void *argp7 = 0 ;
3423 int res7 = 0 ;
3424 bool temp8 = false ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 PyObject * obj2 = 0 ;
3428 PyObject * obj3 = 0 ;
3429 PyObject * obj4 = 0 ;
3430 PyObject * obj5 = 0 ;
3431 PyObject * obj6 = 0 ;
3432 PyObject * obj7 = 0 ;
3433 char * kwnames[] = {
3434 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3435 };
3436
3437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3439 if (!SWIG_IsOK(res1)) {
3440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3441 }
3442 arg1 = reinterpret_cast< wxWindow * >(argp1);
3443 if (obj1) {
3444 ecode2 = SWIG_AsVal_int(obj1, &val2);
3445 if (!SWIG_IsOK(ecode2)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3447 }
3448 arg2 = static_cast< int >(val2);
3449 }
3450 if (obj2) {
d14a1e28 3451 {
0085ce49
RD
3452 arg3 = wxString_in_helper(obj2);
3453 if (arg3 == NULL) SWIG_fail;
3454 temp3 = true;
d14a1e28 3455 }
0085ce49
RD
3456 }
3457 if (obj3) {
d14a1e28 3458 {
0085ce49
RD
3459 arg4 = &temp4;
3460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3461 }
0085ce49
RD
3462 }
3463 if (obj4) {
d14a1e28 3464 {
0085ce49
RD
3465 arg5 = &temp5;
3466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3467 }
0085ce49
RD
3468 }
3469 if (obj5) {
3470 ecode6 = SWIG_AsVal_long(obj5, &val6);
3471 if (!SWIG_IsOK(ecode6)) {
3472 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3473 }
3474 arg6 = static_cast< long >(val6);
3475 }
3476 if (obj6) {
3477 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3478 if (!SWIG_IsOK(res7)) {
3479 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 3480 }
0085ce49
RD
3481 if (!argp7) {
3482 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 3483 }
0085ce49
RD
3484 arg7 = reinterpret_cast< wxValidator * >(argp7);
3485 }
3486 if (obj7) {
d14a1e28 3487 {
0085ce49
RD
3488 arg8 = wxString_in_helper(obj7);
3489 if (arg8 == NULL) SWIG_fail;
3490 temp8 = true;
d14a1e28 3491 }
0085ce49
RD
3492 }
3493 {
3494 if (!wxPyCheckForApp()) SWIG_fail;
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3501 {
3502 if (temp3)
3503 delete arg3;
3504 }
3505 {
3506 if (temp8)
3507 delete arg8;
3508 }
3509 return resultobj;
3510fail:
3511 {
3512 if (temp3)
3513 delete arg3;
3514 }
3515 {
3516 if (temp8)
3517 delete arg8;
3518 }
3519 return NULL;
d14a1e28
RD
3520}
3521
3522
0085ce49
RD
3523SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3524 PyObject *resultobj = 0;
3525 wxButton *result = 0 ;
3526
3527 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3528 {
3529 if (!wxPyCheckForApp()) SWIG_fail;
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 result = (wxButton *)new wxButton();
3532 wxPyEndAllowThreads(__tstate);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 }
3535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3536 return resultobj;
3537fail:
3538 return NULL;
3539}
3540
3541
3542SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj = 0;
3544 wxButton *arg1 = (wxButton *) 0 ;
3545 wxWindow *arg2 = (wxWindow *) 0 ;
3546 int arg3 = (int) -1 ;
3547 wxString const &arg4_defvalue = wxPyEmptyString ;
3548 wxString *arg4 = (wxString *) &arg4_defvalue ;
3549 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3550 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3551 wxSize const &arg6_defvalue = wxDefaultSize ;
3552 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3553 long arg7 = (long) 0 ;
3554 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3555 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3556 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3557 wxString *arg9 = (wxString *) &arg9_defvalue ;
3558 bool result;
3559 void *argp1 = 0 ;
3560 int res1 = 0 ;
3561 void *argp2 = 0 ;
3562 int res2 = 0 ;
3563 int val3 ;
3564 int ecode3 = 0 ;
3565 bool temp4 = false ;
3566 wxPoint temp5 ;
3567 wxSize temp6 ;
3568 long val7 ;
3569 int ecode7 = 0 ;
3570 void *argp8 = 0 ;
3571 int res8 = 0 ;
3572 bool temp9 = false ;
3573 PyObject * obj0 = 0 ;
3574 PyObject * obj1 = 0 ;
3575 PyObject * obj2 = 0 ;
3576 PyObject * obj3 = 0 ;
3577 PyObject * obj4 = 0 ;
3578 PyObject * obj5 = 0 ;
3579 PyObject * obj6 = 0 ;
3580 PyObject * obj7 = 0 ;
3581 PyObject * obj8 = 0 ;
3582 char * kwnames[] = {
3583 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3584 };
3585
3586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3588 if (!SWIG_IsOK(res1)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3590 }
3591 arg1 = reinterpret_cast< wxButton * >(argp1);
3592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3593 if (!SWIG_IsOK(res2)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3595 }
3596 arg2 = reinterpret_cast< wxWindow * >(argp2);
3597 if (obj2) {
3598 ecode3 = SWIG_AsVal_int(obj2, &val3);
3599 if (!SWIG_IsOK(ecode3)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3601 }
3602 arg3 = static_cast< int >(val3);
3603 }
3604 if (obj3) {
d14a1e28 3605 {
0085ce49
RD
3606 arg4 = wxString_in_helper(obj3);
3607 if (arg4 == NULL) SWIG_fail;
3608 temp4 = true;
d14a1e28 3609 }
0085ce49
RD
3610 }
3611 if (obj4) {
4f89f6a3 3612 {
0085ce49
RD
3613 arg5 = &temp5;
3614 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 3615 }
0085ce49
RD
3616 }
3617 if (obj5) {
d14a1e28 3618 {
0085ce49
RD
3619 arg6 = &temp6;
3620 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 3621 }
0085ce49
RD
3622 }
3623 if (obj6) {
3624 ecode7 = SWIG_AsVal_long(obj6, &val7);
3625 if (!SWIG_IsOK(ecode7)) {
3626 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3627 }
3628 arg7 = static_cast< long >(val7);
3629 }
3630 if (obj7) {
3631 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3632 if (!SWIG_IsOK(res8)) {
3633 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 3634 }
0085ce49
RD
3635 if (!argp8) {
3636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 3637 }
0085ce49
RD
3638 arg8 = reinterpret_cast< wxValidator * >(argp8);
3639 }
3640 if (obj8) {
d14a1e28 3641 {
0085ce49
RD
3642 arg9 = wxString_in_helper(obj8);
3643 if (arg9 == NULL) SWIG_fail;
3644 temp9 = true;
d14a1e28 3645 }
0085ce49
RD
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3655 }
3656 {
3657 if (temp4)
3658 delete arg4;
3659 }
3660 {
3661 if (temp9)
3662 delete arg9;
3663 }
3664 return resultobj;
3665fail:
3666 {
3667 if (temp4)
3668 delete arg4;
3669 }
3670 {
3671 if (temp9)
3672 delete arg9;
3673 }
3674 return NULL;
d14a1e28
RD
3675}
3676
3677
0085ce49
RD
3678SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3679 PyObject *resultobj = 0;
3680 wxButton *arg1 = (wxButton *) 0 ;
3681 void *argp1 = 0 ;
3682 int res1 = 0 ;
3683 PyObject *swig_obj[1] ;
3684
3685 if (!args) SWIG_fail;
3686 swig_obj[0] = args;
3687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3688 if (!SWIG_IsOK(res1)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3690 }
3691 arg1 = reinterpret_cast< wxButton * >(argp1);
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 (arg1)->SetDefault();
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 resultobj = SWIG_Py_Void();
3699 return resultobj;
3700fail:
3701 return NULL;
d14a1e28
RD
3702}
3703
3704
0085ce49
RD
3705SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3706 PyObject *resultobj = 0;
3707 wxSize result;
3708
3709 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 result = wxButton::GetDefaultSize();
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) SWIG_fail;
3715 }
3716 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3717 return resultobj;
3718fail:
3719 return NULL;
3720}
3721
3722
3723SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3724 PyObject *resultobj = 0;
3725 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3726 SwigValueWrapper<wxVisualAttributes > result;
3727 int val1 ;
3728 int ecode1 = 0 ;
3729 PyObject * obj0 = 0 ;
3730 char * kwnames[] = {
3731 (char *) "variant", NULL
3732 };
3733
3734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3735 if (obj0) {
3736 ecode1 = SWIG_AsVal_int(obj0, &val1);
3737 if (!SWIG_IsOK(ecode1)) {
3738 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3739 }
3740 arg1 = static_cast< wxWindowVariant >(val1);
3741 }
3742 {
3743 if (!wxPyCheckForApp()) SWIG_fail;
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 result = wxButton::GetClassDefaultAttributes(arg1);
3746 wxPyEndAllowThreads(__tstate);
3747 if (PyErr_Occurred()) SWIG_fail;
3748 }
3749 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3750 return resultobj;
3751fail:
3752 return NULL;
3753}
3754
3755
3756SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3757 PyObject *obj;
3758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3759 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3760 return SWIG_Py_Void();
3761}
3762
3763SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3764 return SWIG_Python_InitShadowInstance(args);
3765}
3766
3767SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj = 0;
3769 wxWindow *arg1 = (wxWindow *) 0 ;
3770 int arg2 = (int) -1 ;
3771 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3772 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3773 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3774 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3775 wxSize const &arg5_defvalue = wxDefaultSize ;
3776 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3777 long arg6 = (long) wxBU_AUTODRAW ;
3778 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3779 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3780 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3781 wxString *arg8 = (wxString *) &arg8_defvalue ;
3782 wxBitmapButton *result = 0 ;
3783 void *argp1 = 0 ;
3784 int res1 = 0 ;
3785 int val2 ;
3786 int ecode2 = 0 ;
3787 void *argp3 = 0 ;
3788 int res3 = 0 ;
3789 wxPoint temp4 ;
3790 wxSize temp5 ;
3791 long val6 ;
3792 int ecode6 = 0 ;
3793 void *argp7 = 0 ;
3794 int res7 = 0 ;
3795 bool temp8 = false ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj1 = 0 ;
3798 PyObject * obj2 = 0 ;
3799 PyObject * obj3 = 0 ;
3800 PyObject * obj4 = 0 ;
3801 PyObject * obj5 = 0 ;
3802 PyObject * obj6 = 0 ;
3803 PyObject * obj7 = 0 ;
3804 char * kwnames[] = {
3805 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3806 };
3807
3808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3810 if (!SWIG_IsOK(res1)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3812 }
3813 arg1 = reinterpret_cast< wxWindow * >(argp1);
3814 if (obj1) {
3815 ecode2 = SWIG_AsVal_int(obj1, &val2);
3816 if (!SWIG_IsOK(ecode2)) {
3817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3818 }
3819 arg2 = static_cast< int >(val2);
3820 }
3821 if (obj2) {
3822 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3823 if (!SWIG_IsOK(res3)) {
3824 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3825 }
3826 if (!argp3) {
3827 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3828 }
3829 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3830 }
3831 if (obj3) {
d14a1e28 3832 {
0085ce49
RD
3833 arg4 = &temp4;
3834 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3835 }
0085ce49
RD
3836 }
3837 if (obj4) {
d14a1e28 3838 {
0085ce49
RD
3839 arg5 = &temp5;
3840 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3841 }
0085ce49
RD
3842 }
3843 if (obj5) {
3844 ecode6 = SWIG_AsVal_long(obj5, &val6);
3845 if (!SWIG_IsOK(ecode6)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3847 }
3848 arg6 = static_cast< long >(val6);
3849 }
3850 if (obj6) {
3851 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3852 if (!SWIG_IsOK(res7)) {
3853 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
22bfe96c 3854 }
0085ce49
RD
3855 if (!argp7) {
3856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
22bfe96c 3857 }
0085ce49
RD
3858 arg7 = reinterpret_cast< wxValidator * >(argp7);
3859 }
3860 if (obj7) {
22bfe96c 3861 {
0085ce49
RD
3862 arg8 = wxString_in_helper(obj7);
3863 if (arg8 == NULL) SWIG_fail;
3864 temp8 = true;
22bfe96c 3865 }
0085ce49
RD
3866 }
3867 {
3868 if (!wxPyCheckForApp()) SWIG_fail;
3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
3870 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3875 {
3876 if (temp8)
3877 delete arg8;
3878 }
3879 return resultobj;
3880fail:
3881 {
3882 if (temp8)
3883 delete arg8;
3884 }
3885 return NULL;
22bfe96c
RD
3886}
3887
3888
0085ce49
RD
3889SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3890 PyObject *resultobj = 0;
3891 wxBitmapButton *result = 0 ;
3892
3893 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3894 {
3895 if (!wxPyCheckForApp()) SWIG_fail;
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (wxBitmapButton *)new wxBitmapButton();
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3902 return resultobj;
3903fail:
3904 return NULL;
3905}
3906
3907
3908SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj = 0;
3910 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3911 wxWindow *arg2 = (wxWindow *) 0 ;
3912 int arg3 = (int) -1 ;
3913 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3914 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3917 wxSize const &arg6_defvalue = wxDefaultSize ;
3918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3919 long arg7 = (long) wxBU_AUTODRAW ;
3920 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3921 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3922 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3923 wxString *arg9 = (wxString *) &arg9_defvalue ;
3924 bool result;
3925 void *argp1 = 0 ;
3926 int res1 = 0 ;
3927 void *argp2 = 0 ;
3928 int res2 = 0 ;
3929 int val3 ;
3930 int ecode3 = 0 ;
3931 void *argp4 = 0 ;
3932 int res4 = 0 ;
3933 wxPoint temp5 ;
3934 wxSize temp6 ;
3935 long val7 ;
3936 int ecode7 = 0 ;
3937 void *argp8 = 0 ;
3938 int res8 = 0 ;
3939 bool temp9 = false ;
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 *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3951 };
3952
3953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3955 if (!SWIG_IsOK(res1)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3957 }
3958 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3959 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3960 if (!SWIG_IsOK(res2)) {
3961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3962 }
3963 arg2 = reinterpret_cast< wxWindow * >(argp2);
3964 if (obj2) {
3965 ecode3 = SWIG_AsVal_int(obj2, &val3);
3966 if (!SWIG_IsOK(ecode3)) {
3967 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3968 }
3969 arg3 = static_cast< int >(val3);
3970 }
3971 if (obj3) {
3972 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3973 if (!SWIG_IsOK(res4)) {
3974 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d14a1e28 3975 }
0085ce49
RD
3976 if (!argp4) {
3977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d14a1e28 3978 }
0085ce49
RD
3979 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3980 }
3981 if (obj4) {
d14a1e28 3982 {
0085ce49
RD
3983 arg5 = &temp5;
3984 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3985 }
0085ce49
RD
3986 }
3987 if (obj5) {
d14a1e28 3988 {
0085ce49
RD
3989 arg6 = &temp6;
3990 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3991 }
3992 }
3993 if (obj6) {
3994 ecode7 = SWIG_AsVal_long(obj6, &val7);
3995 if (!SWIG_IsOK(ecode7)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3997 }
3998 arg7 = static_cast< long >(val7);
3999 }
4000 if (obj7) {
4001 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4002 if (!SWIG_IsOK(res8)) {
4003 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4004 }
4005 if (!argp8) {
4006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 4007 }
0085ce49
RD
4008 arg8 = reinterpret_cast< wxValidator * >(argp8);
4009 }
4010 if (obj8) {
d14a1e28 4011 {
0085ce49
RD
4012 arg9 = wxString_in_helper(obj8);
4013 if (arg9 == NULL) SWIG_fail;
4014 temp9 = true;
d14a1e28 4015 }
0085ce49
RD
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4020 wxPyEndAllowThreads(__tstate);
4021 if (PyErr_Occurred()) SWIG_fail;
4022 }
4023 {
4024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4025 }
4026 {
4027 if (temp9)
4028 delete arg9;
4029 }
4030 return resultobj;
4031fail:
4032 {
4033 if (temp9)
4034 delete arg9;
4035 }
4036 return NULL;
d14a1e28
RD
4037}
4038
4039
0085ce49
RD
4040SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4041 PyObject *resultobj = 0;
4042 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4043 wxBitmap result;
4044 void *argp1 = 0 ;
4045 int res1 = 0 ;
4046 PyObject *swig_obj[1] ;
4047
4048 if (!args) SWIG_fail;
4049 swig_obj[0] = args;
4050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4051 if (!SWIG_IsOK(res1)) {
4052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4053 }
4054 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4055 {
4056 PyThreadState* __tstate = wxPyBeginAllowThreads();
4057 result = (arg1)->GetBitmapLabel();
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4062 return resultobj;
4063fail:
4064 return NULL;
d14a1e28
RD
4065}
4066
4067
0085ce49
RD
4068SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4069 PyObject *resultobj = 0;
4070 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4071 wxBitmap result;
4072 void *argp1 = 0 ;
4073 int res1 = 0 ;
4074 PyObject *swig_obj[1] ;
4075
4076 if (!args) SWIG_fail;
4077 swig_obj[0] = args;
4078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4079 if (!SWIG_IsOK(res1)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4081 }
4082 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (arg1)->GetBitmapDisabled();
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4090 return resultobj;
4091fail:
4092 return NULL;
d14a1e28
RD
4093}
4094
4095
0085ce49
RD
4096SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4097 PyObject *resultobj = 0;
4098 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4099 wxBitmap result;
4100 void *argp1 = 0 ;
4101 int res1 = 0 ;
4102 PyObject *swig_obj[1] ;
4103
4104 if (!args) SWIG_fail;
4105 swig_obj[0] = args;
4106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4107 if (!SWIG_IsOK(res1)) {
4108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4109 }
4110 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (arg1)->GetBitmapFocus();
4114 wxPyEndAllowThreads(__tstate);
4115 if (PyErr_Occurred()) SWIG_fail;
4116 }
4117 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4118 return resultobj;
4119fail:
4120 return NULL;
d14a1e28
RD
4121}
4122
4123
0085ce49
RD
4124SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4125 PyObject *resultobj = 0;
4126 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4127 wxBitmap result;
4128 void *argp1 = 0 ;
4129 int res1 = 0 ;
4130 PyObject *swig_obj[1] ;
4131
4132 if (!args) SWIG_fail;
4133 swig_obj[0] = args;
4134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4135 if (!SWIG_IsOK(res1)) {
4136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4137 }
4138 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (arg1)->GetBitmapSelected();
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4146 return resultobj;
4147fail:
4148 return NULL;
d14a1e28
RD
4149}
4150
4151
0085ce49
RD
4152SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4153 PyObject *resultobj = 0;
4154 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4155 wxBitmap result;
4156 void *argp1 = 0 ;
4157 int res1 = 0 ;
4158 PyObject *swig_obj[1] ;
4159
4160 if (!args) SWIG_fail;
4161 swig_obj[0] = args;
4162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4163 if (!SWIG_IsOK(res1)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4165 }
4166 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4167 {
4168 PyThreadState* __tstate = wxPyBeginAllowThreads();
4169 result = (arg1)->GetBitmapHover();
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4174 return resultobj;
4175fail:
4176 return NULL;
4177}
4178
4179
4180SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj = 0;
4182 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4183 wxBitmap *arg2 = 0 ;
4184 void *argp1 = 0 ;
4185 int res1 = 0 ;
4186 void *argp2 = 0 ;
4187 int res2 = 0 ;
4188 PyObject * obj0 = 0 ;
4189 PyObject * obj1 = 0 ;
4190 char * kwnames[] = {
4191 (char *) "self",(char *) "bitmap", NULL
4192 };
4193
4194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4196 if (!SWIG_IsOK(res1)) {
4197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4198 }
4199 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4201 if (!SWIG_IsOK(res2)) {
4202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4203 }
4204 if (!argp2) {
4205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4206 }
4207 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 resultobj = SWIG_Py_Void();
4215 return resultobj;
4216fail:
4217 return NULL;
4218}
4219
4220
4221SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj = 0;
4223 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4224 wxBitmap *arg2 = 0 ;
4225 void *argp1 = 0 ;
4226 int res1 = 0 ;
4227 void *argp2 = 0 ;
4228 int res2 = 0 ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 char * kwnames[] = {
4232 (char *) "self",(char *) "bitmap", NULL
4233 };
4234
4235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4237 if (!SWIG_IsOK(res1)) {
4238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4239 }
4240 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4241 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4242 if (!SWIG_IsOK(res2)) {
4243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4244 }
4245 if (!argp2) {
4246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4247 }
4248 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 resultobj = SWIG_Py_Void();
4256 return resultobj;
4257fail:
4258 return NULL;
4259}
4260
4261
4262SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4263 PyObject *resultobj = 0;
4264 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4265 wxBitmap *arg2 = 0 ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 void *argp2 = 0 ;
4269 int res2 = 0 ;
4270 PyObject * obj0 = 0 ;
4271 PyObject * obj1 = 0 ;
4272 char * kwnames[] = {
4273 (char *) "self",(char *) "bitmap", NULL
4274 };
4275
4276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4278 if (!SWIG_IsOK(res1)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4280 }
4281 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4283 if (!SWIG_IsOK(res2)) {
4284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4285 }
4286 if (!argp2) {
4287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4288 }
4289 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4293 wxPyEndAllowThreads(__tstate);
4294 if (PyErr_Occurred()) SWIG_fail;
4295 }
4296 resultobj = SWIG_Py_Void();
4297 return resultobj;
4298fail:
4299 return NULL;
4300}
4301
4302
4303SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj = 0;
4305 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4306 wxBitmap *arg2 = 0 ;
4307 void *argp1 = 0 ;
4308 int res1 = 0 ;
4309 void *argp2 = 0 ;
4310 int res2 = 0 ;
4311 PyObject * obj0 = 0 ;
4312 PyObject * obj1 = 0 ;
4313 char * kwnames[] = {
4314 (char *) "self",(char *) "bitmap", NULL
4315 };
4316
4317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4319 if (!SWIG_IsOK(res1)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4321 }
4322 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4323 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4324 if (!SWIG_IsOK(res2)) {
4325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4326 }
4327 if (!argp2) {
4328 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4329 }
4330 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_Py_Void();
4338 return resultobj;
4339fail:
4340 return NULL;
4341}
4342
4343
4344SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4347 wxBitmap *arg2 = 0 ;
4348 void *argp1 = 0 ;
4349 int res1 = 0 ;
4350 void *argp2 = 0 ;
4351 int res2 = 0 ;
4352 PyObject * obj0 = 0 ;
4353 PyObject * obj1 = 0 ;
4354 char * kwnames[] = {
4355 (char *) "self",(char *) "hover", NULL
4356 };
4357
4358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4360 if (!SWIG_IsOK(res1)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4362 }
4363 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4364 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4365 if (!SWIG_IsOK(res2)) {
4366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4367 }
4368 if (!argp2) {
4369 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4370 }
4371 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4375 wxPyEndAllowThreads(__tstate);
4376 if (PyErr_Occurred()) SWIG_fail;
4377 }
4378 resultobj = SWIG_Py_Void();
4379 return resultobj;
4380fail:
4381 return NULL;
4382}
4383
4384
4385SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4386 PyObject *resultobj = 0;
4387 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4388 int arg2 ;
4389 int arg3 ;
4390 void *argp1 = 0 ;
4391 int res1 = 0 ;
4392 int val2 ;
4393 int ecode2 = 0 ;
4394 int val3 ;
4395 int ecode3 = 0 ;
4396 PyObject * obj0 = 0 ;
4397 PyObject * obj1 = 0 ;
4398 PyObject * obj2 = 0 ;
4399 char * kwnames[] = {
4400 (char *) "self",(char *) "x",(char *) "y", NULL
4401 };
4402
4403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4405 if (!SWIG_IsOK(res1)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4407 }
4408 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4409 ecode2 = SWIG_AsVal_int(obj1, &val2);
4410 if (!SWIG_IsOK(ecode2)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4412 }
4413 arg2 = static_cast< int >(val2);
4414 ecode3 = SWIG_AsVal_int(obj2, &val3);
4415 if (!SWIG_IsOK(ecode3)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4417 }
4418 arg3 = static_cast< int >(val3);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 (arg1)->SetMargins(arg2,arg3);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_Py_Void();
4426 return resultobj;
4427fail:
4428 return NULL;
d14a1e28
RD
4429}
4430
4431
0085ce49
RD
4432SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4433 PyObject *resultobj = 0;
4434 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4435 int result;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 PyObject *swig_obj[1] ;
4439
4440 if (!args) SWIG_fail;
4441 swig_obj[0] = args;
4442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4443 if (!SWIG_IsOK(res1)) {
4444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4445 }
4446 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 resultobj = SWIG_From_int(static_cast< int >(result));
4454 return resultobj;
4455fail:
4456 return NULL;
d14a1e28
RD
4457}
4458
4459
0085ce49
RD
4460SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4461 PyObject *resultobj = 0;
4462 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4463 int result;
4464 void *argp1 = 0 ;
4465 int res1 = 0 ;
4466 PyObject *swig_obj[1] ;
4467
4468 if (!args) SWIG_fail;
4469 swig_obj[0] = args;
4470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4471 if (!SWIG_IsOK(res1)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4473 }
4474 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 resultobj = SWIG_From_int(static_cast< int >(result));
4482 return resultobj;
4483fail:
4484 return NULL;
b1fcee84
RD
4485}
4486
4487
0085ce49
RD
4488SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4489 PyObject *obj;
4490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4492 return SWIG_Py_Void();
d14a1e28
RD
4493}
4494
0085ce49
RD
4495SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4496 return SWIG_Python_InitShadowInstance(args);
4497}
d14a1e28 4498
0085ce49
RD
4499SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4500 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4501 return 1;
d14a1e28
RD
4502}
4503
4504
0085ce49
RD
4505SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4506 PyObject *pyobj = 0;
4507
4508 {
4509#if wxUSE_UNICODE
4510 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4511#else
4512 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4513#endif
4514 }
4515 return pyobj;
4516}
4517
4518
4519SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj = 0;
4521 wxWindow *arg1 = (wxWindow *) 0 ;
4522 int arg2 = (int) -1 ;
4523 wxString const &arg3_defvalue = wxPyEmptyString ;
4524 wxString *arg3 = (wxString *) &arg3_defvalue ;
4525 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4526 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4527 wxSize const &arg5_defvalue = wxDefaultSize ;
4528 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4529 long arg6 = (long) 0 ;
4530 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4531 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4532 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4533 wxString *arg8 = (wxString *) &arg8_defvalue ;
4534 wxCheckBox *result = 0 ;
4535 void *argp1 = 0 ;
4536 int res1 = 0 ;
4537 int val2 ;
4538 int ecode2 = 0 ;
4539 bool temp3 = false ;
4540 wxPoint temp4 ;
4541 wxSize temp5 ;
4542 long val6 ;
4543 int ecode6 = 0 ;
4544 void *argp7 = 0 ;
4545 int res7 = 0 ;
4546 bool temp8 = false ;
4547 PyObject * obj0 = 0 ;
4548 PyObject * obj1 = 0 ;
4549 PyObject * obj2 = 0 ;
4550 PyObject * obj3 = 0 ;
4551 PyObject * obj4 = 0 ;
4552 PyObject * obj5 = 0 ;
4553 PyObject * obj6 = 0 ;
4554 PyObject * obj7 = 0 ;
4555 char * kwnames[] = {
4556 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4557 };
4558
4559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4561 if (!SWIG_IsOK(res1)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4563 }
4564 arg1 = reinterpret_cast< wxWindow * >(argp1);
4565 if (obj1) {
4566 ecode2 = SWIG_AsVal_int(obj1, &val2);
4567 if (!SWIG_IsOK(ecode2)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4569 }
4570 arg2 = static_cast< int >(val2);
4571 }
4572 if (obj2) {
d14a1e28 4573 {
0085ce49
RD
4574 arg3 = wxString_in_helper(obj2);
4575 if (arg3 == NULL) SWIG_fail;
4576 temp3 = true;
d14a1e28 4577 }
0085ce49
RD
4578 }
4579 if (obj3) {
4580 {
4581 arg4 = &temp4;
4582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 4583 }
0085ce49
RD
4584 }
4585 if (obj4) {
d14a1e28 4586 {
0085ce49
RD
4587 arg5 = &temp5;
4588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4589 }
0085ce49
RD
4590 }
4591 if (obj5) {
4592 ecode6 = SWIG_AsVal_long(obj5, &val6);
4593 if (!SWIG_IsOK(ecode6)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4595 }
4596 arg6 = static_cast< long >(val6);
4597 }
4598 if (obj6) {
4599 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4600 if (!SWIG_IsOK(res7)) {
4601 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4602 }
0085ce49
RD
4603 if (!argp7) {
4604 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4605 }
4606 arg7 = reinterpret_cast< wxValidator * >(argp7);
4607 }
4608 if (obj7) {
b1fcee84 4609 {
0085ce49
RD
4610 arg8 = wxString_in_helper(obj7);
4611 if (arg8 == NULL) SWIG_fail;
4612 temp8 = true;
b1fcee84 4613 }
0085ce49
RD
4614 }
4615 {
4616 if (!wxPyCheckForApp()) SWIG_fail;
4617 PyThreadState* __tstate = wxPyBeginAllowThreads();
4618 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4623 {
4624 if (temp3)
4625 delete arg3;
4626 }
4627 {
4628 if (temp8)
4629 delete arg8;
4630 }
4631 return resultobj;
4632fail:
4633 {
4634 if (temp3)
4635 delete arg3;
4636 }
4637 {
4638 if (temp8)
4639 delete arg8;
4640 }
4641 return NULL;
b1fcee84
RD
4642}
4643
4644
0085ce49
RD
4645SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4646 PyObject *resultobj = 0;
4647 wxCheckBox *result = 0 ;
4648
4649 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4650 {
4651 if (!wxPyCheckForApp()) SWIG_fail;
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (wxCheckBox *)new wxCheckBox();
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4658 return resultobj;
4659fail:
4660 return NULL;
4661}
4662
4663
4664SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4667 wxWindow *arg2 = (wxWindow *) 0 ;
4668 int arg3 = (int) -1 ;
4669 wxString const &arg4_defvalue = wxPyEmptyString ;
4670 wxString *arg4 = (wxString *) &arg4_defvalue ;
4671 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4672 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4673 wxSize const &arg6_defvalue = wxDefaultSize ;
4674 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4675 long arg7 = (long) 0 ;
4676 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4677 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4678 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4679 wxString *arg9 = (wxString *) &arg9_defvalue ;
4680 bool result;
4681 void *argp1 = 0 ;
4682 int res1 = 0 ;
4683 void *argp2 = 0 ;
4684 int res2 = 0 ;
4685 int val3 ;
4686 int ecode3 = 0 ;
4687 bool temp4 = false ;
4688 wxPoint temp5 ;
4689 wxSize temp6 ;
4690 long val7 ;
4691 int ecode7 = 0 ;
4692 void *argp8 = 0 ;
4693 int res8 = 0 ;
4694 bool temp9 = false ;
4695 PyObject * obj0 = 0 ;
4696 PyObject * obj1 = 0 ;
4697 PyObject * obj2 = 0 ;
4698 PyObject * obj3 = 0 ;
4699 PyObject * obj4 = 0 ;
4700 PyObject * obj5 = 0 ;
4701 PyObject * obj6 = 0 ;
4702 PyObject * obj7 = 0 ;
4703 PyObject * obj8 = 0 ;
4704 char * kwnames[] = {
4705 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4706 };
4707
4708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4710 if (!SWIG_IsOK(res1)) {
4711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4712 }
4713 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4715 if (!SWIG_IsOK(res2)) {
4716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4717 }
4718 arg2 = reinterpret_cast< wxWindow * >(argp2);
4719 if (obj2) {
4720 ecode3 = SWIG_AsVal_int(obj2, &val3);
4721 if (!SWIG_IsOK(ecode3)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4723 }
4724 arg3 = static_cast< int >(val3);
4725 }
4726 if (obj3) {
093d3ff1 4727 {
0085ce49
RD
4728 arg4 = wxString_in_helper(obj3);
4729 if (arg4 == NULL) SWIG_fail;
4730 temp4 = true;
093d3ff1 4731 }
0085ce49
RD
4732 }
4733 if (obj4) {
093d3ff1 4734 {
0085ce49
RD
4735 arg5 = &temp5;
4736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4737 }
0085ce49
RD
4738 }
4739 if (obj5) {
d14a1e28 4740 {
0085ce49
RD
4741 arg6 = &temp6;
4742 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 4743 }
0085ce49
RD
4744 }
4745 if (obj6) {
4746 ecode7 = SWIG_AsVal_long(obj6, &val7);
4747 if (!SWIG_IsOK(ecode7)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4749 }
4750 arg7 = static_cast< long >(val7);
4751 }
4752 if (obj7) {
4753 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4754 if (!SWIG_IsOK(res8)) {
4755 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 4756 }
0085ce49
RD
4757 if (!argp8) {
4758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4759 }
4760 arg8 = reinterpret_cast< wxValidator * >(argp8);
4761 }
4762 if (obj8) {
093d3ff1 4763 {
0085ce49
RD
4764 arg9 = wxString_in_helper(obj8);
4765 if (arg9 == NULL) SWIG_fail;
4766 temp9 = true;
093d3ff1 4767 }
0085ce49
RD
4768 }
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 {
4776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4777 }
4778 {
4779 if (temp4)
4780 delete arg4;
4781 }
4782 {
4783 if (temp9)
4784 delete arg9;
4785 }
4786 return resultobj;
4787fail:
4788 {
4789 if (temp4)
4790 delete arg4;
4791 }
4792 {
4793 if (temp9)
4794 delete arg9;
4795 }
4796 return NULL;
d14a1e28
RD
4797}
4798
4799
0085ce49
RD
4800SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4801 PyObject *resultobj = 0;
4802 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4803 bool result;
4804 void *argp1 = 0 ;
4805 int res1 = 0 ;
4806 PyObject *swig_obj[1] ;
4807
4808 if (!args) SWIG_fail;
4809 swig_obj[0] = args;
4810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4811 if (!SWIG_IsOK(res1)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4813 }
4814 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (bool)(arg1)->GetValue();
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4823 }
4824 return resultobj;
4825fail:
4826 return NULL;
d14a1e28
RD
4827}
4828
4829
0085ce49
RD
4830SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4831 PyObject *resultobj = 0;
4832 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4833 bool result;
4834 void *argp1 = 0 ;
4835 int res1 = 0 ;
4836 PyObject *swig_obj[1] ;
4837
4838 if (!args) SWIG_fail;
4839 swig_obj[0] = args;
4840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4841 if (!SWIG_IsOK(res1)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4843 }
4844 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (bool)(arg1)->IsChecked();
4848 wxPyEndAllowThreads(__tstate);
4849 if (PyErr_Occurred()) SWIG_fail;
4850 }
4851 {
4852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4853 }
4854 return resultobj;
4855fail:
4856 return NULL;
4857}
4858
4859
4860SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj = 0;
4862 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4863 bool arg2 ;
4864 void *argp1 = 0 ;
4865 int res1 = 0 ;
4866 bool val2 ;
4867 int ecode2 = 0 ;
4868 PyObject * obj0 = 0 ;
4869 PyObject * obj1 = 0 ;
4870 char * kwnames[] = {
4871 (char *) "self",(char *) "state", NULL
4872 };
4873
4874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4876 if (!SWIG_IsOK(res1)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4878 }
4879 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4880 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4881 if (!SWIG_IsOK(ecode2)) {
4882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4883 }
4884 arg2 = static_cast< bool >(val2);
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 (arg1)->SetValue(arg2);
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
4891 resultobj = SWIG_Py_Void();
4892 return resultobj;
4893fail:
4894 return NULL;
d14a1e28 4895}
0085ce49
RD
4896
4897
4898SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4899 PyObject *resultobj = 0;
4900 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4901 wxCheckBoxState result;
4902 void *argp1 = 0 ;
4903 int res1 = 0 ;
4904 PyObject *swig_obj[1] ;
4905
4906 if (!args) SWIG_fail;
4907 swig_obj[0] = args;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 resultobj = SWIG_From_int(static_cast< int >(result));
4920 return resultobj;
4921fail:
4922 return NULL;
4923}
4924
4925
4926SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj = 0;
4928 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4929 wxCheckBoxState arg2 ;
4930 void *argp1 = 0 ;
4931 int res1 = 0 ;
4932 int val2 ;
4933 int ecode2 = 0 ;
4934 PyObject * obj0 = 0 ;
4935 PyObject * obj1 = 0 ;
4936 char * kwnames[] = {
4937 (char *) "self",(char *) "state", NULL
4938 };
4939
4940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4942 if (!SWIG_IsOK(res1)) {
4943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4944 }
4945 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4946 ecode2 = SWIG_AsVal_int(obj1, &val2);
4947 if (!SWIG_IsOK(ecode2)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4949 }
4950 arg2 = static_cast< wxCheckBoxState >(val2);
4951 {
4952 PyThreadState* __tstate = wxPyBeginAllowThreads();
4953 (arg1)->Set3StateValue(arg2);
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = SWIG_Py_Void();
4958 return resultobj;
4959fail:
4960 return NULL;
b2dc1044
RD
4961}
4962
4963
0085ce49
RD
4964SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4965 PyObject *resultobj = 0;
4966 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4967 bool result;
4968 void *argp1 = 0 ;
4969 int res1 = 0 ;
4970 PyObject *swig_obj[1] ;
4971
4972 if (!args) SWIG_fail;
4973 swig_obj[0] = args;
4974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4975 if (!SWIG_IsOK(res1)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4977 }
4978 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 {
4986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4987 }
4988 return resultobj;
4989fail:
4990 return NULL;
d14a1e28
RD
4991}
4992
4993
0085ce49
RD
4994SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4997 bool result;
4998 void *argp1 = 0 ;
4999 int res1 = 0 ;
5000 PyObject *swig_obj[1] ;
5001
5002 if (!args) SWIG_fail;
5003 swig_obj[0] = args;
5004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5007 }
5008 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 {
5016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5017 }
5018 return resultobj;
5019fail:
5020 return NULL;
d14a1e28
RD
5021}
5022
5023
0085ce49
RD
5024SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj = 0;
5026 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5027 SwigValueWrapper<wxVisualAttributes > result;
5028 int val1 ;
5029 int ecode1 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "variant", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5036 if (obj0) {
5037 ecode1 = SWIG_AsVal_int(obj0, &val1);
5038 if (!SWIG_IsOK(ecode1)) {
5039 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5040 }
5041 arg1 = static_cast< wxWindowVariant >(val1);
5042 }
5043 {
5044 if (!wxPyCheckForApp()) SWIG_fail;
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5051 return resultobj;
5052fail:
5053 return NULL;
d14a1e28
RD
5054}
5055
5056
0085ce49
RD
5057SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5058 PyObject *obj;
5059 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5060 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5061 return SWIG_Py_Void();
d14a1e28
RD
5062}
5063
0085ce49
RD
5064SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5065 return SWIG_Python_InitShadowInstance(args);
5066}
d14a1e28 5067
0085ce49
RD
5068SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5069 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5070 return 1;
d14a1e28
RD
5071}
5072
5073
0085ce49
RD
5074SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5075 PyObject *pyobj = 0;
5076
5077 {
5078#if wxUSE_UNICODE
5079 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5080#else
5081 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5082#endif
5083 }
5084 return pyobj;
5085}
5086
5087
5088SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj = 0;
5090 wxWindow *arg1 = (wxWindow *) 0 ;
5091 int arg2 = (int) -1 ;
5092 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5093 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5094 wxSize const &arg4_defvalue = wxDefaultSize ;
5095 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5096 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5097 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5098 long arg6 = (long) 0 ;
5099 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5100 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5101 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5102 wxString *arg8 = (wxString *) &arg8_defvalue ;
5103 wxChoice *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 int val2 ;
5107 int ecode2 = 0 ;
5108 wxPoint temp3 ;
5109 wxSize temp4 ;
5110 bool temp5 = false ;
5111 long val6 ;
5112 int ecode6 = 0 ;
5113 void *argp7 = 0 ;
5114 int res7 = 0 ;
5115 bool temp8 = false ;
5116 PyObject * obj0 = 0 ;
5117 PyObject * obj1 = 0 ;
5118 PyObject * obj2 = 0 ;
5119 PyObject * obj3 = 0 ;
5120 PyObject * obj4 = 0 ;
5121 PyObject * obj5 = 0 ;
5122 PyObject * obj6 = 0 ;
5123 PyObject * obj7 = 0 ;
5124 char * kwnames[] = {
5125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5126 };
5127
5128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5130 if (!SWIG_IsOK(res1)) {
5131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5132 }
5133 arg1 = reinterpret_cast< wxWindow * >(argp1);
5134 if (obj1) {
5135 ecode2 = SWIG_AsVal_int(obj1, &val2);
5136 if (!SWIG_IsOK(ecode2)) {
5137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5138 }
5139 arg2 = static_cast< int >(val2);
5140 }
5141 if (obj2) {
093d3ff1 5142 {
0085ce49
RD
5143 arg3 = &temp3;
5144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5145 }
0085ce49
RD
5146 }
5147 if (obj3) {
d14a1e28 5148 {
0085ce49
RD
5149 arg4 = &temp4;
5150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5151 }
0085ce49
RD
5152 }
5153 if (obj4) {
d14a1e28 5154 {
0085ce49
RD
5155 if (! PySequence_Check(obj4)) {
5156 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5157 SWIG_fail;
5158 }
5159 arg5 = new wxArrayString;
5160 temp5 = true;
5161 int i, len=PySequence_Length(obj4);
5162 for (i=0; i<len; i++) {
5163 PyObject* item = PySequence_GetItem(obj4, i);
5164 wxString* s = wxString_in_helper(item);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 arg5->Add(*s);
5167 delete s;
5168 Py_DECREF(item);
5169 }
d14a1e28 5170 }
0085ce49
RD
5171 }
5172 if (obj5) {
5173 ecode6 = SWIG_AsVal_long(obj5, &val6);
5174 if (!SWIG_IsOK(ecode6)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5176 }
5177 arg6 = static_cast< long >(val6);
5178 }
5179 if (obj6) {
5180 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5181 if (!SWIG_IsOK(res7)) {
5182 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5183 }
0085ce49
RD
5184 if (!argp7) {
5185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5186 }
5187 arg7 = reinterpret_cast< wxValidator * >(argp7);
5188 }
5189 if (obj7) {
d14a1e28 5190 {
0085ce49
RD
5191 arg8 = wxString_in_helper(obj7);
5192 if (arg8 == NULL) SWIG_fail;
5193 temp8 = true;
d14a1e28 5194 }
0085ce49
RD
5195 }
5196 {
5197 if (!wxPyCheckForApp()) SWIG_fail;
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5204 {
5205 if (temp5) delete arg5;
5206 }
5207 {
5208 if (temp8)
5209 delete arg8;
5210 }
5211 return resultobj;
5212fail:
5213 {
5214 if (temp5) delete arg5;
5215 }
5216 {
5217 if (temp8)
5218 delete arg8;
5219 }
5220 return NULL;
d14a1e28
RD
5221}
5222
5223
0085ce49
RD
5224SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5225 PyObject *resultobj = 0;
5226 wxChoice *result = 0 ;
5227
5228 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5229 {
5230 if (!wxPyCheckForApp()) SWIG_fail;
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = (wxChoice *)new wxChoice();
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5237 return resultobj;
5238fail:
5239 return NULL;
5240}
5241
5242
5243SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj = 0;
5245 wxChoice *arg1 = (wxChoice *) 0 ;
5246 wxWindow *arg2 = (wxWindow *) 0 ;
5247 int arg3 = (int) -1 ;
5248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5250 wxSize const &arg5_defvalue = wxDefaultSize ;
5251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5252 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5253 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5254 long arg7 = (long) 0 ;
5255 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5256 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5257 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5258 wxString *arg9 = (wxString *) &arg9_defvalue ;
5259 bool result;
5260 void *argp1 = 0 ;
5261 int res1 = 0 ;
5262 void *argp2 = 0 ;
5263 int res2 = 0 ;
5264 int val3 ;
5265 int ecode3 = 0 ;
5266 wxPoint temp4 ;
5267 wxSize temp5 ;
5268 bool temp6 = false ;
5269 long val7 ;
5270 int ecode7 = 0 ;
5271 void *argp8 = 0 ;
5272 int res8 = 0 ;
5273 bool temp9 = false ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 PyObject * obj2 = 0 ;
5277 PyObject * obj3 = 0 ;
5278 PyObject * obj4 = 0 ;
5279 PyObject * obj5 = 0 ;
5280 PyObject * obj6 = 0 ;
5281 PyObject * obj7 = 0 ;
5282 PyObject * obj8 = 0 ;
5283 char * kwnames[] = {
5284 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5285 };
5286
5287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5289 if (!SWIG_IsOK(res1)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5291 }
5292 arg1 = reinterpret_cast< wxChoice * >(argp1);
5293 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5294 if (!SWIG_IsOK(res2)) {
5295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5296 }
5297 arg2 = reinterpret_cast< wxWindow * >(argp2);
5298 if (obj2) {
5299 ecode3 = SWIG_AsVal_int(obj2, &val3);
5300 if (!SWIG_IsOK(ecode3)) {
5301 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5302 }
5303 arg3 = static_cast< int >(val3);
5304 }
5305 if (obj3) {
d14a1e28 5306 {
0085ce49
RD
5307 arg4 = &temp4;
5308 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5309 }
0085ce49
RD
5310 }
5311 if (obj4) {
4f89f6a3 5312 {
0085ce49
RD
5313 arg5 = &temp5;
5314 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 5315 }
0085ce49
RD
5316 }
5317 if (obj5) {
d14a1e28 5318 {
0085ce49
RD
5319 if (! PySequence_Check(obj5)) {
5320 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5321 SWIG_fail;
5322 }
5323 arg6 = new wxArrayString;
5324 temp6 = true;
5325 int i, len=PySequence_Length(obj5);
5326 for (i=0; i<len; i++) {
5327 PyObject* item = PySequence_GetItem(obj5, i);
5328 wxString* s = wxString_in_helper(item);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 arg6->Add(*s);
5331 delete s;
5332 Py_DECREF(item);
5333 }
5334 }
5335 }
5336 if (obj6) {
5337 ecode7 = SWIG_AsVal_long(obj6, &val7);
5338 if (!SWIG_IsOK(ecode7)) {
5339 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5340 }
5341 arg7 = static_cast< long >(val7);
5342 }
5343 if (obj7) {
5344 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5345 if (!SWIG_IsOK(res8)) {
5346 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 5347 }
0085ce49
RD
5348 if (!argp8) {
5349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5350 }
5351 arg8 = reinterpret_cast< wxValidator * >(argp8);
5352 }
5353 if (obj8) {
4f89f6a3 5354 {
0085ce49
RD
5355 arg9 = wxString_in_helper(obj8);
5356 if (arg9 == NULL) SWIG_fail;
5357 temp9 = true;
4f89f6a3 5358 }
0085ce49
RD
5359 }
5360 {
5361 PyThreadState* __tstate = wxPyBeginAllowThreads();
5362 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 {
5367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5368 }
5369 {
5370 if (temp6) delete arg6;
5371 }
5372 {
5373 if (temp9)
5374 delete arg9;
5375 }
5376 return resultobj;
5377fail:
5378 {
5379 if (temp6) delete arg6;
5380 }
5381 {
5382 if (temp9)
5383 delete arg9;
5384 }
5385 return NULL;
d14a1e28
RD
5386}
5387
5388
0085ce49
RD
5389SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5390 PyObject *resultobj = 0;
5391 wxChoice *arg1 = (wxChoice *) 0 ;
5392 int result;
5393 void *argp1 = 0 ;
5394 int res1 = 0 ;
5395 PyObject *swig_obj[1] ;
5396
5397 if (!args) SWIG_fail;
5398 swig_obj[0] = args;
5399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5400 if (!SWIG_IsOK(res1)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5402 }
5403 arg1 = reinterpret_cast< wxChoice * >(argp1);
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_From_int(static_cast< int >(result));
5411 return resultobj;
5412fail:
5413 return NULL;
5414}
5415
5416
5417SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj = 0;
5419 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5420 SwigValueWrapper<wxVisualAttributes > result;
5421 int val1 ;
5422 int ecode1 = 0 ;
5423 PyObject * obj0 = 0 ;
5424 char * kwnames[] = {
5425 (char *) "variant", NULL
5426 };
5427
5428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5429 if (obj0) {
5430 ecode1 = SWIG_AsVal_int(obj0, &val1);
5431 if (!SWIG_IsOK(ecode1)) {
5432 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5433 }
5434 arg1 = static_cast< wxWindowVariant >(val1);
5435 }
5436 {
5437 if (!wxPyCheckForApp()) SWIG_fail;
5438 PyThreadState* __tstate = wxPyBeginAllowThreads();
5439 result = wxChoice::GetClassDefaultAttributes(arg1);
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5444 return resultobj;
5445fail:
5446 return NULL;
22bfe96c
RD
5447}
5448
5449
0085ce49
RD
5450SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5451 PyObject *obj;
5452 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5453 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5454 return SWIG_Py_Void();
d14a1e28 5455}
0085ce49
RD
5456
5457SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5458 return SWIG_Python_InitShadowInstance(args);
5459}
5460
5461SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5462 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5463 return 1;
b2dc1044
RD
5464}
5465
5466
0085ce49
RD
5467SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5468 PyObject *pyobj = 0;
5469
5470 {
b2dc1044 5471#if wxUSE_UNICODE
0085ce49 5472 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
b2dc1044 5473#else
0085ce49 5474 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
b2dc1044 5475#endif
0085ce49
RD
5476 }
5477 return pyobj;
5478}
5479
5480
5481SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj = 0;
5483 wxWindow *arg1 = (wxWindow *) 0 ;
5484 int arg2 = (int) -1 ;
5485 wxString const &arg3_defvalue = wxPyEmptyString ;
5486 wxString *arg3 = (wxString *) &arg3_defvalue ;
5487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5489 wxSize const &arg5_defvalue = wxDefaultSize ;
5490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5491 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5492 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5493 long arg7 = (long) 0 ;
5494 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5495 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5496 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5497 wxString *arg9 = (wxString *) &arg9_defvalue ;
5498 wxComboBox *result = 0 ;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 int val2 ;
5502 int ecode2 = 0 ;
5503 bool temp3 = false ;
5504 wxPoint temp4 ;
5505 wxSize temp5 ;
5506 bool temp6 = false ;
5507 long val7 ;
5508 int ecode7 = 0 ;
5509 void *argp8 = 0 ;
5510 int res8 = 0 ;
5511 bool temp9 = false ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 PyObject * obj2 = 0 ;
5515 PyObject * obj3 = 0 ;
5516 PyObject * obj4 = 0 ;
5517 PyObject * obj5 = 0 ;
5518 PyObject * obj6 = 0 ;
5519 PyObject * obj7 = 0 ;
5520 PyObject * obj8 = 0 ;
5521 char * kwnames[] = {
5522 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5523 };
5524
5525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5527 if (!SWIG_IsOK(res1)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5529 }
5530 arg1 = reinterpret_cast< wxWindow * >(argp1);
5531 if (obj1) {
5532 ecode2 = SWIG_AsVal_int(obj1, &val2);
5533 if (!SWIG_IsOK(ecode2)) {
5534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5535 }
5536 arg2 = static_cast< int >(val2);
5537 }
5538 if (obj2) {
d14a1e28 5539 {
0085ce49
RD
5540 arg3 = wxString_in_helper(obj2);
5541 if (arg3 == NULL) SWIG_fail;
5542 temp3 = true;
d14a1e28 5543 }
0085ce49
RD
5544 }
5545 if (obj3) {
d14a1e28 5546 {
0085ce49
RD
5547 arg4 = &temp4;
5548 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 5549 }
0085ce49
RD
5550 }
5551 if (obj4) {
d14a1e28 5552 {
0085ce49
RD
5553 arg5 = &temp5;
5554 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 5555 }
0085ce49
RD
5556 }
5557 if (obj5) {
d14a1e28 5558 {
0085ce49
RD
5559 if (! PySequence_Check(obj5)) {
5560 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5561 SWIG_fail;
5562 }
5563 arg6 = new wxArrayString;
5564 temp6 = true;
5565 int i, len=PySequence_Length(obj5);
5566 for (i=0; i<len; i++) {
5567 PyObject* item = PySequence_GetItem(obj5, i);
5568 wxString* s = wxString_in_helper(item);
5569 if (PyErr_Occurred()) SWIG_fail;
5570 arg6->Add(*s);
5571 delete s;
5572 Py_DECREF(item);
5573 }
d14a1e28 5574 }
0085ce49
RD
5575 }
5576 if (obj6) {
5577 ecode7 = SWIG_AsVal_long(obj6, &val7);
5578 if (!SWIG_IsOK(ecode7)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5580 }
5581 arg7 = static_cast< long >(val7);
5582 }
5583 if (obj7) {
5584 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5585 if (!SWIG_IsOK(res8)) {
5586 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5587 }
5588 if (!argp8) {
5589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5590 }
5591 arg8 = reinterpret_cast< wxValidator * >(argp8);
5592 }
5593 if (obj8) {
d14a1e28 5594 {
0085ce49
RD
5595 arg9 = wxString_in_helper(obj8);
5596 if (arg9 == NULL) SWIG_fail;
5597 temp9 = true;
d14a1e28 5598 }
0085ce49
RD
5599 }
5600 {
5601 if (!wxPyCheckForApp()) SWIG_fail;
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 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);
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5608 {
5609 if (temp3)
5610 delete arg3;
5611 }
5612 {
5613 if (temp6) delete arg6;
5614 }
5615 {
5616 if (temp9)
5617 delete arg9;
5618 }
5619 return resultobj;
5620fail:
5621 {
5622 if (temp3)
5623 delete arg3;
5624 }
5625 {
5626 if (temp6) delete arg6;
5627 }
5628 {
5629 if (temp9)
5630 delete arg9;
5631 }
5632 return NULL;
d14a1e28
RD
5633}
5634
5635
0085ce49
RD
5636SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5637 PyObject *resultobj = 0;
5638 wxComboBox *result = 0 ;
5639
5640 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5641 {
5642 if (!wxPyCheckForApp()) SWIG_fail;
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 result = (wxComboBox *)new wxComboBox();
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5649 return resultobj;
5650fail:
5651 return NULL;
5652}
5653
5654
5655SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj = 0;
5657 wxComboBox *arg1 = (wxComboBox *) 0 ;
5658 wxWindow *arg2 = (wxWindow *) 0 ;
5659 int arg3 = (int) -1 ;
5660 wxString const &arg4_defvalue = wxPyEmptyString ;
5661 wxString *arg4 = (wxString *) &arg4_defvalue ;
5662 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5663 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5664 wxSize const &arg6_defvalue = wxDefaultSize ;
5665 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5666 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5667 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5668 long arg8 = (long) 0 ;
5669 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5670 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5671 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5672 wxString *arg10 = (wxString *) &arg10_defvalue ;
5673 bool result;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 void *argp2 = 0 ;
5677 int res2 = 0 ;
5678 int val3 ;
5679 int ecode3 = 0 ;
5680 bool temp4 = false ;
5681 wxPoint temp5 ;
5682 wxSize temp6 ;
5683 bool temp7 = false ;
5684 long val8 ;
5685 int ecode8 = 0 ;
5686 void *argp9 = 0 ;
5687 int res9 = 0 ;
5688 bool temp10 = false ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 PyObject * obj2 = 0 ;
5692 PyObject * obj3 = 0 ;
5693 PyObject * obj4 = 0 ;
5694 PyObject * obj5 = 0 ;
5695 PyObject * obj6 = 0 ;
5696 PyObject * obj7 = 0 ;
5697 PyObject * obj8 = 0 ;
5698 PyObject * obj9 = 0 ;
5699 char * kwnames[] = {
5700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5701 };
5702
5703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5705 if (!SWIG_IsOK(res1)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5707 }
5708 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5710 if (!SWIG_IsOK(res2)) {
5711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5712 }
5713 arg2 = reinterpret_cast< wxWindow * >(argp2);
5714 if (obj2) {
5715 ecode3 = SWIG_AsVal_int(obj2, &val3);
5716 if (!SWIG_IsOK(ecode3)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5718 }
5719 arg3 = static_cast< int >(val3);
5720 }
5721 if (obj3) {
4f89f6a3 5722 {
0085ce49
RD
5723 arg4 = wxString_in_helper(obj3);
5724 if (arg4 == NULL) SWIG_fail;
5725 temp4 = true;
4f89f6a3 5726 }
0085ce49
RD
5727 }
5728 if (obj4) {
d14a1e28 5729 {
0085ce49
RD
5730 arg5 = &temp5;
5731 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 5732 }
0085ce49
RD
5733 }
5734 if (obj5) {
d14a1e28 5735 {
0085ce49
RD
5736 arg6 = &temp6;
5737 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 5738 }
0085ce49
RD
5739 }
5740 if (obj6) {
d14a1e28 5741 {
0085ce49
RD
5742 if (! PySequence_Check(obj6)) {
5743 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5744 SWIG_fail;
5745 }
5746 arg7 = new wxArrayString;
5747 temp7 = true;
5748 int i, len=PySequence_Length(obj6);
5749 for (i=0; i<len; i++) {
5750 PyObject* item = PySequence_GetItem(obj6, i);
5751 wxString* s = wxString_in_helper(item);
5752 if (PyErr_Occurred()) SWIG_fail;
5753 arg7->Add(*s);
5754 delete s;
5755 Py_DECREF(item);
5756 }
d14a1e28 5757 }
0085ce49
RD
5758 }
5759 if (obj7) {
5760 ecode8 = SWIG_AsVal_long(obj7, &val8);
5761 if (!SWIG_IsOK(ecode8)) {
5762 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5763 }
5764 arg8 = static_cast< long >(val8);
5765 }
5766 if (obj8) {
5767 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5768 if (!SWIG_IsOK(res9)) {
5769 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 5770 }
0085ce49
RD
5771 if (!argp9) {
5772 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 5773 }
0085ce49
RD
5774 arg9 = reinterpret_cast< wxValidator * >(argp9);
5775 }
5776 if (obj9) {
d14a1e28 5777 {
0085ce49
RD
5778 arg10 = wxString_in_helper(obj9);
5779 if (arg10 == NULL) SWIG_fail;
5780 temp10 = true;
d14a1e28 5781 }
0085ce49
RD
5782 }
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 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);
5786 wxPyEndAllowThreads(__tstate);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 {
5790 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5791 }
5792 {
5793 if (temp4)
5794 delete arg4;
5795 }
5796 {
5797 if (temp7) delete arg7;
5798 }
5799 {
5800 if (temp10)
5801 delete arg10;
5802 }
5803 return resultobj;
5804fail:
5805 {
5806 if (temp4)
5807 delete arg4;
5808 }
5809 {
5810 if (temp7) delete arg7;
5811 }
5812 {
5813 if (temp10)
5814 delete arg10;
5815 }
5816 return NULL;
d14a1e28
RD
5817}
5818
5819
0085ce49
RD
5820SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5821 PyObject *resultobj = 0;
5822 wxComboBox *arg1 = (wxComboBox *) 0 ;
5823 wxString result;
5824 void *argp1 = 0 ;
5825 int res1 = 0 ;
5826 PyObject *swig_obj[1] ;
5827
5828 if (!args) SWIG_fail;
5829 swig_obj[0] = args;
5830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5831 if (!SWIG_IsOK(res1)) {
5832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5833 }
5834 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = ((wxComboBox const *)arg1)->GetValue();
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) SWIG_fail;
5840 }
5841 {
d14a1e28 5842#if wxUSE_UNICODE
0085ce49 5843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 5844#else
0085ce49 5845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 5846#endif
0085ce49
RD
5847 }
5848 return resultobj;
5849fail:
5850 return NULL;
5851}
5852
5853
5854SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj = 0;
5856 wxComboBox *arg1 = (wxComboBox *) 0 ;
5857 wxString *arg2 = 0 ;
5858 void *argp1 = 0 ;
5859 int res1 = 0 ;
5860 bool temp2 = false ;
5861 PyObject * obj0 = 0 ;
5862 PyObject * obj1 = 0 ;
5863 char * kwnames[] = {
5864 (char *) "self",(char *) "value", NULL
5865 };
5866
5867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5869 if (!SWIG_IsOK(res1)) {
5870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5871 }
5872 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5873 {
5874 arg2 = wxString_in_helper(obj1);
5875 if (arg2 == NULL) SWIG_fail;
5876 temp2 = true;
5877 }
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 (arg1)->SetValue((wxString const &)*arg2);
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
5884 resultobj = SWIG_Py_Void();
5885 {
5886 if (temp2)
5887 delete arg2;
5888 }
5889 return resultobj;
5890fail:
5891 {
5892 if (temp2)
5893 delete arg2;
5894 }
5895 return NULL;
d14a1e28
RD
5896}
5897
5898
0085ce49
RD
5899SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5900 PyObject *resultobj = 0;
5901 wxComboBox *arg1 = (wxComboBox *) 0 ;
5902 void *argp1 = 0 ;
5903 int res1 = 0 ;
5904 PyObject *swig_obj[1] ;
5905
5906 if (!args) SWIG_fail;
5907 swig_obj[0] = args;
5908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5909 if (!SWIG_IsOK(res1)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5911 }
5912 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 (arg1)->Copy();
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_Py_Void();
5920 return resultobj;
5921fail:
5922 return NULL;
d14a1e28
RD
5923}
5924
5925
0085ce49
RD
5926SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5927 PyObject *resultobj = 0;
5928 wxComboBox *arg1 = (wxComboBox *) 0 ;
5929 void *argp1 = 0 ;
5930 int res1 = 0 ;
5931 PyObject *swig_obj[1] ;
5932
5933 if (!args) SWIG_fail;
5934 swig_obj[0] = args;
5935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5936 if (!SWIG_IsOK(res1)) {
5937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5938 }
5939 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5940 {
5941 PyThreadState* __tstate = wxPyBeginAllowThreads();
5942 (arg1)->Cut();
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = SWIG_Py_Void();
5947 return resultobj;
5948fail:
5949 return NULL;
d14a1e28
RD
5950}
5951
5952
0085ce49
RD
5953SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5954 PyObject *resultobj = 0;
5955 wxComboBox *arg1 = (wxComboBox *) 0 ;
5956 void *argp1 = 0 ;
5957 int res1 = 0 ;
5958 PyObject *swig_obj[1] ;
5959
5960 if (!args) SWIG_fail;
5961 swig_obj[0] = args;
5962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5963 if (!SWIG_IsOK(res1)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5965 }
5966 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 (arg1)->Paste();
5970 wxPyEndAllowThreads(__tstate);
5971 if (PyErr_Occurred()) SWIG_fail;
5972 }
5973 resultobj = SWIG_Py_Void();
5974 return resultobj;
5975fail:
5976 return NULL;
5977}
5978
5979
5980SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj = 0;
5982 wxComboBox *arg1 = (wxComboBox *) 0 ;
5983 long arg2 ;
5984 void *argp1 = 0 ;
5985 int res1 = 0 ;
5986 long val2 ;
5987 int ecode2 = 0 ;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 char * kwnames[] = {
5991 (char *) "self",(char *) "pos", NULL
5992 };
5993
5994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
5995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5996 if (!SWIG_IsOK(res1)) {
5997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5998 }
5999 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6000 ecode2 = SWIG_AsVal_long(obj1, &val2);
6001 if (!SWIG_IsOK(ecode2)) {
6002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6003 }
6004 arg2 = static_cast< long >(val2);
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 (arg1)->SetInsertionPoint(arg2);
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = SWIG_Py_Void();
6012 return resultobj;
6013fail:
6014 return NULL;
d14a1e28
RD
6015}
6016
6017
0085ce49
RD
6018SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6019 PyObject *resultobj = 0;
6020 wxComboBox *arg1 = (wxComboBox *) 0 ;
6021 long result;
6022 void *argp1 = 0 ;
6023 int res1 = 0 ;
6024 PyObject *swig_obj[1] ;
6025
6026 if (!args) SWIG_fail;
6027 swig_obj[0] = args;
6028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6029 if (!SWIG_IsOK(res1)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6031 }
6032 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 resultobj = SWIG_From_long(static_cast< long >(result));
6040 return resultobj;
6041fail:
6042 return NULL;
d14a1e28
RD
6043}
6044
6045
0085ce49
RD
6046SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6047 PyObject *resultobj = 0;
6048 wxComboBox *arg1 = (wxComboBox *) 0 ;
6049 long result;
6050 void *argp1 = 0 ;
6051 int res1 = 0 ;
6052 PyObject *swig_obj[1] ;
6053
6054 if (!args) SWIG_fail;
6055 swig_obj[0] = args;
6056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6057 if (!SWIG_IsOK(res1)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6059 }
6060 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_From_long(static_cast< long >(result));
6068 return resultobj;
6069fail:
6070 return NULL;
6071}
6072
6073
6074SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj = 0;
6076 wxComboBox *arg1 = (wxComboBox *) 0 ;
6077 long arg2 ;
6078 long arg3 ;
6079 wxString *arg4 = 0 ;
6080 void *argp1 = 0 ;
6081 int res1 = 0 ;
6082 long val2 ;
6083 int ecode2 = 0 ;
6084 long val3 ;
6085 int ecode3 = 0 ;
6086 bool temp4 = false ;
6087 PyObject * obj0 = 0 ;
6088 PyObject * obj1 = 0 ;
6089 PyObject * obj2 = 0 ;
6090 PyObject * obj3 = 0 ;
6091 char * kwnames[] = {
2131d850 6092 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
0085ce49
RD
6093 };
6094
6095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6097 if (!SWIG_IsOK(res1)) {
6098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6099 }
6100 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6101 ecode2 = SWIG_AsVal_long(obj1, &val2);
6102 if (!SWIG_IsOK(ecode2)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6104 }
6105 arg2 = static_cast< long >(val2);
6106 ecode3 = SWIG_AsVal_long(obj2, &val3);
6107 if (!SWIG_IsOK(ecode3)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6109 }
6110 arg3 = static_cast< long >(val3);
6111 {
6112 arg4 = wxString_in_helper(obj3);
6113 if (arg4 == NULL) SWIG_fail;
6114 temp4 = true;
6115 }
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = SWIG_Py_Void();
6123 {
6124 if (temp4)
6125 delete arg4;
6126 }
6127 return resultobj;
6128fail:
6129 {
6130 if (temp4)
6131 delete arg4;
6132 }
6133 return NULL;
6134}
6135
6136
6137SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj = 0;
6139 wxComboBox *arg1 = (wxComboBox *) 0 ;
6140 long arg2 ;
6141 long arg3 ;
6142 void *argp1 = 0 ;
6143 int res1 = 0 ;
6144 long val2 ;
6145 int ecode2 = 0 ;
6146 long val3 ;
6147 int ecode3 = 0 ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 PyObject * obj2 = 0 ;
6151 char * kwnames[] = {
2131d850 6152 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
6153 };
6154
6155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6157 if (!SWIG_IsOK(res1)) {
6158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6159 }
6160 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6161 ecode2 = SWIG_AsVal_long(obj1, &val2);
6162 if (!SWIG_IsOK(ecode2)) {
6163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6164 }
6165 arg2 = static_cast< long >(val2);
6166 ecode3 = SWIG_AsVal_long(obj2, &val3);
6167 if (!SWIG_IsOK(ecode3)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6169 }
6170 arg3 = static_cast< long >(val3);
6171 {
6172 PyThreadState* __tstate = wxPyBeginAllowThreads();
6173 (arg1)->SetSelection(arg2,arg3);
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 resultobj = SWIG_Py_Void();
6178 return resultobj;
6179fail:
6180 return NULL;
6181}
6182
6183
6184SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6185 PyObject *resultobj = 0;
6186 wxComboBox *arg1 = (wxComboBox *) 0 ;
6187 long *arg2 = (long *) 0 ;
6188 long *arg3 = (long *) 0 ;
6189 void *argp1 = 0 ;
6190 int res1 = 0 ;
6191 long temp2 ;
6192 int res2 = SWIG_TMPOBJ ;
6193 long temp3 ;
6194 int res3 = SWIG_TMPOBJ ;
6195 PyObject *swig_obj[1] ;
6196
6197 arg2 = &temp2;
6198 arg3 = &temp3;
6199 if (!args) SWIG_fail;
6200 swig_obj[0] = args;
6201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6202 if (!SWIG_IsOK(res1)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6204 }
6205 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 (arg1)->GetSelection(arg2,arg3);
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = SWIG_Py_Void();
6213 if (SWIG_IsTmpObj(res2)) {
6214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6215 } else {
6216 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6217 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6218 }
6219 if (SWIG_IsTmpObj(res3)) {
6220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6221 } else {
6222 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6224 }
6225 return resultobj;
6226fail:
6227 return NULL;
d14a1e28
RD
6228}
6229
6230
0085ce49
RD
6231SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6232 PyObject *resultobj = 0;
6233 wxComboBox *arg1 = (wxComboBox *) 0 ;
6234 int result;
6235 void *argp1 = 0 ;
6236 int res1 = 0 ;
6237 PyObject *swig_obj[1] ;
6238
6239 if (!args) SWIG_fail;
6240 swig_obj[0] = args;
6241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6242 if (!SWIG_IsOK(res1)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6244 }
6245 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_From_int(static_cast< int >(result));
6253 return resultobj;
6254fail:
6255 return NULL;
6256}
6257
6258
6259SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj = 0;
6261 wxComboBox *arg1 = (wxComboBox *) 0 ;
6262 wxString *arg2 = 0 ;
6263 bool result;
6264 void *argp1 = 0 ;
6265 int res1 = 0 ;
6266 bool temp2 = false ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "self",(char *) "string", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6277 }
6278 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6279 {
6280 arg2 = wxString_in_helper(obj1);
6281 if (arg2 == NULL) SWIG_fail;
6282 temp2 = true;
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 {
6291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6292 }
6293 {
6294 if (temp2)
6295 delete arg2;
6296 }
6297 return resultobj;
6298fail:
6299 {
6300 if (temp2)
6301 delete arg2;
6302 }
6303 return NULL;
6304}
6305
6306
50f151d7
RD
6307SWIGINTERN PyObject *_wrap_ComboBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj = 0;
6309 wxComboBox *arg1 = (wxComboBox *) 0 ;
6310 int arg2 ;
6311 wxString *arg3 = 0 ;
6312 void *argp1 = 0 ;
6313 int res1 = 0 ;
6314 int val2 ;
6315 int ecode2 = 0 ;
6316 bool temp3 = false ;
6317 PyObject * obj0 = 0 ;
6318 PyObject * obj1 = 0 ;
6319 PyObject * obj2 = 0 ;
6320 char * kwnames[] = {
6321 (char *) "self",(char *) "n",(char *) "string", NULL
6322 };
6323
6324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6326 if (!SWIG_IsOK(res1)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6328 }
6329 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6330 ecode2 = SWIG_AsVal_int(obj1, &val2);
6331 if (!SWIG_IsOK(ecode2)) {
6332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6333 }
6334 arg2 = static_cast< int >(val2);
6335 {
6336 arg3 = wxString_in_helper(obj2);
6337 if (arg3 == NULL) SWIG_fail;
6338 temp3 = true;
6339 }
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 (arg1)->SetString(arg2,(wxString const &)*arg3);
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = SWIG_Py_Void();
6347 {
6348 if (temp3)
6349 delete arg3;
6350 }
6351 return resultobj;
6352fail:
6353 {
6354 if (temp3)
6355 delete arg3;
6356 }
6357 return NULL;
6358}
6359
6360
0085ce49
RD
6361SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj = 0;
6363 wxComboBox *arg1 = (wxComboBox *) 0 ;
6364 bool arg2 ;
6365 void *argp1 = 0 ;
6366 int res1 = 0 ;
6367 bool val2 ;
6368 int ecode2 = 0 ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char * kwnames[] = {
6372 (char *) "self",(char *) "editable", NULL
6373 };
6374
6375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6377 if (!SWIG_IsOK(res1)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6379 }
6380 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6382 if (!SWIG_IsOK(ecode2)) {
6383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6384 }
6385 arg2 = static_cast< bool >(val2);
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 (arg1)->SetEditable(arg2);
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 resultobj = SWIG_Py_Void();
6393 return resultobj;
6394fail:
6395 return NULL;
d14a1e28
RD
6396}
6397
6398
0085ce49
RD
6399SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6400 PyObject *resultobj = 0;
6401 wxComboBox *arg1 = (wxComboBox *) 0 ;
6402 void *argp1 = 0 ;
6403 int res1 = 0 ;
6404 PyObject *swig_obj[1] ;
6405
6406 if (!args) SWIG_fail;
6407 swig_obj[0] = args;
6408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6411 }
6412 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetInsertionPointEnd();
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_Py_Void();
6420 return resultobj;
6421fail:
6422 return NULL;
6423}
6424
6425
6426SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj = 0;
6428 wxComboBox *arg1 = (wxComboBox *) 0 ;
6429 long arg2 ;
6430 long arg3 ;
6431 void *argp1 = 0 ;
6432 int res1 = 0 ;
6433 long val2 ;
6434 int ecode2 = 0 ;
6435 long val3 ;
6436 int ecode3 = 0 ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 char * kwnames[] = {
2131d850 6441 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
6442 };
6443
6444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6446 if (!SWIG_IsOK(res1)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6448 }
6449 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6450 ecode2 = SWIG_AsVal_long(obj1, &val2);
6451 if (!SWIG_IsOK(ecode2)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6453 }
6454 arg2 = static_cast< long >(val2);
6455 ecode3 = SWIG_AsVal_long(obj2, &val3);
6456 if (!SWIG_IsOK(ecode3)) {
6457 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6458 }
6459 arg3 = static_cast< long >(val3);
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 (arg1)->Remove(arg2,arg3);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = SWIG_Py_Void();
6467 return resultobj;
6468fail:
6469 return NULL;
d14a1e28
RD
6470}
6471
6472
0085ce49
RD
6473SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6474 PyObject *resultobj = 0;
6475 wxComboBox *arg1 = (wxComboBox *) 0 ;
6476 bool result;
6477 void *argp1 = 0 ;
6478 int res1 = 0 ;
6479 PyObject *swig_obj[1] ;
6480
6481 if (!args) SWIG_fail;
6482 swig_obj[0] = args;
6483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6484 if (!SWIG_IsOK(res1)) {
6485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6486 }
6487 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6488 {
6489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6490 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 {
6495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6496 }
6497 return resultobj;
6498fail:
6499 return NULL;
d14a1e28
RD
6500}
6501
6502
0085ce49
RD
6503SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6504 PyObject *resultobj = 0;
6505 wxComboBox *arg1 = (wxComboBox *) 0 ;
6506 void *argp1 = 0 ;
6507 int res1 = 0 ;
6508 PyObject *swig_obj[1] ;
6509
6510 if (!args) SWIG_fail;
6511 swig_obj[0] = args;
6512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6513 if (!SWIG_IsOK(res1)) {
6514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6515 }
6516 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 (arg1)->Undo();
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_Py_Void();
6524 return resultobj;
6525fail:
6526 return NULL;
fd3f2efe
RD
6527}
6528
6529
0085ce49
RD
6530SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6531 PyObject *resultobj = 0;
6532 wxComboBox *arg1 = (wxComboBox *) 0 ;
6533 void *argp1 = 0 ;
6534 int res1 = 0 ;
6535 PyObject *swig_obj[1] ;
6536
6537 if (!args) SWIG_fail;
6538 swig_obj[0] = args;
6539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6540 if (!SWIG_IsOK(res1)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6542 }
6543 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->Redo();
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) SWIG_fail;
6549 }
6550 resultobj = SWIG_Py_Void();
6551 return resultobj;
6552fail:
6553 return NULL;
d14a1e28
RD
6554}
6555
6556
0085ce49
RD
6557SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6558 PyObject *resultobj = 0;
6559 wxComboBox *arg1 = (wxComboBox *) 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 PyObject *swig_obj[1] ;
6563
6564 if (!args) SWIG_fail;
6565 swig_obj[0] = args;
6566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6567 if (!SWIG_IsOK(res1)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6569 }
6570 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->SelectAll();
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_Py_Void();
6578 return resultobj;
6579fail:
6580 return NULL;
b9d6a5f3
RD
6581}
6582
6583
0085ce49
RD
6584SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6585 PyObject *resultobj = 0;
6586 wxComboBox *arg1 = (wxComboBox *) 0 ;
6587 bool result;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 PyObject *swig_obj[1] ;
6591
6592 if (!args) SWIG_fail;
6593 swig_obj[0] = args;
6594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6595 if (!SWIG_IsOK(res1)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6597 }
6598 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 {
6606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6607 }
6608 return resultobj;
6609fail:
6610 return NULL;
943e8dfd
RD
6611}
6612
6613
0085ce49
RD
6614SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6615 PyObject *resultobj = 0;
6616 wxComboBox *arg1 = (wxComboBox *) 0 ;
6617 bool result;
6618 void *argp1 = 0 ;
6619 int res1 = 0 ;
6620 PyObject *swig_obj[1] ;
6621
6622 if (!args) SWIG_fail;
6623 swig_obj[0] = args;
6624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6625 if (!SWIG_IsOK(res1)) {
6626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6627 }
6628 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 result = (bool)((wxComboBox const *)arg1)->CanCut();
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6637 }
6638 return resultobj;
6639fail:
6640 return NULL;
121b9a67
RD
6641}
6642
6643
0085ce49
RD
6644SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6645 PyObject *resultobj = 0;
6646 wxComboBox *arg1 = (wxComboBox *) 0 ;
6647 bool result;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 PyObject *swig_obj[1] ;
6651
6652 if (!args) SWIG_fail;
6653 swig_obj[0] = args;
6654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6657 }
6658 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6667 }
6668 return resultobj;
6669fail:
6670 return NULL;
121b9a67
RD
6671}
6672
6673
0085ce49
RD
6674SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6675 PyObject *resultobj = 0;
6676 wxComboBox *arg1 = (wxComboBox *) 0 ;
6677 bool result;
6678 void *argp1 = 0 ;
6679 int res1 = 0 ;
6680 PyObject *swig_obj[1] ;
6681
6682 if (!args) SWIG_fail;
6683 swig_obj[0] = args;
6684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6685 if (!SWIG_IsOK(res1)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6687 }
6688 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 {
6696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6697 }
6698 return resultobj;
6699fail:
6700 return NULL;
d14a1e28
RD
6701}
6702
6703
0085ce49
RD
6704SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6705 PyObject *resultobj = 0;
6706 wxComboBox *arg1 = (wxComboBox *) 0 ;
6707 bool result;
6708 void *argp1 = 0 ;
6709 int res1 = 0 ;
6710 PyObject *swig_obj[1] ;
6711
6712 if (!args) SWIG_fail;
6713 swig_obj[0] = args;
6714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6715 if (!SWIG_IsOK(res1)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6717 }
6718 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 {
6726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6727 }
6728 return resultobj;
6729fail:
6730 return NULL;
d14a1e28
RD
6731}
6732
6733
0085ce49
RD
6734SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj = 0;
6736 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6737 SwigValueWrapper<wxVisualAttributes > result;
6738 int val1 ;
6739 int ecode1 = 0 ;
6740 PyObject * obj0 = 0 ;
6741 char * kwnames[] = {
6742 (char *) "variant", NULL
6743 };
6744
6745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6746 if (obj0) {
6747 ecode1 = SWIG_AsVal_int(obj0, &val1);
6748 if (!SWIG_IsOK(ecode1)) {
6749 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6750 }
6751 arg1 = static_cast< wxWindowVariant >(val1);
6752 }
6753 {
6754 if (!wxPyCheckForApp()) SWIG_fail;
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = wxComboBox::GetClassDefaultAttributes(arg1);
6757 wxPyEndAllowThreads(__tstate);
6758 if (PyErr_Occurred()) SWIG_fail;
6759 }
6760 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6761 return resultobj;
6762fail:
6763 return NULL;
d14a1e28
RD
6764}
6765
6766
0085ce49
RD
6767SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6768 PyObject *obj;
6769 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6770 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6771 return SWIG_Py_Void();
5cbf236d
RD
6772}
6773
0085ce49
RD
6774SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6775 return SWIG_Python_InitShadowInstance(args);
6776}
5cbf236d 6777
0085ce49
RD
6778SWIGINTERN int GaugeNameStr_set(PyObject *) {
6779 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6780 return 1;
5cbf236d
RD
6781}
6782
6783
0085ce49
RD
6784SWIGINTERN PyObject *GaugeNameStr_get(void) {
6785 PyObject *pyobj = 0;
6786
6787 {
6788#if wxUSE_UNICODE
6789 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6790#else
6791 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6792#endif
6793 }
6794 return pyobj;
6795}
6796
6797
6798SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj = 0;
6800 wxWindow *arg1 = (wxWindow *) 0 ;
6801 int arg2 = (int) -1 ;
6802 int arg3 = (int) 100 ;
6803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6805 wxSize const &arg5_defvalue = wxDefaultSize ;
6806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6807 long arg6 = (long) wxGA_HORIZONTAL ;
6808 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6809 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6810 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6811 wxString *arg8 = (wxString *) &arg8_defvalue ;
6812 wxGauge *result = 0 ;
6813 void *argp1 = 0 ;
6814 int res1 = 0 ;
6815 int val2 ;
6816 int ecode2 = 0 ;
6817 int val3 ;
6818 int ecode3 = 0 ;
6819 wxPoint temp4 ;
6820 wxSize temp5 ;
6821 long val6 ;
6822 int ecode6 = 0 ;
6823 void *argp7 = 0 ;
6824 int res7 = 0 ;
6825 bool temp8 = false ;
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj1 = 0 ;
6828 PyObject * obj2 = 0 ;
6829 PyObject * obj3 = 0 ;
6830 PyObject * obj4 = 0 ;
6831 PyObject * obj5 = 0 ;
6832 PyObject * obj6 = 0 ;
6833 PyObject * obj7 = 0 ;
6834 char * kwnames[] = {
6835 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6836 };
6837
6838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6840 if (!SWIG_IsOK(res1)) {
6841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6842 }
6843 arg1 = reinterpret_cast< wxWindow * >(argp1);
6844 if (obj1) {
6845 ecode2 = SWIG_AsVal_int(obj1, &val2);
6846 if (!SWIG_IsOK(ecode2)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6848 }
6849 arg2 = static_cast< int >(val2);
6850 }
6851 if (obj2) {
6852 ecode3 = SWIG_AsVal_int(obj2, &val3);
6853 if (!SWIG_IsOK(ecode3)) {
6854 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6855 }
6856 arg3 = static_cast< int >(val3);
6857 }
6858 if (obj3) {
5cbf236d 6859 {
0085ce49
RD
6860 arg4 = &temp4;
6861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5cbf236d 6862 }
0085ce49
RD
6863 }
6864 if (obj4) {
5cbf236d 6865 {
0085ce49
RD
6866 arg5 = &temp5;
6867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 6868 }
0085ce49
RD
6869 }
6870 if (obj5) {
6871 ecode6 = SWIG_AsVal_long(obj5, &val6);
6872 if (!SWIG_IsOK(ecode6)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6874 }
6875 arg6 = static_cast< long >(val6);
6876 }
6877 if (obj6) {
6878 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6879 if (!SWIG_IsOK(res7)) {
6880 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6881 }
6882 if (!argp7) {
6883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
5cbf236d 6884 }
0085ce49
RD
6885 arg7 = reinterpret_cast< wxValidator * >(argp7);
6886 }
6887 if (obj7) {
5cbf236d 6888 {
0085ce49
RD
6889 arg8 = wxString_in_helper(obj7);
6890 if (arg8 == NULL) SWIG_fail;
6891 temp8 = true;
5cbf236d 6892 }
0085ce49
RD
6893 }
6894 {
6895 if (!wxPyCheckForApp()) SWIG_fail;
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6902 {
6903 if (temp8)
6904 delete arg8;
6905 }
6906 return resultobj;
6907fail:
6908 {
6909 if (temp8)
6910 delete arg8;
6911 }
6912 return NULL;
5cbf236d
RD
6913}
6914
6915
0085ce49
RD
6916SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6917 PyObject *resultobj = 0;
6918 wxGauge *result = 0 ;
6919
6920 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6921 {
6922 if (!wxPyCheckForApp()) SWIG_fail;
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (wxGauge *)new wxGauge();
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6929 return resultobj;
6930fail:
6931 return NULL;
6932}
6933
6934
6935SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj = 0;
6937 wxGauge *arg1 = (wxGauge *) 0 ;
6938 wxWindow *arg2 = (wxWindow *) 0 ;
6939 int arg3 = (int) -1 ;
6940 int arg4 = (int) 100 ;
6941 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6942 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6943 wxSize const &arg6_defvalue = wxDefaultSize ;
6944 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6945 long arg7 = (long) wxGA_HORIZONTAL ;
6946 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6947 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6948 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6949 wxString *arg9 = (wxString *) &arg9_defvalue ;
6950 bool result;
6951 void *argp1 = 0 ;
6952 int res1 = 0 ;
6953 void *argp2 = 0 ;
6954 int res2 = 0 ;
6955 int val3 ;
6956 int ecode3 = 0 ;
6957 int val4 ;
6958 int ecode4 = 0 ;
6959 wxPoint temp5 ;
6960 wxSize temp6 ;
6961 long val7 ;
6962 int ecode7 = 0 ;
6963 void *argp8 = 0 ;
6964 int res8 = 0 ;
6965 bool temp9 = false ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 PyObject * obj2 = 0 ;
6969 PyObject * obj3 = 0 ;
6970 PyObject * obj4 = 0 ;
6971 PyObject * obj5 = 0 ;
6972 PyObject * obj6 = 0 ;
6973 PyObject * obj7 = 0 ;
6974 PyObject * obj8 = 0 ;
6975 char * kwnames[] = {
6976 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6977 };
6978
6979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6981 if (!SWIG_IsOK(res1)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6983 }
6984 arg1 = reinterpret_cast< wxGauge * >(argp1);
6985 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6986 if (!SWIG_IsOK(res2)) {
6987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6988 }
6989 arg2 = reinterpret_cast< wxWindow * >(argp2);
6990 if (obj2) {
6991 ecode3 = SWIG_AsVal_int(obj2, &val3);
6992 if (!SWIG_IsOK(ecode3)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6994 }
6995 arg3 = static_cast< int >(val3);
6996 }
6997 if (obj3) {
6998 ecode4 = SWIG_AsVal_int(obj3, &val4);
6999 if (!SWIG_IsOK(ecode4)) {
7000 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7001 }
7002 arg4 = static_cast< int >(val4);
7003 }
7004 if (obj4) {
5cbf236d 7005 {
0085ce49
RD
7006 arg5 = &temp5;
7007 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5cbf236d 7008 }
0085ce49
RD
7009 }
7010 if (obj5) {
5cbf236d 7011 {
0085ce49
RD
7012 arg6 = &temp6;
7013 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5cbf236d 7014 }
0085ce49
RD
7015 }
7016 if (obj6) {
7017 ecode7 = SWIG_AsVal_long(obj6, &val7);
7018 if (!SWIG_IsOK(ecode7)) {
7019 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7020 }
7021 arg7 = static_cast< long >(val7);
7022 }
7023 if (obj7) {
7024 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
7025 if (!SWIG_IsOK(res8)) {
7026 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5cbf236d 7027 }
0085ce49
RD
7028 if (!argp8) {
7029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7030 }
7031 arg8 = reinterpret_cast< wxValidator * >(argp8);
7032 }
7033 if (obj8) {
5cbf236d 7034 {
0085ce49
RD
7035 arg9 = wxString_in_helper(obj8);
7036 if (arg9 == NULL) SWIG_fail;
7037 temp9 = true;
5cbf236d 7038 }
0085ce49
RD
7039 }
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7043 wxPyEndAllowThreads(__tstate);
7044 if (PyErr_Occurred()) SWIG_fail;
7045 }
7046 {
7047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7048 }
7049 {
7050 if (temp9)
7051 delete arg9;
7052 }
7053 return resultobj;
7054fail:
7055 {
7056 if (temp9)
7057 delete arg9;
7058 }
7059 return NULL;
7060}
7061
7062
7063SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj = 0;
7065 wxGauge *arg1 = (wxGauge *) 0 ;
7066 int arg2 ;
7067 void *argp1 = 0 ;
7068 int res1 = 0 ;
7069 int val2 ;
7070 int ecode2 = 0 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char * kwnames[] = {
7074 (char *) "self",(char *) "range", NULL
7075 };
7076
7077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7079 if (!SWIG_IsOK(res1)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7081 }
7082 arg1 = reinterpret_cast< wxGauge * >(argp1);
7083 ecode2 = SWIG_AsVal_int(obj1, &val2);
7084 if (!SWIG_IsOK(ecode2)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7086 }
7087 arg2 = static_cast< int >(val2);
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 (arg1)->SetRange(arg2);
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 resultobj = SWIG_Py_Void();
7095 return resultobj;
7096fail:
7097 return NULL;
5cbf236d
RD
7098}
7099
7100
0085ce49
RD
7101SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7102 PyObject *resultobj = 0;
7103 wxGauge *arg1 = (wxGauge *) 0 ;
7104 int result;
7105 void *argp1 = 0 ;
7106 int res1 = 0 ;
7107 PyObject *swig_obj[1] ;
7108
7109 if (!args) SWIG_fail;
7110 swig_obj[0] = args;
7111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7112 if (!SWIG_IsOK(res1)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7114 }
7115 arg1 = reinterpret_cast< wxGauge * >(argp1);
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (int)((wxGauge const *)arg1)->GetRange();
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 resultobj = SWIG_From_int(static_cast< int >(result));
7123 return resultobj;
7124fail:
7125 return NULL;
7126}
7127
7128
7129SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj = 0;
7131 wxGauge *arg1 = (wxGauge *) 0 ;
7132 int arg2 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 int val2 ;
7136 int ecode2 = 0 ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 char * kwnames[] = {
7140 (char *) "self",(char *) "pos", NULL
7141 };
7142
7143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7145 if (!SWIG_IsOK(res1)) {
7146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7147 }
7148 arg1 = reinterpret_cast< wxGauge * >(argp1);
7149 ecode2 = SWIG_AsVal_int(obj1, &val2);
7150 if (!SWIG_IsOK(ecode2)) {
7151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7152 }
7153 arg2 = static_cast< int >(val2);
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 (arg1)->SetValue(arg2);
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 resultobj = SWIG_Py_Void();
7161 return resultobj;
7162fail:
7163 return NULL;
5cbf236d
RD
7164}
7165
7166
0085ce49
RD
7167SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7168 PyObject *resultobj = 0;
7169 wxGauge *arg1 = (wxGauge *) 0 ;
7170 int result;
7171 void *argp1 = 0 ;
7172 int res1 = 0 ;
7173 PyObject *swig_obj[1] ;
7174
7175 if (!args) SWIG_fail;
7176 swig_obj[0] = args;
7177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7178 if (!SWIG_IsOK(res1)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7180 }
7181 arg1 = reinterpret_cast< wxGauge * >(argp1);
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (int)((wxGauge const *)arg1)->GetValue();
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 resultobj = SWIG_From_int(static_cast< int >(result));
7189 return resultobj;
7190fail:
7191 return NULL;
5cbf236d
RD
7192}
7193
7194
0085ce49
RD
7195SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7196 PyObject *resultobj = 0;
7197 wxGauge *arg1 = (wxGauge *) 0 ;
7198 bool result;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7208 }
7209 arg1 = reinterpret_cast< wxGauge * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (bool)((wxGauge const *)arg1)->IsVertical();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7218 }
7219 return resultobj;
7220fail:
7221 return NULL;
7222}
7223
7224
7225SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj = 0;
7227 wxGauge *arg1 = (wxGauge *) 0 ;
7228 int arg2 ;
7229 void *argp1 = 0 ;
7230 int res1 = 0 ;
7231 int val2 ;
7232 int ecode2 = 0 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char * kwnames[] = {
7236 (char *) "self",(char *) "w", NULL
7237 };
7238
7239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7241 if (!SWIG_IsOK(res1)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7243 }
7244 arg1 = reinterpret_cast< wxGauge * >(argp1);
7245 ecode2 = SWIG_AsVal_int(obj1, &val2);
7246 if (!SWIG_IsOK(ecode2)) {
7247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7248 }
7249 arg2 = static_cast< int >(val2);
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SetShadowWidth(arg2);
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_Py_Void();
7257 return resultobj;
7258fail:
7259 return NULL;
22bfe96c
RD
7260}
7261
7262
0085ce49
RD
7263SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7264 PyObject *resultobj = 0;
7265 wxGauge *arg1 = (wxGauge *) 0 ;
7266 int result;
7267 void *argp1 = 0 ;
7268 int res1 = 0 ;
7269 PyObject *swig_obj[1] ;
7270
7271 if (!args) SWIG_fail;
7272 swig_obj[0] = args;
7273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7274 if (!SWIG_IsOK(res1)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7276 }
7277 arg1 = reinterpret_cast< wxGauge * >(argp1);
7278 {
7279 PyThreadState* __tstate = wxPyBeginAllowThreads();
7280 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7281 wxPyEndAllowThreads(__tstate);
7282 if (PyErr_Occurred()) SWIG_fail;
7283 }
7284 resultobj = SWIG_From_int(static_cast< int >(result));
7285 return resultobj;
7286fail:
7287 return NULL;
7288}
7289
7290
7291SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7292 PyObject *resultobj = 0;
7293 wxGauge *arg1 = (wxGauge *) 0 ;
7294 int arg2 ;
7295 void *argp1 = 0 ;
7296 int res1 = 0 ;
7297 int val2 ;
7298 int ecode2 = 0 ;
7299 PyObject * obj0 = 0 ;
7300 PyObject * obj1 = 0 ;
7301 char * kwnames[] = {
7302 (char *) "self",(char *) "w", NULL
7303 };
7304
7305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7307 if (!SWIG_IsOK(res1)) {
7308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7309 }
7310 arg1 = reinterpret_cast< wxGauge * >(argp1);
7311 ecode2 = SWIG_AsVal_int(obj1, &val2);
7312 if (!SWIG_IsOK(ecode2)) {
7313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7314 }
7315 arg2 = static_cast< int >(val2);
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 (arg1)->SetBezelFace(arg2);
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = SWIG_Py_Void();
7323 return resultobj;
7324fail:
7325 return NULL;
d14a1e28 7326}
0085ce49
RD
7327
7328
7329SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7330 PyObject *resultobj = 0;
7331 wxGauge *arg1 = (wxGauge *) 0 ;
7332 int result;
7333 void *argp1 = 0 ;
7334 int res1 = 0 ;
7335 PyObject *swig_obj[1] ;
7336
7337 if (!args) SWIG_fail;
7338 swig_obj[0] = args;
7339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7340 if (!SWIG_IsOK(res1)) {
7341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7342 }
7343 arg1 = reinterpret_cast< wxGauge * >(argp1);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_From_int(static_cast< int >(result));
7351 return resultobj;
7352fail:
7353 return NULL;
7354}
7355
7356
7357SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj = 0;
7359 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7360 SwigValueWrapper<wxVisualAttributes > result;
7361 int val1 ;
7362 int ecode1 = 0 ;
7363 PyObject * obj0 = 0 ;
7364 char * kwnames[] = {
7365 (char *) "variant", NULL
7366 };
7367
7368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7369 if (obj0) {
7370 ecode1 = SWIG_AsVal_int(obj0, &val1);
7371 if (!SWIG_IsOK(ecode1)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7373 }
7374 arg1 = static_cast< wxWindowVariant >(val1);
7375 }
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = wxGauge::GetClassDefaultAttributes(arg1);
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7384 return resultobj;
7385fail:
7386 return NULL;
b2dc1044
RD
7387}
7388
7389
0085ce49
RD
7390SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7391 PyObject *obj;
7392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7394 return SWIG_Py_Void();
7395}
7396
7397SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7398 return SWIG_Python_InitShadowInstance(args);
7399}
7400
7401SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7402 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7403 return 1;
7404}
7405
7406
7407SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7408 PyObject *pyobj = 0;
7409
7410 {
b2dc1044 7411#if wxUSE_UNICODE
0085ce49 7412 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
b2dc1044 7413#else
0085ce49 7414 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
b2dc1044 7415#endif
0085ce49
RD
7416 }
7417 return pyobj;
d14a1e28
RD
7418}
7419
7420
0085ce49
RD
7421SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7422 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7423 return 1;
d14a1e28
RD
7424}
7425
7426
0085ce49
RD
7427SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7428 PyObject *pyobj = 0;
7429
7430 {
7431#if wxUSE_UNICODE
7432 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7433#else
7434 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7435#endif
7436 }
7437 return pyobj;
7438}
7439
7440
7441SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7442 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7443 return 1;
7444}
7445
7446
7447SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7448 PyObject *pyobj = 0;
7449
7450 {
7451#if wxUSE_UNICODE
7452 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7453#else
7454 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7455#endif
7456 }
7457 return pyobj;
7458}
7459
7460
7461SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7462 PyObject *resultobj = 0;
7463 wxWindow *arg1 = (wxWindow *) 0 ;
7464 int arg2 = (int) -1 ;
7465 wxString const &arg3_defvalue = wxPyEmptyString ;
7466 wxString *arg3 = (wxString *) &arg3_defvalue ;
7467 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7468 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7469 wxSize const &arg5_defvalue = wxDefaultSize ;
7470 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7471 long arg6 = (long) 0 ;
7472 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7473 wxString *arg7 = (wxString *) &arg7_defvalue ;
7474 wxStaticBox *result = 0 ;
7475 void *argp1 = 0 ;
7476 int res1 = 0 ;
7477 int val2 ;
7478 int ecode2 = 0 ;
7479 bool temp3 = false ;
7480 wxPoint temp4 ;
7481 wxSize temp5 ;
7482 long val6 ;
7483 int ecode6 = 0 ;
7484 bool temp7 = false ;
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
7487 PyObject * obj2 = 0 ;
7488 PyObject * obj3 = 0 ;
7489 PyObject * obj4 = 0 ;
7490 PyObject * obj5 = 0 ;
7491 PyObject * obj6 = 0 ;
7492 char * kwnames[] = {
7493 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7494 };
7495
7496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7498 if (!SWIG_IsOK(res1)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7500 }
7501 arg1 = reinterpret_cast< wxWindow * >(argp1);
7502 if (obj1) {
7503 ecode2 = SWIG_AsVal_int(obj1, &val2);
7504 if (!SWIG_IsOK(ecode2)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7506 }
7507 arg2 = static_cast< int >(val2);
7508 }
7509 if (obj2) {
d14a1e28 7510 {
0085ce49
RD
7511 arg3 = wxString_in_helper(obj2);
7512 if (arg3 == NULL) SWIG_fail;
7513 temp3 = true;
d14a1e28 7514 }
0085ce49
RD
7515 }
7516 if (obj3) {
4f89f6a3 7517 {
0085ce49
RD
7518 arg4 = &temp4;
7519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 7520 }
0085ce49
RD
7521 }
7522 if (obj4) {
d14a1e28 7523 {
0085ce49
RD
7524 arg5 = &temp5;
7525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7526 }
0085ce49
RD
7527 }
7528 if (obj5) {
7529 ecode6 = SWIG_AsVal_long(obj5, &val6);
7530 if (!SWIG_IsOK(ecode6)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7532 }
7533 arg6 = static_cast< long >(val6);
7534 }
7535 if (obj6) {
d14a1e28 7536 {
0085ce49
RD
7537 arg7 = wxString_in_helper(obj6);
7538 if (arg7 == NULL) SWIG_fail;
7539 temp7 = true;
d14a1e28 7540 }
0085ce49
RD
7541 }
7542 {
7543 if (!wxPyCheckForApp()) SWIG_fail;
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7550 {
7551 if (temp3)
7552 delete arg3;
7553 }
7554 {
7555 if (temp7)
7556 delete arg7;
7557 }
7558 return resultobj;
7559fail:
7560 {
7561 if (temp3)
7562 delete arg3;
7563 }
7564 {
7565 if (temp7)
7566 delete arg7;
7567 }
7568 return NULL;
d14a1e28
RD
7569}
7570
7571
0085ce49
RD
7572SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7573 PyObject *resultobj = 0;
7574 wxStaticBox *result = 0 ;
7575
7576 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7577 {
7578 if (!wxPyCheckForApp()) SWIG_fail;
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (wxStaticBox *)new wxStaticBox();
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7585 return resultobj;
7586fail:
7587 return NULL;
7588}
7589
7590
7591SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj = 0;
7593 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7594 wxWindow *arg2 = (wxWindow *) 0 ;
7595 int arg3 = (int) -1 ;
7596 wxString const &arg4_defvalue = wxPyEmptyString ;
7597 wxString *arg4 = (wxString *) &arg4_defvalue ;
7598 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7599 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7600 wxSize const &arg6_defvalue = wxDefaultSize ;
7601 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7602 long arg7 = (long) 0 ;
7603 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7604 wxString *arg8 = (wxString *) &arg8_defvalue ;
7605 bool result;
7606 void *argp1 = 0 ;
7607 int res1 = 0 ;
7608 void *argp2 = 0 ;
7609 int res2 = 0 ;
7610 int val3 ;
7611 int ecode3 = 0 ;
7612 bool temp4 = false ;
7613 wxPoint temp5 ;
7614 wxSize temp6 ;
7615 long val7 ;
7616 int ecode7 = 0 ;
7617 bool temp8 = false ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 PyObject * obj2 = 0 ;
7621 PyObject * obj3 = 0 ;
7622 PyObject * obj4 = 0 ;
7623 PyObject * obj5 = 0 ;
7624 PyObject * obj6 = 0 ;
7625 PyObject * obj7 = 0 ;
7626 char * kwnames[] = {
7627 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7628 };
7629
7630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7632 if (!SWIG_IsOK(res1)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7634 }
7635 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7636 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7637 if (!SWIG_IsOK(res2)) {
7638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7639 }
7640 arg2 = reinterpret_cast< wxWindow * >(argp2);
7641 if (obj2) {
7642 ecode3 = SWIG_AsVal_int(obj2, &val3);
7643 if (!SWIG_IsOK(ecode3)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7645 }
7646 arg3 = static_cast< int >(val3);
7647 }
7648 if (obj3) {
093d3ff1 7649 {
0085ce49
RD
7650 arg4 = wxString_in_helper(obj3);
7651 if (arg4 == NULL) SWIG_fail;
7652 temp4 = true;
093d3ff1 7653 }
0085ce49
RD
7654 }
7655 if (obj4) {
d14a1e28 7656 {
0085ce49
RD
7657 arg5 = &temp5;
7658 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7659 }
0085ce49
RD
7660 }
7661 if (obj5) {
d14a1e28 7662 {
0085ce49
RD
7663 arg6 = &temp6;
7664 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 7665 }
0085ce49
RD
7666 }
7667 if (obj6) {
7668 ecode7 = SWIG_AsVal_long(obj6, &val7);
7669 if (!SWIG_IsOK(ecode7)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7671 }
7672 arg7 = static_cast< long >(val7);
7673 }
7674 if (obj7) {
093d3ff1 7675 {
0085ce49
RD
7676 arg8 = wxString_in_helper(obj7);
7677 if (arg8 == NULL) SWIG_fail;
7678 temp8 = true;
093d3ff1 7679 }
0085ce49
RD
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 {
7688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7689 }
7690 {
7691 if (temp4)
7692 delete arg4;
7693 }
7694 {
7695 if (temp8)
7696 delete arg8;
7697 }
7698 return resultobj;
7699fail:
7700 {
7701 if (temp4)
7702 delete arg4;
7703 }
7704 {
7705 if (temp8)
7706 delete arg8;
7707 }
7708 return NULL;
7709}
d14a1e28 7710
0085ce49
RD
7711
7712SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj = 0;
7714 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7715 SwigValueWrapper<wxVisualAttributes > result;
7716 int val1 ;
7717 int ecode1 = 0 ;
7718 PyObject * obj0 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "variant", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7724 if (obj0) {
7725 ecode1 = SWIG_AsVal_int(obj0, &val1);
7726 if (!SWIG_IsOK(ecode1)) {
7727 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7728 }
7729 arg1 = static_cast< wxWindowVariant >(val1);
7730 }
7731 {
7732 if (!wxPyCheckForApp()) SWIG_fail;
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7739 return resultobj;
7740fail:
7741 return NULL;
7742}
7743
7744
7745SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7746 PyObject *obj;
7747 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7748 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7749 return SWIG_Py_Void();
7750}
7751
7752SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7753 return SWIG_Python_InitShadowInstance(args);
7754}
7755
7756SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7757 PyObject *resultobj = 0;
7758 wxWindow *arg1 = (wxWindow *) 0 ;
7759 int arg2 = (int) -1 ;
7760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7762 wxSize const &arg4_defvalue = wxDefaultSize ;
7763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7764 long arg5 = (long) wxLI_HORIZONTAL ;
7765 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7766 wxString *arg6 = (wxString *) &arg6_defvalue ;
7767 wxStaticLine *result = 0 ;
7768 void *argp1 = 0 ;
7769 int res1 = 0 ;
7770 int val2 ;
7771 int ecode2 = 0 ;
7772 wxPoint temp3 ;
7773 wxSize temp4 ;
7774 long val5 ;
7775 int ecode5 = 0 ;
7776 bool temp6 = false ;
7777 PyObject * obj0 = 0 ;
7778 PyObject * obj1 = 0 ;
7779 PyObject * obj2 = 0 ;
7780 PyObject * obj3 = 0 ;
7781 PyObject * obj4 = 0 ;
7782 PyObject * obj5 = 0 ;
7783 char * kwnames[] = {
7784 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7785 };
7786
7787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7789 if (!SWIG_IsOK(res1)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7791 }
7792 arg1 = reinterpret_cast< wxWindow * >(argp1);
7793 if (obj1) {
7794 ecode2 = SWIG_AsVal_int(obj1, &val2);
7795 if (!SWIG_IsOK(ecode2)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7797 }
7798 arg2 = static_cast< int >(val2);
7799 }
7800 if (obj2) {
093d3ff1 7801 {
0085ce49
RD
7802 arg3 = &temp3;
7803 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7804 }
0085ce49
RD
7805 }
7806 if (obj3) {
d14a1e28 7807 {
0085ce49
RD
7808 arg4 = &temp4;
7809 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7810 }
0085ce49
RD
7811 }
7812 if (obj4) {
7813 ecode5 = SWIG_AsVal_long(obj4, &val5);
7814 if (!SWIG_IsOK(ecode5)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7816 }
7817 arg5 = static_cast< long >(val5);
7818 }
7819 if (obj5) {
7820 {
7821 arg6 = wxString_in_helper(obj5);
7822 if (arg6 == NULL) SWIG_fail;
7823 temp6 = true;
7824 }
7825 }
7826 {
7827 if (!wxPyCheckForApp()) SWIG_fail;
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7834 {
7835 if (temp6)
7836 delete arg6;
7837 }
7838 return resultobj;
7839fail:
7840 {
7841 if (temp6)
7842 delete arg6;
7843 }
7844 return NULL;
d14a1e28
RD
7845}
7846
7847
0085ce49
RD
7848SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7849 PyObject *resultobj = 0;
7850 wxStaticLine *result = 0 ;
7851
7852 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7853 {
7854 if (!wxPyCheckForApp()) SWIG_fail;
7855 PyThreadState* __tstate = wxPyBeginAllowThreads();
7856 result = (wxStaticLine *)new wxStaticLine();
7857 wxPyEndAllowThreads(__tstate);
7858 if (PyErr_Occurred()) SWIG_fail;
7859 }
7860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7861 return resultobj;
7862fail:
7863 return NULL;
7864}
7865
7866
7867SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7868 PyObject *resultobj = 0;
7869 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7870 wxWindow *arg2 = (wxWindow *) 0 ;
7871 int arg3 = (int) -1 ;
7872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7874 wxSize const &arg5_defvalue = wxDefaultSize ;
7875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7876 long arg6 = (long) wxLI_HORIZONTAL ;
7877 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7878 wxString *arg7 = (wxString *) &arg7_defvalue ;
7879 bool result;
7880 void *argp1 = 0 ;
7881 int res1 = 0 ;
7882 void *argp2 = 0 ;
7883 int res2 = 0 ;
7884 int val3 ;
7885 int ecode3 = 0 ;
7886 wxPoint temp4 ;
7887 wxSize temp5 ;
7888 long val6 ;
7889 int ecode6 = 0 ;
7890 bool temp7 = false ;
7891 PyObject * obj0 = 0 ;
7892 PyObject * obj1 = 0 ;
7893 PyObject * obj2 = 0 ;
7894 PyObject * obj3 = 0 ;
7895 PyObject * obj4 = 0 ;
7896 PyObject * obj5 = 0 ;
7897 PyObject * obj6 = 0 ;
7898 char * kwnames[] = {
7899 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7900 };
7901
7902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7904 if (!SWIG_IsOK(res1)) {
7905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7906 }
7907 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7908 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7909 if (!SWIG_IsOK(res2)) {
7910 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7911 }
7912 arg2 = reinterpret_cast< wxWindow * >(argp2);
7913 if (obj2) {
7914 ecode3 = SWIG_AsVal_int(obj2, &val3);
7915 if (!SWIG_IsOK(ecode3)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7917 }
7918 arg3 = static_cast< int >(val3);
7919 }
7920 if (obj3) {
d14a1e28 7921 {
0085ce49
RD
7922 arg4 = &temp4;
7923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7924 }
0085ce49
RD
7925 }
7926 if (obj4) {
093d3ff1 7927 {
0085ce49
RD
7928 arg5 = &temp5;
7929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7930 }
0085ce49
RD
7931 }
7932 if (obj5) {
7933 ecode6 = SWIG_AsVal_long(obj5, &val6);
7934 if (!SWIG_IsOK(ecode6)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7936 }
7937 arg6 = static_cast< long >(val6);
7938 }
7939 if (obj6) {
7940 {
7941 arg7 = wxString_in_helper(obj6);
7942 if (arg7 == NULL) SWIG_fail;
7943 temp7 = true;
7944 }
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 {
7953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7954 }
7955 {
7956 if (temp7)
7957 delete arg7;
7958 }
7959 return resultobj;
7960fail:
7961 {
7962 if (temp7)
7963 delete arg7;
7964 }
7965 return NULL;
d14a1e28
RD
7966}
7967
7968
0085ce49
RD
7969SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7970 PyObject *resultobj = 0;
7971 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7972 bool result;
7973 void *argp1 = 0 ;
7974 int res1 = 0 ;
7975 PyObject *swig_obj[1] ;
7976
7977 if (!args) SWIG_fail;
7978 swig_obj[0] = args;
7979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7980 if (!SWIG_IsOK(res1)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7982 }
7983 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7984 {
7985 PyThreadState* __tstate = wxPyBeginAllowThreads();
7986 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 {
7991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7992 }
7993 return resultobj;
7994fail:
7995 return NULL;
7996}
7997
7998
7999SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8000 PyObject *resultobj = 0;
8001 int result;
8002
8003 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (int)wxStaticLine::GetDefaultSize();
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 resultobj = SWIG_From_int(static_cast< int >(result));
8011 return resultobj;
8012fail:
8013 return NULL;
8014}
8015
8016
8017SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj = 0;
8019 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8020 SwigValueWrapper<wxVisualAttributes > result;
8021 int val1 ;
8022 int ecode1 = 0 ;
8023 PyObject * obj0 = 0 ;
8024 char * kwnames[] = {
8025 (char *) "variant", NULL
8026 };
8027
8028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8029 if (obj0) {
8030 ecode1 = SWIG_AsVal_int(obj0, &val1);
8031 if (!SWIG_IsOK(ecode1)) {
8032 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8033 }
8034 arg1 = static_cast< wxWindowVariant >(val1);
8035 }
8036 {
8037 if (!wxPyCheckForApp()) SWIG_fail;
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8040 wxPyEndAllowThreads(__tstate);
8041 if (PyErr_Occurred()) SWIG_fail;
8042 }
8043 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8044 return resultobj;
8045fail:
8046 return NULL;
8047}
8048
8049
8050SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *obj;
8052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8054 return SWIG_Py_Void();
8055}
8056
8057SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8058 return SWIG_Python_InitShadowInstance(args);
8059}
8060
8061SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxWindow *arg1 = (wxWindow *) 0 ;
8064 int arg2 = (int) -1 ;
8065 wxString const &arg3_defvalue = wxPyEmptyString ;
8066 wxString *arg3 = (wxString *) &arg3_defvalue ;
8067 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8068 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8069 wxSize const &arg5_defvalue = wxDefaultSize ;
8070 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8071 long arg6 = (long) 0 ;
8072 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8073 wxString *arg7 = (wxString *) &arg7_defvalue ;
8074 wxStaticText *result = 0 ;
8075 void *argp1 = 0 ;
8076 int res1 = 0 ;
8077 int val2 ;
8078 int ecode2 = 0 ;
8079 bool temp3 = false ;
8080 wxPoint temp4 ;
8081 wxSize temp5 ;
8082 long val6 ;
8083 int ecode6 = 0 ;
8084 bool temp7 = false ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 PyObject * obj2 = 0 ;
8088 PyObject * obj3 = 0 ;
8089 PyObject * obj4 = 0 ;
8090 PyObject * obj5 = 0 ;
8091 PyObject * obj6 = 0 ;
8092 char * kwnames[] = {
8093 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8094 };
8095
8096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8098 if (!SWIG_IsOK(res1)) {
8099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8100 }
8101 arg1 = reinterpret_cast< wxWindow * >(argp1);
8102 if (obj1) {
8103 ecode2 = SWIG_AsVal_int(obj1, &val2);
8104 if (!SWIG_IsOK(ecode2)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8106 }
8107 arg2 = static_cast< int >(val2);
8108 }
8109 if (obj2) {
d14a1e28 8110 {
0085ce49
RD
8111 arg3 = wxString_in_helper(obj2);
8112 if (arg3 == NULL) SWIG_fail;
8113 temp3 = true;
d14a1e28 8114 }
0085ce49
RD
8115 }
8116 if (obj3) {
4f89f6a3 8117 {
0085ce49
RD
8118 arg4 = &temp4;
8119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 8120 }
0085ce49
RD
8121 }
8122 if (obj4) {
093d3ff1 8123 {
0085ce49
RD
8124 arg5 = &temp5;
8125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8126 }
0085ce49
RD
8127 }
8128 if (obj5) {
8129 ecode6 = SWIG_AsVal_long(obj5, &val6);
8130 if (!SWIG_IsOK(ecode6)) {
8131 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8132 }
8133 arg6 = static_cast< long >(val6);
8134 }
8135 if (obj6) {
d14a1e28 8136 {
0085ce49
RD
8137 arg7 = wxString_in_helper(obj6);
8138 if (arg7 == NULL) SWIG_fail;
8139 temp7 = true;
d14a1e28 8140 }
0085ce49
RD
8141 }
8142 {
8143 if (!wxPyCheckForApp()) SWIG_fail;
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8150 {
8151 if (temp3)
8152 delete arg3;
8153 }
8154 {
8155 if (temp7)
8156 delete arg7;
8157 }
8158 return resultobj;
8159fail:
8160 {
8161 if (temp3)
8162 delete arg3;
8163 }
8164 {
8165 if (temp7)
8166 delete arg7;
8167 }
8168 return NULL;
d14a1e28
RD
8169}
8170
8171
0085ce49
RD
8172SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8173 PyObject *resultobj = 0;
8174 wxStaticText *result = 0 ;
8175
8176 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8177 {
8178 if (!wxPyCheckForApp()) SWIG_fail;
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (wxStaticText *)new wxStaticText();
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8185 return resultobj;
8186fail:
8187 return NULL;
8188}
8189
8190
8191SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj = 0;
8193 wxStaticText *arg1 = (wxStaticText *) 0 ;
8194 wxWindow *arg2 = (wxWindow *) 0 ;
8195 int arg3 = (int) -1 ;
8196 wxString const &arg4_defvalue = wxPyEmptyString ;
8197 wxString *arg4 = (wxString *) &arg4_defvalue ;
8198 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8199 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8200 wxSize const &arg6_defvalue = wxDefaultSize ;
8201 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8202 long arg7 = (long) 0 ;
8203 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8204 wxString *arg8 = (wxString *) &arg8_defvalue ;
8205 bool result;
8206 void *argp1 = 0 ;
8207 int res1 = 0 ;
8208 void *argp2 = 0 ;
8209 int res2 = 0 ;
8210 int val3 ;
8211 int ecode3 = 0 ;
8212 bool temp4 = false ;
8213 wxPoint temp5 ;
8214 wxSize temp6 ;
8215 long val7 ;
8216 int ecode7 = 0 ;
8217 bool temp8 = false ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 PyObject * obj2 = 0 ;
8221 PyObject * obj3 = 0 ;
8222 PyObject * obj4 = 0 ;
8223 PyObject * obj5 = 0 ;
8224 PyObject * obj6 = 0 ;
8225 PyObject * obj7 = 0 ;
8226 char * kwnames[] = {
8227 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8228 };
8229
8230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8232 if (!SWIG_IsOK(res1)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8234 }
8235 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8236 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8237 if (!SWIG_IsOK(res2)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8239 }
8240 arg2 = reinterpret_cast< wxWindow * >(argp2);
8241 if (obj2) {
8242 ecode3 = SWIG_AsVal_int(obj2, &val3);
8243 if (!SWIG_IsOK(ecode3)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8245 }
8246 arg3 = static_cast< int >(val3);
8247 }
8248 if (obj3) {
d14a1e28 8249 {
0085ce49
RD
8250 arg4 = wxString_in_helper(obj3);
8251 if (arg4 == NULL) SWIG_fail;
8252 temp4 = true;
8253 }
8254 }
8255 if (obj4) {
8256 {
8257 arg5 = &temp5;
8258 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8259 }
0085ce49
RD
8260 }
8261 if (obj5) {
093d3ff1 8262 {
0085ce49
RD
8263 arg6 = &temp6;
8264 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8265 }
0085ce49
RD
8266 }
8267 if (obj6) {
8268 ecode7 = SWIG_AsVal_long(obj6, &val7);
8269 if (!SWIG_IsOK(ecode7)) {
8270 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8271 }
8272 arg7 = static_cast< long >(val7);
8273 }
8274 if (obj7) {
093d3ff1 8275 {
0085ce49
RD
8276 arg8 = wxString_in_helper(obj7);
8277 if (arg8 == NULL) SWIG_fail;
8278 temp8 = true;
8279 }
8280 }
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 {
8288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8289 }
8290 {
8291 if (temp4)
8292 delete arg4;
8293 }
8294 {
8295 if (temp8)
8296 delete arg8;
8297 }
8298 return resultobj;
8299fail:
8300 {
8301 if (temp4)
8302 delete arg4;
8303 }
8304 {
8305 if (temp8)
8306 delete arg8;
8307 }
8308 return NULL;
8309}
8310
8311
8312SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj = 0;
8314 wxStaticText *arg1 = (wxStaticText *) 0 ;
8315 int arg2 ;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 int val2 ;
8319 int ecode2 = 0 ;
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 char * kwnames[] = {
8323 (char *) "self",(char *) "width", NULL
8324 };
8325
8326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8328 if (!SWIG_IsOK(res1)) {
8329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8330 }
8331 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8332 ecode2 = SWIG_AsVal_int(obj1, &val2);
8333 if (!SWIG_IsOK(ecode2)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8335 }
8336 arg2 = static_cast< int >(val2);
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 (arg1)->Wrap(arg2);
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 resultobj = SWIG_Py_Void();
8344 return resultobj;
8345fail:
8346 return NULL;
8347}
8348
8349
8350SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8351 PyObject *resultobj = 0;
8352 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8353 SwigValueWrapper<wxVisualAttributes > result;
8354 int val1 ;
8355 int ecode1 = 0 ;
8356 PyObject * obj0 = 0 ;
8357 char * kwnames[] = {
8358 (char *) "variant", NULL
8359 };
8360
8361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8362 if (obj0) {
8363 ecode1 = SWIG_AsVal_int(obj0, &val1);
8364 if (!SWIG_IsOK(ecode1)) {
8365 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8366 }
8367 arg1 = static_cast< wxWindowVariant >(val1);
8368 }
8369 {
8370 if (!wxPyCheckForApp()) SWIG_fail;
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = wxStaticText::GetClassDefaultAttributes(arg1);
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8377 return resultobj;
8378fail:
8379 return NULL;
8380}
8381
8382
8383SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8384 PyObject *obj;
8385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8386 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8387 return SWIG_Py_Void();
8388}
8389
8390SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8391 return SWIG_Python_InitShadowInstance(args);
8392}
8393
8394SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8395 PyObject *resultobj = 0;
8396 wxWindow *arg1 = (wxWindow *) 0 ;
8397 int arg2 = (int) -1 ;
8398 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8399 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8402 wxSize const &arg5_defvalue = wxDefaultSize ;
8403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8404 long arg6 = (long) 0 ;
8405 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8406 wxString *arg7 = (wxString *) &arg7_defvalue ;
8407 wxStaticBitmap *result = 0 ;
8408 void *argp1 = 0 ;
8409 int res1 = 0 ;
8410 int val2 ;
8411 int ecode2 = 0 ;
8412 void *argp3 = 0 ;
8413 int res3 = 0 ;
8414 wxPoint temp4 ;
8415 wxSize temp5 ;
8416 long val6 ;
8417 int ecode6 = 0 ;
8418 bool temp7 = false ;
8419 PyObject * obj0 = 0 ;
8420 PyObject * obj1 = 0 ;
8421 PyObject * obj2 = 0 ;
8422 PyObject * obj3 = 0 ;
8423 PyObject * obj4 = 0 ;
8424 PyObject * obj5 = 0 ;
8425 PyObject * obj6 = 0 ;
8426 char * kwnames[] = {
8427 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8428 };
8429
8430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8432 if (!SWIG_IsOK(res1)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8434 }
8435 arg1 = reinterpret_cast< wxWindow * >(argp1);
8436 if (obj1) {
8437 ecode2 = SWIG_AsVal_int(obj1, &val2);
8438 if (!SWIG_IsOK(ecode2)) {
8439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8440 }
8441 arg2 = static_cast< int >(val2);
8442 }
8443 if (obj2) {
8444 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8445 if (!SWIG_IsOK(res3)) {
8446 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8447 }
8448 if (!argp3) {
8449 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8450 }
0085ce49
RD
8451 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8452 }
8453 if (obj3) {
d14a1e28 8454 {
0085ce49
RD
8455 arg4 = &temp4;
8456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8457 }
0085ce49
RD
8458 }
8459 if (obj4) {
d14a1e28 8460 {
0085ce49
RD
8461 arg5 = &temp5;
8462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8463 }
0085ce49
RD
8464 }
8465 if (obj5) {
8466 ecode6 = SWIG_AsVal_long(obj5, &val6);
8467 if (!SWIG_IsOK(ecode6)) {
8468 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8469 }
8470 arg6 = static_cast< long >(val6);
8471 }
8472 if (obj6) {
093d3ff1 8473 {
0085ce49
RD
8474 arg7 = wxString_in_helper(obj6);
8475 if (arg7 == NULL) SWIG_fail;
8476 temp7 = true;
093d3ff1 8477 }
0085ce49
RD
8478 }
8479 {
8480 if (!wxPyCheckForApp()) SWIG_fail;
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
8482 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8487 {
8488 if (temp7)
8489 delete arg7;
8490 }
8491 return resultobj;
8492fail:
8493 {
8494 if (temp7)
8495 delete arg7;
8496 }
8497 return NULL;
d14a1e28
RD
8498}
8499
8500
0085ce49
RD
8501SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8502 PyObject *resultobj = 0;
8503 wxStaticBitmap *result = 0 ;
8504
8505 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8506 {
8507 if (!wxPyCheckForApp()) SWIG_fail;
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxStaticBitmap *)new wxStaticBitmap();
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8514 return resultobj;
8515fail:
8516 return NULL;
8517}
8518
8519
8520SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj = 0;
8522 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8523 wxWindow *arg2 = (wxWindow *) 0 ;
8524 int arg3 = (int) -1 ;
8525 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8526 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8527 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8528 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8529 wxSize const &arg6_defvalue = wxDefaultSize ;
8530 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8531 long arg7 = (long) 0 ;
8532 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8533 wxString *arg8 = (wxString *) &arg8_defvalue ;
8534 bool result;
8535 void *argp1 = 0 ;
8536 int res1 = 0 ;
8537 void *argp2 = 0 ;
8538 int res2 = 0 ;
8539 int val3 ;
8540 int ecode3 = 0 ;
8541 void *argp4 = 0 ;
8542 int res4 = 0 ;
8543 wxPoint temp5 ;
8544 wxSize temp6 ;
8545 long val7 ;
8546 int ecode7 = 0 ;
8547 bool temp8 = false ;
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8550 PyObject * obj2 = 0 ;
8551 PyObject * obj3 = 0 ;
8552 PyObject * obj4 = 0 ;
8553 PyObject * obj5 = 0 ;
8554 PyObject * obj6 = 0 ;
8555 PyObject * obj7 = 0 ;
8556 char * kwnames[] = {
8557 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8558 };
8559
8560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8562 if (!SWIG_IsOK(res1)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8564 }
8565 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8566 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8567 if (!SWIG_IsOK(res2)) {
8568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8569 }
8570 arg2 = reinterpret_cast< wxWindow * >(argp2);
8571 if (obj2) {
8572 ecode3 = SWIG_AsVal_int(obj2, &val3);
8573 if (!SWIG_IsOK(ecode3)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8575 }
8576 arg3 = static_cast< int >(val3);
8577 }
8578 if (obj3) {
8579 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8580 if (!SWIG_IsOK(res4)) {
8581 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8582 }
8583 if (!argp4) {
8584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
22bfe96c 8585 }
0085ce49
RD
8586 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8587 }
8588 if (obj4) {
22bfe96c 8589 {
0085ce49
RD
8590 arg5 = &temp5;
8591 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 8592 }
0085ce49
RD
8593 }
8594 if (obj5) {
22bfe96c 8595 {
0085ce49
RD
8596 arg6 = &temp6;
8597 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22bfe96c 8598 }
0085ce49
RD
8599 }
8600 if (obj6) {
8601 ecode7 = SWIG_AsVal_long(obj6, &val7);
8602 if (!SWIG_IsOK(ecode7)) {
8603 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8604 }
8605 arg7 = static_cast< long >(val7);
8606 }
8607 if (obj7) {
b2dc1044 8608 {
0085ce49
RD
8609 arg8 = wxString_in_helper(obj7);
8610 if (arg8 == NULL) SWIG_fail;
8611 temp8 = true;
b2dc1044 8612 }
0085ce49
RD
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 {
8621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8622 }
8623 {
8624 if (temp8)
8625 delete arg8;
8626 }
8627 return resultobj;
8628fail:
8629 {
8630 if (temp8)
8631 delete arg8;
8632 }
8633 return NULL;
b2dc1044
RD
8634}
8635
8636
0085ce49
RD
8637SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8638 PyObject *resultobj = 0;
8639 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8640 wxBitmap result;
8641 void *argp1 = 0 ;
8642 int res1 = 0 ;
8643 PyObject *swig_obj[1] ;
8644
8645 if (!args) SWIG_fail;
8646 swig_obj[0] = args;
8647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8648 if (!SWIG_IsOK(res1)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8650 }
8651 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (arg1)->GetBitmap();
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8659 return resultobj;
8660fail:
8661 return NULL;
8662}
8663
8664
8665SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj = 0;
8667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8668 wxBitmap *arg2 = 0 ;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 void *argp2 = 0 ;
8672 int res2 = 0 ;
8673 PyObject * obj0 = 0 ;
8674 PyObject * obj1 = 0 ;
8675 char * kwnames[] = {
8676 (char *) "self",(char *) "bitmap", NULL
8677 };
8678
8679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8681 if (!SWIG_IsOK(res1)) {
8682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8683 }
8684 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8685 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8686 if (!SWIG_IsOK(res2)) {
8687 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8688 }
8689 if (!argp2) {
8690 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 }
8692 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_Py_Void();
8700 return resultobj;
8701fail:
8702 return NULL;
8703}
8704
8705
8706SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj = 0;
8708 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8709 wxIcon *arg2 = 0 ;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 void *argp2 = 0 ;
8713 int res2 = 0 ;
8714 PyObject * obj0 = 0 ;
8715 PyObject * obj1 = 0 ;
8716 char * kwnames[] = {
8717 (char *) "self",(char *) "icon", NULL
8718 };
8719
8720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8722 if (!SWIG_IsOK(res1)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8724 }
8725 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8726 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8727 if (!SWIG_IsOK(res2)) {
8728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8729 }
8730 if (!argp2) {
8731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 }
8733 arg2 = reinterpret_cast< wxIcon * >(argp2);
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 (arg1)->SetIcon((wxIcon const &)*arg2);
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 resultobj = SWIG_Py_Void();
8741 return resultobj;
8742fail:
8743 return NULL;
8744}
8745
8746
8747SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8748 PyObject *resultobj = 0;
8749 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8750 SwigValueWrapper<wxVisualAttributes > result;
8751 int val1 ;
8752 int ecode1 = 0 ;
8753 PyObject * obj0 = 0 ;
8754 char * kwnames[] = {
8755 (char *) "variant", NULL
8756 };
8757
8758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8759 if (obj0) {
8760 ecode1 = SWIG_AsVal_int(obj0, &val1);
8761 if (!SWIG_IsOK(ecode1)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8763 }
8764 arg1 = static_cast< wxWindowVariant >(val1);
8765 }
8766 {
8767 if (!wxPyCheckForApp()) SWIG_fail;
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8774 return resultobj;
8775fail:
8776 return NULL;
b2dc1044
RD
8777}
8778
8779
0085ce49
RD
8780SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8781 PyObject *obj;
8782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8783 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8784 return SWIG_Py_Void();
b2dc1044
RD
8785}
8786
0085ce49
RD
8787SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8788 return SWIG_Python_InitShadowInstance(args);
8789}
b2dc1044 8790
0085ce49
RD
8791SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8792 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8793 return 1;
b2dc1044
RD
8794}
8795
8796
0085ce49
RD
8797SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8798 PyObject *pyobj = 0;
8799
8800 {
b2dc1044 8801#if wxUSE_UNICODE
0085ce49 8802 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
b2dc1044 8803#else
0085ce49 8804 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
b2dc1044 8805#endif
0085ce49
RD
8806 }
8807 return pyobj;
8808}
8809
8810
8811SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj = 0;
8813 wxWindow *arg1 = (wxWindow *) 0 ;
8814 int arg2 = (int) -1 ;
8815 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8816 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8817 wxSize const &arg4_defvalue = wxDefaultSize ;
8818 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8819 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8820 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8821 long arg6 = (long) 0 ;
8822 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8823 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8824 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8825 wxString *arg8 = (wxString *) &arg8_defvalue ;
8826 wxListBox *result = 0 ;
8827 void *argp1 = 0 ;
8828 int res1 = 0 ;
8829 int val2 ;
8830 int ecode2 = 0 ;
8831 wxPoint temp3 ;
8832 wxSize temp4 ;
8833 bool temp5 = false ;
8834 long val6 ;
8835 int ecode6 = 0 ;
8836 void *argp7 = 0 ;
8837 int res7 = 0 ;
8838 bool temp8 = false ;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 PyObject * obj2 = 0 ;
8842 PyObject * obj3 = 0 ;
8843 PyObject * obj4 = 0 ;
8844 PyObject * obj5 = 0 ;
8845 PyObject * obj6 = 0 ;
8846 PyObject * obj7 = 0 ;
8847 char * kwnames[] = {
8848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8849 };
8850
8851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8853 if (!SWIG_IsOK(res1)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8855 }
8856 arg1 = reinterpret_cast< wxWindow * >(argp1);
8857 if (obj1) {
8858 ecode2 = SWIG_AsVal_int(obj1, &val2);
8859 if (!SWIG_IsOK(ecode2)) {
8860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8861 }
8862 arg2 = static_cast< int >(val2);
8863 }
8864 if (obj2) {
d14a1e28 8865 {
0085ce49
RD
8866 arg3 = &temp3;
8867 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 8868 }
0085ce49
RD
8869 }
8870 if (obj3) {
d14a1e28 8871 {
0085ce49
RD
8872 arg4 = &temp4;
8873 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8874 }
0085ce49
RD
8875 }
8876 if (obj4) {
d14a1e28 8877 {
0085ce49
RD
8878 if (! PySequence_Check(obj4)) {
8879 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8880 SWIG_fail;
8881 }
8882 arg5 = new wxArrayString;
8883 temp5 = true;
8884 int i, len=PySequence_Length(obj4);
8885 for (i=0; i<len; i++) {
8886 PyObject* item = PySequence_GetItem(obj4, i);
8887 wxString* s = wxString_in_helper(item);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 arg5->Add(*s);
8890 delete s;
8891 Py_DECREF(item);
8892 }
d14a1e28 8893 }
0085ce49
RD
8894 }
8895 if (obj5) {
8896 ecode6 = SWIG_AsVal_long(obj5, &val6);
8897 if (!SWIG_IsOK(ecode6)) {
8898 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8899 }
8900 arg6 = static_cast< long >(val6);
8901 }
8902 if (obj6) {
8903 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8904 if (!SWIG_IsOK(res7)) {
8905 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 8906 }
0085ce49
RD
8907 if (!argp7) {
8908 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 8909 }
0085ce49
RD
8910 arg7 = reinterpret_cast< wxValidator * >(argp7);
8911 }
8912 if (obj7) {
d14a1e28 8913 {
0085ce49
RD
8914 arg8 = wxString_in_helper(obj7);
8915 if (arg8 == NULL) SWIG_fail;
8916 temp8 = true;
d14a1e28 8917 }
0085ce49
RD
8918 }
8919 {
8920 if (!wxPyCheckForApp()) SWIG_fail;
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8927 {
8928 if (temp5) delete arg5;
8929 }
8930 {
8931 if (temp8)
8932 delete arg8;
8933 }
8934 return resultobj;
8935fail:
8936 {
8937 if (temp5) delete arg5;
8938 }
8939 {
8940 if (temp8)
8941 delete arg8;
8942 }
8943 return NULL;
d14a1e28
RD
8944}
8945
8946
0085ce49
RD
8947SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8948 PyObject *resultobj = 0;
8949 wxListBox *result = 0 ;
8950
8951 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8952 {
8953 if (!wxPyCheckForApp()) SWIG_fail;
8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
8955 result = (wxListBox *)new wxListBox();
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8960 return resultobj;
8961fail:
8962 return NULL;
8963}
8964
8965
8966SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj = 0;
8968 wxListBox *arg1 = (wxListBox *) 0 ;
8969 wxWindow *arg2 = (wxWindow *) 0 ;
8970 int arg3 = (int) -1 ;
8971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8973 wxSize const &arg5_defvalue = wxDefaultSize ;
8974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8975 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8976 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8977 long arg7 = (long) 0 ;
8978 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8979 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8980 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8981 wxString *arg9 = (wxString *) &arg9_defvalue ;
8982 bool result;
8983 void *argp1 = 0 ;
8984 int res1 = 0 ;
8985 void *argp2 = 0 ;
8986 int res2 = 0 ;
8987 int val3 ;
8988 int ecode3 = 0 ;
8989 wxPoint temp4 ;
8990 wxSize temp5 ;
8991 bool temp6 = false ;
8992 long val7 ;
8993 int ecode7 = 0 ;
8994 void *argp8 = 0 ;
8995 int res8 = 0 ;
8996 bool temp9 = false ;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 PyObject * obj2 = 0 ;
9000 PyObject * obj3 = 0 ;
9001 PyObject * obj4 = 0 ;
9002 PyObject * obj5 = 0 ;
9003 PyObject * obj6 = 0 ;
9004 PyObject * obj7 = 0 ;
9005 PyObject * obj8 = 0 ;
9006 char * kwnames[] = {
9007 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9008 };
9009
9010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
9011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9012 if (!SWIG_IsOK(res1)) {
9013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9014 }
9015 arg1 = reinterpret_cast< wxListBox * >(argp1);
9016 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9017 if (!SWIG_IsOK(res2)) {
9018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9019 }
9020 arg2 = reinterpret_cast< wxWindow * >(argp2);
9021 if (obj2) {
9022 ecode3 = SWIG_AsVal_int(obj2, &val3);
9023 if (!SWIG_IsOK(ecode3)) {
9024 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9025 }
9026 arg3 = static_cast< int >(val3);
9027 }
9028 if (obj3) {
d14a1e28 9029 {
0085ce49
RD
9030 arg4 = &temp4;
9031 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9032 }
0085ce49
RD
9033 }
9034 if (obj4) {
d14a1e28 9035 {
0085ce49
RD
9036 arg5 = &temp5;
9037 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9038 }
0085ce49
RD
9039 }
9040 if (obj5) {
d14a1e28 9041 {
0085ce49
RD
9042 if (! PySequence_Check(obj5)) {
9043 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9044 SWIG_fail;
9045 }
9046 arg6 = new wxArrayString;
9047 temp6 = true;
9048 int i, len=PySequence_Length(obj5);
9049 for (i=0; i<len; i++) {
9050 PyObject* item = PySequence_GetItem(obj5, i);
9051 wxString* s = wxString_in_helper(item);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 arg6->Add(*s);
9054 delete s;
9055 Py_DECREF(item);
9056 }
d14a1e28 9057 }
0085ce49
RD
9058 }
9059 if (obj6) {
9060 ecode7 = SWIG_AsVal_long(obj6, &val7);
9061 if (!SWIG_IsOK(ecode7)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9063 }
9064 arg7 = static_cast< long >(val7);
9065 }
9066 if (obj7) {
9067 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9068 if (!SWIG_IsOK(res8)) {
9069 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 9070 }
0085ce49
RD
9071 if (!argp8) {
9072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
22bfe96c 9073 }
0085ce49
RD
9074 arg8 = reinterpret_cast< wxValidator * >(argp8);
9075 }
9076 if (obj8) {
22bfe96c 9077 {
0085ce49
RD
9078 arg9 = wxString_in_helper(obj8);
9079 if (arg9 == NULL) SWIG_fail;
9080 temp9 = true;
22bfe96c 9081 }
0085ce49
RD
9082 }
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
9092 {
9093 if (temp6) delete arg6;
9094 }
9095 {
9096 if (temp9)
9097 delete arg9;
9098 }
9099 return resultobj;
9100fail:
9101 {
9102 if (temp6) delete arg6;
9103 }
9104 {
9105 if (temp9)
9106 delete arg9;
9107 }
9108 return NULL;
9109}
9110
9111
9112SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj = 0;
9114 wxListBox *arg1 = (wxListBox *) 0 ;
9115 wxString *arg2 = 0 ;
9116 int arg3 ;
9117 PyObject *arg4 = (PyObject *) NULL ;
9118 void *argp1 = 0 ;
9119 int res1 = 0 ;
9120 bool temp2 = false ;
9121 int val3 ;
9122 int ecode3 = 0 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 PyObject * obj3 = 0 ;
9127 char * kwnames[] = {
9128 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9129 };
9130
9131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9133 if (!SWIG_IsOK(res1)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9135 }
9136 arg1 = reinterpret_cast< wxListBox * >(argp1);
9137 {
9138 arg2 = wxString_in_helper(obj1);
9139 if (arg2 == NULL) SWIG_fail;
9140 temp2 = true;
9141 }
9142 ecode3 = SWIG_AsVal_int(obj2, &val3);
9143 if (!SWIG_IsOK(ecode3)) {
9144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9145 }
9146 arg3 = static_cast< int >(val3);
9147 if (obj3) {
9148 arg4 = obj3;
9149 }
9150 {
9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
9152 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_Py_Void();
9157 {
9158 if (temp2)
9159 delete arg2;
9160 }
9161 return resultobj;
9162fail:
9163 {
9164 if (temp2)
9165 delete arg2;
9166 }
9167 return NULL;
9168}
9169
9170
9171SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj = 0;
9173 wxListBox *arg1 = (wxListBox *) 0 ;
9174 wxArrayString *arg2 = 0 ;
50f151d7 9175 unsigned int arg3 ;
0085ce49
RD
9176 void *argp1 = 0 ;
9177 int res1 = 0 ;
9178 bool temp2 = false ;
50f151d7 9179 unsigned int val3 ;
0085ce49
RD
9180 int ecode3 = 0 ;
9181 PyObject * obj0 = 0 ;
9182 PyObject * obj1 = 0 ;
9183 PyObject * obj2 = 0 ;
9184 char * kwnames[] = {
9185 (char *) "self",(char *) "items",(char *) "pos", NULL
9186 };
9187
9188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9190 if (!SWIG_IsOK(res1)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9192 }
9193 arg1 = reinterpret_cast< wxListBox * >(argp1);
9194 {
9195 if (! PySequence_Check(obj1)) {
9196 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9197 SWIG_fail;
9198 }
9199 arg2 = new wxArrayString;
9200 temp2 = true;
9201 int i, len=PySequence_Length(obj1);
9202 for (i=0; i<len; i++) {
9203 PyObject* item = PySequence_GetItem(obj1, i);
9204 wxString* s = wxString_in_helper(item);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 arg2->Add(*s);
9207 delete s;
9208 Py_DECREF(item);
22bfe96c 9209 }
0085ce49 9210 }
50f151d7 9211 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
0085ce49 9212 if (!SWIG_IsOK(ecode3)) {
50f151d7 9213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
0085ce49 9214 }
50f151d7 9215 arg3 = static_cast< unsigned int >(val3);
0085ce49
RD
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9219 wxPyEndAllowThreads(__tstate);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 }
9222 resultobj = SWIG_Py_Void();
9223 {
9224 if (temp2) delete arg2;
9225 }
9226 return resultobj;
9227fail:
9228 {
9229 if (temp2) delete arg2;
9230 }
9231 return NULL;
22bfe96c
RD
9232}
9233
9234
0085ce49
RD
9235SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj = 0;
9237 wxListBox *arg1 = (wxListBox *) 0 ;
9238 wxArrayString *arg2 = 0 ;
9239 void *argp1 = 0 ;
9240 int res1 = 0 ;
9241 bool temp2 = false ;
9242 PyObject * obj0 = 0 ;
9243 PyObject * obj1 = 0 ;
9244 char * kwnames[] = {
9245 (char *) "self",(char *) "items", NULL
9246 };
9247
9248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9250 if (!SWIG_IsOK(res1)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9252 }
9253 arg1 = reinterpret_cast< wxListBox * >(argp1);
9254 {
9255 if (! PySequence_Check(obj1)) {
9256 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9257 SWIG_fail;
9258 }
9259 arg2 = new wxArrayString;
9260 temp2 = true;
9261 int i, len=PySequence_Length(obj1);
9262 for (i=0; i<len; i++) {
9263 PyObject* item = PySequence_GetItem(obj1, i);
9264 wxString* s = wxString_in_helper(item);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 arg2->Add(*s);
9267 delete s;
9268 Py_DECREF(item);
d14a1e28 9269 }
0085ce49
RD
9270 }
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 (arg1)->Set((wxArrayString const &)*arg2);
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = SWIG_Py_Void();
9278 {
9279 if (temp2) delete arg2;
9280 }
9281 return resultobj;
9282fail:
9283 {
9284 if (temp2) delete arg2;
9285 }
9286 return NULL;
9287}
9288
9289
9290SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj = 0;
9292 wxListBox *arg1 = (wxListBox *) 0 ;
9293 int arg2 ;
9294 bool result;
9295 void *argp1 = 0 ;
9296 int res1 = 0 ;
9297 int val2 ;
9298 int ecode2 = 0 ;
9299 PyObject * obj0 = 0 ;
9300 PyObject * obj1 = 0 ;
9301 char * kwnames[] = {
9302 (char *) "self",(char *) "n", NULL
9303 };
9304
9305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9307 if (!SWIG_IsOK(res1)) {
9308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9309 }
9310 arg1 = reinterpret_cast< wxListBox * >(argp1);
9311 ecode2 = SWIG_AsVal_int(obj1, &val2);
9312 if (!SWIG_IsOK(ecode2)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9314 }
9315 arg2 = static_cast< int >(val2);
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 {
9323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9324 }
9325 return resultobj;
9326fail:
9327 return NULL;
9328}
9329
9330
9331SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9332 PyObject *resultobj = 0;
9333 wxListBox *arg1 = (wxListBox *) 0 ;
9334 int arg2 ;
9335 bool arg3 = (bool) true ;
9336 void *argp1 = 0 ;
9337 int res1 = 0 ;
9338 int val2 ;
9339 int ecode2 = 0 ;
9340 bool val3 ;
9341 int ecode3 = 0 ;
9342 PyObject * obj0 = 0 ;
9343 PyObject * obj1 = 0 ;
9344 PyObject * obj2 = 0 ;
9345 char * kwnames[] = {
9346 (char *) "self",(char *) "n",(char *) "select", NULL
9347 };
9348
9349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9351 if (!SWIG_IsOK(res1)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 }
9354 arg1 = reinterpret_cast< wxListBox * >(argp1);
9355 ecode2 = SWIG_AsVal_int(obj1, &val2);
9356 if (!SWIG_IsOK(ecode2)) {
9357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9358 }
9359 arg2 = static_cast< int >(val2);
9360 if (obj2) {
9361 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9362 if (!SWIG_IsOK(ecode3)) {
9363 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9364 }
9365 arg3 = static_cast< bool >(val3);
9366 }
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 (arg1)->SetSelection(arg2,arg3);
9370 wxPyEndAllowThreads(__tstate);
9371 if (PyErr_Occurred()) SWIG_fail;
9372 }
9373 resultobj = SWIG_Py_Void();
9374 return resultobj;
9375fail:
9376 return NULL;
9377}
9378
9379
9380SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj = 0;
9382 wxListBox *arg1 = (wxListBox *) 0 ;
9383 int arg2 ;
9384 void *argp1 = 0 ;
9385 int res1 = 0 ;
9386 int val2 ;
9387 int ecode2 = 0 ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 char * kwnames[] = {
9391 (char *) "self",(char *) "n", NULL
9392 };
9393
9394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9396 if (!SWIG_IsOK(res1)) {
9397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9398 }
9399 arg1 = reinterpret_cast< wxListBox * >(argp1);
9400 ecode2 = SWIG_AsVal_int(obj1, &val2);
9401 if (!SWIG_IsOK(ecode2)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9403 }
9404 arg2 = static_cast< int >(val2);
9405 {
9406 PyThreadState* __tstate = wxPyBeginAllowThreads();
9407 (arg1)->Select(arg2);
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 resultobj = SWIG_Py_Void();
9412 return resultobj;
9413fail:
9414 return NULL;
9415}
9416
9417
9418SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj = 0;
9420 wxListBox *arg1 = (wxListBox *) 0 ;
9421 int arg2 ;
9422 void *argp1 = 0 ;
9423 int res1 = 0 ;
9424 int val2 ;
9425 int ecode2 = 0 ;
9426 PyObject * obj0 = 0 ;
9427 PyObject * obj1 = 0 ;
9428 char * kwnames[] = {
9429 (char *) "self",(char *) "n", NULL
9430 };
9431
9432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9434 if (!SWIG_IsOK(res1)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9436 }
9437 arg1 = reinterpret_cast< wxListBox * >(argp1);
9438 ecode2 = SWIG_AsVal_int(obj1, &val2);
9439 if (!SWIG_IsOK(ecode2)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9441 }
9442 arg2 = static_cast< int >(val2);
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 (arg1)->Deselect(arg2);
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 resultobj = SWIG_Py_Void();
9450 return resultobj;
9451fail:
9452 return NULL;
9453}
9454
9455
9456SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9457 PyObject *resultobj = 0;
9458 wxListBox *arg1 = (wxListBox *) 0 ;
9459 int arg2 = (int) -1 ;
9460 void *argp1 = 0 ;
9461 int res1 = 0 ;
9462 int val2 ;
9463 int ecode2 = 0 ;
9464 PyObject * obj0 = 0 ;
9465 PyObject * obj1 = 0 ;
9466 char * kwnames[] = {
9467 (char *) "self",(char *) "itemToLeaveSelected", NULL
9468 };
9469
9470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9472 if (!SWIG_IsOK(res1)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9474 }
9475 arg1 = reinterpret_cast< wxListBox * >(argp1);
9476 if (obj1) {
9477 ecode2 = SWIG_AsVal_int(obj1, &val2);
9478 if (!SWIG_IsOK(ecode2)) {
9479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9480 }
9481 arg2 = static_cast< int >(val2);
9482 }
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 (arg1)->DeselectAll(arg2);
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 resultobj = SWIG_Py_Void();
9490 return resultobj;
9491fail:
9492 return NULL;
9493}
9494
9495
9496SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = 0;
9498 wxListBox *arg1 = (wxListBox *) 0 ;
9499 wxString *arg2 = 0 ;
9500 bool arg3 = (bool) true ;
9501 bool result;
9502 void *argp1 = 0 ;
9503 int res1 = 0 ;
9504 bool temp2 = false ;
9505 bool val3 ;
9506 int ecode3 = 0 ;
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
9509 PyObject * obj2 = 0 ;
9510 char * kwnames[] = {
9511 (char *) "self",(char *) "s",(char *) "select", NULL
9512 };
9513
9514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9516 if (!SWIG_IsOK(res1)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 }
9519 arg1 = reinterpret_cast< wxListBox * >(argp1);
9520 {
9521 arg2 = wxString_in_helper(obj1);
9522 if (arg2 == NULL) SWIG_fail;
9523 temp2 = true;
9524 }
9525 if (obj2) {
9526 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9527 if (!SWIG_IsOK(ecode3)) {
9528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9529 }
9530 arg3 = static_cast< bool >(val3);
9531 }
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 {
9539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9540 }
9541 {
9542 if (temp2)
9543 delete arg2;
9544 }
9545 return resultobj;
9546fail:
9547 {
9548 if (temp2)
9549 delete arg2;
9550 }
9551 return NULL;
d14a1e28
RD
9552}
9553
9554
0085ce49
RD
9555SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9556 PyObject *resultobj = 0;
9557 wxListBox *arg1 = (wxListBox *) 0 ;
9558 PyObject *result = 0 ;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 PyObject *swig_obj[1] ;
9562
9563 if (!args) SWIG_fail;
9564 swig_obj[0] = args;
9565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9566 if (!SWIG_IsOK(res1)) {
9567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9568 }
9569 arg1 = reinterpret_cast< wxListBox * >(argp1);
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (PyObject *)wxListBox_GetSelections(arg1);
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 resultobj = result;
9577 return resultobj;
9578fail:
9579 return NULL;
9580}
9581
9582
9583SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj = 0;
9585 wxListBox *arg1 = (wxListBox *) 0 ;
9586 int arg2 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 int val2 ;
9590 int ecode2 = 0 ;
9591 PyObject * obj0 = 0 ;
9592 PyObject * obj1 = 0 ;
9593 char * kwnames[] = {
9594 (char *) "self",(char *) "n", NULL
9595 };
9596
9597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9599 if (!SWIG_IsOK(res1)) {
9600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9601 }
9602 arg1 = reinterpret_cast< wxListBox * >(argp1);
9603 ecode2 = SWIG_AsVal_int(obj1, &val2);
9604 if (!SWIG_IsOK(ecode2)) {
9605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9606 }
9607 arg2 = static_cast< int >(val2);
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 (arg1)->SetFirstItem(arg2);
9611 wxPyEndAllowThreads(__tstate);
9612 if (PyErr_Occurred()) SWIG_fail;
9613 }
9614 resultobj = SWIG_Py_Void();
9615 return resultobj;
9616fail:
9617 return NULL;
9618}
9619
9620
9621SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9622 PyObject *resultobj = 0;
9623 wxListBox *arg1 = (wxListBox *) 0 ;
9624 wxString *arg2 = 0 ;
9625 void *argp1 = 0 ;
9626 int res1 = 0 ;
9627 bool temp2 = false ;
9628 PyObject * obj0 = 0 ;
9629 PyObject * obj1 = 0 ;
9630 char * kwnames[] = {
9631 (char *) "self",(char *) "s", NULL
9632 };
9633
9634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9636 if (!SWIG_IsOK(res1)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 }
9639 arg1 = reinterpret_cast< wxListBox * >(argp1);
9640 {
9641 arg2 = wxString_in_helper(obj1);
9642 if (arg2 == NULL) SWIG_fail;
9643 temp2 = true;
9644 }
9645 {
9646 PyThreadState* __tstate = wxPyBeginAllowThreads();
9647 (arg1)->SetFirstItem((wxString const &)*arg2);
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 resultobj = SWIG_Py_Void();
9652 {
9653 if (temp2)
9654 delete arg2;
9655 }
9656 return resultobj;
9657fail:
9658 {
9659 if (temp2)
9660 delete arg2;
9661 }
9662 return NULL;
9663}
9664
9665
9666SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj = 0;
9668 wxListBox *arg1 = (wxListBox *) 0 ;
9669 int arg2 ;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 int val2 ;
9673 int ecode2 = 0 ;
9674 PyObject * obj0 = 0 ;
9675 PyObject * obj1 = 0 ;
9676 char * kwnames[] = {
9677 (char *) "self",(char *) "n", NULL
9678 };
9679
9680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9682 if (!SWIG_IsOK(res1)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9684 }
9685 arg1 = reinterpret_cast< wxListBox * >(argp1);
9686 ecode2 = SWIG_AsVal_int(obj1, &val2);
9687 if (!SWIG_IsOK(ecode2)) {
9688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9689 }
9690 arg2 = static_cast< int >(val2);
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 (arg1)->EnsureVisible(arg2);
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 resultobj = SWIG_Py_Void();
9698 return resultobj;
9699fail:
9700 return NULL;
9701}
9702
9703
9704SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9705 PyObject *resultobj = 0;
9706 wxListBox *arg1 = (wxListBox *) 0 ;
9707 wxString *arg2 = 0 ;
9708 void *argp1 = 0 ;
9709 int res1 = 0 ;
9710 bool temp2 = false ;
9711 PyObject * obj0 = 0 ;
9712 PyObject * obj1 = 0 ;
9713 char * kwnames[] = {
9714 (char *) "self",(char *) "s", NULL
9715 };
9716
9717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9719 if (!SWIG_IsOK(res1)) {
9720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9721 }
9722 arg1 = reinterpret_cast< wxListBox * >(argp1);
9723 {
9724 arg2 = wxString_in_helper(obj1);
9725 if (arg2 == NULL) SWIG_fail;
9726 temp2 = true;
9727 }
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_Py_Void();
9735 {
9736 if (temp2)
9737 delete arg2;
9738 }
9739 return resultobj;
9740fail:
9741 {
9742 if (temp2)
9743 delete arg2;
9744 }
9745 return NULL;
d14a1e28
RD
9746}
9747
9748
0085ce49
RD
9749SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9750 PyObject *resultobj = 0;
9751 wxListBox *arg1 = (wxListBox *) 0 ;
9752 bool result;
9753 void *argp1 = 0 ;
9754 int res1 = 0 ;
9755 PyObject *swig_obj[1] ;
9756
9757 if (!args) SWIG_fail;
9758 swig_obj[0] = args;
9759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9760 if (!SWIG_IsOK(res1)) {
9761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9762 }
9763 arg1 = reinterpret_cast< wxListBox * >(argp1);
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (bool)((wxListBox const *)arg1)->IsSorted();
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 {
9771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9772 }
9773 return resultobj;
9774fail:
9775 return NULL;
9776}
9777
9778
9779SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj = 0;
9781 wxListBox *arg1 = (wxListBox *) 0 ;
9782 wxPoint *arg2 = 0 ;
9783 int result;
9784 void *argp1 = 0 ;
9785 int res1 = 0 ;
9786 wxPoint temp2 ;
9787 PyObject * obj0 = 0 ;
9788 PyObject * obj1 = 0 ;
9789 char * kwnames[] = {
9790 (char *) "self",(char *) "pt", NULL
9791 };
9792
9793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9795 if (!SWIG_IsOK(res1)) {
9796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9797 }
9798 arg1 = reinterpret_cast< wxListBox * >(argp1);
9799 {
9800 arg2 = &temp2;
9801 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9802 }
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 resultobj = SWIG_From_int(static_cast< int >(result));
9810 return resultobj;
9811fail:
9812 return NULL;
9813}
9814
9815
9816SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9817 PyObject *resultobj = 0;
9818 wxListBox *arg1 = (wxListBox *) 0 ;
9819 int arg2 ;
9820 wxColour *arg3 = 0 ;
9821 void *argp1 = 0 ;
9822 int res1 = 0 ;
9823 int val2 ;
9824 int ecode2 = 0 ;
9825 wxColour temp3 ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 char * kwnames[] = {
9830 (char *) "self",(char *) "item",(char *) "c", NULL
9831 };
9832
9833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9835 if (!SWIG_IsOK(res1)) {
9836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9837 }
9838 arg1 = reinterpret_cast< wxListBox * >(argp1);
9839 ecode2 = SWIG_AsVal_int(obj1, &val2);
9840 if (!SWIG_IsOK(ecode2)) {
9841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9842 }
9843 arg2 = static_cast< int >(val2);
9844 {
9845 arg3 = &temp3;
9846 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_Py_Void();
9855 return resultobj;
9856fail:
9857 return NULL;
9858}
9859
9860
9861SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxListBox *arg1 = (wxListBox *) 0 ;
9864 int arg2 ;
9865 wxColour *arg3 = 0 ;
9866 void *argp1 = 0 ;
9867 int res1 = 0 ;
9868 int val2 ;
9869 int ecode2 = 0 ;
9870 wxColour temp3 ;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 PyObject * obj2 = 0 ;
9874 char * kwnames[] = {
9875 (char *) "self",(char *) "item",(char *) "c", NULL
9876 };
9877
9878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9880 if (!SWIG_IsOK(res1)) {
9881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9882 }
9883 arg1 = reinterpret_cast< wxListBox * >(argp1);
9884 ecode2 = SWIG_AsVal_int(obj1, &val2);
9885 if (!SWIG_IsOK(ecode2)) {
9886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9887 }
9888 arg2 = static_cast< int >(val2);
9889 {
9890 arg3 = &temp3;
9891 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9892 }
9893 {
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 resultobj = SWIG_Py_Void();
9900 return resultobj;
9901fail:
9902 return NULL;
9903}
9904
9905
9906SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj = 0;
9908 wxListBox *arg1 = (wxListBox *) 0 ;
9909 int arg2 ;
9910 wxFont *arg3 = 0 ;
9911 void *argp1 = 0 ;
9912 int res1 = 0 ;
9913 int val2 ;
9914 int ecode2 = 0 ;
9915 void *argp3 = 0 ;
9916 int res3 = 0 ;
9917 PyObject * obj0 = 0 ;
9918 PyObject * obj1 = 0 ;
9919 PyObject * obj2 = 0 ;
9920 char * kwnames[] = {
9921 (char *) "self",(char *) "item",(char *) "f", NULL
9922 };
9923
9924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9926 if (!SWIG_IsOK(res1)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9928 }
9929 arg1 = reinterpret_cast< wxListBox * >(argp1);
9930 ecode2 = SWIG_AsVal_int(obj1, &val2);
9931 if (!SWIG_IsOK(ecode2)) {
9932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9933 }
9934 arg2 = static_cast< int >(val2);
9935 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9936 if (!SWIG_IsOK(res3)) {
9937 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9938 }
9939 if (!argp3) {
9940 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 }
9942 arg3 = reinterpret_cast< wxFont * >(argp3);
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 resultobj = SWIG_Py_Void();
9950 return resultobj;
9951fail:
9952 return NULL;
9953}
9954
9955
9956SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj = 0;
9958 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9959 SwigValueWrapper<wxVisualAttributes > result;
9960 int val1 ;
9961 int ecode1 = 0 ;
9962 PyObject * obj0 = 0 ;
9963 char * kwnames[] = {
9964 (char *) "variant", NULL
9965 };
9966
9967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9968 if (obj0) {
9969 ecode1 = SWIG_AsVal_int(obj0, &val1);
9970 if (!SWIG_IsOK(ecode1)) {
9971 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9972 }
9973 arg1 = static_cast< wxWindowVariant >(val1);
9974 }
9975 {
9976 if (!wxPyCheckForApp()) SWIG_fail;
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = wxListBox::GetClassDefaultAttributes(arg1);
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9983 return resultobj;
9984fail:
9985 return NULL;
9986}
9987
9988
9989SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9990 PyObject *obj;
9991 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9992 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9993 return SWIG_Py_Void();
9994}
9995
9996SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9997 return SWIG_Python_InitShadowInstance(args);
9998}
9999
10000SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj = 0;
10002 wxWindow *arg1 = (wxWindow *) 0 ;
10003 int arg2 = (int) -1 ;
10004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10006 wxSize const &arg4_defvalue = wxDefaultSize ;
10007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10008 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
10009 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
10010 long arg6 = (long) 0 ;
10011 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10012 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10013 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
10014 wxString *arg8 = (wxString *) &arg8_defvalue ;
10015 wxCheckListBox *result = 0 ;
10016 void *argp1 = 0 ;
10017 int res1 = 0 ;
10018 int val2 ;
10019 int ecode2 = 0 ;
10020 wxPoint temp3 ;
10021 wxSize temp4 ;
10022 bool temp5 = false ;
10023 long val6 ;
10024 int ecode6 = 0 ;
10025 void *argp7 = 0 ;
10026 int res7 = 0 ;
10027 bool temp8 = false ;
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 PyObject * obj2 = 0 ;
10031 PyObject * obj3 = 0 ;
10032 PyObject * obj4 = 0 ;
10033 PyObject * obj5 = 0 ;
10034 PyObject * obj6 = 0 ;
10035 PyObject * obj7 = 0 ;
10036 char * kwnames[] = {
10037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10038 };
10039
10040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10042 if (!SWIG_IsOK(res1)) {
10043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10044 }
10045 arg1 = reinterpret_cast< wxWindow * >(argp1);
10046 if (obj1) {
10047 ecode2 = SWIG_AsVal_int(obj1, &val2);
10048 if (!SWIG_IsOK(ecode2)) {
10049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10050 }
10051 arg2 = static_cast< int >(val2);
10052 }
10053 if (obj2) {
d14a1e28 10054 {
0085ce49
RD
10055 arg3 = &temp3;
10056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 10057 }
0085ce49
RD
10058 }
10059 if (obj3) {
d14a1e28 10060 {
0085ce49
RD
10061 arg4 = &temp4;
10062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10063 }
0085ce49
RD
10064 }
10065 if (obj4) {
d14a1e28 10066 {
0085ce49
RD
10067 if (! PySequence_Check(obj4)) {
10068 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10069 SWIG_fail;
10070 }
10071 arg5 = new wxArrayString;
10072 temp5 = true;
10073 int i, len=PySequence_Length(obj4);
10074 for (i=0; i<len; i++) {
10075 PyObject* item = PySequence_GetItem(obj4, i);
10076 wxString* s = wxString_in_helper(item);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 arg5->Add(*s);
10079 delete s;
10080 Py_DECREF(item);
10081 }
d14a1e28 10082 }
0085ce49
RD
10083 }
10084 if (obj5) {
10085 ecode6 = SWIG_AsVal_long(obj5, &val6);
10086 if (!SWIG_IsOK(ecode6)) {
10087 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10088 }
10089 arg6 = static_cast< long >(val6);
10090 }
10091 if (obj6) {
10092 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10093 if (!SWIG_IsOK(res7)) {
10094 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 10095 }
0085ce49
RD
10096 if (!argp7) {
10097 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 10098 }
0085ce49
RD
10099 arg7 = reinterpret_cast< wxValidator * >(argp7);
10100 }
10101 if (obj7) {
093d3ff1 10102 {
0085ce49
RD
10103 arg8 = wxString_in_helper(obj7);
10104 if (arg8 == NULL) SWIG_fail;
10105 temp8 = true;
093d3ff1 10106 }
0085ce49
RD
10107 }
10108 {
10109 if (!wxPyCheckForApp()) SWIG_fail;
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10116 {
10117 if (temp5) delete arg5;
10118 }
10119 {
10120 if (temp8)
10121 delete arg8;
10122 }
10123 return resultobj;
10124fail:
10125 {
10126 if (temp5) delete arg5;
10127 }
10128 {
10129 if (temp8)
10130 delete arg8;
10131 }
10132 return NULL;
d14a1e28
RD
10133}
10134
10135
0085ce49
RD
10136SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10137 PyObject *resultobj = 0;
10138 wxCheckListBox *result = 0 ;
10139
10140 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10141 {
10142 if (!wxPyCheckForApp()) SWIG_fail;
10143 PyThreadState* __tstate = wxPyBeginAllowThreads();
10144 result = (wxCheckListBox *)new wxCheckListBox();
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10149 return resultobj;
10150fail:
10151 return NULL;
10152}
10153
10154
10155SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj = 0;
10157 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10158 wxWindow *arg2 = (wxWindow *) 0 ;
10159 int arg3 = (int) -1 ;
10160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10162 wxSize const &arg5_defvalue = wxDefaultSize ;
10163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10164 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10165 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10166 long arg7 = (long) 0 ;
10167 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10168 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10169 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10170 wxString *arg9 = (wxString *) &arg9_defvalue ;
10171 bool result;
10172 void *argp1 = 0 ;
10173 int res1 = 0 ;
10174 void *argp2 = 0 ;
10175 int res2 = 0 ;
10176 int val3 ;
10177 int ecode3 = 0 ;
10178 wxPoint temp4 ;
10179 wxSize temp5 ;
10180 bool temp6 = false ;
10181 long val7 ;
10182 int ecode7 = 0 ;
10183 void *argp8 = 0 ;
10184 int res8 = 0 ;
10185 bool temp9 = false ;
10186 PyObject * obj0 = 0 ;
10187 PyObject * obj1 = 0 ;
10188 PyObject * obj2 = 0 ;
10189 PyObject * obj3 = 0 ;
10190 PyObject * obj4 = 0 ;
10191 PyObject * obj5 = 0 ;
10192 PyObject * obj6 = 0 ;
10193 PyObject * obj7 = 0 ;
10194 PyObject * obj8 = 0 ;
10195 char * kwnames[] = {
10196 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10197 };
10198
10199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10201 if (!SWIG_IsOK(res1)) {
10202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10203 }
10204 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10205 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10206 if (!SWIG_IsOK(res2)) {
10207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10208 }
10209 arg2 = reinterpret_cast< wxWindow * >(argp2);
10210 if (obj2) {
10211 ecode3 = SWIG_AsVal_int(obj2, &val3);
10212 if (!SWIG_IsOK(ecode3)) {
10213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10214 }
10215 arg3 = static_cast< int >(val3);
10216 }
10217 if (obj3) {
22bfe96c 10218 {
0085ce49
RD
10219 arg4 = &temp4;
10220 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10221 }
0085ce49
RD
10222 }
10223 if (obj4) {
d14a1e28 10224 {
0085ce49
RD
10225 arg5 = &temp5;
10226 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 10227 }
0085ce49
RD
10228 }
10229 if (obj5) {
d14a1e28 10230 {
0085ce49
RD
10231 if (! PySequence_Check(obj5)) {
10232 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10233 SWIG_fail;
10234 }
10235 arg6 = new wxArrayString;
10236 temp6 = true;
10237 int i, len=PySequence_Length(obj5);
10238 for (i=0; i<len; i++) {
10239 PyObject* item = PySequence_GetItem(obj5, i);
10240 wxString* s = wxString_in_helper(item);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 arg6->Add(*s);
10243 delete s;
10244 Py_DECREF(item);
10245 }
d14a1e28 10246 }
0085ce49
RD
10247 }
10248 if (obj6) {
10249 ecode7 = SWIG_AsVal_long(obj6, &val7);
10250 if (!SWIG_IsOK(ecode7)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10252 }
10253 arg7 = static_cast< long >(val7);
10254 }
10255 if (obj7) {
10256 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10257 if (!SWIG_IsOK(res8)) {
10258 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 10259 }
0085ce49
RD
10260 if (!argp8) {
10261 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 10262 }
0085ce49
RD
10263 arg8 = reinterpret_cast< wxValidator * >(argp8);
10264 }
10265 if (obj8) {
d14a1e28 10266 {
0085ce49
RD
10267 arg9 = wxString_in_helper(obj8);
10268 if (arg9 == NULL) SWIG_fail;
10269 temp9 = true;
d14a1e28 10270 }
0085ce49
RD
10271 }
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 {
10279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10280 }
10281 {
10282 if (temp6) delete arg6;
10283 }
10284 {
10285 if (temp9)
10286 delete arg9;
10287 }
10288 return resultobj;
10289fail:
10290 {
10291 if (temp6) delete arg6;
10292 }
10293 {
10294 if (temp9)
10295 delete arg9;
10296 }
10297 return NULL;
10298}
10299
10300
10301SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10302 PyObject *resultobj = 0;
10303 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10304 unsigned int arg2 ;
0085ce49
RD
10305 bool result;
10306 void *argp1 = 0 ;
10307 int res1 = 0 ;
50f151d7 10308 unsigned int val2 ;
0085ce49
RD
10309 int ecode2 = 0 ;
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char * kwnames[] = {
10313 (char *) "self",(char *) "index", NULL
10314 };
10315
10316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10320 }
10321 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10322 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 10323 if (!SWIG_IsOK(ecode2)) {
50f151d7 10324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 10325 }
50f151d7 10326 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
10327 {
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = (bool)(arg1)->IsChecked(arg2);
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 {
10334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10335 }
10336 return resultobj;
10337fail:
10338 return NULL;
10339}
10340
10341
10342SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj = 0;
10344 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10345 unsigned int arg2 ;
0085ce49
RD
10346 int arg3 = (int) true ;
10347 void *argp1 = 0 ;
10348 int res1 = 0 ;
50f151d7 10349 unsigned int val2 ;
0085ce49
RD
10350 int ecode2 = 0 ;
10351 int val3 ;
10352 int ecode3 = 0 ;
10353 PyObject * obj0 = 0 ;
10354 PyObject * obj1 = 0 ;
10355 PyObject * obj2 = 0 ;
10356 char * kwnames[] = {
10357 (char *) "self",(char *) "index",(char *) "check", NULL
10358 };
10359
10360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10362 if (!SWIG_IsOK(res1)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10364 }
10365 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10366 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 10367 if (!SWIG_IsOK(ecode2)) {
50f151d7 10368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 10369 }
50f151d7 10370 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
10371 if (obj2) {
10372 ecode3 = SWIG_AsVal_int(obj2, &val3);
10373 if (!SWIG_IsOK(ecode3)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10375 }
10376 arg3 = static_cast< int >(val3);
10377 }
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->Check(arg2,arg3);
10381 wxPyEndAllowThreads(__tstate);
10382 if (PyErr_Occurred()) SWIG_fail;
10383 }
10384 resultobj = SWIG_Py_Void();
10385 return resultobj;
10386fail:
10387 return NULL;
d14a1e28
RD
10388}
10389
10390
0085ce49
RD
10391SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10392 PyObject *resultobj = 0;
10393 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10394 int result;
10395 void *argp1 = 0 ;
10396 int res1 = 0 ;
10397 PyObject *swig_obj[1] ;
10398
10399 if (!args) SWIG_fail;
10400 swig_obj[0] = args;
10401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10402 if (!SWIG_IsOK(res1)) {
10403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10404 }
10405 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (int)(arg1)->GetItemHeight();
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_From_int(static_cast< int >(result));
10413 return resultobj;
10414fail:
10415 return NULL;
d14a1e28
RD
10416}
10417
10418
0085ce49
RD
10419SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10420 PyObject *obj;
10421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10422 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10423 return SWIG_Py_Void();
d14a1e28
RD
10424}
10425
0085ce49
RD
10426SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10427 return SWIG_Python_InitShadowInstance(args);
943e8dfd
RD
10428}
10429
0085ce49
RD
10430SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10431 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10432 return 1;
22bfe96c
RD
10433}
10434
10435
0085ce49
RD
10436SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10437 PyObject *pyobj = 0;
10438
10439 {
10440#if wxUSE_UNICODE
10441 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10442#else
10443 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10444#endif
10445 }
10446 return pyobj;
10447}
10448
10449
10450SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj = 0;
10452 wxColour const &arg1_defvalue = wxNullColour ;
10453 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10454 wxColour const &arg2_defvalue = wxNullColour ;
10455 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10456 wxFont const &arg3_defvalue = wxNullFont ;
10457 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10458 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10459 wxTextAttr *result = 0 ;
10460 wxColour temp1 ;
10461 wxColour temp2 ;
10462 void *argp3 = 0 ;
10463 int res3 = 0 ;
10464 int val4 ;
10465 int ecode4 = 0 ;
10466 PyObject * obj0 = 0 ;
10467 PyObject * obj1 = 0 ;
10468 PyObject * obj2 = 0 ;
10469 PyObject * obj3 = 0 ;
10470 char * kwnames[] = {
10471 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10472 };
10473
10474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10475 if (obj0) {
d14a1e28 10476 {
0085ce49
RD
10477 arg1 = &temp1;
10478 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d14a1e28 10479 }
0085ce49
RD
10480 }
10481 if (obj1) {
d14a1e28 10482 {
0085ce49
RD
10483 arg2 = &temp2;
10484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 10485 }
0085ce49
RD
10486 }
10487 if (obj2) {
10488 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10489 if (!SWIG_IsOK(res3)) {
10490 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 10491 }
0085ce49
RD
10492 if (!argp3) {
10493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10494 }
10495 arg3 = reinterpret_cast< wxFont * >(argp3);
10496 }
10497 if (obj3) {
10498 ecode4 = SWIG_AsVal_int(obj3, &val4);
10499 if (!SWIG_IsOK(ecode4)) {
10500 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10501 }
10502 arg4 = static_cast< wxTextAttrAlignment >(val4);
10503 }
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
10510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10511 return resultobj;
10512fail:
10513 return NULL;
d14a1e28
RD
10514}
10515
10516
0085ce49
RD
10517SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10518 PyObject *resultobj = 0;
10519 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 PyObject *swig_obj[1] ;
10523
10524 if (!args) SWIG_fail;
10525 swig_obj[0] = args;
10526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10529 }
10530 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 delete arg1;
d14a1e28 10534
0085ce49
RD
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = SWIG_Py_Void();
10539 return resultobj;
10540fail:
10541 return NULL;
d14a1e28
RD
10542}
10543
10544
0085ce49
RD
10545SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10548 void *argp1 = 0 ;
10549 int res1 = 0 ;
10550 PyObject *swig_obj[1] ;
10551
10552 if (!args) SWIG_fail;
10553 swig_obj[0] = args;
10554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10557 }
10558 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10559 {
10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
10561 (arg1)->Init();
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_Py_Void();
10566 return resultobj;
10567fail:
10568 return NULL;
10569}
10570
10571
01f6b6d3
RD
10572SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj = 0;
10574 wxTextAttr *arg1 = 0 ;
10575 wxTextAttr *arg2 = 0 ;
10576 wxTextAttr result;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 void *argp2 = 0 ;
10580 int res2 = 0 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char * kwnames[] = {
10584 (char *) "base",(char *) "overlay", NULL
10585 };
10586
10587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10588 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10589 if (!SWIG_IsOK(res1)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10591 }
10592 if (!argp1) {
10593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10594 }
10595 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10596 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10597 if (!SWIG_IsOK(res2)) {
10598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10599 }
10600 if (!argp2) {
10601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10602 }
10603 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10611 return resultobj;
10612fail:
10613 return NULL;
10614}
10615
10616
0085ce49
RD
10617SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = 0;
10619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10620 wxColour *arg2 = 0 ;
10621 void *argp1 = 0 ;
10622 int res1 = 0 ;
10623 wxColour temp2 ;
10624 PyObject * obj0 = 0 ;
10625 PyObject * obj1 = 0 ;
10626 char * kwnames[] = {
10627 (char *) "self",(char *) "colText", NULL
10628 };
10629
10630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10632 if (!SWIG_IsOK(res1)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10634 }
10635 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10636 {
10637 arg2 = &temp2;
10638 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10639 }
10640 {
10641 PyThreadState* __tstate = wxPyBeginAllowThreads();
10642 (arg1)->SetTextColour((wxColour const &)*arg2);
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 resultobj = SWIG_Py_Void();
10647 return resultobj;
10648fail:
10649 return NULL;
10650}
10651
10652
10653SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj = 0;
10655 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10656 wxColour *arg2 = 0 ;
10657 void *argp1 = 0 ;
10658 int res1 = 0 ;
10659 wxColour temp2 ;
10660 PyObject * obj0 = 0 ;
10661 PyObject * obj1 = 0 ;
10662 char * kwnames[] = {
10663 (char *) "self",(char *) "colBack", NULL
10664 };
10665
10666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10668 if (!SWIG_IsOK(res1)) {
10669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10670 }
10671 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10672 {
10673 arg2 = &temp2;
10674 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10675 }
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 resultobj = SWIG_Py_Void();
10683 return resultobj;
10684fail:
10685 return NULL;
10686}
10687
10688
10689SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj = 0;
10691 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10692 wxFont *arg2 = 0 ;
10693 long arg3 = (long) wxTEXT_ATTR_FONT ;
10694 void *argp1 = 0 ;
10695 int res1 = 0 ;
10696 void *argp2 = 0 ;
10697 int res2 = 0 ;
10698 long val3 ;
10699 int ecode3 = 0 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 PyObject * obj2 = 0 ;
10703 char * kwnames[] = {
10704 (char *) "self",(char *) "font",(char *) "flags", NULL
10705 };
10706
10707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10709 if (!SWIG_IsOK(res1)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10711 }
10712 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10714 if (!SWIG_IsOK(res2)) {
10715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10716 }
10717 if (!argp2) {
10718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10719 }
10720 arg2 = reinterpret_cast< wxFont * >(argp2);
10721 if (obj2) {
10722 ecode3 = SWIG_AsVal_long(obj2, &val3);
10723 if (!SWIG_IsOK(ecode3)) {
10724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10725 }
10726 arg3 = static_cast< long >(val3);
10727 }
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 resultobj = SWIG_Py_Void();
10735 return resultobj;
10736fail:
10737 return NULL;
10738}
10739
10740
10741SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj = 0;
10743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10744 wxTextAttrAlignment arg2 ;
10745 void *argp1 = 0 ;
10746 int res1 = 0 ;
10747 int val2 ;
10748 int ecode2 = 0 ;
10749 PyObject * obj0 = 0 ;
10750 PyObject * obj1 = 0 ;
10751 char * kwnames[] = {
10752 (char *) "self",(char *) "alignment", NULL
10753 };
10754
10755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10757 if (!SWIG_IsOK(res1)) {
10758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10759 }
10760 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10761 ecode2 = SWIG_AsVal_int(obj1, &val2);
10762 if (!SWIG_IsOK(ecode2)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10764 }
10765 arg2 = static_cast< wxTextAttrAlignment >(val2);
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 (arg1)->SetAlignment(arg2);
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 resultobj = SWIG_Py_Void();
10773 return resultobj;
10774fail:
10775 return NULL;
10776}
10777
10778
10779SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj = 0;
10781 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10782 wxArrayInt *arg2 = 0 ;
10783 void *argp1 = 0 ;
10784 int res1 = 0 ;
10785 bool temp2 = false ;
10786 PyObject * obj0 = 0 ;
10787 PyObject * obj1 = 0 ;
10788 char * kwnames[] = {
10789 (char *) "self",(char *) "tabs", NULL
10790 };
10791
10792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10794 if (!SWIG_IsOK(res1)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10796 }
10797 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10798 {
10799 if (! PySequence_Check(obj1)) {
10800 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10801 SWIG_fail;
10802 }
10803 arg2 = new wxArrayInt;
10804 temp2 = true;
10805 int i, len=PySequence_Length(obj1);
10806 for (i=0; i<len; i++) {
10807 PyObject* item = PySequence_GetItem(obj1, i);
10808 PyObject* number = PyNumber_Int(item);
10809 arg2->Add(PyInt_AS_LONG(number));
10810 Py_DECREF(item);
10811 Py_DECREF(number);
d14a1e28 10812 }
0085ce49
RD
10813 }
10814 {
10815 PyThreadState* __tstate = wxPyBeginAllowThreads();
10816 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 resultobj = SWIG_Py_Void();
10821 {
10822 if (temp2) delete arg2;
10823 }
10824 return resultobj;
10825fail:
10826 {
10827 if (temp2) delete arg2;
10828 }
10829 return NULL;
10830}
10831
10832
10833SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj = 0;
10835 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10836 int arg2 ;
10837 int arg3 = (int) 0 ;
10838 void *argp1 = 0 ;
10839 int res1 = 0 ;
10840 int val2 ;
10841 int ecode2 = 0 ;
10842 int val3 ;
10843 int ecode3 = 0 ;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 PyObject * obj2 = 0 ;
10847 char * kwnames[] = {
10848 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10849 };
10850
10851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10853 if (!SWIG_IsOK(res1)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10855 }
10856 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10857 ecode2 = SWIG_AsVal_int(obj1, &val2);
10858 if (!SWIG_IsOK(ecode2)) {
10859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10860 }
10861 arg2 = static_cast< int >(val2);
10862 if (obj2) {
10863 ecode3 = SWIG_AsVal_int(obj2, &val3);
10864 if (!SWIG_IsOK(ecode3)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10866 }
10867 arg3 = static_cast< int >(val3);
10868 }
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 (arg1)->SetLeftIndent(arg2,arg3);
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = SWIG_Py_Void();
10876 return resultobj;
10877fail:
10878 return NULL;
10879}
10880
10881
10882SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj = 0;
10884 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10885 int arg2 ;
10886 void *argp1 = 0 ;
10887 int res1 = 0 ;
10888 int val2 ;
10889 int ecode2 = 0 ;
10890 PyObject * obj0 = 0 ;
10891 PyObject * obj1 = 0 ;
10892 char * kwnames[] = {
10893 (char *) "self",(char *) "indent", NULL
10894 };
10895
10896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10898 if (!SWIG_IsOK(res1)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10900 }
10901 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10902 ecode2 = SWIG_AsVal_int(obj1, &val2);
10903 if (!SWIG_IsOK(ecode2)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10905 }
10906 arg2 = static_cast< int >(val2);
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->SetRightIndent(arg2);
10910 wxPyEndAllowThreads(__tstate);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 resultobj = SWIG_Py_Void();
10914 return resultobj;
10915fail:
10916 return NULL;
10917}
10918
10919
10920SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10921 PyObject *resultobj = 0;
10922 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10923 long arg2 ;
10924 void *argp1 = 0 ;
10925 int res1 = 0 ;
10926 long val2 ;
10927 int ecode2 = 0 ;
10928 PyObject * obj0 = 0 ;
10929 PyObject * obj1 = 0 ;
10930 char * kwnames[] = {
10931 (char *) "self",(char *) "flags", NULL
10932 };
10933
10934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10936 if (!SWIG_IsOK(res1)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10938 }
10939 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10940 ecode2 = SWIG_AsVal_long(obj1, &val2);
10941 if (!SWIG_IsOK(ecode2)) {
10942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10943 }
10944 arg2 = static_cast< long >(val2);
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 (arg1)->SetFlags(arg2);
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 resultobj = SWIG_Py_Void();
10952 return resultobj;
10953fail:
10954 return NULL;
d14a1e28
RD
10955}
10956
10957
0085ce49
RD
10958SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10959 PyObject *resultobj = 0;
10960 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10961 bool result;
10962 void *argp1 = 0 ;
10963 int res1 = 0 ;
10964 PyObject *swig_obj[1] ;
10965
10966 if (!args) SWIG_fail;
10967 swig_obj[0] = args;
10968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10969 if (!SWIG_IsOK(res1)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10971 }
10972 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 {
10980 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10981 }
10982 return resultobj;
10983fail:
10984 return NULL;
d14a1e28
RD
10985}
10986
10987
0085ce49
RD
10988SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10989 PyObject *resultobj = 0;
10990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10991 bool result;
10992 void *argp1 = 0 ;
10993 int res1 = 0 ;
10994 PyObject *swig_obj[1] ;
10995
10996 if (!args) SWIG_fail;
10997 swig_obj[0] = args;
10998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10999 if (!SWIG_IsOK(res1)) {
11000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11001 }
11002 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 {
11010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11011 }
11012 return resultobj;
11013fail:
11014 return NULL;
d14a1e28
RD
11015}
11016
11017
0085ce49
RD
11018SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11019 PyObject *resultobj = 0;
11020 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11021 bool result;
11022 void *argp1 = 0 ;
11023 int res1 = 0 ;
11024 PyObject *swig_obj[1] ;
11025
11026 if (!args) SWIG_fail;
11027 swig_obj[0] = args;
11028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11029 if (!SWIG_IsOK(res1)) {
11030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11031 }
11032 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 result = (bool)((wxTextAttr const *)arg1)->HasFont();
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;
11043fail:
11044 return NULL;
d14a1e28
RD
11045}
11046
11047
0085ce49
RD
11048SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11049 PyObject *resultobj = 0;
11050 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11051 bool result;
11052 void *argp1 = 0 ;
11053 int res1 = 0 ;
11054 PyObject *swig_obj[1] ;
11055
11056 if (!args) SWIG_fail;
11057 swig_obj[0] = args;
11058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11059 if (!SWIG_IsOK(res1)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11061 }
11062 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 {
11070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11071 }
11072 return resultobj;
11073fail:
11074 return NULL;
22bfe96c
RD
11075}
11076
11077
0085ce49
RD
11078SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11079 PyObject *resultobj = 0;
11080 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11081 bool result;
11082 void *argp1 = 0 ;
11083 int res1 = 0 ;
11084 PyObject *swig_obj[1] ;
11085
11086 if (!args) SWIG_fail;
11087 swig_obj[0] = args;
11088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11089 if (!SWIG_IsOK(res1)) {
11090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11091 }
11092 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 {
11100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11101 }
11102 return resultobj;
11103fail:
11104 return NULL;
b2dc1044
RD
11105}
11106
11107
0085ce49
RD
11108SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11109 PyObject *resultobj = 0;
11110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11111 bool result;
11112 void *argp1 = 0 ;
11113 int res1 = 0 ;
11114 PyObject *swig_obj[1] ;
11115
11116 if (!args) SWIG_fail;
11117 swig_obj[0] = args;
11118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11119 if (!SWIG_IsOK(res1)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11121 }
11122 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11131 }
11132 return resultobj;
11133fail:
11134 return NULL;
d14a1e28
RD
11135}
11136
11137
0085ce49
RD
11138SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11139 PyObject *resultobj = 0;
11140 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11141 bool result;
11142 void *argp1 = 0 ;
11143 int res1 = 0 ;
11144 PyObject *swig_obj[1] ;
11145
11146 if (!args) SWIG_fail;
11147 swig_obj[0] = args;
11148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11149 if (!SWIG_IsOK(res1)) {
11150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11151 }
11152 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11153 {
11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
11155 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11156 wxPyEndAllowThreads(__tstate);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 {
11160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11161 }
11162 return resultobj;
11163fail:
11164 return NULL;
11165}
11166
11167
11168SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj = 0;
11170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11171 long arg2 ;
11172 bool result;
11173 void *argp1 = 0 ;
11174 int res1 = 0 ;
11175 long val2 ;
11176 int ecode2 = 0 ;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char * kwnames[] = {
11180 (char *) "self",(char *) "flag", NULL
11181 };
11182
11183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11185 if (!SWIG_IsOK(res1)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11187 }
11188 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11189 ecode2 = SWIG_AsVal_long(obj1, &val2);
11190 if (!SWIG_IsOK(ecode2)) {
11191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11192 }
11193 arg2 = static_cast< long >(val2);
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 {
11201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11202 }
11203 return resultobj;
11204fail:
11205 return NULL;
d14a1e28
RD
11206}
11207
11208
0085ce49
RD
11209SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11210 PyObject *resultobj = 0;
11211 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11212 wxColour *result = 0 ;
11213 void *argp1 = 0 ;
11214 int res1 = 0 ;
11215 PyObject *swig_obj[1] ;
11216
11217 if (!args) SWIG_fail;
11218 swig_obj[0] = args;
11219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11220 if (!SWIG_IsOK(res1)) {
11221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11222 }
11223 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11226 {
0085ce49
RD
11227 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11228 result = (wxColour *) &_result_ref;
d14a1e28 11229 }
0085ce49
RD
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11234 return resultobj;
11235fail:
11236 return NULL;
d14a1e28
RD
11237}
11238
11239
0085ce49
RD
11240SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11241 PyObject *resultobj = 0;
11242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11243 wxColour *result = 0 ;
11244 void *argp1 = 0 ;
11245 int res1 = 0 ;
11246 PyObject *swig_obj[1] ;
11247
11248 if (!args) SWIG_fail;
11249 swig_obj[0] = args;
11250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11251 if (!SWIG_IsOK(res1)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11253 }
11254 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11257 {
0085ce49
RD
11258 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11259 result = (wxColour *) &_result_ref;
d14a1e28 11260 }
0085ce49
RD
11261 wxPyEndAllowThreads(__tstate);
11262 if (PyErr_Occurred()) SWIG_fail;
11263 }
11264 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11265 return resultobj;
11266fail:
11267 return NULL;
d14a1e28
RD
11268}
11269
11270
0085ce49
RD
11271SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11272 PyObject *resultobj = 0;
11273 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11274 wxFont *result = 0 ;
11275 void *argp1 = 0 ;
11276 int res1 = 0 ;
11277 PyObject *swig_obj[1] ;
11278
11279 if (!args) SWIG_fail;
11280 swig_obj[0] = args;
11281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11282 if (!SWIG_IsOK(res1)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11284 }
11285 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11288 {
0085ce49
RD
11289 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11290 result = (wxFont *) &_result_ref;
d14a1e28 11291 }
0085ce49
RD
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 {
11296 wxFont* resultptr = new wxFont(*result);
11297 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11298 }
11299 return resultobj;
11300fail:
11301 return NULL;
d14a1e28
RD
11302}
11303
11304
0085ce49
RD
11305SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11306 PyObject *resultobj = 0;
11307 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11308 wxTextAttrAlignment result;
11309 void *argp1 = 0 ;
11310 int res1 = 0 ;
11311 PyObject *swig_obj[1] ;
11312
11313 if (!args) SWIG_fail;
11314 swig_obj[0] = args;
11315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11316 if (!SWIG_IsOK(res1)) {
11317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11318 }
11319 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 resultobj = SWIG_From_int(static_cast< int >(result));
11327 return resultobj;
11328fail:
11329 return NULL;
d14a1e28
RD
11330}
11331
11332
0085ce49
RD
11333SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11334 PyObject *resultobj = 0;
11335 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11336 wxArrayInt *result = 0 ;
11337 void *argp1 = 0 ;
11338 int res1 = 0 ;
11339 PyObject *swig_obj[1] ;
11340
11341 if (!args) SWIG_fail;
11342 swig_obj[0] = args;
11343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11344 if (!SWIG_IsOK(res1)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11346 }
11347 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 11350 {
0085ce49
RD
11351 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11352 result = (wxArrayInt *) &_result_ref;
d14a1e28 11353 }
0085ce49
RD
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 {
11358 resultobj = PyList_New(0);
11359 size_t idx;
11360 for (idx = 0; idx < result->GetCount(); idx += 1) {
11361 PyObject* val = PyInt_FromLong( result->Item(idx) );
11362 PyList_Append(resultobj, val);
11363 Py_DECREF(val);
4f89f6a3 11364 }
0085ce49
RD
11365 }
11366 return resultobj;
11367fail:
11368 return NULL;
d14a1e28
RD
11369}
11370
11371
0085ce49
RD
11372SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11373 PyObject *resultobj = 0;
11374 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11375 long result;
11376 void *argp1 = 0 ;
11377 int res1 = 0 ;
11378 PyObject *swig_obj[1] ;
11379
11380 if (!args) SWIG_fail;
11381 swig_obj[0] = args;
11382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11383 if (!SWIG_IsOK(res1)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11385 }
11386 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = SWIG_From_long(static_cast< long >(result));
11394 return resultobj;
11395fail:
11396 return NULL;
d14a1e28
RD
11397}
11398
11399
0085ce49
RD
11400SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11401 PyObject *resultobj = 0;
11402 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11403 long result;
11404 void *argp1 = 0 ;
11405 int res1 = 0 ;
11406 PyObject *swig_obj[1] ;
11407
11408 if (!args) SWIG_fail;
11409 swig_obj[0] = args;
11410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11411 if (!SWIG_IsOK(res1)) {
11412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11413 }
11414 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11415 {
11416 PyThreadState* __tstate = wxPyBeginAllowThreads();
11417 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_From_long(static_cast< long >(result));
11422 return resultobj;
11423fail:
11424 return NULL;
d14a1e28
RD
11425}
11426
11427
0085ce49
RD
11428SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11429 PyObject *resultobj = 0;
11430 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11431 long result;
11432 void *argp1 = 0 ;
11433 int res1 = 0 ;
11434 PyObject *swig_obj[1] ;
11435
11436 if (!args) SWIG_fail;
11437 swig_obj[0] = args;
11438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11441 }
11442 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = SWIG_From_long(static_cast< long >(result));
11450 return resultobj;
11451fail:
11452 return NULL;
d14a1e28
RD
11453}
11454
11455
0085ce49
RD
11456SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11457 PyObject *resultobj = 0;
11458 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11459 long result;
11460 void *argp1 = 0 ;
11461 int res1 = 0 ;
11462 PyObject *swig_obj[1] ;
11463
11464 if (!args) SWIG_fail;
11465 swig_obj[0] = args;
11466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11467 if (!SWIG_IsOK(res1)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11469 }
11470 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 resultobj = SWIG_From_long(static_cast< long >(result));
11478 return resultobj;
11479fail:
11480 return NULL;
d14a1e28
RD
11481}
11482
11483
0085ce49
RD
11484SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11485 PyObject *resultobj = 0;
11486 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11487 bool result;
11488 void *argp1 = 0 ;
11489 int res1 = 0 ;
11490 PyObject *swig_obj[1] ;
11491
11492 if (!args) SWIG_fail;
11493 swig_obj[0] = args;
11494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11495 if (!SWIG_IsOK(res1)) {
11496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11497 }
11498 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 {
11506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11507 }
11508 return resultobj;
11509fail:
11510 return NULL;
11511}
11512
11513
11514SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj = 0;
11516 wxTextAttr *arg1 = 0 ;
11517 wxTextAttr *arg2 = 0 ;
11518 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11519 wxTextAttr result;
11520 void *argp1 = 0 ;
11521 int res1 = 0 ;
11522 void *argp2 = 0 ;
11523 int res2 = 0 ;
11524 void *argp3 = 0 ;
11525 int res3 = 0 ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 PyObject * obj2 = 0 ;
11529 char * kwnames[] = {
11530 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11531 };
11532
11533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11534 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11535 if (!SWIG_IsOK(res1)) {
11536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11537 }
11538 if (!argp1) {
11539 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11540 }
11541 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11542 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11543 if (!SWIG_IsOK(res2)) {
11544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11545 }
11546 if (!argp2) {
11547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11548 }
11549 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11550 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11551 if (!SWIG_IsOK(res3)) {
11552 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11553 }
11554 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11558 wxPyEndAllowThreads(__tstate);
11559 if (PyErr_Occurred()) SWIG_fail;
11560 }
11561 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11562 return resultobj;
11563fail:
11564 return NULL;
11565}
11566
11567
11568SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11569 PyObject *obj;
11570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11571 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11572 return SWIG_Py_Void();
11573}
11574
11575SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11576 return SWIG_Python_InitShadowInstance(args);
11577}
11578
11579SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11580 PyObject *resultobj = 0;
11581 wxWindow *arg1 = (wxWindow *) 0 ;
11582 int arg2 = (int) -1 ;
11583 wxString const &arg3_defvalue = wxPyEmptyString ;
11584 wxString *arg3 = (wxString *) &arg3_defvalue ;
11585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11587 wxSize const &arg5_defvalue = wxDefaultSize ;
11588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11589 long arg6 = (long) 0 ;
11590 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11591 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11592 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11593 wxString *arg8 = (wxString *) &arg8_defvalue ;
11594 wxTextCtrl *result = 0 ;
11595 void *argp1 = 0 ;
11596 int res1 = 0 ;
11597 int val2 ;
11598 int ecode2 = 0 ;
11599 bool temp3 = false ;
11600 wxPoint temp4 ;
11601 wxSize temp5 ;
11602 long val6 ;
11603 int ecode6 = 0 ;
11604 void *argp7 = 0 ;
11605 int res7 = 0 ;
11606 bool temp8 = false ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
11610 PyObject * obj3 = 0 ;
11611 PyObject * obj4 = 0 ;
11612 PyObject * obj5 = 0 ;
11613 PyObject * obj6 = 0 ;
11614 PyObject * obj7 = 0 ;
11615 char * kwnames[] = {
11616 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11617 };
11618
11619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11621 if (!SWIG_IsOK(res1)) {
11622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11623 }
11624 arg1 = reinterpret_cast< wxWindow * >(argp1);
11625 if (obj1) {
11626 ecode2 = SWIG_AsVal_int(obj1, &val2);
11627 if (!SWIG_IsOK(ecode2)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11629 }
11630 arg2 = static_cast< int >(val2);
11631 }
11632 if (obj2) {
4f89f6a3 11633 {
0085ce49
RD
11634 arg3 = wxString_in_helper(obj2);
11635 if (arg3 == NULL) SWIG_fail;
11636 temp3 = true;
4f89f6a3 11637 }
0085ce49
RD
11638 }
11639 if (obj3) {
d14a1e28 11640 {
0085ce49
RD
11641 arg4 = &temp4;
11642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 11643 }
0085ce49
RD
11644 }
11645 if (obj4) {
d14a1e28 11646 {
0085ce49
RD
11647 arg5 = &temp5;
11648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11649 }
0085ce49
RD
11650 }
11651 if (obj5) {
11652 ecode6 = SWIG_AsVal_long(obj5, &val6);
11653 if (!SWIG_IsOK(ecode6)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11655 }
11656 arg6 = static_cast< long >(val6);
11657 }
11658 if (obj6) {
11659 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11660 if (!SWIG_IsOK(res7)) {
11661 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 11662 }
0085ce49
RD
11663 if (!argp7) {
11664 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11665 }
0085ce49
RD
11666 arg7 = reinterpret_cast< wxValidator * >(argp7);
11667 }
11668 if (obj7) {
d14a1e28 11669 {
0085ce49
RD
11670 arg8 = wxString_in_helper(obj7);
11671 if (arg8 == NULL) SWIG_fail;
11672 temp8 = true;
d14a1e28 11673 }
0085ce49
RD
11674 }
11675 {
11676 if (!wxPyCheckForApp()) SWIG_fail;
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11679 wxPyEndAllowThreads(__tstate);
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11683 {
11684 if (temp3)
11685 delete arg3;
11686 }
11687 {
11688 if (temp8)
11689 delete arg8;
11690 }
11691 return resultobj;
11692fail:
11693 {
11694 if (temp3)
11695 delete arg3;
11696 }
11697 {
11698 if (temp8)
11699 delete arg8;
11700 }
11701 return NULL;
d14a1e28
RD
11702}
11703
11704
0085ce49
RD
11705SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11706 PyObject *resultobj = 0;
11707 wxTextCtrl *result = 0 ;
11708
11709 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11710 {
11711 if (!wxPyCheckForApp()) SWIG_fail;
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = (wxTextCtrl *)new wxTextCtrl();
11714 wxPyEndAllowThreads(__tstate);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
11717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11718 return resultobj;
11719fail:
11720 return NULL;
11721}
11722
11723
11724SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11725 PyObject *resultobj = 0;
11726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11727 wxWindow *arg2 = (wxWindow *) 0 ;
11728 int arg3 = (int) -1 ;
11729 wxString const &arg4_defvalue = wxPyEmptyString ;
11730 wxString *arg4 = (wxString *) &arg4_defvalue ;
11731 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11732 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11733 wxSize const &arg6_defvalue = wxDefaultSize ;
11734 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11735 long arg7 = (long) 0 ;
11736 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11737 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11738 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11739 wxString *arg9 = (wxString *) &arg9_defvalue ;
11740 bool result;
11741 void *argp1 = 0 ;
11742 int res1 = 0 ;
11743 void *argp2 = 0 ;
11744 int res2 = 0 ;
11745 int val3 ;
11746 int ecode3 = 0 ;
11747 bool temp4 = false ;
11748 wxPoint temp5 ;
11749 wxSize temp6 ;
11750 long val7 ;
11751 int ecode7 = 0 ;
11752 void *argp8 = 0 ;
11753 int res8 = 0 ;
11754 bool temp9 = false ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 PyObject * obj2 = 0 ;
11758 PyObject * obj3 = 0 ;
11759 PyObject * obj4 = 0 ;
11760 PyObject * obj5 = 0 ;
11761 PyObject * obj6 = 0 ;
11762 PyObject * obj7 = 0 ;
11763 PyObject * obj8 = 0 ;
11764 char * kwnames[] = {
11765 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11766 };
11767
11768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11770 if (!SWIG_IsOK(res1)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11772 }
11773 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11774 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11775 if (!SWIG_IsOK(res2)) {
11776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11777 }
11778 arg2 = reinterpret_cast< wxWindow * >(argp2);
11779 if (obj2) {
11780 ecode3 = SWIG_AsVal_int(obj2, &val3);
11781 if (!SWIG_IsOK(ecode3)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11783 }
11784 arg3 = static_cast< int >(val3);
11785 }
11786 if (obj3) {
d14a1e28 11787 {
0085ce49
RD
11788 arg4 = wxString_in_helper(obj3);
11789 if (arg4 == NULL) SWIG_fail;
11790 temp4 = true;
d14a1e28 11791 }
0085ce49
RD
11792 }
11793 if (obj4) {
d14a1e28 11794 {
0085ce49
RD
11795 arg5 = &temp5;
11796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 11797 }
0085ce49
RD
11798 }
11799 if (obj5) {
d14a1e28 11800 {
0085ce49
RD
11801 arg6 = &temp6;
11802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 11803 }
0085ce49
RD
11804 }
11805 if (obj6) {
11806 ecode7 = SWIG_AsVal_long(obj6, &val7);
11807 if (!SWIG_IsOK(ecode7)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11809 }
11810 arg7 = static_cast< long >(val7);
11811 }
11812 if (obj7) {
11813 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11814 if (!SWIG_IsOK(res8)) {
11815 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 11816 }
0085ce49
RD
11817 if (!argp8) {
11818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11819 }
0085ce49
RD
11820 arg8 = reinterpret_cast< wxValidator * >(argp8);
11821 }
11822 if (obj8) {
d14a1e28 11823 {
0085ce49
RD
11824 arg9 = wxString_in_helper(obj8);
11825 if (arg9 == NULL) SWIG_fail;
11826 temp9 = true;
d14a1e28 11827 }
0085ce49
RD
11828 }
11829 {
11830 PyThreadState* __tstate = wxPyBeginAllowThreads();
11831 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 {
11836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11837 }
11838 {
11839 if (temp4)
11840 delete arg4;
11841 }
11842 {
11843 if (temp9)
11844 delete arg9;
11845 }
11846 return resultobj;
11847fail:
11848 {
11849 if (temp4)
11850 delete arg4;
11851 }
11852 {
11853 if (temp9)
11854 delete arg9;
11855 }
11856 return NULL;
d14a1e28
RD
11857}
11858
11859
0085ce49
RD
11860SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11861 PyObject *resultobj = 0;
11862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11863 wxString result;
11864 void *argp1 = 0 ;
11865 int res1 = 0 ;
11866 PyObject *swig_obj[1] ;
11867
11868 if (!args) SWIG_fail;
11869 swig_obj[0] = args;
11870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11871 if (!SWIG_IsOK(res1)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11873 }
11874 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = ((wxTextCtrl const *)arg1)->GetValue();
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 {
11882#if wxUSE_UNICODE
11883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11884#else
11885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11886#endif
11887 }
11888 return resultobj;
11889fail:
11890 return NULL;
11891}
11892
11893
11894SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj = 0;
11896 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11897 wxString *arg2 = 0 ;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 bool temp2 = false ;
11901 PyObject * obj0 = 0 ;
11902 PyObject * obj1 = 0 ;
11903 char * kwnames[] = {
11904 (char *) "self",(char *) "value", NULL
11905 };
11906
11907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11909 if (!SWIG_IsOK(res1)) {
11910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11911 }
11912 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11913 {
11914 arg2 = wxString_in_helper(obj1);
11915 if (arg2 == NULL) SWIG_fail;
11916 temp2 = true;
11917 }
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetValue((wxString const &)*arg2);
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_Py_Void();
11925 {
11926 if (temp2)
11927 delete arg2;
11928 }
11929 return resultobj;
11930fail:
11931 {
11932 if (temp2)
11933 delete arg2;
11934 }
11935 return NULL;
11936}
11937
11938
11939SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj = 0;
11941 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11942 long arg2 ;
11943 long arg3 ;
11944 wxString result;
11945 void *argp1 = 0 ;
11946 int res1 = 0 ;
11947 long val2 ;
11948 int ecode2 = 0 ;
11949 long val3 ;
11950 int ecode3 = 0 ;
11951 PyObject * obj0 = 0 ;
11952 PyObject * obj1 = 0 ;
11953 PyObject * obj2 = 0 ;
11954 char * kwnames[] = {
2131d850 11955 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
11956 };
11957
11958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11960 if (!SWIG_IsOK(res1)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11962 }
11963 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11964 ecode2 = SWIG_AsVal_long(obj1, &val2);
11965 if (!SWIG_IsOK(ecode2)) {
11966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11967 }
11968 arg2 = static_cast< long >(val2);
11969 ecode3 = SWIG_AsVal_long(obj2, &val3);
11970 if (!SWIG_IsOK(ecode3)) {
11971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11972 }
11973 arg3 = static_cast< long >(val3);
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981#if wxUSE_UNICODE
11982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11983#else
11984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11985#endif
11986 }
11987 return resultobj;
11988fail:
11989 return NULL;
11990}
11991
11992
11993SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11994 PyObject *resultobj = 0;
11995 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11996 long arg2 ;
11997 int result;
11998 void *argp1 = 0 ;
11999 int res1 = 0 ;
12000 long val2 ;
12001 int ecode2 = 0 ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char * kwnames[] = {
12005 (char *) "self",(char *) "lineNo", NULL
12006 };
12007
12008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12012 }
12013 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12014 ecode2 = SWIG_AsVal_long(obj1, &val2);
12015 if (!SWIG_IsOK(ecode2)) {
12016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12017 }
12018 arg2 = static_cast< long >(val2);
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_From_int(static_cast< int >(result));
12026 return resultobj;
12027fail:
12028 return NULL;
12029}
12030
12031
12032SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj = 0;
12034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12035 long arg2 ;
12036 wxString result;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 long val2 ;
12040 int ecode2 = 0 ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 char * kwnames[] = {
12044 (char *) "self",(char *) "lineNo", NULL
12045 };
12046
12047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12049 if (!SWIG_IsOK(res1)) {
12050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12051 }
12052 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12053 ecode2 = SWIG_AsVal_long(obj1, &val2);
12054 if (!SWIG_IsOK(ecode2)) {
12055 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12056 }
12057 arg2 = static_cast< long >(val2);
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12061 wxPyEndAllowThreads(__tstate);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 {
12065#if wxUSE_UNICODE
12066 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12067#else
12068 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12069#endif
12070 }
12071 return resultobj;
12072fail:
12073 return NULL;
d14a1e28
RD
12074}
12075
12076
0085ce49
RD
12077SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12078 PyObject *resultobj = 0;
12079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12080 int result;
12081 void *argp1 = 0 ;
12082 int res1 = 0 ;
12083 PyObject *swig_obj[1] ;
12084
12085 if (!args) SWIG_fail;
12086 swig_obj[0] = args;
12087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12088 if (!SWIG_IsOK(res1)) {
12089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12090 }
12091 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 resultobj = SWIG_From_int(static_cast< int >(result));
12099 return resultobj;
12100fail:
12101 return NULL;
d14a1e28
RD
12102}
12103
12104
0085ce49
RD
12105SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12106 PyObject *resultobj = 0;
12107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12108 bool result;
12109 void *argp1 = 0 ;
12110 int res1 = 0 ;
12111 PyObject *swig_obj[1] ;
12112
12113 if (!args) SWIG_fail;
12114 swig_obj[0] = args;
12115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12116 if (!SWIG_IsOK(res1)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12118 }
12119 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 {
12127 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12128 }
12129 return resultobj;
12130fail:
12131 return NULL;
c3eb6258
RD
12132}
12133
12134
0085ce49
RD
12135SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12136 PyObject *resultobj = 0;
12137 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12138 bool result;
12139 void *argp1 = 0 ;
12140 int res1 = 0 ;
12141 PyObject *swig_obj[1] ;
12142
12143 if (!args) SWIG_fail;
12144 swig_obj[0] = args;
12145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12146 if (!SWIG_IsOK(res1)) {
12147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12148 }
12149 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12158 }
12159 return resultobj;
12160fail:
12161 return NULL;
74a57fcd
RD
12162}
12163
12164
0085ce49
RD
12165SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12166 PyObject *resultobj = 0;
12167 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12168 bool result;
12169 void *argp1 = 0 ;
12170 int res1 = 0 ;
12171 PyObject *swig_obj[1] ;
12172
12173 if (!args) SWIG_fail;
12174 swig_obj[0] = args;
12175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12176 if (!SWIG_IsOK(res1)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12178 }
12179 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 {
12187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12188 }
12189 return resultobj;
12190fail:
12191 return NULL;
d14a1e28
RD
12192}
12193
12194
0085ce49
RD
12195SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12196 PyObject *resultobj = 0;
12197 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12198 bool result;
12199 void *argp1 = 0 ;
12200 int res1 = 0 ;
12201 PyObject *swig_obj[1] ;
12202
12203 if (!args) SWIG_fail;
12204 swig_obj[0] = args;
12205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12206 if (!SWIG_IsOK(res1)) {
12207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12208 }
12209 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 {
12217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12218 }
12219 return resultobj;
12220fail:
12221 return NULL;
12222}
12223
12224
12225SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12226 PyObject *resultobj = 0;
12227 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12228 long *arg2 = (long *) 0 ;
12229 long *arg3 = (long *) 0 ;
12230 void *argp1 = 0 ;
12231 int res1 = 0 ;
12232 long temp2 ;
12233 int res2 = SWIG_TMPOBJ ;
12234 long temp3 ;
12235 int res3 = SWIG_TMPOBJ ;
12236 PyObject *swig_obj[1] ;
12237
12238 arg2 = &temp2;
12239 arg3 = &temp3;
12240 if (!args) SWIG_fail;
12241 swig_obj[0] = args;
12242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12243 if (!SWIG_IsOK(res1)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12245 }
12246 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = SWIG_Py_Void();
12254 if (SWIG_IsTmpObj(res2)) {
12255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12256 } else {
12257 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12259 }
12260 if (SWIG_IsTmpObj(res3)) {
12261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12262 } else {
12263 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12264 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12265 }
12266 return resultobj;
12267fail:
12268 return NULL;
d14a1e28
RD
12269}
12270
12271
0085ce49
RD
12272SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12273 PyObject *resultobj = 0;
12274 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12275 wxString result;
12276 void *argp1 = 0 ;
12277 int res1 = 0 ;
12278 PyObject *swig_obj[1] ;
12279
12280 if (!args) SWIG_fail;
12281 swig_obj[0] = args;
12282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12285 }
12286 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 {
12294#if wxUSE_UNICODE
12295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12296#else
12297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12298#endif
12299 }
12300 return resultobj;
12301fail:
12302 return NULL;
d14a1e28
RD
12303}
12304
12305
0085ce49
RD
12306SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12307 PyObject *resultobj = 0;
12308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12309 void *argp1 = 0 ;
12310 int res1 = 0 ;
12311 PyObject *swig_obj[1] ;
12312
12313 if (!args) SWIG_fail;
12314 swig_obj[0] = args;
12315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12316 if (!SWIG_IsOK(res1)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12318 }
12319 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 (arg1)->Clear();
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = SWIG_Py_Void();
12327 return resultobj;
12328fail:
12329 return NULL;
12330}
12331
12332
12333SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj = 0;
12335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12336 long arg2 ;
12337 long arg3 ;
12338 wxString *arg4 = 0 ;
12339 void *argp1 = 0 ;
12340 int res1 = 0 ;
12341 long val2 ;
12342 int ecode2 = 0 ;
12343 long val3 ;
12344 int ecode3 = 0 ;
12345 bool temp4 = false ;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 PyObject * obj2 = 0 ;
12349 PyObject * obj3 = 0 ;
12350 char * kwnames[] = {
2131d850 12351 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
0085ce49
RD
12352 };
12353
12354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12356 if (!SWIG_IsOK(res1)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12358 }
12359 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12360 ecode2 = SWIG_AsVal_long(obj1, &val2);
12361 if (!SWIG_IsOK(ecode2)) {
12362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12363 }
12364 arg2 = static_cast< long >(val2);
12365 ecode3 = SWIG_AsVal_long(obj2, &val3);
12366 if (!SWIG_IsOK(ecode3)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12368 }
12369 arg3 = static_cast< long >(val3);
12370 {
12371 arg4 = wxString_in_helper(obj3);
12372 if (arg4 == NULL) SWIG_fail;
12373 temp4 = true;
12374 }
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 resultobj = SWIG_Py_Void();
12382 {
12383 if (temp4)
12384 delete arg4;
12385 }
12386 return resultobj;
12387fail:
12388 {
12389 if (temp4)
12390 delete arg4;
12391 }
12392 return NULL;
12393}
12394
12395
12396SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12397 PyObject *resultobj = 0;
12398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12399 long arg2 ;
12400 long arg3 ;
12401 void *argp1 = 0 ;
12402 int res1 = 0 ;
12403 long val2 ;
12404 int ecode2 = 0 ;
12405 long val3 ;
12406 int ecode3 = 0 ;
12407 PyObject * obj0 = 0 ;
12408 PyObject * obj1 = 0 ;
12409 PyObject * obj2 = 0 ;
12410 char * kwnames[] = {
2131d850 12411 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
12412 };
12413
12414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12416 if (!SWIG_IsOK(res1)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12418 }
12419 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12420 ecode2 = SWIG_AsVal_long(obj1, &val2);
12421 if (!SWIG_IsOK(ecode2)) {
12422 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12423 }
12424 arg2 = static_cast< long >(val2);
12425 ecode3 = SWIG_AsVal_long(obj2, &val3);
12426 if (!SWIG_IsOK(ecode3)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12428 }
12429 arg3 = static_cast< long >(val3);
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 (arg1)->Remove(arg2,arg3);
12433 wxPyEndAllowThreads(__tstate);
12434 if (PyErr_Occurred()) SWIG_fail;
12435 }
12436 resultobj = SWIG_Py_Void();
12437 return resultobj;
12438fail:
12439 return NULL;
12440}
12441
12442
12443SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj = 0;
12445 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12446 wxString *arg2 = 0 ;
12447 bool result;
12448 void *argp1 = 0 ;
12449 int res1 = 0 ;
12450 bool temp2 = false ;
12451 PyObject * obj0 = 0 ;
12452 PyObject * obj1 = 0 ;
12453 char * kwnames[] = {
12454 (char *) "self",(char *) "file", NULL
12455 };
12456
12457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) SWIG_fail;
12458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12459 if (!SWIG_IsOK(res1)) {
12460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12461 }
12462 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12463 {
12464 arg2 = wxString_in_helper(obj1);
12465 if (arg2 == NULL) SWIG_fail;
12466 temp2 = true;
12467 }
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 {
12475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12476 }
12477 {
12478 if (temp2)
12479 delete arg2;
12480 }
12481 return resultobj;
12482fail:
12483 {
12484 if (temp2)
12485 delete arg2;
12486 }
12487 return NULL;
12488}
12489
12490
12491SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj = 0;
12493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12494 wxString const &arg2_defvalue = wxPyEmptyString ;
12495 wxString *arg2 = (wxString *) &arg2_defvalue ;
12496 bool result;
12497 void *argp1 = 0 ;
12498 int res1 = 0 ;
12499 bool temp2 = false ;
12500 PyObject * obj0 = 0 ;
12501 PyObject * obj1 = 0 ;
12502 char * kwnames[] = {
12503 (char *) "self",(char *) "file", NULL
12504 };
12505
12506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) SWIG_fail;
12507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12508 if (!SWIG_IsOK(res1)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12510 }
12511 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12512 if (obj1) {
4f89f6a3 12513 {
0085ce49
RD
12514 arg2 = wxString_in_helper(obj1);
12515 if (arg2 == NULL) SWIG_fail;
12516 temp2 = true;
4f89f6a3 12517 }
0085ce49
RD
12518 }
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 {
12526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12527 }
12528 {
12529 if (temp2)
12530 delete arg2;
12531 }
12532 return resultobj;
12533fail:
12534 {
12535 if (temp2)
12536 delete arg2;
12537 }
12538 return NULL;
d14a1e28
RD
12539}
12540
12541
0085ce49
RD
12542SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12543 PyObject *resultobj = 0;
12544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12545 void *argp1 = 0 ;
12546 int res1 = 0 ;
12547 PyObject *swig_obj[1] ;
12548
12549 if (!args) SWIG_fail;
12550 swig_obj[0] = args;
12551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12552 if (!SWIG_IsOK(res1)) {
12553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12554 }
12555 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->MarkDirty();
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 resultobj = SWIG_Py_Void();
12563 return resultobj;
12564fail:
12565 return NULL;
d14a1e28
RD
12566}
12567
12568
0085ce49
RD
12569SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12570 PyObject *resultobj = 0;
12571 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12572 void *argp1 = 0 ;
12573 int res1 = 0 ;
12574 PyObject *swig_obj[1] ;
12575
12576 if (!args) SWIG_fail;
12577 swig_obj[0] = args;
12578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12579 if (!SWIG_IsOK(res1)) {
12580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12581 }
12582 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 (arg1)->DiscardEdits();
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 resultobj = SWIG_Py_Void();
12590 return resultobj;
12591fail:
12592 return NULL;
12593}
12594
12595
12596SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj = 0;
12598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12599 unsigned long arg2 ;
12600 void *argp1 = 0 ;
12601 int res1 = 0 ;
12602 unsigned long val2 ;
12603 int ecode2 = 0 ;
12604 PyObject * obj0 = 0 ;
12605 PyObject * obj1 = 0 ;
12606 char * kwnames[] = {
12607 (char *) "self",(char *) "len", NULL
12608 };
12609
12610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12612 if (!SWIG_IsOK(res1)) {
12613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12614 }
12615 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12616 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12617 if (!SWIG_IsOK(ecode2)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12619 }
12620 arg2 = static_cast< unsigned long >(val2);
12621 {
12622 PyThreadState* __tstate = wxPyBeginAllowThreads();
12623 (arg1)->SetMaxLength(arg2);
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_Py_Void();
12628 return resultobj;
12629fail:
12630 return NULL;
12631}
12632
12633
12634SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj = 0;
12636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12637 wxString *arg2 = 0 ;
12638 void *argp1 = 0 ;
12639 int res1 = 0 ;
12640 bool temp2 = false ;
12641 PyObject * obj0 = 0 ;
12642 PyObject * obj1 = 0 ;
12643 char * kwnames[] = {
12644 (char *) "self",(char *) "text", NULL
12645 };
12646
12647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12649 if (!SWIG_IsOK(res1)) {
12650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12651 }
12652 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12653 {
12654 arg2 = wxString_in_helper(obj1);
12655 if (arg2 == NULL) SWIG_fail;
12656 temp2 = true;
12657 }
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->WriteText((wxString const &)*arg2);
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 resultobj = SWIG_Py_Void();
12665 {
12666 if (temp2)
12667 delete arg2;
12668 }
12669 return resultobj;
12670fail:
12671 {
12672 if (temp2)
12673 delete arg2;
12674 }
12675 return NULL;
d14a1e28
RD
12676}
12677
12678
0085ce49
RD
12679SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj = 0;
12681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12682 wxString *arg2 = 0 ;
12683 void *argp1 = 0 ;
12684 int res1 = 0 ;
12685 bool temp2 = false ;
12686 PyObject * obj0 = 0 ;
12687 PyObject * obj1 = 0 ;
12688 char * kwnames[] = {
12689 (char *) "self",(char *) "text", NULL
12690 };
12691
12692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12694 if (!SWIG_IsOK(res1)) {
12695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12696 }
12697 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12698 {
12699 arg2 = wxString_in_helper(obj1);
12700 if (arg2 == NULL) SWIG_fail;
12701 temp2 = true;
12702 }
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 (arg1)->AppendText((wxString const &)*arg2);
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 resultobj = SWIG_Py_Void();
12710 {
12711 if (temp2)
12712 delete arg2;
12713 }
12714 return resultobj;
12715fail:
12716 {
12717 if (temp2)
12718 delete arg2;
12719 }
12720 return NULL;
12721}
12722
12723
12724SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12725 PyObject *resultobj = 0;
12726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12727 wxKeyEvent *arg2 = 0 ;
12728 bool result;
12729 void *argp1 = 0 ;
12730 int res1 = 0 ;
12731 void *argp2 = 0 ;
12732 int res2 = 0 ;
12733 PyObject * obj0 = 0 ;
12734 PyObject * obj1 = 0 ;
12735 char * kwnames[] = {
12736 (char *) "self",(char *) "event", NULL
12737 };
12738
12739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12741 if (!SWIG_IsOK(res1)) {
12742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12743 }
12744 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12745 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12746 if (!SWIG_IsOK(res2)) {
12747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12748 }
12749 if (!argp2) {
12750 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12751 }
12752 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12756 wxPyEndAllowThreads(__tstate);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 }
12759 {
12760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12761 }
12762 return resultobj;
12763fail:
12764 return NULL;
12765}
12766
12767
12768SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj = 0;
12770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12771 long arg2 ;
12772 long arg3 ;
12773 wxTextAttr *arg4 = 0 ;
12774 bool result;
12775 void *argp1 = 0 ;
12776 int res1 = 0 ;
12777 long val2 ;
12778 int ecode2 = 0 ;
12779 long val3 ;
12780 int ecode3 = 0 ;
12781 void *argp4 = 0 ;
12782 int res4 = 0 ;
12783 PyObject * obj0 = 0 ;
12784 PyObject * obj1 = 0 ;
12785 PyObject * obj2 = 0 ;
12786 PyObject * obj3 = 0 ;
12787 char * kwnames[] = {
12788 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12789 };
12790
12791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12793 if (!SWIG_IsOK(res1)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12795 }
12796 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12797 ecode2 = SWIG_AsVal_long(obj1, &val2);
12798 if (!SWIG_IsOK(ecode2)) {
12799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12800 }
12801 arg2 = static_cast< long >(val2);
12802 ecode3 = SWIG_AsVal_long(obj2, &val3);
12803 if (!SWIG_IsOK(ecode3)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12805 }
12806 arg3 = static_cast< long >(val3);
12807 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12808 if (!SWIG_IsOK(res4)) {
12809 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12810 }
12811 if (!argp4) {
12812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12813 }
12814 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12818 wxPyEndAllowThreads(__tstate);
12819 if (PyErr_Occurred()) SWIG_fail;
12820 }
12821 {
12822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12823 }
12824 return resultobj;
12825fail:
12826 return NULL;
12827}
12828
12829
12830SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj = 0;
12832 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12833 long arg2 ;
12834 wxTextAttr *arg3 = 0 ;
12835 bool result;
12836 void *argp1 = 0 ;
12837 int res1 = 0 ;
12838 long val2 ;
12839 int ecode2 = 0 ;
12840 void *argp3 = 0 ;
12841 int res3 = 0 ;
12842 PyObject * obj0 = 0 ;
12843 PyObject * obj1 = 0 ;
12844 PyObject * obj2 = 0 ;
12845 char * kwnames[] = {
12846 (char *) "self",(char *) "position",(char *) "style", NULL
12847 };
12848
12849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12851 if (!SWIG_IsOK(res1)) {
12852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12853 }
12854 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12855 ecode2 = SWIG_AsVal_long(obj1, &val2);
12856 if (!SWIG_IsOK(ecode2)) {
12857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12858 }
12859 arg2 = static_cast< long >(val2);
12860 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12861 if (!SWIG_IsOK(res3)) {
12862 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12863 }
12864 if (!argp3) {
12865 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12866 }
12867 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 {
12875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12876 }
12877 return resultobj;
12878fail:
12879 return NULL;
12880}
12881
12882
12883SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj = 0;
12885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12886 wxTextAttr *arg2 = 0 ;
12887 bool result;
12888 void *argp1 = 0 ;
12889 int res1 = 0 ;
12890 void *argp2 = 0 ;
12891 int res2 = 0 ;
12892 PyObject * obj0 = 0 ;
12893 PyObject * obj1 = 0 ;
12894 char * kwnames[] = {
12895 (char *) "self",(char *) "style", NULL
12896 };
12897
12898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
12899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12900 if (!SWIG_IsOK(res1)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12902 }
12903 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12904 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
12905 if (!SWIG_IsOK(res2)) {
12906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12907 }
12908 if (!argp2) {
12909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12910 }
12911 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 {
12919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12920 }
12921 return resultobj;
12922fail:
12923 return NULL;
d14a1e28
RD
12924}
12925
12926
0085ce49
RD
12927SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12928 PyObject *resultobj = 0;
12929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12930 wxTextAttr *result = 0 ;
12931 void *argp1 = 0 ;
12932 int res1 = 0 ;
12933 PyObject *swig_obj[1] ;
12934
12935 if (!args) SWIG_fail;
12936 swig_obj[0] = args;
12937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12938 if (!SWIG_IsOK(res1)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12940 }
12941 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 12944 {
0085ce49
RD
12945 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
12946 result = (wxTextAttr *) &_result_ref;
093d3ff1 12947 }
0085ce49
RD
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
12952 return resultobj;
12953fail:
12954 return NULL;
12955}
12956
12957
12958SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12959 PyObject *resultobj = 0;
12960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12961 long arg2 ;
12962 long arg3 ;
12963 long result;
12964 void *argp1 = 0 ;
12965 int res1 = 0 ;
12966 long val2 ;
12967 int ecode2 = 0 ;
12968 long val3 ;
12969 int ecode3 = 0 ;
12970 PyObject * obj0 = 0 ;
12971 PyObject * obj1 = 0 ;
12972 PyObject * obj2 = 0 ;
12973 char * kwnames[] = {
12974 (char *) "self",(char *) "x",(char *) "y", NULL
12975 };
12976
12977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12979 if (!SWIG_IsOK(res1)) {
12980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12981 }
12982 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12983 ecode2 = SWIG_AsVal_long(obj1, &val2);
12984 if (!SWIG_IsOK(ecode2)) {
12985 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12986 }
12987 arg2 = static_cast< long >(val2);
12988 ecode3 = SWIG_AsVal_long(obj2, &val3);
12989 if (!SWIG_IsOK(ecode3)) {
12990 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12991 }
12992 arg3 = static_cast< long >(val3);
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
12996 wxPyEndAllowThreads(__tstate);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 resultobj = SWIG_From_long(static_cast< long >(result));
13000 return resultobj;
13001fail:
13002 return NULL;
13003}
13004
13005
13006SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj = 0;
13008 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13009 long arg2 ;
13010 long *arg3 = (long *) 0 ;
13011 long *arg4 = (long *) 0 ;
13012 void *argp1 = 0 ;
13013 int res1 = 0 ;
13014 long val2 ;
13015 int ecode2 = 0 ;
13016 long temp3 ;
13017 int res3 = SWIG_TMPOBJ ;
13018 long temp4 ;
13019 int res4 = SWIG_TMPOBJ ;
13020 PyObject * obj0 = 0 ;
13021 PyObject * obj1 = 0 ;
13022 char * kwnames[] = {
13023 (char *) "self",(char *) "pos", NULL
13024 };
13025
13026 arg3 = &temp3;
13027 arg4 = &temp4;
13028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13030 if (!SWIG_IsOK(res1)) {
13031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13032 }
13033 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13034 ecode2 = SWIG_AsVal_long(obj1, &val2);
13035 if (!SWIG_IsOK(ecode2)) {
13036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13037 }
13038 arg2 = static_cast< long >(val2);
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 resultobj = SWIG_Py_Void();
13046 if (SWIG_IsTmpObj(res3)) {
13047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13048 } else {
13049 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13051 }
13052 if (SWIG_IsTmpObj(res4)) {
13053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13054 } else {
13055 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13057 }
13058 return resultobj;
13059fail:
13060 return NULL;
13061}
13062
13063
13064SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13065 PyObject *resultobj = 0;
13066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13067 long arg2 ;
13068 void *argp1 = 0 ;
13069 int res1 = 0 ;
13070 long val2 ;
13071 int ecode2 = 0 ;
13072 PyObject * obj0 = 0 ;
13073 PyObject * obj1 = 0 ;
13074 char * kwnames[] = {
13075 (char *) "self",(char *) "pos", NULL
13076 };
13077
13078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13080 if (!SWIG_IsOK(res1)) {
13081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13082 }
13083 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13084 ecode2 = SWIG_AsVal_long(obj1, &val2);
13085 if (!SWIG_IsOK(ecode2)) {
13086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13087 }
13088 arg2 = static_cast< long >(val2);
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 (arg1)->ShowPosition(arg2);
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 resultobj = SWIG_Py_Void();
13096 return resultobj;
13097fail:
13098 return NULL;
13099}
13100
13101
13102SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj = 0;
13104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13105 wxPoint *arg2 = 0 ;
13106 long *arg3 = (long *) 0 ;
13107 long *arg4 = (long *) 0 ;
13108 wxTextCtrlHitTestResult result;
13109 void *argp1 = 0 ;
13110 int res1 = 0 ;
13111 wxPoint temp2 ;
13112 long temp3 ;
13113 int res3 = SWIG_TMPOBJ ;
13114 long temp4 ;
13115 int res4 = SWIG_TMPOBJ ;
13116 PyObject * obj0 = 0 ;
13117 PyObject * obj1 = 0 ;
13118 char * kwnames[] = {
13119 (char *) "self",(char *) "pt", NULL
13120 };
13121
13122 arg3 = &temp3;
13123 arg4 = &temp4;
13124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13126 if (!SWIG_IsOK(res1)) {
13127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13128 }
13129 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13130 {
13131 arg2 = &temp2;
13132 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13137 wxPyEndAllowThreads(__tstate);
13138 if (PyErr_Occurred()) SWIG_fail;
13139 }
13140 resultobj = SWIG_From_int(static_cast< int >(result));
13141 if (SWIG_IsTmpObj(res3)) {
13142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13143 } else {
13144 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13146 }
13147 if (SWIG_IsTmpObj(res4)) {
13148 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13149 } else {
13150 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13151 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13152 }
13153 return resultobj;
13154fail:
13155 return NULL;
13156}
13157
13158
13159SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13160 PyObject *resultobj = 0;
13161 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13162 wxPoint *arg2 = 0 ;
13163 long *arg3 = (long *) 0 ;
13164 wxTextCtrlHitTestResult result;
13165 void *argp1 = 0 ;
13166 int res1 = 0 ;
13167 wxPoint temp2 ;
13168 long temp3 ;
13169 int res3 = SWIG_TMPOBJ ;
13170 PyObject * obj0 = 0 ;
13171 PyObject * obj1 = 0 ;
13172 char * kwnames[] = {
13173 (char *) "self",(char *) "pt", NULL
13174 };
13175
13176 arg3 = &temp3;
13177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13179 if (!SWIG_IsOK(res1)) {
13180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13181 }
13182 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13183 {
13184 arg2 = &temp2;
13185 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13186 }
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 resultobj = SWIG_From_int(static_cast< int >(result));
13194 if (SWIG_IsTmpObj(res3)) {
13195 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13196 } else {
13197 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13198 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13199 }
13200 return resultobj;
13201fail:
13202 return NULL;
d14a1e28
RD
13203}
13204
13205
0085ce49
RD
13206SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13207 PyObject *resultobj = 0;
13208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13209 void *argp1 = 0 ;
13210 int res1 = 0 ;
13211 PyObject *swig_obj[1] ;
13212
13213 if (!args) SWIG_fail;
13214 swig_obj[0] = args;
13215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13216 if (!SWIG_IsOK(res1)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13218 }
13219 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 (arg1)->Copy();
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 resultobj = SWIG_Py_Void();
13227 return resultobj;
13228fail:
13229 return NULL;
d14a1e28 13230}
0085ce49
RD
13231
13232
13233SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13234 PyObject *resultobj = 0;
13235 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13236 void *argp1 = 0 ;
13237 int res1 = 0 ;
13238 PyObject *swig_obj[1] ;
13239
13240 if (!args) SWIG_fail;
13241 swig_obj[0] = args;
13242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13243 if (!SWIG_IsOK(res1)) {
13244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13245 }
13246 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 (arg1)->Cut();
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 resultobj = SWIG_Py_Void();
13254 return resultobj;
13255fail:
13256 return NULL;
b2dc1044
RD
13257}
13258
13259
0085ce49
RD
13260SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13261 PyObject *resultobj = 0;
13262 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13263 void *argp1 = 0 ;
13264 int res1 = 0 ;
13265 PyObject *swig_obj[1] ;
13266
13267 if (!args) SWIG_fail;
13268 swig_obj[0] = args;
13269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13270 if (!SWIG_IsOK(res1)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13272 }
13273 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 (arg1)->Paste();
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 resultobj = SWIG_Py_Void();
13281 return resultobj;
13282fail:
13283 return NULL;
d14a1e28
RD
13284}
13285
13286
0085ce49
RD
13287SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13288 PyObject *resultobj = 0;
13289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13290 bool result;
13291 void *argp1 = 0 ;
13292 int res1 = 0 ;
13293 PyObject *swig_obj[1] ;
13294
13295 if (!args) SWIG_fail;
13296 swig_obj[0] = args;
13297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13298 if (!SWIG_IsOK(res1)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13300 }
13301 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 {
13309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13310 }
13311 return resultobj;
13312fail:
13313 return NULL;
d14a1e28
RD
13314}
13315
13316
0085ce49
RD
13317SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13318 PyObject *resultobj = 0;
13319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13320 bool result;
13321 void *argp1 = 0 ;
13322 int res1 = 0 ;
13323 PyObject *swig_obj[1] ;
13324
13325 if (!args) SWIG_fail;
13326 swig_obj[0] = args;
13327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13328 if (!SWIG_IsOK(res1)) {
13329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13330 }
13331 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 {
13339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13340 }
13341 return resultobj;
13342fail:
13343 return NULL;
994141e6
RD
13344}
13345
13346
0085ce49
RD
13347SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13348 PyObject *resultobj = 0;
13349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13350 bool result;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject *swig_obj[1] ;
13354
13355 if (!args) SWIG_fail;
13356 swig_obj[0] = args;
13357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13358 if (!SWIG_IsOK(res1)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13360 }
13361 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 {
13369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13370 }
13371 return resultobj;
13372fail:
13373 return NULL;
d14a1e28
RD
13374}
13375
13376
0085ce49
RD
13377SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13378 PyObject *resultobj = 0;
13379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13380 void *argp1 = 0 ;
13381 int res1 = 0 ;
13382 PyObject *swig_obj[1] ;
13383
13384 if (!args) SWIG_fail;
13385 swig_obj[0] = args;
13386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13387 if (!SWIG_IsOK(res1)) {
13388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13389 }
13390 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 (arg1)->Undo();
13394 wxPyEndAllowThreads(__tstate);
13395 if (PyErr_Occurred()) SWIG_fail;
13396 }
13397 resultobj = SWIG_Py_Void();
13398 return resultobj;
13399fail:
13400 return NULL;
d14a1e28
RD
13401}
13402
13403
0085ce49
RD
13404SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13405 PyObject *resultobj = 0;
13406 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13407 void *argp1 = 0 ;
13408 int res1 = 0 ;
13409 PyObject *swig_obj[1] ;
13410
13411 if (!args) SWIG_fail;
13412 swig_obj[0] = args;
13413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13414 if (!SWIG_IsOK(res1)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13416 }
13417 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13418 {
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 (arg1)->Redo();
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 resultobj = SWIG_Py_Void();
13425 return resultobj;
13426fail:
13427 return NULL;
d14a1e28
RD
13428}
13429
13430
0085ce49
RD
13431SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13432 PyObject *resultobj = 0;
13433 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13434 bool result;
13435 void *argp1 = 0 ;
13436 int res1 = 0 ;
13437 PyObject *swig_obj[1] ;
13438
13439 if (!args) SWIG_fail;
13440 swig_obj[0] = args;
13441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13442 if (!SWIG_IsOK(res1)) {
13443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13444 }
13445 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13449 wxPyEndAllowThreads(__tstate);
13450 if (PyErr_Occurred()) SWIG_fail;
13451 }
13452 {
13453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13454 }
13455 return resultobj;
13456fail:
13457 return NULL;
d14a1e28
RD
13458}
13459
13460
0085ce49
RD
13461SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13462 PyObject *resultobj = 0;
13463 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13464 bool result;
13465 void *argp1 = 0 ;
13466 int res1 = 0 ;
13467 PyObject *swig_obj[1] ;
13468
13469 if (!args) SWIG_fail;
13470 swig_obj[0] = args;
13471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13472 if (!SWIG_IsOK(res1)) {
13473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13474 }
13475 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13476 {
13477 PyThreadState* __tstate = wxPyBeginAllowThreads();
13478 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13484 }
13485 return resultobj;
13486fail:
13487 return NULL;
13488}
13489
13490
13491SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj = 0;
13493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13494 long arg2 ;
13495 void *argp1 = 0 ;
13496 int res1 = 0 ;
13497 long val2 ;
13498 int ecode2 = 0 ;
13499 PyObject * obj0 = 0 ;
13500 PyObject * obj1 = 0 ;
13501 char * kwnames[] = {
13502 (char *) "self",(char *) "pos", NULL
13503 };
13504
13505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13507 if (!SWIG_IsOK(res1)) {
13508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13509 }
13510 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13511 ecode2 = SWIG_AsVal_long(obj1, &val2);
13512 if (!SWIG_IsOK(ecode2)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13514 }
13515 arg2 = static_cast< long >(val2);
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 (arg1)->SetInsertionPoint(arg2);
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 resultobj = SWIG_Py_Void();
13523 return resultobj;
13524fail:
13525 return NULL;
d14a1e28
RD
13526}
13527
13528
0085ce49
RD
13529SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13530 PyObject *resultobj = 0;
13531 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13532 void *argp1 = 0 ;
13533 int res1 = 0 ;
13534 PyObject *swig_obj[1] ;
13535
13536 if (!args) SWIG_fail;
13537 swig_obj[0] = args;
13538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13539 if (!SWIG_IsOK(res1)) {
13540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13541 }
13542 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 (arg1)->SetInsertionPointEnd();
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
13549 resultobj = SWIG_Py_Void();
13550 return resultobj;
13551fail:
13552 return NULL;
d14a1e28
RD
13553}
13554
13555
0085ce49
RD
13556SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13557 PyObject *resultobj = 0;
13558 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13559 long result;
13560 void *argp1 = 0 ;
13561 int res1 = 0 ;
13562 PyObject *swig_obj[1] ;
13563
13564 if (!args) SWIG_fail;
13565 swig_obj[0] = args;
13566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13567 if (!SWIG_IsOK(res1)) {
13568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13569 }
13570 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_From_long(static_cast< long >(result));
13578 return resultobj;
13579fail:
13580 return NULL;
d14a1e28
RD
13581}
13582
13583
0085ce49
RD
13584SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13585 PyObject *resultobj = 0;
13586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13587 long result;
13588 void *argp1 = 0 ;
13589 int res1 = 0 ;
13590 PyObject *swig_obj[1] ;
13591
13592 if (!args) SWIG_fail;
13593 swig_obj[0] = args;
13594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13595 if (!SWIG_IsOK(res1)) {
13596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13597 }
13598 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13602 wxPyEndAllowThreads(__tstate);
13603 if (PyErr_Occurred()) SWIG_fail;
13604 }
13605 resultobj = SWIG_From_long(static_cast< long >(result));
13606 return resultobj;
13607fail:
13608 return NULL;
13609}
13610
13611
13612SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13613 PyObject *resultobj = 0;
13614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13615 long arg2 ;
13616 long arg3 ;
13617 void *argp1 = 0 ;
13618 int res1 = 0 ;
13619 long val2 ;
13620 int ecode2 = 0 ;
13621 long val3 ;
13622 int ecode3 = 0 ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj2 = 0 ;
13626 char * kwnames[] = {
2131d850 13627 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
13628 };
13629
13630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13632 if (!SWIG_IsOK(res1)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13634 }
13635 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13636 ecode2 = SWIG_AsVal_long(obj1, &val2);
13637 if (!SWIG_IsOK(ecode2)) {
13638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13639 }
13640 arg2 = static_cast< long >(val2);
13641 ecode3 = SWIG_AsVal_long(obj2, &val3);
13642 if (!SWIG_IsOK(ecode3)) {
13643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13644 }
13645 arg3 = static_cast< long >(val3);
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 (arg1)->SetSelection(arg2,arg3);
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = SWIG_Py_Void();
13653 return resultobj;
13654fail:
13655 return NULL;
d14a1e28
RD
13656}
13657
13658
0085ce49
RD
13659SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13660 PyObject *resultobj = 0;
13661 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13662 void *argp1 = 0 ;
13663 int res1 = 0 ;
13664 PyObject *swig_obj[1] ;
13665
13666 if (!args) SWIG_fail;
13667 swig_obj[0] = args;
13668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13669 if (!SWIG_IsOK(res1)) {
13670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13671 }
13672 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13673 {
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 (arg1)->SelectAll();
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_Py_Void();
13680 return resultobj;
13681fail:
13682 return NULL;
13683}
13684
13685
13686SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj = 0;
13688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13689 bool arg2 ;
13690 void *argp1 = 0 ;
13691 int res1 = 0 ;
13692 bool val2 ;
13693 int ecode2 = 0 ;
13694 PyObject * obj0 = 0 ;
13695 PyObject * obj1 = 0 ;
13696 char * kwnames[] = {
13697 (char *) "self",(char *) "editable", NULL
13698 };
13699
13700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13702 if (!SWIG_IsOK(res1)) {
13703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13704 }
13705 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13707 if (!SWIG_IsOK(ecode2)) {
13708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13709 }
13710 arg2 = static_cast< bool >(val2);
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->SetEditable(arg2);
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 resultobj = SWIG_Py_Void();
13718 return resultobj;
13719fail:
13720 return NULL;
13721}
13722
13723
13724SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13725 PyObject *resultobj = 0;
13726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13727 wxString *arg2 = 0 ;
13728 void *argp1 = 0 ;
13729 int res1 = 0 ;
13730 bool temp2 = false ;
13731 PyObject * obj0 = 0 ;
13732 PyObject * obj1 = 0 ;
13733 char * kwnames[] = {
13734 (char *) "self",(char *) "text", NULL
13735 };
13736
13737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13739 if (!SWIG_IsOK(res1)) {
13740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13741 }
13742 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13743 {
13744 arg2 = wxString_in_helper(obj1);
13745 if (arg2 == NULL) SWIG_fail;
13746 temp2 = true;
13747 }
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 wxTextCtrl_write(arg1,(wxString const &)*arg2);
13751 wxPyEndAllowThreads(__tstate);
13752 if (PyErr_Occurred()) SWIG_fail;
13753 }
13754 resultobj = SWIG_Py_Void();
13755 {
13756 if (temp2)
13757 delete arg2;
13758 }
13759 return resultobj;
13760fail:
13761 {
13762 if (temp2)
13763 delete arg2;
13764 }
13765 return NULL;
13766}
13767
13768
13769SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj = 0;
13771 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13772 long arg2 ;
13773 long arg3 ;
13774 wxString result;
13775 void *argp1 = 0 ;
13776 int res1 = 0 ;
13777 long val2 ;
13778 int ecode2 = 0 ;
13779 long val3 ;
13780 int ecode3 = 0 ;
13781 PyObject * obj0 = 0 ;
13782 PyObject * obj1 = 0 ;
13783 PyObject * obj2 = 0 ;
13784 char * kwnames[] = {
2131d850 13785 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
13786 };
13787
13788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13789 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13790 if (!SWIG_IsOK(res1)) {
13791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13792 }
13793 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13794 ecode2 = SWIG_AsVal_long(obj1, &val2);
13795 if (!SWIG_IsOK(ecode2)) {
13796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13797 }
13798 arg2 = static_cast< long >(val2);
13799 ecode3 = SWIG_AsVal_long(obj2, &val3);
13800 if (!SWIG_IsOK(ecode3)) {
13801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13802 }
13803 arg3 = static_cast< long >(val3);
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = wxTextCtrl_GetString(arg1,arg2,arg3);
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;
13818fail:
13819 return NULL;
d14a1e28
RD
13820}
13821
13822
0085ce49
RD
13823SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj = 0;
13825 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
13826 SwigValueWrapper<wxVisualAttributes > result;
13827 int val1 ;
13828 int ecode1 = 0 ;
13829 PyObject * obj0 = 0 ;
13830 char * kwnames[] = {
13831 (char *) "variant", NULL
13832 };
13833
13834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
13835 if (obj0) {
13836 ecode1 = SWIG_AsVal_int(obj0, &val1);
13837 if (!SWIG_IsOK(ecode1)) {
13838 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13839 }
13840 arg1 = static_cast< wxWindowVariant >(val1);
13841 }
13842 {
13843 if (!wxPyCheckForApp()) SWIG_fail;
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
13850 return resultobj;
13851fail:
13852 return NULL;
13853}
13854
13855
13856SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13857 PyObject *obj;
13858 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13859 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
13860 return SWIG_Py_Void();
13861}
13862
13863SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13864 return SWIG_Python_InitShadowInstance(args);
13865}
13866
13867SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj = 0;
13869 int arg1 ;
13870 wxMouseEvent *arg2 = 0 ;
13871 long arg3 ;
13872 long arg4 ;
13873 wxTextUrlEvent *result = 0 ;
13874 int val1 ;
13875 int ecode1 = 0 ;
13876 void *argp2 = 0 ;
13877 int res2 = 0 ;
13878 long val3 ;
13879 int ecode3 = 0 ;
13880 long val4 ;
13881 int ecode4 = 0 ;
13882 PyObject * obj0 = 0 ;
13883 PyObject * obj1 = 0 ;
13884 PyObject * obj2 = 0 ;
13885 PyObject * obj3 = 0 ;
13886 char * kwnames[] = {
13887 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13888 };
13889
13890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13891 ecode1 = SWIG_AsVal_int(obj0, &val1);
13892 if (!SWIG_IsOK(ecode1)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13894 }
13895 arg1 = static_cast< int >(val1);
13896 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
13897 if (!SWIG_IsOK(res2)) {
13898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13899 }
13900 if (!argp2) {
13901 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13902 }
13903 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
13904 ecode3 = SWIG_AsVal_long(obj2, &val3);
13905 if (!SWIG_IsOK(ecode3)) {
13906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13907 }
13908 arg3 = static_cast< long >(val3);
13909 ecode4 = SWIG_AsVal_long(obj3, &val4);
13910 if (!SWIG_IsOK(ecode4)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13912 }
13913 arg4 = static_cast< long >(val4);
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
13921 return resultobj;
13922fail:
13923 return NULL;
d14a1e28
RD
13924}
13925
13926
0085ce49
RD
13927SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13928 PyObject *resultobj = 0;
13929 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13930 wxMouseEvent *result = 0 ;
13931 void *argp1 = 0 ;
13932 int res1 = 0 ;
13933 PyObject *swig_obj[1] ;
13934
13935 if (!args) SWIG_fail;
13936 swig_obj[0] = args;
13937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13938 if (!SWIG_IsOK(res1)) {
13939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13940 }
13941 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 13944 {
0085ce49
RD
13945 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
13946 result = (wxMouseEvent *) &_result_ref;
4f89f6a3 13947 }
0085ce49
RD
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
13952 return resultobj;
13953fail:
13954 return NULL;
d14a1e28
RD
13955}
13956
13957
0085ce49
RD
13958SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13959 PyObject *resultobj = 0;
13960 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13961 long result;
13962 void *argp1 = 0 ;
13963 int res1 = 0 ;
13964 PyObject *swig_obj[1] ;
13965
13966 if (!args) SWIG_fail;
13967 swig_obj[0] = args;
13968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13969 if (!SWIG_IsOK(res1)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13971 }
13972 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
13973 {
13974 PyThreadState* __tstate = wxPyBeginAllowThreads();
13975 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 resultobj = SWIG_From_long(static_cast< long >(result));
13980 return resultobj;
13981fail:
13982 return NULL;
d14a1e28
RD
13983}
13984
13985
0085ce49
RD
13986SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13987 PyObject *resultobj = 0;
13988 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
13989 long result;
13990 void *argp1 = 0 ;
13991 int res1 = 0 ;
13992 PyObject *swig_obj[1] ;
13993
13994 if (!args) SWIG_fail;
13995 swig_obj[0] = args;
13996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
13997 if (!SWIG_IsOK(res1)) {
13998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
13999 }
14000 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 resultobj = SWIG_From_long(static_cast< long >(result));
14008 return resultobj;
14009fail:
14010 return NULL;
d14a1e28
RD
14011}
14012
14013
0085ce49
RD
14014SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14015 PyObject *obj;
14016 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14017 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14018 return SWIG_Py_Void();
d14a1e28
RD
14019}
14020
0085ce49
RD
14021SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14022 return SWIG_Python_InitShadowInstance(args);
14023}
d14a1e28 14024
0085ce49
RD
14025SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14026 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14027 return 1;
14028}
14029
14030
14031SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14032 PyObject *pyobj = 0;
14033
14034 {
14035#if wxUSE_UNICODE
14036 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14037#else
14038 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14039#endif
14040 }
14041 return pyobj;
14042}
14043
14044
14045SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14046 PyObject *resultobj = 0;
14047 wxWindow *arg1 = (wxWindow *) 0 ;
14048 int arg2 = (int) -1 ;
14049 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14050 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14051 wxSize const &arg4_defvalue = wxDefaultSize ;
14052 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14053 long arg5 = (long) wxSB_HORIZONTAL ;
14054 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14055 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14056 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14057 wxString *arg7 = (wxString *) &arg7_defvalue ;
14058 wxScrollBar *result = 0 ;
14059 void *argp1 = 0 ;
14060 int res1 = 0 ;
14061 int val2 ;
14062 int ecode2 = 0 ;
14063 wxPoint temp3 ;
14064 wxSize temp4 ;
14065 long val5 ;
14066 int ecode5 = 0 ;
14067 void *argp6 = 0 ;
14068 int res6 = 0 ;
14069 bool temp7 = false ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 PyObject * obj2 = 0 ;
14073 PyObject * obj3 = 0 ;
14074 PyObject * obj4 = 0 ;
14075 PyObject * obj5 = 0 ;
14076 PyObject * obj6 = 0 ;
14077 char * kwnames[] = {
14078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14079 };
14080
14081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14083 if (!SWIG_IsOK(res1)) {
14084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14085 }
14086 arg1 = reinterpret_cast< wxWindow * >(argp1);
14087 if (obj1) {
14088 ecode2 = SWIG_AsVal_int(obj1, &val2);
14089 if (!SWIG_IsOK(ecode2)) {
14090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14091 }
14092 arg2 = static_cast< int >(val2);
14093 }
14094 if (obj2) {
d14a1e28 14095 {
0085ce49
RD
14096 arg3 = &temp3;
14097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14098 }
0085ce49
RD
14099 }
14100 if (obj3) {
4f89f6a3 14101 {
0085ce49
RD
14102 arg4 = &temp4;
14103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 14104 }
0085ce49
RD
14105 }
14106 if (obj4) {
14107 ecode5 = SWIG_AsVal_long(obj4, &val5);
14108 if (!SWIG_IsOK(ecode5)) {
14109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14110 }
14111 arg5 = static_cast< long >(val5);
14112 }
14113 if (obj5) {
14114 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14115 if (!SWIG_IsOK(res6)) {
14116 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14117 }
14118 if (!argp6) {
14119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14120 }
14121 arg6 = reinterpret_cast< wxValidator * >(argp6);
14122 }
14123 if (obj6) {
14124 {
14125 arg7 = wxString_in_helper(obj6);
14126 if (arg7 == NULL) SWIG_fail;
14127 temp7 = true;
14128 }
14129 }
14130 {
14131 if (!wxPyCheckForApp()) SWIG_fail;
14132 PyThreadState* __tstate = wxPyBeginAllowThreads();
14133 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14138 {
14139 if (temp7)
14140 delete arg7;
14141 }
14142 return resultobj;
14143fail:
14144 {
14145 if (temp7)
14146 delete arg7;
14147 }
14148 return NULL;
d14a1e28
RD
14149}
14150
14151
0085ce49
RD
14152SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14153 PyObject *resultobj = 0;
14154 wxScrollBar *result = 0 ;
14155
14156 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14157 {
14158 if (!wxPyCheckForApp()) SWIG_fail;
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 result = (wxScrollBar *)new wxScrollBar();
14161 wxPyEndAllowThreads(__tstate);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
14164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14165 return resultobj;
14166fail:
14167 return NULL;
14168}
14169
14170
14171SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14172 PyObject *resultobj = 0;
14173 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14174 wxWindow *arg2 = (wxWindow *) 0 ;
14175 int arg3 = (int) -1 ;
14176 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14177 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14178 wxSize const &arg5_defvalue = wxDefaultSize ;
14179 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14180 long arg6 = (long) wxSB_HORIZONTAL ;
14181 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14182 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14183 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14184 wxString *arg8 = (wxString *) &arg8_defvalue ;
14185 bool result;
14186 void *argp1 = 0 ;
14187 int res1 = 0 ;
14188 void *argp2 = 0 ;
14189 int res2 = 0 ;
14190 int val3 ;
14191 int ecode3 = 0 ;
14192 wxPoint temp4 ;
14193 wxSize temp5 ;
14194 long val6 ;
14195 int ecode6 = 0 ;
14196 void *argp7 = 0 ;
14197 int res7 = 0 ;
14198 bool temp8 = false ;
14199 PyObject * obj0 = 0 ;
14200 PyObject * obj1 = 0 ;
14201 PyObject * obj2 = 0 ;
14202 PyObject * obj3 = 0 ;
14203 PyObject * obj4 = 0 ;
14204 PyObject * obj5 = 0 ;
14205 PyObject * obj6 = 0 ;
14206 PyObject * obj7 = 0 ;
14207 char * kwnames[] = {
14208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14209 };
14210
14211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14213 if (!SWIG_IsOK(res1)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14215 }
14216 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14218 if (!SWIG_IsOK(res2)) {
14219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14220 }
14221 arg2 = reinterpret_cast< wxWindow * >(argp2);
14222 if (obj2) {
14223 ecode3 = SWIG_AsVal_int(obj2, &val3);
14224 if (!SWIG_IsOK(ecode3)) {
14225 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14226 }
14227 arg3 = static_cast< int >(val3);
14228 }
14229 if (obj3) {
093d3ff1 14230 {
0085ce49
RD
14231 arg4 = &temp4;
14232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14233 }
0085ce49
RD
14234 }
14235 if (obj4) {
d14a1e28 14236 {
0085ce49
RD
14237 arg5 = &temp5;
14238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14239 }
14240 }
14241 if (obj5) {
14242 ecode6 = SWIG_AsVal_long(obj5, &val6);
14243 if (!SWIG_IsOK(ecode6)) {
14244 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14245 }
14246 arg6 = static_cast< long >(val6);
14247 }
14248 if (obj6) {
14249 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14250 if (!SWIG_IsOK(res7)) {
14251 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 14252 }
0085ce49
RD
14253 if (!argp7) {
14254 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14255 }
14256 arg7 = reinterpret_cast< wxValidator * >(argp7);
14257 }
14258 if (obj7) {
4f89f6a3 14259 {
0085ce49
RD
14260 arg8 = wxString_in_helper(obj7);
14261 if (arg8 == NULL) SWIG_fail;
14262 temp8 = true;
4f89f6a3 14263 }
0085ce49
RD
14264 }
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14273 }
14274 {
14275 if (temp8)
14276 delete arg8;
14277 }
14278 return resultobj;
14279fail:
14280 {
14281 if (temp8)
14282 delete arg8;
14283 }
14284 return NULL;
d14a1e28
RD
14285}
14286
14287
0085ce49
RD
14288SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14289 PyObject *resultobj = 0;
14290 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14291 int result;
14292 void *argp1 = 0 ;
14293 int res1 = 0 ;
14294 PyObject *swig_obj[1] ;
14295
14296 if (!args) SWIG_fail;
14297 swig_obj[0] = args;
14298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14299 if (!SWIG_IsOK(res1)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14301 }
14302 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14303 {
14304 PyThreadState* __tstate = wxPyBeginAllowThreads();
14305 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 resultobj = SWIG_From_int(static_cast< int >(result));
14310 return resultobj;
14311fail:
14312 return NULL;
d14a1e28
RD
14313}
14314
14315
0085ce49
RD
14316SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14317 PyObject *resultobj = 0;
14318 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14319 int result;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 PyObject *swig_obj[1] ;
14323
14324 if (!args) SWIG_fail;
14325 swig_obj[0] = args;
14326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14327 if (!SWIG_IsOK(res1)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14329 }
14330 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 resultobj = SWIG_From_int(static_cast< int >(result));
14338 return resultobj;
14339fail:
14340 return NULL;
d14a1e28
RD
14341}
14342
14343
0085ce49
RD
14344SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14345 PyObject *resultobj = 0;
14346 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14347 int result;
14348 void *argp1 = 0 ;
14349 int res1 = 0 ;
14350 PyObject *swig_obj[1] ;
14351
14352 if (!args) SWIG_fail;
14353 swig_obj[0] = args;
14354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14355 if (!SWIG_IsOK(res1)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14357 }
14358 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = SWIG_From_int(static_cast< int >(result));
14366 return resultobj;
14367fail:
14368 return NULL;
d14a1e28
RD
14369}
14370
14371
0085ce49
RD
14372SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14373 PyObject *resultobj = 0;
14374 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14375 int result;
14376 void *argp1 = 0 ;
14377 int res1 = 0 ;
14378 PyObject *swig_obj[1] ;
14379
14380 if (!args) SWIG_fail;
14381 swig_obj[0] = args;
14382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14383 if (!SWIG_IsOK(res1)) {
14384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14385 }
14386 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 result = (int)((wxScrollBar const *)arg1)->GetRange();
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 resultobj = SWIG_From_int(static_cast< int >(result));
14394 return resultobj;
14395fail:
14396 return NULL;
d14a1e28
RD
14397}
14398
14399
0085ce49
RD
14400SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14401 PyObject *resultobj = 0;
14402 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14403 bool result;
14404 void *argp1 = 0 ;
14405 int res1 = 0 ;
14406 PyObject *swig_obj[1] ;
14407
14408 if (!args) SWIG_fail;
14409 swig_obj[0] = args;
14410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14411 if (!SWIG_IsOK(res1)) {
14412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14413 }
14414 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14418 wxPyEndAllowThreads(__tstate);
14419 if (PyErr_Occurred()) SWIG_fail;
14420 }
14421 {
14422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14423 }
14424 return resultobj;
14425fail:
14426 return NULL;
14427}
14428
14429
14430SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj = 0;
14432 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14433 int arg2 ;
14434 void *argp1 = 0 ;
14435 int res1 = 0 ;
14436 int val2 ;
14437 int ecode2 = 0 ;
14438 PyObject * obj0 = 0 ;
14439 PyObject * obj1 = 0 ;
14440 char * kwnames[] = {
14441 (char *) "self",(char *) "viewStart", NULL
14442 };
14443
14444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14446 if (!SWIG_IsOK(res1)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14448 }
14449 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14450 ecode2 = SWIG_AsVal_int(obj1, &val2);
14451 if (!SWIG_IsOK(ecode2)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14453 }
14454 arg2 = static_cast< int >(val2);
14455 {
14456 PyThreadState* __tstate = wxPyBeginAllowThreads();
14457 (arg1)->SetThumbPosition(arg2);
14458 wxPyEndAllowThreads(__tstate);
14459 if (PyErr_Occurred()) SWIG_fail;
14460 }
14461 resultobj = SWIG_Py_Void();
14462 return resultobj;
14463fail:
14464 return NULL;
14465}
14466
14467
14468SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14469 PyObject *resultobj = 0;
14470 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14471 SwigValueWrapper<wxVisualAttributes > result;
14472 int val1 ;
14473 int ecode1 = 0 ;
14474 PyObject * obj0 = 0 ;
14475 char * kwnames[] = {
14476 (char *) "variant", NULL
14477 };
14478
14479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14480 if (obj0) {
14481 ecode1 = SWIG_AsVal_int(obj0, &val1);
14482 if (!SWIG_IsOK(ecode1)) {
14483 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14484 }
14485 arg1 = static_cast< wxWindowVariant >(val1);
14486 }
14487 {
14488 if (!wxPyCheckForApp()) SWIG_fail;
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14495 return resultobj;
14496fail:
14497 return NULL;
d14a1e28
RD
14498}
14499
14500
0085ce49
RD
14501SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14502 PyObject *obj;
14503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14504 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14505 return SWIG_Py_Void();
d14a1e28
RD
14506}
14507
0085ce49
RD
14508SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14509 return SWIG_Python_InitShadowInstance(args);
14510}
d14a1e28 14511
0085ce49
RD
14512SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14513 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14514 return 1;
d14a1e28
RD
14515}
14516
14517
0085ce49
RD
14518SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14519 PyObject *pyobj = 0;
14520
14521 {
14522#if wxUSE_UNICODE
14523 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14524#else
14525 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
14526#endif
14527 }
14528 return pyobj;
d14a1e28
RD
14529}
14530
14531
0085ce49
RD
14532SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14533 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14534 return 1;
d14a1e28
RD
14535}
14536
14537
0085ce49
RD
14538SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14539 PyObject *pyobj = 0;
14540
14541 {
14542#if wxUSE_UNICODE
14543 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14544#else
14545 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
14546#endif
14547 }
14548 return pyobj;
14549}
14550
14551
14552SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14553 PyObject *resultobj = 0;
14554 wxWindow *arg1 = (wxWindow *) 0 ;
14555 int arg2 = (int) -1 ;
14556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14558 wxSize const &arg4_defvalue = wxDefaultSize ;
14559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14560 long arg5 = (long) wxSP_HORIZONTAL ;
14561 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14562 wxString *arg6 = (wxString *) &arg6_defvalue ;
14563 wxSpinButton *result = 0 ;
14564 void *argp1 = 0 ;
14565 int res1 = 0 ;
14566 int val2 ;
14567 int ecode2 = 0 ;
14568 wxPoint temp3 ;
14569 wxSize temp4 ;
14570 long val5 ;
14571 int ecode5 = 0 ;
14572 bool temp6 = false ;
14573 PyObject * obj0 = 0 ;
14574 PyObject * obj1 = 0 ;
14575 PyObject * obj2 = 0 ;
14576 PyObject * obj3 = 0 ;
14577 PyObject * obj4 = 0 ;
14578 PyObject * obj5 = 0 ;
14579 char * kwnames[] = {
14580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14581 };
14582
14583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14585 if (!SWIG_IsOK(res1)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14587 }
14588 arg1 = reinterpret_cast< wxWindow * >(argp1);
14589 if (obj1) {
14590 ecode2 = SWIG_AsVal_int(obj1, &val2);
14591 if (!SWIG_IsOK(ecode2)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14593 }
14594 arg2 = static_cast< int >(val2);
14595 }
14596 if (obj2) {
093d3ff1 14597 {
0085ce49
RD
14598 arg3 = &temp3;
14599 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 14600 }
0085ce49
RD
14601 }
14602 if (obj3) {
d14a1e28 14603 {
0085ce49
RD
14604 arg4 = &temp4;
14605 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14606 }
0085ce49
RD
14607 }
14608 if (obj4) {
14609 ecode5 = SWIG_AsVal_long(obj4, &val5);
14610 if (!SWIG_IsOK(ecode5)) {
14611 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14612 }
14613 arg5 = static_cast< long >(val5);
14614 }
14615 if (obj5) {
d14a1e28 14616 {
0085ce49
RD
14617 arg6 = wxString_in_helper(obj5);
14618 if (arg6 == NULL) SWIG_fail;
14619 temp6 = true;
d14a1e28 14620 }
0085ce49
RD
14621 }
14622 {
14623 if (!wxPyCheckForApp()) SWIG_fail;
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14630 {
14631 if (temp6)
14632 delete arg6;
14633 }
14634 return resultobj;
14635fail:
14636 {
14637 if (temp6)
14638 delete arg6;
14639 }
14640 return NULL;
d14a1e28
RD
14641}
14642
14643
0085ce49
RD
14644SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14645 PyObject *resultobj = 0;
14646 wxSpinButton *result = 0 ;
14647
14648 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14649 {
14650 if (!wxPyCheckForApp()) SWIG_fail;
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (wxSpinButton *)new wxSpinButton();
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14657 return resultobj;
14658fail:
14659 return NULL;
14660}
14661
14662
14663SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj = 0;
14665 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14666 wxWindow *arg2 = (wxWindow *) 0 ;
14667 int arg3 = (int) -1 ;
14668 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14669 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14670 wxSize const &arg5_defvalue = wxDefaultSize ;
14671 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14672 long arg6 = (long) wxSP_HORIZONTAL ;
14673 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14674 wxString *arg7 = (wxString *) &arg7_defvalue ;
14675 bool result;
14676 void *argp1 = 0 ;
14677 int res1 = 0 ;
14678 void *argp2 = 0 ;
14679 int res2 = 0 ;
14680 int val3 ;
14681 int ecode3 = 0 ;
14682 wxPoint temp4 ;
14683 wxSize temp5 ;
14684 long val6 ;
14685 int ecode6 = 0 ;
14686 bool temp7 = false ;
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 PyObject * obj2 = 0 ;
14690 PyObject * obj3 = 0 ;
14691 PyObject * obj4 = 0 ;
14692 PyObject * obj5 = 0 ;
14693 PyObject * obj6 = 0 ;
14694 char * kwnames[] = {
14695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14696 };
14697
14698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14700 if (!SWIG_IsOK(res1)) {
14701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14702 }
14703 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14704 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14705 if (!SWIG_IsOK(res2)) {
14706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14707 }
14708 arg2 = reinterpret_cast< wxWindow * >(argp2);
14709 if (obj2) {
14710 ecode3 = SWIG_AsVal_int(obj2, &val3);
14711 if (!SWIG_IsOK(ecode3)) {
14712 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14713 }
14714 arg3 = static_cast< int >(val3);
14715 }
14716 if (obj3) {
d14a1e28 14717 {
0085ce49
RD
14718 arg4 = &temp4;
14719 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 14720 }
0085ce49
RD
14721 }
14722 if (obj4) {
d14a1e28 14723 {
0085ce49
RD
14724 arg5 = &temp5;
14725 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14726 }
0085ce49
RD
14727 }
14728 if (obj5) {
14729 ecode6 = SWIG_AsVal_long(obj5, &val6);
14730 if (!SWIG_IsOK(ecode6)) {
14731 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14732 }
14733 arg6 = static_cast< long >(val6);
14734 }
14735 if (obj6) {
d14a1e28 14736 {
0085ce49
RD
14737 arg7 = wxString_in_helper(obj6);
14738 if (arg7 == NULL) SWIG_fail;
14739 temp7 = true;
d14a1e28 14740 }
0085ce49
RD
14741 }
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 {
14749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14750 }
14751 {
14752 if (temp7)
14753 delete arg7;
14754 }
14755 return resultobj;
14756fail:
14757 {
14758 if (temp7)
14759 delete arg7;
14760 }
14761 return NULL;
d14a1e28
RD
14762}
14763
14764
0085ce49
RD
14765SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14766 PyObject *resultobj = 0;
14767 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14768 int result;
14769 void *argp1 = 0 ;
14770 int res1 = 0 ;
14771 PyObject *swig_obj[1] ;
14772
14773 if (!args) SWIG_fail;
14774 swig_obj[0] = args;
14775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14776 if (!SWIG_IsOK(res1)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14778 }
14779 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 result = (int)((wxSpinButton const *)arg1)->GetValue();
14783 wxPyEndAllowThreads(__tstate);
14784 if (PyErr_Occurred()) SWIG_fail;
14785 }
14786 resultobj = SWIG_From_int(static_cast< int >(result));
14787 return resultobj;
14788fail:
14789 return NULL;
d14a1e28
RD
14790}
14791
14792
0085ce49
RD
14793SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14794 PyObject *resultobj = 0;
14795 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14796 int result;
14797 void *argp1 = 0 ;
14798 int res1 = 0 ;
14799 PyObject *swig_obj[1] ;
14800
14801 if (!args) SWIG_fail;
14802 swig_obj[0] = args;
14803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14804 if (!SWIG_IsOK(res1)) {
14805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14806 }
14807 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 result = (int)((wxSpinButton const *)arg1)->GetMin();
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 resultobj = SWIG_From_int(static_cast< int >(result));
14815 return resultobj;
14816fail:
14817 return NULL;
d14a1e28
RD
14818}
14819
14820
0085ce49
RD
14821SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14822 PyObject *resultobj = 0;
14823 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14824 int result;
14825 void *argp1 = 0 ;
14826 int res1 = 0 ;
14827 PyObject *swig_obj[1] ;
14828
14829 if (!args) SWIG_fail;
14830 swig_obj[0] = args;
14831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14832 if (!SWIG_IsOK(res1)) {
14833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14834 }
14835 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14836 {
14837 PyThreadState* __tstate = wxPyBeginAllowThreads();
14838 result = (int)((wxSpinButton const *)arg1)->GetMax();
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 resultobj = SWIG_From_int(static_cast< int >(result));
14843 return resultobj;
14844fail:
14845 return NULL;
14846}
14847
14848
14849SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj = 0;
14851 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14852 int arg2 ;
14853 void *argp1 = 0 ;
14854 int res1 = 0 ;
14855 int val2 ;
14856 int ecode2 = 0 ;
14857 PyObject * obj0 = 0 ;
14858 PyObject * obj1 = 0 ;
14859 char * kwnames[] = {
14860 (char *) "self",(char *) "val", NULL
14861 };
14862
14863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
14864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14865 if (!SWIG_IsOK(res1)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14867 }
14868 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14869 ecode2 = SWIG_AsVal_int(obj1, &val2);
14870 if (!SWIG_IsOK(ecode2)) {
14871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14872 }
14873 arg2 = static_cast< int >(val2);
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 (arg1)->SetValue(arg2);
14877 wxPyEndAllowThreads(__tstate);
14878 if (PyErr_Occurred()) SWIG_fail;
14879 }
14880 resultobj = SWIG_Py_Void();
14881 return resultobj;
14882fail:
14883 return NULL;
14884}
14885
14886
14887SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14888 PyObject *resultobj = 0;
14889 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14890 int arg2 ;
14891 void *argp1 = 0 ;
14892 int res1 = 0 ;
14893 int val2 ;
14894 int ecode2 = 0 ;
14895 PyObject * obj0 = 0 ;
14896 PyObject * obj1 = 0 ;
14897 char * kwnames[] = {
14898 (char *) "self",(char *) "minVal", NULL
14899 };
14900
14901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
14902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14903 if (!SWIG_IsOK(res1)) {
14904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14905 }
14906 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14907 ecode2 = SWIG_AsVal_int(obj1, &val2);
14908 if (!SWIG_IsOK(ecode2)) {
14909 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14910 }
14911 arg2 = static_cast< int >(val2);
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 (arg1)->SetMin(arg2);
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 resultobj = SWIG_Py_Void();
14919 return resultobj;
14920fail:
14921 return NULL;
14922}
14923
14924
14925SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj = 0;
14927 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14928 int arg2 ;
14929 void *argp1 = 0 ;
14930 int res1 = 0 ;
14931 int val2 ;
14932 int ecode2 = 0 ;
14933 PyObject * obj0 = 0 ;
14934 PyObject * obj1 = 0 ;
14935 char * kwnames[] = {
14936 (char *) "self",(char *) "maxVal", NULL
14937 };
14938
14939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
14940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14941 if (!SWIG_IsOK(res1)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14943 }
14944 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14945 ecode2 = SWIG_AsVal_int(obj1, &val2);
14946 if (!SWIG_IsOK(ecode2)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14948 }
14949 arg2 = static_cast< int >(val2);
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 (arg1)->SetMax(arg2);
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 resultobj = SWIG_Py_Void();
14957 return resultobj;
14958fail:
14959 return NULL;
14960}
14961
14962
14963SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14964 PyObject *resultobj = 0;
14965 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14966 int arg2 ;
14967 int arg3 ;
14968 void *argp1 = 0 ;
14969 int res1 = 0 ;
14970 int val2 ;
14971 int ecode2 = 0 ;
14972 int val3 ;
14973 int ecode3 = 0 ;
14974 PyObject * obj0 = 0 ;
14975 PyObject * obj1 = 0 ;
14976 PyObject * obj2 = 0 ;
14977 char * kwnames[] = {
14978 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
14979 };
14980
14981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14983 if (!SWIG_IsOK(res1)) {
14984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14985 }
14986 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14987 ecode2 = SWIG_AsVal_int(obj1, &val2);
14988 if (!SWIG_IsOK(ecode2)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
14990 }
14991 arg2 = static_cast< int >(val2);
14992 ecode3 = SWIG_AsVal_int(obj2, &val3);
14993 if (!SWIG_IsOK(ecode3)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
14995 }
14996 arg3 = static_cast< int >(val3);
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 (arg1)->SetRange(arg2,arg3);
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = SWIG_Py_Void();
15004 return resultobj;
15005fail:
15006 return NULL;
d14a1e28
RD
15007}
15008
15009
0085ce49
RD
15010SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15011 PyObject *resultobj = 0;
15012 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15013 bool result;
15014 void *argp1 = 0 ;
15015 int res1 = 0 ;
15016 PyObject *swig_obj[1] ;
15017
15018 if (!args) SWIG_fail;
15019 swig_obj[0] = args;
15020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15023 }
15024 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 {
15032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15033 }
15034 return resultobj;
15035fail:
15036 return NULL;
d14a1e28
RD
15037}
15038
15039
0085ce49
RD
15040SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15041 PyObject *resultobj = 0;
15042 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15043 SwigValueWrapper<wxVisualAttributes > result;
15044 int val1 ;
15045 int ecode1 = 0 ;
15046 PyObject * obj0 = 0 ;
15047 char * kwnames[] = {
15048 (char *) "variant", NULL
15049 };
15050
15051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15052 if (obj0) {
15053 ecode1 = SWIG_AsVal_int(obj0, &val1);
15054 if (!SWIG_IsOK(ecode1)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15056 }
15057 arg1 = static_cast< wxWindowVariant >(val1);
15058 }
15059 {
15060 if (!wxPyCheckForApp()) SWIG_fail;
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15067 return resultobj;
15068fail:
15069 return NULL;
15070}
15071
15072
15073SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15074 PyObject *obj;
15075 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15076 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15077 return SWIG_Py_Void();
15078}
15079
15080SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15081 return SWIG_Python_InitShadowInstance(args);
15082}
15083
15084SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj = 0;
15086 wxWindow *arg1 = (wxWindow *) 0 ;
15087 int arg2 = (int) -1 ;
15088 wxString const &arg3_defvalue = wxPyEmptyString ;
15089 wxString *arg3 = (wxString *) &arg3_defvalue ;
15090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15092 wxSize const &arg5_defvalue = wxDefaultSize ;
15093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15094 long arg6 = (long) wxSP_ARROW_KEYS ;
15095 int arg7 = (int) 0 ;
15096 int arg8 = (int) 100 ;
15097 int arg9 = (int) 0 ;
15098 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15099 wxString *arg10 = (wxString *) &arg10_defvalue ;
15100 wxSpinCtrl *result = 0 ;
15101 void *argp1 = 0 ;
15102 int res1 = 0 ;
15103 int val2 ;
15104 int ecode2 = 0 ;
15105 bool temp3 = false ;
15106 wxPoint temp4 ;
15107 wxSize temp5 ;
15108 long val6 ;
15109 int ecode6 = 0 ;
15110 int val7 ;
15111 int ecode7 = 0 ;
15112 int val8 ;
15113 int ecode8 = 0 ;
15114 int val9 ;
15115 int ecode9 = 0 ;
15116 bool temp10 = false ;
15117 PyObject * obj0 = 0 ;
15118 PyObject * obj1 = 0 ;
15119 PyObject * obj2 = 0 ;
15120 PyObject * obj3 = 0 ;
15121 PyObject * obj4 = 0 ;
15122 PyObject * obj5 = 0 ;
15123 PyObject * obj6 = 0 ;
15124 PyObject * obj7 = 0 ;
15125 PyObject * obj8 = 0 ;
15126 PyObject * obj9 = 0 ;
15127 char * kwnames[] = {
15128 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15129 };
15130
15131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15133 if (!SWIG_IsOK(res1)) {
15134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15135 }
15136 arg1 = reinterpret_cast< wxWindow * >(argp1);
15137 if (obj1) {
15138 ecode2 = SWIG_AsVal_int(obj1, &val2);
15139 if (!SWIG_IsOK(ecode2)) {
15140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15141 }
15142 arg2 = static_cast< int >(val2);
15143 }
15144 if (obj2) {
093d3ff1 15145 {
0085ce49
RD
15146 arg3 = wxString_in_helper(obj2);
15147 if (arg3 == NULL) SWIG_fail;
15148 temp3 = true;
093d3ff1 15149 }
0085ce49
RD
15150 }
15151 if (obj3) {
093d3ff1 15152 {
0085ce49
RD
15153 arg4 = &temp4;
15154 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15155 }
0085ce49
RD
15156 }
15157 if (obj4) {
d14a1e28 15158 {
0085ce49
RD
15159 arg5 = &temp5;
15160 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15161 }
0085ce49
RD
15162 }
15163 if (obj5) {
15164 ecode6 = SWIG_AsVal_long(obj5, &val6);
15165 if (!SWIG_IsOK(ecode6)) {
15166 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15167 }
15168 arg6 = static_cast< long >(val6);
15169 }
15170 if (obj6) {
15171 ecode7 = SWIG_AsVal_int(obj6, &val7);
15172 if (!SWIG_IsOK(ecode7)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15174 }
15175 arg7 = static_cast< int >(val7);
15176 }
15177 if (obj7) {
15178 ecode8 = SWIG_AsVal_int(obj7, &val8);
15179 if (!SWIG_IsOK(ecode8)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15181 }
15182 arg8 = static_cast< int >(val8);
15183 }
15184 if (obj8) {
15185 ecode9 = SWIG_AsVal_int(obj8, &val9);
15186 if (!SWIG_IsOK(ecode9)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15188 }
15189 arg9 = static_cast< int >(val9);
15190 }
15191 if (obj9) {
d14a1e28 15192 {
0085ce49
RD
15193 arg10 = wxString_in_helper(obj9);
15194 if (arg10 == NULL) SWIG_fail;
15195 temp10 = true;
d14a1e28 15196 }
0085ce49
RD
15197 }
15198 {
15199 if (!wxPyCheckForApp()) SWIG_fail;
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15206 {
15207 if (temp3)
15208 delete arg3;
15209 }
15210 {
15211 if (temp10)
15212 delete arg10;
15213 }
15214 return resultobj;
15215fail:
15216 {
15217 if (temp3)
15218 delete arg3;
15219 }
15220 {
15221 if (temp10)
15222 delete arg10;
15223 }
15224 return NULL;
d14a1e28
RD
15225}
15226
15227
0085ce49
RD
15228SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15229 PyObject *resultobj = 0;
15230 wxSpinCtrl *result = 0 ;
15231
15232 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15233 {
15234 if (!wxPyCheckForApp()) SWIG_fail;
15235 PyThreadState* __tstate = wxPyBeginAllowThreads();
15236 result = (wxSpinCtrl *)new wxSpinCtrl();
15237 wxPyEndAllowThreads(__tstate);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
15240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15241 return resultobj;
15242fail:
15243 return NULL;
15244}
15245
15246
15247SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15248 PyObject *resultobj = 0;
15249 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15250 wxWindow *arg2 = (wxWindow *) 0 ;
15251 int arg3 = (int) -1 ;
15252 wxString const &arg4_defvalue = wxPyEmptyString ;
15253 wxString *arg4 = (wxString *) &arg4_defvalue ;
15254 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15255 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15256 wxSize const &arg6_defvalue = wxDefaultSize ;
15257 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15258 long arg7 = (long) wxSP_ARROW_KEYS ;
15259 int arg8 = (int) 0 ;
15260 int arg9 = (int) 100 ;
15261 int arg10 = (int) 0 ;
15262 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15263 wxString *arg11 = (wxString *) &arg11_defvalue ;
15264 bool result;
15265 void *argp1 = 0 ;
15266 int res1 = 0 ;
15267 void *argp2 = 0 ;
15268 int res2 = 0 ;
15269 int val3 ;
15270 int ecode3 = 0 ;
15271 bool temp4 = false ;
15272 wxPoint temp5 ;
15273 wxSize temp6 ;
15274 long val7 ;
15275 int ecode7 = 0 ;
15276 int val8 ;
15277 int ecode8 = 0 ;
15278 int val9 ;
15279 int ecode9 = 0 ;
15280 int val10 ;
15281 int ecode10 = 0 ;
15282 bool temp11 = false ;
15283 PyObject * obj0 = 0 ;
15284 PyObject * obj1 = 0 ;
15285 PyObject * obj2 = 0 ;
15286 PyObject * obj3 = 0 ;
15287 PyObject * obj4 = 0 ;
15288 PyObject * obj5 = 0 ;
15289 PyObject * obj6 = 0 ;
15290 PyObject * obj7 = 0 ;
15291 PyObject * obj8 = 0 ;
15292 PyObject * obj9 = 0 ;
15293 PyObject * obj10 = 0 ;
15294 char * kwnames[] = {
15295 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15296 };
15297
15298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15300 if (!SWIG_IsOK(res1)) {
15301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15302 }
15303 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15305 if (!SWIG_IsOK(res2)) {
15306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15307 }
15308 arg2 = reinterpret_cast< wxWindow * >(argp2);
15309 if (obj2) {
15310 ecode3 = SWIG_AsVal_int(obj2, &val3);
15311 if (!SWIG_IsOK(ecode3)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15313 }
15314 arg3 = static_cast< int >(val3);
15315 }
15316 if (obj3) {
093d3ff1 15317 {
0085ce49
RD
15318 arg4 = wxString_in_helper(obj3);
15319 if (arg4 == NULL) SWIG_fail;
15320 temp4 = true;
093d3ff1 15321 }
0085ce49
RD
15322 }
15323 if (obj4) {
d14a1e28 15324 {
0085ce49
RD
15325 arg5 = &temp5;
15326 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15327 }
0085ce49
RD
15328 }
15329 if (obj5) {
093d3ff1 15330 {
0085ce49
RD
15331 arg6 = &temp6;
15332 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 15333 }
0085ce49
RD
15334 }
15335 if (obj6) {
15336 ecode7 = SWIG_AsVal_long(obj6, &val7);
15337 if (!SWIG_IsOK(ecode7)) {
15338 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15339 }
15340 arg7 = static_cast< long >(val7);
15341 }
15342 if (obj7) {
15343 ecode8 = SWIG_AsVal_int(obj7, &val8);
15344 if (!SWIG_IsOK(ecode8)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15346 }
15347 arg8 = static_cast< int >(val8);
15348 }
15349 if (obj8) {
15350 ecode9 = SWIG_AsVal_int(obj8, &val9);
15351 if (!SWIG_IsOK(ecode9)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15353 }
15354 arg9 = static_cast< int >(val9);
15355 }
15356 if (obj9) {
15357 ecode10 = SWIG_AsVal_int(obj9, &val10);
15358 if (!SWIG_IsOK(ecode10)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15360 }
15361 arg10 = static_cast< int >(val10);
15362 }
15363 if (obj10) {
d14a1e28 15364 {
0085ce49
RD
15365 arg11 = wxString_in_helper(obj10);
15366 if (arg11 == NULL) SWIG_fail;
15367 temp11 = true;
d14a1e28 15368 }
0085ce49
RD
15369 }
15370 {
15371 PyThreadState* __tstate = wxPyBeginAllowThreads();
15372 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 {
15377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15378 }
15379 {
15380 if (temp4)
15381 delete arg4;
15382 }
15383 {
15384 if (temp11)
15385 delete arg11;
15386 }
15387 return resultobj;
15388fail:
15389 {
15390 if (temp4)
15391 delete arg4;
15392 }
15393 {
15394 if (temp11)
15395 delete arg11;
15396 }
15397 return NULL;
d14a1e28
RD
15398}
15399
15400
0085ce49
RD
15401SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15402 PyObject *resultobj = 0;
15403 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15404 int result;
15405 void *argp1 = 0 ;
15406 int res1 = 0 ;
15407 PyObject *swig_obj[1] ;
15408
15409 if (!args) SWIG_fail;
15410 swig_obj[0] = args;
15411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15412 if (!SWIG_IsOK(res1)) {
15413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15414 }
15415 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 resultobj = SWIG_From_int(static_cast< int >(result));
15423 return resultobj;
15424fail:
15425 return NULL;
15426}
15427
15428
15429SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj = 0;
15431 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15432 int arg2 ;
15433 void *argp1 = 0 ;
15434 int res1 = 0 ;
15435 int val2 ;
15436 int ecode2 = 0 ;
15437 PyObject * obj0 = 0 ;
15438 PyObject * obj1 = 0 ;
15439 char * kwnames[] = {
15440 (char *) "self",(char *) "value", NULL
15441 };
15442
15443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15445 if (!SWIG_IsOK(res1)) {
15446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15447 }
15448 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15449 ecode2 = SWIG_AsVal_int(obj1, &val2);
15450 if (!SWIG_IsOK(ecode2)) {
15451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15452 }
15453 arg2 = static_cast< int >(val2);
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
15456 (arg1)->SetValue(arg2);
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 resultobj = SWIG_Py_Void();
15461 return resultobj;
15462fail:
15463 return NULL;
15464}
15465
15466
15467SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15468 PyObject *resultobj = 0;
15469 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15470 wxString *arg2 = 0 ;
15471 void *argp1 = 0 ;
15472 int res1 = 0 ;
15473 bool temp2 = false ;
15474 PyObject * obj0 = 0 ;
15475 PyObject * obj1 = 0 ;
15476 char * kwnames[] = {
15477 (char *) "self",(char *) "text", NULL
15478 };
15479
15480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15482 if (!SWIG_IsOK(res1)) {
15483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15484 }
15485 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15486 {
15487 arg2 = wxString_in_helper(obj1);
15488 if (arg2 == NULL) SWIG_fail;
15489 temp2 = true;
15490 }
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 (arg1)->SetValue((wxString const &)*arg2);
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 resultobj = SWIG_Py_Void();
15498 {
15499 if (temp2)
15500 delete arg2;
15501 }
15502 return resultobj;
15503fail:
15504 {
15505 if (temp2)
15506 delete arg2;
15507 }
15508 return NULL;
15509}
15510
15511
15512SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15513 PyObject *resultobj = 0;
15514 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15515 int arg2 ;
15516 int arg3 ;
15517 void *argp1 = 0 ;
15518 int res1 = 0 ;
15519 int val2 ;
15520 int ecode2 = 0 ;
15521 int val3 ;
15522 int ecode3 = 0 ;
15523 PyObject * obj0 = 0 ;
15524 PyObject * obj1 = 0 ;
15525 PyObject * obj2 = 0 ;
15526 char * kwnames[] = {
15527 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15528 };
15529
15530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15532 if (!SWIG_IsOK(res1)) {
15533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15534 }
15535 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15536 ecode2 = SWIG_AsVal_int(obj1, &val2);
15537 if (!SWIG_IsOK(ecode2)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15539 }
15540 arg2 = static_cast< int >(val2);
15541 ecode3 = SWIG_AsVal_int(obj2, &val3);
15542 if (!SWIG_IsOK(ecode3)) {
15543 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15544 }
15545 arg3 = static_cast< int >(val3);
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 (arg1)->SetRange(arg2,arg3);
15549 wxPyEndAllowThreads(__tstate);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 resultobj = SWIG_Py_Void();
15553 return resultobj;
15554fail:
15555 return NULL;
d14a1e28
RD
15556}
15557
15558
0085ce49
RD
15559SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15560 PyObject *resultobj = 0;
15561 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15562 int result;
15563 void *argp1 = 0 ;
15564 int res1 = 0 ;
15565 PyObject *swig_obj[1] ;
15566
15567 if (!args) SWIG_fail;
15568 swig_obj[0] = args;
15569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15570 if (!SWIG_IsOK(res1)) {
15571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15572 }
15573 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 resultobj = SWIG_From_int(static_cast< int >(result));
15581 return resultobj;
15582fail:
15583 return NULL;
d14a1e28
RD
15584}
15585
15586
0085ce49
RD
15587SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15588 PyObject *resultobj = 0;
15589 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15590 int result;
15591 void *argp1 = 0 ;
15592 int res1 = 0 ;
15593 PyObject *swig_obj[1] ;
15594
15595 if (!args) SWIG_fail;
15596 swig_obj[0] = args;
15597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15598 if (!SWIG_IsOK(res1)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15600 }
15601 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15608 resultobj = SWIG_From_int(static_cast< int >(result));
15609 return resultobj;
15610fail:
15611 return NULL;
15612}
15613
15614
15615SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15616 PyObject *resultobj = 0;
15617 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15618 long arg2 ;
15619 long arg3 ;
15620 void *argp1 = 0 ;
15621 int res1 = 0 ;
15622 long val2 ;
15623 int ecode2 = 0 ;
15624 long val3 ;
15625 int ecode3 = 0 ;
15626 PyObject * obj0 = 0 ;
15627 PyObject * obj1 = 0 ;
15628 PyObject * obj2 = 0 ;
15629 char * kwnames[] = {
2131d850 15630 (char *) "self",(char *) "from",(char *) "to", NULL
0085ce49
RD
15631 };
15632
15633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15635 if (!SWIG_IsOK(res1)) {
15636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15637 }
15638 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15639 ecode2 = SWIG_AsVal_long(obj1, &val2);
15640 if (!SWIG_IsOK(ecode2)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15642 }
15643 arg2 = static_cast< long >(val2);
15644 ecode3 = SWIG_AsVal_long(obj2, &val3);
15645 if (!SWIG_IsOK(ecode3)) {
15646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15647 }
15648 arg3 = static_cast< long >(val3);
15649 {
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 (arg1)->SetSelection(arg2,arg3);
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 resultobj = SWIG_Py_Void();
15656 return resultobj;
15657fail:
15658 return NULL;
15659}
15660
15661
15662SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj = 0;
15664 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15665 SwigValueWrapper<wxVisualAttributes > result;
15666 int val1 ;
15667 int ecode1 = 0 ;
15668 PyObject * obj0 = 0 ;
15669 char * kwnames[] = {
15670 (char *) "variant", NULL
15671 };
15672
15673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15674 if (obj0) {
15675 ecode1 = SWIG_AsVal_int(obj0, &val1);
15676 if (!SWIG_IsOK(ecode1)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15678 }
15679 arg1 = static_cast< wxWindowVariant >(val1);
15680 }
15681 {
15682 if (!wxPyCheckForApp()) SWIG_fail;
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
15688 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15689 return resultobj;
15690fail:
15691 return NULL;
d14a1e28
RD
15692}
15693
15694
0085ce49
RD
15695SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15696 PyObject *obj;
15697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15698 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15699 return SWIG_Py_Void();
d14a1e28
RD
15700}
15701
0085ce49
RD
15702SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15703 return SWIG_Python_InitShadowInstance(args);
15704}
d14a1e28 15705
0085ce49
RD
15706SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15707 PyObject *resultobj = 0;
15708 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15709 int arg2 = (int) 0 ;
15710 wxSpinEvent *result = 0 ;
15711 int val1 ;
15712 int ecode1 = 0 ;
15713 int val2 ;
15714 int ecode2 = 0 ;
15715 PyObject * obj0 = 0 ;
15716 PyObject * obj1 = 0 ;
15717 char * kwnames[] = {
15718 (char *) "commandType",(char *) "winid", NULL
15719 };
15720
15721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15722 if (obj0) {
15723 ecode1 = SWIG_AsVal_int(obj0, &val1);
15724 if (!SWIG_IsOK(ecode1)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15726 }
15727 arg1 = static_cast< wxEventType >(val1);
15728 }
15729 if (obj1) {
15730 ecode2 = SWIG_AsVal_int(obj1, &val2);
15731 if (!SWIG_IsOK(ecode2)) {
15732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15733 }
15734 arg2 = static_cast< int >(val2);
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15743 return resultobj;
15744fail:
15745 return NULL;
d14a1e28
RD
15746}
15747
15748
0085ce49
RD
15749SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15750 PyObject *resultobj = 0;
15751 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15752 int result;
15753 void *argp1 = 0 ;
15754 int res1 = 0 ;
15755 PyObject *swig_obj[1] ;
15756
15757 if (!args) SWIG_fail;
15758 swig_obj[0] = args;
15759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15760 if (!SWIG_IsOK(res1)) {
15761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15762 }
15763 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 resultobj = SWIG_From_int(static_cast< int >(result));
15771 return resultobj;
15772fail:
15773 return NULL;
15774}
15775
15776
15777SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15778 PyObject *resultobj = 0;
15779 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
15780 int arg2 ;
15781 void *argp1 = 0 ;
15782 int res1 = 0 ;
15783 int val2 ;
15784 int ecode2 = 0 ;
15785 PyObject * obj0 = 0 ;
15786 PyObject * obj1 = 0 ;
15787 char * kwnames[] = {
15788 (char *) "self",(char *) "pos", NULL
15789 };
15790
15791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
15792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
15793 if (!SWIG_IsOK(res1)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15795 }
15796 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
15797 ecode2 = SWIG_AsVal_int(obj1, &val2);
15798 if (!SWIG_IsOK(ecode2)) {
15799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15800 }
15801 arg2 = static_cast< int >(val2);
15802 {
15803 PyThreadState* __tstate = wxPyBeginAllowThreads();
15804 (arg1)->SetPosition(arg2);
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 resultobj = SWIG_Py_Void();
15809 return resultobj;
15810fail:
15811 return NULL;
d14a1e28
RD
15812}
15813
15814
0085ce49
RD
15815SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15816 PyObject *obj;
15817 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15818 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
15819 return SWIG_Py_Void();
15820}
15821
15822SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15823 return SWIG_Python_InitShadowInstance(args);
15824}
15825
15826SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
15827 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
15828 return 1;
15829}
15830
15831
15832SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
15833 PyObject *pyobj = 0;
15834
15835 {
d14a1e28 15836#if wxUSE_UNICODE
0085ce49 15837 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
d14a1e28 15838#else
0085ce49 15839 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
d14a1e28 15840#endif
0085ce49
RD
15841 }
15842 return pyobj;
d14a1e28
RD
15843}
15844
15845
0085ce49
RD
15846SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
15847 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
15848 return 1;
d14a1e28
RD
15849}
15850
15851
0085ce49
RD
15852SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
15853 PyObject *pyobj = 0;
15854
15855 {
15856#if wxUSE_UNICODE
15857 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15858#else
15859 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
15860#endif
15861 }
15862 return pyobj;
15863}
15864
15865
15866SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj = 0;
15868 wxWindow *arg1 = (wxWindow *) 0 ;
15869 int arg2 = (int) -1 ;
15870 wxString const &arg3_defvalue = wxPyEmptyString ;
15871 wxString *arg3 = (wxString *) &arg3_defvalue ;
15872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15874 wxSize const &arg5_defvalue = wxDefaultSize ;
15875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15876 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15877 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15878 int arg7 = (int) 0 ;
15879 long arg8 = (long) wxRA_HORIZONTAL ;
15880 wxValidator const &arg9_defvalue = wxDefaultValidator ;
15881 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
15882 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
15883 wxString *arg10 = (wxString *) &arg10_defvalue ;
15884 wxRadioBox *result = 0 ;
15885 void *argp1 = 0 ;
15886 int res1 = 0 ;
15887 int val2 ;
15888 int ecode2 = 0 ;
15889 bool temp3 = false ;
15890 wxPoint temp4 ;
15891 wxSize temp5 ;
15892 bool temp6 = false ;
15893 int val7 ;
15894 int ecode7 = 0 ;
15895 long val8 ;
15896 int ecode8 = 0 ;
15897 void *argp9 = 0 ;
15898 int res9 = 0 ;
15899 bool temp10 = false ;
15900 PyObject * obj0 = 0 ;
15901 PyObject * obj1 = 0 ;
15902 PyObject * obj2 = 0 ;
15903 PyObject * obj3 = 0 ;
15904 PyObject * obj4 = 0 ;
15905 PyObject * obj5 = 0 ;
15906 PyObject * obj6 = 0 ;
15907 PyObject * obj7 = 0 ;
15908 PyObject * obj8 = 0 ;
15909 PyObject * obj9 = 0 ;
15910 char * kwnames[] = {
15911 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15912 };
15913
15914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15916 if (!SWIG_IsOK(res1)) {
15917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15918 }
15919 arg1 = reinterpret_cast< wxWindow * >(argp1);
15920 if (obj1) {
15921 ecode2 = SWIG_AsVal_int(obj1, &val2);
15922 if (!SWIG_IsOK(ecode2)) {
15923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15924 }
15925 arg2 = static_cast< int >(val2);
15926 }
15927 if (obj2) {
093d3ff1 15928 {
0085ce49
RD
15929 arg3 = wxString_in_helper(obj2);
15930 if (arg3 == NULL) SWIG_fail;
15931 temp3 = true;
093d3ff1 15932 }
0085ce49
RD
15933 }
15934 if (obj3) {
093d3ff1 15935 {
0085ce49
RD
15936 arg4 = &temp4;
15937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15938 }
0085ce49
RD
15939 }
15940 if (obj4) {
d14a1e28 15941 {
0085ce49
RD
15942 arg5 = &temp5;
15943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15944 }
0085ce49
RD
15945 }
15946 if (obj5) {
d14a1e28 15947 {
0085ce49
RD
15948 if (! PySequence_Check(obj5)) {
15949 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15950 SWIG_fail;
15951 }
15952 arg6 = new wxArrayString;
15953 temp6 = true;
15954 int i, len=PySequence_Length(obj5);
15955 for (i=0; i<len; i++) {
15956 PyObject* item = PySequence_GetItem(obj5, i);
15957 wxString* s = wxString_in_helper(item);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 arg6->Add(*s);
15960 delete s;
15961 Py_DECREF(item);
15962 }
d14a1e28 15963 }
0085ce49
RD
15964 }
15965 if (obj6) {
15966 ecode7 = SWIG_AsVal_int(obj6, &val7);
15967 if (!SWIG_IsOK(ecode7)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
15969 }
15970 arg7 = static_cast< int >(val7);
15971 }
15972 if (obj7) {
15973 ecode8 = SWIG_AsVal_long(obj7, &val8);
15974 if (!SWIG_IsOK(ecode8)) {
15975 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
15976 }
15977 arg8 = static_cast< long >(val8);
15978 }
15979 if (obj8) {
15980 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
15981 if (!SWIG_IsOK(res9)) {
15982 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
15983 }
15984 if (!argp9) {
15985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 15986 }
0085ce49
RD
15987 arg9 = reinterpret_cast< wxValidator * >(argp9);
15988 }
15989 if (obj9) {
d14a1e28 15990 {
0085ce49
RD
15991 arg10 = wxString_in_helper(obj9);
15992 if (arg10 == NULL) SWIG_fail;
15993 temp10 = true;
d14a1e28 15994 }
0085ce49
RD
15995 }
15996 {
15997 if (!wxPyCheckForApp()) SWIG_fail;
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 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);
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16004 {
16005 if (temp3)
16006 delete arg3;
16007 }
16008 {
16009 if (temp6) delete arg6;
16010 }
16011 {
16012 if (temp10)
16013 delete arg10;
16014 }
16015 return resultobj;
16016fail:
16017 {
16018 if (temp3)
16019 delete arg3;
16020 }
16021 {
16022 if (temp6) delete arg6;
16023 }
16024 {
16025 if (temp10)
16026 delete arg10;
16027 }
16028 return NULL;
d14a1e28
RD
16029}
16030
16031
0085ce49
RD
16032SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16033 PyObject *resultobj = 0;
16034 wxRadioBox *result = 0 ;
16035
16036 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16037 {
16038 if (!wxPyCheckForApp()) SWIG_fail;
16039 PyThreadState* __tstate = wxPyBeginAllowThreads();
16040 result = (wxRadioBox *)new wxRadioBox();
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16045 return resultobj;
16046fail:
16047 return NULL;
16048}
16049
16050
16051SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj = 0;
16053 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16054 wxWindow *arg2 = (wxWindow *) 0 ;
16055 int arg3 = (int) -1 ;
16056 wxString const &arg4_defvalue = wxPyEmptyString ;
16057 wxString *arg4 = (wxString *) &arg4_defvalue ;
16058 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16059 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16060 wxSize const &arg6_defvalue = wxDefaultSize ;
16061 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16062 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16063 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16064 int arg8 = (int) 0 ;
16065 long arg9 = (long) wxRA_HORIZONTAL ;
16066 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16067 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16068 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16069 wxString *arg11 = (wxString *) &arg11_defvalue ;
16070 bool result;
16071 void *argp1 = 0 ;
16072 int res1 = 0 ;
16073 void *argp2 = 0 ;
16074 int res2 = 0 ;
16075 int val3 ;
16076 int ecode3 = 0 ;
16077 bool temp4 = false ;
16078 wxPoint temp5 ;
16079 wxSize temp6 ;
16080 bool temp7 = false ;
16081 int val8 ;
16082 int ecode8 = 0 ;
16083 long val9 ;
16084 int ecode9 = 0 ;
16085 void *argp10 = 0 ;
16086 int res10 = 0 ;
16087 bool temp11 = false ;
16088 PyObject * obj0 = 0 ;
16089 PyObject * obj1 = 0 ;
16090 PyObject * obj2 = 0 ;
16091 PyObject * obj3 = 0 ;
16092 PyObject * obj4 = 0 ;
16093 PyObject * obj5 = 0 ;
16094 PyObject * obj6 = 0 ;
16095 PyObject * obj7 = 0 ;
16096 PyObject * obj8 = 0 ;
16097 PyObject * obj9 = 0 ;
16098 PyObject * obj10 = 0 ;
16099 char * kwnames[] = {
16100 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16101 };
16102
16103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16105 if (!SWIG_IsOK(res1)) {
16106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16107 }
16108 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16109 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16110 if (!SWIG_IsOK(res2)) {
16111 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16112 }
16113 arg2 = reinterpret_cast< wxWindow * >(argp2);
16114 if (obj2) {
16115 ecode3 = SWIG_AsVal_int(obj2, &val3);
16116 if (!SWIG_IsOK(ecode3)) {
16117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16118 }
16119 arg3 = static_cast< int >(val3);
16120 }
16121 if (obj3) {
093d3ff1 16122 {
0085ce49
RD
16123 arg4 = wxString_in_helper(obj3);
16124 if (arg4 == NULL) SWIG_fail;
16125 temp4 = true;
093d3ff1 16126 }
0085ce49
RD
16127 }
16128 if (obj4) {
d14a1e28 16129 {
0085ce49
RD
16130 arg5 = &temp5;
16131 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16132 }
0085ce49
RD
16133 }
16134 if (obj5) {
d14a1e28 16135 {
0085ce49
RD
16136 arg6 = &temp6;
16137 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 16138 }
0085ce49
RD
16139 }
16140 if (obj6) {
d14a1e28 16141 {
0085ce49
RD
16142 if (! PySequence_Check(obj6)) {
16143 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16144 SWIG_fail;
16145 }
16146 arg7 = new wxArrayString;
16147 temp7 = true;
16148 int i, len=PySequence_Length(obj6);
16149 for (i=0; i<len; i++) {
16150 PyObject* item = PySequence_GetItem(obj6, i);
16151 wxString* s = wxString_in_helper(item);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 arg7->Add(*s);
16154 delete s;
16155 Py_DECREF(item);
16156 }
d14a1e28 16157 }
0085ce49
RD
16158 }
16159 if (obj7) {
16160 ecode8 = SWIG_AsVal_int(obj7, &val8);
16161 if (!SWIG_IsOK(ecode8)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16163 }
16164 arg8 = static_cast< int >(val8);
16165 }
16166 if (obj8) {
16167 ecode9 = SWIG_AsVal_long(obj8, &val9);
16168 if (!SWIG_IsOK(ecode9)) {
16169 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16170 }
16171 arg9 = static_cast< long >(val9);
16172 }
16173 if (obj9) {
16174 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16175 if (!SWIG_IsOK(res10)) {
16176 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
4f89f6a3 16177 }
0085ce49
RD
16178 if (!argp10) {
16179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 16180 }
0085ce49
RD
16181 arg10 = reinterpret_cast< wxValidator * >(argp10);
16182 }
16183 if (obj10) {
d14a1e28 16184 {
0085ce49
RD
16185 arg11 = wxString_in_helper(obj10);
16186 if (arg11 == NULL) SWIG_fail;
16187 temp11 = true;
d14a1e28 16188 }
0085ce49
RD
16189 }
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 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);
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 {
16197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16198 }
16199 {
16200 if (temp4)
16201 delete arg4;
16202 }
16203 {
16204 if (temp7) delete arg7;
16205 }
16206 {
16207 if (temp11)
16208 delete arg11;
16209 }
16210 return resultobj;
16211fail:
16212 {
16213 if (temp4)
16214 delete arg4;
16215 }
16216 {
16217 if (temp7) delete arg7;
16218 }
16219 {
16220 if (temp11)
16221 delete arg11;
16222 }
16223 return NULL;
16224}
16225
16226
16227SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj = 0;
16229 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16230 int arg2 ;
16231 void *argp1 = 0 ;
16232 int res1 = 0 ;
16233 int val2 ;
16234 int ecode2 = 0 ;
16235 PyObject * obj0 = 0 ;
16236 PyObject * obj1 = 0 ;
16237 char * kwnames[] = {
16238 (char *) "self",(char *) "n", NULL
16239 };
16240
16241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16243 if (!SWIG_IsOK(res1)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16245 }
16246 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16247 ecode2 = SWIG_AsVal_int(obj1, &val2);
16248 if (!SWIG_IsOK(ecode2)) {
16249 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16250 }
16251 arg2 = static_cast< int >(val2);
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 (arg1)->SetSelection(arg2);
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 resultobj = SWIG_Py_Void();
16259 return resultobj;
16260fail:
16261 return NULL;
d14a1e28
RD
16262}
16263
16264
0085ce49
RD
16265SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16266 PyObject *resultobj = 0;
16267 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16268 int result;
16269 void *argp1 = 0 ;
16270 int res1 = 0 ;
16271 PyObject *swig_obj[1] ;
16272
16273 if (!args) SWIG_fail;
16274 swig_obj[0] = args;
16275 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16276 if (!SWIG_IsOK(res1)) {
16277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16278 }
16279 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 resultobj = SWIG_From_int(static_cast< int >(result));
16287 return resultobj;
16288fail:
16289 return NULL;
d14a1e28
RD
16290}
16291
16292
0085ce49
RD
16293SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16294 PyObject *resultobj = 0;
16295 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16296 wxString result;
16297 void *argp1 = 0 ;
16298 int res1 = 0 ;
16299 PyObject *swig_obj[1] ;
16300
16301 if (!args) SWIG_fail;
16302 swig_obj[0] = args;
16303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16304 if (!SWIG_IsOK(res1)) {
16305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16306 }
16307 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16308 {
16309 PyThreadState* __tstate = wxPyBeginAllowThreads();
16310 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16311 wxPyEndAllowThreads(__tstate);
16312 if (PyErr_Occurred()) SWIG_fail;
16313 }
16314 {
16315#if wxUSE_UNICODE
16316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16317#else
16318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16319#endif
16320 }
16321 return resultobj;
16322fail:
16323 return NULL;
16324}
16325
16326
16327SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj = 0;
16329 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16330 wxString *arg2 = 0 ;
16331 bool result;
16332 void *argp1 = 0 ;
16333 int res1 = 0 ;
16334 bool temp2 = false ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj1 = 0 ;
16337 char * kwnames[] = {
16338 (char *) "self",(char *) "s", NULL
16339 };
16340
16341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16343 if (!SWIG_IsOK(res1)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16345 }
16346 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16347 {
16348 arg2 = wxString_in_helper(obj1);
16349 if (arg2 == NULL) SWIG_fail;
16350 temp2 = true;
16351 }
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 {
16359 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16360 }
16361 {
16362 if (temp2)
16363 delete arg2;
16364 }
16365 return resultobj;
16366fail:
16367 {
16368 if (temp2)
16369 delete arg2;
16370 }
16371 return NULL;
d14a1e28
RD
16372}
16373
16374
0085ce49
RD
16375SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16376 PyObject *resultobj = 0;
16377 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
75219dcb 16378 size_t result;
0085ce49
RD
16379 void *argp1 = 0 ;
16380 int res1 = 0 ;
16381 PyObject *swig_obj[1] ;
16382
16383 if (!args) SWIG_fail;
16384 swig_obj[0] = args;
16385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16386 if (!SWIG_IsOK(res1)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16388 }
16389 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
75219dcb 16392 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
0085ce49
RD
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
75219dcb 16396 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
16397 return resultobj;
16398fail:
16399 return NULL;
16400}
16401
16402
16403SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16404 PyObject *resultobj = 0;
16405 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16406 wxString *arg2 = 0 ;
16407 int result;
16408 void *argp1 = 0 ;
16409 int res1 = 0 ;
16410 bool temp2 = false ;
16411 PyObject * obj0 = 0 ;
16412 PyObject * obj1 = 0 ;
16413 char * kwnames[] = {
16414 (char *) "self",(char *) "s", NULL
16415 };
16416
16417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16419 if (!SWIG_IsOK(res1)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16421 }
16422 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16423 {
16424 arg2 = wxString_in_helper(obj1);
16425 if (arg2 == NULL) SWIG_fail;
16426 temp2 = true;
16427 }
16428 {
16429 PyThreadState* __tstate = wxPyBeginAllowThreads();
16430 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16431 wxPyEndAllowThreads(__tstate);
16432 if (PyErr_Occurred()) SWIG_fail;
16433 }
16434 resultobj = SWIG_From_int(static_cast< int >(result));
16435 {
16436 if (temp2)
16437 delete arg2;
16438 }
16439 return resultobj;
16440fail:
16441 {
16442 if (temp2)
16443 delete arg2;
16444 }
16445 return NULL;
16446}
16447
16448
16449SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj = 0;
16451 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16452 int arg2 ;
16453 wxString result;
16454 void *argp1 = 0 ;
16455 int res1 = 0 ;
16456 int val2 ;
16457 int ecode2 = 0 ;
16458 PyObject * obj0 = 0 ;
16459 PyObject * obj1 = 0 ;
16460 char * kwnames[] = {
16461 (char *) "self",(char *) "n", NULL
16462 };
16463
16464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16466 if (!SWIG_IsOK(res1)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16468 }
16469 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16470 ecode2 = SWIG_AsVal_int(obj1, &val2);
16471 if (!SWIG_IsOK(ecode2)) {
16472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16473 }
16474 arg2 = static_cast< int >(val2);
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16478 wxPyEndAllowThreads(__tstate);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 }
16481 {
16482#if wxUSE_UNICODE
16483 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16484#else
16485 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16486#endif
16487 }
16488 return resultobj;
16489fail:
16490 return NULL;
16491}
16492
16493
16494SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16495 PyObject *resultobj = 0;
16496 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16497 int arg2 ;
16498 wxString *arg3 = 0 ;
16499 void *argp1 = 0 ;
16500 int res1 = 0 ;
16501 int val2 ;
16502 int ecode2 = 0 ;
16503 bool temp3 = false ;
16504 PyObject * obj0 = 0 ;
16505 PyObject * obj1 = 0 ;
16506 PyObject * obj2 = 0 ;
16507 char * kwnames[] = {
16508 (char *) "self",(char *) "n",(char *) "label", NULL
16509 };
16510
16511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16513 if (!SWIG_IsOK(res1)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16515 }
16516 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16517 ecode2 = SWIG_AsVal_int(obj1, &val2);
16518 if (!SWIG_IsOK(ecode2)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16520 }
16521 arg2 = static_cast< int >(val2);
16522 {
16523 arg3 = wxString_in_helper(obj2);
16524 if (arg3 == NULL) SWIG_fail;
16525 temp3 = true;
16526 }
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 (arg1)->SetString(arg2,(wxString const &)*arg3);
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_Py_Void();
16534 {
16535 if (temp3)
16536 delete arg3;
16537 }
16538 return resultobj;
16539fail:
16540 {
16541 if (temp3)
16542 delete arg3;
16543 }
16544 return NULL;
16545}
16546
16547
16548SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj = 0;
16550 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16551 unsigned int arg2 ;
0085ce49
RD
16552 bool arg3 = (bool) true ;
16553 void *argp1 = 0 ;
16554 int res1 = 0 ;
50f151d7 16555 unsigned int val2 ;
0085ce49
RD
16556 int ecode2 = 0 ;
16557 bool val3 ;
16558 int ecode3 = 0 ;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 PyObject * obj2 = 0 ;
16562 char * kwnames[] = {
16563 (char *) "self",(char *) "n",(char *) "enable", NULL
16564 };
16565
16566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16568 if (!SWIG_IsOK(res1)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16570 }
16571 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16572 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 16573 if (!SWIG_IsOK(ecode2)) {
50f151d7 16574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 16575 }
50f151d7 16576 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
16577 if (obj2) {
16578 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16579 if (!SWIG_IsOK(ecode3)) {
16580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16581 }
16582 arg3 = static_cast< bool >(val3);
16583 }
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 (arg1)->Enable(arg2,arg3);
16587 wxPyEndAllowThreads(__tstate);
16588 if (PyErr_Occurred()) SWIG_fail;
16589 }
16590 resultobj = SWIG_Py_Void();
16591 return resultobj;
16592fail:
16593 return NULL;
16594}
16595
16596
16597SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj = 0;
16599 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16600 unsigned int arg2 ;
0085ce49
RD
16601 bool arg3 = (bool) true ;
16602 void *argp1 = 0 ;
16603 int res1 = 0 ;
50f151d7 16604 unsigned int val2 ;
0085ce49
RD
16605 int ecode2 = 0 ;
16606 bool val3 ;
16607 int ecode3 = 0 ;
16608 PyObject * obj0 = 0 ;
16609 PyObject * obj1 = 0 ;
16610 PyObject * obj2 = 0 ;
16611 char * kwnames[] = {
16612 (char *) "self",(char *) "n",(char *) "show", NULL
16613 };
16614
16615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16617 if (!SWIG_IsOK(res1)) {
16618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16619 }
16620 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16621 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 16622 if (!SWIG_IsOK(ecode2)) {
50f151d7 16623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 16624 }
50f151d7 16625 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
16626 if (obj2) {
16627 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16628 if (!SWIG_IsOK(ecode3)) {
16629 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16630 }
16631 arg3 = static_cast< bool >(val3);
16632 }
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 (arg1)->Show(arg2,arg3);
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 resultobj = SWIG_Py_Void();
16640 return resultobj;
16641fail:
16642 return NULL;
d14a1e28
RD
16643}
16644
16645
50f151d7
RD
16646SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj = 0;
16648 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16649 unsigned int arg2 ;
16650 bool result;
16651 void *argp1 = 0 ;
16652 int res1 = 0 ;
16653 unsigned int val2 ;
16654 int ecode2 = 0 ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 char * kwnames[] = {
16658 (char *) "self",(char *) "n", NULL
16659 };
16660
16661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
16662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16663 if (!SWIG_IsOK(res1)) {
16664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16665 }
16666 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16667 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16668 if (!SWIG_IsOK(ecode2)) {
16669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16670 }
16671 arg2 = static_cast< unsigned int >(val2);
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16675 wxPyEndAllowThreads(__tstate);
16676 if (PyErr_Occurred()) SWIG_fail;
16677 }
16678 {
16679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16680 }
16681 return resultobj;
16682fail:
16683 return NULL;
16684}
16685
16686
16687SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj = 0;
16689 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16690 unsigned int arg2 ;
16691 bool result;
16692 void *argp1 = 0 ;
16693 int res1 = 0 ;
16694 unsigned int val2 ;
16695 int ecode2 = 0 ;
16696 PyObject * obj0 = 0 ;
16697 PyObject * obj1 = 0 ;
16698 char * kwnames[] = {
16699 (char *) "self",(char *) "n", NULL
16700 };
16701
16702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16704 if (!SWIG_IsOK(res1)) {
16705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16706 }
16707 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16708 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16709 if (!SWIG_IsOK(ecode2)) {
16710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16711 }
16712 arg2 = static_cast< unsigned int >(val2);
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16721 }
16722 return resultobj;
16723fail:
16724 return NULL;
16725}
16726
16727
0085ce49
RD
16728SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16729 PyObject *resultobj = 0;
16730 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16731 unsigned int result;
0085ce49
RD
16732 void *argp1 = 0 ;
16733 int res1 = 0 ;
16734 PyObject *swig_obj[1] ;
16735
16736 if (!args) SWIG_fail;
16737 swig_obj[0] = args;
16738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16739 if (!SWIG_IsOK(res1)) {
16740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16741 }
16742 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16745 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
0085ce49
RD
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
50f151d7 16749 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
16750 return resultobj;
16751fail:
16752 return NULL;
d14a1e28
RD
16753}
16754
16755
0085ce49
RD
16756SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16757 PyObject *resultobj = 0;
16758 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16759 unsigned int result;
0085ce49
RD
16760 void *argp1 = 0 ;
16761 int res1 = 0 ;
16762 PyObject *swig_obj[1] ;
16763
16764 if (!args) SWIG_fail;
16765 swig_obj[0] = args;
16766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16767 if (!SWIG_IsOK(res1)) {
16768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16769 }
16770 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16773 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
0085ce49
RD
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
50f151d7 16777 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
16778 return resultobj;
16779fail:
16780 return NULL;
16781}
16782
16783
16784SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj = 0;
16786 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16787 int arg2 ;
16788 wxDirection arg3 ;
16789 long arg4 ;
16790 int result;
16791 void *argp1 = 0 ;
16792 int res1 = 0 ;
16793 int val2 ;
16794 int ecode2 = 0 ;
16795 int val3 ;
16796 int ecode3 = 0 ;
16797 long val4 ;
16798 int ecode4 = 0 ;
16799 PyObject * obj0 = 0 ;
16800 PyObject * obj1 = 0 ;
16801 PyObject * obj2 = 0 ;
16802 PyObject * obj3 = 0 ;
16803 char * kwnames[] = {
16804 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16805 };
16806
16807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16809 if (!SWIG_IsOK(res1)) {
16810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16811 }
16812 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16813 ecode2 = SWIG_AsVal_int(obj1, &val2);
16814 if (!SWIG_IsOK(ecode2)) {
16815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16816 }
16817 arg2 = static_cast< int >(val2);
16818 ecode3 = SWIG_AsVal_int(obj2, &val3);
16819 if (!SWIG_IsOK(ecode3)) {
16820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16821 }
16822 arg3 = static_cast< wxDirection >(val3);
16823 ecode4 = SWIG_AsVal_long(obj3, &val4);
16824 if (!SWIG_IsOK(ecode4)) {
16825 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16826 }
16827 arg4 = static_cast< long >(val4);
16828 {
16829 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16830 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
0085ce49
RD
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 resultobj = SWIG_From_int(static_cast< int >(result));
16835 return resultobj;
16836fail:
16837 return NULL;
16838}
16839
16840
01f6b6d3
RD
16841SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj = 0;
16843 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16844 unsigned int arg2 ;
16845 wxString *arg3 = 0 ;
16846 void *argp1 = 0 ;
16847 int res1 = 0 ;
16848 unsigned int val2 ;
16849 int ecode2 = 0 ;
16850 bool temp3 = false ;
16851 PyObject * obj0 = 0 ;
16852 PyObject * obj1 = 0 ;
16853 PyObject * obj2 = 0 ;
16854 char * kwnames[] = {
16855 (char *) "self",(char *) "item",(char *) "text", NULL
16856 };
16857
16858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16860 if (!SWIG_IsOK(res1)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16862 }
16863 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16864 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16865 if (!SWIG_IsOK(ecode2)) {
16866 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16867 }
16868 arg2 = static_cast< unsigned int >(val2);
16869 {
16870 arg3 = wxString_in_helper(obj2);
16871 if (arg3 == NULL) SWIG_fail;
16872 temp3 = true;
16873 }
16874 {
16875 PyThreadState* __tstate = wxPyBeginAllowThreads();
16876 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = SWIG_Py_Void();
16881 {
16882 if (temp3)
16883 delete arg3;
16884 }
16885 return resultobj;
16886fail:
16887 {
16888 if (temp3)
16889 delete arg3;
16890 }
16891 return NULL;
16892}
16893
16894
16895SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16896 PyObject *resultobj = 0;
16897 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16898 unsigned int arg2 ;
16899 wxToolTip *result = 0 ;
16900 void *argp1 = 0 ;
16901 int res1 = 0 ;
16902 unsigned int val2 ;
16903 int ecode2 = 0 ;
16904 PyObject * obj0 = 0 ;
16905 PyObject * obj1 = 0 ;
16906 char * kwnames[] = {
16907 (char *) "self",(char *) "item", NULL
16908 };
16909
16910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
16911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16912 if (!SWIG_IsOK(res1)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16914 }
16915 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16916 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16917 if (!SWIG_IsOK(ecode2)) {
16918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16919 }
16920 arg2 = static_cast< unsigned int >(val2);
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 resultobj = wxPyMake_wxObject(result, (bool)0);
16929 }
16930 return resultobj;
16931fail:
16932 return NULL;
16933}
16934
16935
b850e7f3
RD
16936SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj = 0;
16938 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16939 unsigned int arg2 ;
16940 wxString *arg3 = 0 ;
16941 void *argp1 = 0 ;
16942 int res1 = 0 ;
16943 unsigned int val2 ;
16944 int ecode2 = 0 ;
16945 bool temp3 = false ;
16946 PyObject * obj0 = 0 ;
16947 PyObject * obj1 = 0 ;
16948 PyObject * obj2 = 0 ;
16949 char * kwnames[] = {
16950 (char *) "self",(char *) "n",(char *) "helpText", NULL
16951 };
16952
16953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16957 }
16958 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16959 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16960 if (!SWIG_IsOK(ecode2)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
16962 }
16963 arg2 = static_cast< unsigned int >(val2);
16964 {
16965 arg3 = wxString_in_helper(obj2);
16966 if (arg3 == NULL) SWIG_fail;
16967 temp3 = true;
16968 }
16969 {
16970 PyThreadState* __tstate = wxPyBeginAllowThreads();
16971 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 resultobj = SWIG_Py_Void();
16976 {
16977 if (temp3)
16978 delete arg3;
16979 }
16980 return resultobj;
16981fail:
16982 {
16983 if (temp3)
16984 delete arg3;
16985 }
16986 return NULL;
16987}
16988
16989
16990SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16991 PyObject *resultobj = 0;
16992 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16993 unsigned int arg2 ;
16994 wxString result;
16995 void *argp1 = 0 ;
16996 int res1 = 0 ;
16997 unsigned int val2 ;
16998 int ecode2 = 0 ;
16999 PyObject * obj0 = 0 ;
17000 PyObject * obj1 = 0 ;
17001 char * kwnames[] = {
17002 (char *) "self",(char *) "n", NULL
17003 };
17004
17005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17007 if (!SWIG_IsOK(res1)) {
17008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17009 }
17010 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17011 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17012 if (!SWIG_IsOK(ecode2)) {
17013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17014 }
17015 arg2 = static_cast< unsigned int >(val2);
17016 {
17017 PyThreadState* __tstate = wxPyBeginAllowThreads();
17018 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17019 wxPyEndAllowThreads(__tstate);
17020 if (PyErr_Occurred()) SWIG_fail;
17021 }
17022 {
17023#if wxUSE_UNICODE
17024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17025#else
17026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17027#endif
17028 }
17029 return resultobj;
17030fail:
17031 return NULL;
17032}
17033
17034
0085ce49
RD
17035SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj = 0;
17037 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17038 SwigValueWrapper<wxVisualAttributes > result;
17039 int val1 ;
17040 int ecode1 = 0 ;
17041 PyObject * obj0 = 0 ;
17042 char * kwnames[] = {
17043 (char *) "variant", NULL
17044 };
17045
17046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17047 if (obj0) {
17048 ecode1 = SWIG_AsVal_int(obj0, &val1);
17049 if (!SWIG_IsOK(ecode1)) {
17050 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17051 }
17052 arg1 = static_cast< wxWindowVariant >(val1);
17053 }
17054 {
17055 if (!wxPyCheckForApp()) SWIG_fail;
17056 PyThreadState* __tstate = wxPyBeginAllowThreads();
17057 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17062 return resultobj;
17063fail:
17064 return NULL;
17065}
17066
17067
17068SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17069 PyObject *obj;
17070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17071 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17072 return SWIG_Py_Void();
17073}
17074
17075SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17076 return SWIG_Python_InitShadowInstance(args);
17077}
17078
17079SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17080 PyObject *resultobj = 0;
17081 wxWindow *arg1 = (wxWindow *) 0 ;
17082 int arg2 = (int) -1 ;
17083 wxString const &arg3_defvalue = wxPyEmptyString ;
17084 wxString *arg3 = (wxString *) &arg3_defvalue ;
17085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17087 wxSize const &arg5_defvalue = wxDefaultSize ;
17088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17089 long arg6 = (long) 0 ;
17090 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17091 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17092 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17093 wxString *arg8 = (wxString *) &arg8_defvalue ;
17094 wxRadioButton *result = 0 ;
17095 void *argp1 = 0 ;
17096 int res1 = 0 ;
17097 int val2 ;
17098 int ecode2 = 0 ;
17099 bool temp3 = false ;
17100 wxPoint temp4 ;
17101 wxSize temp5 ;
17102 long val6 ;
17103 int ecode6 = 0 ;
17104 void *argp7 = 0 ;
17105 int res7 = 0 ;
17106 bool temp8 = false ;
17107 PyObject * obj0 = 0 ;
17108 PyObject * obj1 = 0 ;
17109 PyObject * obj2 = 0 ;
17110 PyObject * obj3 = 0 ;
17111 PyObject * obj4 = 0 ;
17112 PyObject * obj5 = 0 ;
17113 PyObject * obj6 = 0 ;
17114 PyObject * obj7 = 0 ;
17115 char * kwnames[] = {
17116 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17117 };
17118
17119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17121 if (!SWIG_IsOK(res1)) {
17122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17123 }
17124 arg1 = reinterpret_cast< wxWindow * >(argp1);
17125 if (obj1) {
17126 ecode2 = SWIG_AsVal_int(obj1, &val2);
17127 if (!SWIG_IsOK(ecode2)) {
17128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17129 }
17130 arg2 = static_cast< int >(val2);
17131 }
17132 if (obj2) {
d14a1e28 17133 {
0085ce49
RD
17134 arg3 = wxString_in_helper(obj2);
17135 if (arg3 == NULL) SWIG_fail;
17136 temp3 = true;
d14a1e28 17137 }
0085ce49
RD
17138 }
17139 if (obj3) {
d14a1e28 17140 {
0085ce49
RD
17141 arg4 = &temp4;
17142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 17143 }
0085ce49
RD
17144 }
17145 if (obj4) {
d14a1e28 17146 {
0085ce49
RD
17147 arg5 = &temp5;
17148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17149 }
17150 }
17151 if (obj5) {
17152 ecode6 = SWIG_AsVal_long(obj5, &val6);
17153 if (!SWIG_IsOK(ecode6)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17155 }
17156 arg6 = static_cast< long >(val6);
17157 }
17158 if (obj6) {
17159 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17160 if (!SWIG_IsOK(res7)) {
17161 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 17162 }
0085ce49
RD
17163 if (!argp7) {
17164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17165 }
17166 arg7 = reinterpret_cast< wxValidator * >(argp7);
17167 }
17168 if (obj7) {
d14a1e28 17169 {
0085ce49
RD
17170 arg8 = wxString_in_helper(obj7);
17171 if (arg8 == NULL) SWIG_fail;
17172 temp8 = true;
d14a1e28 17173 }
0085ce49
RD
17174 }
17175 {
17176 if (!wxPyCheckForApp()) SWIG_fail;
17177 PyThreadState* __tstate = wxPyBeginAllowThreads();
17178 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17183 {
17184 if (temp3)
17185 delete arg3;
17186 }
17187 {
17188 if (temp8)
17189 delete arg8;
17190 }
17191 return resultobj;
17192fail:
17193 {
17194 if (temp3)
17195 delete arg3;
17196 }
17197 {
17198 if (temp8)
17199 delete arg8;
17200 }
17201 return NULL;
d14a1e28
RD
17202}
17203
17204
0085ce49
RD
17205SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17206 PyObject *resultobj = 0;
17207 wxRadioButton *result = 0 ;
17208
17209 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17210 {
17211 if (!wxPyCheckForApp()) SWIG_fail;
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (wxRadioButton *)new wxRadioButton();
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
17217 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17218 return resultobj;
17219fail:
17220 return NULL;
17221}
17222
17223
17224SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17225 PyObject *resultobj = 0;
17226 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17227 wxWindow *arg2 = (wxWindow *) 0 ;
17228 int arg3 = (int) -1 ;
17229 wxString const &arg4_defvalue = wxPyEmptyString ;
17230 wxString *arg4 = (wxString *) &arg4_defvalue ;
17231 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17232 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17233 wxSize const &arg6_defvalue = wxDefaultSize ;
17234 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17235 long arg7 = (long) 0 ;
17236 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17237 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17238 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17239 wxString *arg9 = (wxString *) &arg9_defvalue ;
17240 bool result;
17241 void *argp1 = 0 ;
17242 int res1 = 0 ;
17243 void *argp2 = 0 ;
17244 int res2 = 0 ;
17245 int val3 ;
17246 int ecode3 = 0 ;
17247 bool temp4 = false ;
17248 wxPoint temp5 ;
17249 wxSize temp6 ;
17250 long val7 ;
17251 int ecode7 = 0 ;
17252 void *argp8 = 0 ;
17253 int res8 = 0 ;
17254 bool temp9 = false ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 PyObject * obj2 = 0 ;
17258 PyObject * obj3 = 0 ;
17259 PyObject * obj4 = 0 ;
17260 PyObject * obj5 = 0 ;
17261 PyObject * obj6 = 0 ;
17262 PyObject * obj7 = 0 ;
17263 PyObject * obj8 = 0 ;
17264 char * kwnames[] = {
17265 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17266 };
17267
17268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17270 if (!SWIG_IsOK(res1)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17272 }
17273 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17275 if (!SWIG_IsOK(res2)) {
17276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17277 }
17278 arg2 = reinterpret_cast< wxWindow * >(argp2);
17279 if (obj2) {
17280 ecode3 = SWIG_AsVal_int(obj2, &val3);
17281 if (!SWIG_IsOK(ecode3)) {
17282 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17283 }
17284 arg3 = static_cast< int >(val3);
17285 }
17286 if (obj3) {
d14a1e28 17287 {
0085ce49
RD
17288 arg4 = wxString_in_helper(obj3);
17289 if (arg4 == NULL) SWIG_fail;
17290 temp4 = true;
d14a1e28 17291 }
0085ce49
RD
17292 }
17293 if (obj4) {
d14a1e28 17294 {
0085ce49
RD
17295 arg5 = &temp5;
17296 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 17297 }
0085ce49
RD
17298 }
17299 if (obj5) {
d14a1e28 17300 {
0085ce49
RD
17301 arg6 = &temp6;
17302 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17303 }
17304 }
17305 if (obj6) {
17306 ecode7 = SWIG_AsVal_long(obj6, &val7);
17307 if (!SWIG_IsOK(ecode7)) {
17308 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17309 }
17310 arg7 = static_cast< long >(val7);
17311 }
17312 if (obj7) {
17313 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17314 if (!SWIG_IsOK(res8)) {
17315 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17316 }
17317 if (!argp8) {
17318 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 17319 }
0085ce49
RD
17320 arg8 = reinterpret_cast< wxValidator * >(argp8);
17321 }
17322 if (obj8) {
d14a1e28 17323 {
0085ce49
RD
17324 arg9 = wxString_in_helper(obj8);
17325 if (arg9 == NULL) SWIG_fail;
17326 temp9 = true;
d14a1e28 17327 }
0085ce49
RD
17328 }
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 {
17336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17337 }
17338 {
17339 if (temp4)
17340 delete arg4;
17341 }
17342 {
17343 if (temp9)
17344 delete arg9;
17345 }
17346 return resultobj;
17347fail:
17348 {
17349 if (temp4)
17350 delete arg4;
17351 }
17352 {
17353 if (temp9)
17354 delete arg9;
17355 }
17356 return NULL;
d14a1e28
RD
17357}
17358
17359
0085ce49
RD
17360SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17361 PyObject *resultobj = 0;
17362 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17363 bool result;
17364 void *argp1 = 0 ;
17365 int res1 = 0 ;
17366 PyObject *swig_obj[1] ;
17367
17368 if (!args) SWIG_fail;
17369 swig_obj[0] = args;
17370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17371 if (!SWIG_IsOK(res1)) {
17372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17373 }
17374 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 result = (bool)(arg1)->GetValue();
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 {
17382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17383 }
17384 return resultobj;
17385fail:
17386 return NULL;
17387}
17388
17389
17390SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj = 0;
17392 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17393 bool arg2 ;
17394 void *argp1 = 0 ;
17395 int res1 = 0 ;
17396 bool val2 ;
17397 int ecode2 = 0 ;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char * kwnames[] = {
17401 (char *) "self",(char *) "value", NULL
17402 };
17403
17404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17406 if (!SWIG_IsOK(res1)) {
17407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17408 }
17409 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17410 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17411 if (!SWIG_IsOK(ecode2)) {
17412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17413 }
17414 arg2 = static_cast< bool >(val2);
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->SetValue(arg2);
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = SWIG_Py_Void();
17422 return resultobj;
17423fail:
17424 return NULL;
17425}
17426
17427
17428SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj = 0;
17430 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17431 SwigValueWrapper<wxVisualAttributes > result;
17432 int val1 ;
17433 int ecode1 = 0 ;
17434 PyObject * obj0 = 0 ;
17435 char * kwnames[] = {
17436 (char *) "variant", NULL
17437 };
17438
17439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17440 if (obj0) {
17441 ecode1 = SWIG_AsVal_int(obj0, &val1);
17442 if (!SWIG_IsOK(ecode1)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17444 }
17445 arg1 = static_cast< wxWindowVariant >(val1);
17446 }
17447 {
17448 if (!wxPyCheckForApp()) SWIG_fail;
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17451 wxPyEndAllowThreads(__tstate);
17452 if (PyErr_Occurred()) SWIG_fail;
17453 }
17454 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17455 return resultobj;
17456fail:
17457 return NULL;
d14a1e28
RD
17458}
17459
17460
0085ce49
RD
17461SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17462 PyObject *obj;
17463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17464 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17465 return SWIG_Py_Void();
17466}
17467
17468SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17469 return SWIG_Python_InitShadowInstance(args);
17470}
17471
17472SWIGINTERN int SliderNameStr_set(PyObject *) {
17473 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17474 return 1;
17475}
17476
17477
17478SWIGINTERN PyObject *SliderNameStr_get(void) {
17479 PyObject *pyobj = 0;
17480
17481 {
17482#if wxUSE_UNICODE
17483 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17484#else
17485 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17486#endif
17487 }
17488 return pyobj;
17489}
17490
17491
17492SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17493 PyObject *resultobj = 0;
17494 wxWindow *arg1 = (wxWindow *) 0 ;
17495 int arg2 = (int) -1 ;
17496 int arg3 = (int) 0 ;
17497 int arg4 = (int) 0 ;
17498 int arg5 = (int) 100 ;
17499 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17500 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17501 wxSize const &arg7_defvalue = wxDefaultSize ;
17502 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17503 long arg8 = (long) wxSL_HORIZONTAL ;
17504 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17505 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17506 wxString const &arg10_defvalue = wxPySliderNameStr ;
17507 wxString *arg10 = (wxString *) &arg10_defvalue ;
17508 wxSlider *result = 0 ;
17509 void *argp1 = 0 ;
17510 int res1 = 0 ;
17511 int val2 ;
17512 int ecode2 = 0 ;
17513 int val3 ;
17514 int ecode3 = 0 ;
17515 int val4 ;
17516 int ecode4 = 0 ;
17517 int val5 ;
17518 int ecode5 = 0 ;
17519 wxPoint temp6 ;
17520 wxSize temp7 ;
17521 long val8 ;
17522 int ecode8 = 0 ;
17523 void *argp9 = 0 ;
17524 int res9 = 0 ;
17525 bool temp10 = false ;
17526 PyObject * obj0 = 0 ;
17527 PyObject * obj1 = 0 ;
17528 PyObject * obj2 = 0 ;
17529 PyObject * obj3 = 0 ;
17530 PyObject * obj4 = 0 ;
17531 PyObject * obj5 = 0 ;
17532 PyObject * obj6 = 0 ;
17533 PyObject * obj7 = 0 ;
17534 PyObject * obj8 = 0 ;
17535 PyObject * obj9 = 0 ;
17536 char * kwnames[] = {
17537 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17538 };
17539
17540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17542 if (!SWIG_IsOK(res1)) {
17543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17544 }
17545 arg1 = reinterpret_cast< wxWindow * >(argp1);
17546 if (obj1) {
17547 ecode2 = SWIG_AsVal_int(obj1, &val2);
17548 if (!SWIG_IsOK(ecode2)) {
17549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17550 }
17551 arg2 = static_cast< int >(val2);
17552 }
17553 if (obj2) {
17554 ecode3 = SWIG_AsVal_int(obj2, &val3);
17555 if (!SWIG_IsOK(ecode3)) {
17556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17557 }
17558 arg3 = static_cast< int >(val3);
17559 }
17560 if (obj3) {
17561 ecode4 = SWIG_AsVal_int(obj3, &val4);
17562 if (!SWIG_IsOK(ecode4)) {
17563 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17564 }
17565 arg4 = static_cast< int >(val4);
17566 }
17567 if (obj4) {
17568 ecode5 = SWIG_AsVal_int(obj4, &val5);
17569 if (!SWIG_IsOK(ecode5)) {
17570 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17571 }
17572 arg5 = static_cast< int >(val5);
17573 }
17574 if (obj5) {
093d3ff1 17575 {
0085ce49
RD
17576 arg6 = &temp6;
17577 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 17578 }
0085ce49
RD
17579 }
17580 if (obj6) {
093d3ff1 17581 {
0085ce49
RD
17582 arg7 = &temp7;
17583 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17584 }
0085ce49
RD
17585 }
17586 if (obj7) {
17587 ecode8 = SWIG_AsVal_long(obj7, &val8);
17588 if (!SWIG_IsOK(ecode8)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17590 }
17591 arg8 = static_cast< long >(val8);
17592 }
17593 if (obj8) {
17594 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17595 if (!SWIG_IsOK(res9)) {
17596 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 17597 }
0085ce49
RD
17598 if (!argp9) {
17599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
d14a1e28 17600 }
0085ce49
RD
17601 arg9 = reinterpret_cast< wxValidator * >(argp9);
17602 }
17603 if (obj9) {
4f89f6a3 17604 {
0085ce49
RD
17605 arg10 = wxString_in_helper(obj9);
17606 if (arg10 == NULL) SWIG_fail;
17607 temp10 = true;
4f89f6a3 17608 }
0085ce49
RD
17609 }
17610 {
17611 if (!wxPyCheckForApp()) SWIG_fail;
17612 PyThreadState* __tstate = wxPyBeginAllowThreads();
17613 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17614 wxPyEndAllowThreads(__tstate);
17615 if (PyErr_Occurred()) SWIG_fail;
17616 }
17617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17618 {
17619 if (temp10)
17620 delete arg10;
17621 }
17622 return resultobj;
17623fail:
17624 {
17625 if (temp10)
17626 delete arg10;
17627 }
17628 return NULL;
d14a1e28
RD
17629}
17630
17631
0085ce49
RD
17632SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17633 PyObject *resultobj = 0;
17634 wxSlider *result = 0 ;
17635
17636 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17637 {
17638 if (!wxPyCheckForApp()) SWIG_fail;
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 result = (wxSlider *)new wxSlider();
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17645 return resultobj;
17646fail:
17647 return NULL;
17648}
17649
17650
17651SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj = 0;
17653 wxSlider *arg1 = (wxSlider *) 0 ;
17654 wxWindow *arg2 = (wxWindow *) 0 ;
17655 int arg3 = (int) -1 ;
17656 int arg4 = (int) 0 ;
17657 int arg5 = (int) 0 ;
17658 int arg6 = (int) 100 ;
17659 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17660 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17661 wxSize const &arg8_defvalue = wxDefaultSize ;
17662 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17663 long arg9 = (long) wxSL_HORIZONTAL ;
17664 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17665 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17666 wxString const &arg11_defvalue = wxPySliderNameStr ;
17667 wxString *arg11 = (wxString *) &arg11_defvalue ;
17668 bool result;
17669 void *argp1 = 0 ;
17670 int res1 = 0 ;
17671 void *argp2 = 0 ;
17672 int res2 = 0 ;
17673 int val3 ;
17674 int ecode3 = 0 ;
17675 int val4 ;
17676 int ecode4 = 0 ;
17677 int val5 ;
17678 int ecode5 = 0 ;
17679 int val6 ;
17680 int ecode6 = 0 ;
17681 wxPoint temp7 ;
17682 wxSize temp8 ;
17683 long val9 ;
17684 int ecode9 = 0 ;
17685 void *argp10 = 0 ;
17686 int res10 = 0 ;
17687 bool temp11 = false ;
17688 PyObject * obj0 = 0 ;
17689 PyObject * obj1 = 0 ;
17690 PyObject * obj2 = 0 ;
17691 PyObject * obj3 = 0 ;
17692 PyObject * obj4 = 0 ;
17693 PyObject * obj5 = 0 ;
17694 PyObject * obj6 = 0 ;
17695 PyObject * obj7 = 0 ;
17696 PyObject * obj8 = 0 ;
17697 PyObject * obj9 = 0 ;
17698 PyObject * obj10 = 0 ;
17699 char * kwnames[] = {
17700 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17701 };
17702
17703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17705 if (!SWIG_IsOK(res1)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17707 }
17708 arg1 = reinterpret_cast< wxSlider * >(argp1);
17709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17710 if (!SWIG_IsOK(res2)) {
17711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17712 }
17713 arg2 = reinterpret_cast< wxWindow * >(argp2);
17714 if (obj2) {
17715 ecode3 = SWIG_AsVal_int(obj2, &val3);
17716 if (!SWIG_IsOK(ecode3)) {
17717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17718 }
17719 arg3 = static_cast< int >(val3);
17720 }
17721 if (obj3) {
17722 ecode4 = SWIG_AsVal_int(obj3, &val4);
17723 if (!SWIG_IsOK(ecode4)) {
17724 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17725 }
17726 arg4 = static_cast< int >(val4);
17727 }
17728 if (obj4) {
17729 ecode5 = SWIG_AsVal_int(obj4, &val5);
17730 if (!SWIG_IsOK(ecode5)) {
17731 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17732 }
17733 arg5 = static_cast< int >(val5);
17734 }
17735 if (obj5) {
17736 ecode6 = SWIG_AsVal_int(obj5, &val6);
17737 if (!SWIG_IsOK(ecode6)) {
17738 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17739 }
17740 arg6 = static_cast< int >(val6);
17741 }
17742 if (obj6) {
093d3ff1 17743 {
0085ce49
RD
17744 arg7 = &temp7;
17745 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d14a1e28 17746 }
0085ce49
RD
17747 }
17748 if (obj7) {
d14a1e28 17749 {
0085ce49
RD
17750 arg8 = &temp8;
17751 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
d14a1e28 17752 }
0085ce49
RD
17753 }
17754 if (obj8) {
17755 ecode9 = SWIG_AsVal_long(obj8, &val9);
17756 if (!SWIG_IsOK(ecode9)) {
17757 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17758 }
17759 arg9 = static_cast< long >(val9);
17760 }
17761 if (obj9) {
17762 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
17763 if (!SWIG_IsOK(res10)) {
17764 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 17765 }
0085ce49
RD
17766 if (!argp10) {
17767 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d14a1e28 17768 }
0085ce49
RD
17769 arg10 = reinterpret_cast< wxValidator * >(argp10);
17770 }
17771 if (obj10) {
4f89f6a3 17772 {
0085ce49
RD
17773 arg11 = wxString_in_helper(obj10);
17774 if (arg11 == NULL) SWIG_fail;
17775 temp11 = true;
4f89f6a3 17776 }
0085ce49
RD
17777 }
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 {
17785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17786 }
17787 {
17788 if (temp11)
17789 delete arg11;
17790 }
17791 return resultobj;
17792fail:
17793 {
17794 if (temp11)
17795 delete arg11;
17796 }
17797 return NULL;
d14a1e28
RD
17798}
17799
17800
0085ce49
RD
17801SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17802 PyObject *resultobj = 0;
17803 wxSlider *arg1 = (wxSlider *) 0 ;
17804 int result;
17805 void *argp1 = 0 ;
17806 int res1 = 0 ;
17807 PyObject *swig_obj[1] ;
17808
17809 if (!args) SWIG_fail;
17810 swig_obj[0] = args;
17811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17812 if (!SWIG_IsOK(res1)) {
17813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17814 }
17815 arg1 = reinterpret_cast< wxSlider * >(argp1);
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 result = (int)((wxSlider const *)arg1)->GetValue();
17819 wxPyEndAllowThreads(__tstate);
17820 if (PyErr_Occurred()) SWIG_fail;
17821 }
17822 resultobj = SWIG_From_int(static_cast< int >(result));
17823 return resultobj;
17824fail:
17825 return NULL;
17826}
17827
17828
17829SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17830 PyObject *resultobj = 0;
17831 wxSlider *arg1 = (wxSlider *) 0 ;
17832 int arg2 ;
17833 void *argp1 = 0 ;
17834 int res1 = 0 ;
17835 int val2 ;
17836 int ecode2 = 0 ;
17837 PyObject * obj0 = 0 ;
17838 PyObject * obj1 = 0 ;
17839 char * kwnames[] = {
17840 (char *) "self",(char *) "value", NULL
17841 };
17842
17843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17845 if (!SWIG_IsOK(res1)) {
17846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17847 }
17848 arg1 = reinterpret_cast< wxSlider * >(argp1);
17849 ecode2 = SWIG_AsVal_int(obj1, &val2);
17850 if (!SWIG_IsOK(ecode2)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17852 }
17853 arg2 = static_cast< int >(val2);
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 (arg1)->SetValue(arg2);
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = SWIG_Py_Void();
17861 return resultobj;
17862fail:
17863 return NULL;
17864}
17865
17866
17867SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj = 0;
17869 wxSlider *arg1 = (wxSlider *) 0 ;
17870 int arg2 ;
17871 int arg3 ;
17872 void *argp1 = 0 ;
17873 int res1 = 0 ;
17874 int val2 ;
17875 int ecode2 = 0 ;
17876 int val3 ;
17877 int ecode3 = 0 ;
17878 PyObject * obj0 = 0 ;
17879 PyObject * obj1 = 0 ;
17880 PyObject * obj2 = 0 ;
17881 char * kwnames[] = {
17882 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17883 };
17884
17885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17887 if (!SWIG_IsOK(res1)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17889 }
17890 arg1 = reinterpret_cast< wxSlider * >(argp1);
17891 ecode2 = SWIG_AsVal_int(obj1, &val2);
17892 if (!SWIG_IsOK(ecode2)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17894 }
17895 arg2 = static_cast< int >(val2);
17896 ecode3 = SWIG_AsVal_int(obj2, &val3);
17897 if (!SWIG_IsOK(ecode3)) {
17898 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17899 }
17900 arg3 = static_cast< int >(val3);
17901 {
17902 PyThreadState* __tstate = wxPyBeginAllowThreads();
17903 (arg1)->SetRange(arg2,arg3);
17904 wxPyEndAllowThreads(__tstate);
17905 if (PyErr_Occurred()) SWIG_fail;
17906 }
17907 resultobj = SWIG_Py_Void();
17908 return resultobj;
17909fail:
17910 return NULL;
d14a1e28
RD
17911}
17912
17913
0085ce49
RD
17914SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17915 PyObject *resultobj = 0;
17916 wxSlider *arg1 = (wxSlider *) 0 ;
17917 int result;
17918 void *argp1 = 0 ;
17919 int res1 = 0 ;
17920 PyObject *swig_obj[1] ;
17921
17922 if (!args) SWIG_fail;
17923 swig_obj[0] = args;
17924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17925 if (!SWIG_IsOK(res1)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17927 }
17928 arg1 = reinterpret_cast< wxSlider * >(argp1);
17929 {
17930 PyThreadState* __tstate = wxPyBeginAllowThreads();
17931 result = (int)((wxSlider const *)arg1)->GetMin();
17932 wxPyEndAllowThreads(__tstate);
17933 if (PyErr_Occurred()) SWIG_fail;
17934 }
17935 resultobj = SWIG_From_int(static_cast< int >(result));
17936 return resultobj;
17937fail:
17938 return NULL;
d14a1e28
RD
17939}
17940
17941
0085ce49
RD
17942SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17943 PyObject *resultobj = 0;
17944 wxSlider *arg1 = (wxSlider *) 0 ;
17945 int result;
17946 void *argp1 = 0 ;
17947 int res1 = 0 ;
17948 PyObject *swig_obj[1] ;
17949
17950 if (!args) SWIG_fail;
17951 swig_obj[0] = args;
17952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17953 if (!SWIG_IsOK(res1)) {
17954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17955 }
17956 arg1 = reinterpret_cast< wxSlider * >(argp1);
17957 {
17958 PyThreadState* __tstate = wxPyBeginAllowThreads();
17959 result = (int)((wxSlider const *)arg1)->GetMax();
17960 wxPyEndAllowThreads(__tstate);
17961 if (PyErr_Occurred()) SWIG_fail;
17962 }
17963 resultobj = SWIG_From_int(static_cast< int >(result));
17964 return resultobj;
17965fail:
17966 return NULL;
17967}
17968
17969
17970SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17971 PyObject *resultobj = 0;
17972 wxSlider *arg1 = (wxSlider *) 0 ;
17973 int arg2 ;
17974 void *argp1 = 0 ;
17975 int res1 = 0 ;
17976 int val2 ;
17977 int ecode2 = 0 ;
17978 PyObject * obj0 = 0 ;
17979 PyObject * obj1 = 0 ;
17980 char * kwnames[] = {
17981 (char *) "self",(char *) "minValue", NULL
17982 };
17983
17984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
17985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17986 if (!SWIG_IsOK(res1)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17988 }
17989 arg1 = reinterpret_cast< wxSlider * >(argp1);
17990 ecode2 = SWIG_AsVal_int(obj1, &val2);
17991 if (!SWIG_IsOK(ecode2)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17993 }
17994 arg2 = static_cast< int >(val2);
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 (arg1)->SetMin(arg2);
17998 wxPyEndAllowThreads(__tstate);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 resultobj = SWIG_Py_Void();
18002 return resultobj;
18003fail:
18004 return NULL;
18005}
18006
18007
18008SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj = 0;
18010 wxSlider *arg1 = (wxSlider *) 0 ;
18011 int arg2 ;
18012 void *argp1 = 0 ;
18013 int res1 = 0 ;
18014 int val2 ;
18015 int ecode2 = 0 ;
18016 PyObject * obj0 = 0 ;
18017 PyObject * obj1 = 0 ;
18018 char * kwnames[] = {
18019 (char *) "self",(char *) "maxValue", NULL
18020 };
18021
18022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18024 if (!SWIG_IsOK(res1)) {
18025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18026 }
18027 arg1 = reinterpret_cast< wxSlider * >(argp1);
18028 ecode2 = SWIG_AsVal_int(obj1, &val2);
18029 if (!SWIG_IsOK(ecode2)) {
18030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18031 }
18032 arg2 = static_cast< int >(val2);
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 (arg1)->SetMax(arg2);
18036 wxPyEndAllowThreads(__tstate);
18037 if (PyErr_Occurred()) SWIG_fail;
18038 }
18039 resultobj = SWIG_Py_Void();
18040 return resultobj;
18041fail:
18042 return NULL;
18043}
18044
18045
18046SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18047 PyObject *resultobj = 0;
18048 wxSlider *arg1 = (wxSlider *) 0 ;
18049 int arg2 ;
18050 void *argp1 = 0 ;
18051 int res1 = 0 ;
18052 int val2 ;
18053 int ecode2 = 0 ;
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 char * kwnames[] = {
18057 (char *) "self",(char *) "lineSize", NULL
18058 };
18059
18060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18062 if (!SWIG_IsOK(res1)) {
18063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18064 }
18065 arg1 = reinterpret_cast< wxSlider * >(argp1);
18066 ecode2 = SWIG_AsVal_int(obj1, &val2);
18067 if (!SWIG_IsOK(ecode2)) {
18068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18069 }
18070 arg2 = static_cast< int >(val2);
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->SetLineSize(arg2);
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 resultobj = SWIG_Py_Void();
18078 return resultobj;
18079fail:
18080 return NULL;
18081}
18082
18083
18084SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj = 0;
18086 wxSlider *arg1 = (wxSlider *) 0 ;
18087 int arg2 ;
18088 void *argp1 = 0 ;
18089 int res1 = 0 ;
18090 int val2 ;
18091 int ecode2 = 0 ;
18092 PyObject * obj0 = 0 ;
18093 PyObject * obj1 = 0 ;
18094 char * kwnames[] = {
18095 (char *) "self",(char *) "pageSize", NULL
18096 };
18097
18098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18100 if (!SWIG_IsOK(res1)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18102 }
18103 arg1 = reinterpret_cast< wxSlider * >(argp1);
18104 ecode2 = SWIG_AsVal_int(obj1, &val2);
18105 if (!SWIG_IsOK(ecode2)) {
18106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18107 }
18108 arg2 = static_cast< int >(val2);
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 (arg1)->SetPageSize(arg2);
18112 wxPyEndAllowThreads(__tstate);
18113 if (PyErr_Occurred()) SWIG_fail;
18114 }
18115 resultobj = SWIG_Py_Void();
18116 return resultobj;
18117fail:
18118 return NULL;
d14a1e28
RD
18119}
18120
18121
0085ce49
RD
18122SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18123 PyObject *resultobj = 0;
18124 wxSlider *arg1 = (wxSlider *) 0 ;
18125 int result;
18126 void *argp1 = 0 ;
18127 int res1 = 0 ;
18128 PyObject *swig_obj[1] ;
18129
18130 if (!args) SWIG_fail;
18131 swig_obj[0] = args;
18132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18133 if (!SWIG_IsOK(res1)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18135 }
18136 arg1 = reinterpret_cast< wxSlider * >(argp1);
18137 {
18138 PyThreadState* __tstate = wxPyBeginAllowThreads();
18139 result = (int)((wxSlider const *)arg1)->GetLineSize();
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = SWIG_From_int(static_cast< int >(result));
18144 return resultobj;
18145fail:
18146 return NULL;
d14a1e28
RD
18147}
18148
18149
0085ce49
RD
18150SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18151 PyObject *resultobj = 0;
18152 wxSlider *arg1 = (wxSlider *) 0 ;
18153 int result;
18154 void *argp1 = 0 ;
18155 int res1 = 0 ;
18156 PyObject *swig_obj[1] ;
18157
18158 if (!args) SWIG_fail;
18159 swig_obj[0] = args;
18160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18161 if (!SWIG_IsOK(res1)) {
18162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18163 }
18164 arg1 = reinterpret_cast< wxSlider * >(argp1);
18165 {
18166 PyThreadState* __tstate = wxPyBeginAllowThreads();
18167 result = (int)((wxSlider const *)arg1)->GetPageSize();
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 resultobj = SWIG_From_int(static_cast< int >(result));
18172 return resultobj;
18173fail:
18174 return NULL;
18175}
18176
18177
18178SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj = 0;
18180 wxSlider *arg1 = (wxSlider *) 0 ;
18181 int arg2 ;
18182 void *argp1 = 0 ;
18183 int res1 = 0 ;
18184 int val2 ;
18185 int ecode2 = 0 ;
18186 PyObject * obj0 = 0 ;
18187 PyObject * obj1 = 0 ;
18188 char * kwnames[] = {
18189 (char *) "self",(char *) "lenPixels", NULL
18190 };
18191
18192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18194 if (!SWIG_IsOK(res1)) {
18195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18196 }
18197 arg1 = reinterpret_cast< wxSlider * >(argp1);
18198 ecode2 = SWIG_AsVal_int(obj1, &val2);
18199 if (!SWIG_IsOK(ecode2)) {
18200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18201 }
18202 arg2 = static_cast< int >(val2);
18203 {
18204 PyThreadState* __tstate = wxPyBeginAllowThreads();
18205 (arg1)->SetThumbLength(arg2);
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 resultobj = SWIG_Py_Void();
18210 return resultobj;
18211fail:
18212 return NULL;
4d5c3d91
RD
18213}
18214
18215
0085ce49
RD
18216SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18217 PyObject *resultobj = 0;
18218 wxSlider *arg1 = (wxSlider *) 0 ;
18219 int result;
18220 void *argp1 = 0 ;
18221 int res1 = 0 ;
18222 PyObject *swig_obj[1] ;
18223
18224 if (!args) SWIG_fail;
18225 swig_obj[0] = args;
18226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18227 if (!SWIG_IsOK(res1)) {
18228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18229 }
18230 arg1 = reinterpret_cast< wxSlider * >(argp1);
18231 {
18232 PyThreadState* __tstate = wxPyBeginAllowThreads();
18233 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
18237 resultobj = SWIG_From_int(static_cast< int >(result));
18238 return resultobj;
18239fail:
18240 return NULL;
18241}
18242
18243
18244SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj = 0;
18246 wxSlider *arg1 = (wxSlider *) 0 ;
18247 int arg2 ;
18248 int arg3 = (int) 1 ;
18249 void *argp1 = 0 ;
18250 int res1 = 0 ;
18251 int val2 ;
18252 int ecode2 = 0 ;
18253 int val3 ;
18254 int ecode3 = 0 ;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 PyObject * obj2 = 0 ;
18258 char * kwnames[] = {
18259 (char *) "self",(char *) "n",(char *) "pos", NULL
18260 };
18261
18262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18264 if (!SWIG_IsOK(res1)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18266 }
18267 arg1 = reinterpret_cast< wxSlider * >(argp1);
18268 ecode2 = SWIG_AsVal_int(obj1, &val2);
18269 if (!SWIG_IsOK(ecode2)) {
18270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18271 }
18272 arg2 = static_cast< int >(val2);
18273 if (obj2) {
18274 ecode3 = SWIG_AsVal_int(obj2, &val3);
18275 if (!SWIG_IsOK(ecode3)) {
18276 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18277 }
18278 arg3 = static_cast< int >(val3);
18279 }
18280 {
18281 PyThreadState* __tstate = wxPyBeginAllowThreads();
18282 (arg1)->SetTickFreq(arg2,arg3);
18283 wxPyEndAllowThreads(__tstate);
18284 if (PyErr_Occurred()) SWIG_fail;
18285 }
18286 resultobj = SWIG_Py_Void();
18287 return resultobj;
18288fail:
18289 return NULL;
4896ac9e
RD
18290}
18291
18292
0085ce49
RD
18293SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18294 PyObject *resultobj = 0;
18295 wxSlider *arg1 = (wxSlider *) 0 ;
18296 int result;
18297 void *argp1 = 0 ;
18298 int res1 = 0 ;
18299 PyObject *swig_obj[1] ;
18300
18301 if (!args) SWIG_fail;
18302 swig_obj[0] = args;
18303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18304 if (!SWIG_IsOK(res1)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18306 }
18307 arg1 = reinterpret_cast< wxSlider * >(argp1);
18308 {
18309 PyThreadState* __tstate = wxPyBeginAllowThreads();
18310 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 resultobj = SWIG_From_int(static_cast< int >(result));
18315 return resultobj;
18316fail:
18317 return NULL;
d14a1e28
RD
18318}
18319
18320
0085ce49
RD
18321SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18322 PyObject *resultobj = 0;
18323 wxSlider *arg1 = (wxSlider *) 0 ;
18324 void *argp1 = 0 ;
18325 int res1 = 0 ;
18326 PyObject *swig_obj[1] ;
18327
18328 if (!args) SWIG_fail;
18329 swig_obj[0] = args;
18330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18331 if (!SWIG_IsOK(res1)) {
18332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18333 }
18334 arg1 = reinterpret_cast< wxSlider * >(argp1);
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 (arg1)->ClearTicks();
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_Py_Void();
18342 return resultobj;
18343fail:
18344 return NULL;
18345}
18346
18347
18348SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj = 0;
18350 wxSlider *arg1 = (wxSlider *) 0 ;
18351 int arg2 ;
18352 void *argp1 = 0 ;
18353 int res1 = 0 ;
18354 int val2 ;
18355 int ecode2 = 0 ;
18356 PyObject * obj0 = 0 ;
18357 PyObject * obj1 = 0 ;
18358 char * kwnames[] = {
18359 (char *) "self",(char *) "tickPos", NULL
18360 };
18361
18362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18364 if (!SWIG_IsOK(res1)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18366 }
18367 arg1 = reinterpret_cast< wxSlider * >(argp1);
18368 ecode2 = SWIG_AsVal_int(obj1, &val2);
18369 if (!SWIG_IsOK(ecode2)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18371 }
18372 arg2 = static_cast< int >(val2);
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetTick(arg2);
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = SWIG_Py_Void();
18380 return resultobj;
18381fail:
18382 return NULL;
d14a1e28
RD
18383}
18384
18385
0085ce49
RD
18386SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18387 PyObject *resultobj = 0;
18388 wxSlider *arg1 = (wxSlider *) 0 ;
18389 void *argp1 = 0 ;
18390 int res1 = 0 ;
18391 PyObject *swig_obj[1] ;
18392
18393 if (!args) SWIG_fail;
18394 swig_obj[0] = args;
18395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18396 if (!SWIG_IsOK(res1)) {
18397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18398 }
18399 arg1 = reinterpret_cast< wxSlider * >(argp1);
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 (arg1)->ClearSel();
18403 wxPyEndAllowThreads(__tstate);
18404 if (PyErr_Occurred()) SWIG_fail;
18405 }
18406 resultobj = SWIG_Py_Void();
18407 return resultobj;
18408fail:
18409 return NULL;
d14a1e28
RD
18410}
18411
18412
0085ce49
RD
18413SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18414 PyObject *resultobj = 0;
18415 wxSlider *arg1 = (wxSlider *) 0 ;
18416 int result;
18417 void *argp1 = 0 ;
18418 int res1 = 0 ;
18419 PyObject *swig_obj[1] ;
18420
18421 if (!args) SWIG_fail;
18422 swig_obj[0] = args;
18423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18424 if (!SWIG_IsOK(res1)) {
18425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18426 }
18427 arg1 = reinterpret_cast< wxSlider * >(argp1);
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 resultobj = SWIG_From_int(static_cast< int >(result));
18435 return resultobj;
18436fail:
18437 return NULL;
d14a1e28
RD
18438}
18439
18440
0085ce49
RD
18441SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18442 PyObject *resultobj = 0;
18443 wxSlider *arg1 = (wxSlider *) 0 ;
18444 int result;
18445 void *argp1 = 0 ;
18446 int res1 = 0 ;
18447 PyObject *swig_obj[1] ;
18448
18449 if (!args) SWIG_fail;
18450 swig_obj[0] = args;
18451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18452 if (!SWIG_IsOK(res1)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18454 }
18455 arg1 = reinterpret_cast< wxSlider * >(argp1);
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 result = (int)((wxSlider const *)arg1)->GetSelStart();
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 resultobj = SWIG_From_int(static_cast< int >(result));
18463 return resultobj;
18464fail:
18465 return NULL;
18466}
18467
18468
18469SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj = 0;
18471 wxSlider *arg1 = (wxSlider *) 0 ;
18472 int arg2 ;
18473 int arg3 ;
18474 void *argp1 = 0 ;
18475 int res1 = 0 ;
18476 int val2 ;
18477 int ecode2 = 0 ;
18478 int val3 ;
18479 int ecode3 = 0 ;
18480 PyObject * obj0 = 0 ;
18481 PyObject * obj1 = 0 ;
18482 PyObject * obj2 = 0 ;
18483 char * kwnames[] = {
18484 (char *) "self",(char *) "min",(char *) "max", NULL
18485 };
18486
18487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18489 if (!SWIG_IsOK(res1)) {
18490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18491 }
18492 arg1 = reinterpret_cast< wxSlider * >(argp1);
18493 ecode2 = SWIG_AsVal_int(obj1, &val2);
18494 if (!SWIG_IsOK(ecode2)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18496 }
18497 arg2 = static_cast< int >(val2);
18498 ecode3 = SWIG_AsVal_int(obj2, &val3);
18499 if (!SWIG_IsOK(ecode3)) {
18500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18501 }
18502 arg3 = static_cast< int >(val3);
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 (arg1)->SetSelection(arg2,arg3);
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 resultobj = SWIG_Py_Void();
18510 return resultobj;
18511fail:
18512 return NULL;
18513}
18514
18515
18516SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18517 PyObject *resultobj = 0;
18518 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18519 SwigValueWrapper<wxVisualAttributes > result;
18520 int val1 ;
18521 int ecode1 = 0 ;
18522 PyObject * obj0 = 0 ;
18523 char * kwnames[] = {
18524 (char *) "variant", NULL
18525 };
18526
18527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18528 if (obj0) {
18529 ecode1 = SWIG_AsVal_int(obj0, &val1);
18530 if (!SWIG_IsOK(ecode1)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18532 }
18533 arg1 = static_cast< wxWindowVariant >(val1);
18534 }
18535 {
18536 if (!wxPyCheckForApp()) SWIG_fail;
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 result = wxSlider::GetClassDefaultAttributes(arg1);
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18543 return resultobj;
18544fail:
18545 return NULL;
d14a1e28
RD
18546}
18547
18548
0085ce49
RD
18549SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18550 PyObject *obj;
18551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18553 return SWIG_Py_Void();
d14a1e28
RD
18554}
18555
0085ce49
RD
18556SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18557 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
18558}
18559
0085ce49
RD
18560SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18561 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18562 return 1;
d14a1e28
RD
18563}
18564
18565
0085ce49
RD
18566SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18567 PyObject *pyobj = 0;
18568
18569 {
18570#if wxUSE_UNICODE
18571 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18572#else
18573 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18574#endif
18575 }
18576 return pyobj;
18577}
18578
18579
18580SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj = 0;
18582 wxWindow *arg1 = (wxWindow *) 0 ;
18583 int arg2 = (int) -1 ;
18584 wxString const &arg3_defvalue = wxPyEmptyString ;
18585 wxString *arg3 = (wxString *) &arg3_defvalue ;
18586 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18587 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18588 wxSize const &arg5_defvalue = wxDefaultSize ;
18589 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18590 long arg6 = (long) 0 ;
18591 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18592 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18593 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18594 wxString *arg8 = (wxString *) &arg8_defvalue ;
18595 wxToggleButton *result = 0 ;
18596 void *argp1 = 0 ;
18597 int res1 = 0 ;
18598 int val2 ;
18599 int ecode2 = 0 ;
18600 bool temp3 = false ;
18601 wxPoint temp4 ;
18602 wxSize temp5 ;
18603 long val6 ;
18604 int ecode6 = 0 ;
18605 void *argp7 = 0 ;
18606 int res7 = 0 ;
18607 bool temp8 = false ;
18608 PyObject * obj0 = 0 ;
18609 PyObject * obj1 = 0 ;
18610 PyObject * obj2 = 0 ;
18611 PyObject * obj3 = 0 ;
18612 PyObject * obj4 = 0 ;
18613 PyObject * obj5 = 0 ;
18614 PyObject * obj6 = 0 ;
18615 PyObject * obj7 = 0 ;
18616 char * kwnames[] = {
18617 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18618 };
18619
18620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18622 if (!SWIG_IsOK(res1)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18624 }
18625 arg1 = reinterpret_cast< wxWindow * >(argp1);
18626 if (obj1) {
18627 ecode2 = SWIG_AsVal_int(obj1, &val2);
18628 if (!SWIG_IsOK(ecode2)) {
18629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18630 }
18631 arg2 = static_cast< int >(val2);
18632 }
18633 if (obj2) {
d14a1e28 18634 {
0085ce49
RD
18635 arg3 = wxString_in_helper(obj2);
18636 if (arg3 == NULL) SWIG_fail;
18637 temp3 = true;
d14a1e28 18638 }
0085ce49
RD
18639 }
18640 if (obj3) {
4f89f6a3 18641 {
0085ce49
RD
18642 arg4 = &temp4;
18643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 18644 }
0085ce49
RD
18645 }
18646 if (obj4) {
d14a1e28 18647 {
0085ce49
RD
18648 arg5 = &temp5;
18649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 18650 }
0085ce49
RD
18651 }
18652 if (obj5) {
18653 ecode6 = SWIG_AsVal_long(obj5, &val6);
18654 if (!SWIG_IsOK(ecode6)) {
18655 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18656 }
18657 arg6 = static_cast< long >(val6);
18658 }
18659 if (obj6) {
18660 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18661 if (!SWIG_IsOK(res7)) {
18662 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 18663 }
0085ce49
RD
18664 if (!argp7) {
18665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 18666 }
0085ce49
RD
18667 arg7 = reinterpret_cast< wxValidator * >(argp7);
18668 }
18669 if (obj7) {
d14a1e28 18670 {
0085ce49
RD
18671 arg8 = wxString_in_helper(obj7);
18672 if (arg8 == NULL) SWIG_fail;
18673 temp8 = true;
d14a1e28 18674 }
0085ce49
RD
18675 }
18676 {
18677 if (!wxPyCheckForApp()) SWIG_fail;
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18684 {
18685 if (temp3)
18686 delete arg3;
18687 }
18688 {
18689 if (temp8)
18690 delete arg8;
18691 }
18692 return resultobj;
18693fail:
18694 {
18695 if (temp3)
18696 delete arg3;
18697 }
18698 {
18699 if (temp8)
18700 delete arg8;
18701 }
18702 return NULL;
d14a1e28
RD
18703}
18704
18705
0085ce49
RD
18706SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18707 PyObject *resultobj = 0;
18708 wxToggleButton *result = 0 ;
18709
18710 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18711 {
18712 if (!wxPyCheckForApp()) SWIG_fail;
18713 PyThreadState* __tstate = wxPyBeginAllowThreads();
18714 result = (wxToggleButton *)new wxToggleButton();
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18719 return resultobj;
18720fail:
18721 return NULL;
18722}
18723
18724
18725SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj = 0;
18727 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18728 wxWindow *arg2 = (wxWindow *) 0 ;
18729 int arg3 = (int) -1 ;
18730 wxString const &arg4_defvalue = wxPyEmptyString ;
18731 wxString *arg4 = (wxString *) &arg4_defvalue ;
18732 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18733 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18734 wxSize const &arg6_defvalue = wxDefaultSize ;
18735 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18736 long arg7 = (long) 0 ;
18737 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18738 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18739 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18740 wxString *arg9 = (wxString *) &arg9_defvalue ;
18741 bool result;
18742 void *argp1 = 0 ;
18743 int res1 = 0 ;
18744 void *argp2 = 0 ;
18745 int res2 = 0 ;
18746 int val3 ;
18747 int ecode3 = 0 ;
18748 bool temp4 = false ;
18749 wxPoint temp5 ;
18750 wxSize temp6 ;
18751 long val7 ;
18752 int ecode7 = 0 ;
18753 void *argp8 = 0 ;
18754 int res8 = 0 ;
18755 bool temp9 = false ;
18756 PyObject * obj0 = 0 ;
18757 PyObject * obj1 = 0 ;
18758 PyObject * obj2 = 0 ;
18759 PyObject * obj3 = 0 ;
18760 PyObject * obj4 = 0 ;
18761 PyObject * obj5 = 0 ;
18762 PyObject * obj6 = 0 ;
18763 PyObject * obj7 = 0 ;
18764 PyObject * obj8 = 0 ;
18765 char * kwnames[] = {
18766 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18767 };
18768
18769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18771 if (!SWIG_IsOK(res1)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18773 }
18774 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18775 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18776 if (!SWIG_IsOK(res2)) {
18777 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18778 }
18779 arg2 = reinterpret_cast< wxWindow * >(argp2);
18780 if (obj2) {
18781 ecode3 = SWIG_AsVal_int(obj2, &val3);
18782 if (!SWIG_IsOK(ecode3)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18784 }
18785 arg3 = static_cast< int >(val3);
18786 }
18787 if (obj3) {
d14a1e28 18788 {
0085ce49
RD
18789 arg4 = wxString_in_helper(obj3);
18790 if (arg4 == NULL) SWIG_fail;
18791 temp4 = true;
d14a1e28 18792 }
0085ce49
RD
18793 }
18794 if (obj4) {
d14a1e28 18795 {
0085ce49
RD
18796 arg5 = &temp5;
18797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 18798 }
0085ce49
RD
18799 }
18800 if (obj5) {
093d3ff1 18801 {
0085ce49
RD
18802 arg6 = &temp6;
18803 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18804 }
0085ce49
RD
18805 }
18806 if (obj6) {
18807 ecode7 = SWIG_AsVal_long(obj6, &val7);
18808 if (!SWIG_IsOK(ecode7)) {
18809 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18810 }
18811 arg7 = static_cast< long >(val7);
18812 }
18813 if (obj7) {
18814 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18815 if (!SWIG_IsOK(res8)) {
18816 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18817 }
18818 if (!argp8) {
18819 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 18820 }
0085ce49
RD
18821 arg8 = reinterpret_cast< wxValidator * >(argp8);
18822 }
18823 if (obj8) {
093d3ff1 18824 {
0085ce49
RD
18825 arg9 = wxString_in_helper(obj8);
18826 if (arg9 == NULL) SWIG_fail;
18827 temp9 = true;
093d3ff1 18828 }
0085ce49
RD
18829 }
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18833 wxPyEndAllowThreads(__tstate);
18834 if (PyErr_Occurred()) SWIG_fail;
18835 }
18836 {
18837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18838 }
18839 {
18840 if (temp4)
18841 delete arg4;
18842 }
18843 {
18844 if (temp9)
18845 delete arg9;
18846 }
18847 return resultobj;
18848fail:
18849 {
18850 if (temp4)
18851 delete arg4;
18852 }
18853 {
18854 if (temp9)
18855 delete arg9;
18856 }
18857 return NULL;
18858}
18859
18860
18861SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18862 PyObject *resultobj = 0;
18863 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18864 bool arg2 ;
18865 void *argp1 = 0 ;
18866 int res1 = 0 ;
18867 bool val2 ;
18868 int ecode2 = 0 ;
18869 PyObject * obj0 = 0 ;
18870 PyObject * obj1 = 0 ;
18871 char * kwnames[] = {
18872 (char *) "self",(char *) "value", NULL
18873 };
18874
18875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18877 if (!SWIG_IsOK(res1)) {
18878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18879 }
18880 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18881 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18882 if (!SWIG_IsOK(ecode2)) {
18883 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18884 }
18885 arg2 = static_cast< bool >(val2);
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 (arg1)->SetValue(arg2);
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 resultobj = SWIG_Py_Void();
18893 return resultobj;
18894fail:
18895 return NULL;
d14a1e28
RD
18896}
18897
18898
0085ce49
RD
18899SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18900 PyObject *resultobj = 0;
18901 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18902 bool result;
18903 void *argp1 = 0 ;
18904 int res1 = 0 ;
18905 PyObject *swig_obj[1] ;
18906
18907 if (!args) SWIG_fail;
18908 swig_obj[0] = args;
18909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
18910 if (!SWIG_IsOK(res1)) {
18911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18912 }
18913 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (bool)((wxToggleButton const *)arg1)->GetValue();
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 {
18921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18922 }
18923 return resultobj;
18924fail:
18925 return NULL;
d14a1e28
RD
18926}
18927
18928
0085ce49
RD
18929SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj = 0;
18931 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18932 SwigValueWrapper<wxVisualAttributes > result;
18933 int val1 ;
18934 int ecode1 = 0 ;
18935 PyObject * obj0 = 0 ;
18936 char * kwnames[] = {
18937 (char *) "variant", NULL
18938 };
18939
18940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18941 if (obj0) {
18942 ecode1 = SWIG_AsVal_int(obj0, &val1);
18943 if (!SWIG_IsOK(ecode1)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18945 }
18946 arg1 = static_cast< wxWindowVariant >(val1);
18947 }
18948 {
18949 if (!wxPyCheckForApp()) SWIG_fail;
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 result = wxToggleButton::GetClassDefaultAttributes(arg1);
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18956 return resultobj;
18957fail:
18958 return NULL;
d14a1e28
RD
18959}
18960
18961
0085ce49
RD
18962SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18963 PyObject *obj;
18964 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18965 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
18966 return SWIG_Py_Void();
d14a1e28
RD
18967}
18968
0085ce49
RD
18969SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18970 return SWIG_Python_InitShadowInstance(args);
18971}
d14a1e28 18972
0085ce49
RD
18973SWIGINTERN int NotebookNameStr_set(PyObject *) {
18974 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
18975 return 1;
d14a1e28
RD
18976}
18977
18978
0085ce49
RD
18979SWIGINTERN PyObject *NotebookNameStr_get(void) {
18980 PyObject *pyobj = 0;
18981
18982 {
d14a1e28 18983#if wxUSE_UNICODE
0085ce49 18984 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d14a1e28 18985#else
0085ce49 18986 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d14a1e28 18987#endif
0085ce49
RD
18988 }
18989 return pyobj;
d14a1e28
RD
18990}
18991
18992
0085ce49
RD
18993SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18994 PyObject *resultobj = 0;
18995 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
18996 size_t result;
18997 void *argp1 = 0 ;
18998 int res1 = 0 ;
18999 PyObject *swig_obj[1] ;
19000
19001 if (!args) SWIG_fail;
19002 swig_obj[0] = args;
19003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19004 if (!SWIG_IsOK(res1)) {
19005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19006 }
19007 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19015 return resultobj;
19016fail:
19017 return NULL;
19018}
19019
19020
19021SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj = 0;
19023 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19024 size_t arg2 ;
19025 wxWindow *result = 0 ;
19026 void *argp1 = 0 ;
19027 int res1 = 0 ;
19028 size_t val2 ;
19029 int ecode2 = 0 ;
19030 PyObject * obj0 = 0 ;
19031 PyObject * obj1 = 0 ;
19032 char * kwnames[] = {
19033 (char *) "self",(char *) "n", NULL
19034 };
19035
19036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19038 if (!SWIG_IsOK(res1)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19040 }
19041 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19042 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19043 if (!SWIG_IsOK(ecode2)) {
19044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19045 }
19046 arg2 = static_cast< size_t >(val2);
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 result = (wxWindow *)(arg1)->GetPage(arg2);
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 {
19054 resultobj = wxPyMake_wxObject(result, 0);
19055 }
19056 return resultobj;
19057fail:
19058 return NULL;
22bfe96c
RD
19059}
19060
19061
0085ce49
RD
19062SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19063 PyObject *resultobj = 0;
19064 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19065 wxWindow *result = 0 ;
19066 void *argp1 = 0 ;
19067 int res1 = 0 ;
19068 PyObject *swig_obj[1] ;
19069
19070 if (!args) SWIG_fail;
19071 swig_obj[0] = args;
19072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19073 if (!SWIG_IsOK(res1)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19075 }
19076 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 {
19084 resultobj = wxPyMake_wxObject(result, 0);
19085 }
19086 return resultobj;
19087fail:
19088 return NULL;
d14a1e28
RD
19089}
19090
19091
0085ce49
RD
19092SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19093 PyObject *resultobj = 0;
19094 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19095 int result;
19096 void *argp1 = 0 ;
19097 int res1 = 0 ;
19098 PyObject *swig_obj[1] ;
19099
19100 if (!args) SWIG_fail;
19101 swig_obj[0] = args;
19102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19103 if (!SWIG_IsOK(res1)) {
19104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19105 }
19106 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19107 {
19108 PyThreadState* __tstate = wxPyBeginAllowThreads();
19109 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 resultobj = SWIG_From_int(static_cast< int >(result));
19114 return resultobj;
19115fail:
19116 return NULL;
19117}
19118
19119
19120SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj = 0;
19122 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19123 size_t arg2 ;
19124 wxString *arg3 = 0 ;
19125 bool result;
19126 void *argp1 = 0 ;
19127 int res1 = 0 ;
19128 size_t val2 ;
19129 int ecode2 = 0 ;
19130 bool temp3 = false ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 PyObject * obj2 = 0 ;
19134 char * kwnames[] = {
19135 (char *) "self",(char *) "n",(char *) "strText", NULL
19136 };
19137
19138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19140 if (!SWIG_IsOK(res1)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19142 }
19143 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19144 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19145 if (!SWIG_IsOK(ecode2)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19147 }
19148 arg2 = static_cast< size_t >(val2);
19149 {
19150 arg3 = wxString_in_helper(obj2);
19151 if (arg3 == NULL) SWIG_fail;
19152 temp3 = true;
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 {
19161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19162 }
19163 {
19164 if (temp3)
19165 delete arg3;
19166 }
19167 return resultobj;
19168fail:
19169 {
19170 if (temp3)
19171 delete arg3;
19172 }
19173 return NULL;
19174}
19175
19176
19177SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19178 PyObject *resultobj = 0;
19179 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19180 size_t arg2 ;
19181 wxString result;
19182 void *argp1 = 0 ;
19183 int res1 = 0 ;
19184 size_t val2 ;
19185 int ecode2 = 0 ;
19186 PyObject * obj0 = 0 ;
19187 PyObject * obj1 = 0 ;
19188 char * kwnames[] = {
19189 (char *) "self",(char *) "n", NULL
19190 };
19191
19192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19194 if (!SWIG_IsOK(res1)) {
19195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19196 }
19197 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19198 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19199 if (!SWIG_IsOK(ecode2)) {
19200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19201 }
19202 arg2 = static_cast< size_t >(val2);
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 {
19210#if wxUSE_UNICODE
19211 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19212#else
19213 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19214#endif
19215 }
19216 return resultobj;
19217fail:
19218 return NULL;
19219}
19220
19221
19222SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19223 PyObject *resultobj = 0;
19224 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19225 wxImageList *arg2 = (wxImageList *) 0 ;
19226 void *argp1 = 0 ;
19227 int res1 = 0 ;
19228 void *argp2 = 0 ;
19229 int res2 = 0 ;
19230 PyObject * obj0 = 0 ;
19231 PyObject * obj1 = 0 ;
19232 char * kwnames[] = {
19233 (char *) "self",(char *) "imageList", NULL
19234 };
19235
19236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19238 if (!SWIG_IsOK(res1)) {
19239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19240 }
19241 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19242 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19243 if (!SWIG_IsOK(res2)) {
19244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19245 }
19246 arg2 = reinterpret_cast< wxImageList * >(argp2);
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->SetImageList(arg2);
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 resultobj = SWIG_Py_Void();
19254 return resultobj;
19255fail:
19256 return NULL;
19257}
19258
19259
19260SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj = 0;
19262 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19263 wxImageList *arg2 = (wxImageList *) 0 ;
19264 void *argp1 = 0 ;
19265 int res1 = 0 ;
19266 int res2 = 0 ;
19267 PyObject * obj0 = 0 ;
19268 PyObject * obj1 = 0 ;
19269 char * kwnames[] = {
19270 (char *) "self",(char *) "imageList", NULL
19271 };
19272
19273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19275 if (!SWIG_IsOK(res1)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19277 }
19278 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19279 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19280 if (!SWIG_IsOK(res2)) {
19281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19282 }
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 (arg1)->AssignImageList(arg2);
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 resultobj = SWIG_Py_Void();
19290 return resultobj;
19291fail:
19292 return NULL;
d14a1e28
RD
19293}
19294
19295
0085ce49
RD
19296SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19297 PyObject *resultobj = 0;
19298 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19299 wxImageList *result = 0 ;
19300 void *argp1 = 0 ;
19301 int res1 = 0 ;
19302 PyObject *swig_obj[1] ;
19303
19304 if (!args) SWIG_fail;
19305 swig_obj[0] = args;
19306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19307 if (!SWIG_IsOK(res1)) {
19308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19309 }
19310 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 {
19318 resultobj = wxPyMake_wxObject(result, (bool)0);
19319 }
19320 return resultobj;
19321fail:
19322 return NULL;
19323}
19324
19325
19326SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj = 0;
19328 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19329 size_t arg2 ;
19330 int result;
19331 void *argp1 = 0 ;
19332 int res1 = 0 ;
19333 size_t val2 ;
19334 int ecode2 = 0 ;
19335 PyObject * obj0 = 0 ;
19336 PyObject * obj1 = 0 ;
19337 char * kwnames[] = {
19338 (char *) "self",(char *) "n", NULL
19339 };
19340
19341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19343 if (!SWIG_IsOK(res1)) {
19344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19345 }
19346 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19347 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19348 if (!SWIG_IsOK(ecode2)) {
19349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19350 }
19351 arg2 = static_cast< size_t >(val2);
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19355 wxPyEndAllowThreads(__tstate);
19356 if (PyErr_Occurred()) SWIG_fail;
19357 }
19358 resultobj = SWIG_From_int(static_cast< int >(result));
19359 return resultobj;
19360fail:
19361 return NULL;
19362}
19363
19364
19365SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj = 0;
19367 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19368 size_t arg2 ;
19369 int arg3 ;
19370 bool result;
19371 void *argp1 = 0 ;
19372 int res1 = 0 ;
19373 size_t val2 ;
19374 int ecode2 = 0 ;
19375 int val3 ;
19376 int ecode3 = 0 ;
19377 PyObject * obj0 = 0 ;
19378 PyObject * obj1 = 0 ;
19379 PyObject * obj2 = 0 ;
19380 char * kwnames[] = {
19381 (char *) "self",(char *) "n",(char *) "imageId", NULL
19382 };
19383
19384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19386 if (!SWIG_IsOK(res1)) {
19387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19388 }
19389 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19390 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19391 if (!SWIG_IsOK(ecode2)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19393 }
19394 arg2 = static_cast< size_t >(val2);
19395 ecode3 = SWIG_AsVal_int(obj2, &val3);
19396 if (!SWIG_IsOK(ecode3)) {
19397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19398 }
19399 arg3 = static_cast< int >(val3);
19400 {
19401 PyThreadState* __tstate = wxPyBeginAllowThreads();
19402 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19403 wxPyEndAllowThreads(__tstate);
19404 if (PyErr_Occurred()) SWIG_fail;
19405 }
19406 {
19407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19408 }
19409 return resultobj;
19410fail:
19411 return NULL;
19412}
19413
19414
19415SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19416 PyObject *resultobj = 0;
19417 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19418 wxSize *arg2 = 0 ;
19419 void *argp1 = 0 ;
19420 int res1 = 0 ;
19421 wxSize temp2 ;
19422 PyObject * obj0 = 0 ;
19423 PyObject * obj1 = 0 ;
19424 char * kwnames[] = {
19425 (char *) "self",(char *) "size", NULL
19426 };
19427
19428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19430 if (!SWIG_IsOK(res1)) {
19431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19432 }
19433 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19434 {
19435 arg2 = &temp2;
19436 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19437 }
19438 {
19439 PyThreadState* __tstate = wxPyBeginAllowThreads();
19440 (arg1)->SetPageSize((wxSize const &)*arg2);
19441 wxPyEndAllowThreads(__tstate);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 }
19444 resultobj = SWIG_Py_Void();
19445 return resultobj;
19446fail:
19447 return NULL;
19448}
19449
19450
19451SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19452 PyObject *resultobj = 0;
19453 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19454 wxSize *arg2 = 0 ;
19455 wxSize result;
19456 void *argp1 = 0 ;
19457 int res1 = 0 ;
19458 wxSize temp2 ;
19459 PyObject * obj0 = 0 ;
19460 PyObject * obj1 = 0 ;
19461 char * kwnames[] = {
19462 (char *) "self",(char *) "sizePage", NULL
19463 };
19464
19465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19467 if (!SWIG_IsOK(res1)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19469 }
19470 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19471 {
19472 arg2 = &temp2;
19473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19474 }
19475 {
19476 PyThreadState* __tstate = wxPyBeginAllowThreads();
19477 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19482 return resultobj;
19483fail:
19484 return NULL;
d14a1e28
RD
19485}
19486
19487
0085ce49
RD
19488SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19489 PyObject *resultobj = 0;
19490 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19491 unsigned int result;
0085ce49
RD
19492 void *argp1 = 0 ;
19493 int res1 = 0 ;
19494 PyObject *swig_obj[1] ;
19495
19496 if (!args) SWIG_fail;
19497 swig_obj[0] = args;
19498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19499 if (!SWIG_IsOK(res1)) {
19500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19501 }
19502 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19503 {
19504 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19505 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
0085ce49
RD
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
e9d6f3a4 19509 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
19510 return resultobj;
19511fail:
19512 return NULL;
19513}
19514
19515
19516SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj = 0;
19518 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19519 unsigned int arg2 ;
0085ce49
RD
19520 void *argp1 = 0 ;
19521 int res1 = 0 ;
e9d6f3a4 19522 unsigned int val2 ;
0085ce49
RD
19523 int ecode2 = 0 ;
19524 PyObject * obj0 = 0 ;
19525 PyObject * obj1 = 0 ;
19526 char * kwnames[] = {
19527 (char *) "self",(char *) "internalBorder", NULL
19528 };
19529
19530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19532 if (!SWIG_IsOK(res1)) {
19533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19534 }
19535 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19536 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
0085ce49 19537 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
0085ce49 19539 }
e9d6f3a4 19540 arg2 = static_cast< unsigned int >(val2);
0085ce49
RD
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 (arg1)->SetInternalBorder(arg2);
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 resultobj = SWIG_Py_Void();
19548 return resultobj;
19549fail:
19550 return NULL;
b2dc1044
RD
19551}
19552
19553
0085ce49
RD
19554SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19555 PyObject *resultobj = 0;
19556 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19557 bool result;
19558 void *argp1 = 0 ;
19559 int res1 = 0 ;
19560 PyObject *swig_obj[1] ;
19561
19562 if (!args) SWIG_fail;
19563 swig_obj[0] = args;
19564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19565 if (!SWIG_IsOK(res1)) {
19566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19567 }
19568 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 {
19576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19577 }
19578 return resultobj;
19579fail:
19580 return NULL;
19581}
19582
19583
e9d6f3a4
RD
19584SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj = 0;
19586 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19587 int arg2 ;
19588 void *argp1 = 0 ;
19589 int res1 = 0 ;
19590 int val2 ;
19591 int ecode2 = 0 ;
19592 PyObject * obj0 = 0 ;
19593 PyObject * obj1 = 0 ;
19594 char * kwnames[] = {
19595 (char *) "self",(char *) "margin", NULL
19596 };
19597
19598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19600 if (!SWIG_IsOK(res1)) {
19601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19602 }
19603 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19604 ecode2 = SWIG_AsVal_int(obj1, &val2);
19605 if (!SWIG_IsOK(ecode2)) {
19606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19607 }
19608 arg2 = static_cast< int >(val2);
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 (arg1)->SetControlMargin(arg2);
19612 wxPyEndAllowThreads(__tstate);
19613 if (PyErr_Occurred()) SWIG_fail;
19614 }
19615 resultobj = SWIG_Py_Void();
19616 return resultobj;
19617fail:
19618 return NULL;
19619}
19620
19621
19622SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19623 PyObject *resultobj = 0;
19624 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19625 int result;
19626 void *argp1 = 0 ;
19627 int res1 = 0 ;
19628 PyObject *swig_obj[1] ;
19629
19630 if (!args) SWIG_fail;
19631 swig_obj[0] = args;
19632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19633 if (!SWIG_IsOK(res1)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19635 }
19636 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 resultobj = SWIG_From_int(static_cast< int >(result));
19644 return resultobj;
19645fail:
19646 return NULL;
19647}
19648
19649
0085ce49
RD
19650SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj = 0;
19652 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19653 bool arg2 ;
19654 void *argp1 = 0 ;
19655 int res1 = 0 ;
19656 bool val2 ;
19657 int ecode2 = 0 ;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 char * kwnames[] = {
19661 (char *) "self",(char *) "fit", NULL
19662 };
19663
19664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19666 if (!SWIG_IsOK(res1)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19668 }
19669 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19670 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19671 if (!SWIG_IsOK(ecode2)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19673 }
19674 arg2 = static_cast< bool >(val2);
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->SetFitToCurrentPage(arg2);
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 resultobj = SWIG_Py_Void();
19682 return resultobj;
19683fail:
19684 return NULL;
d14a1e28
RD
19685}
19686
19687
0085ce49
RD
19688SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19689 PyObject *resultobj = 0;
19690 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19691 bool result;
19692 void *argp1 = 0 ;
19693 int res1 = 0 ;
19694 PyObject *swig_obj[1] ;
19695
19696 if (!args) SWIG_fail;
19697 swig_obj[0] = args;
19698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19699 if (!SWIG_IsOK(res1)) {
19700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19701 }
19702 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 {
19710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19711 }
19712 return resultobj;
19713fail:
19714 return NULL;
19715}
19716
19717
e9d6f3a4
RD
19718SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19719 PyObject *resultobj = 0;
19720 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19721 wxSizer *result = 0 ;
19722 void *argp1 = 0 ;
19723 int res1 = 0 ;
19724 PyObject *swig_obj[1] ;
19725
19726 if (!args) SWIG_fail;
19727 swig_obj[0] = args;
19728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19729 if (!SWIG_IsOK(res1)) {
19730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19731 }
19732 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 {
19740 resultobj = wxPyMake_wxObject(result, (bool)0);
19741 }
19742 return resultobj;
19743fail:
19744 return NULL;
19745}
19746
19747
0085ce49
RD
19748SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj = 0;
19750 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19751 size_t arg2 ;
19752 bool result;
19753 void *argp1 = 0 ;
19754 int res1 = 0 ;
19755 size_t val2 ;
19756 int ecode2 = 0 ;
19757 PyObject * obj0 = 0 ;
19758 PyObject * obj1 = 0 ;
19759 char * kwnames[] = {
19760 (char *) "self",(char *) "n", NULL
19761 };
19762
19763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
19764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19765 if (!SWIG_IsOK(res1)) {
19766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19767 }
19768 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19769 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19770 if (!SWIG_IsOK(ecode2)) {
19771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19772 }
19773 arg2 = static_cast< size_t >(val2);
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 result = (bool)(arg1)->DeletePage(arg2);
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 {
19781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19782 }
19783 return resultobj;
19784fail:
19785 return NULL;
19786}
19787
19788
19789SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19790 PyObject *resultobj = 0;
19791 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19792 size_t arg2 ;
19793 bool result;
19794 void *argp1 = 0 ;
19795 int res1 = 0 ;
19796 size_t val2 ;
19797 int ecode2 = 0 ;
19798 PyObject * obj0 = 0 ;
19799 PyObject * obj1 = 0 ;
19800 char * kwnames[] = {
19801 (char *) "self",(char *) "n", NULL
19802 };
19803
19804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
19805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19806 if (!SWIG_IsOK(res1)) {
19807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19808 }
19809 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19810 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19811 if (!SWIG_IsOK(ecode2)) {
19812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19813 }
19814 arg2 = static_cast< size_t >(val2);
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 result = (bool)(arg1)->RemovePage(arg2);
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 {
19822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19823 }
19824 return resultobj;
19825fail:
19826 return NULL;
d14a1e28
RD
19827}
19828
19829
0085ce49
RD
19830SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19831 PyObject *resultobj = 0;
19832 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19833 bool result;
19834 void *argp1 = 0 ;
19835 int res1 = 0 ;
19836 PyObject *swig_obj[1] ;
19837
19838 if (!args) SWIG_fail;
19839 swig_obj[0] = args;
19840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19841 if (!SWIG_IsOK(res1)) {
19842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19843 }
19844 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19845 {
19846 PyThreadState* __tstate = wxPyBeginAllowThreads();
19847 result = (bool)(arg1)->DeleteAllPages();
19848 wxPyEndAllowThreads(__tstate);
19849 if (PyErr_Occurred()) SWIG_fail;
19850 }
19851 {
19852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19853 }
19854 return resultobj;
19855fail:
19856 return NULL;
19857}
19858
19859
19860SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj = 0;
19862 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19863 wxWindow *arg2 = (wxWindow *) 0 ;
19864 wxString *arg3 = 0 ;
19865 bool arg4 = (bool) false ;
19866 int arg5 = (int) -1 ;
19867 bool result;
19868 void *argp1 = 0 ;
19869 int res1 = 0 ;
19870 void *argp2 = 0 ;
19871 int res2 = 0 ;
19872 bool temp3 = false ;
19873 bool val4 ;
19874 int ecode4 = 0 ;
19875 int val5 ;
19876 int ecode5 = 0 ;
19877 PyObject * obj0 = 0 ;
19878 PyObject * obj1 = 0 ;
19879 PyObject * obj2 = 0 ;
19880 PyObject * obj3 = 0 ;
19881 PyObject * obj4 = 0 ;
19882 char * kwnames[] = {
19883 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19884 };
19885
19886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19888 if (!SWIG_IsOK(res1)) {
19889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19890 }
19891 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19893 if (!SWIG_IsOK(res2)) {
19894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19895 }
19896 arg2 = reinterpret_cast< wxWindow * >(argp2);
19897 {
19898 arg3 = wxString_in_helper(obj2);
19899 if (arg3 == NULL) SWIG_fail;
19900 temp3 = true;
19901 }
19902 if (obj3) {
19903 ecode4 = SWIG_AsVal_bool(obj3, &val4);
19904 if (!SWIG_IsOK(ecode4)) {
19905 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19906 }
19907 arg4 = static_cast< bool >(val4);
19908 }
19909 if (obj4) {
19910 ecode5 = SWIG_AsVal_int(obj4, &val5);
19911 if (!SWIG_IsOK(ecode5)) {
19912 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19913 }
19914 arg5 = static_cast< int >(val5);
19915 }
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 {
19923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19924 }
19925 {
19926 if (temp3)
19927 delete arg3;
19928 }
19929 return resultobj;
19930fail:
19931 {
19932 if (temp3)
19933 delete arg3;
19934 }
19935 return NULL;
19936}
19937
19938
19939SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj = 0;
19941 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19942 size_t arg2 ;
19943 wxWindow *arg3 = (wxWindow *) 0 ;
19944 wxString *arg4 = 0 ;
19945 bool arg5 = (bool) false ;
19946 int arg6 = (int) -1 ;
19947 bool result;
19948 void *argp1 = 0 ;
19949 int res1 = 0 ;
19950 size_t val2 ;
19951 int ecode2 = 0 ;
19952 void *argp3 = 0 ;
19953 int res3 = 0 ;
19954 bool temp4 = false ;
19955 bool val5 ;
19956 int ecode5 = 0 ;
19957 int val6 ;
19958 int ecode6 = 0 ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 PyObject * obj2 = 0 ;
19962 PyObject * obj3 = 0 ;
19963 PyObject * obj4 = 0 ;
19964 PyObject * obj5 = 0 ;
19965 char * kwnames[] = {
19966 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19967 };
19968
19969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
19970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19971 if (!SWIG_IsOK(res1)) {
19972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19973 }
19974 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19975 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19976 if (!SWIG_IsOK(ecode2)) {
19977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19978 }
19979 arg2 = static_cast< size_t >(val2);
19980 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
19981 if (!SWIG_IsOK(res3)) {
19982 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19983 }
19984 arg3 = reinterpret_cast< wxWindow * >(argp3);
19985 {
19986 arg4 = wxString_in_helper(obj3);
19987 if (arg4 == NULL) SWIG_fail;
19988 temp4 = true;
19989 }
19990 if (obj4) {
19991 ecode5 = SWIG_AsVal_bool(obj4, &val5);
19992 if (!SWIG_IsOK(ecode5)) {
19993 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19994 }
19995 arg5 = static_cast< bool >(val5);
19996 }
19997 if (obj5) {
19998 ecode6 = SWIG_AsVal_int(obj5, &val6);
19999 if (!SWIG_IsOK(ecode6)) {
20000 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20001 }
20002 arg6 = static_cast< int >(val6);
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 {
20011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20012 }
20013 {
20014 if (temp4)
20015 delete arg4;
20016 }
20017 return resultobj;
20018fail:
20019 {
20020 if (temp4)
20021 delete arg4;
20022 }
20023 return NULL;
20024}
20025
20026
20027SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj = 0;
20029 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20030 size_t arg2 ;
20031 int result;
20032 void *argp1 = 0 ;
20033 int res1 = 0 ;
20034 size_t val2 ;
20035 int ecode2 = 0 ;
20036 PyObject * obj0 = 0 ;
20037 PyObject * obj1 = 0 ;
20038 char * kwnames[] = {
20039 (char *) "self",(char *) "n", NULL
20040 };
20041
20042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20044 if (!SWIG_IsOK(res1)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20046 }
20047 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20048 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20049 if (!SWIG_IsOK(ecode2)) {
20050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20051 }
20052 arg2 = static_cast< size_t >(val2);
20053 {
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = (int)(arg1)->SetSelection(arg2);
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_From_int(static_cast< int >(result));
20060 return resultobj;
20061fail:
20062 return NULL;
20063}
20064
20065
20066SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj = 0;
20068 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20069 bool arg2 = (bool) true ;
20070 void *argp1 = 0 ;
20071 int res1 = 0 ;
20072 bool val2 ;
20073 int ecode2 = 0 ;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 char * kwnames[] = {
20077 (char *) "self",(char *) "forward", NULL
20078 };
20079
20080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20082 if (!SWIG_IsOK(res1)) {
20083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20084 }
20085 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20086 if (obj1) {
20087 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20088 if (!SWIG_IsOK(ecode2)) {
20089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20090 }
20091 arg2 = static_cast< bool >(val2);
20092 }
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 (arg1)->AdvanceSelection(arg2);
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = SWIG_Py_Void();
20100 return resultobj;
20101fail:
20102 return NULL;
20103}
20104
20105
704eda0c
RD
20106SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj = 0;
20108 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20109 wxPoint *arg2 = 0 ;
20110 long *arg3 = (long *) 0 ;
20111 int result;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 wxPoint temp2 ;
20115 long temp3 ;
20116 int res3 = SWIG_TMPOBJ ;
20117 PyObject * obj0 = 0 ;
20118 PyObject * obj1 = 0 ;
20119 char * kwnames[] = {
20120 (char *) "self",(char *) "pt", NULL
20121 };
20122
20123 arg3 = &temp3;
20124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20126 if (!SWIG_IsOK(res1)) {
20127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20128 }
20129 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20130 {
20131 arg2 = &temp2;
20132 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_From_int(static_cast< int >(result));
20141 if (SWIG_IsTmpObj(res3)) {
20142 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20143 } else {
20144 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20145 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20146 }
20147 return resultobj;
20148fail:
20149 return NULL;
20150}
20151
20152
0085ce49
RD
20153SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj = 0;
20155 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20156 SwigValueWrapper<wxVisualAttributes > result;
20157 int val1 ;
20158 int ecode1 = 0 ;
20159 PyObject * obj0 = 0 ;
20160 char * kwnames[] = {
20161 (char *) "variant", NULL
20162 };
20163
20164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20165 if (obj0) {
20166 ecode1 = SWIG_AsVal_int(obj0, &val1);
20167 if (!SWIG_IsOK(ecode1)) {
20168 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20169 }
20170 arg1 = static_cast< wxWindowVariant >(val1);
20171 }
20172 {
20173 if (!wxPyCheckForApp()) SWIG_fail;
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20180 return resultobj;
20181fail:
20182 return NULL;
20183}
20184
20185
20186SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20187 PyObject *obj;
20188 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20189 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20190 return SWIG_Py_Void();
20191}
20192
20193SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj = 0;
20195 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20196 int arg2 = (int) 0 ;
20197 int arg3 = (int) -1 ;
20198 int arg4 = (int) -1 ;
20199 wxBookCtrlBaseEvent *result = 0 ;
20200 int val1 ;
20201 int ecode1 = 0 ;
20202 int val2 ;
20203 int ecode2 = 0 ;
20204 int val3 ;
20205 int ecode3 = 0 ;
20206 int val4 ;
20207 int ecode4 = 0 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 PyObject * obj2 = 0 ;
20211 PyObject * obj3 = 0 ;
20212 char * kwnames[] = {
20213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20214 };
20215
20216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20217 if (obj0) {
20218 ecode1 = SWIG_AsVal_int(obj0, &val1);
20219 if (!SWIG_IsOK(ecode1)) {
20220 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20221 }
20222 arg1 = static_cast< wxEventType >(val1);
20223 }
20224 if (obj1) {
20225 ecode2 = SWIG_AsVal_int(obj1, &val2);
20226 if (!SWIG_IsOK(ecode2)) {
20227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20228 }
20229 arg2 = static_cast< int >(val2);
20230 }
20231 if (obj2) {
20232 ecode3 = SWIG_AsVal_int(obj2, &val3);
20233 if (!SWIG_IsOK(ecode3)) {
20234 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20235 }
20236 arg3 = static_cast< int >(val3);
20237 }
20238 if (obj3) {
20239 ecode4 = SWIG_AsVal_int(obj3, &val4);
20240 if (!SWIG_IsOK(ecode4)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20242 }
20243 arg4 = static_cast< int >(val4);
20244 }
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20252 return resultobj;
20253fail:
20254 return NULL;
d14a1e28
RD
20255}
20256
20257
0085ce49
RD
20258SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20259 PyObject *resultobj = 0;
20260 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20261 int result;
20262 void *argp1 = 0 ;
20263 int res1 = 0 ;
20264 PyObject *swig_obj[1] ;
20265
20266 if (!args) SWIG_fail;
20267 swig_obj[0] = args;
20268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20269 if (!SWIG_IsOK(res1)) {
20270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20271 }
20272 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 resultobj = SWIG_From_int(static_cast< int >(result));
20280 return resultobj;
20281fail:
20282 return NULL;
20283}
20284
20285
20286SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj = 0;
20288 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20289 int arg2 ;
20290 void *argp1 = 0 ;
20291 int res1 = 0 ;
20292 int val2 ;
20293 int ecode2 = 0 ;
20294 PyObject * obj0 = 0 ;
20295 PyObject * obj1 = 0 ;
20296 char * kwnames[] = {
20297 (char *) "self",(char *) "nSel", NULL
20298 };
20299
20300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20302 if (!SWIG_IsOK(res1)) {
20303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20304 }
20305 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20306 ecode2 = SWIG_AsVal_int(obj1, &val2);
20307 if (!SWIG_IsOK(ecode2)) {
20308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20309 }
20310 arg2 = static_cast< int >(val2);
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 (arg1)->SetSelection(arg2);
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 resultobj = SWIG_Py_Void();
20318 return resultobj;
20319fail:
20320 return NULL;
d14a1e28
RD
20321}
20322
20323
0085ce49
RD
20324SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20325 PyObject *resultobj = 0;
20326 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20327 int result;
20328 void *argp1 = 0 ;
20329 int res1 = 0 ;
20330 PyObject *swig_obj[1] ;
20331
20332 if (!args) SWIG_fail;
20333 swig_obj[0] = args;
20334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20335 if (!SWIG_IsOK(res1)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20337 }
20338 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20342 wxPyEndAllowThreads(__tstate);
20343 if (PyErr_Occurred()) SWIG_fail;
20344 }
20345 resultobj = SWIG_From_int(static_cast< int >(result));
20346 return resultobj;
20347fail:
20348 return NULL;
20349}
20350
20351
20352SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20353 PyObject *resultobj = 0;
20354 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20355 int arg2 ;
20356 void *argp1 = 0 ;
20357 int res1 = 0 ;
20358 int val2 ;
20359 int ecode2 = 0 ;
20360 PyObject * obj0 = 0 ;
20361 PyObject * obj1 = 0 ;
20362 char * kwnames[] = {
20363 (char *) "self",(char *) "nOldSel", NULL
20364 };
20365
20366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20368 if (!SWIG_IsOK(res1)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20370 }
20371 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20372 ecode2 = SWIG_AsVal_int(obj1, &val2);
20373 if (!SWIG_IsOK(ecode2)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20375 }
20376 arg2 = static_cast< int >(val2);
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 (arg1)->SetOldSelection(arg2);
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = SWIG_Py_Void();
20384 return resultobj;
20385fail:
20386 return NULL;
20387}
20388
20389
20390SWIGINTERN PyObject *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20391 PyObject *obj;
20392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20393 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20394 return SWIG_Py_Void();
20395}
20396
20397SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20398 return SWIG_Python_InitShadowInstance(args);
20399}
20400
20401SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj = 0;
20403 wxWindow *arg1 = (wxWindow *) 0 ;
20404 int arg2 = (int) -1 ;
20405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20407 wxSize const &arg4_defvalue = wxDefaultSize ;
20408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20409 long arg5 = (long) 0 ;
20410 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20411 wxString *arg6 = (wxString *) &arg6_defvalue ;
20412 wxNotebook *result = 0 ;
20413 void *argp1 = 0 ;
20414 int res1 = 0 ;
20415 int val2 ;
20416 int ecode2 = 0 ;
20417 wxPoint temp3 ;
20418 wxSize temp4 ;
20419 long val5 ;
20420 int ecode5 = 0 ;
20421 bool temp6 = false ;
20422 PyObject * obj0 = 0 ;
20423 PyObject * obj1 = 0 ;
20424 PyObject * obj2 = 0 ;
20425 PyObject * obj3 = 0 ;
20426 PyObject * obj4 = 0 ;
20427 PyObject * obj5 = 0 ;
20428 char * kwnames[] = {
20429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20430 };
20431
20432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20434 if (!SWIG_IsOK(res1)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20436 }
20437 arg1 = reinterpret_cast< wxWindow * >(argp1);
20438 if (obj1) {
20439 ecode2 = SWIG_AsVal_int(obj1, &val2);
20440 if (!SWIG_IsOK(ecode2)) {
20441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20442 }
20443 arg2 = static_cast< int >(val2);
20444 }
20445 if (obj2) {
093d3ff1 20446 {
0085ce49
RD
20447 arg3 = &temp3;
20448 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20449 }
0085ce49
RD
20450 }
20451 if (obj3) {
d14a1e28 20452 {
0085ce49
RD
20453 arg4 = &temp4;
20454 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 20455 }
0085ce49
RD
20456 }
20457 if (obj4) {
20458 ecode5 = SWIG_AsVal_long(obj4, &val5);
20459 if (!SWIG_IsOK(ecode5)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20461 }
20462 arg5 = static_cast< long >(val5);
20463 }
20464 if (obj5) {
093d3ff1 20465 {
0085ce49
RD
20466 arg6 = wxString_in_helper(obj5);
20467 if (arg6 == NULL) SWIG_fail;
20468 temp6 = true;
093d3ff1 20469 }
0085ce49
RD
20470 }
20471 {
20472 if (!wxPyCheckForApp()) SWIG_fail;
20473 PyThreadState* __tstate = wxPyBeginAllowThreads();
20474 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20479 {
20480 if (temp6)
20481 delete arg6;
20482 }
20483 return resultobj;
20484fail:
20485 {
20486 if (temp6)
20487 delete arg6;
20488 }
20489 return NULL;
d14a1e28
RD
20490}
20491
20492
0085ce49
RD
20493SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20494 PyObject *resultobj = 0;
20495 wxNotebook *result = 0 ;
20496
20497 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20498 {
20499 if (!wxPyCheckForApp()) SWIG_fail;
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 result = (wxNotebook *)new wxNotebook();
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20506 return resultobj;
20507fail:
20508 return NULL;
20509}
20510
20511
20512SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj = 0;
20514 wxNotebook *arg1 = (wxNotebook *) 0 ;
20515 wxWindow *arg2 = (wxWindow *) 0 ;
20516 int arg3 = (int) -1 ;
20517 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20518 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20519 wxSize const &arg5_defvalue = wxDefaultSize ;
20520 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20521 long arg6 = (long) 0 ;
20522 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20523 wxString *arg7 = (wxString *) &arg7_defvalue ;
20524 bool result;
20525 void *argp1 = 0 ;
20526 int res1 = 0 ;
20527 void *argp2 = 0 ;
20528 int res2 = 0 ;
20529 int val3 ;
20530 int ecode3 = 0 ;
20531 wxPoint temp4 ;
20532 wxSize temp5 ;
20533 long val6 ;
20534 int ecode6 = 0 ;
20535 bool temp7 = false ;
20536 PyObject * obj0 = 0 ;
20537 PyObject * obj1 = 0 ;
20538 PyObject * obj2 = 0 ;
20539 PyObject * obj3 = 0 ;
20540 PyObject * obj4 = 0 ;
20541 PyObject * obj5 = 0 ;
20542 PyObject * obj6 = 0 ;
20543 char * kwnames[] = {
20544 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20545 };
20546
20547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20549 if (!SWIG_IsOK(res1)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20551 }
20552 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20554 if (!SWIG_IsOK(res2)) {
20555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20556 }
20557 arg2 = reinterpret_cast< wxWindow * >(argp2);
20558 if (obj2) {
20559 ecode3 = SWIG_AsVal_int(obj2, &val3);
20560 if (!SWIG_IsOK(ecode3)) {
20561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20562 }
20563 arg3 = static_cast< int >(val3);
20564 }
20565 if (obj3) {
093d3ff1 20566 {
0085ce49
RD
20567 arg4 = &temp4;
20568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20569 }
0085ce49
RD
20570 }
20571 if (obj4) {
d14a1e28 20572 {
0085ce49
RD
20573 arg5 = &temp5;
20574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 20575 }
0085ce49
RD
20576 }
20577 if (obj5) {
20578 ecode6 = SWIG_AsVal_long(obj5, &val6);
20579 if (!SWIG_IsOK(ecode6)) {
20580 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20581 }
20582 arg6 = static_cast< long >(val6);
20583 }
20584 if (obj6) {
4f89f6a3 20585 {
0085ce49
RD
20586 arg7 = wxString_in_helper(obj6);
20587 if (arg7 == NULL) SWIG_fail;
20588 temp7 = true;
4f89f6a3 20589 }
0085ce49
RD
20590 }
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20599 }
20600 {
20601 if (temp7)
20602 delete arg7;
20603 }
20604 return resultobj;
20605fail:
20606 {
20607 if (temp7)
20608 delete arg7;
20609 }
20610 return NULL;
d14a1e28
RD
20611}
20612
20613
0085ce49
RD
20614SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20615 PyObject *resultobj = 0;
20616 wxNotebook *arg1 = (wxNotebook *) 0 ;
20617 int result;
20618 void *argp1 = 0 ;
20619 int res1 = 0 ;
20620 PyObject *swig_obj[1] ;
20621
20622 if (!args) SWIG_fail;
20623 swig_obj[0] = args;
20624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20625 if (!SWIG_IsOK(res1)) {
20626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20627 }
20628 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = SWIG_From_int(static_cast< int >(result));
20636 return resultobj;
20637fail:
20638 return NULL;
20639}
20640
20641
20642SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj = 0;
20644 wxNotebook *arg1 = (wxNotebook *) 0 ;
20645 wxSize *arg2 = 0 ;
20646 void *argp1 = 0 ;
20647 int res1 = 0 ;
20648 wxSize temp2 ;
20649 PyObject * obj0 = 0 ;
20650 PyObject * obj1 = 0 ;
20651 char * kwnames[] = {
20652 (char *) "self",(char *) "padding", NULL
20653 };
20654
20655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20657 if (!SWIG_IsOK(res1)) {
20658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20659 }
20660 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20661 {
20662 arg2 = &temp2;
20663 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20664 }
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 (arg1)->SetPadding((wxSize const &)*arg2);
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 resultobj = SWIG_Py_Void();
20672 return resultobj;
20673fail:
20674 return NULL;
20675}
20676
20677
20678SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20679 PyObject *resultobj = 0;
20680 wxNotebook *arg1 = (wxNotebook *) 0 ;
20681 wxSize *arg2 = 0 ;
20682 void *argp1 = 0 ;
20683 int res1 = 0 ;
20684 wxSize temp2 ;
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
20687 char * kwnames[] = {
20688 (char *) "self",(char *) "sz", NULL
20689 };
20690
20691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20693 if (!SWIG_IsOK(res1)) {
20694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20695 }
20696 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20697 {
20698 arg2 = &temp2;
20699 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20700 }
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 (arg1)->SetTabSize((wxSize const &)*arg2);
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = SWIG_Py_Void();
20708 return resultobj;
20709fail:
20710 return NULL;
20711}
20712
20713
0085ce49
RD
20714SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20715 PyObject *resultobj = 0;
20716 wxNotebook *arg1 = (wxNotebook *) 0 ;
20717 wxColour result;
20718 void *argp1 = 0 ;
20719 int res1 = 0 ;
20720 PyObject *swig_obj[1] ;
20721
20722 if (!args) SWIG_fail;
20723 swig_obj[0] = args;
20724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20725 if (!SWIG_IsOK(res1)) {
20726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20727 }
20728 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
20732 wxPyEndAllowThreads(__tstate);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
20736 return resultobj;
20737fail:
20738 return NULL;
20739}
20740
20741
20742SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20743 PyObject *resultobj = 0;
20744 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20745 SwigValueWrapper<wxVisualAttributes > result;
20746 int val1 ;
20747 int ecode1 = 0 ;
20748 PyObject * obj0 = 0 ;
20749 char * kwnames[] = {
20750 (char *) "variant", NULL
20751 };
20752
20753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20754 if (obj0) {
20755 ecode1 = SWIG_AsVal_int(obj0, &val1);
20756 if (!SWIG_IsOK(ecode1)) {
20757 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20758 }
20759 arg1 = static_cast< wxWindowVariant >(val1);
20760 }
20761 {
20762 if (!wxPyCheckForApp()) SWIG_fail;
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = wxNotebook::GetClassDefaultAttributes(arg1);
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20769 return resultobj;
20770fail:
20771 return NULL;
20772}
20773
20774
20775SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20776 PyObject *obj;
20777 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20778 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
20779 return SWIG_Py_Void();
20780}
20781
20782SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20783 return SWIG_Python_InitShadowInstance(args);
20784}
20785
20786SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj = 0;
20788 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20789 int arg2 = (int) 0 ;
20790 int arg3 = (int) -1 ;
20791 int arg4 = (int) -1 ;
20792 wxNotebookEvent *result = 0 ;
20793 int val1 ;
20794 int ecode1 = 0 ;
20795 int val2 ;
20796 int ecode2 = 0 ;
20797 int val3 ;
20798 int ecode3 = 0 ;
20799 int val4 ;
20800 int ecode4 = 0 ;
20801 PyObject * obj0 = 0 ;
20802 PyObject * obj1 = 0 ;
20803 PyObject * obj2 = 0 ;
20804 PyObject * obj3 = 0 ;
20805 char * kwnames[] = {
20806 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20807 };
20808
20809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20810 if (obj0) {
20811 ecode1 = SWIG_AsVal_int(obj0, &val1);
20812 if (!SWIG_IsOK(ecode1)) {
20813 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20814 }
20815 arg1 = static_cast< wxEventType >(val1);
20816 }
20817 if (obj1) {
20818 ecode2 = SWIG_AsVal_int(obj1, &val2);
20819 if (!SWIG_IsOK(ecode2)) {
20820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20821 }
20822 arg2 = static_cast< int >(val2);
20823 }
20824 if (obj2) {
20825 ecode3 = SWIG_AsVal_int(obj2, &val3);
20826 if (!SWIG_IsOK(ecode3)) {
20827 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20828 }
20829 arg3 = static_cast< int >(val3);
20830 }
20831 if (obj3) {
20832 ecode4 = SWIG_AsVal_int(obj3, &val4);
20833 if (!SWIG_IsOK(ecode4)) {
20834 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20835 }
20836 arg4 = static_cast< int >(val4);
20837 }
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
20841 wxPyEndAllowThreads(__tstate);
20842 if (PyErr_Occurred()) SWIG_fail;
20843 }
20844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
20845 return resultobj;
20846fail:
20847 return NULL;
20848}
20849
20850
20851SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20852 PyObject *obj;
20853 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20854 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
20855 return SWIG_Py_Void();
20856}
20857
20858SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20859 return SWIG_Python_InitShadowInstance(args);
20860}
20861
20862SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj = 0;
20864 wxWindow *arg1 = (wxWindow *) 0 ;
20865 int arg2 = (int) -1 ;
20866 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20867 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20868 wxSize const &arg4_defvalue = wxDefaultSize ;
20869 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20870 long arg5 = (long) 0 ;
20871 wxString const &arg6_defvalue = wxPyEmptyString ;
20872 wxString *arg6 = (wxString *) &arg6_defvalue ;
20873 wxListbook *result = 0 ;
20874 void *argp1 = 0 ;
20875 int res1 = 0 ;
20876 int val2 ;
20877 int ecode2 = 0 ;
20878 wxPoint temp3 ;
20879 wxSize temp4 ;
20880 long val5 ;
20881 int ecode5 = 0 ;
20882 bool temp6 = false ;
20883 PyObject * obj0 = 0 ;
20884 PyObject * obj1 = 0 ;
20885 PyObject * obj2 = 0 ;
20886 PyObject * obj3 = 0 ;
20887 PyObject * obj4 = 0 ;
20888 PyObject * obj5 = 0 ;
20889 char * kwnames[] = {
20890 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20891 };
20892
20893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20895 if (!SWIG_IsOK(res1)) {
20896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20897 }
20898 arg1 = reinterpret_cast< wxWindow * >(argp1);
20899 if (obj1) {
20900 ecode2 = SWIG_AsVal_int(obj1, &val2);
20901 if (!SWIG_IsOK(ecode2)) {
20902 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20903 }
20904 arg2 = static_cast< int >(val2);
20905 }
20906 if (obj2) {
093d3ff1 20907 {
0085ce49
RD
20908 arg3 = &temp3;
20909 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20910 }
0085ce49
RD
20911 }
20912 if (obj3) {
093d3ff1 20913 {
0085ce49
RD
20914 arg4 = &temp4;
20915 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 20916 }
0085ce49
RD
20917 }
20918 if (obj4) {
20919 ecode5 = SWIG_AsVal_long(obj4, &val5);
20920 if (!SWIG_IsOK(ecode5)) {
20921 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20922 }
20923 arg5 = static_cast< long >(val5);
20924 }
20925 if (obj5) {
d14a1e28 20926 {
0085ce49
RD
20927 arg6 = wxString_in_helper(obj5);
20928 if (arg6 == NULL) SWIG_fail;
20929 temp6 = true;
d14a1e28 20930 }
0085ce49
RD
20931 }
20932 {
20933 if (!wxPyCheckForApp()) SWIG_fail;
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
20940 {
20941 if (temp6)
20942 delete arg6;
20943 }
20944 return resultobj;
20945fail:
20946 {
20947 if (temp6)
20948 delete arg6;
20949 }
20950 return NULL;
d14a1e28
RD
20951}
20952
20953
0085ce49
RD
20954SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20955 PyObject *resultobj = 0;
20956 wxListbook *result = 0 ;
20957
20958 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
20959 {
20960 if (!wxPyCheckForApp()) SWIG_fail;
20961 PyThreadState* __tstate = wxPyBeginAllowThreads();
20962 result = (wxListbook *)new wxListbook();
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
20967 return resultobj;
20968fail:
20969 return NULL;
20970}
20971
20972
20973SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj = 0;
20975 wxListbook *arg1 = (wxListbook *) 0 ;
20976 wxWindow *arg2 = (wxWindow *) 0 ;
20977 int arg3 = (int) -1 ;
20978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20980 wxSize const &arg5_defvalue = wxDefaultSize ;
20981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20982 long arg6 = (long) 0 ;
20983 wxString const &arg7_defvalue = wxPyEmptyString ;
20984 wxString *arg7 = (wxString *) &arg7_defvalue ;
20985 bool result;
20986 void *argp1 = 0 ;
20987 int res1 = 0 ;
20988 void *argp2 = 0 ;
20989 int res2 = 0 ;
20990 int val3 ;
20991 int ecode3 = 0 ;
20992 wxPoint temp4 ;
20993 wxSize temp5 ;
20994 long val6 ;
20995 int ecode6 = 0 ;
20996 bool temp7 = false ;
20997 PyObject * obj0 = 0 ;
20998 PyObject * obj1 = 0 ;
20999 PyObject * obj2 = 0 ;
21000 PyObject * obj3 = 0 ;
21001 PyObject * obj4 = 0 ;
21002 PyObject * obj5 = 0 ;
21003 PyObject * obj6 = 0 ;
21004 char * kwnames[] = {
21005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21006 };
21007
21008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21010 if (!SWIG_IsOK(res1)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21012 }
21013 arg1 = reinterpret_cast< wxListbook * >(argp1);
21014 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21015 if (!SWIG_IsOK(res2)) {
21016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21017 }
21018 arg2 = reinterpret_cast< wxWindow * >(argp2);
21019 if (obj2) {
21020 ecode3 = SWIG_AsVal_int(obj2, &val3);
21021 if (!SWIG_IsOK(ecode3)) {
21022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21023 }
21024 arg3 = static_cast< int >(val3);
21025 }
21026 if (obj3) {
22bfe96c 21027 {
0085ce49
RD
21028 arg4 = &temp4;
21029 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 21030 }
0085ce49
RD
21031 }
21032 if (obj4) {
22bfe96c 21033 {
0085ce49
RD
21034 arg5 = &temp5;
21035 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 21036 }
0085ce49
RD
21037 }
21038 if (obj5) {
21039 ecode6 = SWIG_AsVal_long(obj5, &val6);
21040 if (!SWIG_IsOK(ecode6)) {
21041 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21042 }
21043 arg6 = static_cast< long >(val6);
21044 }
21045 if (obj6) {
b2dc1044 21046 {
0085ce49
RD
21047 arg7 = wxString_in_helper(obj6);
21048 if (arg7 == NULL) SWIG_fail;
21049 temp7 = true;
b2dc1044 21050 }
0085ce49
RD
21051 }
21052 {
21053 PyThreadState* __tstate = wxPyBeginAllowThreads();
21054 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 {
21059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21060 }
21061 {
21062 if (temp7)
21063 delete arg7;
21064 }
21065 return resultobj;
21066fail:
21067 {
21068 if (temp7)
21069 delete arg7;
21070 }
21071 return NULL;
b2dc1044
RD
21072}
21073
21074
0085ce49
RD
21075SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21076 PyObject *resultobj = 0;
21077 wxListbook *arg1 = (wxListbook *) 0 ;
21078 wxListView *result = 0 ;
21079 void *argp1 = 0 ;
21080 int res1 = 0 ;
21081 PyObject *swig_obj[1] ;
21082
21083 if (!args) SWIG_fail;
21084 swig_obj[0] = args;
21085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21086 if (!SWIG_IsOK(res1)) {
21087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21088 }
21089 arg1 = reinterpret_cast< wxListbook * >(argp1);
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = (wxListView *)(arg1)->GetListView();
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21097 return resultobj;
21098fail:
21099 return NULL;
21100}
21101
21102
21103SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21104 PyObject *obj;
21105 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21106 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21107 return SWIG_Py_Void();
21108}
21109
21110SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21111 return SWIG_Python_InitShadowInstance(args);
21112}
21113
21114SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21115 PyObject *resultobj = 0;
21116 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21117 int arg2 = (int) 0 ;
21118 int arg3 = (int) -1 ;
21119 int arg4 = (int) -1 ;
21120 wxListbookEvent *result = 0 ;
21121 int val1 ;
21122 int ecode1 = 0 ;
21123 int val2 ;
21124 int ecode2 = 0 ;
21125 int val3 ;
21126 int ecode3 = 0 ;
21127 int val4 ;
21128 int ecode4 = 0 ;
21129 PyObject * obj0 = 0 ;
21130 PyObject * obj1 = 0 ;
21131 PyObject * obj2 = 0 ;
21132 PyObject * obj3 = 0 ;
21133 char * kwnames[] = {
21134 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21135 };
21136
21137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21138 if (obj0) {
21139 ecode1 = SWIG_AsVal_int(obj0, &val1);
21140 if (!SWIG_IsOK(ecode1)) {
21141 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21142 }
21143 arg1 = static_cast< wxEventType >(val1);
21144 }
21145 if (obj1) {
21146 ecode2 = SWIG_AsVal_int(obj1, &val2);
21147 if (!SWIG_IsOK(ecode2)) {
21148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21149 }
21150 arg2 = static_cast< int >(val2);
21151 }
21152 if (obj2) {
21153 ecode3 = SWIG_AsVal_int(obj2, &val3);
21154 if (!SWIG_IsOK(ecode3)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21156 }
21157 arg3 = static_cast< int >(val3);
21158 }
21159 if (obj3) {
21160 ecode4 = SWIG_AsVal_int(obj3, &val4);
21161 if (!SWIG_IsOK(ecode4)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21163 }
21164 arg4 = static_cast< int >(val4);
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21173 return resultobj;
21174fail:
21175 return NULL;
21176}
21177
21178
21179SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21180 PyObject *obj;
21181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21182 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21183 return SWIG_Py_Void();
21184}
21185
21186SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21187 return SWIG_Python_InitShadowInstance(args);
21188}
21189
21190SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj = 0;
21192 wxWindow *arg1 = (wxWindow *) 0 ;
21193 int arg2 ;
21194 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21195 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21196 wxSize const &arg4_defvalue = wxDefaultSize ;
21197 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21198 long arg5 = (long) 0 ;
21199 wxString const &arg6_defvalue = wxPyEmptyString ;
21200 wxString *arg6 = (wxString *) &arg6_defvalue ;
21201 wxChoicebook *result = 0 ;
21202 void *argp1 = 0 ;
21203 int res1 = 0 ;
21204 int val2 ;
21205 int ecode2 = 0 ;
21206 wxPoint temp3 ;
21207 wxSize temp4 ;
21208 long val5 ;
21209 int ecode5 = 0 ;
21210 bool temp6 = false ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 PyObject * obj2 = 0 ;
21214 PyObject * obj3 = 0 ;
21215 PyObject * obj4 = 0 ;
21216 PyObject * obj5 = 0 ;
21217 char * kwnames[] = {
21218 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21219 };
21220
21221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21223 if (!SWIG_IsOK(res1)) {
21224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21225 }
21226 arg1 = reinterpret_cast< wxWindow * >(argp1);
21227 ecode2 = SWIG_AsVal_int(obj1, &val2);
21228 if (!SWIG_IsOK(ecode2)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21230 }
21231 arg2 = static_cast< int >(val2);
21232 if (obj2) {
d14a1e28 21233 {
0085ce49
RD
21234 arg3 = &temp3;
21235 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 21236 }
0085ce49
RD
21237 }
21238 if (obj3) {
d14a1e28 21239 {
0085ce49
RD
21240 arg4 = &temp4;
21241 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21242 }
0085ce49
RD
21243 }
21244 if (obj4) {
21245 ecode5 = SWIG_AsVal_long(obj4, &val5);
21246 if (!SWIG_IsOK(ecode5)) {
21247 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21248 }
21249 arg5 = static_cast< long >(val5);
21250 }
21251 if (obj5) {
d14a1e28 21252 {
0085ce49
RD
21253 arg6 = wxString_in_helper(obj5);
21254 if (arg6 == NULL) SWIG_fail;
21255 temp6 = true;
d14a1e28 21256 }
0085ce49
RD
21257 }
21258 {
21259 if (!wxPyCheckForApp()) SWIG_fail;
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21266 {
21267 if (temp6)
21268 delete arg6;
21269 }
21270 return resultobj;
21271fail:
21272 {
21273 if (temp6)
21274 delete arg6;
21275 }
21276 return NULL;
d14a1e28
RD
21277}
21278
21279
0085ce49
RD
21280SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21281 PyObject *resultobj = 0;
21282 wxChoicebook *result = 0 ;
21283
21284 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21285 {
21286 if (!wxPyCheckForApp()) SWIG_fail;
21287 PyThreadState* __tstate = wxPyBeginAllowThreads();
21288 result = (wxChoicebook *)new wxChoicebook();
21289 wxPyEndAllowThreads(__tstate);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 }
21292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21293 return resultobj;
21294fail:
21295 return NULL;
21296}
21297
21298
21299SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj = 0;
21301 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21302 wxWindow *arg2 = (wxWindow *) 0 ;
21303 int arg3 ;
21304 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21305 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21306 wxSize const &arg5_defvalue = wxDefaultSize ;
21307 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21308 long arg6 = (long) 0 ;
21309 wxString const &arg7_defvalue = wxPyEmptyString ;
21310 wxString *arg7 = (wxString *) &arg7_defvalue ;
21311 bool result;
21312 void *argp1 = 0 ;
21313 int res1 = 0 ;
21314 void *argp2 = 0 ;
21315 int res2 = 0 ;
21316 int val3 ;
21317 int ecode3 = 0 ;
21318 wxPoint temp4 ;
21319 wxSize temp5 ;
21320 long val6 ;
21321 int ecode6 = 0 ;
21322 bool temp7 = false ;
21323 PyObject * obj0 = 0 ;
21324 PyObject * obj1 = 0 ;
21325 PyObject * obj2 = 0 ;
21326 PyObject * obj3 = 0 ;
21327 PyObject * obj4 = 0 ;
21328 PyObject * obj5 = 0 ;
21329 PyObject * obj6 = 0 ;
21330 char * kwnames[] = {
21331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21332 };
21333
21334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21336 if (!SWIG_IsOK(res1)) {
21337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21338 }
21339 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21340 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21341 if (!SWIG_IsOK(res2)) {
21342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21343 }
21344 arg2 = reinterpret_cast< wxWindow * >(argp2);
21345 ecode3 = SWIG_AsVal_int(obj2, &val3);
21346 if (!SWIG_IsOK(ecode3)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21348 }
21349 arg3 = static_cast< int >(val3);
21350 if (obj3) {
4f89f6a3 21351 {
0085ce49
RD
21352 arg4 = &temp4;
21353 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 21354 }
0085ce49
RD
21355 }
21356 if (obj4) {
d14a1e28 21357 {
0085ce49
RD
21358 arg5 = &temp5;
21359 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 21360 }
0085ce49
RD
21361 }
21362 if (obj5) {
21363 ecode6 = SWIG_AsVal_long(obj5, &val6);
21364 if (!SWIG_IsOK(ecode6)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21366 }
21367 arg6 = static_cast< long >(val6);
21368 }
21369 if (obj6) {
d14a1e28 21370 {
0085ce49
RD
21371 arg7 = wxString_in_helper(obj6);
21372 if (arg7 == NULL) SWIG_fail;
21373 temp7 = true;
d14a1e28 21374 }
0085ce49
RD
21375 }
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 {
21383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21384 }
21385 {
21386 if (temp7)
21387 delete arg7;
21388 }
21389 return resultobj;
21390fail:
21391 {
21392 if (temp7)
21393 delete arg7;
21394 }
21395 return NULL;
d14a1e28
RD
21396}
21397
21398
0085ce49
RD
21399SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21400 PyObject *resultobj = 0;
21401 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21402 wxChoice *result = 0 ;
21403 void *argp1 = 0 ;
21404 int res1 = 0 ;
21405 PyObject *swig_obj[1] ;
21406
21407 if (!args) SWIG_fail;
21408 swig_obj[0] = args;
21409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21410 if (!SWIG_IsOK(res1)) {
21411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21412 }
21413 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21414 {
21415 PyThreadState* __tstate = wxPyBeginAllowThreads();
21416 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21421 return resultobj;
21422fail:
21423 return NULL;
21424}
21425
21426
21427SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21428 PyObject *obj;
21429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21430 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21431 return SWIG_Py_Void();
21432}
21433
21434SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21435 return SWIG_Python_InitShadowInstance(args);
21436}
21437
21438SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj = 0;
21440 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21441 int arg2 = (int) 0 ;
21442 int arg3 = (int) -1 ;
21443 int arg4 = (int) -1 ;
21444 wxChoicebookEvent *result = 0 ;
21445 int val1 ;
21446 int ecode1 = 0 ;
21447 int val2 ;
21448 int ecode2 = 0 ;
21449 int val3 ;
21450 int ecode3 = 0 ;
21451 int val4 ;
21452 int ecode4 = 0 ;
21453 PyObject * obj0 = 0 ;
21454 PyObject * obj1 = 0 ;
21455 PyObject * obj2 = 0 ;
21456 PyObject * obj3 = 0 ;
21457 char * kwnames[] = {
21458 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21459 };
21460
21461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21462 if (obj0) {
21463 ecode1 = SWIG_AsVal_int(obj0, &val1);
21464 if (!SWIG_IsOK(ecode1)) {
21465 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21466 }
21467 arg1 = static_cast< wxEventType >(val1);
21468 }
21469 if (obj1) {
21470 ecode2 = SWIG_AsVal_int(obj1, &val2);
21471 if (!SWIG_IsOK(ecode2)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21473 }
21474 arg2 = static_cast< int >(val2);
21475 }
21476 if (obj2) {
21477 ecode3 = SWIG_AsVal_int(obj2, &val3);
21478 if (!SWIG_IsOK(ecode3)) {
21479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21480 }
21481 arg3 = static_cast< int >(val3);
21482 }
21483 if (obj3) {
21484 ecode4 = SWIG_AsVal_int(obj3, &val4);
21485 if (!SWIG_IsOK(ecode4)) {
21486 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21487 }
21488 arg4 = static_cast< int >(val4);
21489 }
21490 {
21491 PyThreadState* __tstate = wxPyBeginAllowThreads();
21492 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21493 wxPyEndAllowThreads(__tstate);
21494 if (PyErr_Occurred()) SWIG_fail;
21495 }
21496 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21497 return resultobj;
21498fail:
21499 return NULL;
21500}
21501
21502
21503SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21504 PyObject *obj;
21505 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21506 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21507 return SWIG_Py_Void();
21508}
21509
21510SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21511 return SWIG_Python_InitShadowInstance(args);
21512}
21513
21514SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj = 0;
21516 wxWindow *arg1 = (wxWindow *) 0 ;
21517 int arg2 ;
21518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21520 wxSize const &arg4_defvalue = wxDefaultSize ;
21521 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21522 long arg5 = (long) wxBK_DEFAULT ;
21523 wxString const &arg6_defvalue = wxPyEmptyString ;
21524 wxString *arg6 = (wxString *) &arg6_defvalue ;
21525 wxTreebook *result = 0 ;
21526 void *argp1 = 0 ;
21527 int res1 = 0 ;
21528 int val2 ;
21529 int ecode2 = 0 ;
21530 wxPoint temp3 ;
21531 wxSize temp4 ;
21532 long val5 ;
21533 int ecode5 = 0 ;
21534 bool temp6 = false ;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 PyObject * obj2 = 0 ;
21538 PyObject * obj3 = 0 ;
21539 PyObject * obj4 = 0 ;
21540 PyObject * obj5 = 0 ;
21541 char * kwnames[] = {
21542 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21543 };
21544
21545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21547 if (!SWIG_IsOK(res1)) {
21548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21549 }
21550 arg1 = reinterpret_cast< wxWindow * >(argp1);
21551 ecode2 = SWIG_AsVal_int(obj1, &val2);
21552 if (!SWIG_IsOK(ecode2)) {
21553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21554 }
21555 arg2 = static_cast< int >(val2);
21556 if (obj2) {
093d3ff1 21557 {
0085ce49
RD
21558 arg3 = &temp3;
21559 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21560 }
0085ce49
RD
21561 }
21562 if (obj3) {
d14a1e28 21563 {
0085ce49
RD
21564 arg4 = &temp4;
21565 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21566 }
0085ce49
RD
21567 }
21568 if (obj4) {
21569 ecode5 = SWIG_AsVal_long(obj4, &val5);
21570 if (!SWIG_IsOK(ecode5)) {
21571 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21572 }
21573 arg5 = static_cast< long >(val5);
21574 }
21575 if (obj5) {
093d3ff1 21576 {
0085ce49
RD
21577 arg6 = wxString_in_helper(obj5);
21578 if (arg6 == NULL) SWIG_fail;
21579 temp6 = true;
093d3ff1 21580 }
0085ce49
RD
21581 }
21582 {
21583 if (!wxPyCheckForApp()) SWIG_fail;
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21590 {
21591 if (temp6)
21592 delete arg6;
21593 }
21594 return resultobj;
21595fail:
21596 {
21597 if (temp6)
21598 delete arg6;
21599 }
21600 return NULL;
d14a1e28
RD
21601}
21602
21603
0085ce49
RD
21604SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21605 PyObject *resultobj = 0;
21606 wxTreebook *result = 0 ;
21607
21608 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21609 {
21610 if (!wxPyCheckForApp()) SWIG_fail;
21611 PyThreadState* __tstate = wxPyBeginAllowThreads();
21612 result = (wxTreebook *)new wxTreebook();
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21617 return resultobj;
21618fail:
21619 return NULL;
21620}
21621
21622
21623SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj = 0;
21625 wxTreebook *arg1 = (wxTreebook *) 0 ;
21626 wxWindow *arg2 = (wxWindow *) 0 ;
21627 int arg3 ;
21628 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21629 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21630 wxSize const &arg5_defvalue = wxDefaultSize ;
21631 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21632 long arg6 = (long) wxBK_DEFAULT ;
21633 wxString const &arg7_defvalue = wxPyEmptyString ;
21634 wxString *arg7 = (wxString *) &arg7_defvalue ;
21635 bool result;
21636 void *argp1 = 0 ;
21637 int res1 = 0 ;
21638 void *argp2 = 0 ;
21639 int res2 = 0 ;
21640 int val3 ;
21641 int ecode3 = 0 ;
21642 wxPoint temp4 ;
21643 wxSize temp5 ;
21644 long val6 ;
21645 int ecode6 = 0 ;
21646 bool temp7 = false ;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 PyObject * obj2 = 0 ;
21650 PyObject * obj3 = 0 ;
21651 PyObject * obj4 = 0 ;
21652 PyObject * obj5 = 0 ;
21653 PyObject * obj6 = 0 ;
21654 char * kwnames[] = {
21655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21656 };
21657
21658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21660 if (!SWIG_IsOK(res1)) {
21661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21662 }
21663 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21664 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21665 if (!SWIG_IsOK(res2)) {
21666 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21667 }
21668 arg2 = reinterpret_cast< wxWindow * >(argp2);
21669 ecode3 = SWIG_AsVal_int(obj2, &val3);
21670 if (!SWIG_IsOK(ecode3)) {
21671 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21672 }
21673 arg3 = static_cast< int >(val3);
21674 if (obj3) {
d14a1e28 21675 {
0085ce49
RD
21676 arg4 = &temp4;
21677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 21678 }
0085ce49
RD
21679 }
21680 if (obj4) {
093d3ff1 21681 {
0085ce49
RD
21682 arg5 = &temp5;
21683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21684 }
0085ce49
RD
21685 }
21686 if (obj5) {
21687 ecode6 = SWIG_AsVal_long(obj5, &val6);
21688 if (!SWIG_IsOK(ecode6)) {
21689 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21690 }
21691 arg6 = static_cast< long >(val6);
21692 }
21693 if (obj6) {
093d3ff1 21694 {
0085ce49
RD
21695 arg7 = wxString_in_helper(obj6);
21696 if (arg7 == NULL) SWIG_fail;
21697 temp7 = true;
093d3ff1 21698 }
0085ce49
RD
21699 }
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 {
21707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21708 }
21709 {
21710 if (temp7)
21711 delete arg7;
21712 }
21713 return resultobj;
21714fail:
21715 {
21716 if (temp7)
21717 delete arg7;
21718 }
21719 return NULL;
21720}
21721
21722
21723SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj = 0;
21725 wxTreebook *arg1 = (wxTreebook *) 0 ;
21726 size_t arg2 ;
21727 wxWindow *arg3 = (wxWindow *) 0 ;
21728 wxString *arg4 = 0 ;
21729 bool arg5 = (bool) false ;
21730 int arg6 = (int) wxNOT_FOUND ;
21731 bool result;
21732 void *argp1 = 0 ;
21733 int res1 = 0 ;
21734 size_t val2 ;
21735 int ecode2 = 0 ;
21736 void *argp3 = 0 ;
21737 int res3 = 0 ;
21738 bool temp4 = false ;
21739 bool val5 ;
21740 int ecode5 = 0 ;
21741 int val6 ;
21742 int ecode6 = 0 ;
21743 PyObject * obj0 = 0 ;
21744 PyObject * obj1 = 0 ;
21745 PyObject * obj2 = 0 ;
21746 PyObject * obj3 = 0 ;
21747 PyObject * obj4 = 0 ;
21748 PyObject * obj5 = 0 ;
21749 char * kwnames[] = {
21750 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21751 };
21752
21753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21755 if (!SWIG_IsOK(res1)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21757 }
21758 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21759 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21760 if (!SWIG_IsOK(ecode2)) {
21761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21762 }
21763 arg2 = static_cast< size_t >(val2);
21764 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
21765 if (!SWIG_IsOK(res3)) {
21766 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21767 }
21768 arg3 = reinterpret_cast< wxWindow * >(argp3);
21769 {
21770 arg4 = wxString_in_helper(obj3);
21771 if (arg4 == NULL) SWIG_fail;
21772 temp4 = true;
21773 }
21774 if (obj4) {
21775 ecode5 = SWIG_AsVal_bool(obj4, &val5);
21776 if (!SWIG_IsOK(ecode5)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21778 }
21779 arg5 = static_cast< bool >(val5);
21780 }
21781 if (obj5) {
21782 ecode6 = SWIG_AsVal_int(obj5, &val6);
21783 if (!SWIG_IsOK(ecode6)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21785 }
21786 arg6 = static_cast< int >(val6);
21787 }
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 {
21795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21796 }
21797 {
21798 if (temp4)
21799 delete arg4;
21800 }
21801 return resultobj;
21802fail:
21803 {
21804 if (temp4)
21805 delete arg4;
21806 }
21807 return NULL;
21808}
21809
21810
21811SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj = 0;
21813 wxTreebook *arg1 = (wxTreebook *) 0 ;
21814 wxWindow *arg2 = (wxWindow *) 0 ;
21815 wxString *arg3 = 0 ;
21816 bool arg4 = (bool) false ;
21817 int arg5 = (int) wxNOT_FOUND ;
21818 bool result;
21819 void *argp1 = 0 ;
21820 int res1 = 0 ;
21821 void *argp2 = 0 ;
21822 int res2 = 0 ;
21823 bool temp3 = false ;
21824 bool val4 ;
21825 int ecode4 = 0 ;
21826 int val5 ;
21827 int ecode5 = 0 ;
21828 PyObject * obj0 = 0 ;
21829 PyObject * obj1 = 0 ;
21830 PyObject * obj2 = 0 ;
21831 PyObject * obj3 = 0 ;
21832 PyObject * obj4 = 0 ;
21833 char * kwnames[] = {
21834 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21835 };
21836
21837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21839 if (!SWIG_IsOK(res1)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21841 }
21842 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21843 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21844 if (!SWIG_IsOK(res2)) {
21845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21846 }
21847 arg2 = reinterpret_cast< wxWindow * >(argp2);
21848 {
21849 arg3 = wxString_in_helper(obj2);
21850 if (arg3 == NULL) SWIG_fail;
21851 temp3 = true;
21852 }
21853 if (obj3) {
21854 ecode4 = SWIG_AsVal_bool(obj3, &val4);
21855 if (!SWIG_IsOK(ecode4)) {
21856 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21857 }
21858 arg4 = static_cast< bool >(val4);
21859 }
21860 if (obj4) {
21861 ecode5 = SWIG_AsVal_int(obj4, &val5);
21862 if (!SWIG_IsOK(ecode5)) {
21863 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21864 }
21865 arg5 = static_cast< int >(val5);
21866 }
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 {
21874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21875 }
21876 {
21877 if (temp3)
21878 delete arg3;
21879 }
21880 return resultobj;
21881fail:
21882 {
21883 if (temp3)
21884 delete arg3;
21885 }
21886 return NULL;
21887}
21888
21889
21890SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj = 0;
21892 wxTreebook *arg1 = (wxTreebook *) 0 ;
21893 size_t arg2 ;
21894 bool result;
21895 void *argp1 = 0 ;
21896 int res1 = 0 ;
21897 size_t val2 ;
21898 int ecode2 = 0 ;
21899 PyObject * obj0 = 0 ;
21900 PyObject * obj1 = 0 ;
21901 char * kwnames[] = {
21902 (char *) "self",(char *) "pos", NULL
21903 };
21904
21905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
21906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21907 if (!SWIG_IsOK(res1)) {
21908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21909 }
21910 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21911 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21912 if (!SWIG_IsOK(ecode2)) {
21913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21914 }
21915 arg2 = static_cast< size_t >(val2);
21916 {
21917 PyThreadState* __tstate = wxPyBeginAllowThreads();
21918 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
21919 wxPyEndAllowThreads(__tstate);
21920 if (PyErr_Occurred()) SWIG_fail;
21921 }
21922 {
21923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21924 }
21925 return resultobj;
21926fail:
21927 return NULL;
21928}
21929
21930
21931SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21932 PyObject *resultobj = 0;
21933 wxTreebook *arg1 = (wxTreebook *) 0 ;
21934 size_t arg2 ;
21935 bool arg3 = (bool) true ;
21936 bool result;
21937 void *argp1 = 0 ;
21938 int res1 = 0 ;
21939 size_t val2 ;
21940 int ecode2 = 0 ;
21941 bool val3 ;
21942 int ecode3 = 0 ;
21943 PyObject * obj0 = 0 ;
21944 PyObject * obj1 = 0 ;
21945 PyObject * obj2 = 0 ;
21946 char * kwnames[] = {
21947 (char *) "self",(char *) "pos",(char *) "expand", NULL
21948 };
21949
21950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
21952 if (!SWIG_IsOK(res1)) {
21953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21954 }
21955 arg1 = reinterpret_cast< wxTreebook * >(argp1);
21956 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
21957 if (!SWIG_IsOK(ecode2)) {
21958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21959 }
21960 arg2 = static_cast< size_t >(val2);
21961 if (obj2) {
21962 ecode3 = SWIG_AsVal_bool(obj2, &val3);
21963 if (!SWIG_IsOK(ecode3)) {
21964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21965 }
21966 arg3 = static_cast< bool >(val3);
21967 }
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 result = (bool)(arg1)->ExpandNode(arg2,arg3);
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 {
21975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21976 }
21977 return resultobj;
21978fail:
21979 return NULL;
21980}
21981
21982
21983SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21984 PyObject *resultobj = 0;
21985 wxTreebook *arg1 = (wxTreebook *) 0 ;
21986 size_t arg2 ;
21987 bool result;
21988 void *argp1 = 0 ;
21989 int res1 = 0 ;
21990 size_t val2 ;
21991 int ecode2 = 0 ;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 char * kwnames[] = {
21995 (char *) "self",(char *) "pos", NULL
21996 };
21997
21998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
21999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22000 if (!SWIG_IsOK(res1)) {
22001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22002 }
22003 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22004 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22005 if (!SWIG_IsOK(ecode2)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22007 }
22008 arg2 = static_cast< size_t >(val2);
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 result = (bool)(arg1)->CollapseNode(arg2);
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 {
22016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22017 }
22018 return resultobj;
22019fail:
22020 return NULL;
22021}
22022
22023
22024SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj = 0;
22026 wxTreebook *arg1 = (wxTreebook *) 0 ;
22027 size_t arg2 ;
22028 int result;
22029 void *argp1 = 0 ;
22030 int res1 = 0 ;
22031 size_t val2 ;
22032 int ecode2 = 0 ;
22033 PyObject * obj0 = 0 ;
22034 PyObject * obj1 = 0 ;
22035 char * kwnames[] = {
22036 (char *) "self",(char *) "pos", NULL
22037 };
22038
22039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22041 if (!SWIG_IsOK(res1)) {
22042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22043 }
22044 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22045 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22046 if (!SWIG_IsOK(ecode2)) {
22047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22048 }
22049 arg2 = static_cast< size_t >(val2);
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 resultobj = SWIG_From_int(static_cast< int >(result));
22057 return resultobj;
22058fail:
22059 return NULL;
d14a1e28
RD
22060}
22061
22062
0085ce49
RD
22063SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22064 PyObject *resultobj = 0;
22065 wxTreebook *arg1 = (wxTreebook *) 0 ;
22066 wxTreeCtrl *result = 0 ;
22067 void *argp1 = 0 ;
22068 int res1 = 0 ;
22069 PyObject *swig_obj[1] ;
22070
22071 if (!args) SWIG_fail;
22072 swig_obj[0] = args;
22073 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22074 if (!SWIG_IsOK(res1)) {
22075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22076 }
22077 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = (wxTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeCtrl, 0 | 0 );
22085 return resultobj;
22086fail:
22087 return NULL;
22088}
22089
22090
22091SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22092 PyObject *obj;
22093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22094 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22095 return SWIG_Py_Void();
22096}
22097
22098SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22099 return SWIG_Python_InitShadowInstance(args);
22100}
22101
22102SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22103 PyObject *resultobj = 0;
22104 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22105 int arg2 = (int) 0 ;
22106 int arg3 = (int) wxNOT_FOUND ;
22107 int arg4 = (int) wxNOT_FOUND ;
22108 wxTreebookEvent *result = 0 ;
22109 int val1 ;
22110 int ecode1 = 0 ;
22111 int val2 ;
22112 int ecode2 = 0 ;
22113 int val3 ;
22114 int ecode3 = 0 ;
22115 int val4 ;
22116 int ecode4 = 0 ;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 PyObject * obj2 = 0 ;
22120 PyObject * obj3 = 0 ;
22121 char * kwnames[] = {
22122 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22123 };
22124
22125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22126 if (obj0) {
22127 ecode1 = SWIG_AsVal_int(obj0, &val1);
22128 if (!SWIG_IsOK(ecode1)) {
22129 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22130 }
22131 arg1 = static_cast< wxEventType >(val1);
22132 }
22133 if (obj1) {
22134 ecode2 = SWIG_AsVal_int(obj1, &val2);
22135 if (!SWIG_IsOK(ecode2)) {
22136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22137 }
22138 arg2 = static_cast< int >(val2);
22139 }
22140 if (obj2) {
22141 ecode3 = SWIG_AsVal_int(obj2, &val3);
22142 if (!SWIG_IsOK(ecode3)) {
22143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22144 }
22145 arg3 = static_cast< int >(val3);
22146 }
22147 if (obj3) {
22148 ecode4 = SWIG_AsVal_int(obj3, &val4);
22149 if (!SWIG_IsOK(ecode4)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22151 }
22152 arg4 = static_cast< int >(val4);
22153 }
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22157 wxPyEndAllowThreads(__tstate);
22158 if (PyErr_Occurred()) SWIG_fail;
22159 }
22160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22161 return resultobj;
22162fail:
22163 return NULL;
22164}
22165
22166
22167SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22168 PyObject *obj;
22169 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22170 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22171 return SWIG_Py_Void();
22172}
22173
22174SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22175 return SWIG_Python_InitShadowInstance(args);
22176}
22177
22178SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22179 PyObject *resultobj = 0;
22180 wxWindow *arg1 = (wxWindow *) 0 ;
22181 int arg2 ;
22182 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22183 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22184 wxSize const &arg4_defvalue = wxDefaultSize ;
22185 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22186 long arg5 = (long) wxBK_DEFAULT ;
22187 wxString const &arg6_defvalue = wxPyEmptyString ;
22188 wxString *arg6 = (wxString *) &arg6_defvalue ;
22189 wxToolbook *result = 0 ;
22190 void *argp1 = 0 ;
22191 int res1 = 0 ;
22192 int val2 ;
22193 int ecode2 = 0 ;
22194 wxPoint temp3 ;
22195 wxSize temp4 ;
22196 long val5 ;
22197 int ecode5 = 0 ;
22198 bool temp6 = false ;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 PyObject * obj2 = 0 ;
22202 PyObject * obj3 = 0 ;
22203 PyObject * obj4 = 0 ;
22204 PyObject * obj5 = 0 ;
22205 char * kwnames[] = {
22206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22207 };
22208
22209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22211 if (!SWIG_IsOK(res1)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22213 }
22214 arg1 = reinterpret_cast< wxWindow * >(argp1);
22215 ecode2 = SWIG_AsVal_int(obj1, &val2);
22216 if (!SWIG_IsOK(ecode2)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22218 }
22219 arg2 = static_cast< int >(val2);
22220 if (obj2) {
d14a1e28 22221 {
0085ce49
RD
22222 arg3 = &temp3;
22223 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 22224 }
0085ce49
RD
22225 }
22226 if (obj3) {
093d3ff1 22227 {
0085ce49
RD
22228 arg4 = &temp4;
22229 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22230 }
0085ce49
RD
22231 }
22232 if (obj4) {
22233 ecode5 = SWIG_AsVal_long(obj4, &val5);
22234 if (!SWIG_IsOK(ecode5)) {
22235 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22236 }
22237 arg5 = static_cast< long >(val5);
22238 }
22239 if (obj5) {
d14a1e28 22240 {
0085ce49
RD
22241 arg6 = wxString_in_helper(obj5);
22242 if (arg6 == NULL) SWIG_fail;
22243 temp6 = true;
d14a1e28 22244 }
0085ce49
RD
22245 }
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22253 {
22254 if (temp6)
22255 delete arg6;
22256 }
22257 return resultobj;
22258fail:
22259 {
22260 if (temp6)
22261 delete arg6;
22262 }
22263 return NULL;
d14a1e28
RD
22264}
22265
22266
0085ce49
RD
22267SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22268 PyObject *resultobj = 0;
22269 wxToolbook *result = 0 ;
22270
22271 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 result = (wxToolbook *)new wxToolbook();
22275 wxPyEndAllowThreads(__tstate);
22276 if (PyErr_Occurred()) SWIG_fail;
22277 }
22278 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22279 return resultobj;
22280fail:
22281 return NULL;
22282}
22283
22284
22285SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj = 0;
22287 wxToolbook *arg1 = (wxToolbook *) 0 ;
22288 wxWindow *arg2 = (wxWindow *) 0 ;
22289 int arg3 ;
22290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22292 wxSize const &arg5_defvalue = wxDefaultSize ;
22293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22294 long arg6 = (long) 0 ;
22295 wxString const &arg7_defvalue = wxEmptyString ;
22296 wxString *arg7 = (wxString *) &arg7_defvalue ;
22297 bool result;
22298 void *argp1 = 0 ;
22299 int res1 = 0 ;
22300 void *argp2 = 0 ;
22301 int res2 = 0 ;
22302 int val3 ;
22303 int ecode3 = 0 ;
22304 wxPoint temp4 ;
22305 wxSize temp5 ;
22306 long val6 ;
22307 int ecode6 = 0 ;
22308 bool temp7 = false ;
22309 PyObject * obj0 = 0 ;
22310 PyObject * obj1 = 0 ;
22311 PyObject * obj2 = 0 ;
22312 PyObject * obj3 = 0 ;
22313 PyObject * obj4 = 0 ;
22314 PyObject * obj5 = 0 ;
22315 PyObject * obj6 = 0 ;
22316 char * kwnames[] = {
22317 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22318 };
22319
22320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22322 if (!SWIG_IsOK(res1)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22324 }
22325 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22326 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22327 if (!SWIG_IsOK(res2)) {
22328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22329 }
22330 arg2 = reinterpret_cast< wxWindow * >(argp2);
22331 ecode3 = SWIG_AsVal_int(obj2, &val3);
22332 if (!SWIG_IsOK(ecode3)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22334 }
22335 arg3 = static_cast< int >(val3);
22336 if (obj3) {
093d3ff1 22337 {
0085ce49
RD
22338 arg4 = &temp4;
22339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22340 }
0085ce49
RD
22341 }
22342 if (obj4) {
093d3ff1 22343 {
0085ce49
RD
22344 arg5 = &temp5;
22345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22346 }
0085ce49
RD
22347 }
22348 if (obj5) {
22349 ecode6 = SWIG_AsVal_long(obj5, &val6);
22350 if (!SWIG_IsOK(ecode6)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22352 }
22353 arg6 = static_cast< long >(val6);
22354 }
22355 if (obj6) {
994141e6 22356 {
0085ce49
RD
22357 arg7 = wxString_in_helper(obj6);
22358 if (arg7 == NULL) SWIG_fail;
22359 temp7 = true;
d14a1e28 22360 }
0085ce49
RD
22361 }
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 {
22369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22370 }
22371 {
22372 if (temp7)
22373 delete arg7;
22374 }
22375 return resultobj;
22376fail:
22377 {
22378 if (temp7)
22379 delete arg7;
22380 }
22381 return NULL;
22bfe96c
RD
22382}
22383
22384
0085ce49
RD
22385SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22386 PyObject *resultobj = 0;
22387 wxToolbook *arg1 = (wxToolbook *) 0 ;
22388 wxToolBarBase *result = 0 ;
22389 void *argp1 = 0 ;
22390 int res1 = 0 ;
22391 PyObject *swig_obj[1] ;
22392
22393 if (!args) SWIG_fail;
22394 swig_obj[0] = args;
22395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22396 if (!SWIG_IsOK(res1)) {
22397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22398 }
22399 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22403 wxPyEndAllowThreads(__tstate);
22404 if (PyErr_Occurred()) SWIG_fail;
22405 }
22406 {
22407 resultobj = wxPyMake_wxObject(result, (bool)0);
22408 }
22409 return resultobj;
22410fail:
22411 return NULL;
d14a1e28
RD
22412}
22413
22414
0085ce49
RD
22415SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22416 PyObject *resultobj = 0;
22417 wxToolbook *arg1 = (wxToolbook *) 0 ;
22418 void *argp1 = 0 ;
22419 int res1 = 0 ;
22420 PyObject *swig_obj[1] ;
22421
22422 if (!args) SWIG_fail;
22423 swig_obj[0] = args;
22424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22425 if (!SWIG_IsOK(res1)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22427 }
22428 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 (arg1)->Realize();
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 resultobj = SWIG_Py_Void();
22436 return resultobj;
22437fail:
22438 return NULL;
22439}
22440
22441
22442SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22443 PyObject *obj;
22444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22445 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22446 return SWIG_Py_Void();
22447}
22448
22449SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22450 return SWIG_Python_InitShadowInstance(args);
22451}
22452
22453SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22454 PyObject *resultobj = 0;
22455 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22456 int arg2 = (int) 0 ;
22457 int arg3 = (int) wxNOT_FOUND ;
22458 int arg4 = (int) wxNOT_FOUND ;
22459 wxToolbookEvent *result = 0 ;
22460 int val1 ;
22461 int ecode1 = 0 ;
22462 int val2 ;
22463 int ecode2 = 0 ;
22464 int val3 ;
22465 int ecode3 = 0 ;
22466 int val4 ;
22467 int ecode4 = 0 ;
22468 PyObject * obj0 = 0 ;
22469 PyObject * obj1 = 0 ;
22470 PyObject * obj2 = 0 ;
22471 PyObject * obj3 = 0 ;
22472 char * kwnames[] = {
22473 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22474 };
22475
22476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22477 if (obj0) {
22478 ecode1 = SWIG_AsVal_int(obj0, &val1);
22479 if (!SWIG_IsOK(ecode1)) {
22480 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22481 }
22482 arg1 = static_cast< wxEventType >(val1);
22483 }
22484 if (obj1) {
22485 ecode2 = SWIG_AsVal_int(obj1, &val2);
22486 if (!SWIG_IsOK(ecode2)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22488 }
22489 arg2 = static_cast< int >(val2);
22490 }
22491 if (obj2) {
22492 ecode3 = SWIG_AsVal_int(obj2, &val3);
22493 if (!SWIG_IsOK(ecode3)) {
22494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22495 }
22496 arg3 = static_cast< int >(val3);
22497 }
22498 if (obj3) {
22499 ecode4 = SWIG_AsVal_int(obj3, &val4);
22500 if (!SWIG_IsOK(ecode4)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22502 }
22503 arg4 = static_cast< int >(val4);
22504 }
22505 {
22506 PyThreadState* __tstate = wxPyBeginAllowThreads();
22507 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22512 return resultobj;
22513fail:
22514 return NULL;
d14a1e28
RD
22515}
22516
22517
0085ce49
RD
22518SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22519 PyObject *obj;
22520 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22521 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22522 return SWIG_Py_Void();
d14a1e28
RD
22523}
22524
0085ce49
RD
22525SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22526 return SWIG_Python_InitShadowInstance(args);
22527}
d14a1e28 22528
0085ce49
RD
22529SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22530 PyObject *resultobj = 0;
22531 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22532 int result;
22533 void *argp1 = 0 ;
22534 int res1 = 0 ;
22535 PyObject *swig_obj[1] ;
22536
22537 if (!args) SWIG_fail;
22538 swig_obj[0] = args;
22539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22540 if (!SWIG_IsOK(res1)) {
22541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22542 }
22543 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 result = (int)(arg1)->GetId();
22547 wxPyEndAllowThreads(__tstate);
22548 if (PyErr_Occurred()) SWIG_fail;
22549 }
22550 resultobj = SWIG_From_int(static_cast< int >(result));
22551 return resultobj;
22552fail:
22553 return NULL;
d14a1e28
RD
22554}
22555
22556
0085ce49
RD
22557SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22558 PyObject *resultobj = 0;
22559 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22560 wxControl *result = 0 ;
22561 void *argp1 = 0 ;
22562 int res1 = 0 ;
22563 PyObject *swig_obj[1] ;
22564
22565 if (!args) SWIG_fail;
22566 swig_obj[0] = args;
22567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22568 if (!SWIG_IsOK(res1)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22570 }
22571 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 result = (wxControl *)(arg1)->GetControl();
22575 wxPyEndAllowThreads(__tstate);
22576 if (PyErr_Occurred()) SWIG_fail;
22577 }
22578 {
22579 resultobj = wxPyMake_wxObject(result, 0);
22580 }
22581 return resultobj;
22582fail:
22583 return NULL;
d14a1e28
RD
22584}
22585
22586
0085ce49
RD
22587SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22588 PyObject *resultobj = 0;
22589 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22590 wxToolBarBase *result = 0 ;
22591 void *argp1 = 0 ;
22592 int res1 = 0 ;
22593 PyObject *swig_obj[1] ;
22594
22595 if (!args) SWIG_fail;
22596 swig_obj[0] = args;
22597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22598 if (!SWIG_IsOK(res1)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22600 }
22601 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 result = (wxToolBarBase *)(arg1)->GetToolBar();
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 {
22609 resultobj = wxPyMake_wxObject(result, (bool)0);
22610 }
22611 return resultobj;
22612fail:
22613 return NULL;
d14a1e28
RD
22614}
22615
22616
0085ce49
RD
22617SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22618 PyObject *resultobj = 0;
22619 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22620 int result;
22621 void *argp1 = 0 ;
22622 int res1 = 0 ;
22623 PyObject *swig_obj[1] ;
22624
22625 if (!args) SWIG_fail;
22626 swig_obj[0] = args;
22627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22628 if (!SWIG_IsOK(res1)) {
22629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22630 }
22631 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = (int)(arg1)->IsButton();
22635 wxPyEndAllowThreads(__tstate);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
22638 resultobj = SWIG_From_int(static_cast< int >(result));
22639 return resultobj;
22640fail:
22641 return NULL;
d14a1e28
RD
22642}
22643
22644
0085ce49
RD
22645SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22646 PyObject *resultobj = 0;
22647 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22648 int result;
22649 void *argp1 = 0 ;
22650 int res1 = 0 ;
22651 PyObject *swig_obj[1] ;
22652
22653 if (!args) SWIG_fail;
22654 swig_obj[0] = args;
22655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22656 if (!SWIG_IsOK(res1)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22658 }
22659 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 result = (int)(arg1)->IsControl();
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_From_int(static_cast< int >(result));
22667 return resultobj;
22668fail:
22669 return NULL;
d14a1e28
RD
22670}
22671
22672
0085ce49
RD
22673SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22674 PyObject *resultobj = 0;
22675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22676 int result;
22677 void *argp1 = 0 ;
22678 int res1 = 0 ;
22679 PyObject *swig_obj[1] ;
22680
22681 if (!args) SWIG_fail;
22682 swig_obj[0] = args;
22683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22684 if (!SWIG_IsOK(res1)) {
22685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22686 }
22687 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 result = (int)(arg1)->IsSeparator();
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 resultobj = SWIG_From_int(static_cast< int >(result));
22695 return resultobj;
22696fail:
22697 return NULL;
d14a1e28
RD
22698}
22699
22700
0085ce49
RD
22701SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22702 PyObject *resultobj = 0;
22703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22704 int result;
22705 void *argp1 = 0 ;
22706 int res1 = 0 ;
22707 PyObject *swig_obj[1] ;
22708
22709 if (!args) SWIG_fail;
22710 swig_obj[0] = args;
22711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22712 if (!SWIG_IsOK(res1)) {
22713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22714 }
22715 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22716 {
22717 PyThreadState* __tstate = wxPyBeginAllowThreads();
22718 result = (int)(arg1)->GetStyle();
22719 wxPyEndAllowThreads(__tstate);
22720 if (PyErr_Occurred()) SWIG_fail;
22721 }
22722 resultobj = SWIG_From_int(static_cast< int >(result));
22723 return resultobj;
22724fail:
22725 return NULL;
d14a1e28
RD
22726}
22727
22728
0085ce49
RD
22729SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22730 PyObject *resultobj = 0;
22731 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22732 wxItemKind result;
22733 void *argp1 = 0 ;
22734 int res1 = 0 ;
22735 PyObject *swig_obj[1] ;
22736
22737 if (!args) SWIG_fail;
22738 swig_obj[0] = args;
22739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22740 if (!SWIG_IsOK(res1)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22742 }
22743 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 result = (wxItemKind)(arg1)->GetKind();
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = SWIG_From_int(static_cast< int >(result));
22751 return resultobj;
22752fail:
22753 return NULL;
d14a1e28
RD
22754}
22755
22756
0085ce49
RD
22757SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22758 PyObject *resultobj = 0;
22759 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22760 bool result;
22761 void *argp1 = 0 ;
22762 int res1 = 0 ;
22763 PyObject *swig_obj[1] ;
22764
22765 if (!args) SWIG_fail;
22766 swig_obj[0] = args;
22767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22768 if (!SWIG_IsOK(res1)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22770 }
22771 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = (bool)(arg1)->IsEnabled();
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 {
22779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22780 }
22781 return resultobj;
22782fail:
22783 return NULL;
d14a1e28
RD
22784}
22785
22786
0085ce49
RD
22787SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22788 PyObject *resultobj = 0;
22789 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22790 bool result;
22791 void *argp1 = 0 ;
22792 int res1 = 0 ;
22793 PyObject *swig_obj[1] ;
22794
22795 if (!args) SWIG_fail;
22796 swig_obj[0] = args;
22797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22798 if (!SWIG_IsOK(res1)) {
22799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22800 }
22801 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = (bool)(arg1)->IsToggled();
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 {
22809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22810 }
22811 return resultobj;
22812fail:
22813 return NULL;
22bfe96c
RD
22814}
22815
22816
0085ce49
RD
22817SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22818 PyObject *resultobj = 0;
22819 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22820 bool result;
22821 void *argp1 = 0 ;
22822 int res1 = 0 ;
22823 PyObject *swig_obj[1] ;
22824
22825 if (!args) SWIG_fail;
22826 swig_obj[0] = args;
22827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22828 if (!SWIG_IsOK(res1)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22830 }
22831 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22832 {
22833 PyThreadState* __tstate = wxPyBeginAllowThreads();
22834 result = (bool)(arg1)->CanBeToggled();
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22840 }
22841 return resultobj;
22842fail:
22843 return NULL;
d1e20054
RD
22844}
22845
22846
0085ce49
RD
22847SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22848 PyObject *resultobj = 0;
22849 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22850 wxBitmap *result = 0 ;
22851 void *argp1 = 0 ;
22852 int res1 = 0 ;
22853 PyObject *swig_obj[1] ;
22854
22855 if (!args) SWIG_fail;
22856 swig_obj[0] = args;
22857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22858 if (!SWIG_IsOK(res1)) {
22859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22860 }
22861 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 22864 {
0085ce49
RD
22865 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
22866 result = (wxBitmap *) &_result_ref;
093d3ff1 22867 }
0085ce49
RD
22868 wxPyEndAllowThreads(__tstate);
22869 if (PyErr_Occurred()) SWIG_fail;
22870 }
22871 {
22872 wxBitmap* resultptr = new wxBitmap(*result);
22873 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22874 }
22875 return resultobj;
22876fail:
22877 return NULL;
d1e20054
RD
22878}
22879
22880
0085ce49
RD
22881SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22882 PyObject *resultobj = 0;
22883 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22884 wxBitmap *result = 0 ;
22885 void *argp1 = 0 ;
22886 int res1 = 0 ;
22887 PyObject *swig_obj[1] ;
22888
22889 if (!args) SWIG_fail;
22890 swig_obj[0] = args;
22891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22892 if (!SWIG_IsOK(res1)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22894 }
22895 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1e20054 22898 {
0085ce49
RD
22899 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
22900 result = (wxBitmap *) &_result_ref;
d1e20054 22901 }
0085ce49
RD
22902 wxPyEndAllowThreads(__tstate);
22903 if (PyErr_Occurred()) SWIG_fail;
22904 }
22905 {
22906 wxBitmap* resultptr = new wxBitmap(*result);
22907 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
22908 }
22909 return resultobj;
22910fail:
22911 return NULL;
d1e20054
RD
22912}
22913
22914
0085ce49
RD
22915SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22916 PyObject *resultobj = 0;
22917 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22918 wxBitmap result;
22919 void *argp1 = 0 ;
22920 int res1 = 0 ;
22921 PyObject *swig_obj[1] ;
22922
22923 if (!args) SWIG_fail;
22924 swig_obj[0] = args;
22925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22926 if (!SWIG_IsOK(res1)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22928 }
22929 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = (arg1)->GetBitmap();
22933 wxPyEndAllowThreads(__tstate);
22934 if (PyErr_Occurred()) SWIG_fail;
22935 }
22936 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
22937 return resultobj;
22938fail:
22939 return NULL;
b2dc1044
RD
22940}
22941
22942
0085ce49
RD
22943SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22944 PyObject *resultobj = 0;
22945 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22946 wxString result;
22947 void *argp1 = 0 ;
22948 int res1 = 0 ;
22949 PyObject *swig_obj[1] ;
22950
22951 if (!args) SWIG_fail;
22952 swig_obj[0] = args;
22953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22954 if (!SWIG_IsOK(res1)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22956 }
22957 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22958 {
22959 PyThreadState* __tstate = wxPyBeginAllowThreads();
22960 result = (arg1)->GetLabel();
22961 wxPyEndAllowThreads(__tstate);
22962 if (PyErr_Occurred()) SWIG_fail;
22963 }
22964 {
b2dc1044 22965#if wxUSE_UNICODE
0085ce49 22966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 22967#else
0085ce49 22968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 22969#endif
0085ce49
RD
22970 }
22971 return resultobj;
22972fail:
22973 return NULL;
b2dc1044
RD
22974}
22975
22976
0085ce49
RD
22977SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22978 PyObject *resultobj = 0;
22979 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22980 wxString result;
22981 void *argp1 = 0 ;
22982 int res1 = 0 ;
22983 PyObject *swig_obj[1] ;
22984
22985 if (!args) SWIG_fail;
22986 swig_obj[0] = args;
22987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22988 if (!SWIG_IsOK(res1)) {
22989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22990 }
22991 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22992 {
22993 PyThreadState* __tstate = wxPyBeginAllowThreads();
22994 result = (arg1)->GetShortHelp();
22995 wxPyEndAllowThreads(__tstate);
22996 if (PyErr_Occurred()) SWIG_fail;
22997 }
22998 {
b2dc1044 22999#if wxUSE_UNICODE
0085ce49 23000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 23001#else
0085ce49 23002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 23003#endif
0085ce49
RD
23004 }
23005 return resultobj;
23006fail:
23007 return NULL;
d14a1e28
RD
23008}
23009
23010
0085ce49
RD
23011SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23012 PyObject *resultobj = 0;
23013 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23014 wxString result;
23015 void *argp1 = 0 ;
23016 int res1 = 0 ;
23017 PyObject *swig_obj[1] ;
23018
23019 if (!args) SWIG_fail;
23020 swig_obj[0] = args;
23021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23022 if (!SWIG_IsOK(res1)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23024 }
23025 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23026 {
23027 PyThreadState* __tstate = wxPyBeginAllowThreads();
23028 result = (arg1)->GetLongHelp();
23029 wxPyEndAllowThreads(__tstate);
23030 if (PyErr_Occurred()) SWIG_fail;
23031 }
23032 {
23033#if wxUSE_UNICODE
23034 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23035#else
23036 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23037#endif
23038 }
23039 return resultobj;
23040fail:
23041 return NULL;
23042}
23043
23044
23045SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23046 PyObject *resultobj = 0;
23047 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23048 bool arg2 ;
23049 bool result;
23050 void *argp1 = 0 ;
23051 int res1 = 0 ;
23052 bool val2 ;
23053 int ecode2 = 0 ;
23054 PyObject * obj0 = 0 ;
23055 PyObject * obj1 = 0 ;
23056 char * kwnames[] = {
23057 (char *) "self",(char *) "enable", NULL
23058 };
23059
23060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23062 if (!SWIG_IsOK(res1)) {
23063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23064 }
23065 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23066 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23067 if (!SWIG_IsOK(ecode2)) {
23068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23069 }
23070 arg2 = static_cast< bool >(val2);
23071 {
23072 PyThreadState* __tstate = wxPyBeginAllowThreads();
23073 result = (bool)(arg1)->Enable(arg2);
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 {
23078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23079 }
23080 return resultobj;
23081fail:
23082 return NULL;
d14a1e28
RD
23083}
23084
23085
0085ce49
RD
23086SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23087 PyObject *resultobj = 0;
23088 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23089 void *argp1 = 0 ;
23090 int res1 = 0 ;
23091 PyObject *swig_obj[1] ;
23092
23093 if (!args) SWIG_fail;
23094 swig_obj[0] = args;
23095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23096 if (!SWIG_IsOK(res1)) {
23097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23098 }
23099 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23100 {
23101 PyThreadState* __tstate = wxPyBeginAllowThreads();
23102 (arg1)->Toggle();
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 resultobj = SWIG_Py_Void();
23107 return resultobj;
23108fail:
23109 return NULL;
23110}
23111
23112
23113SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj = 0;
23115 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23116 bool arg2 ;
23117 bool result;
23118 void *argp1 = 0 ;
23119 int res1 = 0 ;
23120 bool val2 ;
23121 int ecode2 = 0 ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char * kwnames[] = {
23125 (char *) "self",(char *) "toggle", NULL
23126 };
23127
23128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23130 if (!SWIG_IsOK(res1)) {
23131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23132 }
23133 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23134 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23135 if (!SWIG_IsOK(ecode2)) {
23136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23137 }
23138 arg2 = static_cast< bool >(val2);
23139 {
23140 PyThreadState* __tstate = wxPyBeginAllowThreads();
23141 result = (bool)(arg1)->SetToggle(arg2);
23142 wxPyEndAllowThreads(__tstate);
23143 if (PyErr_Occurred()) SWIG_fail;
23144 }
23145 {
23146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23147 }
23148 return resultobj;
23149fail:
23150 return NULL;
23151}
23152
23153
23154SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23155 PyObject *resultobj = 0;
23156 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23157 wxString *arg2 = 0 ;
23158 bool result;
23159 void *argp1 = 0 ;
23160 int res1 = 0 ;
23161 bool temp2 = false ;
23162 PyObject * obj0 = 0 ;
23163 PyObject * obj1 = 0 ;
23164 char * kwnames[] = {
23165 (char *) "self",(char *) "help", NULL
23166 };
23167
23168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23170 if (!SWIG_IsOK(res1)) {
23171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23172 }
23173 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23174 {
23175 arg2 = wxString_in_helper(obj1);
23176 if (arg2 == NULL) SWIG_fail;
23177 temp2 = true;
23178 }
23179 {
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 {
23186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23187 }
23188 {
23189 if (temp2)
23190 delete arg2;
23191 }
23192 return resultobj;
23193fail:
23194 {
23195 if (temp2)
23196 delete arg2;
23197 }
23198 return NULL;
23199}
23200
23201
23202SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj = 0;
23204 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23205 wxString *arg2 = 0 ;
23206 bool result;
23207 void *argp1 = 0 ;
23208 int res1 = 0 ;
23209 bool temp2 = false ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 char * kwnames[] = {
23213 (char *) "self",(char *) "help", NULL
23214 };
23215
23216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23218 if (!SWIG_IsOK(res1)) {
23219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23220 }
23221 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23222 {
23223 arg2 = wxString_in_helper(obj1);
23224 if (arg2 == NULL) SWIG_fail;
23225 temp2 = true;
23226 }
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
23229 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 {
23234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23235 }
23236 {
23237 if (temp2)
23238 delete arg2;
23239 }
23240 return resultobj;
23241fail:
23242 {
23243 if (temp2)
23244 delete arg2;
23245 }
23246 return NULL;
23247}
23248
23249
23250SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23251 PyObject *resultobj = 0;
23252 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23253 wxBitmap *arg2 = 0 ;
23254 void *argp1 = 0 ;
23255 int res1 = 0 ;
23256 void *argp2 = 0 ;
23257 int res2 = 0 ;
23258 PyObject * obj0 = 0 ;
23259 PyObject * obj1 = 0 ;
23260 char * kwnames[] = {
23261 (char *) "self",(char *) "bmp", NULL
23262 };
23263
23264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23266 if (!SWIG_IsOK(res1)) {
23267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23268 }
23269 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23271 if (!SWIG_IsOK(res2)) {
23272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23273 }
23274 if (!argp2) {
23275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23276 }
23277 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23278 {
23279 PyThreadState* __tstate = wxPyBeginAllowThreads();
23280 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 resultobj = SWIG_Py_Void();
23285 return resultobj;
23286fail:
23287 return NULL;
23288}
23289
23290
23291SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj = 0;
23293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23294 wxBitmap *arg2 = 0 ;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297 void *argp2 = 0 ;
23298 int res2 = 0 ;
23299 PyObject * obj0 = 0 ;
23300 PyObject * obj1 = 0 ;
23301 char * kwnames[] = {
23302 (char *) "self",(char *) "bmp", NULL
23303 };
23304
23305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23307 if (!SWIG_IsOK(res1)) {
23308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23309 }
23310 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23311 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23312 if (!SWIG_IsOK(res2)) {
23313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23314 }
23315 if (!argp2) {
23316 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23317 }
23318 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23319 {
23320 PyThreadState* __tstate = wxPyBeginAllowThreads();
23321 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 resultobj = SWIG_Py_Void();
23326 return resultobj;
23327fail:
23328 return NULL;
23329}
23330
23331
23332SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj = 0;
23334 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23335 wxString *arg2 = 0 ;
23336 void *argp1 = 0 ;
23337 int res1 = 0 ;
23338 bool temp2 = false ;
23339 PyObject * obj0 = 0 ;
23340 PyObject * obj1 = 0 ;
23341 char * kwnames[] = {
23342 (char *) "self",(char *) "label", NULL
23343 };
23344
23345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23347 if (!SWIG_IsOK(res1)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23349 }
23350 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23351 {
23352 arg2 = wxString_in_helper(obj1);
23353 if (arg2 == NULL) SWIG_fail;
23354 temp2 = true;
23355 }
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 (arg1)->SetLabel((wxString const &)*arg2);
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 resultobj = SWIG_Py_Void();
23363 {
23364 if (temp2)
23365 delete arg2;
23366 }
23367 return resultobj;
23368fail:
23369 {
23370 if (temp2)
23371 delete arg2;
23372 }
23373 return NULL;
d14a1e28
RD
23374}
23375
23376
0085ce49
RD
23377SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23378 PyObject *resultobj = 0;
23379 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23380 void *argp1 = 0 ;
23381 int res1 = 0 ;
23382 PyObject *swig_obj[1] ;
23383
23384 if (!args) SWIG_fail;
23385 swig_obj[0] = args;
23386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23387 if (!SWIG_IsOK(res1)) {
23388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23389 }
23390 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23391 {
23392 PyThreadState* __tstate = wxPyBeginAllowThreads();
23393 (arg1)->Detach();
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 resultobj = SWIG_Py_Void();
23398 return resultobj;
23399fail:
23400 return NULL;
23401}
23402
23403
23404SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj = 0;
23406 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23407 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23408 void *argp1 = 0 ;
23409 int res1 = 0 ;
23410 void *argp2 = 0 ;
23411 int res2 = 0 ;
23412 PyObject * obj0 = 0 ;
23413 PyObject * obj1 = 0 ;
23414 char * kwnames[] = {
23415 (char *) "self",(char *) "tbar", NULL
23416 };
23417
23418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23420 if (!SWIG_IsOK(res1)) {
23421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23422 }
23423 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23424 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23425 if (!SWIG_IsOK(res2)) {
23426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23427 }
23428 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 (arg1)->Attach(arg2);
23432 wxPyEndAllowThreads(__tstate);
23433 if (PyErr_Occurred()) SWIG_fail;
23434 }
23435 resultobj = SWIG_Py_Void();
23436 return resultobj;
23437fail:
23438 return NULL;
d14a1e28
RD
23439}
23440
23441
0085ce49
RD
23442SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23443 PyObject *resultobj = 0;
23444 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23445 PyObject *result = 0 ;
23446 void *argp1 = 0 ;
23447 int res1 = 0 ;
23448 PyObject *swig_obj[1] ;
23449
23450 if (!args) SWIG_fail;
23451 swig_obj[0] = args;
23452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23453 if (!SWIG_IsOK(res1)) {
23454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23455 }
23456 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23460 wxPyEndAllowThreads(__tstate);
23461 if (PyErr_Occurred()) SWIG_fail;
23462 }
23463 resultobj = result;
23464 return resultobj;
23465fail:
23466 return NULL;
23467}
23468
23469
23470SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23471 PyObject *resultobj = 0;
23472 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23473 PyObject *arg2 = (PyObject *) 0 ;
23474 void *argp1 = 0 ;
23475 int res1 = 0 ;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char * kwnames[] = {
23479 (char *) "self",(char *) "clientData", NULL
23480 };
23481
23482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23484 if (!SWIG_IsOK(res1)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23486 }
23487 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23488 arg2 = obj1;
23489 {
23490 PyThreadState* __tstate = wxPyBeginAllowThreads();
23491 wxToolBarToolBase_SetClientData(arg1,arg2);
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 resultobj = SWIG_Py_Void();
23496 return resultobj;
23497fail:
23498 return NULL;
23499}
23500
23501
23502SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23503 PyObject *obj;
23504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23505 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23506 return SWIG_Py_Void();
23507}
23508
23509SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23510 PyObject *resultobj = 0;
23511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23512 int arg2 ;
23513 wxString *arg3 = 0 ;
23514 wxBitmap *arg4 = 0 ;
23515 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23516 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23517 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23518 wxString const &arg7_defvalue = wxPyEmptyString ;
23519 wxString *arg7 = (wxString *) &arg7_defvalue ;
23520 wxString const &arg8_defvalue = wxPyEmptyString ;
23521 wxString *arg8 = (wxString *) &arg8_defvalue ;
23522 PyObject *arg9 = (PyObject *) NULL ;
23523 wxToolBarToolBase *result = 0 ;
23524 void *argp1 = 0 ;
23525 int res1 = 0 ;
23526 int val2 ;
23527 int ecode2 = 0 ;
23528 bool temp3 = false ;
23529 void *argp4 = 0 ;
23530 int res4 = 0 ;
23531 void *argp5 = 0 ;
23532 int res5 = 0 ;
23533 int val6 ;
23534 int ecode6 = 0 ;
23535 bool temp7 = false ;
23536 bool temp8 = false ;
23537 PyObject * obj0 = 0 ;
23538 PyObject * obj1 = 0 ;
23539 PyObject * obj2 = 0 ;
23540 PyObject * obj3 = 0 ;
23541 PyObject * obj4 = 0 ;
23542 PyObject * obj5 = 0 ;
23543 PyObject * obj6 = 0 ;
23544 PyObject * obj7 = 0 ;
23545 PyObject * obj8 = 0 ;
23546 char * kwnames[] = {
23547 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23548 };
23549
23550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23552 if (!SWIG_IsOK(res1)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23554 }
23555 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23556 ecode2 = SWIG_AsVal_int(obj1, &val2);
23557 if (!SWIG_IsOK(ecode2)) {
23558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23559 }
23560 arg2 = static_cast< int >(val2);
23561 {
23562 arg3 = wxString_in_helper(obj2);
23563 if (arg3 == NULL) SWIG_fail;
23564 temp3 = true;
23565 }
23566 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23567 if (!SWIG_IsOK(res4)) {
23568 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23569 }
23570 if (!argp4) {
23571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23572 }
23573 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23574 if (obj4) {
23575 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23576 if (!SWIG_IsOK(res5)) {
23577 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
d14a1e28 23578 }
0085ce49
RD
23579 if (!argp5) {
23580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
d14a1e28 23581 }
0085ce49
RD
23582 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23583 }
23584 if (obj5) {
23585 ecode6 = SWIG_AsVal_int(obj5, &val6);
23586 if (!SWIG_IsOK(ecode6)) {
23587 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23588 }
23589 arg6 = static_cast< wxItemKind >(val6);
23590 }
23591 if (obj6) {
093d3ff1 23592 {
0085ce49
RD
23593 arg7 = wxString_in_helper(obj6);
23594 if (arg7 == NULL) SWIG_fail;
23595 temp7 = true;
093d3ff1 23596 }
0085ce49
RD
23597 }
23598 if (obj7) {
d14a1e28 23599 {
0085ce49
RD
23600 arg8 = wxString_in_helper(obj7);
23601 if (arg8 == NULL) SWIG_fail;
23602 temp8 = true;
d14a1e28 23603 }
0085ce49
RD
23604 }
23605 if (obj8) {
23606 arg9 = obj8;
23607 }
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23611 wxPyEndAllowThreads(__tstate);
23612 if (PyErr_Occurred()) SWIG_fail;
23613 }
23614 {
23615 resultobj = wxPyMake_wxObject(result, (bool)0);
23616 }
23617 {
23618 if (temp3)
23619 delete arg3;
23620 }
23621 {
23622 if (temp7)
23623 delete arg7;
23624 }
23625 {
23626 if (temp8)
23627 delete arg8;
23628 }
23629 return resultobj;
23630fail:
23631 {
23632 if (temp3)
23633 delete arg3;
23634 }
23635 {
23636 if (temp7)
23637 delete arg7;
23638 }
23639 {
23640 if (temp8)
23641 delete arg8;
23642 }
23643 return NULL;
23644}
23645
23646
23647SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23648 PyObject *resultobj = 0;
23649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23650 size_t arg2 ;
23651 int arg3 ;
23652 wxString *arg4 = 0 ;
23653 wxBitmap *arg5 = 0 ;
23654 wxBitmap const &arg6_defvalue = wxNullBitmap ;
23655 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
23656 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
23657 wxString const &arg8_defvalue = wxPyEmptyString ;
23658 wxString *arg8 = (wxString *) &arg8_defvalue ;
23659 wxString const &arg9_defvalue = wxPyEmptyString ;
23660 wxString *arg9 = (wxString *) &arg9_defvalue ;
23661 PyObject *arg10 = (PyObject *) NULL ;
23662 wxToolBarToolBase *result = 0 ;
23663 void *argp1 = 0 ;
23664 int res1 = 0 ;
23665 size_t val2 ;
23666 int ecode2 = 0 ;
23667 int val3 ;
23668 int ecode3 = 0 ;
23669 bool temp4 = false ;
23670 void *argp5 = 0 ;
23671 int res5 = 0 ;
23672 void *argp6 = 0 ;
23673 int res6 = 0 ;
23674 int val7 ;
23675 int ecode7 = 0 ;
23676 bool temp8 = false ;
23677 bool temp9 = false ;
23678 PyObject * obj0 = 0 ;
23679 PyObject * obj1 = 0 ;
23680 PyObject * obj2 = 0 ;
23681 PyObject * obj3 = 0 ;
23682 PyObject * obj4 = 0 ;
23683 PyObject * obj5 = 0 ;
23684 PyObject * obj6 = 0 ;
23685 PyObject * obj7 = 0 ;
23686 PyObject * obj8 = 0 ;
23687 PyObject * obj9 = 0 ;
23688 char * kwnames[] = {
23689 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23690 };
23691
23692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
23693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23694 if (!SWIG_IsOK(res1)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23696 }
23697 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23698 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23699 if (!SWIG_IsOK(ecode2)) {
23700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23701 }
23702 arg2 = static_cast< size_t >(val2);
23703 ecode3 = SWIG_AsVal_int(obj2, &val3);
23704 if (!SWIG_IsOK(ecode3)) {
23705 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23706 }
23707 arg3 = static_cast< int >(val3);
23708 {
23709 arg4 = wxString_in_helper(obj3);
23710 if (arg4 == NULL) SWIG_fail;
23711 temp4 = true;
23712 }
23713 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23714 if (!SWIG_IsOK(res5)) {
23715 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23716 }
23717 if (!argp5) {
23718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23719 }
23720 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23721 if (obj5) {
23722 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
23723 if (!SWIG_IsOK(res6)) {
23724 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d14a1e28 23725 }
0085ce49
RD
23726 if (!argp6) {
23727 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
093d3ff1 23728 }
0085ce49
RD
23729 arg6 = reinterpret_cast< wxBitmap * >(argp6);
23730 }
23731 if (obj6) {
23732 ecode7 = SWIG_AsVal_int(obj6, &val7);
23733 if (!SWIG_IsOK(ecode7)) {
23734 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23735 }
23736 arg7 = static_cast< wxItemKind >(val7);
23737 }
23738 if (obj7) {
d14a1e28 23739 {
0085ce49
RD
23740 arg8 = wxString_in_helper(obj7);
23741 if (arg8 == NULL) SWIG_fail;
23742 temp8 = true;
d14a1e28 23743 }
0085ce49
RD
23744 }
23745 if (obj8) {
d14a1e28 23746 {
0085ce49
RD
23747 arg9 = wxString_in_helper(obj8);
23748 if (arg9 == NULL) SWIG_fail;
23749 temp9 = true;
d14a1e28 23750 }
0085ce49
RD
23751 }
23752 if (obj9) {
23753 arg10 = obj9;
23754 }
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
23758 wxPyEndAllowThreads(__tstate);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 {
23762 resultobj = wxPyMake_wxObject(result, (bool)0);
23763 }
23764 {
23765 if (temp4)
23766 delete arg4;
23767 }
23768 {
23769 if (temp8)
23770 delete arg8;
23771 }
23772 {
23773 if (temp9)
23774 delete arg9;
23775 }
23776 return resultobj;
23777fail:
23778 {
23779 if (temp4)
23780 delete arg4;
23781 }
23782 {
23783 if (temp8)
23784 delete arg8;
23785 }
23786 {
23787 if (temp9)
23788 delete arg9;
23789 }
23790 return NULL;
23791}
23792
23793
23794SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23795 PyObject *resultobj = 0;
23796 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23797 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
23798 wxToolBarToolBase *result = 0 ;
23799 void *argp1 = 0 ;
23800 int res1 = 0 ;
23801 void *argp2 = 0 ;
23802 int res2 = 0 ;
23803 PyObject * obj0 = 0 ;
23804 PyObject * obj1 = 0 ;
23805 char * kwnames[] = {
23806 (char *) "self",(char *) "tool", NULL
23807 };
23808
23809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
23810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23811 if (!SWIG_IsOK(res1)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23813 }
23814 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23815 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23816 if (!SWIG_IsOK(res2)) {
23817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23818 }
23819 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
23823 wxPyEndAllowThreads(__tstate);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 {
23827 resultobj = wxPyMake_wxObject(result, (bool)0);
23828 }
23829 return resultobj;
23830fail:
23831 return NULL;
23832}
23833
23834
23835SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23836 PyObject *resultobj = 0;
23837 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23838 size_t arg2 ;
23839 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
23840 wxToolBarToolBase *result = 0 ;
23841 void *argp1 = 0 ;
23842 int res1 = 0 ;
23843 size_t val2 ;
23844 int ecode2 = 0 ;
23845 void *argp3 = 0 ;
23846 int res3 = 0 ;
23847 PyObject * obj0 = 0 ;
23848 PyObject * obj1 = 0 ;
23849 PyObject * obj2 = 0 ;
23850 char * kwnames[] = {
23851 (char *) "self",(char *) "pos",(char *) "tool", NULL
23852 };
23853
23854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23856 if (!SWIG_IsOK(res1)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23858 }
23859 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23860 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23861 if (!SWIG_IsOK(ecode2)) {
23862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23863 }
23864 arg2 = static_cast< size_t >(val2);
23865 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23866 if (!SWIG_IsOK(res3)) {
23867 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23868 }
23869 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
23870 {
23871 PyThreadState* __tstate = wxPyBeginAllowThreads();
23872 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
23873 wxPyEndAllowThreads(__tstate);
23874 if (PyErr_Occurred()) SWIG_fail;
23875 }
23876 {
23877 resultobj = wxPyMake_wxObject(result, (bool)0);
23878 }
23879 return resultobj;
23880fail:
23881 return NULL;
23882}
23883
23884
23885SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj = 0;
23887 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23888 wxControl *arg2 = (wxControl *) 0 ;
23889 wxToolBarToolBase *result = 0 ;
23890 void *argp1 = 0 ;
23891 int res1 = 0 ;
23892 void *argp2 = 0 ;
23893 int res2 = 0 ;
23894 PyObject * obj0 = 0 ;
23895 PyObject * obj1 = 0 ;
23896 char * kwnames[] = {
23897 (char *) "self",(char *) "control", NULL
23898 };
23899
23900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
23901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23902 if (!SWIG_IsOK(res1)) {
23903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23904 }
23905 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23906 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
23907 if (!SWIG_IsOK(res2)) {
23908 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23909 }
23910 arg2 = reinterpret_cast< wxControl * >(argp2);
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 {
23918 resultobj = wxPyMake_wxObject(result, (bool)0);
23919 }
23920 return resultobj;
23921fail:
23922 return NULL;
23923}
23924
23925
23926SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23927 PyObject *resultobj = 0;
23928 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23929 size_t arg2 ;
23930 wxControl *arg3 = (wxControl *) 0 ;
23931 wxToolBarToolBase *result = 0 ;
23932 void *argp1 = 0 ;
23933 int res1 = 0 ;
23934 size_t val2 ;
23935 int ecode2 = 0 ;
23936 void *argp3 = 0 ;
23937 int res3 = 0 ;
23938 PyObject * obj0 = 0 ;
23939 PyObject * obj1 = 0 ;
23940 PyObject * obj2 = 0 ;
23941 char * kwnames[] = {
23942 (char *) "self",(char *) "pos",(char *) "control", NULL
23943 };
23944
23945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23947 if (!SWIG_IsOK(res1)) {
23948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23949 }
23950 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23951 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
23952 if (!SWIG_IsOK(ecode2)) {
23953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23954 }
23955 arg2 = static_cast< size_t >(val2);
23956 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
23957 if (!SWIG_IsOK(res3)) {
23958 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23959 }
23960 arg3 = reinterpret_cast< wxControl * >(argp3);
23961 {
23962 PyThreadState* __tstate = wxPyBeginAllowThreads();
23963 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
23964 wxPyEndAllowThreads(__tstate);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 }
23967 {
23968 resultobj = wxPyMake_wxObject(result, (bool)0);
23969 }
23970 return resultobj;
23971fail:
23972 return NULL;
23973}
23974
23975
23976SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj = 0;
23978 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23979 int arg2 ;
23980 wxControl *result = 0 ;
23981 void *argp1 = 0 ;
23982 int res1 = 0 ;
23983 int val2 ;
23984 int ecode2 = 0 ;
23985 PyObject * obj0 = 0 ;
23986 PyObject * obj1 = 0 ;
23987 char * kwnames[] = {
23988 (char *) "self",(char *) "id", NULL
23989 };
23990
23991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
23992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23993 if (!SWIG_IsOK(res1)) {
23994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23995 }
23996 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23997 ecode2 = SWIG_AsVal_int(obj1, &val2);
23998 if (!SWIG_IsOK(ecode2)) {
23999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24000 }
24001 arg2 = static_cast< int >(val2);
24002 {
24003 PyThreadState* __tstate = wxPyBeginAllowThreads();
24004 result = (wxControl *)(arg1)->FindControl(arg2);
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 {
24009 resultobj = wxPyMake_wxObject(result, 0);
24010 }
24011 return resultobj;
24012fail:
24013 return NULL;
d14a1e28
RD
24014}
24015
24016
0085ce49
RD
24017SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24018 PyObject *resultobj = 0;
24019 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24020 wxToolBarToolBase *result = 0 ;
24021 void *argp1 = 0 ;
24022 int res1 = 0 ;
24023 PyObject *swig_obj[1] ;
24024
24025 if (!args) SWIG_fail;
24026 swig_obj[0] = args;
24027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24028 if (!SWIG_IsOK(res1)) {
24029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24030 }
24031 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 {
24039 resultobj = wxPyMake_wxObject(result, (bool)0);
24040 }
24041 return resultobj;
24042fail:
24043 return NULL;
24044}
24045
24046
24047SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24048 PyObject *resultobj = 0;
24049 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24050 size_t arg2 ;
24051 wxToolBarToolBase *result = 0 ;
24052 void *argp1 = 0 ;
24053 int res1 = 0 ;
24054 size_t val2 ;
24055 int ecode2 = 0 ;
24056 PyObject * obj0 = 0 ;
24057 PyObject * obj1 = 0 ;
24058 char * kwnames[] = {
24059 (char *) "self",(char *) "pos", NULL
24060 };
24061
24062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24064 if (!SWIG_IsOK(res1)) {
24065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24066 }
24067 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24068 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24069 if (!SWIG_IsOK(ecode2)) {
24070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24071 }
24072 arg2 = static_cast< size_t >(val2);
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 {
24080 resultobj = wxPyMake_wxObject(result, (bool)0);
24081 }
24082 return resultobj;
24083fail:
24084 return NULL;
24085}
24086
24087
24088SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24089 PyObject *resultobj = 0;
24090 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24091 int arg2 ;
24092 wxToolBarToolBase *result = 0 ;
24093 void *argp1 = 0 ;
24094 int res1 = 0 ;
24095 int val2 ;
24096 int ecode2 = 0 ;
24097 PyObject * obj0 = 0 ;
24098 PyObject * obj1 = 0 ;
24099 char * kwnames[] = {
24100 (char *) "self",(char *) "id", NULL
24101 };
24102
24103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24105 if (!SWIG_IsOK(res1)) {
24106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24107 }
24108 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24109 ecode2 = SWIG_AsVal_int(obj1, &val2);
24110 if (!SWIG_IsOK(ecode2)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24112 }
24113 arg2 = static_cast< int >(val2);
24114 {
24115 PyThreadState* __tstate = wxPyBeginAllowThreads();
24116 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24117 wxPyEndAllowThreads(__tstate);
24118 if (PyErr_Occurred()) SWIG_fail;
24119 }
24120 {
24121 resultobj = wxPyMake_wxObject(result, (bool)0);
24122 }
24123 return resultobj;
24124fail:
24125 return NULL;
24126}
24127
24128
24129SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj = 0;
24131 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24132 size_t arg2 ;
24133 bool result;
24134 void *argp1 = 0 ;
24135 int res1 = 0 ;
24136 size_t val2 ;
24137 int ecode2 = 0 ;
24138 PyObject * obj0 = 0 ;
24139 PyObject * obj1 = 0 ;
24140 char * kwnames[] = {
24141 (char *) "self",(char *) "pos", NULL
24142 };
24143
24144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24146 if (!SWIG_IsOK(res1)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24148 }
24149 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24150 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24151 if (!SWIG_IsOK(ecode2)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24153 }
24154 arg2 = static_cast< size_t >(val2);
24155 {
24156 PyThreadState* __tstate = wxPyBeginAllowThreads();
24157 result = (bool)(arg1)->DeleteToolByPos(arg2);
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 {
24162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24163 }
24164 return resultobj;
24165fail:
24166 return NULL;
24167}
24168
24169
24170SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj = 0;
24172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24173 int arg2 ;
24174 bool result;
24175 void *argp1 = 0 ;
24176 int res1 = 0 ;
24177 int val2 ;
24178 int ecode2 = 0 ;
24179 PyObject * obj0 = 0 ;
24180 PyObject * obj1 = 0 ;
24181 char * kwnames[] = {
24182 (char *) "self",(char *) "id", NULL
24183 };
24184
24185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24187 if (!SWIG_IsOK(res1)) {
24188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24189 }
24190 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24191 ecode2 = SWIG_AsVal_int(obj1, &val2);
24192 if (!SWIG_IsOK(ecode2)) {
24193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24194 }
24195 arg2 = static_cast< int >(val2);
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 result = (bool)(arg1)->DeleteTool(arg2);
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 {
24203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24204 }
24205 return resultobj;
24206fail:
24207 return NULL;
d14a1e28
RD
24208}
24209
24210
0085ce49
RD
24211SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24212 PyObject *resultobj = 0;
24213 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24214 void *argp1 = 0 ;
24215 int res1 = 0 ;
24216 PyObject *swig_obj[1] ;
24217
24218 if (!args) SWIG_fail;
24219 swig_obj[0] = args;
24220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24221 if (!SWIG_IsOK(res1)) {
24222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24223 }
24224 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
24227 (arg1)->ClearTools();
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 resultobj = SWIG_Py_Void();
24232 return resultobj;
24233fail:
24234 return NULL;
d14a1e28
RD
24235}
24236
24237
0085ce49
RD
24238SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24239 PyObject *resultobj = 0;
24240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24241 bool result;
24242 void *argp1 = 0 ;
24243 int res1 = 0 ;
24244 PyObject *swig_obj[1] ;
24245
24246 if (!args) SWIG_fail;
24247 swig_obj[0] = args;
24248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24249 if (!SWIG_IsOK(res1)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24251 }
24252 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = (bool)(arg1)->Realize();
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 {
24260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24261 }
24262 return resultobj;
24263fail:
24264 return NULL;
24265}
24266
24267
24268SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24269 PyObject *resultobj = 0;
24270 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24271 int arg2 ;
24272 bool arg3 ;
24273 void *argp1 = 0 ;
24274 int res1 = 0 ;
24275 int val2 ;
24276 int ecode2 = 0 ;
24277 bool val3 ;
24278 int ecode3 = 0 ;
24279 PyObject * obj0 = 0 ;
24280 PyObject * obj1 = 0 ;
24281 PyObject * obj2 = 0 ;
24282 char * kwnames[] = {
24283 (char *) "self",(char *) "id",(char *) "enable", NULL
24284 };
24285
24286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24288 if (!SWIG_IsOK(res1)) {
24289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24290 }
24291 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24292 ecode2 = SWIG_AsVal_int(obj1, &val2);
24293 if (!SWIG_IsOK(ecode2)) {
24294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24295 }
24296 arg2 = static_cast< int >(val2);
24297 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24298 if (!SWIG_IsOK(ecode3)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24300 }
24301 arg3 = static_cast< bool >(val3);
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 (arg1)->EnableTool(arg2,arg3);
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 resultobj = SWIG_Py_Void();
24309 return resultobj;
24310fail:
24311 return NULL;
24312}
24313
24314
24315SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24316 PyObject *resultobj = 0;
24317 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24318 int arg2 ;
24319 bool arg3 ;
24320 void *argp1 = 0 ;
24321 int res1 = 0 ;
24322 int val2 ;
24323 int ecode2 = 0 ;
24324 bool val3 ;
24325 int ecode3 = 0 ;
24326 PyObject * obj0 = 0 ;
24327 PyObject * obj1 = 0 ;
24328 PyObject * obj2 = 0 ;
24329 char * kwnames[] = {
24330 (char *) "self",(char *) "id",(char *) "toggle", NULL
24331 };
24332
24333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24335 if (!SWIG_IsOK(res1)) {
24336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24337 }
24338 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24339 ecode2 = SWIG_AsVal_int(obj1, &val2);
24340 if (!SWIG_IsOK(ecode2)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24342 }
24343 arg2 = static_cast< int >(val2);
24344 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24345 if (!SWIG_IsOK(ecode3)) {
24346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24347 }
24348 arg3 = static_cast< bool >(val3);
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 (arg1)->ToggleTool(arg2,arg3);
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 resultobj = SWIG_Py_Void();
24356 return resultobj;
24357fail:
24358 return NULL;
24359}
24360
24361
24362SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj = 0;
24364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24365 int arg2 ;
24366 bool arg3 ;
24367 void *argp1 = 0 ;
24368 int res1 = 0 ;
24369 int val2 ;
24370 int ecode2 = 0 ;
24371 bool val3 ;
24372 int ecode3 = 0 ;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 PyObject * obj2 = 0 ;
24376 char * kwnames[] = {
24377 (char *) "self",(char *) "id",(char *) "toggle", NULL
24378 };
24379
24380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24382 if (!SWIG_IsOK(res1)) {
24383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24384 }
24385 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24386 ecode2 = SWIG_AsVal_int(obj1, &val2);
24387 if (!SWIG_IsOK(ecode2)) {
24388 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24389 }
24390 arg2 = static_cast< int >(val2);
24391 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24392 if (!SWIG_IsOK(ecode3)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24394 }
24395 arg3 = static_cast< bool >(val3);
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 (arg1)->SetToggle(arg2,arg3);
24399 wxPyEndAllowThreads(__tstate);
24400 if (PyErr_Occurred()) SWIG_fail;
24401 }
24402 resultobj = SWIG_Py_Void();
24403 return resultobj;
24404fail:
24405 return NULL;
24406}
24407
24408
24409SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24410 PyObject *resultobj = 0;
24411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24412 int arg2 ;
24413 PyObject *result = 0 ;
24414 void *argp1 = 0 ;
24415 int res1 = 0 ;
24416 int val2 ;
24417 int ecode2 = 0 ;
24418 PyObject * obj0 = 0 ;
24419 PyObject * obj1 = 0 ;
24420 char * kwnames[] = {
24421 (char *) "self",(char *) "id", NULL
24422 };
24423
24424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24426 if (!SWIG_IsOK(res1)) {
24427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24428 }
24429 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24430 ecode2 = SWIG_AsVal_int(obj1, &val2);
24431 if (!SWIG_IsOK(ecode2)) {
24432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24433 }
24434 arg2 = static_cast< int >(val2);
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24438 wxPyEndAllowThreads(__tstate);
24439 if (PyErr_Occurred()) SWIG_fail;
24440 }
24441 resultobj = result;
24442 return resultobj;
24443fail:
24444 return NULL;
24445}
24446
24447
24448SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24449 PyObject *resultobj = 0;
24450 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24451 int arg2 ;
24452 PyObject *arg3 = (PyObject *) 0 ;
24453 void *argp1 = 0 ;
24454 int res1 = 0 ;
24455 int val2 ;
24456 int ecode2 = 0 ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 PyObject * obj2 = 0 ;
24460 char * kwnames[] = {
24461 (char *) "self",(char *) "id",(char *) "clientData", NULL
24462 };
24463
24464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24466 if (!SWIG_IsOK(res1)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24468 }
24469 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24470 ecode2 = SWIG_AsVal_int(obj1, &val2);
24471 if (!SWIG_IsOK(ecode2)) {
24472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24473 }
24474 arg2 = static_cast< int >(val2);
24475 arg3 = obj2;
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24479 wxPyEndAllowThreads(__tstate);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 }
24482 resultobj = SWIG_Py_Void();
24483 return resultobj;
24484fail:
24485 return NULL;
24486}
24487
24488
24489SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24490 PyObject *resultobj = 0;
24491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24492 int arg2 ;
24493 int result;
24494 void *argp1 = 0 ;
24495 int res1 = 0 ;
24496 int val2 ;
24497 int ecode2 = 0 ;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 char * kwnames[] = {
24501 (char *) "self",(char *) "id", NULL
24502 };
24503
24504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24506 if (!SWIG_IsOK(res1)) {
24507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24508 }
24509 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24510 ecode2 = SWIG_AsVal_int(obj1, &val2);
24511 if (!SWIG_IsOK(ecode2)) {
24512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24513 }
24514 arg2 = static_cast< int >(val2);
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 resultobj = SWIG_From_int(static_cast< int >(result));
24522 return resultobj;
24523fail:
24524 return NULL;
24525}
24526
24527
24528SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24529 PyObject *resultobj = 0;
24530 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24531 int arg2 ;
24532 bool result;
24533 void *argp1 = 0 ;
24534 int res1 = 0 ;
24535 int val2 ;
24536 int ecode2 = 0 ;
24537 PyObject * obj0 = 0 ;
24538 PyObject * obj1 = 0 ;
24539 char * kwnames[] = {
24540 (char *) "self",(char *) "id", NULL
24541 };
24542
24543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24545 if (!SWIG_IsOK(res1)) {
24546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24547 }
24548 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24549 ecode2 = SWIG_AsVal_int(obj1, &val2);
24550 if (!SWIG_IsOK(ecode2)) {
24551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24552 }
24553 arg2 = static_cast< int >(val2);
24554 {
24555 PyThreadState* __tstate = wxPyBeginAllowThreads();
24556 result = (bool)(arg1)->GetToolState(arg2);
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
24560 {
24561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24562 }
24563 return resultobj;
24564fail:
24565 return NULL;
24566}
24567
24568
24569SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj = 0;
24571 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24572 int arg2 ;
24573 bool result;
24574 void *argp1 = 0 ;
24575 int res1 = 0 ;
24576 int val2 ;
24577 int ecode2 = 0 ;
24578 PyObject * obj0 = 0 ;
24579 PyObject * obj1 = 0 ;
24580 char * kwnames[] = {
24581 (char *) "self",(char *) "id", NULL
24582 };
24583
24584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24586 if (!SWIG_IsOK(res1)) {
24587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24588 }
24589 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24590 ecode2 = SWIG_AsVal_int(obj1, &val2);
24591 if (!SWIG_IsOK(ecode2)) {
24592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24593 }
24594 arg2 = static_cast< int >(val2);
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 result = (bool)(arg1)->GetToolEnabled(arg2);
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 {
24602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24603 }
24604 return resultobj;
24605fail:
24606 return NULL;
24607}
24608
24609
24610SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24611 PyObject *resultobj = 0;
24612 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24613 int arg2 ;
24614 wxString *arg3 = 0 ;
24615 void *argp1 = 0 ;
24616 int res1 = 0 ;
24617 int val2 ;
24618 int ecode2 = 0 ;
24619 bool temp3 = false ;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 PyObject * obj2 = 0 ;
24623 char * kwnames[] = {
24624 (char *) "self",(char *) "id",(char *) "helpString", NULL
24625 };
24626
24627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24631 }
24632 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24633 ecode2 = SWIG_AsVal_int(obj1, &val2);
24634 if (!SWIG_IsOK(ecode2)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24636 }
24637 arg2 = static_cast< int >(val2);
24638 {
24639 arg3 = wxString_in_helper(obj2);
24640 if (arg3 == NULL) SWIG_fail;
24641 temp3 = true;
24642 }
24643 {
24644 PyThreadState* __tstate = wxPyBeginAllowThreads();
24645 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 resultobj = SWIG_Py_Void();
24650 {
24651 if (temp3)
24652 delete arg3;
24653 }
24654 return resultobj;
24655fail:
24656 {
24657 if (temp3)
24658 delete arg3;
24659 }
24660 return NULL;
24661}
24662
24663
24664SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24665 PyObject *resultobj = 0;
24666 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24667 int arg2 ;
24668 wxString result;
24669 void *argp1 = 0 ;
24670 int res1 = 0 ;
24671 int val2 ;
24672 int ecode2 = 0 ;
24673 PyObject * obj0 = 0 ;
24674 PyObject * obj1 = 0 ;
24675 char * kwnames[] = {
24676 (char *) "self",(char *) "id", NULL
24677 };
24678
24679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24681 if (!SWIG_IsOK(res1)) {
24682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24683 }
24684 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24685 ecode2 = SWIG_AsVal_int(obj1, &val2);
24686 if (!SWIG_IsOK(ecode2)) {
24687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24688 }
24689 arg2 = static_cast< int >(val2);
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 result = (arg1)->GetToolShortHelp(arg2);
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 {
24697#if wxUSE_UNICODE
24698 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24699#else
24700 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24701#endif
24702 }
24703 return resultobj;
24704fail:
24705 return NULL;
24706}
24707
24708
24709SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj = 0;
24711 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24712 int arg2 ;
24713 wxString *arg3 = 0 ;
24714 void *argp1 = 0 ;
24715 int res1 = 0 ;
24716 int val2 ;
24717 int ecode2 = 0 ;
24718 bool temp3 = false ;
24719 PyObject * obj0 = 0 ;
24720 PyObject * obj1 = 0 ;
24721 PyObject * obj2 = 0 ;
24722 char * kwnames[] = {
24723 (char *) "self",(char *) "id",(char *) "helpString", NULL
24724 };
24725
24726 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24727 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24728 if (!SWIG_IsOK(res1)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24730 }
24731 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24732 ecode2 = SWIG_AsVal_int(obj1, &val2);
24733 if (!SWIG_IsOK(ecode2)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24735 }
24736 arg2 = static_cast< int >(val2);
24737 {
24738 arg3 = wxString_in_helper(obj2);
24739 if (arg3 == NULL) SWIG_fail;
24740 temp3 = true;
24741 }
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_Py_Void();
24749 {
24750 if (temp3)
24751 delete arg3;
24752 }
24753 return resultobj;
24754fail:
24755 {
24756 if (temp3)
24757 delete arg3;
24758 }
24759 return NULL;
24760}
24761
24762
24763SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj = 0;
24765 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24766 int arg2 ;
24767 wxString result;
24768 void *argp1 = 0 ;
24769 int res1 = 0 ;
24770 int val2 ;
24771 int ecode2 = 0 ;
24772 PyObject * obj0 = 0 ;
24773 PyObject * obj1 = 0 ;
24774 char * kwnames[] = {
24775 (char *) "self",(char *) "id", NULL
24776 };
24777
24778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24780 if (!SWIG_IsOK(res1)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24782 }
24783 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24784 ecode2 = SWIG_AsVal_int(obj1, &val2);
24785 if (!SWIG_IsOK(ecode2)) {
24786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24787 }
24788 arg2 = static_cast< int >(val2);
24789 {
24790 PyThreadState* __tstate = wxPyBeginAllowThreads();
24791 result = (arg1)->GetToolLongHelp(arg2);
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 {
24796#if wxUSE_UNICODE
24797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24798#else
24799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24800#endif
24801 }
24802 return resultobj;
24803fail:
24804 return NULL;
24805}
24806
24807
24808SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24809 PyObject *resultobj = 0;
24810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24811 int arg2 ;
24812 int arg3 ;
24813 void *argp1 = 0 ;
24814 int res1 = 0 ;
24815 int val2 ;
24816 int ecode2 = 0 ;
24817 int val3 ;
24818 int ecode3 = 0 ;
24819 PyObject * obj0 = 0 ;
24820 PyObject * obj1 = 0 ;
24821 PyObject * obj2 = 0 ;
24822 char * kwnames[] = {
24823 (char *) "self",(char *) "x",(char *) "y", NULL
24824 };
24825
24826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24828 if (!SWIG_IsOK(res1)) {
24829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24830 }
24831 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24832 ecode2 = SWIG_AsVal_int(obj1, &val2);
24833 if (!SWIG_IsOK(ecode2)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24835 }
24836 arg2 = static_cast< int >(val2);
24837 ecode3 = SWIG_AsVal_int(obj2, &val3);
24838 if (!SWIG_IsOK(ecode3)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24840 }
24841 arg3 = static_cast< int >(val3);
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 (arg1)->SetMargins(arg2,arg3);
24845 wxPyEndAllowThreads(__tstate);
24846 if (PyErr_Occurred()) SWIG_fail;
24847 }
24848 resultobj = SWIG_Py_Void();
24849 return resultobj;
24850fail:
24851 return NULL;
24852}
24853
24854
24855SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24856 PyObject *resultobj = 0;
24857 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24858 wxSize *arg2 = 0 ;
24859 void *argp1 = 0 ;
24860 int res1 = 0 ;
24861 wxSize temp2 ;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char * kwnames[] = {
24865 (char *) "self",(char *) "size", NULL
24866 };
24867
24868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24870 if (!SWIG_IsOK(res1)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 }
24873 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24874 {
24875 arg2 = &temp2;
24876 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24877 }
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 (arg1)->SetMargins((wxSize const &)*arg2);
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 resultobj = SWIG_Py_Void();
24885 return resultobj;
24886fail:
24887 return NULL;
24888}
24889
24890
24891SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj = 0;
24893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24894 int arg2 ;
24895 void *argp1 = 0 ;
24896 int res1 = 0 ;
24897 int val2 ;
24898 int ecode2 = 0 ;
24899 PyObject * obj0 = 0 ;
24900 PyObject * obj1 = 0 ;
24901 char * kwnames[] = {
24902 (char *) "self",(char *) "packing", NULL
24903 };
24904
24905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
24906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24907 if (!SWIG_IsOK(res1)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24909 }
24910 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24911 ecode2 = SWIG_AsVal_int(obj1, &val2);
24912 if (!SWIG_IsOK(ecode2)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24914 }
24915 arg2 = static_cast< int >(val2);
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetToolPacking(arg2);
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 resultobj = SWIG_Py_Void();
24923 return resultobj;
24924fail:
24925 return NULL;
24926}
24927
24928
24929SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj = 0;
24931 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24932 int arg2 ;
24933 void *argp1 = 0 ;
24934 int res1 = 0 ;
24935 int val2 ;
24936 int ecode2 = 0 ;
24937 PyObject * obj0 = 0 ;
24938 PyObject * obj1 = 0 ;
24939 char * kwnames[] = {
24940 (char *) "self",(char *) "separation", NULL
24941 };
24942
24943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
24944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24945 if (!SWIG_IsOK(res1)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24947 }
24948 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24949 ecode2 = SWIG_AsVal_int(obj1, &val2);
24950 if (!SWIG_IsOK(ecode2)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24952 }
24953 arg2 = static_cast< int >(val2);
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 (arg1)->SetToolSeparation(arg2);
24957 wxPyEndAllowThreads(__tstate);
24958 if (PyErr_Occurred()) SWIG_fail;
24959 }
24960 resultobj = SWIG_Py_Void();
24961 return resultobj;
24962fail:
24963 return NULL;
d14a1e28
RD
24964}
24965
24966
0085ce49
RD
24967SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24968 PyObject *resultobj = 0;
24969 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24970 wxSize result;
24971 void *argp1 = 0 ;
24972 int res1 = 0 ;
24973 PyObject *swig_obj[1] ;
24974
24975 if (!args) SWIG_fail;
24976 swig_obj[0] = args;
24977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24978 if (!SWIG_IsOK(res1)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24980 }
24981 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 result = (arg1)->GetToolMargins();
24985 wxPyEndAllowThreads(__tstate);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 }
24988 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24989 return resultobj;
24990fail:
24991 return NULL;
d14a1e28
RD
24992}
24993
24994
0085ce49
RD
24995SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24996 PyObject *resultobj = 0;
24997 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24998 wxSize result;
24999 void *argp1 = 0 ;
25000 int res1 = 0 ;
25001 PyObject *swig_obj[1] ;
25002
25003 if (!args) SWIG_fail;
25004 swig_obj[0] = args;
25005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25006 if (!SWIG_IsOK(res1)) {
25007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25008 }
25009 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 result = (arg1)->GetMargins();
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25017 return resultobj;
25018fail:
25019 return NULL;
d14a1e28
RD
25020}
25021
25022
0085ce49
RD
25023SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25024 PyObject *resultobj = 0;
25025 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25026 int result;
25027 void *argp1 = 0 ;
25028 int res1 = 0 ;
25029 PyObject *swig_obj[1] ;
25030
25031 if (!args) SWIG_fail;
25032 swig_obj[0] = args;
25033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25034 if (!SWIG_IsOK(res1)) {
25035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25036 }
25037 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25038 {
25039 PyThreadState* __tstate = wxPyBeginAllowThreads();
25040 result = (int)(arg1)->GetToolPacking();
25041 wxPyEndAllowThreads(__tstate);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 resultobj = SWIG_From_int(static_cast< int >(result));
25045 return resultobj;
25046fail:
25047 return NULL;
d14a1e28
RD
25048}
25049
25050
0085ce49
RD
25051SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25052 PyObject *resultobj = 0;
25053 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25054 int result;
25055 void *argp1 = 0 ;
25056 int res1 = 0 ;
25057 PyObject *swig_obj[1] ;
25058
25059 if (!args) SWIG_fail;
25060 swig_obj[0] = args;
25061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25062 if (!SWIG_IsOK(res1)) {
25063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25064 }
25065 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25066 {
25067 PyThreadState* __tstate = wxPyBeginAllowThreads();
25068 result = (int)(arg1)->GetToolSeparation();
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 resultobj = SWIG_From_int(static_cast< int >(result));
25073 return resultobj;
25074fail:
25075 return NULL;
25076}
25077
25078
25079SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25080 PyObject *resultobj = 0;
25081 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25082 int arg2 ;
25083 void *argp1 = 0 ;
25084 int res1 = 0 ;
25085 int val2 ;
25086 int ecode2 = 0 ;
25087 PyObject * obj0 = 0 ;
25088 PyObject * obj1 = 0 ;
25089 char * kwnames[] = {
25090 (char *) "self",(char *) "nRows", NULL
25091 };
25092
25093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25095 if (!SWIG_IsOK(res1)) {
25096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25097 }
25098 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25099 ecode2 = SWIG_AsVal_int(obj1, &val2);
25100 if (!SWIG_IsOK(ecode2)) {
25101 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25102 }
25103 arg2 = static_cast< int >(val2);
25104 {
25105 PyThreadState* __tstate = wxPyBeginAllowThreads();
25106 (arg1)->SetRows(arg2);
25107 wxPyEndAllowThreads(__tstate);
25108 if (PyErr_Occurred()) SWIG_fail;
25109 }
25110 resultobj = SWIG_Py_Void();
25111 return resultobj;
25112fail:
25113 return NULL;
25114}
25115
25116
25117SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25118 PyObject *resultobj = 0;
25119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25120 int arg2 ;
25121 int arg3 ;
25122 void *argp1 = 0 ;
25123 int res1 = 0 ;
25124 int val2 ;
25125 int ecode2 = 0 ;
25126 int val3 ;
25127 int ecode3 = 0 ;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 PyObject * obj2 = 0 ;
25131 char * kwnames[] = {
25132 (char *) "self",(char *) "rows",(char *) "cols", NULL
25133 };
25134
25135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25137 if (!SWIG_IsOK(res1)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25139 }
25140 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25141 ecode2 = SWIG_AsVal_int(obj1, &val2);
25142 if (!SWIG_IsOK(ecode2)) {
25143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25144 }
25145 arg2 = static_cast< int >(val2);
25146 ecode3 = SWIG_AsVal_int(obj2, &val3);
25147 if (!SWIG_IsOK(ecode3)) {
25148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25149 }
25150 arg3 = static_cast< int >(val3);
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 (arg1)->SetMaxRowsCols(arg2,arg3);
25154 wxPyEndAllowThreads(__tstate);
25155 if (PyErr_Occurred()) SWIG_fail;
25156 }
25157 resultobj = SWIG_Py_Void();
25158 return resultobj;
25159fail:
25160 return NULL;
22bfe96c
RD
25161}
25162
25163
0085ce49
RD
25164SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25165 PyObject *resultobj = 0;
25166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25167 int result;
25168 void *argp1 = 0 ;
25169 int res1 = 0 ;
25170 PyObject *swig_obj[1] ;
25171
25172 if (!args) SWIG_fail;
25173 swig_obj[0] = args;
25174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25175 if (!SWIG_IsOK(res1)) {
25176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25177 }
25178 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 result = (int)(arg1)->GetMaxRows();
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 resultobj = SWIG_From_int(static_cast< int >(result));
25186 return resultobj;
25187fail:
25188 return NULL;
d14a1e28
RD
25189}
25190
25191
0085ce49
RD
25192SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25193 PyObject *resultobj = 0;
25194 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25195 int result;
25196 void *argp1 = 0 ;
25197 int res1 = 0 ;
25198 PyObject *swig_obj[1] ;
25199
25200 if (!args) SWIG_fail;
25201 swig_obj[0] = args;
25202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25203 if (!SWIG_IsOK(res1)) {
25204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25205 }
25206 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25207 {
25208 PyThreadState* __tstate = wxPyBeginAllowThreads();
25209 result = (int)(arg1)->GetMaxCols();
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 resultobj = SWIG_From_int(static_cast< int >(result));
25214 return resultobj;
25215fail:
25216 return NULL;
25217}
25218
25219
25220SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj = 0;
25222 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25223 wxSize *arg2 = 0 ;
25224 void *argp1 = 0 ;
25225 int res1 = 0 ;
25226 wxSize temp2 ;
25227 PyObject * obj0 = 0 ;
25228 PyObject * obj1 = 0 ;
25229 char * kwnames[] = {
25230 (char *) "self",(char *) "size", NULL
25231 };
25232
25233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25235 if (!SWIG_IsOK(res1)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25237 }
25238 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25239 {
25240 arg2 = &temp2;
25241 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25242 }
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 resultobj = SWIG_Py_Void();
25250 return resultobj;
25251fail:
25252 return NULL;
d14a1e28
RD
25253}
25254
25255
0085ce49
RD
25256SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25257 PyObject *resultobj = 0;
25258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25259 wxSize result;
25260 void *argp1 = 0 ;
25261 int res1 = 0 ;
25262 PyObject *swig_obj[1] ;
25263
25264 if (!args) SWIG_fail;
25265 swig_obj[0] = args;
25266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25267 if (!SWIG_IsOK(res1)) {
25268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25269 }
25270 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 result = (arg1)->GetToolBitmapSize();
25274 wxPyEndAllowThreads(__tstate);
25275 if (PyErr_Occurred()) SWIG_fail;
25276 }
25277 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25278 return resultobj;
25279fail:
25280 return NULL;
d14a1e28
RD
25281}
25282
25283
0085ce49
RD
25284SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25285 PyObject *resultobj = 0;
25286 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25287 wxSize result;
25288 void *argp1 = 0 ;
25289 int res1 = 0 ;
25290 PyObject *swig_obj[1] ;
25291
25292 if (!args) SWIG_fail;
25293 swig_obj[0] = args;
25294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25295 if (!SWIG_IsOK(res1)) {
25296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25297 }
25298 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25299 {
25300 PyThreadState* __tstate = wxPyBeginAllowThreads();
25301 result = (arg1)->GetToolSize();
25302 wxPyEndAllowThreads(__tstate);
25303 if (PyErr_Occurred()) SWIG_fail;
25304 }
25305 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25306 return resultobj;
25307fail:
25308 return NULL;
25309}
25310
25311
25312SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25313 PyObject *resultobj = 0;
25314 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25315 int arg2 ;
25316 int arg3 ;
25317 wxToolBarToolBase *result = 0 ;
25318 void *argp1 = 0 ;
25319 int res1 = 0 ;
25320 int val2 ;
25321 int ecode2 = 0 ;
25322 int val3 ;
25323 int ecode3 = 0 ;
25324 PyObject * obj0 = 0 ;
25325 PyObject * obj1 = 0 ;
25326 PyObject * obj2 = 0 ;
25327 char * kwnames[] = {
25328 (char *) "self",(char *) "x",(char *) "y", NULL
25329 };
25330
25331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25333 if (!SWIG_IsOK(res1)) {
25334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25335 }
25336 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25337 ecode2 = SWIG_AsVal_int(obj1, &val2);
25338 if (!SWIG_IsOK(ecode2)) {
25339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25340 }
25341 arg2 = static_cast< int >(val2);
25342 ecode3 = SWIG_AsVal_int(obj2, &val3);
25343 if (!SWIG_IsOK(ecode3)) {
25344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25345 }
25346 arg3 = static_cast< int >(val3);
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25350 wxPyEndAllowThreads(__tstate);
25351 if (PyErr_Occurred()) SWIG_fail;
25352 }
25353 {
25354 resultobj = wxPyMake_wxObject(result, (bool)0);
25355 }
25356 return resultobj;
25357fail:
25358 return NULL;
25359}
25360
25361
25362SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25363 PyObject *resultobj = 0;
25364 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25365 int arg2 ;
25366 wxToolBarToolBase *result = 0 ;
25367 void *argp1 = 0 ;
25368 int res1 = 0 ;
25369 int val2 ;
25370 int ecode2 = 0 ;
25371 PyObject * obj0 = 0 ;
25372 PyObject * obj1 = 0 ;
25373 char * kwnames[] = {
25374 (char *) "self",(char *) "toolid", NULL
25375 };
25376
25377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25379 if (!SWIG_IsOK(res1)) {
25380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25381 }
25382 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25383 ecode2 = SWIG_AsVal_int(obj1, &val2);
25384 if (!SWIG_IsOK(ecode2)) {
25385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25386 }
25387 arg2 = static_cast< int >(val2);
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 {
25395 resultobj = wxPyMake_wxObject(result, (bool)0);
25396 }
25397 return resultobj;
25398fail:
25399 return NULL;
d14a1e28
RD
25400}
25401
25402
0085ce49
RD
25403SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25404 PyObject *resultobj = 0;
25405 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25406 bool result;
25407 void *argp1 = 0 ;
25408 int res1 = 0 ;
25409 PyObject *swig_obj[1] ;
25410
25411 if (!args) SWIG_fail;
25412 swig_obj[0] = args;
25413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25414 if (!SWIG_IsOK(res1)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25416 }
25417 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 result = (bool)(arg1)->IsVertical();
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 {
25425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25426 }
25427 return resultobj;
25428fail:
25429 return NULL;
25430}
25431
25432
25433SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25434 PyObject *resultobj = 0;
25435 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25436 size_t result;
25437 void *argp1 = 0 ;
25438 int res1 = 0 ;
25439 PyObject *swig_obj[1] ;
25440
25441 if (!args) SWIG_fail;
25442 swig_obj[0] = args;
25443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25444 if (!SWIG_IsOK(res1)) {
25445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25446 }
25447 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25448 {
25449 PyThreadState* __tstate = wxPyBeginAllowThreads();
25450 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25455 return resultobj;
25456fail:
25457 return NULL;
25458}
25459
25460
25461SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25462 PyObject *obj;
25463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25464 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25465 return SWIG_Py_Void();
25466}
25467
25468SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25469 PyObject *resultobj = 0;
25470 wxWindow *arg1 = (wxWindow *) 0 ;
25471 int arg2 = (int) -1 ;
25472 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25473 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25474 wxSize const &arg4_defvalue = wxDefaultSize ;
25475 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25476 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25477 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25478 wxString *arg6 = (wxString *) &arg6_defvalue ;
25479 wxToolBar *result = 0 ;
25480 void *argp1 = 0 ;
25481 int res1 = 0 ;
25482 int val2 ;
25483 int ecode2 = 0 ;
25484 wxPoint temp3 ;
25485 wxSize temp4 ;
25486 long val5 ;
25487 int ecode5 = 0 ;
25488 bool temp6 = false ;
25489 PyObject * obj0 = 0 ;
25490 PyObject * obj1 = 0 ;
25491 PyObject * obj2 = 0 ;
25492 PyObject * obj3 = 0 ;
25493 PyObject * obj4 = 0 ;
25494 PyObject * obj5 = 0 ;
25495 char * kwnames[] = {
25496 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25497 };
25498
25499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25501 if (!SWIG_IsOK(res1)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25503 }
25504 arg1 = reinterpret_cast< wxWindow * >(argp1);
25505 if (obj1) {
25506 ecode2 = SWIG_AsVal_int(obj1, &val2);
25507 if (!SWIG_IsOK(ecode2)) {
25508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25509 }
25510 arg2 = static_cast< int >(val2);
25511 }
25512 if (obj2) {
25513 {
25514 arg3 = &temp3;
25515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25516 }
25517 }
25518 if (obj3) {
093d3ff1 25519 {
0085ce49
RD
25520 arg4 = &temp4;
25521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25522 }
0085ce49
RD
25523 }
25524 if (obj4) {
25525 ecode5 = SWIG_AsVal_long(obj4, &val5);
25526 if (!SWIG_IsOK(ecode5)) {
25527 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25528 }
25529 arg5 = static_cast< long >(val5);
25530 }
25531 if (obj5) {
d14a1e28 25532 {
0085ce49
RD
25533 arg6 = wxString_in_helper(obj5);
25534 if (arg6 == NULL) SWIG_fail;
25535 temp6 = true;
d14a1e28 25536 }
0085ce49
RD
25537 }
25538 {
25539 if (!wxPyCheckForApp()) SWIG_fail;
25540 PyThreadState* __tstate = wxPyBeginAllowThreads();
25541 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25542 wxPyEndAllowThreads(__tstate);
25543 if (PyErr_Occurred()) SWIG_fail;
25544 }
25545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25546 {
25547 if (temp6)
25548 delete arg6;
25549 }
25550 return resultobj;
25551fail:
25552 {
25553 if (temp6)
25554 delete arg6;
25555 }
25556 return NULL;
d14a1e28
RD
25557}
25558
25559
0085ce49
RD
25560SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25561 PyObject *resultobj = 0;
25562 wxToolBar *result = 0 ;
25563
25564 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25565 {
25566 if (!wxPyCheckForApp()) SWIG_fail;
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (wxToolBar *)new wxToolBar();
25569 wxPyEndAllowThreads(__tstate);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25573 return resultobj;
25574fail:
25575 return NULL;
25576}
25577
25578
25579SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25580 PyObject *resultobj = 0;
25581 wxToolBar *arg1 = (wxToolBar *) 0 ;
25582 wxWindow *arg2 = (wxWindow *) 0 ;
25583 int arg3 = (int) -1 ;
25584 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25585 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25586 wxSize const &arg5_defvalue = wxDefaultSize ;
25587 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25588 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25589 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25590 wxString *arg7 = (wxString *) &arg7_defvalue ;
25591 bool result;
25592 void *argp1 = 0 ;
25593 int res1 = 0 ;
25594 void *argp2 = 0 ;
25595 int res2 = 0 ;
25596 int val3 ;
25597 int ecode3 = 0 ;
25598 wxPoint temp4 ;
25599 wxSize temp5 ;
25600 long val6 ;
25601 int ecode6 = 0 ;
25602 bool temp7 = false ;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 PyObject * obj2 = 0 ;
25606 PyObject * obj3 = 0 ;
25607 PyObject * obj4 = 0 ;
25608 PyObject * obj5 = 0 ;
25609 PyObject * obj6 = 0 ;
25610 char * kwnames[] = {
25611 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25612 };
25613
25614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25616 if (!SWIG_IsOK(res1)) {
25617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25618 }
25619 arg1 = reinterpret_cast< wxToolBar * >(argp1);
25620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
25621 if (!SWIG_IsOK(res2)) {
25622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25623 }
25624 arg2 = reinterpret_cast< wxWindow * >(argp2);
25625 if (obj2) {
25626 ecode3 = SWIG_AsVal_int(obj2, &val3);
25627 if (!SWIG_IsOK(ecode3)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25629 }
25630 arg3 = static_cast< int >(val3);
25631 }
25632 if (obj3) {
25633 {
25634 arg4 = &temp4;
25635 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 25636 }
0085ce49
RD
25637 }
25638 if (obj4) {
22bfe96c 25639 {
0085ce49
RD
25640 arg5 = &temp5;
25641 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22bfe96c 25642 }
0085ce49
RD
25643 }
25644 if (obj5) {
25645 ecode6 = SWIG_AsVal_long(obj5, &val6);
25646 if (!SWIG_IsOK(ecode6)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25648 }
25649 arg6 = static_cast< long >(val6);
25650 }
25651 if (obj6) {
22bfe96c 25652 {
0085ce49
RD
25653 arg7 = wxString_in_helper(obj6);
25654 if (arg7 == NULL) SWIG_fail;
25655 temp7 = true;
22bfe96c 25656 }
0085ce49
RD
25657 }
25658 {
25659 PyThreadState* __tstate = wxPyBeginAllowThreads();
25660 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
25661 wxPyEndAllowThreads(__tstate);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 {
25665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25666 }
25667 {
25668 if (temp7)
25669 delete arg7;
25670 }
25671 return resultobj;
25672fail:
25673 {
25674 if (temp7)
25675 delete arg7;
25676 }
25677 return NULL;
25678}
25679
25680
0085ce49
RD
25681SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj = 0;
25683 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
25684 SwigValueWrapper<wxVisualAttributes > result;
25685 int val1 ;
25686 int ecode1 = 0 ;
25687 PyObject * obj0 = 0 ;
25688 char * kwnames[] = {
25689 (char *) "variant", NULL
25690 };
25691
25692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
25693 if (obj0) {
25694 ecode1 = SWIG_AsVal_int(obj0, &val1);
25695 if (!SWIG_IsOK(ecode1)) {
25696 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25697 }
25698 arg1 = static_cast< wxWindowVariant >(val1);
25699 }
25700 {
25701 if (!wxPyCheckForApp()) SWIG_fail;
25702 PyThreadState* __tstate = wxPyBeginAllowThreads();
25703 result = wxToolBar::GetClassDefaultAttributes(arg1);
25704 wxPyEndAllowThreads(__tstate);
25705 if (PyErr_Occurred()) SWIG_fail;
25706 }
25707 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25708 return resultobj;
25709fail:
25710 return NULL;
22bfe96c
RD
25711}
25712
25713
0085ce49
RD
25714SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25715 PyObject *obj;
25716 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25717 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
25718 return SWIG_Py_Void();
d14a1e28 25719}
0085ce49
RD
25720
25721SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25722 return SWIG_Python_InitShadowInstance(args);
b2dc1044
RD
25723}
25724
0085ce49
RD
25725SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
25726 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
25727 return 1;
25728}
b2dc1044 25729
0085ce49
RD
25730
25731SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
25732 PyObject *pyobj = 0;
25733
25734 {
b2dc1044 25735#if wxUSE_UNICODE
0085ce49 25736 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
b2dc1044 25737#else
0085ce49 25738 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
b2dc1044 25739#endif
0085ce49
RD
25740 }
25741 return pyobj;
25742}
25743
25744
25745SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj = 0;
25747 wxColour const &arg1_defvalue = wxNullColour ;
25748 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
25749 wxColour const &arg2_defvalue = wxNullColour ;
25750 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
25751 wxFont const &arg3_defvalue = wxNullFont ;
25752 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
25753 wxListItemAttr *result = 0 ;
25754 wxColour temp1 ;
25755 wxColour temp2 ;
25756 void *argp3 = 0 ;
25757 int res3 = 0 ;
25758 PyObject * obj0 = 0 ;
25759 PyObject * obj1 = 0 ;
25760 PyObject * obj2 = 0 ;
25761 char * kwnames[] = {
25762 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25763 };
25764
25765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25766 if (obj0) {
d14a1e28 25767 {
0085ce49
RD
25768 arg1 = &temp1;
25769 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d14a1e28 25770 }
0085ce49
RD
25771 }
25772 if (obj1) {
d14a1e28 25773 {
0085ce49
RD
25774 arg2 = &temp2;
25775 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d14a1e28 25776 }
0085ce49
RD
25777 }
25778 if (obj2) {
25779 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
25780 if (!SWIG_IsOK(res3)) {
25781 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 25782 }
0085ce49
RD
25783 if (!argp3) {
25784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d14a1e28 25785 }
0085ce49
RD
25786 arg3 = reinterpret_cast< wxFont * >(argp3);
25787 }
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
25795 return resultobj;
25796fail:
25797 return NULL;
d14a1e28
RD
25798}
25799
25800
0085ce49
RD
25801SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25802 PyObject *resultobj = 0;
25803 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25804 void *argp1 = 0 ;
25805 int res1 = 0 ;
25806 PyObject *swig_obj[1] ;
25807
25808 if (!args) SWIG_fail;
25809 swig_obj[0] = args;
25810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
25811 if (!SWIG_IsOK(res1)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25813 }
25814 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 delete arg1;
d14a1e28 25818
0085ce49
RD
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 resultobj = SWIG_Py_Void();
25823 return resultobj;
25824fail:
25825 return NULL;
25826}
25827
25828
25829SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj = 0;
25831 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25832 wxColour *arg2 = 0 ;
25833 void *argp1 = 0 ;
25834 int res1 = 0 ;
25835 wxColour temp2 ;
25836 PyObject * obj0 = 0 ;
25837 PyObject * obj1 = 0 ;
25838 char * kwnames[] = {
25839 (char *) "self",(char *) "colText", NULL
25840 };
25841
25842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
25843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25844 if (!SWIG_IsOK(res1)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25846 }
25847 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25848 {
25849 arg2 = &temp2;
25850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25851 }
25852 {
25853 PyThreadState* __tstate = wxPyBeginAllowThreads();
25854 (arg1)->SetTextColour((wxColour const &)*arg2);
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 resultobj = SWIG_Py_Void();
25859 return resultobj;
25860fail:
25861 return NULL;
25862}
25863
25864
25865SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj = 0;
25867 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25868 wxColour *arg2 = 0 ;
25869 void *argp1 = 0 ;
25870 int res1 = 0 ;
25871 wxColour temp2 ;
25872 PyObject * obj0 = 0 ;
25873 PyObject * obj1 = 0 ;
25874 char * kwnames[] = {
25875 (char *) "self",(char *) "colBack", NULL
25876 };
25877
25878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
25879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25880 if (!SWIG_IsOK(res1)) {
25881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25882 }
25883 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25884 {
25885 arg2 = &temp2;
25886 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25887 }
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
25891 wxPyEndAllowThreads(__tstate);
25892 if (PyErr_Occurred()) SWIG_fail;
25893 }
25894 resultobj = SWIG_Py_Void();
25895 return resultobj;
25896fail:
25897 return NULL;
25898}
25899
25900
25901SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25902 PyObject *resultobj = 0;
25903 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25904 wxFont *arg2 = 0 ;
25905 void *argp1 = 0 ;
25906 int res1 = 0 ;
25907 void *argp2 = 0 ;
25908 int res2 = 0 ;
25909 PyObject * obj0 = 0 ;
25910 PyObject * obj1 = 0 ;
25911 char * kwnames[] = {
25912 (char *) "self",(char *) "font", NULL
25913 };
25914
25915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
25916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25917 if (!SWIG_IsOK(res1)) {
25918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25919 }
25920 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25921 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
25922 if (!SWIG_IsOK(res2)) {
25923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25924 }
25925 if (!argp2) {
25926 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25927 }
25928 arg2 = reinterpret_cast< wxFont * >(argp2);
25929 {
25930 PyThreadState* __tstate = wxPyBeginAllowThreads();
25931 (arg1)->SetFont((wxFont const &)*arg2);
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_Py_Void();
25936 return resultobj;
25937fail:
25938 return NULL;
d14a1e28
RD
25939}
25940
25941
0085ce49
RD
25942SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25943 PyObject *resultobj = 0;
25944 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25945 bool result;
25946 void *argp1 = 0 ;
25947 int res1 = 0 ;
25948 PyObject *swig_obj[1] ;
25949
25950 if (!args) SWIG_fail;
25951 swig_obj[0] = args;
25952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25953 if (!SWIG_IsOK(res1)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25955 }
25956 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 result = (bool)(arg1)->HasTextColour();
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 {
25964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25965 }
25966 return resultobj;
25967fail:
25968 return NULL;
d14a1e28
RD
25969}
25970
25971
0085ce49
RD
25972SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25973 PyObject *resultobj = 0;
25974 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
25975 bool result;
25976 void *argp1 = 0 ;
25977 int res1 = 0 ;
25978 PyObject *swig_obj[1] ;
25979
25980 if (!args) SWIG_fail;
25981 swig_obj[0] = args;
25982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
25983 if (!SWIG_IsOK(res1)) {
25984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25985 }
25986 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
25987 {
25988 PyThreadState* __tstate = wxPyBeginAllowThreads();
25989 result = (bool)(arg1)->HasBackgroundColour();
25990 wxPyEndAllowThreads(__tstate);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 {
25994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25995 }
25996 return resultobj;
25997fail:
25998 return NULL;
d14a1e28
RD
25999}
26000
26001
0085ce49
RD
26002SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26003 PyObject *resultobj = 0;
26004 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26005 bool result;
26006 void *argp1 = 0 ;
26007 int res1 = 0 ;
26008 PyObject *swig_obj[1] ;
26009
26010 if (!args) SWIG_fail;
26011 swig_obj[0] = args;
26012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26013 if (!SWIG_IsOK(res1)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26015 }
26016 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (bool)(arg1)->HasFont();
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 {
26024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26025 }
26026 return resultobj;
26027fail:
26028 return NULL;
d14a1e28
RD
26029}
26030
26031
0085ce49
RD
26032SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26033 PyObject *resultobj = 0;
26034 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26035 wxColour result;
26036 void *argp1 = 0 ;
26037 int res1 = 0 ;
26038 PyObject *swig_obj[1] ;
26039
26040 if (!args) SWIG_fail;
26041 swig_obj[0] = args;
26042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26043 if (!SWIG_IsOK(res1)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26045 }
26046 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (arg1)->GetTextColour();
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26054 return resultobj;
26055fail:
26056 return NULL;
d14a1e28
RD
26057}
26058
26059
0085ce49
RD
26060SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26061 PyObject *resultobj = 0;
26062 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26063 wxColour result;
26064 void *argp1 = 0 ;
26065 int res1 = 0 ;
26066 PyObject *swig_obj[1] ;
26067
26068 if (!args) SWIG_fail;
26069 swig_obj[0] = args;
26070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26071 if (!SWIG_IsOK(res1)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26073 }
26074 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26075 {
26076 PyThreadState* __tstate = wxPyBeginAllowThreads();
26077 result = (arg1)->GetBackgroundColour();
26078 wxPyEndAllowThreads(__tstate);
26079 if (PyErr_Occurred()) SWIG_fail;
26080 }
26081 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26082 return resultobj;
26083fail:
26084 return NULL;
d14a1e28
RD
26085}
26086
26087
0085ce49
RD
26088SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26089 PyObject *resultobj = 0;
26090 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26091 wxFont result;
26092 void *argp1 = 0 ;
26093 int res1 = 0 ;
26094 PyObject *swig_obj[1] ;
26095
26096 if (!args) SWIG_fail;
26097 swig_obj[0] = args;
26098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26099 if (!SWIG_IsOK(res1)) {
26100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26101 }
26102 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26103 {
26104 PyThreadState* __tstate = wxPyBeginAllowThreads();
26105 result = (arg1)->GetFont();
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26110 return resultobj;
26111fail:
26112 return NULL;
26113}
26114
26115
26116SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26117 PyObject *resultobj = 0;
26118 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26119 wxListItemAttr *arg2 = 0 ;
26120 void *argp1 = 0 ;
26121 int res1 = 0 ;
26122 void *argp2 = 0 ;
26123 int res2 = 0 ;
26124 PyObject * obj0 = 0 ;
26125 PyObject * obj1 = 0 ;
26126 char * kwnames[] = {
26127 (char *) "self",(char *) "source", NULL
26128 };
26129
26130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26132 if (!SWIG_IsOK(res1)) {
26133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26134 }
26135 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26136 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26137 if (!SWIG_IsOK(res2)) {
26138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26139 }
26140 if (!argp2) {
26141 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26142 }
26143 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26144 {
26145 PyThreadState* __tstate = wxPyBeginAllowThreads();
26146 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26147 wxPyEndAllowThreads(__tstate);
26148 if (PyErr_Occurred()) SWIG_fail;
26149 }
26150 resultobj = SWIG_Py_Void();
26151 return resultobj;
26152fail:
26153 return NULL;
d14a1e28
RD
26154}
26155
26156
0085ce49
RD
26157SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26158 PyObject *resultobj = 0;
26159 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26160 void *argp1 = 0 ;
26161 int res1 = 0 ;
26162 PyObject *swig_obj[1] ;
26163
26164 if (!args) SWIG_fail;
26165 swig_obj[0] = args;
26166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26167 if (!SWIG_IsOK(res1)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26169 }
26170 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26171 {
26172 PyThreadState* __tstate = wxPyBeginAllowThreads();
26173 wxListItemAttr_Destroy(arg1);
26174 wxPyEndAllowThreads(__tstate);
26175 if (PyErr_Occurred()) SWIG_fail;
26176 }
26177 resultobj = SWIG_Py_Void();
26178 return resultobj;
26179fail:
26180 return NULL;
d14a1e28
RD
26181}
26182
26183
0085ce49
RD
26184SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26185 PyObject *obj;
26186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26187 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26188 return SWIG_Py_Void();
d14a1e28
RD
26189}
26190
0085ce49
RD
26191SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26192 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
26193}
26194
0085ce49
RD
26195SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26196 PyObject *resultobj = 0;
26197 wxListItem *result = 0 ;
26198
26199 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (wxListItem *)new wxListItem();
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 {
26207 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_NEW);
26208 }
26209 return resultobj;
26210fail:
26211 return NULL;
d14a1e28
RD
26212}
26213
26214
0085ce49
RD
26215SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26216 PyObject *resultobj = 0;
26217 wxListItem *arg1 = (wxListItem *) 0 ;
26218 void *argp1 = 0 ;
26219 int res1 = 0 ;
26220 PyObject *swig_obj[1] ;
26221
26222 if (!args) SWIG_fail;
26223 swig_obj[0] = args;
26224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26225 if (!SWIG_IsOK(res1)) {
26226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26227 }
26228 arg1 = reinterpret_cast< wxListItem * >(argp1);
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 delete arg1;
d14a1e28 26232
0085ce49
RD
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 resultobj = SWIG_Py_Void();
26237 return resultobj;
26238fail:
26239 return NULL;
d14a1e28
RD
26240}
26241
26242
0085ce49
RD
26243SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26244 PyObject *resultobj = 0;
26245 wxListItem *arg1 = (wxListItem *) 0 ;
26246 void *argp1 = 0 ;
26247 int res1 = 0 ;
26248 PyObject *swig_obj[1] ;
26249
26250 if (!args) SWIG_fail;
26251 swig_obj[0] = args;
26252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26253 if (!SWIG_IsOK(res1)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26255 }
26256 arg1 = reinterpret_cast< wxListItem * >(argp1);
26257 {
26258 PyThreadState* __tstate = wxPyBeginAllowThreads();
26259 (arg1)->Clear();
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 resultobj = SWIG_Py_Void();
26264 return resultobj;
26265fail:
26266 return NULL;
d14a1e28
RD
26267}
26268
26269
0085ce49
RD
26270SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26271 PyObject *resultobj = 0;
26272 wxListItem *arg1 = (wxListItem *) 0 ;
26273 void *argp1 = 0 ;
26274 int res1 = 0 ;
26275 PyObject *swig_obj[1] ;
26276
26277 if (!args) SWIG_fail;
26278 swig_obj[0] = args;
26279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26280 if (!SWIG_IsOK(res1)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26282 }
26283 arg1 = reinterpret_cast< wxListItem * >(argp1);
26284 {
26285 PyThreadState* __tstate = wxPyBeginAllowThreads();
26286 (arg1)->ClearAttributes();
26287 wxPyEndAllowThreads(__tstate);
26288 if (PyErr_Occurred()) SWIG_fail;
26289 }
26290 resultobj = SWIG_Py_Void();
26291 return resultobj;
26292fail:
26293 return NULL;
26294}
26295
26296
26297SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26298 PyObject *resultobj = 0;
26299 wxListItem *arg1 = (wxListItem *) 0 ;
26300 long arg2 ;
26301 void *argp1 = 0 ;
26302 int res1 = 0 ;
26303 long val2 ;
26304 int ecode2 = 0 ;
26305 PyObject * obj0 = 0 ;
26306 PyObject * obj1 = 0 ;
26307 char * kwnames[] = {
26308 (char *) "self",(char *) "mask", NULL
26309 };
26310
26311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26313 if (!SWIG_IsOK(res1)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26315 }
26316 arg1 = reinterpret_cast< wxListItem * >(argp1);
26317 ecode2 = SWIG_AsVal_long(obj1, &val2);
26318 if (!SWIG_IsOK(ecode2)) {
26319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26320 }
26321 arg2 = static_cast< long >(val2);
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 (arg1)->SetMask(arg2);
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 resultobj = SWIG_Py_Void();
26329 return resultobj;
26330fail:
26331 return NULL;
26332}
26333
26334
26335SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26336 PyObject *resultobj = 0;
26337 wxListItem *arg1 = (wxListItem *) 0 ;
26338 long arg2 ;
26339 void *argp1 = 0 ;
26340 int res1 = 0 ;
26341 long val2 ;
26342 int ecode2 = 0 ;
26343 PyObject * obj0 = 0 ;
26344 PyObject * obj1 = 0 ;
26345 char * kwnames[] = {
26346 (char *) "self",(char *) "id", NULL
26347 };
26348
26349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26351 if (!SWIG_IsOK(res1)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26353 }
26354 arg1 = reinterpret_cast< wxListItem * >(argp1);
26355 ecode2 = SWIG_AsVal_long(obj1, &val2);
26356 if (!SWIG_IsOK(ecode2)) {
26357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26358 }
26359 arg2 = static_cast< long >(val2);
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 (arg1)->SetId(arg2);
26363 wxPyEndAllowThreads(__tstate);
26364 if (PyErr_Occurred()) SWIG_fail;
26365 }
26366 resultobj = SWIG_Py_Void();
26367 return resultobj;
26368fail:
26369 return NULL;
26370}
26371
26372
26373SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26374 PyObject *resultobj = 0;
26375 wxListItem *arg1 = (wxListItem *) 0 ;
26376 int arg2 ;
26377 void *argp1 = 0 ;
26378 int res1 = 0 ;
26379 int val2 ;
26380 int ecode2 = 0 ;
26381 PyObject * obj0 = 0 ;
26382 PyObject * obj1 = 0 ;
26383 char * kwnames[] = {
26384 (char *) "self",(char *) "col", NULL
26385 };
26386
26387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26389 if (!SWIG_IsOK(res1)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26391 }
26392 arg1 = reinterpret_cast< wxListItem * >(argp1);
26393 ecode2 = SWIG_AsVal_int(obj1, &val2);
26394 if (!SWIG_IsOK(ecode2)) {
26395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26396 }
26397 arg2 = static_cast< int >(val2);
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 (arg1)->SetColumn(arg2);
26401 wxPyEndAllowThreads(__tstate);
26402 if (PyErr_Occurred()) SWIG_fail;
26403 }
26404 resultobj = SWIG_Py_Void();
26405 return resultobj;
26406fail:
26407 return NULL;
26408}
26409
26410
26411SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26412 PyObject *resultobj = 0;
26413 wxListItem *arg1 = (wxListItem *) 0 ;
26414 long arg2 ;
26415 void *argp1 = 0 ;
26416 int res1 = 0 ;
26417 long val2 ;
26418 int ecode2 = 0 ;
26419 PyObject * obj0 = 0 ;
26420 PyObject * obj1 = 0 ;
26421 char * kwnames[] = {
26422 (char *) "self",(char *) "state", NULL
26423 };
26424
26425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26427 if (!SWIG_IsOK(res1)) {
26428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26429 }
26430 arg1 = reinterpret_cast< wxListItem * >(argp1);
26431 ecode2 = SWIG_AsVal_long(obj1, &val2);
26432 if (!SWIG_IsOK(ecode2)) {
26433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26434 }
26435 arg2 = static_cast< long >(val2);
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 (arg1)->SetState(arg2);
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 resultobj = SWIG_Py_Void();
26443 return resultobj;
26444fail:
26445 return NULL;
26446}
26447
26448
26449SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26450 PyObject *resultobj = 0;
26451 wxListItem *arg1 = (wxListItem *) 0 ;
26452 long arg2 ;
26453 void *argp1 = 0 ;
26454 int res1 = 0 ;
26455 long val2 ;
26456 int ecode2 = 0 ;
26457 PyObject * obj0 = 0 ;
26458 PyObject * obj1 = 0 ;
26459 char * kwnames[] = {
26460 (char *) "self",(char *) "stateMask", NULL
26461 };
26462
26463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26465 if (!SWIG_IsOK(res1)) {
26466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26467 }
26468 arg1 = reinterpret_cast< wxListItem * >(argp1);
26469 ecode2 = SWIG_AsVal_long(obj1, &val2);
26470 if (!SWIG_IsOK(ecode2)) {
26471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26472 }
26473 arg2 = static_cast< long >(val2);
26474 {
26475 PyThreadState* __tstate = wxPyBeginAllowThreads();
26476 (arg1)->SetStateMask(arg2);
26477 wxPyEndAllowThreads(__tstate);
26478 if (PyErr_Occurred()) SWIG_fail;
26479 }
26480 resultobj = SWIG_Py_Void();
26481 return resultobj;
26482fail:
26483 return NULL;
26484}
26485
26486
26487SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26488 PyObject *resultobj = 0;
26489 wxListItem *arg1 = (wxListItem *) 0 ;
26490 wxString *arg2 = 0 ;
26491 void *argp1 = 0 ;
26492 int res1 = 0 ;
26493 bool temp2 = false ;
26494 PyObject * obj0 = 0 ;
26495 PyObject * obj1 = 0 ;
26496 char * kwnames[] = {
26497 (char *) "self",(char *) "text", NULL
26498 };
26499
26500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26502 if (!SWIG_IsOK(res1)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26504 }
26505 arg1 = reinterpret_cast< wxListItem * >(argp1);
26506 {
26507 arg2 = wxString_in_helper(obj1);
26508 if (arg2 == NULL) SWIG_fail;
26509 temp2 = true;
26510 }
26511 {
26512 PyThreadState* __tstate = wxPyBeginAllowThreads();
26513 (arg1)->SetText((wxString const &)*arg2);
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
26517 resultobj = SWIG_Py_Void();
26518 {
26519 if (temp2)
26520 delete arg2;
26521 }
26522 return resultobj;
26523fail:
26524 {
26525 if (temp2)
26526 delete arg2;
26527 }
26528 return NULL;
26529}
26530
26531
26532SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj = 0;
26534 wxListItem *arg1 = (wxListItem *) 0 ;
26535 int arg2 ;
26536 void *argp1 = 0 ;
26537 int res1 = 0 ;
26538 int val2 ;
26539 int ecode2 = 0 ;
26540 PyObject * obj0 = 0 ;
26541 PyObject * obj1 = 0 ;
26542 char * kwnames[] = {
26543 (char *) "self",(char *) "image", NULL
26544 };
26545
26546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26548 if (!SWIG_IsOK(res1)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26550 }
26551 arg1 = reinterpret_cast< wxListItem * >(argp1);
26552 ecode2 = SWIG_AsVal_int(obj1, &val2);
26553 if (!SWIG_IsOK(ecode2)) {
26554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26555 }
26556 arg2 = static_cast< int >(val2);
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 (arg1)->SetImage(arg2);
26560 wxPyEndAllowThreads(__tstate);
26561 if (PyErr_Occurred()) SWIG_fail;
26562 }
26563 resultobj = SWIG_Py_Void();
26564 return resultobj;
26565fail:
26566 return NULL;
26567}
26568
26569
26570SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26571 PyObject *resultobj = 0;
26572 wxListItem *arg1 = (wxListItem *) 0 ;
26573 long arg2 ;
26574 void *argp1 = 0 ;
26575 int res1 = 0 ;
26576 long val2 ;
26577 int ecode2 = 0 ;
26578 PyObject * obj0 = 0 ;
26579 PyObject * obj1 = 0 ;
26580 char * kwnames[] = {
26581 (char *) "self",(char *) "data", NULL
26582 };
26583
26584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26586 if (!SWIG_IsOK(res1)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26588 }
26589 arg1 = reinterpret_cast< wxListItem * >(argp1);
26590 ecode2 = SWIG_AsVal_long(obj1, &val2);
26591 if (!SWIG_IsOK(ecode2)) {
26592 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26593 }
26594 arg2 = static_cast< long >(val2);
26595 {
26596 PyThreadState* __tstate = wxPyBeginAllowThreads();
26597 (arg1)->SetData(arg2);
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 resultobj = SWIG_Py_Void();
26602 return resultobj;
26603fail:
26604 return NULL;
26605}
26606
26607
26608SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26609 PyObject *resultobj = 0;
26610 wxListItem *arg1 = (wxListItem *) 0 ;
26611 int arg2 ;
26612 void *argp1 = 0 ;
26613 int res1 = 0 ;
26614 int val2 ;
26615 int ecode2 = 0 ;
26616 PyObject * obj0 = 0 ;
26617 PyObject * obj1 = 0 ;
26618 char * kwnames[] = {
26619 (char *) "self",(char *) "width", NULL
26620 };
26621
26622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
26623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26624 if (!SWIG_IsOK(res1)) {
26625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26626 }
26627 arg1 = reinterpret_cast< wxListItem * >(argp1);
26628 ecode2 = SWIG_AsVal_int(obj1, &val2);
26629 if (!SWIG_IsOK(ecode2)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26631 }
26632 arg2 = static_cast< int >(val2);
26633 {
26634 PyThreadState* __tstate = wxPyBeginAllowThreads();
26635 (arg1)->SetWidth(arg2);
26636 wxPyEndAllowThreads(__tstate);
26637 if (PyErr_Occurred()) SWIG_fail;
26638 }
26639 resultobj = SWIG_Py_Void();
26640 return resultobj;
26641fail:
26642 return NULL;
26643}
26644
26645
26646SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26647 PyObject *resultobj = 0;
26648 wxListItem *arg1 = (wxListItem *) 0 ;
26649 wxListColumnFormat arg2 ;
26650 void *argp1 = 0 ;
26651 int res1 = 0 ;
26652 int val2 ;
26653 int ecode2 = 0 ;
26654 PyObject * obj0 = 0 ;
26655 PyObject * obj1 = 0 ;
26656 char * kwnames[] = {
26657 (char *) "self",(char *) "align", NULL
26658 };
26659
26660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
26661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26662 if (!SWIG_IsOK(res1)) {
26663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26664 }
26665 arg1 = reinterpret_cast< wxListItem * >(argp1);
26666 ecode2 = SWIG_AsVal_int(obj1, &val2);
26667 if (!SWIG_IsOK(ecode2)) {
26668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26669 }
26670 arg2 = static_cast< wxListColumnFormat >(val2);
26671 {
26672 PyThreadState* __tstate = wxPyBeginAllowThreads();
26673 (arg1)->SetAlign(arg2);
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 resultobj = SWIG_Py_Void();
26678 return resultobj;
26679fail:
26680 return NULL;
26681}
26682
26683
26684SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26685 PyObject *resultobj = 0;
26686 wxListItem *arg1 = (wxListItem *) 0 ;
26687 wxColour *arg2 = 0 ;
26688 void *argp1 = 0 ;
26689 int res1 = 0 ;
26690 wxColour temp2 ;
26691 PyObject * obj0 = 0 ;
26692 PyObject * obj1 = 0 ;
26693 char * kwnames[] = {
26694 (char *) "self",(char *) "colText", NULL
26695 };
26696
26697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26699 if (!SWIG_IsOK(res1)) {
26700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26701 }
26702 arg1 = reinterpret_cast< wxListItem * >(argp1);
26703 {
26704 arg2 = &temp2;
26705 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26706 }
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 (arg1)->SetTextColour((wxColour const &)*arg2);
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 resultobj = SWIG_Py_Void();
26714 return resultobj;
26715fail:
26716 return NULL;
26717}
26718
26719
26720SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26721 PyObject *resultobj = 0;
26722 wxListItem *arg1 = (wxListItem *) 0 ;
26723 wxColour *arg2 = 0 ;
26724 void *argp1 = 0 ;
26725 int res1 = 0 ;
26726 wxColour temp2 ;
26727 PyObject * obj0 = 0 ;
26728 PyObject * obj1 = 0 ;
26729 char * kwnames[] = {
26730 (char *) "self",(char *) "colBack", NULL
26731 };
26732
26733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26735 if (!SWIG_IsOK(res1)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26737 }
26738 arg1 = reinterpret_cast< wxListItem * >(argp1);
26739 {
26740 arg2 = &temp2;
26741 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26742 }
26743 {
26744 PyThreadState* __tstate = wxPyBeginAllowThreads();
26745 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26746 wxPyEndAllowThreads(__tstate);
26747 if (PyErr_Occurred()) SWIG_fail;
26748 }
26749 resultobj = SWIG_Py_Void();
26750 return resultobj;
26751fail:
26752 return NULL;
26753}
26754
26755
26756SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26757 PyObject *resultobj = 0;
26758 wxListItem *arg1 = (wxListItem *) 0 ;
26759 wxFont *arg2 = 0 ;
26760 void *argp1 = 0 ;
26761 int res1 = 0 ;
26762 void *argp2 = 0 ;
26763 int res2 = 0 ;
26764 PyObject * obj0 = 0 ;
26765 PyObject * obj1 = 0 ;
26766 char * kwnames[] = {
26767 (char *) "self",(char *) "font", NULL
26768 };
26769
26770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26772 if (!SWIG_IsOK(res1)) {
26773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26774 }
26775 arg1 = reinterpret_cast< wxListItem * >(argp1);
26776 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26777 if (!SWIG_IsOK(res2)) {
26778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26779 }
26780 if (!argp2) {
26781 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26782 }
26783 arg2 = reinterpret_cast< wxFont * >(argp2);
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 (arg1)->SetFont((wxFont const &)*arg2);
26787 wxPyEndAllowThreads(__tstate);
26788 if (PyErr_Occurred()) SWIG_fail;
26789 }
26790 resultobj = SWIG_Py_Void();
26791 return resultobj;
26792fail:
26793 return NULL;
d14a1e28
RD
26794}
26795
26796
0085ce49
RD
26797SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26798 PyObject *resultobj = 0;
26799 wxListItem *arg1 = (wxListItem *) 0 ;
26800 long result;
26801 void *argp1 = 0 ;
26802 int res1 = 0 ;
26803 PyObject *swig_obj[1] ;
26804
26805 if (!args) SWIG_fail;
26806 swig_obj[0] = args;
26807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26808 if (!SWIG_IsOK(res1)) {
26809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26810 }
26811 arg1 = reinterpret_cast< wxListItem * >(argp1);
26812 {
26813 PyThreadState* __tstate = wxPyBeginAllowThreads();
26814 result = (long)(arg1)->GetMask();
26815 wxPyEndAllowThreads(__tstate);
26816 if (PyErr_Occurred()) SWIG_fail;
26817 }
26818 resultobj = SWIG_From_long(static_cast< long >(result));
26819 return resultobj;
26820fail:
26821 return NULL;
d14a1e28
RD
26822}
26823
26824
0085ce49
RD
26825SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26826 PyObject *resultobj = 0;
26827 wxListItem *arg1 = (wxListItem *) 0 ;
26828 long result;
26829 void *argp1 = 0 ;
26830 int res1 = 0 ;
26831 PyObject *swig_obj[1] ;
26832
26833 if (!args) SWIG_fail;
26834 swig_obj[0] = args;
26835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26836 if (!SWIG_IsOK(res1)) {
26837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26838 }
26839 arg1 = reinterpret_cast< wxListItem * >(argp1);
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 result = (long)(arg1)->GetId();
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_From_long(static_cast< long >(result));
26847 return resultobj;
26848fail:
26849 return NULL;
d14a1e28
RD
26850}
26851
26852
0085ce49
RD
26853SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26854 PyObject *resultobj = 0;
26855 wxListItem *arg1 = (wxListItem *) 0 ;
26856 int result;
26857 void *argp1 = 0 ;
26858 int res1 = 0 ;
26859 PyObject *swig_obj[1] ;
26860
26861 if (!args) SWIG_fail;
26862 swig_obj[0] = args;
26863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26864 if (!SWIG_IsOK(res1)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26866 }
26867 arg1 = reinterpret_cast< wxListItem * >(argp1);
26868 {
26869 PyThreadState* __tstate = wxPyBeginAllowThreads();
26870 result = (int)(arg1)->GetColumn();
26871 wxPyEndAllowThreads(__tstate);
26872 if (PyErr_Occurred()) SWIG_fail;
26873 }
26874 resultobj = SWIG_From_int(static_cast< int >(result));
26875 return resultobj;
26876fail:
26877 return NULL;
22bfe96c
RD
26878}
26879
26880
0085ce49
RD
26881SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26882 PyObject *resultobj = 0;
26883 wxListItem *arg1 = (wxListItem *) 0 ;
26884 long result;
26885 void *argp1 = 0 ;
26886 int res1 = 0 ;
26887 PyObject *swig_obj[1] ;
26888
26889 if (!args) SWIG_fail;
26890 swig_obj[0] = args;
26891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26892 if (!SWIG_IsOK(res1)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26894 }
26895 arg1 = reinterpret_cast< wxListItem * >(argp1);
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 result = (long)(arg1)->GetState();
26899 wxPyEndAllowThreads(__tstate);
26900 if (PyErr_Occurred()) SWIG_fail;
26901 }
26902 resultobj = SWIG_From_long(static_cast< long >(result));
26903 return resultobj;
26904fail:
26905 return NULL;
b2dc1044
RD
26906}
26907
26908
0085ce49
RD
26909SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26910 PyObject *resultobj = 0;
26911 wxListItem *arg1 = (wxListItem *) 0 ;
26912 wxString *result = 0 ;
26913 void *argp1 = 0 ;
26914 int res1 = 0 ;
26915 PyObject *swig_obj[1] ;
26916
26917 if (!args) SWIG_fail;
26918 swig_obj[0] = args;
26919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26920 if (!SWIG_IsOK(res1)) {
26921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26922 }
26923 arg1 = reinterpret_cast< wxListItem * >(argp1);
26924 {
26925 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 26926 {
0085ce49
RD
26927 wxString const &_result_ref = (arg1)->GetText();
26928 result = (wxString *) &_result_ref;
26929 }
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 {
b2dc1044 26934#if wxUSE_UNICODE
0085ce49 26935 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
b2dc1044 26936#else
0085ce49 26937 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
b2dc1044 26938#endif
0085ce49
RD
26939 }
26940 return resultobj;
26941fail:
26942 return NULL;
d14a1e28
RD
26943}
26944
26945
0085ce49
RD
26946SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26947 PyObject *resultobj = 0;
26948 wxListItem *arg1 = (wxListItem *) 0 ;
26949 int result;
26950 void *argp1 = 0 ;
26951 int res1 = 0 ;
26952 PyObject *swig_obj[1] ;
26953
26954 if (!args) SWIG_fail;
26955 swig_obj[0] = args;
26956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26957 if (!SWIG_IsOK(res1)) {
26958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26959 }
26960 arg1 = reinterpret_cast< wxListItem * >(argp1);
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 result = (int)(arg1)->GetImage();
26964 wxPyEndAllowThreads(__tstate);
26965 if (PyErr_Occurred()) SWIG_fail;
26966 }
26967 resultobj = SWIG_From_int(static_cast< int >(result));
26968 return resultobj;
26969fail:
26970 return NULL;
d14a1e28
RD
26971}
26972
26973
0085ce49
RD
26974SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26975 PyObject *resultobj = 0;
26976 wxListItem *arg1 = (wxListItem *) 0 ;
26977 long result;
26978 void *argp1 = 0 ;
26979 int res1 = 0 ;
26980 PyObject *swig_obj[1] ;
26981
26982 if (!args) SWIG_fail;
26983 swig_obj[0] = args;
26984 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26985 if (!SWIG_IsOK(res1)) {
26986 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26987 }
26988 arg1 = reinterpret_cast< wxListItem * >(argp1);
26989 {
26990 PyThreadState* __tstate = wxPyBeginAllowThreads();
26991 result = (long)(arg1)->GetData();
26992 wxPyEndAllowThreads(__tstate);
26993 if (PyErr_Occurred()) SWIG_fail;
26994 }
26995 resultobj = SWIG_From_long(static_cast< long >(result));
26996 return resultobj;
26997fail:
26998 return NULL;
d14a1e28
RD
26999}
27000
27001
0085ce49
RD
27002SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27003 PyObject *resultobj = 0;
27004 wxListItem *arg1 = (wxListItem *) 0 ;
27005 int result;
27006 void *argp1 = 0 ;
27007 int res1 = 0 ;
27008 PyObject *swig_obj[1] ;
27009
27010 if (!args) SWIG_fail;
27011 swig_obj[0] = args;
27012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27013 if (!SWIG_IsOK(res1)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27015 }
27016 arg1 = reinterpret_cast< wxListItem * >(argp1);
27017 {
27018 PyThreadState* __tstate = wxPyBeginAllowThreads();
27019 result = (int)(arg1)->GetWidth();
27020 wxPyEndAllowThreads(__tstate);
27021 if (PyErr_Occurred()) SWIG_fail;
27022 }
27023 resultobj = SWIG_From_int(static_cast< int >(result));
27024 return resultobj;
27025fail:
27026 return NULL;
d14a1e28
RD
27027}
27028
27029
0085ce49
RD
27030SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27031 PyObject *resultobj = 0;
27032 wxListItem *arg1 = (wxListItem *) 0 ;
27033 wxListColumnFormat result;
27034 void *argp1 = 0 ;
27035 int res1 = 0 ;
27036 PyObject *swig_obj[1] ;
27037
27038 if (!args) SWIG_fail;
27039 swig_obj[0] = args;
27040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27041 if (!SWIG_IsOK(res1)) {
27042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27043 }
27044 arg1 = reinterpret_cast< wxListItem * >(argp1);
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 result = (wxListColumnFormat)(arg1)->GetAlign();
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 resultobj = SWIG_From_int(static_cast< int >(result));
27052 return resultobj;
27053fail:
27054 return NULL;
d14a1e28
RD
27055}
27056
27057
0085ce49
RD
27058SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27059 PyObject *resultobj = 0;
27060 wxListItem *arg1 = (wxListItem *) 0 ;
27061 wxListItemAttr *result = 0 ;
27062 void *argp1 = 0 ;
27063 int res1 = 0 ;
27064 PyObject *swig_obj[1] ;
27065
27066 if (!args) SWIG_fail;
27067 swig_obj[0] = args;
27068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27069 if (!SWIG_IsOK(res1)) {
27070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27071 }
27072 arg1 = reinterpret_cast< wxListItem * >(argp1);
27073 {
27074 PyThreadState* __tstate = wxPyBeginAllowThreads();
27075 result = (wxListItemAttr *)(arg1)->GetAttributes();
27076 wxPyEndAllowThreads(__tstate);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
27079 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27080 return resultobj;
27081fail:
27082 return NULL;
d14a1e28
RD
27083}
27084
27085
0085ce49
RD
27086SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27087 PyObject *resultobj = 0;
27088 wxListItem *arg1 = (wxListItem *) 0 ;
27089 bool result;
27090 void *argp1 = 0 ;
27091 int res1 = 0 ;
27092 PyObject *swig_obj[1] ;
27093
27094 if (!args) SWIG_fail;
27095 swig_obj[0] = args;
27096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27097 if (!SWIG_IsOK(res1)) {
27098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27099 }
27100 arg1 = reinterpret_cast< wxListItem * >(argp1);
27101 {
27102 PyThreadState* __tstate = wxPyBeginAllowThreads();
27103 result = (bool)(arg1)->HasAttributes();
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 {
27108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27109 }
27110 return resultobj;
27111fail:
27112 return NULL;
22bfe96c
RD
27113}
27114
27115
0085ce49
RD
27116SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27117 PyObject *resultobj = 0;
27118 wxListItem *arg1 = (wxListItem *) 0 ;
27119 wxColour result;
27120 void *argp1 = 0 ;
27121 int res1 = 0 ;
27122 PyObject *swig_obj[1] ;
27123
27124 if (!args) SWIG_fail;
27125 swig_obj[0] = args;
27126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27127 if (!SWIG_IsOK(res1)) {
27128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27129 }
27130 arg1 = reinterpret_cast< wxListItem * >(argp1);
27131 {
27132 PyThreadState* __tstate = wxPyBeginAllowThreads();
27133 result = ((wxListItem const *)arg1)->GetTextColour();
27134 wxPyEndAllowThreads(__tstate);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27138 return resultobj;
27139fail:
27140 return NULL;
d14a1e28 27141}
0085ce49
RD
27142
27143
27144SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27145 PyObject *resultobj = 0;
27146 wxListItem *arg1 = (wxListItem *) 0 ;
27147 wxColour result;
27148 void *argp1 = 0 ;
27149 int res1 = 0 ;
27150 PyObject *swig_obj[1] ;
27151
27152 if (!args) SWIG_fail;
27153 swig_obj[0] = args;
27154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27155 if (!SWIG_IsOK(res1)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27157 }
27158 arg1 = reinterpret_cast< wxListItem * >(argp1);
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27162 wxPyEndAllowThreads(__tstate);
27163 if (PyErr_Occurred()) SWIG_fail;
27164 }
27165 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27166 return resultobj;
27167fail:
27168 return NULL;
b2dc1044
RD
27169}
27170
27171
0085ce49
RD
27172SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27173 PyObject *resultobj = 0;
27174 wxListItem *arg1 = (wxListItem *) 0 ;
27175 wxFont result;
27176 void *argp1 = 0 ;
27177 int res1 = 0 ;
27178 PyObject *swig_obj[1] ;
27179
27180 if (!args) SWIG_fail;
27181 swig_obj[0] = args;
27182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27183 if (!SWIG_IsOK(res1)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27185 }
27186 arg1 = reinterpret_cast< wxListItem * >(argp1);
27187 {
27188 PyThreadState* __tstate = wxPyBeginAllowThreads();
27189 result = ((wxListItem const *)arg1)->GetFont();
27190 wxPyEndAllowThreads(__tstate);
27191 if (PyErr_Occurred()) SWIG_fail;
27192 }
27193 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27194 return resultobj;
27195fail:
27196 return NULL;
27197}
27198
27199
27200SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27201 PyObject *resultobj = 0;
27202 wxListItem *arg1 = (wxListItem *) 0 ;
27203 long arg2 ;
27204 void *argp1 = 0 ;
27205 int res1 = 0 ;
27206 long val2 ;
27207 int ecode2 = 0 ;
27208 PyObject *swig_obj[2] ;
27209
27210 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27212 if (!SWIG_IsOK(res1)) {
27213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27214 }
27215 arg1 = reinterpret_cast< wxListItem * >(argp1);
27216 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27217 if (!SWIG_IsOK(ecode2)) {
27218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27219 }
27220 arg2 = static_cast< long >(val2);
27221 if (arg1) (arg1)->m_mask = arg2;
27222
27223 resultobj = SWIG_Py_Void();
27224 return resultobj;
27225fail:
27226 return NULL;
b2dc1044
RD
27227}
27228
27229
0085ce49
RD
27230SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27231 PyObject *resultobj = 0;
27232 wxListItem *arg1 = (wxListItem *) 0 ;
27233 long result;
27234 void *argp1 = 0 ;
27235 int res1 = 0 ;
27236 PyObject *swig_obj[1] ;
27237
27238 if (!args) SWIG_fail;
27239 swig_obj[0] = args;
27240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27241 if (!SWIG_IsOK(res1)) {
27242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27243 }
27244 arg1 = reinterpret_cast< wxListItem * >(argp1);
27245 result = (long) ((arg1)->m_mask);
27246 resultobj = SWIG_From_long(static_cast< long >(result));
27247 return resultobj;
27248fail:
27249 return NULL;
27250}
27251
27252
27253SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27254 PyObject *resultobj = 0;
27255 wxListItem *arg1 = (wxListItem *) 0 ;
27256 long arg2 ;
27257 void *argp1 = 0 ;
27258 int res1 = 0 ;
27259 long val2 ;
27260 int ecode2 = 0 ;
27261 PyObject *swig_obj[2] ;
27262
27263 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27265 if (!SWIG_IsOK(res1)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27267 }
27268 arg1 = reinterpret_cast< wxListItem * >(argp1);
27269 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27270 if (!SWIG_IsOK(ecode2)) {
27271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27272 }
27273 arg2 = static_cast< long >(val2);
27274 if (arg1) (arg1)->m_itemId = arg2;
27275
27276 resultobj = SWIG_Py_Void();
27277 return resultobj;
27278fail:
27279 return NULL;
d14a1e28
RD
27280}
27281
27282
0085ce49
RD
27283SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27284 PyObject *resultobj = 0;
27285 wxListItem *arg1 = (wxListItem *) 0 ;
27286 long result;
27287 void *argp1 = 0 ;
27288 int res1 = 0 ;
27289 PyObject *swig_obj[1] ;
27290
27291 if (!args) SWIG_fail;
27292 swig_obj[0] = args;
27293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27294 if (!SWIG_IsOK(res1)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27296 }
27297 arg1 = reinterpret_cast< wxListItem * >(argp1);
27298 result = (long) ((arg1)->m_itemId);
27299 resultobj = SWIG_From_long(static_cast< long >(result));
27300 return resultobj;
27301fail:
27302 return NULL;
27303}
27304
27305
27306SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27307 PyObject *resultobj = 0;
27308 wxListItem *arg1 = (wxListItem *) 0 ;
27309 int arg2 ;
27310 void *argp1 = 0 ;
27311 int res1 = 0 ;
27312 int val2 ;
27313 int ecode2 = 0 ;
27314 PyObject *swig_obj[2] ;
27315
27316 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27318 if (!SWIG_IsOK(res1)) {
27319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27320 }
27321 arg1 = reinterpret_cast< wxListItem * >(argp1);
27322 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27323 if (!SWIG_IsOK(ecode2)) {
27324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27325 }
27326 arg2 = static_cast< int >(val2);
27327 if (arg1) (arg1)->m_col = arg2;
27328
27329 resultobj = SWIG_Py_Void();
27330 return resultobj;
27331fail:
27332 return NULL;
d14a1e28
RD
27333}
27334
27335
0085ce49
RD
27336SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27337 PyObject *resultobj = 0;
27338 wxListItem *arg1 = (wxListItem *) 0 ;
27339 int result;
27340 void *argp1 = 0 ;
27341 int res1 = 0 ;
27342 PyObject *swig_obj[1] ;
27343
27344 if (!args) SWIG_fail;
27345 swig_obj[0] = args;
27346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27347 if (!SWIG_IsOK(res1)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27349 }
27350 arg1 = reinterpret_cast< wxListItem * >(argp1);
27351 result = (int) ((arg1)->m_col);
27352 resultobj = SWIG_From_int(static_cast< int >(result));
27353 return resultobj;
27354fail:
27355 return NULL;
27356}
27357
27358
27359SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27360 PyObject *resultobj = 0;
27361 wxListItem *arg1 = (wxListItem *) 0 ;
27362 long arg2 ;
27363 void *argp1 = 0 ;
27364 int res1 = 0 ;
27365 long val2 ;
27366 int ecode2 = 0 ;
27367 PyObject *swig_obj[2] ;
27368
27369 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27371 if (!SWIG_IsOK(res1)) {
27372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27373 }
27374 arg1 = reinterpret_cast< wxListItem * >(argp1);
27375 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27376 if (!SWIG_IsOK(ecode2)) {
27377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27378 }
27379 arg2 = static_cast< long >(val2);
27380 if (arg1) (arg1)->m_state = arg2;
27381
27382 resultobj = SWIG_Py_Void();
27383 return resultobj;
27384fail:
27385 return NULL;
8fb0e70a
RD
27386}
27387
27388
0085ce49
RD
27389SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27390 PyObject *resultobj = 0;
27391 wxListItem *arg1 = (wxListItem *) 0 ;
27392 long result;
27393 void *argp1 = 0 ;
27394 int res1 = 0 ;
27395 PyObject *swig_obj[1] ;
27396
27397 if (!args) SWIG_fail;
27398 swig_obj[0] = args;
27399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27400 if (!SWIG_IsOK(res1)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27402 }
27403 arg1 = reinterpret_cast< wxListItem * >(argp1);
27404 result = (long) ((arg1)->m_state);
27405 resultobj = SWIG_From_long(static_cast< long >(result));
27406 return resultobj;
27407fail:
27408 return NULL;
27409}
27410
27411
27412SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27413 PyObject *resultobj = 0;
27414 wxListItem *arg1 = (wxListItem *) 0 ;
27415 long arg2 ;
27416 void *argp1 = 0 ;
27417 int res1 = 0 ;
27418 long val2 ;
27419 int ecode2 = 0 ;
27420 PyObject *swig_obj[2] ;
27421
27422 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27424 if (!SWIG_IsOK(res1)) {
27425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27426 }
27427 arg1 = reinterpret_cast< wxListItem * >(argp1);
27428 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27429 if (!SWIG_IsOK(ecode2)) {
27430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27431 }
27432 arg2 = static_cast< long >(val2);
27433 if (arg1) (arg1)->m_stateMask = arg2;
27434
27435 resultobj = SWIG_Py_Void();
27436 return resultobj;
27437fail:
27438 return NULL;
d14a1e28
RD
27439}
27440
27441
0085ce49
RD
27442SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27443 PyObject *resultobj = 0;
27444 wxListItem *arg1 = (wxListItem *) 0 ;
27445 long result;
27446 void *argp1 = 0 ;
27447 int res1 = 0 ;
27448 PyObject *swig_obj[1] ;
27449
27450 if (!args) SWIG_fail;
27451 swig_obj[0] = args;
27452 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27453 if (!SWIG_IsOK(res1)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27455 }
27456 arg1 = reinterpret_cast< wxListItem * >(argp1);
27457 result = (long) ((arg1)->m_stateMask);
27458 resultobj = SWIG_From_long(static_cast< long >(result));
27459 return resultobj;
27460fail:
27461 return NULL;
27462}
27463
27464
27465SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27466 PyObject *resultobj = 0;
27467 wxListItem *arg1 = (wxListItem *) 0 ;
27468 wxString *arg2 = (wxString *) 0 ;
27469 void *argp1 = 0 ;
27470 int res1 = 0 ;
27471 bool temp2 = false ;
27472 PyObject *swig_obj[2] ;
27473
27474 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27476 if (!SWIG_IsOK(res1)) {
27477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27478 }
27479 arg1 = reinterpret_cast< wxListItem * >(argp1);
27480 {
27481 arg2 = wxString_in_helper(swig_obj[1]);
27482 if (arg2 == NULL) SWIG_fail;
27483 temp2 = true;
27484 }
27485 if (arg1) (arg1)->m_text = *arg2;
27486
27487 resultobj = SWIG_Py_Void();
27488 {
27489 if (temp2)
27490 delete arg2;
27491 }
27492 return resultobj;
27493fail:
27494 {
27495 if (temp2)
27496 delete arg2;
27497 }
27498 return NULL;
d14a1e28
RD
27499}
27500
27501
0085ce49
RD
27502SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27503 PyObject *resultobj = 0;
27504 wxListItem *arg1 = (wxListItem *) 0 ;
27505 wxString *result = 0 ;
27506 void *argp1 = 0 ;
27507 int res1 = 0 ;
27508 PyObject *swig_obj[1] ;
27509
27510 if (!args) SWIG_fail;
27511 swig_obj[0] = args;
27512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27513 if (!SWIG_IsOK(res1)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27515 }
27516 arg1 = reinterpret_cast< wxListItem * >(argp1);
27517 result = (wxString *)& ((arg1)->m_text);
27518 {
d14a1e28 27519#if wxUSE_UNICODE
0085ce49 27520 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 27521#else
0085ce49 27522 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28 27523#endif
0085ce49
RD
27524 }
27525 return resultobj;
27526fail:
27527 return NULL;
d14a1e28
RD
27528}
27529
27530
0085ce49
RD
27531SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27532 PyObject *resultobj = 0;
27533 wxListItem *arg1 = (wxListItem *) 0 ;
27534 int arg2 ;
27535 void *argp1 = 0 ;
27536 int res1 = 0 ;
27537 int val2 ;
27538 int ecode2 = 0 ;
27539 PyObject *swig_obj[2] ;
27540
27541 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27543 if (!SWIG_IsOK(res1)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27545 }
27546 arg1 = reinterpret_cast< wxListItem * >(argp1);
27547 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27548 if (!SWIG_IsOK(ecode2)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27550 }
27551 arg2 = static_cast< int >(val2);
27552 if (arg1) (arg1)->m_image = arg2;
27553
27554 resultobj = SWIG_Py_Void();
27555 return resultobj;
27556fail:
27557 return NULL;
d14a1e28
RD
27558}
27559
27560
0085ce49
RD
27561SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27562 PyObject *resultobj = 0;
27563 wxListItem *arg1 = (wxListItem *) 0 ;
27564 int result;
27565 void *argp1 = 0 ;
27566 int res1 = 0 ;
27567 PyObject *swig_obj[1] ;
27568
27569 if (!args) SWIG_fail;
27570 swig_obj[0] = args;
27571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27572 if (!SWIG_IsOK(res1)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27574 }
27575 arg1 = reinterpret_cast< wxListItem * >(argp1);
27576 result = (int) ((arg1)->m_image);
27577 resultobj = SWIG_From_int(static_cast< int >(result));
27578 return resultobj;
27579fail:
27580 return NULL;
27581}
27582
27583
27584SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27585 PyObject *resultobj = 0;
27586 wxListItem *arg1 = (wxListItem *) 0 ;
27587 long arg2 ;
27588 void *argp1 = 0 ;
27589 int res1 = 0 ;
27590 long val2 ;
27591 int ecode2 = 0 ;
27592 PyObject *swig_obj[2] ;
27593
27594 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27596 if (!SWIG_IsOK(res1)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27598 }
27599 arg1 = reinterpret_cast< wxListItem * >(argp1);
27600 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27601 if (!SWIG_IsOK(ecode2)) {
27602 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27603 }
27604 arg2 = static_cast< long >(val2);
27605 if (arg1) (arg1)->m_data = arg2;
27606
27607 resultobj = SWIG_Py_Void();
27608 return resultobj;
27609fail:
27610 return NULL;
d14a1e28
RD
27611}
27612
27613
0085ce49
RD
27614SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27615 PyObject *resultobj = 0;
27616 wxListItem *arg1 = (wxListItem *) 0 ;
27617 long result;
27618 void *argp1 = 0 ;
27619 int res1 = 0 ;
27620 PyObject *swig_obj[1] ;
27621
27622 if (!args) SWIG_fail;
27623 swig_obj[0] = args;
27624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27625 if (!SWIG_IsOK(res1)) {
27626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27627 }
27628 arg1 = reinterpret_cast< wxListItem * >(argp1);
27629 result = (long) ((arg1)->m_data);
27630 resultobj = SWIG_From_long(static_cast< long >(result));
27631 return resultobj;
27632fail:
27633 return NULL;
27634}
27635
27636
27637SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27638 PyObject *resultobj = 0;
27639 wxListItem *arg1 = (wxListItem *) 0 ;
27640 int arg2 ;
27641 void *argp1 = 0 ;
27642 int res1 = 0 ;
27643 int val2 ;
27644 int ecode2 = 0 ;
27645 PyObject *swig_obj[2] ;
27646
27647 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
27648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27649 if (!SWIG_IsOK(res1)) {
27650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27651 }
27652 arg1 = reinterpret_cast< wxListItem * >(argp1);
27653 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27654 if (!SWIG_IsOK(ecode2)) {
27655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27656 }
27657 arg2 = static_cast< int >(val2);
27658 if (arg1) (arg1)->m_format = arg2;
27659
27660 resultobj = SWIG_Py_Void();
27661 return resultobj;
27662fail:
27663 return NULL;
d14a1e28
RD
27664}
27665
27666
0085ce49
RD
27667SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27668 PyObject *resultobj = 0;
27669 wxListItem *arg1 = (wxListItem *) 0 ;
27670 int result;
27671 void *argp1 = 0 ;
27672 int res1 = 0 ;
27673 PyObject *swig_obj[1] ;
27674
27675 if (!args) SWIG_fail;
27676 swig_obj[0] = args;
27677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27678 if (!SWIG_IsOK(res1)) {
27679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27680 }
27681 arg1 = reinterpret_cast< wxListItem * >(argp1);
27682 result = (int) ((arg1)->m_format);
27683 resultobj = SWIG_From_int(static_cast< int >(result));
27684 return resultobj;
27685fail:
27686 return NULL;
27687}
27688
27689
27690SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27691 PyObject *resultobj = 0;
27692 wxListItem *arg1 = (wxListItem *) 0 ;
27693 int arg2 ;
27694 void *argp1 = 0 ;
27695 int res1 = 0 ;
27696 int val2 ;
27697 int ecode2 = 0 ;
27698 PyObject *swig_obj[2] ;
27699
27700 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
27701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27702 if (!SWIG_IsOK(res1)) {
27703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27704 }
27705 arg1 = reinterpret_cast< wxListItem * >(argp1);
27706 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27707 if (!SWIG_IsOK(ecode2)) {
27708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27709 }
27710 arg2 = static_cast< int >(val2);
27711 if (arg1) (arg1)->m_width = arg2;
27712
27713 resultobj = SWIG_Py_Void();
27714 return resultobj;
27715fail:
27716 return NULL;
d14a1e28
RD
27717}
27718
27719
0085ce49
RD
27720SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27721 PyObject *resultobj = 0;
27722 wxListItem *arg1 = (wxListItem *) 0 ;
27723 int result;
27724 void *argp1 = 0 ;
27725 int res1 = 0 ;
27726 PyObject *swig_obj[1] ;
27727
27728 if (!args) SWIG_fail;
27729 swig_obj[0] = args;
27730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27731 if (!SWIG_IsOK(res1)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27733 }
27734 arg1 = reinterpret_cast< wxListItem * >(argp1);
27735 result = (int) ((arg1)->m_width);
27736 resultobj = SWIG_From_int(static_cast< int >(result));
27737 return resultobj;
27738fail:
27739 return NULL;
27740}
27741
27742
27743SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27744 PyObject *obj;
27745 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27746 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
27747 return SWIG_Py_Void();
27748}
27749
27750SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27751 return SWIG_Python_InitShadowInstance(args);
27752}
27753
27754SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27755 PyObject *resultobj = 0;
27756 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27757 int arg2 = (int) 0 ;
27758 wxListEvent *result = 0 ;
27759 int val1 ;
27760 int ecode1 = 0 ;
27761 int val2 ;
27762 int ecode2 = 0 ;
27763 PyObject * obj0 = 0 ;
27764 PyObject * obj1 = 0 ;
27765 char * kwnames[] = {
27766 (char *) "commandType",(char *) "id", NULL
27767 };
27768
27769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
27770 if (obj0) {
27771 ecode1 = SWIG_AsVal_int(obj0, &val1);
27772 if (!SWIG_IsOK(ecode1)) {
27773 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27774 }
27775 arg1 = static_cast< wxEventType >(val1);
27776 }
27777 if (obj1) {
27778 ecode2 = SWIG_AsVal_int(obj1, &val2);
27779 if (!SWIG_IsOK(ecode2)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27781 }
27782 arg2 = static_cast< int >(val2);
27783 }
27784 {
27785 PyThreadState* __tstate = wxPyBeginAllowThreads();
27786 result = (wxListEvent *)new wxListEvent(arg1,arg2);
27787 wxPyEndAllowThreads(__tstate);
27788 if (PyErr_Occurred()) SWIG_fail;
27789 }
27790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
27791 return resultobj;
27792fail:
27793 return NULL;
27794}
27795
27796
27797SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27798 PyObject *resultobj = 0;
27799 wxListEvent *arg1 = (wxListEvent *) 0 ;
27800 int arg2 ;
27801 void *argp1 = 0 ;
27802 int res1 = 0 ;
27803 int val2 ;
27804 int ecode2 = 0 ;
27805 PyObject *swig_obj[2] ;
27806
27807 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
27808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27809 if (!SWIG_IsOK(res1)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27811 }
27812 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27813 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27814 if (!SWIG_IsOK(ecode2)) {
27815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27816 }
27817 arg2 = static_cast< int >(val2);
27818 if (arg1) (arg1)->m_code = arg2;
27819
27820 resultobj = SWIG_Py_Void();
27821 return resultobj;
27822fail:
27823 return NULL;
d14a1e28
RD
27824}
27825
27826
0085ce49
RD
27827SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27828 PyObject *resultobj = 0;
27829 wxListEvent *arg1 = (wxListEvent *) 0 ;
27830 int result;
27831 void *argp1 = 0 ;
27832 int res1 = 0 ;
27833 PyObject *swig_obj[1] ;
27834
27835 if (!args) SWIG_fail;
27836 swig_obj[0] = args;
27837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27838 if (!SWIG_IsOK(res1)) {
27839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27840 }
27841 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27842 result = (int) ((arg1)->m_code);
27843 resultobj = SWIG_From_int(static_cast< int >(result));
27844 return resultobj;
27845fail:
27846 return NULL;
27847}
27848
27849
27850SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27851 PyObject *resultobj = 0;
27852 wxListEvent *arg1 = (wxListEvent *) 0 ;
27853 long arg2 ;
27854 void *argp1 = 0 ;
27855 int res1 = 0 ;
27856 long val2 ;
27857 int ecode2 = 0 ;
27858 PyObject *swig_obj[2] ;
27859
27860 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
27861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27862 if (!SWIG_IsOK(res1)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27864 }
27865 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27866 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27867 if (!SWIG_IsOK(ecode2)) {
27868 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27869 }
27870 arg2 = static_cast< long >(val2);
27871 if (arg1) (arg1)->m_oldItemIndex = arg2;
27872
27873 resultobj = SWIG_Py_Void();
27874 return resultobj;
27875fail:
27876 return NULL;
d14a1e28
RD
27877}
27878
27879
0085ce49
RD
27880SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27881 PyObject *resultobj = 0;
27882 wxListEvent *arg1 = (wxListEvent *) 0 ;
27883 long result;
27884 void *argp1 = 0 ;
27885 int res1 = 0 ;
27886 PyObject *swig_obj[1] ;
27887
27888 if (!args) SWIG_fail;
27889 swig_obj[0] = args;
27890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27891 if (!SWIG_IsOK(res1)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27893 }
27894 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27895 result = (long) ((arg1)->m_oldItemIndex);
27896 resultobj = SWIG_From_long(static_cast< long >(result));
27897 return resultobj;
27898fail:
27899 return NULL;
27900}
27901
27902
27903SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27904 PyObject *resultobj = 0;
27905 wxListEvent *arg1 = (wxListEvent *) 0 ;
27906 long arg2 ;
27907 void *argp1 = 0 ;
27908 int res1 = 0 ;
27909 long val2 ;
27910 int ecode2 = 0 ;
27911 PyObject *swig_obj[2] ;
27912
27913 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
27914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27915 if (!SWIG_IsOK(res1)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27917 }
27918 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27919 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27920 if (!SWIG_IsOK(ecode2)) {
27921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27922 }
27923 arg2 = static_cast< long >(val2);
27924 if (arg1) (arg1)->m_itemIndex = arg2;
27925
27926 resultobj = SWIG_Py_Void();
27927 return resultobj;
27928fail:
27929 return NULL;
d14a1e28
RD
27930}
27931
27932
0085ce49
RD
27933SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27934 PyObject *resultobj = 0;
27935 wxListEvent *arg1 = (wxListEvent *) 0 ;
27936 long result;
27937 void *argp1 = 0 ;
27938 int res1 = 0 ;
27939 PyObject *swig_obj[1] ;
27940
27941 if (!args) SWIG_fail;
27942 swig_obj[0] = args;
27943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27944 if (!SWIG_IsOK(res1)) {
27945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27946 }
27947 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27948 result = (long) ((arg1)->m_itemIndex);
27949 resultobj = SWIG_From_long(static_cast< long >(result));
27950 return resultobj;
27951fail:
27952 return NULL;
27953}
27954
27955
27956SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27957 PyObject *resultobj = 0;
27958 wxListEvent *arg1 = (wxListEvent *) 0 ;
27959 int arg2 ;
27960 void *argp1 = 0 ;
27961 int res1 = 0 ;
27962 int val2 ;
27963 int ecode2 = 0 ;
27964 PyObject *swig_obj[2] ;
27965
27966 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
27967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27968 if (!SWIG_IsOK(res1)) {
27969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27970 }
27971 arg1 = reinterpret_cast< wxListEvent * >(argp1);
27972 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27973 if (!SWIG_IsOK(ecode2)) {
27974 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27975 }
27976 arg2 = static_cast< int >(val2);
27977 if (arg1) (arg1)->m_col = arg2;
27978
27979 resultobj = SWIG_Py_Void();
27980 return resultobj;
27981fail:
27982 return NULL;
7e08d4ef
RD
27983}
27984
27985
0085ce49
RD
27986SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27987 PyObject *resultobj = 0;
27988 wxListEvent *arg1 = (wxListEvent *) 0 ;
27989 int result;
27990 void *argp1 = 0 ;
27991 int res1 = 0 ;
27992 PyObject *swig_obj[1] ;
27993
27994 if (!args) SWIG_fail;
27995 swig_obj[0] = args;
27996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
27997 if (!SWIG_IsOK(res1)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27999 }
28000 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28001 result = (int) ((arg1)->m_col);
28002 resultobj = SWIG_From_int(static_cast< int >(result));
28003 return resultobj;
28004fail:
28005 return NULL;
28006}
28007
28008
28009SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28010 PyObject *resultobj = 0;
28011 wxListEvent *arg1 = (wxListEvent *) 0 ;
28012 wxPoint *arg2 = (wxPoint *) 0 ;
28013 void *argp1 = 0 ;
28014 int res1 = 0 ;
28015 void *argp2 = 0 ;
28016 int res2 = 0 ;
28017 PyObject *swig_obj[2] ;
28018
28019 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
28020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28021 if (!SWIG_IsOK(res1)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28023 }
28024 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28025 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28026 if (!SWIG_IsOK(res2)) {
28027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28028 }
28029 arg2 = reinterpret_cast< wxPoint * >(argp2);
28030 if (arg1) (arg1)->m_pointDrag = *arg2;
28031
28032 resultobj = SWIG_Py_Void();
28033 return resultobj;
28034fail:
28035 return NULL;
7e08d4ef
RD
28036}
28037
28038
0085ce49
RD
28039SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28040 PyObject *resultobj = 0;
28041 wxListEvent *arg1 = (wxListEvent *) 0 ;
28042 wxPoint *result = 0 ;
28043 void *argp1 = 0 ;
28044 int res1 = 0 ;
28045 PyObject *swig_obj[1] ;
28046
28047 if (!args) SWIG_fail;
28048 swig_obj[0] = args;
28049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28050 if (!SWIG_IsOK(res1)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28052 }
28053 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28054 result = (wxPoint *)& ((arg1)->m_pointDrag);
28055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28056 return resultobj;
28057fail:
28058 return NULL;
28059}
28060
28061
28062SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28063 PyObject *resultobj = 0;
28064 wxListEvent *arg1 = (wxListEvent *) 0 ;
28065 wxListItem *result = 0 ;
28066 void *argp1 = 0 ;
28067 int res1 = 0 ;
28068 PyObject *swig_obj[1] ;
28069
28070 if (!args) SWIG_fail;
28071 swig_obj[0] = args;
28072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28073 if (!SWIG_IsOK(res1)) {
28074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28075 }
28076 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28077 result = (wxListItem *)& ((arg1)->m_item);
28078 {
28079 resultobj = wxPyMake_wxObject(result, (bool)0);
28080 }
28081 return resultobj;
28082fail:
28083 return NULL;
7e08d4ef
RD
28084}
28085
28086
0085ce49
RD
28087SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28088 PyObject *resultobj = 0;
28089 wxListEvent *arg1 = (wxListEvent *) 0 ;
28090 int result;
28091 void *argp1 = 0 ;
28092 int res1 = 0 ;
28093 PyObject *swig_obj[1] ;
28094
28095 if (!args) SWIG_fail;
28096 swig_obj[0] = args;
28097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28098 if (!SWIG_IsOK(res1)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28100 }
28101 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28102 {
28103 PyThreadState* __tstate = wxPyBeginAllowThreads();
28104 result = (int)(arg1)->GetKeyCode();
28105 wxPyEndAllowThreads(__tstate);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 resultobj = SWIG_From_int(static_cast< int >(result));
28109 return resultobj;
28110fail:
28111 return NULL;
7e08d4ef
RD
28112}
28113
28114
0085ce49
RD
28115SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28116 PyObject *resultobj = 0;
28117 wxListEvent *arg1 = (wxListEvent *) 0 ;
28118 long result;
28119 void *argp1 = 0 ;
28120 int res1 = 0 ;
28121 PyObject *swig_obj[1] ;
28122
28123 if (!args) SWIG_fail;
28124 swig_obj[0] = args;
28125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28126 if (!SWIG_IsOK(res1)) {
28127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28128 }
28129 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28130 {
28131 PyThreadState* __tstate = wxPyBeginAllowThreads();
28132 result = (long)(arg1)->GetIndex();
28133 wxPyEndAllowThreads(__tstate);
28134 if (PyErr_Occurred()) SWIG_fail;
28135 }
28136 resultobj = SWIG_From_long(static_cast< long >(result));
28137 return resultobj;
28138fail:
28139 return NULL;
7e08d4ef
RD
28140}
28141
28142
0085ce49
RD
28143SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28144 PyObject *resultobj = 0;
28145 wxListEvent *arg1 = (wxListEvent *) 0 ;
28146 int result;
28147 void *argp1 = 0 ;
28148 int res1 = 0 ;
28149 PyObject *swig_obj[1] ;
28150
28151 if (!args) SWIG_fail;
28152 swig_obj[0] = args;
28153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28154 if (!SWIG_IsOK(res1)) {
28155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28156 }
28157 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28158 {
28159 PyThreadState* __tstate = wxPyBeginAllowThreads();
28160 result = (int)(arg1)->GetColumn();
28161 wxPyEndAllowThreads(__tstate);
28162 if (PyErr_Occurred()) SWIG_fail;
28163 }
28164 resultobj = SWIG_From_int(static_cast< int >(result));
28165 return resultobj;
28166fail:
28167 return NULL;
d14a1e28
RD
28168}
28169
28170
0085ce49
RD
28171SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28172 PyObject *resultobj = 0;
28173 wxListEvent *arg1 = (wxListEvent *) 0 ;
28174 wxPoint result;
28175 void *argp1 = 0 ;
28176 int res1 = 0 ;
28177 PyObject *swig_obj[1] ;
28178
28179 if (!args) SWIG_fail;
28180 swig_obj[0] = args;
28181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28182 if (!SWIG_IsOK(res1)) {
28183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28184 }
28185 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28186 {
28187 PyThreadState* __tstate = wxPyBeginAllowThreads();
28188 result = (arg1)->GetPoint();
28189 wxPyEndAllowThreads(__tstate);
28190 if (PyErr_Occurred()) SWIG_fail;
28191 }
28192 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28193 return resultobj;
28194fail:
28195 return NULL;
d14a1e28
RD
28196}
28197
28198
0085ce49
RD
28199SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28200 PyObject *resultobj = 0;
28201 wxListEvent *arg1 = (wxListEvent *) 0 ;
28202 wxString *result = 0 ;
28203 void *argp1 = 0 ;
28204 int res1 = 0 ;
28205 PyObject *swig_obj[1] ;
28206
28207 if (!args) SWIG_fail;
28208 swig_obj[0] = args;
28209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28210 if (!SWIG_IsOK(res1)) {
28211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28212 }
28213 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 28216 {
0085ce49
RD
28217 wxString const &_result_ref = (arg1)->GetLabel();
28218 result = (wxString *) &_result_ref;
4f89f6a3 28219 }
0085ce49
RD
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 {
28224#if wxUSE_UNICODE
28225 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28226#else
28227 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28228#endif
28229 }
28230 return resultobj;
28231fail:
28232 return NULL;
d14a1e28
RD
28233}
28234
28235
0085ce49
RD
28236SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28237 PyObject *resultobj = 0;
28238 wxListEvent *arg1 = (wxListEvent *) 0 ;
28239 wxString *result = 0 ;
28240 void *argp1 = 0 ;
28241 int res1 = 0 ;
28242 PyObject *swig_obj[1] ;
28243
28244 if (!args) SWIG_fail;
28245 swig_obj[0] = args;
28246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28247 if (!SWIG_IsOK(res1)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28249 }
28250 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28251 {
28252 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 28253 {
0085ce49
RD
28254 wxString const &_result_ref = (arg1)->GetText();
28255 result = (wxString *) &_result_ref;
d14a1e28 28256 }
0085ce49
RD
28257 wxPyEndAllowThreads(__tstate);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 }
28260 {
28261#if wxUSE_UNICODE
28262 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28263#else
28264 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28265#endif
28266 }
28267 return resultobj;
28268fail:
28269 return NULL;
d14a1e28
RD
28270}
28271
28272
0085ce49
RD
28273SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28274 PyObject *resultobj = 0;
28275 wxListEvent *arg1 = (wxListEvent *) 0 ;
28276 int result;
28277 void *argp1 = 0 ;
28278 int res1 = 0 ;
28279 PyObject *swig_obj[1] ;
28280
28281 if (!args) SWIG_fail;
28282 swig_obj[0] = args;
28283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28284 if (!SWIG_IsOK(res1)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28286 }
28287 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28288 {
28289 PyThreadState* __tstate = wxPyBeginAllowThreads();
28290 result = (int)(arg1)->GetImage();
28291 wxPyEndAllowThreads(__tstate);
28292 if (PyErr_Occurred()) SWIG_fail;
28293 }
28294 resultobj = SWIG_From_int(static_cast< int >(result));
28295 return resultobj;
28296fail:
28297 return NULL;
d14a1e28
RD
28298}
28299
28300
0085ce49
RD
28301SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28302 PyObject *resultobj = 0;
28303 wxListEvent *arg1 = (wxListEvent *) 0 ;
28304 long result;
28305 void *argp1 = 0 ;
28306 int res1 = 0 ;
28307 PyObject *swig_obj[1] ;
28308
28309 if (!args) SWIG_fail;
28310 swig_obj[0] = args;
28311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28312 if (!SWIG_IsOK(res1)) {
28313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28314 }
28315 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28316 {
28317 PyThreadState* __tstate = wxPyBeginAllowThreads();
28318 result = (long)(arg1)->GetData();
28319 wxPyEndAllowThreads(__tstate);
28320 if (PyErr_Occurred()) SWIG_fail;
28321 }
28322 resultobj = SWIG_From_long(static_cast< long >(result));
28323 return resultobj;
28324fail:
28325 return NULL;
d14a1e28
RD
28326}
28327
28328
0085ce49
RD
28329SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28330 PyObject *resultobj = 0;
28331 wxListEvent *arg1 = (wxListEvent *) 0 ;
28332 long result;
28333 void *argp1 = 0 ;
28334 int res1 = 0 ;
28335 PyObject *swig_obj[1] ;
28336
28337 if (!args) SWIG_fail;
28338 swig_obj[0] = args;
28339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28340 if (!SWIG_IsOK(res1)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28342 }
28343 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 result = (long)(arg1)->GetMask();
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
28350 resultobj = SWIG_From_long(static_cast< long >(result));
28351 return resultobj;
28352fail:
28353 return NULL;
d14a1e28
RD
28354}
28355
28356
0085ce49
RD
28357SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28358 PyObject *resultobj = 0;
28359 wxListEvent *arg1 = (wxListEvent *) 0 ;
28360 wxListItem *result = 0 ;
28361 void *argp1 = 0 ;
28362 int res1 = 0 ;
28363 PyObject *swig_obj[1] ;
28364
28365 if (!args) SWIG_fail;
28366 swig_obj[0] = args;
28367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28368 if (!SWIG_IsOK(res1)) {
28369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28370 }
28371 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28372 {
28373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22bfe96c 28374 {
0085ce49
RD
28375 wxListItem const &_result_ref = (arg1)->GetItem();
28376 result = (wxListItem *) &_result_ref;
22bfe96c 28377 }
0085ce49
RD
28378 wxPyEndAllowThreads(__tstate);
28379 if (PyErr_Occurred()) SWIG_fail;
28380 }
28381 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28382 return resultobj;
28383fail:
28384 return NULL;
22bfe96c
RD
28385}
28386
28387
0085ce49
RD
28388SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28389 PyObject *resultobj = 0;
28390 wxListEvent *arg1 = (wxListEvent *) 0 ;
28391 long result;
28392 void *argp1 = 0 ;
28393 int res1 = 0 ;
28394 PyObject *swig_obj[1] ;
28395
28396 if (!args) SWIG_fail;
28397 swig_obj[0] = args;
28398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28399 if (!SWIG_IsOK(res1)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28401 }
28402 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28403 {
28404 PyThreadState* __tstate = wxPyBeginAllowThreads();
28405 result = (long)(arg1)->GetCacheFrom();
28406 wxPyEndAllowThreads(__tstate);
28407 if (PyErr_Occurred()) SWIG_fail;
28408 }
28409 resultobj = SWIG_From_long(static_cast< long >(result));
28410 return resultobj;
28411fail:
28412 return NULL;
d14a1e28
RD
28413}
28414
28415
0085ce49
RD
28416SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28417 PyObject *resultobj = 0;
28418 wxListEvent *arg1 = (wxListEvent *) 0 ;
28419 long result;
28420 void *argp1 = 0 ;
28421 int res1 = 0 ;
28422 PyObject *swig_obj[1] ;
28423
28424 if (!args) SWIG_fail;
28425 swig_obj[0] = args;
28426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28427 if (!SWIG_IsOK(res1)) {
28428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28429 }
28430 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28431 {
28432 PyThreadState* __tstate = wxPyBeginAllowThreads();
28433 result = (long)(arg1)->GetCacheTo();
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 resultobj = SWIG_From_long(static_cast< long >(result));
28438 return resultobj;
28439fail:
28440 return NULL;
d14a1e28
RD
28441}
28442
28443
0085ce49
RD
28444SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28445 PyObject *resultobj = 0;
28446 wxListEvent *arg1 = (wxListEvent *) 0 ;
28447 bool result;
28448 void *argp1 = 0 ;
28449 int res1 = 0 ;
28450 PyObject *swig_obj[1] ;
28451
28452 if (!args) SWIG_fail;
28453 swig_obj[0] = args;
28454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28455 if (!SWIG_IsOK(res1)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28457 }
28458 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28462 wxPyEndAllowThreads(__tstate);
28463 if (PyErr_Occurred()) SWIG_fail;
28464 }
28465 {
28466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28467 }
28468 return resultobj;
28469fail:
28470 return NULL;
28471}
28472
28473
28474SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28475 PyObject *resultobj = 0;
28476 wxListEvent *arg1 = (wxListEvent *) 0 ;
28477 bool arg2 ;
28478 void *argp1 = 0 ;
28479 int res1 = 0 ;
28480 bool val2 ;
28481 int ecode2 = 0 ;
28482 PyObject * obj0 = 0 ;
28483 PyObject * obj1 = 0 ;
28484 char * kwnames[] = {
28485 (char *) "self",(char *) "editCancelled", NULL
28486 };
28487
28488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28490 if (!SWIG_IsOK(res1)) {
28491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28492 }
28493 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28494 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28495 if (!SWIG_IsOK(ecode2)) {
28496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28497 }
28498 arg2 = static_cast< bool >(val2);
28499 {
28500 PyThreadState* __tstate = wxPyBeginAllowThreads();
28501 (arg1)->SetEditCanceled(arg2);
28502 wxPyEndAllowThreads(__tstate);
28503 if (PyErr_Occurred()) SWIG_fail;
28504 }
28505 resultobj = SWIG_Py_Void();
28506 return resultobj;
28507fail:
28508 return NULL;
28509}
28510
28511
28512SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28513 PyObject *obj;
28514 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28515 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28516 return SWIG_Py_Void();
28517}
28518
28519SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28520 return SWIG_Python_InitShadowInstance(args);
28521}
28522
28523SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28524 PyObject *resultobj = 0;
28525 wxWindow *arg1 = (wxWindow *) 0 ;
28526 int arg2 = (int) -1 ;
28527 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28528 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28529 wxSize const &arg4_defvalue = wxDefaultSize ;
28530 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28531 long arg5 = (long) wxLC_ICON ;
28532 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28533 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28534 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28535 wxString *arg7 = (wxString *) &arg7_defvalue ;
28536 wxPyListCtrl *result = 0 ;
28537 void *argp1 = 0 ;
28538 int res1 = 0 ;
28539 int val2 ;
28540 int ecode2 = 0 ;
28541 wxPoint temp3 ;
28542 wxSize temp4 ;
28543 long val5 ;
28544 int ecode5 = 0 ;
28545 void *argp6 = 0 ;
28546 int res6 = 0 ;
28547 bool temp7 = false ;
28548 PyObject * obj0 = 0 ;
28549 PyObject * obj1 = 0 ;
28550 PyObject * obj2 = 0 ;
28551 PyObject * obj3 = 0 ;
28552 PyObject * obj4 = 0 ;
28553 PyObject * obj5 = 0 ;
28554 PyObject * obj6 = 0 ;
28555 char * kwnames[] = {
28556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28557 };
28558
28559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28561 if (!SWIG_IsOK(res1)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28563 }
28564 arg1 = reinterpret_cast< wxWindow * >(argp1);
28565 if (obj1) {
28566 ecode2 = SWIG_AsVal_int(obj1, &val2);
28567 if (!SWIG_IsOK(ecode2)) {
28568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28569 }
28570 arg2 = static_cast< int >(val2);
28571 }
28572 if (obj2) {
093d3ff1 28573 {
0085ce49
RD
28574 arg3 = &temp3;
28575 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28576 }
0085ce49
RD
28577 }
28578 if (obj3) {
d14a1e28 28579 {
0085ce49
RD
28580 arg4 = &temp4;
28581 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 28582 }
0085ce49
RD
28583 }
28584 if (obj4) {
28585 ecode5 = SWIG_AsVal_long(obj4, &val5);
28586 if (!SWIG_IsOK(ecode5)) {
28587 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28588 }
28589 arg5 = static_cast< long >(val5);
28590 }
28591 if (obj5) {
28592 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28593 if (!SWIG_IsOK(res6)) {
28594 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 28595 }
0085ce49
RD
28596 if (!argp6) {
28597 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28598 }
28599 arg6 = reinterpret_cast< wxValidator * >(argp6);
28600 }
28601 if (obj6) {
093d3ff1 28602 {
0085ce49
RD
28603 arg7 = wxString_in_helper(obj6);
28604 if (arg7 == NULL) SWIG_fail;
28605 temp7 = true;
093d3ff1 28606 }
0085ce49
RD
28607 }
28608 {
28609 if (!wxPyCheckForApp()) SWIG_fail;
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28612 wxPyEndAllowThreads(__tstate);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 }
28615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28616 {
28617 if (temp7)
28618 delete arg7;
28619 }
28620 return resultobj;
28621fail:
28622 {
28623 if (temp7)
28624 delete arg7;
28625 }
28626 return NULL;
d14a1e28
RD
28627}
28628
28629
0085ce49
RD
28630SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28631 PyObject *resultobj = 0;
28632 wxPyListCtrl *result = 0 ;
28633
28634 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
28635 {
28636 if (!wxPyCheckForApp()) SWIG_fail;
28637 PyThreadState* __tstate = wxPyBeginAllowThreads();
28638 result = (wxPyListCtrl *)new wxPyListCtrl();
28639 wxPyEndAllowThreads(__tstate);
28640 if (PyErr_Occurred()) SWIG_fail;
28641 }
28642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
28643 return resultobj;
28644fail:
28645 return NULL;
28646}
28647
28648
28649SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28650 PyObject *resultobj = 0;
28651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28652 wxWindow *arg2 = (wxWindow *) 0 ;
28653 int arg3 = (int) -1 ;
28654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28656 wxSize const &arg5_defvalue = wxDefaultSize ;
28657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28658 long arg6 = (long) wxLC_ICON ;
28659 wxValidator const &arg7_defvalue = wxDefaultValidator ;
28660 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
28661 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
28662 wxString *arg8 = (wxString *) &arg8_defvalue ;
28663 bool result;
28664 void *argp1 = 0 ;
28665 int res1 = 0 ;
28666 void *argp2 = 0 ;
28667 int res2 = 0 ;
28668 int val3 ;
28669 int ecode3 = 0 ;
28670 wxPoint temp4 ;
28671 wxSize temp5 ;
28672 long val6 ;
28673 int ecode6 = 0 ;
28674 void *argp7 = 0 ;
28675 int res7 = 0 ;
28676 bool temp8 = false ;
28677 PyObject * obj0 = 0 ;
28678 PyObject * obj1 = 0 ;
28679 PyObject * obj2 = 0 ;
28680 PyObject * obj3 = 0 ;
28681 PyObject * obj4 = 0 ;
28682 PyObject * obj5 = 0 ;
28683 PyObject * obj6 = 0 ;
28684 PyObject * obj7 = 0 ;
28685 char * kwnames[] = {
28686 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28687 };
28688
28689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
28690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28691 if (!SWIG_IsOK(res1)) {
28692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28693 }
28694 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28695 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28696 if (!SWIG_IsOK(res2)) {
28697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28698 }
28699 arg2 = reinterpret_cast< wxWindow * >(argp2);
28700 if (obj2) {
28701 ecode3 = SWIG_AsVal_int(obj2, &val3);
28702 if (!SWIG_IsOK(ecode3)) {
28703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28704 }
28705 arg3 = static_cast< int >(val3);
28706 }
28707 if (obj3) {
093d3ff1 28708 {
0085ce49
RD
28709 arg4 = &temp4;
28710 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28711 }
0085ce49
RD
28712 }
28713 if (obj4) {
d14a1e28 28714 {
0085ce49
RD
28715 arg5 = &temp5;
28716 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 28717 }
0085ce49
RD
28718 }
28719 if (obj5) {
28720 ecode6 = SWIG_AsVal_long(obj5, &val6);
28721 if (!SWIG_IsOK(ecode6)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28723 }
28724 arg6 = static_cast< long >(val6);
28725 }
28726 if (obj6) {
28727 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
28728 if (!SWIG_IsOK(res7)) {
28729 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 28730 }
0085ce49
RD
28731 if (!argp7) {
28732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 28733 }
0085ce49
RD
28734 arg7 = reinterpret_cast< wxValidator * >(argp7);
28735 }
28736 if (obj7) {
d14a1e28 28737 {
0085ce49
RD
28738 arg8 = wxString_in_helper(obj7);
28739 if (arg8 == NULL) SWIG_fail;
28740 temp8 = true;
d14a1e28 28741 }
0085ce49
RD
28742 }
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 {
28750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28751 }
28752 {
28753 if (temp8)
28754 delete arg8;
28755 }
28756 return resultobj;
28757fail:
28758 {
28759 if (temp8)
28760 delete arg8;
28761 }
28762 return NULL;
28763}
28764
28765
28766SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28767 PyObject *resultobj = 0;
28768 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28769 PyObject *arg2 = (PyObject *) 0 ;
28770 PyObject *arg3 = (PyObject *) 0 ;
28771 void *argp1 = 0 ;
28772 int res1 = 0 ;
28773 PyObject * obj0 = 0 ;
28774 PyObject * obj1 = 0 ;
28775 PyObject * obj2 = 0 ;
28776 char * kwnames[] = {
28777 (char *) "self",(char *) "self",(char *) "_class", NULL
28778 };
28779
28780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28782 if (!SWIG_IsOK(res1)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28784 }
28785 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28786 arg2 = obj1;
28787 arg3 = obj2;
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 (arg1)->_setCallbackInfo(arg2,arg3);
28791 wxPyEndAllowThreads(__tstate);
28792 if (PyErr_Occurred()) SWIG_fail;
28793 }
28794 resultobj = SWIG_Py_Void();
28795 return resultobj;
28796fail:
28797 return NULL;
28798}
28799
28800
28801SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28802 PyObject *resultobj = 0;
28803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28804 int arg2 ;
28805 wxListItem *result = 0 ;
28806 void *argp1 = 0 ;
28807 int res1 = 0 ;
28808 int val2 ;
28809 int ecode2 = 0 ;
28810 PyObject * obj0 = 0 ;
28811 PyObject * obj1 = 0 ;
28812 char * kwnames[] = {
28813 (char *) "self",(char *) "col", NULL
28814 };
28815
28816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
28817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28818 if (!SWIG_IsOK(res1)) {
28819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28820 }
28821 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28822 ecode2 = SWIG_AsVal_int(obj1, &val2);
28823 if (!SWIG_IsOK(ecode2)) {
28824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28825 }
28826 arg2 = static_cast< int >(val2);
28827 {
28828 PyThreadState* __tstate = wxPyBeginAllowThreads();
28829 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
28830 wxPyEndAllowThreads(__tstate);
28831 if (PyErr_Occurred()) SWIG_fail;
28832 }
28833 {
28834 resultobj = wxPyMake_wxObject(result, (bool)0);
28835 }
28836 return resultobj;
28837fail:
28838 return NULL;
28839}
28840
28841
28842SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28843 PyObject *resultobj = 0;
28844 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28845 int arg2 ;
28846 wxListItem *arg3 = 0 ;
28847 bool result;
28848 void *argp1 = 0 ;
28849 int res1 = 0 ;
28850 int val2 ;
28851 int ecode2 = 0 ;
28852 void *argp3 = 0 ;
28853 int res3 = 0 ;
28854 PyObject * obj0 = 0 ;
28855 PyObject * obj1 = 0 ;
28856 PyObject * obj2 = 0 ;
28857 char * kwnames[] = {
28858 (char *) "self",(char *) "col",(char *) "item", NULL
28859 };
28860
28861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28863 if (!SWIG_IsOK(res1)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28865 }
28866 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28867 ecode2 = SWIG_AsVal_int(obj1, &val2);
28868 if (!SWIG_IsOK(ecode2)) {
28869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28870 }
28871 arg2 = static_cast< int >(val2);
28872 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
28873 if (!SWIG_IsOK(res3)) {
28874 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28875 }
28876 if (!argp3) {
28877 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28878 }
28879 arg3 = reinterpret_cast< wxListItem * >(argp3);
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 result = (bool)(arg1)->SetColumn(arg2,*arg3);
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 {
28887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28888 }
28889 return resultobj;
28890fail:
28891 return NULL;
28892}
28893
28894
28895SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28896 PyObject *resultobj = 0;
28897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28898 int arg2 ;
28899 int result;
28900 void *argp1 = 0 ;
28901 int res1 = 0 ;
28902 int val2 ;
28903 int ecode2 = 0 ;
28904 PyObject * obj0 = 0 ;
28905 PyObject * obj1 = 0 ;
28906 char * kwnames[] = {
28907 (char *) "self",(char *) "col", NULL
28908 };
28909
28910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
28911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28912 if (!SWIG_IsOK(res1)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28914 }
28915 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28916 ecode2 = SWIG_AsVal_int(obj1, &val2);
28917 if (!SWIG_IsOK(ecode2)) {
28918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28919 }
28920 arg2 = static_cast< int >(val2);
28921 {
28922 PyThreadState* __tstate = wxPyBeginAllowThreads();
28923 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
28924 wxPyEndAllowThreads(__tstate);
28925 if (PyErr_Occurred()) SWIG_fail;
28926 }
28927 resultobj = SWIG_From_int(static_cast< int >(result));
28928 return resultobj;
28929fail:
28930 return NULL;
28931}
28932
28933
28934SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28935 PyObject *resultobj = 0;
28936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28937 int arg2 ;
28938 int arg3 ;
28939 bool result;
28940 void *argp1 = 0 ;
28941 int res1 = 0 ;
28942 int val2 ;
28943 int ecode2 = 0 ;
28944 int val3 ;
28945 int ecode3 = 0 ;
28946 PyObject * obj0 = 0 ;
28947 PyObject * obj1 = 0 ;
28948 PyObject * obj2 = 0 ;
28949 char * kwnames[] = {
28950 (char *) "self",(char *) "col",(char *) "width", NULL
28951 };
28952
28953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28955 if (!SWIG_IsOK(res1)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28957 }
28958 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28959 ecode2 = SWIG_AsVal_int(obj1, &val2);
28960 if (!SWIG_IsOK(ecode2)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28962 }
28963 arg2 = static_cast< int >(val2);
28964 ecode3 = SWIG_AsVal_int(obj2, &val3);
28965 if (!SWIG_IsOK(ecode3)) {
28966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28967 }
28968 arg3 = static_cast< int >(val3);
28969 {
28970 PyThreadState* __tstate = wxPyBeginAllowThreads();
28971 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
28972 wxPyEndAllowThreads(__tstate);
28973 if (PyErr_Occurred()) SWIG_fail;
28974 }
28975 {
28976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28977 }
28978 return resultobj;
28979fail:
28980 return NULL;
d14a1e28
RD
28981}
28982
28983
0085ce49
RD
28984SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28985 PyObject *resultobj = 0;
28986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
28987 int result;
28988 void *argp1 = 0 ;
28989 int res1 = 0 ;
28990 PyObject *swig_obj[1] ;
28991
28992 if (!args) SWIG_fail;
28993 swig_obj[0] = args;
28994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
28995 if (!SWIG_IsOK(res1)) {
28996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28997 }
28998 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
28999 {
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29002 wxPyEndAllowThreads(__tstate);
29003 if (PyErr_Occurred()) SWIG_fail;
29004 }
29005 resultobj = SWIG_From_int(static_cast< int >(result));
29006 return resultobj;
29007fail:
29008 return NULL;
d14a1e28
RD
29009}
29010
29011
0085ce49
RD
29012SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29013 PyObject *resultobj = 0;
29014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29015 wxRect result;
29016 void *argp1 = 0 ;
29017 int res1 = 0 ;
29018 PyObject *swig_obj[1] ;
29019
29020 if (!args) SWIG_fail;
29021 swig_obj[0] = args;
29022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29023 if (!SWIG_IsOK(res1)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29025 }
29026 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29027 {
29028 PyThreadState* __tstate = wxPyBeginAllowThreads();
29029 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29030 wxPyEndAllowThreads(__tstate);
29031 if (PyErr_Occurred()) SWIG_fail;
29032 }
29033 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29034 return resultobj;
29035fail:
29036 return NULL;
d14a1e28
RD
29037}
29038
29039
0085ce49
RD
29040SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29041 PyObject *resultobj = 0;
29042 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29043 wxTextCtrl *result = 0 ;
29044 void *argp1 = 0 ;
29045 int res1 = 0 ;
29046 PyObject *swig_obj[1] ;
29047
29048 if (!args) SWIG_fail;
29049 swig_obj[0] = args;
29050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29051 if (!SWIG_IsOK(res1)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29053 }
29054 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29055 {
29056 PyThreadState* __tstate = wxPyBeginAllowThreads();
29057 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29058 wxPyEndAllowThreads(__tstate);
29059 if (PyErr_Occurred()) SWIG_fail;
29060 }
29061 {
29062 resultobj = wxPyMake_wxObject(result, 0);
29063 }
29064 return resultobj;
29065fail:
29066 return NULL;
29067}
29068
29069
29070SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29071 PyObject *resultobj = 0;
29072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29073 long arg2 ;
29074 int arg3 = (int) 0 ;
29075 wxListItem *result = 0 ;
29076 void *argp1 = 0 ;
29077 int res1 = 0 ;
29078 long val2 ;
29079 int ecode2 = 0 ;
29080 int val3 ;
29081 int ecode3 = 0 ;
29082 PyObject * obj0 = 0 ;
29083 PyObject * obj1 = 0 ;
29084 PyObject * obj2 = 0 ;
29085 char * kwnames[] = {
29086 (char *) "self",(char *) "itemId",(char *) "col", NULL
29087 };
29088
29089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29091 if (!SWIG_IsOK(res1)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29093 }
29094 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29095 ecode2 = SWIG_AsVal_long(obj1, &val2);
29096 if (!SWIG_IsOK(ecode2)) {
29097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29098 }
29099 arg2 = static_cast< long >(val2);
29100 if (obj2) {
29101 ecode3 = SWIG_AsVal_int(obj2, &val3);
29102 if (!SWIG_IsOK(ecode3)) {
29103 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29104 }
29105 arg3 = static_cast< int >(val3);
29106 }
29107 {
29108 PyThreadState* __tstate = wxPyBeginAllowThreads();
29109 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29110 wxPyEndAllowThreads(__tstate);
29111 if (PyErr_Occurred()) SWIG_fail;
29112 }
29113 {
29114 resultobj = wxPyMake_wxObject(result, (bool)0);
29115 }
29116 return resultobj;
29117fail:
29118 return NULL;
29119}
29120
29121
29122SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29123 PyObject *resultobj = 0;
29124 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29125 wxListItem *arg2 = 0 ;
29126 bool result;
29127 void *argp1 = 0 ;
29128 int res1 = 0 ;
29129 void *argp2 = 0 ;
29130 int res2 = 0 ;
29131 PyObject * obj0 = 0 ;
29132 PyObject * obj1 = 0 ;
29133 char * kwnames[] = {
29134 (char *) "self",(char *) "info", NULL
29135 };
29136
29137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29139 if (!SWIG_IsOK(res1)) {
29140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29141 }
29142 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29143 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29144 if (!SWIG_IsOK(res2)) {
29145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29146 }
29147 if (!argp2) {
29148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29149 }
29150 arg2 = reinterpret_cast< wxListItem * >(argp2);
29151 {
29152 PyThreadState* __tstate = wxPyBeginAllowThreads();
29153 result = (bool)(arg1)->SetItem(*arg2);
29154 wxPyEndAllowThreads(__tstate);
29155 if (PyErr_Occurred()) SWIG_fail;
29156 }
29157 {
29158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29159 }
29160 return resultobj;
29161fail:
29162 return NULL;
29163}
29164
29165
29166SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29167 PyObject *resultobj = 0;
29168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29169 long arg2 ;
29170 int arg3 ;
29171 wxString *arg4 = 0 ;
29172 int arg5 = (int) -1 ;
29173 long result;
29174 void *argp1 = 0 ;
29175 int res1 = 0 ;
29176 long val2 ;
29177 int ecode2 = 0 ;
29178 int val3 ;
29179 int ecode3 = 0 ;
29180 bool temp4 = false ;
29181 int val5 ;
29182 int ecode5 = 0 ;
29183 PyObject * obj0 = 0 ;
29184 PyObject * obj1 = 0 ;
29185 PyObject * obj2 = 0 ;
29186 PyObject * obj3 = 0 ;
29187 PyObject * obj4 = 0 ;
29188 char * kwnames[] = {
29189 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29190 };
29191
29192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29194 if (!SWIG_IsOK(res1)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29196 }
29197 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29198 ecode2 = SWIG_AsVal_long(obj1, &val2);
29199 if (!SWIG_IsOK(ecode2)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29201 }
29202 arg2 = static_cast< long >(val2);
29203 ecode3 = SWIG_AsVal_int(obj2, &val3);
29204 if (!SWIG_IsOK(ecode3)) {
29205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29206 }
29207 arg3 = static_cast< int >(val3);
29208 {
29209 arg4 = wxString_in_helper(obj3);
29210 if (arg4 == NULL) SWIG_fail;
29211 temp4 = true;
29212 }
29213 if (obj4) {
29214 ecode5 = SWIG_AsVal_int(obj4, &val5);
29215 if (!SWIG_IsOK(ecode5)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29217 }
29218 arg5 = static_cast< int >(val5);
29219 }
29220 {
29221 PyThreadState* __tstate = wxPyBeginAllowThreads();
29222 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29223 wxPyEndAllowThreads(__tstate);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
29226 resultobj = SWIG_From_long(static_cast< long >(result));
29227 {
29228 if (temp4)
29229 delete arg4;
29230 }
29231 return resultobj;
29232fail:
29233 {
29234 if (temp4)
29235 delete arg4;
29236 }
29237 return NULL;
29238}
29239
29240
29241SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29242 PyObject *resultobj = 0;
29243 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29244 long arg2 ;
29245 long arg3 ;
29246 int result;
29247 void *argp1 = 0 ;
29248 int res1 = 0 ;
29249 long val2 ;
29250 int ecode2 = 0 ;
29251 long val3 ;
29252 int ecode3 = 0 ;
29253 PyObject * obj0 = 0 ;
29254 PyObject * obj1 = 0 ;
29255 PyObject * obj2 = 0 ;
29256 char * kwnames[] = {
29257 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29258 };
29259
29260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29262 if (!SWIG_IsOK(res1)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29264 }
29265 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29266 ecode2 = SWIG_AsVal_long(obj1, &val2);
29267 if (!SWIG_IsOK(ecode2)) {
29268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29269 }
29270 arg2 = static_cast< long >(val2);
29271 ecode3 = SWIG_AsVal_long(obj2, &val3);
29272 if (!SWIG_IsOK(ecode3)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29274 }
29275 arg3 = static_cast< long >(val3);
29276 {
29277 PyThreadState* __tstate = wxPyBeginAllowThreads();
29278 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 resultobj = SWIG_From_int(static_cast< int >(result));
29283 return resultobj;
29284fail:
29285 return NULL;
29286}
29287
29288
29289SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29290 PyObject *resultobj = 0;
29291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29292 long arg2 ;
29293 long arg3 ;
29294 long arg4 ;
29295 bool result;
29296 void *argp1 = 0 ;
29297 int res1 = 0 ;
29298 long val2 ;
29299 int ecode2 = 0 ;
29300 long val3 ;
29301 int ecode3 = 0 ;
29302 long val4 ;
29303 int ecode4 = 0 ;
29304 PyObject * obj0 = 0 ;
29305 PyObject * obj1 = 0 ;
29306 PyObject * obj2 = 0 ;
29307 PyObject * obj3 = 0 ;
29308 char * kwnames[] = {
29309 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29310 };
29311
29312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29314 if (!SWIG_IsOK(res1)) {
29315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29316 }
29317 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29318 ecode2 = SWIG_AsVal_long(obj1, &val2);
29319 if (!SWIG_IsOK(ecode2)) {
29320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29321 }
29322 arg2 = static_cast< long >(val2);
29323 ecode3 = SWIG_AsVal_long(obj2, &val3);
29324 if (!SWIG_IsOK(ecode3)) {
29325 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29326 }
29327 arg3 = static_cast< long >(val3);
29328 ecode4 = SWIG_AsVal_long(obj3, &val4);
29329 if (!SWIG_IsOK(ecode4)) {
29330 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29331 }
29332 arg4 = static_cast< long >(val4);
29333 {
29334 PyThreadState* __tstate = wxPyBeginAllowThreads();
29335 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29336 wxPyEndAllowThreads(__tstate);
29337 if (PyErr_Occurred()) SWIG_fail;
29338 }
29339 {
29340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29341 }
29342 return resultobj;
29343fail:
29344 return NULL;
29345}
29346
29347
29348SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29349 PyObject *resultobj = 0;
29350 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29351 long arg2 ;
29352 int arg3 ;
29353 int arg4 = (int) -1 ;
29354 bool result;
29355 void *argp1 = 0 ;
29356 int res1 = 0 ;
29357 long val2 ;
29358 int ecode2 = 0 ;
29359 int val3 ;
29360 int ecode3 = 0 ;
29361 int val4 ;
29362 int ecode4 = 0 ;
29363 PyObject * obj0 = 0 ;
29364 PyObject * obj1 = 0 ;
29365 PyObject * obj2 = 0 ;
29366 PyObject * obj3 = 0 ;
29367 char * kwnames[] = {
29368 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29369 };
29370
29371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29373 if (!SWIG_IsOK(res1)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29375 }
29376 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29377 ecode2 = SWIG_AsVal_long(obj1, &val2);
29378 if (!SWIG_IsOK(ecode2)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29380 }
29381 arg2 = static_cast< long >(val2);
29382 ecode3 = SWIG_AsVal_int(obj2, &val3);
29383 if (!SWIG_IsOK(ecode3)) {
29384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29385 }
29386 arg3 = static_cast< int >(val3);
29387 if (obj3) {
29388 ecode4 = SWIG_AsVal_int(obj3, &val4);
29389 if (!SWIG_IsOK(ecode4)) {
29390 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29391 }
29392 arg4 = static_cast< int >(val4);
29393 }
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 {
29401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29402 }
29403 return resultobj;
29404fail:
29405 return NULL;
29406}
29407
29408
29409SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29410 PyObject *resultobj = 0;
29411 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29412 long arg2 ;
29413 long arg3 ;
29414 int arg4 ;
29415 bool result;
29416 void *argp1 = 0 ;
29417 int res1 = 0 ;
29418 long val2 ;
29419 int ecode2 = 0 ;
29420 long val3 ;
29421 int ecode3 = 0 ;
29422 int val4 ;
29423 int ecode4 = 0 ;
29424 PyObject * obj0 = 0 ;
29425 PyObject * obj1 = 0 ;
29426 PyObject * obj2 = 0 ;
29427 PyObject * obj3 = 0 ;
29428 char * kwnames[] = {
29429 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29430 };
29431
29432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29434 if (!SWIG_IsOK(res1)) {
29435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29436 }
29437 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29438 ecode2 = SWIG_AsVal_long(obj1, &val2);
29439 if (!SWIG_IsOK(ecode2)) {
29440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29441 }
29442 arg2 = static_cast< long >(val2);
29443 ecode3 = SWIG_AsVal_long(obj2, &val3);
29444 if (!SWIG_IsOK(ecode3)) {
29445 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29446 }
29447 arg3 = static_cast< long >(val3);
29448 ecode4 = SWIG_AsVal_int(obj3, &val4);
29449 if (!SWIG_IsOK(ecode4)) {
29450 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29451 }
29452 arg4 = static_cast< int >(val4);
29453 {
29454 PyThreadState* __tstate = wxPyBeginAllowThreads();
29455 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29456 wxPyEndAllowThreads(__tstate);
29457 if (PyErr_Occurred()) SWIG_fail;
29458 }
29459 {
29460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29461 }
29462 return resultobj;
29463fail:
29464 return NULL;
29465}
29466
29467
29468SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29469 PyObject *resultobj = 0;
29470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29471 long arg2 ;
29472 wxString result;
29473 void *argp1 = 0 ;
29474 int res1 = 0 ;
29475 long val2 ;
29476 int ecode2 = 0 ;
29477 PyObject * obj0 = 0 ;
29478 PyObject * obj1 = 0 ;
29479 char * kwnames[] = {
29480 (char *) "self",(char *) "item", NULL
29481 };
29482
29483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29485 if (!SWIG_IsOK(res1)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29487 }
29488 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29489 ecode2 = SWIG_AsVal_long(obj1, &val2);
29490 if (!SWIG_IsOK(ecode2)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29492 }
29493 arg2 = static_cast< long >(val2);
29494 {
29495 PyThreadState* __tstate = wxPyBeginAllowThreads();
29496 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29497 wxPyEndAllowThreads(__tstate);
29498 if (PyErr_Occurred()) SWIG_fail;
29499 }
29500 {
29501#if wxUSE_UNICODE
29502 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29503#else
29504 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29505#endif
29506 }
29507 return resultobj;
29508fail:
29509 return NULL;
29510}
29511
29512
29513SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29514 PyObject *resultobj = 0;
29515 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29516 long arg2 ;
29517 wxString *arg3 = 0 ;
29518 void *argp1 = 0 ;
29519 int res1 = 0 ;
29520 long val2 ;
29521 int ecode2 = 0 ;
29522 bool temp3 = false ;
29523 PyObject * obj0 = 0 ;
29524 PyObject * obj1 = 0 ;
29525 PyObject * obj2 = 0 ;
29526 char * kwnames[] = {
29527 (char *) "self",(char *) "item",(char *) "str", NULL
29528 };
29529
29530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29532 if (!SWIG_IsOK(res1)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29534 }
29535 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29536 ecode2 = SWIG_AsVal_long(obj1, &val2);
29537 if (!SWIG_IsOK(ecode2)) {
29538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29539 }
29540 arg2 = static_cast< long >(val2);
29541 {
29542 arg3 = wxString_in_helper(obj2);
29543 if (arg3 == NULL) SWIG_fail;
29544 temp3 = true;
29545 }
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29549 wxPyEndAllowThreads(__tstate);
29550 if (PyErr_Occurred()) SWIG_fail;
29551 }
29552 resultobj = SWIG_Py_Void();
29553 {
29554 if (temp3)
29555 delete arg3;
29556 }
29557 return resultobj;
29558fail:
29559 {
29560 if (temp3)
29561 delete arg3;
29562 }
29563 return NULL;
29564}
29565
29566
29567SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29568 PyObject *resultobj = 0;
29569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29570 long arg2 ;
29571 long result;
29572 void *argp1 = 0 ;
29573 int res1 = 0 ;
29574 long val2 ;
29575 int ecode2 = 0 ;
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:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29584 if (!SWIG_IsOK(res1)) {
29585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29586 }
29587 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29588 ecode2 = SWIG_AsVal_long(obj1, &val2);
29589 if (!SWIG_IsOK(ecode2)) {
29590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29591 }
29592 arg2 = static_cast< long >(val2);
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 resultobj = SWIG_From_long(static_cast< long >(result));
29600 return resultobj;
29601fail:
29602 return NULL;
29603}
29604
29605
29606SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29607 PyObject *resultobj = 0;
29608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29609 long arg2 ;
29610 long arg3 ;
29611 bool result;
29612 void *argp1 = 0 ;
29613 int res1 = 0 ;
29614 long val2 ;
29615 int ecode2 = 0 ;
29616 long val3 ;
29617 int ecode3 = 0 ;
29618 PyObject * obj0 = 0 ;
29619 PyObject * obj1 = 0 ;
29620 PyObject * obj2 = 0 ;
29621 char * kwnames[] = {
29622 (char *) "self",(char *) "item",(char *) "data", NULL
29623 };
29624
29625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29627 if (!SWIG_IsOK(res1)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29629 }
29630 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29631 ecode2 = SWIG_AsVal_long(obj1, &val2);
29632 if (!SWIG_IsOK(ecode2)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29634 }
29635 arg2 = static_cast< long >(val2);
29636 ecode3 = SWIG_AsVal_long(obj2, &val3);
29637 if (!SWIG_IsOK(ecode3)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29639 }
29640 arg3 = static_cast< long >(val3);
29641 {
29642 PyThreadState* __tstate = wxPyBeginAllowThreads();
29643 result = (bool)(arg1)->SetItemData(arg2,arg3);
29644 wxPyEndAllowThreads(__tstate);
29645 if (PyErr_Occurred()) SWIG_fail;
29646 }
29647 {
29648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29649 }
29650 return resultobj;
29651fail:
29652 return NULL;
29653}
29654
29655
29656SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29657 PyObject *resultobj = 0;
29658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29659 long arg2 ;
29660 wxPoint result;
29661 void *argp1 = 0 ;
29662 int res1 = 0 ;
29663 long val2 ;
29664 int ecode2 = 0 ;
29665 PyObject * obj0 = 0 ;
29666 PyObject * obj1 = 0 ;
29667 char * kwnames[] = {
29668 (char *) "self",(char *) "item", NULL
29669 };
29670
29671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
29672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29673 if (!SWIG_IsOK(res1)) {
29674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29675 }
29676 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29677 ecode2 = SWIG_AsVal_long(obj1, &val2);
29678 if (!SWIG_IsOK(ecode2)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29680 }
29681 arg2 = static_cast< long >(val2);
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
29685 wxPyEndAllowThreads(__tstate);
29686 if (PyErr_Occurred()) SWIG_fail;
29687 }
29688 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
29689 return resultobj;
29690fail:
29691 return NULL;
29692}
29693
29694
29695SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29696 PyObject *resultobj = 0;
29697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29698 long arg2 ;
29699 int arg3 = (int) wxLIST_RECT_BOUNDS ;
29700 wxRect result;
29701 void *argp1 = 0 ;
29702 int res1 = 0 ;
29703 long val2 ;
29704 int ecode2 = 0 ;
29705 int val3 ;
29706 int ecode3 = 0 ;
29707 PyObject * obj0 = 0 ;
29708 PyObject * obj1 = 0 ;
29709 PyObject * obj2 = 0 ;
29710 char * kwnames[] = {
29711 (char *) "self",(char *) "item",(char *) "code", NULL
29712 };
29713
29714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29716 if (!SWIG_IsOK(res1)) {
29717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29718 }
29719 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29720 ecode2 = SWIG_AsVal_long(obj1, &val2);
29721 if (!SWIG_IsOK(ecode2)) {
29722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29723 }
29724 arg2 = static_cast< long >(val2);
29725 if (obj2) {
29726 ecode3 = SWIG_AsVal_int(obj2, &val3);
29727 if (!SWIG_IsOK(ecode3)) {
29728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29729 }
29730 arg3 = static_cast< int >(val3);
29731 }
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29739 return resultobj;
29740fail:
29741 return NULL;
29742}
29743
29744
29745SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29746 PyObject *resultobj = 0;
29747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29748 long arg2 ;
29749 wxPoint *arg3 = 0 ;
29750 bool result;
29751 void *argp1 = 0 ;
29752 int res1 = 0 ;
29753 long val2 ;
29754 int ecode2 = 0 ;
29755 wxPoint temp3 ;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 PyObject * obj2 = 0 ;
29759 char * kwnames[] = {
29760 (char *) "self",(char *) "item",(char *) "pos", NULL
29761 };
29762
29763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29765 if (!SWIG_IsOK(res1)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29767 }
29768 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29769 ecode2 = SWIG_AsVal_long(obj1, &val2);
29770 if (!SWIG_IsOK(ecode2)) {
29771 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29772 }
29773 arg2 = static_cast< long >(val2);
29774 {
29775 arg3 = &temp3;
29776 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29777 }
29778 {
29779 PyThreadState* __tstate = wxPyBeginAllowThreads();
29780 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
29781 wxPyEndAllowThreads(__tstate);
29782 if (PyErr_Occurred()) SWIG_fail;
29783 }
29784 {
29785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29786 }
29787 return resultobj;
29788fail:
29789 return NULL;
d14a1e28
RD
29790}
29791
29792
0085ce49
RD
29793SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29794 PyObject *resultobj = 0;
29795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29796 int result;
29797 void *argp1 = 0 ;
29798 int res1 = 0 ;
29799 PyObject *swig_obj[1] ;
29800
29801 if (!args) SWIG_fail;
29802 swig_obj[0] = args;
29803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29804 if (!SWIG_IsOK(res1)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29806 }
29807 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29808 {
29809 PyThreadState* __tstate = wxPyBeginAllowThreads();
29810 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
29811 wxPyEndAllowThreads(__tstate);
29812 if (PyErr_Occurred()) SWIG_fail;
29813 }
29814 resultobj = SWIG_From_int(static_cast< int >(result));
29815 return resultobj;
29816fail:
29817 return NULL;
d14a1e28
RD
29818}
29819
29820
0085ce49
RD
29821SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29822 PyObject *resultobj = 0;
29823 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29824 int result;
29825 void *argp1 = 0 ;
29826 int res1 = 0 ;
29827 PyObject *swig_obj[1] ;
29828
29829 if (!args) SWIG_fail;
29830 swig_obj[0] = args;
29831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29832 if (!SWIG_IsOK(res1)) {
29833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29834 }
29835 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29836 {
29837 PyThreadState* __tstate = wxPyBeginAllowThreads();
29838 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
29839 wxPyEndAllowThreads(__tstate);
29840 if (PyErr_Occurred()) SWIG_fail;
29841 }
29842 resultobj = SWIG_From_int(static_cast< int >(result));
29843 return resultobj;
29844fail:
29845 return NULL;
d14a1e28
RD
29846}
29847
29848
0085ce49
RD
29849SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29850 PyObject *resultobj = 0;
29851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29852 wxSize result;
29853 void *argp1 = 0 ;
29854 int res1 = 0 ;
29855 PyObject *swig_obj[1] ;
29856
29857 if (!args) SWIG_fail;
29858 swig_obj[0] = args;
29859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29860 if (!SWIG_IsOK(res1)) {
29861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29862 }
29863 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29864 {
29865 PyThreadState* __tstate = wxPyBeginAllowThreads();
29866 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
29867 wxPyEndAllowThreads(__tstate);
29868 if (PyErr_Occurred()) SWIG_fail;
29869 }
29870 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
29871 return resultobj;
29872fail:
29873 return NULL;
29874}
29875
29876
29877SWIGINTERN PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj = 0;
29879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29880 int arg2 ;
29881 bool arg3 = (bool) false ;
29882 void *argp1 = 0 ;
29883 int res1 = 0 ;
29884 int val2 ;
29885 int ecode2 = 0 ;
29886 bool val3 ;
29887 int ecode3 = 0 ;
29888 PyObject * obj0 = 0 ;
29889 PyObject * obj1 = 0 ;
29890 PyObject * obj2 = 0 ;
29891 char * kwnames[] = {
29892 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
29893 };
29894
29895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29897 if (!SWIG_IsOK(res1)) {
29898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29899 }
29900 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29901 ecode2 = SWIG_AsVal_int(obj1, &val2);
29902 if (!SWIG_IsOK(ecode2)) {
29903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
29904 }
29905 arg2 = static_cast< int >(val2);
29906 if (obj2) {
29907 ecode3 = SWIG_AsVal_bool(obj2, &val3);
29908 if (!SWIG_IsOK(ecode3)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
29910 }
29911 arg3 = static_cast< bool >(val3);
29912 }
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 (arg1)->SetItemSpacing(arg2,arg3);
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 resultobj = SWIG_Py_Void();
29920 return resultobj;
29921fail:
29922 return NULL;
22bfe96c
RD
29923}
29924
29925
0085ce49
RD
29926SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29927 PyObject *resultobj = 0;
29928 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29929 int result;
29930 void *argp1 = 0 ;
29931 int res1 = 0 ;
29932 PyObject *swig_obj[1] ;
29933
29934 if (!args) SWIG_fail;
29935 swig_obj[0] = args;
29936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29937 if (!SWIG_IsOK(res1)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29939 }
29940 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 resultobj = SWIG_From_int(static_cast< int >(result));
29948 return resultobj;
29949fail:
29950 return NULL;
d14a1e28
RD
29951}
29952
29953
0085ce49
RD
29954SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29955 PyObject *resultobj = 0;
29956 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29957 wxColour result;
29958 void *argp1 = 0 ;
29959 int res1 = 0 ;
29960 PyObject *swig_obj[1] ;
29961
29962 if (!args) SWIG_fail;
29963 swig_obj[0] = args;
29964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29965 if (!SWIG_IsOK(res1)) {
29966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29967 }
29968 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29969 {
29970 PyThreadState* __tstate = wxPyBeginAllowThreads();
29971 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
29972 wxPyEndAllowThreads(__tstate);
29973 if (PyErr_Occurred()) SWIG_fail;
29974 }
29975 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
29976 return resultobj;
29977fail:
29978 return NULL;
29979}
29980
29981
29982SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29983 PyObject *resultobj = 0;
29984 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29985 wxColour *arg2 = 0 ;
29986 void *argp1 = 0 ;
29987 int res1 = 0 ;
29988 wxColour temp2 ;
29989 PyObject * obj0 = 0 ;
29990 PyObject * obj1 = 0 ;
29991 char * kwnames[] = {
29992 (char *) "self",(char *) "col", NULL
29993 };
29994
29995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
29996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29997 if (!SWIG_IsOK(res1)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29999 }
30000 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30001 {
30002 arg2 = &temp2;
30003 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30004 }
30005 {
30006 PyThreadState* __tstate = wxPyBeginAllowThreads();
30007 (arg1)->SetTextColour((wxColour const &)*arg2);
30008 wxPyEndAllowThreads(__tstate);
30009 if (PyErr_Occurred()) SWIG_fail;
30010 }
30011 resultobj = SWIG_Py_Void();
30012 return resultobj;
30013fail:
30014 return NULL;
d14a1e28
RD
30015}
30016
30017
0085ce49
RD
30018SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30019 PyObject *resultobj = 0;
30020 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30021 long result;
30022 void *argp1 = 0 ;
30023 int res1 = 0 ;
30024 PyObject *swig_obj[1] ;
30025
30026 if (!args) SWIG_fail;
30027 swig_obj[0] = args;
30028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30029 if (!SWIG_IsOK(res1)) {
30030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30031 }
30032 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30033 {
30034 PyThreadState* __tstate = wxPyBeginAllowThreads();
30035 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30036 wxPyEndAllowThreads(__tstate);
30037 if (PyErr_Occurred()) SWIG_fail;
30038 }
30039 resultobj = SWIG_From_long(static_cast< long >(result));
30040 return resultobj;
30041fail:
30042 return NULL;
30043}
30044
30045
30046SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30047 PyObject *resultobj = 0;
30048 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30049 long arg2 ;
30050 bool arg3 = (bool) true ;
30051 void *argp1 = 0 ;
30052 int res1 = 0 ;
30053 long val2 ;
30054 int ecode2 = 0 ;
30055 bool val3 ;
30056 int ecode3 = 0 ;
30057 PyObject * obj0 = 0 ;
30058 PyObject * obj1 = 0 ;
30059 PyObject * obj2 = 0 ;
30060 char * kwnames[] = {
30061 (char *) "self",(char *) "style",(char *) "add", NULL
30062 };
30063
30064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30066 if (!SWIG_IsOK(res1)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30068 }
30069 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30070 ecode2 = SWIG_AsVal_long(obj1, &val2);
30071 if (!SWIG_IsOK(ecode2)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30073 }
30074 arg2 = static_cast< long >(val2);
30075 if (obj2) {
30076 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30077 if (!SWIG_IsOK(ecode3)) {
30078 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30079 }
30080 arg3 = static_cast< bool >(val3);
30081 }
30082 {
30083 PyThreadState* __tstate = wxPyBeginAllowThreads();
30084 (arg1)->SetSingleStyle(arg2,arg3);
30085 wxPyEndAllowThreads(__tstate);
30086 if (PyErr_Occurred()) SWIG_fail;
30087 }
30088 resultobj = SWIG_Py_Void();
30089 return resultobj;
30090fail:
30091 return NULL;
30092}
30093
30094
30095SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30096 PyObject *resultobj = 0;
30097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30098 long arg2 ;
30099 int arg3 = (int) wxLIST_NEXT_ALL ;
30100 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30101 long result;
30102 void *argp1 = 0 ;
30103 int res1 = 0 ;
30104 long val2 ;
30105 int ecode2 = 0 ;
30106 int val3 ;
30107 int ecode3 = 0 ;
30108 int val4 ;
30109 int ecode4 = 0 ;
30110 PyObject * obj0 = 0 ;
30111 PyObject * obj1 = 0 ;
30112 PyObject * obj2 = 0 ;
30113 PyObject * obj3 = 0 ;
30114 char * kwnames[] = {
30115 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30116 };
30117
30118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30120 if (!SWIG_IsOK(res1)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30122 }
30123 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30124 ecode2 = SWIG_AsVal_long(obj1, &val2);
30125 if (!SWIG_IsOK(ecode2)) {
30126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30127 }
30128 arg2 = static_cast< long >(val2);
30129 if (obj2) {
30130 ecode3 = SWIG_AsVal_int(obj2, &val3);
30131 if (!SWIG_IsOK(ecode3)) {
30132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30133 }
30134 arg3 = static_cast< int >(val3);
30135 }
30136 if (obj3) {
30137 ecode4 = SWIG_AsVal_int(obj3, &val4);
30138 if (!SWIG_IsOK(ecode4)) {
30139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30140 }
30141 arg4 = static_cast< int >(val4);
30142 }
30143 {
30144 PyThreadState* __tstate = wxPyBeginAllowThreads();
30145 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30146 wxPyEndAllowThreads(__tstate);
30147 if (PyErr_Occurred()) SWIG_fail;
30148 }
30149 resultobj = SWIG_From_long(static_cast< long >(result));
30150 return resultobj;
30151fail:
30152 return NULL;
30153}
30154
30155
30156SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30157 PyObject *resultobj = 0;
30158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30159 int arg2 ;
30160 wxImageList *result = 0 ;
30161 void *argp1 = 0 ;
30162 int res1 = 0 ;
30163 int val2 ;
30164 int ecode2 = 0 ;
30165 PyObject * obj0 = 0 ;
30166 PyObject * obj1 = 0 ;
30167 char * kwnames[] = {
30168 (char *) "self",(char *) "which", NULL
30169 };
30170
30171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30173 if (!SWIG_IsOK(res1)) {
30174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30175 }
30176 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30177 ecode2 = SWIG_AsVal_int(obj1, &val2);
30178 if (!SWIG_IsOK(ecode2)) {
30179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30180 }
30181 arg2 = static_cast< int >(val2);
30182 {
30183 PyThreadState* __tstate = wxPyBeginAllowThreads();
30184 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30185 wxPyEndAllowThreads(__tstate);
30186 if (PyErr_Occurred()) SWIG_fail;
30187 }
30188 {
30189 resultobj = wxPyMake_wxObject(result, (bool)0);
30190 }
30191 return resultobj;
30192fail:
30193 return NULL;
30194}
30195
30196
30197SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30198 PyObject *resultobj = 0;
30199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30200 wxImageList *arg2 = (wxImageList *) 0 ;
30201 int arg3 ;
30202 void *argp1 = 0 ;
30203 int res1 = 0 ;
30204 void *argp2 = 0 ;
30205 int res2 = 0 ;
30206 int val3 ;
30207 int ecode3 = 0 ;
30208 PyObject * obj0 = 0 ;
30209 PyObject * obj1 = 0 ;
30210 PyObject * obj2 = 0 ;
30211 char * kwnames[] = {
30212 (char *) "self",(char *) "imageList",(char *) "which", NULL
30213 };
30214
30215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30217 if (!SWIG_IsOK(res1)) {
30218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30219 }
30220 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30221 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30222 if (!SWIG_IsOK(res2)) {
30223 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30224 }
30225 arg2 = reinterpret_cast< wxImageList * >(argp2);
30226 ecode3 = SWIG_AsVal_int(obj2, &val3);
30227 if (!SWIG_IsOK(ecode3)) {
30228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30229 }
30230 arg3 = static_cast< int >(val3);
30231 {
30232 PyThreadState* __tstate = wxPyBeginAllowThreads();
30233 (arg1)->SetImageList(arg2,arg3);
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 resultobj = SWIG_Py_Void();
30238 return resultobj;
30239fail:
30240 return NULL;
30241}
30242
30243
30244SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj = 0;
30246 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30247 wxImageList *arg2 = (wxImageList *) 0 ;
30248 int arg3 ;
30249 void *argp1 = 0 ;
30250 int res1 = 0 ;
30251 int res2 = 0 ;
30252 int val3 ;
30253 int ecode3 = 0 ;
30254 PyObject * obj0 = 0 ;
30255 PyObject * obj1 = 0 ;
30256 PyObject * obj2 = 0 ;
30257 char * kwnames[] = {
30258 (char *) "self",(char *) "imageList",(char *) "which", NULL
30259 };
30260
30261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30263 if (!SWIG_IsOK(res1)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30265 }
30266 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30267 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30268 if (!SWIG_IsOK(res2)) {
30269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30270 }
30271 ecode3 = SWIG_AsVal_int(obj2, &val3);
30272 if (!SWIG_IsOK(ecode3)) {
30273 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30274 }
30275 arg3 = static_cast< int >(val3);
30276 {
30277 PyThreadState* __tstate = wxPyBeginAllowThreads();
30278 (arg1)->AssignImageList(arg2,arg3);
30279 wxPyEndAllowThreads(__tstate);
30280 if (PyErr_Occurred()) SWIG_fail;
30281 }
30282 resultobj = SWIG_Py_Void();
30283 return resultobj;
30284fail:
30285 return NULL;
d14a1e28
RD
30286}
30287
30288
0085ce49
RD
30289SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30290 PyObject *resultobj = 0;
30291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30292 bool result;
30293 void *argp1 = 0 ;
30294 int res1 = 0 ;
30295 PyObject *swig_obj[1] ;
30296
30297 if (!args) SWIG_fail;
30298 swig_obj[0] = args;
30299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30300 if (!SWIG_IsOK(res1)) {
30301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30302 }
30303 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30304 {
30305 PyThreadState* __tstate = wxPyBeginAllowThreads();
30306 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30307 wxPyEndAllowThreads(__tstate);
30308 if (PyErr_Occurred()) SWIG_fail;
30309 }
30310 {
30311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30312 }
30313 return resultobj;
30314fail:
30315 return NULL;
d14a1e28
RD
30316}
30317
30318
0085ce49
RD
30319SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30320 PyObject *resultobj = 0;
30321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30322 bool result;
30323 void *argp1 = 0 ;
30324 int res1 = 0 ;
30325 PyObject *swig_obj[1] ;
30326
30327 if (!args) SWIG_fail;
30328 swig_obj[0] = args;
30329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30330 if (!SWIG_IsOK(res1)) {
30331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30332 }
30333 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30337 wxPyEndAllowThreads(__tstate);
30338 if (PyErr_Occurred()) SWIG_fail;
30339 }
30340 {
30341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30342 }
30343 return resultobj;
30344fail:
30345 return NULL;
30346}
30347
30348
30349SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30350 PyObject *resultobj = 0;
30351 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30352 long arg2 ;
30353 void *argp1 = 0 ;
30354 int res1 = 0 ;
30355 long val2 ;
30356 int ecode2 = 0 ;
30357 PyObject * obj0 = 0 ;
30358 PyObject * obj1 = 0 ;
30359 char * kwnames[] = {
30360 (char *) "self",(char *) "item", NULL
30361 };
30362
30363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30365 if (!SWIG_IsOK(res1)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30367 }
30368 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30369 ecode2 = SWIG_AsVal_long(obj1, &val2);
30370 if (!SWIG_IsOK(ecode2)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30372 }
30373 arg2 = static_cast< long >(val2);
30374 {
30375 PyThreadState* __tstate = wxPyBeginAllowThreads();
30376 (arg1)->RefreshItem(arg2);
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 resultobj = SWIG_Py_Void();
30381 return resultobj;
30382fail:
30383 return NULL;
30384}
30385
30386
30387SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30388 PyObject *resultobj = 0;
30389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30390 long arg2 ;
30391 long arg3 ;
30392 void *argp1 = 0 ;
30393 int res1 = 0 ;
30394 long val2 ;
30395 int ecode2 = 0 ;
30396 long val3 ;
30397 int ecode3 = 0 ;
30398 PyObject * obj0 = 0 ;
30399 PyObject * obj1 = 0 ;
30400 PyObject * obj2 = 0 ;
30401 char * kwnames[] = {
30402 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30403 };
30404
30405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30407 if (!SWIG_IsOK(res1)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30409 }
30410 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30411 ecode2 = SWIG_AsVal_long(obj1, &val2);
30412 if (!SWIG_IsOK(ecode2)) {
30413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30414 }
30415 arg2 = static_cast< long >(val2);
30416 ecode3 = SWIG_AsVal_long(obj2, &val3);
30417 if (!SWIG_IsOK(ecode3)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30419 }
30420 arg3 = static_cast< long >(val3);
30421 {
30422 PyThreadState* __tstate = wxPyBeginAllowThreads();
30423 (arg1)->RefreshItems(arg2,arg3);
30424 wxPyEndAllowThreads(__tstate);
30425 if (PyErr_Occurred()) SWIG_fail;
30426 }
30427 resultobj = SWIG_Py_Void();
30428 return resultobj;
30429fail:
30430 return NULL;
30431}
30432
30433
30434SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30435 PyObject *resultobj = 0;
30436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30437 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30438 bool result;
30439 void *argp1 = 0 ;
30440 int res1 = 0 ;
30441 int val2 ;
30442 int ecode2 = 0 ;
30443 PyObject * obj0 = 0 ;
30444 PyObject * obj1 = 0 ;
30445 char * kwnames[] = {
30446 (char *) "self",(char *) "flag", NULL
30447 };
30448
30449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30451 if (!SWIG_IsOK(res1)) {
30452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30453 }
30454 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30455 if (obj1) {
30456 ecode2 = SWIG_AsVal_int(obj1, &val2);
30457 if (!SWIG_IsOK(ecode2)) {
30458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30459 }
30460 arg2 = static_cast< int >(val2);
30461 }
30462 {
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 result = (bool)(arg1)->Arrange(arg2);
30465 wxPyEndAllowThreads(__tstate);
30466 if (PyErr_Occurred()) SWIG_fail;
30467 }
30468 {
30469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30470 }
30471 return resultobj;
30472fail:
30473 return NULL;
30474}
30475
30476
30477SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30478 PyObject *resultobj = 0;
30479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30480 long arg2 ;
30481 bool result;
30482 void *argp1 = 0 ;
30483 int res1 = 0 ;
30484 long val2 ;
30485 int ecode2 = 0 ;
30486 PyObject * obj0 = 0 ;
30487 PyObject * obj1 = 0 ;
30488 char * kwnames[] = {
30489 (char *) "self",(char *) "item", NULL
30490 };
30491
30492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30494 if (!SWIG_IsOK(res1)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30496 }
30497 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30498 ecode2 = SWIG_AsVal_long(obj1, &val2);
30499 if (!SWIG_IsOK(ecode2)) {
30500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30501 }
30502 arg2 = static_cast< long >(val2);
30503 {
30504 PyThreadState* __tstate = wxPyBeginAllowThreads();
30505 result = (bool)(arg1)->DeleteItem(arg2);
30506 wxPyEndAllowThreads(__tstate);
30507 if (PyErr_Occurred()) SWIG_fail;
30508 }
30509 {
30510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30511 }
30512 return resultobj;
30513fail:
30514 return NULL;
7e08d4ef
RD
30515}
30516
30517
0085ce49
RD
30518SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30519 PyObject *resultobj = 0;
30520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30521 bool result;
30522 void *argp1 = 0 ;
30523 int res1 = 0 ;
30524 PyObject *swig_obj[1] ;
30525
30526 if (!args) SWIG_fail;
30527 swig_obj[0] = args;
30528 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30529 if (!SWIG_IsOK(res1)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30531 }
30532 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30533 {
30534 PyThreadState* __tstate = wxPyBeginAllowThreads();
30535 result = (bool)(arg1)->DeleteAllItems();
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 {
30540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30541 }
30542 return resultobj;
30543fail:
30544 return NULL;
30545}
30546
30547
30548SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30549 PyObject *resultobj = 0;
30550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30551 int arg2 ;
30552 bool result;
30553 void *argp1 = 0 ;
30554 int res1 = 0 ;
30555 int val2 ;
30556 int ecode2 = 0 ;
30557 PyObject * obj0 = 0 ;
30558 PyObject * obj1 = 0 ;
30559 char * kwnames[] = {
30560 (char *) "self",(char *) "col", NULL
30561 };
30562
30563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30565 if (!SWIG_IsOK(res1)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30567 }
30568 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30569 ecode2 = SWIG_AsVal_int(obj1, &val2);
30570 if (!SWIG_IsOK(ecode2)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30572 }
30573 arg2 = static_cast< int >(val2);
30574 {
30575 PyThreadState* __tstate = wxPyBeginAllowThreads();
30576 result = (bool)(arg1)->DeleteColumn(arg2);
30577 wxPyEndAllowThreads(__tstate);
30578 if (PyErr_Occurred()) SWIG_fail;
30579 }
30580 {
30581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30582 }
30583 return resultobj;
30584fail:
30585 return NULL;
7e08d4ef
RD
30586}
30587
30588
0085ce49
RD
30589SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30590 PyObject *resultobj = 0;
30591 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30592 bool result;
30593 void *argp1 = 0 ;
30594 int res1 = 0 ;
30595 PyObject *swig_obj[1] ;
30596
30597 if (!args) SWIG_fail;
30598 swig_obj[0] = args;
30599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30600 if (!SWIG_IsOK(res1)) {
30601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30602 }
30603 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30604 {
30605 PyThreadState* __tstate = wxPyBeginAllowThreads();
30606 result = (bool)(arg1)->DeleteAllColumns();
30607 wxPyEndAllowThreads(__tstate);
30608 if (PyErr_Occurred()) SWIG_fail;
30609 }
30610 {
30611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30612 }
30613 return resultobj;
30614fail:
30615 return NULL;
7e08d4ef
RD
30616}
30617
30618
0085ce49
RD
30619SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30620 PyObject *resultobj = 0;
30621 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30622 void *argp1 = 0 ;
30623 int res1 = 0 ;
30624 PyObject *swig_obj[1] ;
30625
30626 if (!args) SWIG_fail;
30627 swig_obj[0] = args;
30628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30629 if (!SWIG_IsOK(res1)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30631 }
30632 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 (arg1)->ClearAll();
30636 wxPyEndAllowThreads(__tstate);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 resultobj = SWIG_Py_Void();
30640 return resultobj;
30641fail:
30642 return NULL;
30643}
30644
30645
30646SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30647 PyObject *resultobj = 0;
30648 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30649 long arg2 ;
30650 void *argp1 = 0 ;
30651 int res1 = 0 ;
30652 long val2 ;
30653 int ecode2 = 0 ;
30654 PyObject * obj0 = 0 ;
30655 PyObject * obj1 = 0 ;
30656 char * kwnames[] = {
30657 (char *) "self",(char *) "item", NULL
30658 };
30659
30660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30662 if (!SWIG_IsOK(res1)) {
30663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30664 }
30665 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30666 ecode2 = SWIG_AsVal_long(obj1, &val2);
30667 if (!SWIG_IsOK(ecode2)) {
30668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30669 }
30670 arg2 = static_cast< long >(val2);
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 (arg1)->EditLabel(arg2);
30674 wxPyEndAllowThreads(__tstate);
30675 if (PyErr_Occurred()) SWIG_fail;
30676 }
30677 resultobj = SWIG_Py_Void();
30678 return resultobj;
30679fail:
30680 return NULL;
30681}
30682
30683
30684SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30685 PyObject *resultobj = 0;
30686 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30687 long arg2 ;
30688 bool result;
30689 void *argp1 = 0 ;
30690 int res1 = 0 ;
30691 long val2 ;
30692 int ecode2 = 0 ;
30693 PyObject * obj0 = 0 ;
30694 PyObject * obj1 = 0 ;
30695 char * kwnames[] = {
30696 (char *) "self",(char *) "item", NULL
30697 };
30698
30699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
30700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30701 if (!SWIG_IsOK(res1)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30703 }
30704 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30705 ecode2 = SWIG_AsVal_long(obj1, &val2);
30706 if (!SWIG_IsOK(ecode2)) {
30707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30708 }
30709 arg2 = static_cast< long >(val2);
30710 {
30711 PyThreadState* __tstate = wxPyBeginAllowThreads();
30712 result = (bool)(arg1)->EnsureVisible(arg2);
30713 wxPyEndAllowThreads(__tstate);
30714 if (PyErr_Occurred()) SWIG_fail;
30715 }
30716 {
30717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30718 }
30719 return resultobj;
30720fail:
30721 return NULL;
30722}
30723
30724
30725SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj = 0;
30727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30728 long arg2 ;
30729 wxString *arg3 = 0 ;
30730 bool arg4 = (bool) false ;
30731 long result;
30732 void *argp1 = 0 ;
30733 int res1 = 0 ;
30734 long val2 ;
30735 int ecode2 = 0 ;
30736 bool temp3 = false ;
30737 bool val4 ;
30738 int ecode4 = 0 ;
30739 PyObject * obj0 = 0 ;
30740 PyObject * obj1 = 0 ;
30741 PyObject * obj2 = 0 ;
30742 PyObject * obj3 = 0 ;
30743 char * kwnames[] = {
30744 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30745 };
30746
30747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30749 if (!SWIG_IsOK(res1)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30751 }
30752 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30753 ecode2 = SWIG_AsVal_long(obj1, &val2);
30754 if (!SWIG_IsOK(ecode2)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30756 }
30757 arg2 = static_cast< long >(val2);
30758 {
30759 arg3 = wxString_in_helper(obj2);
30760 if (arg3 == NULL) SWIG_fail;
30761 temp3 = true;
30762 }
30763 if (obj3) {
30764 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30765 if (!SWIG_IsOK(ecode4)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30767 }
30768 arg4 = static_cast< bool >(val4);
30769 }
30770 {
30771 PyThreadState* __tstate = wxPyBeginAllowThreads();
30772 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
30773 wxPyEndAllowThreads(__tstate);
30774 if (PyErr_Occurred()) SWIG_fail;
30775 }
30776 resultobj = SWIG_From_long(static_cast< long >(result));
30777 {
30778 if (temp3)
30779 delete arg3;
30780 }
30781 return resultobj;
30782fail:
30783 {
30784 if (temp3)
30785 delete arg3;
30786 }
30787 return NULL;
30788}
30789
30790
30791SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30792 PyObject *resultobj = 0;
30793 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30794 long arg2 ;
30795 long arg3 ;
30796 long result;
30797 void *argp1 = 0 ;
30798 int res1 = 0 ;
30799 long val2 ;
30800 int ecode2 = 0 ;
30801 long val3 ;
30802 int ecode3 = 0 ;
30803 PyObject * obj0 = 0 ;
30804 PyObject * obj1 = 0 ;
30805 PyObject * obj2 = 0 ;
30806 char * kwnames[] = {
30807 (char *) "self",(char *) "start",(char *) "data", NULL
30808 };
30809
30810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30812 if (!SWIG_IsOK(res1)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30814 }
30815 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30816 ecode2 = SWIG_AsVal_long(obj1, &val2);
30817 if (!SWIG_IsOK(ecode2)) {
30818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30819 }
30820 arg2 = static_cast< long >(val2);
30821 ecode3 = SWIG_AsVal_long(obj2, &val3);
30822 if (!SWIG_IsOK(ecode3)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30824 }
30825 arg3 = static_cast< long >(val3);
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
30828 result = (long)(arg1)->FindItem(arg2,arg3);
30829 wxPyEndAllowThreads(__tstate);
30830 if (PyErr_Occurred()) SWIG_fail;
30831 }
30832 resultobj = SWIG_From_long(static_cast< long >(result));
30833 return resultobj;
30834fail:
30835 return NULL;
30836}
30837
30838
30839SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30840 PyObject *resultobj = 0;
30841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30842 long arg2 ;
30843 wxPoint *arg3 = 0 ;
30844 int arg4 ;
30845 long result;
30846 void *argp1 = 0 ;
30847 int res1 = 0 ;
30848 long val2 ;
30849 int ecode2 = 0 ;
30850 wxPoint temp3 ;
30851 int val4 ;
30852 int ecode4 = 0 ;
30853 PyObject * obj0 = 0 ;
30854 PyObject * obj1 = 0 ;
30855 PyObject * obj2 = 0 ;
30856 PyObject * obj3 = 0 ;
30857 char * kwnames[] = {
30858 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30859 };
30860
30861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30863 if (!SWIG_IsOK(res1)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30865 }
30866 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30867 ecode2 = SWIG_AsVal_long(obj1, &val2);
30868 if (!SWIG_IsOK(ecode2)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30870 }
30871 arg2 = static_cast< long >(val2);
30872 {
30873 arg3 = &temp3;
30874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30875 }
30876 ecode4 = SWIG_AsVal_int(obj3, &val4);
30877 if (!SWIG_IsOK(ecode4)) {
30878 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30879 }
30880 arg4 = static_cast< int >(val4);
30881 {
30882 PyThreadState* __tstate = wxPyBeginAllowThreads();
30883 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 resultobj = SWIG_From_long(static_cast< long >(result));
30888 return resultobj;
30889fail:
30890 return NULL;
30891}
30892
30893
30894SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30895 PyObject *resultobj = 0;
30896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30897 wxPoint *arg2 = 0 ;
30898 int *arg3 = 0 ;
30899 long result;
30900 void *argp1 = 0 ;
30901 int res1 = 0 ;
30902 wxPoint temp2 ;
30903 int temp3 ;
30904 int res3 = SWIG_TMPOBJ ;
30905 PyObject * obj0 = 0 ;
30906 PyObject * obj1 = 0 ;
30907 char * kwnames[] = {
30908 (char *) "self",(char *) "point", NULL
30909 };
30910
30911 arg3 = &temp3;
30912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
30913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30914 if (!SWIG_IsOK(res1)) {
30915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30916 }
30917 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30918 {
30919 arg2 = &temp2;
30920 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30921 }
30922 {
30923 PyThreadState* __tstate = wxPyBeginAllowThreads();
30924 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
30925 wxPyEndAllowThreads(__tstate);
30926 if (PyErr_Occurred()) SWIG_fail;
30927 }
30928 resultobj = SWIG_From_long(static_cast< long >(result));
30929 if (SWIG_IsTmpObj(res3)) {
30930 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30931 } else {
30932 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30933 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30934 }
30935 return resultobj;
30936fail:
30937 return NULL;
30938}
30939
30940
704eda0c
RD
30941SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30942 PyObject *resultobj = 0;
30943 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30944 wxPoint *arg2 = 0 ;
30945 int *arg3 = 0 ;
30946 long *arg4 = (long *) 0 ;
30947 long result;
30948 void *argp1 = 0 ;
30949 int res1 = 0 ;
30950 wxPoint temp2 ;
30951 int temp3 ;
30952 int res3 = SWIG_TMPOBJ ;
30953 long temp4 ;
30954 int res4 = SWIG_TMPOBJ ;
30955 PyObject * obj0 = 0 ;
30956 PyObject * obj1 = 0 ;
30957 char * kwnames[] = {
30958 (char *) "self",(char *) "point", NULL
30959 };
30960
30961 arg3 = &temp3;
30962 arg4 = &temp4;
30963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
30964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30965 if (!SWIG_IsOK(res1)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30967 }
30968 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30969 {
30970 arg2 = &temp2;
30971 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30972 }
30973 {
30974 PyThreadState* __tstate = wxPyBeginAllowThreads();
30975 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
30976 wxPyEndAllowThreads(__tstate);
30977 if (PyErr_Occurred()) SWIG_fail;
30978 }
30979 resultobj = SWIG_From_long(static_cast< long >(result));
30980 if (SWIG_IsTmpObj(res3)) {
30981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
30982 } else {
30983 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30984 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
30985 }
30986 if (SWIG_IsTmpObj(res4)) {
30987 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
30988 } else {
30989 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
30990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
30991 }
30992 return resultobj;
30993fail:
30994 return NULL;
30995}
30996
30997
0085ce49
RD
30998SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30999 PyObject *resultobj = 0;
31000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31001 wxListItem *arg2 = 0 ;
31002 long result;
31003 void *argp1 = 0 ;
31004 int res1 = 0 ;
31005 void *argp2 = 0 ;
31006 int res2 = 0 ;
31007 PyObject * obj0 = 0 ;
31008 PyObject * obj1 = 0 ;
31009 char * kwnames[] = {
31010 (char *) "self",(char *) "info", NULL
31011 };
31012
31013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31015 if (!SWIG_IsOK(res1)) {
31016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31017 }
31018 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31019 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31020 if (!SWIG_IsOK(res2)) {
31021 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31022 }
31023 if (!argp2) {
31024 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31025 }
31026 arg2 = reinterpret_cast< wxListItem * >(argp2);
31027 {
31028 PyThreadState* __tstate = wxPyBeginAllowThreads();
31029 result = (long)(arg1)->InsertItem(*arg2);
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
31033 resultobj = SWIG_From_long(static_cast< long >(result));
31034 return resultobj;
31035fail:
31036 return NULL;
31037}
31038
31039
31040SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31041 PyObject *resultobj = 0;
31042 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31043 long arg2 ;
31044 wxString *arg3 = 0 ;
31045 int arg4 = (int) -1 ;
31046 long result;
31047 void *argp1 = 0 ;
31048 int res1 = 0 ;
31049 long val2 ;
31050 int ecode2 = 0 ;
31051 bool temp3 = false ;
31052 int val4 ;
31053 int ecode4 = 0 ;
31054 PyObject * obj0 = 0 ;
31055 PyObject * obj1 = 0 ;
31056 PyObject * obj2 = 0 ;
31057 PyObject * obj3 = 0 ;
31058 char * kwnames[] = {
31059 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31060 };
31061
31062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31064 if (!SWIG_IsOK(res1)) {
31065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31066 }
31067 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31068 ecode2 = SWIG_AsVal_long(obj1, &val2);
31069 if (!SWIG_IsOK(ecode2)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31071 }
31072 arg2 = static_cast< long >(val2);
31073 {
31074 arg3 = wxString_in_helper(obj2);
31075 if (arg3 == NULL) SWIG_fail;
31076 temp3 = true;
31077 }
31078 if (obj3) {
31079 ecode4 = SWIG_AsVal_int(obj3, &val4);
31080 if (!SWIG_IsOK(ecode4)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31082 }
31083 arg4 = static_cast< int >(val4);
31084 }
31085 {
31086 PyThreadState* __tstate = wxPyBeginAllowThreads();
31087 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31088 wxPyEndAllowThreads(__tstate);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 }
31091 resultobj = SWIG_From_long(static_cast< long >(result));
31092 {
31093 if (temp3)
31094 delete arg3;
31095 }
31096 return resultobj;
31097fail:
31098 {
31099 if (temp3)
31100 delete arg3;
31101 }
31102 return NULL;
31103}
31104
31105
31106SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31107 PyObject *resultobj = 0;
31108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31109 long arg2 ;
31110 int arg3 ;
31111 long result;
31112 void *argp1 = 0 ;
31113 int res1 = 0 ;
31114 long val2 ;
31115 int ecode2 = 0 ;
31116 int val3 ;
31117 int ecode3 = 0 ;
31118 PyObject * obj0 = 0 ;
31119 PyObject * obj1 = 0 ;
31120 PyObject * obj2 = 0 ;
31121 char * kwnames[] = {
31122 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31123 };
31124
31125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31127 if (!SWIG_IsOK(res1)) {
31128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31129 }
31130 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31131 ecode2 = SWIG_AsVal_long(obj1, &val2);
31132 if (!SWIG_IsOK(ecode2)) {
31133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31134 }
31135 arg2 = static_cast< long >(val2);
31136 ecode3 = SWIG_AsVal_int(obj2, &val3);
31137 if (!SWIG_IsOK(ecode3)) {
31138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31139 }
31140 arg3 = static_cast< int >(val3);
31141 {
31142 PyThreadState* __tstate = wxPyBeginAllowThreads();
31143 result = (long)(arg1)->InsertItem(arg2,arg3);
31144 wxPyEndAllowThreads(__tstate);
31145 if (PyErr_Occurred()) SWIG_fail;
31146 }
31147 resultobj = SWIG_From_long(static_cast< long >(result));
31148 return resultobj;
31149fail:
31150 return NULL;
31151}
31152
31153
31154SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31155 PyObject *resultobj = 0;
31156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31157 long arg2 ;
31158 wxString *arg3 = 0 ;
31159 int arg4 ;
31160 long result;
31161 void *argp1 = 0 ;
31162 int res1 = 0 ;
31163 long val2 ;
31164 int ecode2 = 0 ;
31165 bool temp3 = false ;
31166 int val4 ;
31167 int ecode4 = 0 ;
31168 PyObject * obj0 = 0 ;
31169 PyObject * obj1 = 0 ;
31170 PyObject * obj2 = 0 ;
31171 PyObject * obj3 = 0 ;
31172 char * kwnames[] = {
31173 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31174 };
31175
31176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31178 if (!SWIG_IsOK(res1)) {
31179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31180 }
31181 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31182 ecode2 = SWIG_AsVal_long(obj1, &val2);
31183 if (!SWIG_IsOK(ecode2)) {
31184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31185 }
31186 arg2 = static_cast< long >(val2);
31187 {
31188 arg3 = wxString_in_helper(obj2);
31189 if (arg3 == NULL) SWIG_fail;
31190 temp3 = true;
31191 }
31192 ecode4 = SWIG_AsVal_int(obj3, &val4);
31193 if (!SWIG_IsOK(ecode4)) {
31194 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31195 }
31196 arg4 = static_cast< int >(val4);
31197 {
31198 PyThreadState* __tstate = wxPyBeginAllowThreads();
31199 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31200 wxPyEndAllowThreads(__tstate);
31201 if (PyErr_Occurred()) SWIG_fail;
31202 }
31203 resultobj = SWIG_From_long(static_cast< long >(result));
31204 {
31205 if (temp3)
31206 delete arg3;
31207 }
31208 return resultobj;
31209fail:
31210 {
31211 if (temp3)
31212 delete arg3;
31213 }
31214 return NULL;
31215}
31216
31217
31218SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31219 PyObject *resultobj = 0;
31220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31221 long arg2 ;
31222 wxListItem *arg3 = 0 ;
31223 long result;
31224 void *argp1 = 0 ;
31225 int res1 = 0 ;
31226 long val2 ;
31227 int ecode2 = 0 ;
31228 void *argp3 = 0 ;
31229 int res3 = 0 ;
31230 PyObject * obj0 = 0 ;
31231 PyObject * obj1 = 0 ;
31232 PyObject * obj2 = 0 ;
31233 char * kwnames[] = {
31234 (char *) "self",(char *) "col",(char *) "info", NULL
31235 };
31236
31237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31239 if (!SWIG_IsOK(res1)) {
31240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31241 }
31242 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31243 ecode2 = SWIG_AsVal_long(obj1, &val2);
31244 if (!SWIG_IsOK(ecode2)) {
31245 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31246 }
31247 arg2 = static_cast< long >(val2);
31248 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31249 if (!SWIG_IsOK(res3)) {
31250 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31251 }
31252 if (!argp3) {
31253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31254 }
31255 arg3 = reinterpret_cast< wxListItem * >(argp3);
31256 {
31257 PyThreadState* __tstate = wxPyBeginAllowThreads();
31258 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31259 wxPyEndAllowThreads(__tstate);
31260 if (PyErr_Occurred()) SWIG_fail;
31261 }
31262 resultobj = SWIG_From_long(static_cast< long >(result));
31263 return resultobj;
31264fail:
31265 return NULL;
31266}
31267
31268
31269SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31270 PyObject *resultobj = 0;
31271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31272 long arg2 ;
31273 wxString *arg3 = 0 ;
31274 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31275 int arg5 = (int) -1 ;
31276 long result;
31277 void *argp1 = 0 ;
31278 int res1 = 0 ;
31279 long val2 ;
31280 int ecode2 = 0 ;
31281 bool temp3 = false ;
31282 int val4 ;
31283 int ecode4 = 0 ;
31284 int val5 ;
31285 int ecode5 = 0 ;
31286 PyObject * obj0 = 0 ;
31287 PyObject * obj1 = 0 ;
31288 PyObject * obj2 = 0 ;
31289 PyObject * obj3 = 0 ;
31290 PyObject * obj4 = 0 ;
31291 char * kwnames[] = {
31292 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31293 };
31294
31295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31297 if (!SWIG_IsOK(res1)) {
31298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31299 }
31300 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31301 ecode2 = SWIG_AsVal_long(obj1, &val2);
31302 if (!SWIG_IsOK(ecode2)) {
31303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31304 }
31305 arg2 = static_cast< long >(val2);
31306 {
31307 arg3 = wxString_in_helper(obj2);
31308 if (arg3 == NULL) SWIG_fail;
31309 temp3 = true;
31310 }
31311 if (obj3) {
31312 ecode4 = SWIG_AsVal_int(obj3, &val4);
31313 if (!SWIG_IsOK(ecode4)) {
31314 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31315 }
31316 arg4 = static_cast< int >(val4);
31317 }
31318 if (obj4) {
31319 ecode5 = SWIG_AsVal_int(obj4, &val5);
31320 if (!SWIG_IsOK(ecode5)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31322 }
31323 arg5 = static_cast< int >(val5);
31324 }
31325 {
31326 PyThreadState* __tstate = wxPyBeginAllowThreads();
31327 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31328 wxPyEndAllowThreads(__tstate);
31329 if (PyErr_Occurred()) SWIG_fail;
31330 }
31331 resultobj = SWIG_From_long(static_cast< long >(result));
31332 {
31333 if (temp3)
31334 delete arg3;
31335 }
31336 return resultobj;
31337fail:
31338 {
31339 if (temp3)
31340 delete arg3;
31341 }
31342 return NULL;
31343}
31344
31345
31346SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31347 PyObject *resultobj = 0;
31348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31349 long arg2 ;
31350 void *argp1 = 0 ;
31351 int res1 = 0 ;
31352 long val2 ;
31353 int ecode2 = 0 ;
31354 PyObject * obj0 = 0 ;
31355 PyObject * obj1 = 0 ;
31356 char * kwnames[] = {
31357 (char *) "self",(char *) "count", NULL
31358 };
31359
31360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31362 if (!SWIG_IsOK(res1)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31364 }
31365 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31366 ecode2 = SWIG_AsVal_long(obj1, &val2);
31367 if (!SWIG_IsOK(ecode2)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31369 }
31370 arg2 = static_cast< long >(val2);
31371 {
31372 PyThreadState* __tstate = wxPyBeginAllowThreads();
31373 (arg1)->SetItemCount(arg2);
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 resultobj = SWIG_Py_Void();
31378 return resultobj;
31379fail:
31380 return NULL;
31381}
31382
31383
31384SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31385 PyObject *resultobj = 0;
31386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31387 int arg2 ;
31388 int arg3 ;
31389 bool result;
31390 void *argp1 = 0 ;
31391 int res1 = 0 ;
31392 int val2 ;
31393 int ecode2 = 0 ;
31394 int val3 ;
31395 int ecode3 = 0 ;
31396 PyObject * obj0 = 0 ;
31397 PyObject * obj1 = 0 ;
31398 PyObject * obj2 = 0 ;
31399 char * kwnames[] = {
31400 (char *) "self",(char *) "dx",(char *) "dy", NULL
31401 };
31402
31403 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31404 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31405 if (!SWIG_IsOK(res1)) {
31406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31407 }
31408 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31409 ecode2 = SWIG_AsVal_int(obj1, &val2);
31410 if (!SWIG_IsOK(ecode2)) {
31411 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31412 }
31413 arg2 = static_cast< int >(val2);
31414 ecode3 = SWIG_AsVal_int(obj2, &val3);
31415 if (!SWIG_IsOK(ecode3)) {
31416 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31417 }
31418 arg3 = static_cast< int >(val3);
31419 {
31420 PyThreadState* __tstate = wxPyBeginAllowThreads();
31421 result = (bool)(arg1)->ScrollList(arg2,arg3);
31422 wxPyEndAllowThreads(__tstate);
31423 if (PyErr_Occurred()) SWIG_fail;
31424 }
31425 {
31426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31427 }
31428 return resultobj;
31429fail:
31430 return NULL;
31431}
31432
31433
31434SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31435 PyObject *resultobj = 0;
31436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31437 long arg2 ;
31438 wxColour *arg3 = 0 ;
31439 void *argp1 = 0 ;
31440 int res1 = 0 ;
31441 long val2 ;
31442 int ecode2 = 0 ;
31443 wxColour temp3 ;
31444 PyObject * obj0 = 0 ;
31445 PyObject * obj1 = 0 ;
31446 PyObject * obj2 = 0 ;
31447 char * kwnames[] = {
31448 (char *) "self",(char *) "item",(char *) "col", NULL
31449 };
31450
31451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31453 if (!SWIG_IsOK(res1)) {
31454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31455 }
31456 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31457 ecode2 = SWIG_AsVal_long(obj1, &val2);
31458 if (!SWIG_IsOK(ecode2)) {
31459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31460 }
31461 arg2 = static_cast< long >(val2);
31462 {
31463 arg3 = &temp3;
31464 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31465 }
31466 {
31467 PyThreadState* __tstate = wxPyBeginAllowThreads();
31468 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31469 wxPyEndAllowThreads(__tstate);
31470 if (PyErr_Occurred()) SWIG_fail;
31471 }
31472 resultobj = SWIG_Py_Void();
31473 return resultobj;
31474fail:
31475 return NULL;
31476}
31477
31478
31479SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31480 PyObject *resultobj = 0;
31481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31482 long arg2 ;
31483 wxColour result;
31484 void *argp1 = 0 ;
31485 int res1 = 0 ;
31486 long val2 ;
31487 int ecode2 = 0 ;
31488 PyObject * obj0 = 0 ;
31489 PyObject * obj1 = 0 ;
31490 char * kwnames[] = {
31491 (char *) "self",(char *) "item", NULL
31492 };
31493
31494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31496 if (!SWIG_IsOK(res1)) {
31497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31498 }
31499 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31500 ecode2 = SWIG_AsVal_long(obj1, &val2);
31501 if (!SWIG_IsOK(ecode2)) {
31502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31503 }
31504 arg2 = static_cast< long >(val2);
31505 {
31506 PyThreadState* __tstate = wxPyBeginAllowThreads();
31507 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31508 wxPyEndAllowThreads(__tstate);
31509 if (PyErr_Occurred()) SWIG_fail;
31510 }
31511 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31512 return resultobj;
31513fail:
31514 return NULL;
31515}
31516
31517
31518SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31519 PyObject *resultobj = 0;
31520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31521 long arg2 ;
31522 wxColour *arg3 = 0 ;
31523 void *argp1 = 0 ;
31524 int res1 = 0 ;
31525 long val2 ;
31526 int ecode2 = 0 ;
31527 wxColour temp3 ;
31528 PyObject * obj0 = 0 ;
31529 PyObject * obj1 = 0 ;
31530 PyObject * obj2 = 0 ;
31531 char * kwnames[] = {
31532 (char *) "self",(char *) "item",(char *) "col", NULL
31533 };
31534
31535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31537 if (!SWIG_IsOK(res1)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31539 }
31540 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31541 ecode2 = SWIG_AsVal_long(obj1, &val2);
31542 if (!SWIG_IsOK(ecode2)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31544 }
31545 arg2 = static_cast< long >(val2);
31546 {
31547 arg3 = &temp3;
31548 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31549 }
31550 {
31551 PyThreadState* __tstate = wxPyBeginAllowThreads();
31552 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31553 wxPyEndAllowThreads(__tstate);
31554 if (PyErr_Occurred()) SWIG_fail;
31555 }
31556 resultobj = SWIG_Py_Void();
31557 return resultobj;
31558fail:
31559 return NULL;
31560}
31561
31562
31563SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31564 PyObject *resultobj = 0;
31565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31566 long arg2 ;
31567 wxColour result;
31568 void *argp1 = 0 ;
31569 int res1 = 0 ;
31570 long val2 ;
31571 int ecode2 = 0 ;
31572 PyObject * obj0 = 0 ;
31573 PyObject * obj1 = 0 ;
31574 char * kwnames[] = {
31575 (char *) "self",(char *) "item", NULL
31576 };
31577
31578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31580 if (!SWIG_IsOK(res1)) {
31581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31582 }
31583 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31584 ecode2 = SWIG_AsVal_long(obj1, &val2);
31585 if (!SWIG_IsOK(ecode2)) {
31586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31587 }
31588 arg2 = static_cast< long >(val2);
31589 {
31590 PyThreadState* __tstate = wxPyBeginAllowThreads();
31591 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31592 wxPyEndAllowThreads(__tstate);
31593 if (PyErr_Occurred()) SWIG_fail;
31594 }
31595 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31596 return resultobj;
31597fail:
31598 return NULL;
31599}
31600
31601
31602SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31603 PyObject *resultobj = 0;
31604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31605 long arg2 ;
31606 wxFont *arg3 = 0 ;
31607 void *argp1 = 0 ;
31608 int res1 = 0 ;
31609 long val2 ;
31610 int ecode2 = 0 ;
31611 void *argp3 = 0 ;
31612 int res3 = 0 ;
31613 PyObject * obj0 = 0 ;
31614 PyObject * obj1 = 0 ;
31615 PyObject * obj2 = 0 ;
31616 char * kwnames[] = {
31617 (char *) "self",(char *) "item",(char *) "f", NULL
31618 };
31619
31620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31622 if (!SWIG_IsOK(res1)) {
31623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31624 }
31625 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31626 ecode2 = SWIG_AsVal_long(obj1, &val2);
31627 if (!SWIG_IsOK(ecode2)) {
31628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31629 }
31630 arg2 = static_cast< long >(val2);
31631 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
31632 if (!SWIG_IsOK(res3)) {
31633 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31634 }
31635 if (!argp3) {
31636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31637 }
31638 arg3 = reinterpret_cast< wxFont * >(argp3);
31639 {
31640 PyThreadState* __tstate = wxPyBeginAllowThreads();
31641 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
31642 wxPyEndAllowThreads(__tstate);
31643 if (PyErr_Occurred()) SWIG_fail;
31644 }
31645 resultobj = SWIG_Py_Void();
31646 return resultobj;
31647fail:
31648 return NULL;
31649}
31650
31651
31652SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31653 PyObject *resultobj = 0;
31654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31655 long arg2 ;
31656 wxFont result;
31657 void *argp1 = 0 ;
31658 int res1 = 0 ;
31659 long val2 ;
31660 int ecode2 = 0 ;
31661 PyObject * obj0 = 0 ;
31662 PyObject * obj1 = 0 ;
31663 char * kwnames[] = {
31664 (char *) "self",(char *) "item", NULL
31665 };
31666
31667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
31668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31669 if (!SWIG_IsOK(res1)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31671 }
31672 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31673 ecode2 = SWIG_AsVal_long(obj1, &val2);
31674 if (!SWIG_IsOK(ecode2)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31676 }
31677 arg2 = static_cast< long >(val2);
31678 {
31679 PyThreadState* __tstate = wxPyBeginAllowThreads();
31680 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
31681 wxPyEndAllowThreads(__tstate);
31682 if (PyErr_Occurred()) SWIG_fail;
31683 }
31684 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
31685 return resultobj;
31686fail:
31687 return NULL;
31688}
31689
31690
31691SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31692 PyObject *resultobj = 0;
31693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31694 PyObject *arg2 = (PyObject *) 0 ;
31695 bool result;
31696 void *argp1 = 0 ;
31697 int res1 = 0 ;
31698 PyObject * obj0 = 0 ;
31699 PyObject * obj1 = 0 ;
31700 char * kwnames[] = {
31701 (char *) "self",(char *) "func", NULL
31702 };
31703
31704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
31705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31706 if (!SWIG_IsOK(res1)) {
31707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31708 }
31709 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31710 arg2 = obj1;
31711 {
31712 PyThreadState* __tstate = wxPyBeginAllowThreads();
31713 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
31714 wxPyEndAllowThreads(__tstate);
31715 if (PyErr_Occurred()) SWIG_fail;
31716 }
31717 {
31718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31719 }
31720 return resultobj;
31721fail:
31722 return NULL;
7e08d4ef
RD
31723}
31724
31725
0085ce49
RD
31726SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31727 PyObject *resultobj = 0;
31728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31729 wxWindow *result = 0 ;
31730 void *argp1 = 0 ;
31731 int res1 = 0 ;
31732 PyObject *swig_obj[1] ;
31733
31734 if (!args) SWIG_fail;
31735 swig_obj[0] = args;
31736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31737 if (!SWIG_IsOK(res1)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31739 }
31740 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31741 {
31742 PyThreadState* __tstate = wxPyBeginAllowThreads();
31743 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
31744 wxPyEndAllowThreads(__tstate);
31745 if (PyErr_Occurred()) SWIG_fail;
31746 }
31747 {
31748 resultobj = wxPyMake_wxObject(result, 0);
31749 }
31750 return resultobj;
31751fail:
31752 return NULL;
31753}
31754
31755
31756SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31757 PyObject *resultobj = 0;
31758 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
31759 SwigValueWrapper<wxVisualAttributes > result;
31760 int val1 ;
31761 int ecode1 = 0 ;
31762 PyObject * obj0 = 0 ;
31763 char * kwnames[] = {
31764 (char *) "variant", NULL
31765 };
31766
31767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
31768 if (obj0) {
31769 ecode1 = SWIG_AsVal_int(obj0, &val1);
31770 if (!SWIG_IsOK(ecode1)) {
31771 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31772 }
31773 arg1 = static_cast< wxWindowVariant >(val1);
31774 }
31775 {
31776 if (!wxPyCheckForApp()) SWIG_fail;
31777 PyThreadState* __tstate = wxPyBeginAllowThreads();
31778 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
31779 wxPyEndAllowThreads(__tstate);
31780 if (PyErr_Occurred()) SWIG_fail;
31781 }
31782 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
31783 return resultobj;
31784fail:
31785 return NULL;
31786}
31787
31788
31789SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31790 PyObject *obj;
31791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
31793 return SWIG_Py_Void();
31794}
31795
31796SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31797 return SWIG_Python_InitShadowInstance(args);
31798}
31799
31800SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31801 PyObject *resultobj = 0;
31802 wxWindow *arg1 = (wxWindow *) 0 ;
31803 int arg2 = (int) -1 ;
31804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31806 wxSize const &arg4_defvalue = wxDefaultSize ;
31807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31808 long arg5 = (long) wxLC_REPORT ;
31809 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31810 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31811 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
31812 wxString *arg7 = (wxString *) &arg7_defvalue ;
31813 wxListView *result = 0 ;
31814 void *argp1 = 0 ;
31815 int res1 = 0 ;
31816 int val2 ;
31817 int ecode2 = 0 ;
31818 wxPoint temp3 ;
31819 wxSize temp4 ;
31820 long val5 ;
31821 int ecode5 = 0 ;
31822 void *argp6 = 0 ;
31823 int res6 = 0 ;
31824 bool temp7 = false ;
31825 PyObject * obj0 = 0 ;
31826 PyObject * obj1 = 0 ;
31827 PyObject * obj2 = 0 ;
31828 PyObject * obj3 = 0 ;
31829 PyObject * obj4 = 0 ;
31830 PyObject * obj5 = 0 ;
31831 PyObject * obj6 = 0 ;
31832 char * kwnames[] = {
31833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31834 };
31835
31836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
31838 if (!SWIG_IsOK(res1)) {
31839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31840 }
31841 arg1 = reinterpret_cast< wxWindow * >(argp1);
31842 if (obj1) {
31843 ecode2 = SWIG_AsVal_int(obj1, &val2);
31844 if (!SWIG_IsOK(ecode2)) {
31845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31846 }
31847 arg2 = static_cast< int >(val2);
31848 }
31849 if (obj2) {
7e08d4ef 31850 {
0085ce49
RD
31851 arg3 = &temp3;
31852 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7e08d4ef 31853 }
0085ce49
RD
31854 }
31855 if (obj3) {
7e08d4ef 31856 {
0085ce49
RD
31857 arg4 = &temp4;
31858 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 31859 }
0085ce49
RD
31860 }
31861 if (obj4) {
31862 ecode5 = SWIG_AsVal_long(obj4, &val5);
31863 if (!SWIG_IsOK(ecode5)) {
31864 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31865 }
31866 arg5 = static_cast< long >(val5);
31867 }
31868 if (obj5) {
31869 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
31870 if (!SWIG_IsOK(res6)) {
31871 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 31872 }
0085ce49
RD
31873 if (!argp6) {
31874 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
7e08d4ef 31875 }
0085ce49
RD
31876 arg6 = reinterpret_cast< wxValidator * >(argp6);
31877 }
31878 if (obj6) {
7e08d4ef 31879 {
0085ce49
RD
31880 arg7 = wxString_in_helper(obj6);
31881 if (arg7 == NULL) SWIG_fail;
31882 temp7 = true;
7e08d4ef 31883 }
0085ce49
RD
31884 }
31885 {
31886 if (!wxPyCheckForApp()) SWIG_fail;
31887 PyThreadState* __tstate = wxPyBeginAllowThreads();
31888 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31889 wxPyEndAllowThreads(__tstate);
31890 if (PyErr_Occurred()) SWIG_fail;
31891 }
31892 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
31893 {
31894 if (temp7)
31895 delete arg7;
31896 }
31897 return resultobj;
31898fail:
31899 {
31900 if (temp7)
31901 delete arg7;
31902 }
31903 return NULL;
7e08d4ef
RD
31904}
31905
31906
0085ce49
RD
31907SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31908 PyObject *resultobj = 0;
31909 wxListView *result = 0 ;
31910
31911 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
31912 {
31913 if (!wxPyCheckForApp()) SWIG_fail;
31914 PyThreadState* __tstate = wxPyBeginAllowThreads();
31915 result = (wxListView *)new wxListView();
31916 wxPyEndAllowThreads(__tstate);
31917 if (PyErr_Occurred()) SWIG_fail;
31918 }
31919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
31920 return resultobj;
31921fail:
31922 return NULL;
31923}
31924
31925
31926SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31927 PyObject *resultobj = 0;
31928 wxListView *arg1 = (wxListView *) 0 ;
31929 wxWindow *arg2 = (wxWindow *) 0 ;
31930 int arg3 = (int) -1 ;
31931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31933 wxSize const &arg5_defvalue = wxDefaultSize ;
31934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31935 long arg6 = (long) wxLC_REPORT ;
31936 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31937 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31938 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
31939 wxString *arg8 = (wxString *) &arg8_defvalue ;
31940 bool result;
31941 void *argp1 = 0 ;
31942 int res1 = 0 ;
31943 void *argp2 = 0 ;
31944 int res2 = 0 ;
31945 int val3 ;
31946 int ecode3 = 0 ;
31947 wxPoint temp4 ;
31948 wxSize temp5 ;
31949 long val6 ;
31950 int ecode6 = 0 ;
31951 void *argp7 = 0 ;
31952 int res7 = 0 ;
31953 bool temp8 = false ;
31954 PyObject * obj0 = 0 ;
31955 PyObject * obj1 = 0 ;
31956 PyObject * obj2 = 0 ;
31957 PyObject * obj3 = 0 ;
31958 PyObject * obj4 = 0 ;
31959 PyObject * obj5 = 0 ;
31960 PyObject * obj6 = 0 ;
31961 PyObject * obj7 = 0 ;
31962 char * kwnames[] = {
31963 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31964 };
31965
31966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
31967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
31968 if (!SWIG_IsOK(res1)) {
31969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31970 }
31971 arg1 = reinterpret_cast< wxListView * >(argp1);
31972 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31973 if (!SWIG_IsOK(res2)) {
31974 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31975 }
31976 arg2 = reinterpret_cast< wxWindow * >(argp2);
31977 if (obj2) {
31978 ecode3 = SWIG_AsVal_int(obj2, &val3);
31979 if (!SWIG_IsOK(ecode3)) {
31980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31981 }
31982 arg3 = static_cast< int >(val3);
31983 }
31984 if (obj3) {
7e08d4ef 31985 {
0085ce49
RD
31986 arg4 = &temp4;
31987 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7e08d4ef 31988 }
0085ce49
RD
31989 }
31990 if (obj4) {
7e08d4ef 31991 {
0085ce49
RD
31992 arg5 = &temp5;
31993 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7e08d4ef 31994 }
0085ce49
RD
31995 }
31996 if (obj5) {
31997 ecode6 = SWIG_AsVal_long(obj5, &val6);
31998 if (!SWIG_IsOK(ecode6)) {
31999 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32000 }
32001 arg6 = static_cast< long >(val6);
32002 }
32003 if (obj6) {
32004 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32005 if (!SWIG_IsOK(res7)) {
32006 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 32007 }
0085ce49
RD
32008 if (!argp7) {
32009 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
7e08d4ef 32010 }
0085ce49
RD
32011 arg7 = reinterpret_cast< wxValidator * >(argp7);
32012 }
32013 if (obj7) {
7e08d4ef 32014 {
0085ce49
RD
32015 arg8 = wxString_in_helper(obj7);
32016 if (arg8 == NULL) SWIG_fail;
32017 temp8 = true;
7e08d4ef 32018 }
0085ce49
RD
32019 }
32020 {
32021 PyThreadState* __tstate = wxPyBeginAllowThreads();
32022 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32023 wxPyEndAllowThreads(__tstate);
32024 if (PyErr_Occurred()) SWIG_fail;
32025 }
32026 {
32027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32028 }
32029 {
32030 if (temp8)
32031 delete arg8;
32032 }
32033 return resultobj;
32034fail:
32035 {
32036 if (temp8)
32037 delete arg8;
32038 }
32039 return NULL;
32040}
32041
32042
32043SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32044 PyObject *resultobj = 0;
32045 wxListView *arg1 = (wxListView *) 0 ;
32046 long arg2 ;
32047 bool arg3 = (bool) true ;
32048 void *argp1 = 0 ;
32049 int res1 = 0 ;
32050 long val2 ;
32051 int ecode2 = 0 ;
32052 bool val3 ;
32053 int ecode3 = 0 ;
32054 PyObject * obj0 = 0 ;
32055 PyObject * obj1 = 0 ;
32056 PyObject * obj2 = 0 ;
32057 char * kwnames[] = {
32058 (char *) "self",(char *) "n",(char *) "on", NULL
32059 };
32060
32061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32063 if (!SWIG_IsOK(res1)) {
32064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32065 }
32066 arg1 = reinterpret_cast< wxListView * >(argp1);
32067 ecode2 = SWIG_AsVal_long(obj1, &val2);
32068 if (!SWIG_IsOK(ecode2)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32070 }
32071 arg2 = static_cast< long >(val2);
32072 if (obj2) {
32073 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32074 if (!SWIG_IsOK(ecode3)) {
32075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32076 }
32077 arg3 = static_cast< bool >(val3);
32078 }
32079 {
32080 PyThreadState* __tstate = wxPyBeginAllowThreads();
32081 (arg1)->Select(arg2,arg3);
32082 wxPyEndAllowThreads(__tstate);
32083 if (PyErr_Occurred()) SWIG_fail;
32084 }
32085 resultobj = SWIG_Py_Void();
32086 return resultobj;
32087fail:
32088 return NULL;
32089}
32090
32091
32092SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32093 PyObject *resultobj = 0;
32094 wxListView *arg1 = (wxListView *) 0 ;
32095 long arg2 ;
32096 void *argp1 = 0 ;
32097 int res1 = 0 ;
32098 long val2 ;
32099 int ecode2 = 0 ;
32100 PyObject * obj0 = 0 ;
32101 PyObject * obj1 = 0 ;
32102 char * kwnames[] = {
32103 (char *) "self",(char *) "index", NULL
32104 };
32105
32106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32108 if (!SWIG_IsOK(res1)) {
32109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32110 }
32111 arg1 = reinterpret_cast< wxListView * >(argp1);
32112 ecode2 = SWIG_AsVal_long(obj1, &val2);
32113 if (!SWIG_IsOK(ecode2)) {
32114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32115 }
32116 arg2 = static_cast< long >(val2);
32117 {
32118 PyThreadState* __tstate = wxPyBeginAllowThreads();
32119 (arg1)->Focus(arg2);
32120 wxPyEndAllowThreads(__tstate);
32121 if (PyErr_Occurred()) SWIG_fail;
32122 }
32123 resultobj = SWIG_Py_Void();
32124 return resultobj;
32125fail:
32126 return NULL;
7e08d4ef
RD
32127}
32128
32129
0085ce49
RD
32130SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32131 PyObject *resultobj = 0;
32132 wxListView *arg1 = (wxListView *) 0 ;
32133 long result;
32134 void *argp1 = 0 ;
32135 int res1 = 0 ;
32136 PyObject *swig_obj[1] ;
32137
32138 if (!args) SWIG_fail;
32139 swig_obj[0] = args;
32140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32141 if (!SWIG_IsOK(res1)) {
32142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32143 }
32144 arg1 = reinterpret_cast< wxListView * >(argp1);
32145 {
32146 PyThreadState* __tstate = wxPyBeginAllowThreads();
32147 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32148 wxPyEndAllowThreads(__tstate);
32149 if (PyErr_Occurred()) SWIG_fail;
32150 }
32151 resultobj = SWIG_From_long(static_cast< long >(result));
32152 return resultobj;
32153fail:
32154 return NULL;
32155}
32156
32157
32158SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32159 PyObject *resultobj = 0;
32160 wxListView *arg1 = (wxListView *) 0 ;
32161 long arg2 ;
32162 long result;
32163 void *argp1 = 0 ;
32164 int res1 = 0 ;
32165 long val2 ;
32166 int ecode2 = 0 ;
32167 PyObject * obj0 = 0 ;
32168 PyObject * obj1 = 0 ;
32169 char * kwnames[] = {
32170 (char *) "self",(char *) "item", NULL
32171 };
32172
32173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32175 if (!SWIG_IsOK(res1)) {
32176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32177 }
32178 arg1 = reinterpret_cast< wxListView * >(argp1);
32179 ecode2 = SWIG_AsVal_long(obj1, &val2);
32180 if (!SWIG_IsOK(ecode2)) {
32181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32182 }
32183 arg2 = static_cast< long >(val2);
32184 {
32185 PyThreadState* __tstate = wxPyBeginAllowThreads();
32186 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32187 wxPyEndAllowThreads(__tstate);
32188 if (PyErr_Occurred()) SWIG_fail;
32189 }
32190 resultobj = SWIG_From_long(static_cast< long >(result));
32191 return resultobj;
32192fail:
32193 return NULL;
7e08d4ef
RD
32194}
32195
32196
0085ce49
RD
32197SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32198 PyObject *resultobj = 0;
32199 wxListView *arg1 = (wxListView *) 0 ;
32200 long result;
32201 void *argp1 = 0 ;
32202 int res1 = 0 ;
32203 PyObject *swig_obj[1] ;
32204
32205 if (!args) SWIG_fail;
32206 swig_obj[0] = args;
32207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32208 if (!SWIG_IsOK(res1)) {
32209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32210 }
32211 arg1 = reinterpret_cast< wxListView * >(argp1);
32212 {
32213 PyThreadState* __tstate = wxPyBeginAllowThreads();
32214 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32215 wxPyEndAllowThreads(__tstate);
32216 if (PyErr_Occurred()) SWIG_fail;
32217 }
32218 resultobj = SWIG_From_long(static_cast< long >(result));
32219 return resultobj;
32220fail:
32221 return NULL;
32222}
32223
32224
32225SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32226 PyObject *resultobj = 0;
32227 wxListView *arg1 = (wxListView *) 0 ;
32228 long arg2 ;
32229 bool result;
32230 void *argp1 = 0 ;
32231 int res1 = 0 ;
32232 long val2 ;
32233 int ecode2 = 0 ;
32234 PyObject * obj0 = 0 ;
32235 PyObject * obj1 = 0 ;
32236 char * kwnames[] = {
32237 (char *) "self",(char *) "index", NULL
32238 };
32239
32240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32242 if (!SWIG_IsOK(res1)) {
32243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32244 }
32245 arg1 = reinterpret_cast< wxListView * >(argp1);
32246 ecode2 = SWIG_AsVal_long(obj1, &val2);
32247 if (!SWIG_IsOK(ecode2)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32249 }
32250 arg2 = static_cast< long >(val2);
32251 {
32252 PyThreadState* __tstate = wxPyBeginAllowThreads();
32253 result = (bool)(arg1)->IsSelected(arg2);
32254 wxPyEndAllowThreads(__tstate);
32255 if (PyErr_Occurred()) SWIG_fail;
32256 }
32257 {
32258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32259 }
32260 return resultobj;
32261fail:
32262 return NULL;
32263}
32264
32265
32266SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32267 PyObject *resultobj = 0;
32268 wxListView *arg1 = (wxListView *) 0 ;
32269 int arg2 ;
32270 int arg3 ;
32271 void *argp1 = 0 ;
32272 int res1 = 0 ;
32273 int val2 ;
32274 int ecode2 = 0 ;
32275 int val3 ;
32276 int ecode3 = 0 ;
32277 PyObject * obj0 = 0 ;
32278 PyObject * obj1 = 0 ;
32279 PyObject * obj2 = 0 ;
32280 char * kwnames[] = {
32281 (char *) "self",(char *) "col",(char *) "image", NULL
32282 };
32283
32284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32286 if (!SWIG_IsOK(res1)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32288 }
32289 arg1 = reinterpret_cast< wxListView * >(argp1);
32290 ecode2 = SWIG_AsVal_int(obj1, &val2);
32291 if (!SWIG_IsOK(ecode2)) {
32292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32293 }
32294 arg2 = static_cast< int >(val2);
32295 ecode3 = SWIG_AsVal_int(obj2, &val3);
32296 if (!SWIG_IsOK(ecode3)) {
32297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32298 }
32299 arg3 = static_cast< int >(val3);
32300 {
32301 PyThreadState* __tstate = wxPyBeginAllowThreads();
32302 (arg1)->SetColumnImage(arg2,arg3);
32303 wxPyEndAllowThreads(__tstate);
32304 if (PyErr_Occurred()) SWIG_fail;
32305 }
32306 resultobj = SWIG_Py_Void();
32307 return resultobj;
32308fail:
32309 return NULL;
32310}
32311
32312
32313SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32314 PyObject *resultobj = 0;
32315 wxListView *arg1 = (wxListView *) 0 ;
32316 int arg2 ;
32317 void *argp1 = 0 ;
32318 int res1 = 0 ;
32319 int val2 ;
32320 int ecode2 = 0 ;
32321 PyObject * obj0 = 0 ;
32322 PyObject * obj1 = 0 ;
32323 char * kwnames[] = {
32324 (char *) "self",(char *) "col", NULL
32325 };
32326
32327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32329 if (!SWIG_IsOK(res1)) {
32330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32331 }
32332 arg1 = reinterpret_cast< wxListView * >(argp1);
32333 ecode2 = SWIG_AsVal_int(obj1, &val2);
32334 if (!SWIG_IsOK(ecode2)) {
32335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32336 }
32337 arg2 = static_cast< int >(val2);
32338 {
32339 PyThreadState* __tstate = wxPyBeginAllowThreads();
32340 (arg1)->ClearColumnImage(arg2);
32341 wxPyEndAllowThreads(__tstate);
32342 if (PyErr_Occurred()) SWIG_fail;
32343 }
32344 resultobj = SWIG_Py_Void();
32345 return resultobj;
32346fail:
32347 return NULL;
7e08d4ef
RD
32348}
32349
32350
0085ce49
RD
32351SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32352 PyObject *obj;
32353 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32354 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32355 return SWIG_Py_Void();
7e08d4ef
RD
32356}
32357
0085ce49
RD
32358SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32359 return SWIG_Python_InitShadowInstance(args);
32360}
7e08d4ef 32361
0085ce49
RD
32362SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32363 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32364 return 1;
7e08d4ef
RD
32365}
32366
32367
0085ce49
RD
32368SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32369 PyObject *pyobj = 0;
32370
32371 {
32372#if wxUSE_UNICODE
32373 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32374#else
32375 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32376#endif
32377 }
32378 return pyobj;
7e08d4ef
RD
32379}
32380
32381
0085ce49
RD
32382SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32383 PyObject *resultobj = 0;
32384 wxTreeItemId *result = 0 ;
32385
32386 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32387 {
32388 PyThreadState* __tstate = wxPyBeginAllowThreads();
32389 result = (wxTreeItemId *)new wxTreeItemId();
32390 wxPyEndAllowThreads(__tstate);
32391 if (PyErr_Occurred()) SWIG_fail;
32392 }
32393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32394 return resultobj;
32395fail:
32396 return NULL;
d14a1e28
RD
32397}
32398
32399
0085ce49
RD
32400SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32401 PyObject *resultobj = 0;
32402 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32403 void *argp1 = 0 ;
32404 int res1 = 0 ;
32405 PyObject *swig_obj[1] ;
32406
32407 if (!args) SWIG_fail;
32408 swig_obj[0] = args;
32409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32410 if (!SWIG_IsOK(res1)) {
32411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32412 }
32413 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32414 {
32415 PyThreadState* __tstate = wxPyBeginAllowThreads();
32416 delete arg1;
7e08d4ef 32417
0085ce49
RD
32418 wxPyEndAllowThreads(__tstate);
32419 if (PyErr_Occurred()) SWIG_fail;
32420 }
32421 resultobj = SWIG_Py_Void();
32422 return resultobj;
32423fail:
32424 return NULL;
7e08d4ef
RD
32425}
32426
32427
0085ce49
RD
32428SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32429 PyObject *resultobj = 0;
32430 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32431 bool result;
32432 void *argp1 = 0 ;
32433 int res1 = 0 ;
32434 PyObject *swig_obj[1] ;
32435
32436 if (!args) SWIG_fail;
32437 swig_obj[0] = args;
32438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32439 if (!SWIG_IsOK(res1)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32441 }
32442 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32443 {
32444 PyThreadState* __tstate = wxPyBeginAllowThreads();
32445 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32446 wxPyEndAllowThreads(__tstate);
32447 if (PyErr_Occurred()) SWIG_fail;
32448 }
32449 {
32450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32451 }
32452 return resultobj;
32453fail:
32454 return NULL;
32455}
32456
32457
32458SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32459 PyObject *resultobj = 0;
32460 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32461 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32462 bool result;
32463 void *argp1 = 0 ;
32464 int res1 = 0 ;
32465 void *argp2 = 0 ;
32466 int res2 = 0 ;
32467 PyObject * obj0 = 0 ;
32468 PyObject * obj1 = 0 ;
32469 char * kwnames[] = {
32470 (char *) "self",(char *) "other", NULL
32471 };
32472
32473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32475 if (!SWIG_IsOK(res1)) {
32476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32477 }
32478 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32480 if (!SWIG_IsOK(res2)) {
32481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32482 }
32483 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32484 {
32485 PyThreadState* __tstate = wxPyBeginAllowThreads();
32486 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32487 wxPyEndAllowThreads(__tstate);
32488 if (PyErr_Occurred()) SWIG_fail;
32489 }
32490 {
32491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32492 }
32493 return resultobj;
32494fail:
32495 return NULL;
32496}
32497
32498
32499SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32500 PyObject *resultobj = 0;
32501 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32502 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32503 bool result;
32504 void *argp1 = 0 ;
32505 int res1 = 0 ;
32506 void *argp2 = 0 ;
32507 int res2 = 0 ;
32508 PyObject * obj0 = 0 ;
32509 PyObject * obj1 = 0 ;
32510 char * kwnames[] = {
32511 (char *) "self",(char *) "other", NULL
32512 };
32513
32514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32516 if (!SWIG_IsOK(res1)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32518 }
32519 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32521 if (!SWIG_IsOK(res2)) {
32522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32523 }
32524 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32525 {
32526 PyThreadState* __tstate = wxPyBeginAllowThreads();
32527 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32528 wxPyEndAllowThreads(__tstate);
32529 if (PyErr_Occurred()) SWIG_fail;
32530 }
32531 {
32532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32533 }
32534 return resultobj;
32535fail:
32536 return NULL;
7e08d4ef
RD
32537}
32538
32539
0085ce49
RD
32540SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32541 PyObject *resultobj = 0;
32542 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32543 void *arg2 = (void *) 0 ;
32544 void *argp1 = 0 ;
32545 int res1 = 0 ;
32546 int res2 ;
32547 PyObject *swig_obj[2] ;
32548
32549 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32551 if (!SWIG_IsOK(res1)) {
32552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32553 }
32554 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32555 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32556 if (!SWIG_IsOK(res2)) {
32557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32558 }
32559 if (arg1) (arg1)->m_pItem = arg2;
32560
32561 resultobj = SWIG_Py_Void();
32562 return resultobj;
32563fail:
32564 return NULL;
7e08d4ef
RD
32565}
32566
32567
0085ce49
RD
32568SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32569 PyObject *resultobj = 0;
32570 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32571 void *result = 0 ;
32572 void *argp1 = 0 ;
32573 int res1 = 0 ;
32574 PyObject *swig_obj[1] ;
32575
32576 if (!args) SWIG_fail;
32577 swig_obj[0] = args;
32578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32579 if (!SWIG_IsOK(res1)) {
32580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32581 }
32582 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32583 result = (void *) ((arg1)->m_pItem);
32584 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32585 return resultobj;
32586fail:
32587 return NULL;
7e08d4ef
RD
32588}
32589
32590
0085ce49
RD
32591SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32592 PyObject *obj;
32593 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32595 return SWIG_Py_Void();
7e08d4ef
RD
32596}
32597
0085ce49
RD
32598SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32599 return SWIG_Python_InitShadowInstance(args);
32600}
7e08d4ef 32601
0085ce49
RD
32602SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32603 PyObject *resultobj = 0;
32604 PyObject *arg1 = (PyObject *) NULL ;
32605 wxPyTreeItemData *result = 0 ;
32606 PyObject * obj0 = 0 ;
32607 char * kwnames[] = {
32608 (char *) "obj", NULL
32609 };
32610
32611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32612 if (obj0) {
32613 arg1 = obj0;
32614 }
32615 {
32616 PyThreadState* __tstate = wxPyBeginAllowThreads();
32617 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32618 wxPyEndAllowThreads(__tstate);
32619 if (PyErr_Occurred()) SWIG_fail;
32620 }
32621 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32622 return resultobj;
32623fail:
32624 return NULL;
7e08d4ef
RD
32625}
32626
32627
0085ce49
RD
32628SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32629 PyObject *resultobj = 0;
32630 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32631 void *argp1 = 0 ;
32632 int res1 = 0 ;
32633 PyObject *swig_obj[1] ;
32634
32635 if (!args) SWIG_fail;
32636 swig_obj[0] = args;
32637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
32638 if (!SWIG_IsOK(res1)) {
32639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32640 }
32641 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32642 {
32643 PyThreadState* __tstate = wxPyBeginAllowThreads();
32644 delete arg1;
1fbf26be 32645
0085ce49
RD
32646 wxPyEndAllowThreads(__tstate);
32647 if (PyErr_Occurred()) SWIG_fail;
32648 }
32649 resultobj = SWIG_Py_Void();
32650 return resultobj;
32651fail:
32652 return NULL;
1fbf26be
RD
32653}
32654
32655
0085ce49
RD
32656SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32657 PyObject *resultobj = 0;
32658 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32659 PyObject *result = 0 ;
32660 void *argp1 = 0 ;
32661 int res1 = 0 ;
32662 PyObject *swig_obj[1] ;
32663
32664 if (!args) SWIG_fail;
32665 swig_obj[0] = args;
32666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32667 if (!SWIG_IsOK(res1)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32669 }
32670 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32671 {
32672 PyThreadState* __tstate = wxPyBeginAllowThreads();
32673 result = (PyObject *)(arg1)->GetData();
32674 wxPyEndAllowThreads(__tstate);
32675 if (PyErr_Occurred()) SWIG_fail;
32676 }
32677 resultobj = result;
32678 return resultobj;
32679fail:
32680 return NULL;
32681}
32682
32683
32684SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32685 PyObject *resultobj = 0;
32686 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32687 PyObject *arg2 = (PyObject *) 0 ;
32688 void *argp1 = 0 ;
32689 int res1 = 0 ;
32690 PyObject * obj0 = 0 ;
32691 PyObject * obj1 = 0 ;
32692 char * kwnames[] = {
32693 (char *) "self",(char *) "obj", NULL
32694 };
32695
32696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
32697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32698 if (!SWIG_IsOK(res1)) {
32699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32700 }
32701 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32702 arg2 = obj1;
32703 {
32704 PyThreadState* __tstate = wxPyBeginAllowThreads();
32705 (arg1)->SetData(arg2);
32706 wxPyEndAllowThreads(__tstate);
32707 if (PyErr_Occurred()) SWIG_fail;
32708 }
32709 resultobj = SWIG_Py_Void();
32710 return resultobj;
32711fail:
32712 return NULL;
d14a1e28
RD
32713}
32714
32715
0085ce49
RD
32716SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32717 PyObject *resultobj = 0;
32718 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32719 wxTreeItemId *result = 0 ;
32720 void *argp1 = 0 ;
32721 int res1 = 0 ;
32722 PyObject *swig_obj[1] ;
32723
32724 if (!args) SWIG_fail;
32725 swig_obj[0] = args;
32726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32727 if (!SWIG_IsOK(res1)) {
32728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32729 }
32730 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32731 {
32732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2ef75293 32733 {
0085ce49
RD
32734 wxTreeItemId const &_result_ref = (arg1)->GetId();
32735 result = (wxTreeItemId *) &_result_ref;
2ef75293 32736 }
0085ce49
RD
32737 wxPyEndAllowThreads(__tstate);
32738 if (PyErr_Occurred()) SWIG_fail;
32739 }
32740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32741 return resultobj;
32742fail:
32743 return NULL;
32744}
32745
32746
32747SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32748 PyObject *resultobj = 0;
32749 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32750 wxTreeItemId *arg2 = 0 ;
32751 void *argp1 = 0 ;
32752 int res1 = 0 ;
32753 void *argp2 = 0 ;
32754 int res2 = 0 ;
32755 PyObject * obj0 = 0 ;
32756 PyObject * obj1 = 0 ;
32757 char * kwnames[] = {
32758 (char *) "self",(char *) "id", NULL
32759 };
32760
32761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
32762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32763 if (!SWIG_IsOK(res1)) {
32764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32765 }
32766 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32767 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32768 if (!SWIG_IsOK(res2)) {
32769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32770 }
32771 if (!argp2) {
32772 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32773 }
32774 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32775 {
32776 PyThreadState* __tstate = wxPyBeginAllowThreads();
32777 (arg1)->SetId((wxTreeItemId const &)*arg2);
32778 wxPyEndAllowThreads(__tstate);
32779 if (PyErr_Occurred()) SWIG_fail;
32780 }
32781 resultobj = SWIG_Py_Void();
32782 return resultobj;
32783fail:
32784 return NULL;
2ef75293
RD
32785}
32786
32787
0085ce49
RD
32788SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32789 PyObject *resultobj = 0;
32790 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
32791 void *argp1 = 0 ;
32792 int res1 = 0 ;
32793 PyObject *swig_obj[1] ;
32794
32795 if (!args) SWIG_fail;
32796 swig_obj[0] = args;
32797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
32798 if (!SWIG_IsOK(res1)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32800 }
32801 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
32802 {
32803 PyThreadState* __tstate = wxPyBeginAllowThreads();
32804 wxPyTreeItemData_Destroy(arg1);
32805 wxPyEndAllowThreads(__tstate);
32806 if (PyErr_Occurred()) SWIG_fail;
32807 }
32808 resultobj = SWIG_Py_Void();
32809 return resultobj;
32810fail:
32811 return NULL;
2ef75293
RD
32812}
32813
32814
0085ce49
RD
32815SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32816 PyObject *obj;
32817 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32818 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
32819 return SWIG_Py_Void();
2ef75293
RD
32820}
32821
0085ce49
RD
32822SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32823 return SWIG_Python_InitShadowInstance(args);
32824}
2ef75293 32825
0085ce49
RD
32826SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32827 PyObject *resultobj = 0;
32828 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
32829 int arg2 = (int) 0 ;
32830 wxTreeEvent *result = 0 ;
32831 int val1 ;
32832 int ecode1 = 0 ;
32833 int val2 ;
32834 int ecode2 = 0 ;
32835 PyObject * obj0 = 0 ;
32836 PyObject * obj1 = 0 ;
32837 char * kwnames[] = {
32838 (char *) "commandType",(char *) "id", NULL
32839 };
32840
32841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) SWIG_fail;
32842 if (obj0) {
32843 ecode1 = SWIG_AsVal_int(obj0, &val1);
32844 if (!SWIG_IsOK(ecode1)) {
32845 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32846 }
32847 arg1 = static_cast< wxEventType >(val1);
32848 }
32849 if (obj1) {
32850 ecode2 = SWIG_AsVal_int(obj1, &val2);
32851 if (!SWIG_IsOK(ecode2)) {
32852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32853 }
32854 arg2 = static_cast< int >(val2);
32855 }
32856 {
32857 PyThreadState* __tstate = wxPyBeginAllowThreads();
32858 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
32859 wxPyEndAllowThreads(__tstate);
32860 if (PyErr_Occurred()) SWIG_fail;
32861 }
32862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
32863 return resultobj;
32864fail:
32865 return NULL;
70b7a5fe
RD
32866}
32867
32868
0085ce49
RD
32869SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32870 PyObject *resultobj = 0;
32871 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32872 wxTreeItemId result;
32873 void *argp1 = 0 ;
32874 int res1 = 0 ;
32875 PyObject *swig_obj[1] ;
32876
32877 if (!args) SWIG_fail;
32878 swig_obj[0] = args;
32879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32880 if (!SWIG_IsOK(res1)) {
32881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32882 }
32883 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32884 {
32885 PyThreadState* __tstate = wxPyBeginAllowThreads();
32886 result = ((wxTreeEvent const *)arg1)->GetItem();
32887 wxPyEndAllowThreads(__tstate);
32888 if (PyErr_Occurred()) SWIG_fail;
32889 }
32890 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32891 return resultobj;
32892fail:
32893 return NULL;
32894}
32895
32896
32897SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32898 PyObject *resultobj = 0;
32899 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32900 wxTreeItemId *arg2 = 0 ;
32901 void *argp1 = 0 ;
32902 int res1 = 0 ;
32903 void *argp2 = 0 ;
32904 int res2 = 0 ;
32905 PyObject * obj0 = 0 ;
32906 PyObject * obj1 = 0 ;
32907 char * kwnames[] = {
32908 (char *) "self",(char *) "item", NULL
32909 };
32910
32911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
32912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32913 if (!SWIG_IsOK(res1)) {
32914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32915 }
32916 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32917 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32918 if (!SWIG_IsOK(res2)) {
32919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32920 }
32921 if (!argp2) {
32922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32923 }
32924 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32925 {
32926 PyThreadState* __tstate = wxPyBeginAllowThreads();
32927 (arg1)->SetItem((wxTreeItemId const &)*arg2);
32928 wxPyEndAllowThreads(__tstate);
32929 if (PyErr_Occurred()) SWIG_fail;
32930 }
32931 resultobj = SWIG_Py_Void();
32932 return resultobj;
32933fail:
32934 return NULL;
2ef75293
RD
32935}
32936
32937
0085ce49
RD
32938SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32939 PyObject *resultobj = 0;
32940 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32941 wxTreeItemId result;
32942 void *argp1 = 0 ;
32943 int res1 = 0 ;
32944 PyObject *swig_obj[1] ;
32945
32946 if (!args) SWIG_fail;
32947 swig_obj[0] = args;
32948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32949 if (!SWIG_IsOK(res1)) {
32950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32951 }
32952 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32953 {
32954 PyThreadState* __tstate = wxPyBeginAllowThreads();
32955 result = ((wxTreeEvent const *)arg1)->GetOldItem();
32956 wxPyEndAllowThreads(__tstate);
32957 if (PyErr_Occurred()) SWIG_fail;
32958 }
32959 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
32960 return resultobj;
32961fail:
32962 return NULL;
32963}
32964
32965
32966SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32967 PyObject *resultobj = 0;
32968 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
32969 wxTreeItemId *arg2 = 0 ;
32970 void *argp1 = 0 ;
32971 int res1 = 0 ;
32972 void *argp2 = 0 ;
32973 int res2 = 0 ;
32974 PyObject * obj0 = 0 ;
32975 PyObject * obj1 = 0 ;
32976 char * kwnames[] = {
32977 (char *) "self",(char *) "item", NULL
32978 };
32979
32980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
32981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
32982 if (!SWIG_IsOK(res1)) {
32983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32984 }
32985 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
32986 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
32987 if (!SWIG_IsOK(res2)) {
32988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32989 }
32990 if (!argp2) {
32991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32992 }
32993 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32994 {
32995 PyThreadState* __tstate = wxPyBeginAllowThreads();
32996 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
32997 wxPyEndAllowThreads(__tstate);
32998 if (PyErr_Occurred()) SWIG_fail;
32999 }
33000 resultobj = SWIG_Py_Void();
33001 return resultobj;
33002fail:
33003 return NULL;
2ef75293
RD
33004}
33005
33006
0085ce49
RD
33007SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33008 PyObject *resultobj = 0;
33009 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33010 wxPoint result;
33011 void *argp1 = 0 ;
33012 int res1 = 0 ;
33013 PyObject *swig_obj[1] ;
33014
33015 if (!args) SWIG_fail;
33016 swig_obj[0] = args;
33017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33018 if (!SWIG_IsOK(res1)) {
33019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33020 }
33021 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33022 {
33023 PyThreadState* __tstate = wxPyBeginAllowThreads();
33024 result = ((wxTreeEvent const *)arg1)->GetPoint();
33025 wxPyEndAllowThreads(__tstate);
33026 if (PyErr_Occurred()) SWIG_fail;
33027 }
33028 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33029 return resultobj;
33030fail:
33031 return NULL;
33032}
33033
33034
33035SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33036 PyObject *resultobj = 0;
33037 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33038 wxPoint *arg2 = 0 ;
33039 void *argp1 = 0 ;
33040 int res1 = 0 ;
33041 wxPoint temp2 ;
33042 PyObject * obj0 = 0 ;
33043 PyObject * obj1 = 0 ;
33044 char * kwnames[] = {
33045 (char *) "self",(char *) "pt", NULL
33046 };
33047
33048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33050 if (!SWIG_IsOK(res1)) {
33051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33052 }
33053 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33054 {
33055 arg2 = &temp2;
33056 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33057 }
33058 {
33059 PyThreadState* __tstate = wxPyBeginAllowThreads();
33060 (arg1)->SetPoint((wxPoint const &)*arg2);
33061 wxPyEndAllowThreads(__tstate);
33062 if (PyErr_Occurred()) SWIG_fail;
33063 }
33064 resultobj = SWIG_Py_Void();
33065 return resultobj;
33066fail:
33067 return NULL;
d14a1e28
RD
33068}
33069
33070
0085ce49
RD
33071SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33072 PyObject *resultobj = 0;
33073 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33074 wxKeyEvent *result = 0 ;
33075 void *argp1 = 0 ;
33076 int res1 = 0 ;
33077 PyObject *swig_obj[1] ;
33078
33079 if (!args) SWIG_fail;
33080 swig_obj[0] = args;
33081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33082 if (!SWIG_IsOK(res1)) {
33083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33084 }
33085 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33086 {
33087 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 33088 {
0085ce49
RD
33089 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33090 result = (wxKeyEvent *) &_result_ref;
d14a1e28 33091 }
0085ce49
RD
33092 wxPyEndAllowThreads(__tstate);
33093 if (PyErr_Occurred()) SWIG_fail;
33094 }
33095 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33096 return resultobj;
33097fail:
33098 return NULL;
d14a1e28
RD
33099}
33100
33101
0085ce49
RD
33102SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33103 PyObject *resultobj = 0;
33104 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33105 int result;
33106 void *argp1 = 0 ;
33107 int res1 = 0 ;
33108 PyObject *swig_obj[1] ;
33109
33110 if (!args) SWIG_fail;
33111 swig_obj[0] = args;
33112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33113 if (!SWIG_IsOK(res1)) {
33114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33115 }
33116 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33117 {
33118 PyThreadState* __tstate = wxPyBeginAllowThreads();
33119 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33120 wxPyEndAllowThreads(__tstate);
33121 if (PyErr_Occurred()) SWIG_fail;
33122 }
33123 resultobj = SWIG_From_int(static_cast< int >(result));
33124 return resultobj;
33125fail:
33126 return NULL;
33127}
33128
33129
33130SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33131 PyObject *resultobj = 0;
33132 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33133 wxKeyEvent *arg2 = 0 ;
33134 void *argp1 = 0 ;
33135 int res1 = 0 ;
33136 void *argp2 = 0 ;
33137 int res2 = 0 ;
33138 PyObject * obj0 = 0 ;
33139 PyObject * obj1 = 0 ;
33140 char * kwnames[] = {
33141 (char *) "self",(char *) "evt", NULL
33142 };
33143
33144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33146 if (!SWIG_IsOK(res1)) {
33147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33148 }
33149 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33150 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33151 if (!SWIG_IsOK(res2)) {
33152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33153 }
33154 if (!argp2) {
33155 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33156 }
33157 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33158 {
33159 PyThreadState* __tstate = wxPyBeginAllowThreads();
33160 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33161 wxPyEndAllowThreads(__tstate);
33162 if (PyErr_Occurred()) SWIG_fail;
33163 }
33164 resultobj = SWIG_Py_Void();
33165 return resultobj;
33166fail:
33167 return NULL;
d14a1e28
RD
33168}
33169
33170
0085ce49
RD
33171SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33172 PyObject *resultobj = 0;
33173 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33174 wxString *result = 0 ;
33175 void *argp1 = 0 ;
33176 int res1 = 0 ;
33177 PyObject *swig_obj[1] ;
33178
33179 if (!args) SWIG_fail;
33180 swig_obj[0] = args;
33181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33182 if (!SWIG_IsOK(res1)) {
33183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33184 }
33185 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33186 {
33187 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 33188 {
0085ce49
RD
33189 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33190 result = (wxString *) &_result_ref;
093d3ff1 33191 }
0085ce49
RD
33192 wxPyEndAllowThreads(__tstate);
33193 if (PyErr_Occurred()) SWIG_fail;
33194 }
33195 {
33196#if wxUSE_UNICODE
33197 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33198#else
33199 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33200#endif
33201 }
33202 return resultobj;
33203fail:
33204 return NULL;
33205}
33206
33207
33208SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33209 PyObject *resultobj = 0;
33210 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33211 wxString *arg2 = 0 ;
33212 void *argp1 = 0 ;
33213 int res1 = 0 ;
33214 bool temp2 = false ;
33215 PyObject * obj0 = 0 ;
33216 PyObject * obj1 = 0 ;
33217 char * kwnames[] = {
33218 (char *) "self",(char *) "label", NULL
33219 };
33220
33221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33223 if (!SWIG_IsOK(res1)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33225 }
33226 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33227 {
33228 arg2 = wxString_in_helper(obj1);
33229 if (arg2 == NULL) SWIG_fail;
33230 temp2 = true;
33231 }
33232 {
33233 PyThreadState* __tstate = wxPyBeginAllowThreads();
33234 (arg1)->SetLabel((wxString const &)*arg2);
33235 wxPyEndAllowThreads(__tstate);
33236 if (PyErr_Occurred()) SWIG_fail;
33237 }
33238 resultobj = SWIG_Py_Void();
33239 {
33240 if (temp2)
33241 delete arg2;
33242 }
33243 return resultobj;
33244fail:
33245 {
33246 if (temp2)
33247 delete arg2;
33248 }
33249 return NULL;
d14a1e28
RD
33250}
33251
33252
0085ce49
RD
33253SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33254 PyObject *resultobj = 0;
33255 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33256 bool result;
33257 void *argp1 = 0 ;
33258 int res1 = 0 ;
33259 PyObject *swig_obj[1] ;
33260
33261 if (!args) SWIG_fail;
33262 swig_obj[0] = args;
33263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33264 if (!SWIG_IsOK(res1)) {
33265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33266 }
33267 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33268 {
33269 PyThreadState* __tstate = wxPyBeginAllowThreads();
33270 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33271 wxPyEndAllowThreads(__tstate);
33272 if (PyErr_Occurred()) SWIG_fail;
33273 }
33274 {
33275 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33276 }
33277 return resultobj;
33278fail:
33279 return NULL;
33280}
33281
33282
33283SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33284 PyObject *resultobj = 0;
33285 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33286 bool arg2 ;
33287 void *argp1 = 0 ;
33288 int res1 = 0 ;
33289 bool val2 ;
33290 int ecode2 = 0 ;
33291 PyObject * obj0 = 0 ;
33292 PyObject * obj1 = 0 ;
33293 char * kwnames[] = {
33294 (char *) "self",(char *) "editCancelled", NULL
33295 };
33296
33297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33299 if (!SWIG_IsOK(res1)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33301 }
33302 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33303 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33304 if (!SWIG_IsOK(ecode2)) {
33305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33306 }
33307 arg2 = static_cast< bool >(val2);
33308 {
33309 PyThreadState* __tstate = wxPyBeginAllowThreads();
33310 (arg1)->SetEditCanceled(arg2);
33311 wxPyEndAllowThreads(__tstate);
33312 if (PyErr_Occurred()) SWIG_fail;
33313 }
33314 resultobj = SWIG_Py_Void();
33315 return resultobj;
33316fail:
33317 return NULL;
33318}
33319
33320
33321SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33322 PyObject *resultobj = 0;
33323 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33324 wxString *arg2 = 0 ;
33325 void *argp1 = 0 ;
33326 int res1 = 0 ;
33327 bool temp2 = false ;
33328 PyObject * obj0 = 0 ;
33329 PyObject * obj1 = 0 ;
33330 char * kwnames[] = {
33331 (char *) "self",(char *) "toolTip", NULL
33332 };
33333
33334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33336 if (!SWIG_IsOK(res1)) {
33337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33338 }
33339 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33340 {
33341 arg2 = wxString_in_helper(obj1);
33342 if (arg2 == NULL) SWIG_fail;
33343 temp2 = true;
33344 }
33345 {
33346 PyThreadState* __tstate = wxPyBeginAllowThreads();
33347 (arg1)->SetToolTip((wxString const &)*arg2);
33348 wxPyEndAllowThreads(__tstate);
33349 if (PyErr_Occurred()) SWIG_fail;
33350 }
33351 resultobj = SWIG_Py_Void();
33352 {
33353 if (temp2)
33354 delete arg2;
33355 }
33356 return resultobj;
33357fail:
33358 {
33359 if (temp2)
33360 delete arg2;
33361 }
33362 return NULL;
d14a1e28
RD
33363}
33364
33365
0085ce49
RD
33366SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33367 PyObject *resultobj = 0;
33368 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33369 wxString result;
33370 void *argp1 = 0 ;
33371 int res1 = 0 ;
33372 PyObject *swig_obj[1] ;
33373
33374 if (!args) SWIG_fail;
33375 swig_obj[0] = args;
33376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33377 if (!SWIG_IsOK(res1)) {
33378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33379 }
33380 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33381 {
33382 PyThreadState* __tstate = wxPyBeginAllowThreads();
33383 result = (arg1)->GetToolTip();
33384 wxPyEndAllowThreads(__tstate);
33385 if (PyErr_Occurred()) SWIG_fail;
33386 }
33387 {
33388#if wxUSE_UNICODE
33389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33390#else
33391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33392#endif
33393 }
33394 return resultobj;
33395fail:
33396 return NULL;
33397}
33398
33399
33400SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33401 PyObject *obj;
33402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33403 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33404 return SWIG_Py_Void();
33405}
33406
33407SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33408 return SWIG_Python_InitShadowInstance(args);
33409}
33410
33411SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33412 PyObject *resultobj = 0;
33413 wxWindow *arg1 = (wxWindow *) 0 ;
33414 int arg2 = (int) -1 ;
33415 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33416 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33417 wxSize const &arg4_defvalue = wxDefaultSize ;
33418 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33419 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33420 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33421 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33422 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33423 wxString *arg7 = (wxString *) &arg7_defvalue ;
33424 wxPyTreeCtrl *result = 0 ;
33425 void *argp1 = 0 ;
33426 int res1 = 0 ;
33427 int val2 ;
33428 int ecode2 = 0 ;
33429 wxPoint temp3 ;
33430 wxSize temp4 ;
33431 long val5 ;
33432 int ecode5 = 0 ;
33433 void *argp6 = 0 ;
33434 int res6 = 0 ;
33435 bool temp7 = false ;
33436 PyObject * obj0 = 0 ;
33437 PyObject * obj1 = 0 ;
33438 PyObject * obj2 = 0 ;
33439 PyObject * obj3 = 0 ;
33440 PyObject * obj4 = 0 ;
33441 PyObject * obj5 = 0 ;
33442 PyObject * obj6 = 0 ;
33443 char * kwnames[] = {
33444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33445 };
33446
33447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33449 if (!SWIG_IsOK(res1)) {
33450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33451 }
33452 arg1 = reinterpret_cast< wxWindow * >(argp1);
33453 if (obj1) {
33454 ecode2 = SWIG_AsVal_int(obj1, &val2);
33455 if (!SWIG_IsOK(ecode2)) {
33456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33457 }
33458 arg2 = static_cast< int >(val2);
33459 }
33460 if (obj2) {
d14a1e28 33461 {
0085ce49
RD
33462 arg3 = &temp3;
33463 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 33464 }
0085ce49
RD
33465 }
33466 if (obj3) {
093d3ff1 33467 {
0085ce49
RD
33468 arg4 = &temp4;
33469 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 33470 }
0085ce49
RD
33471 }
33472 if (obj4) {
33473 ecode5 = SWIG_AsVal_long(obj4, &val5);
33474 if (!SWIG_IsOK(ecode5)) {
33475 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33476 }
33477 arg5 = static_cast< long >(val5);
33478 }
33479 if (obj5) {
33480 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33481 if (!SWIG_IsOK(res6)) {
33482 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 33483 }
0085ce49
RD
33484 if (!argp6) {
33485 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 33486 }
0085ce49
RD
33487 arg6 = reinterpret_cast< wxValidator * >(argp6);
33488 }
33489 if (obj6) {
4f89f6a3 33490 {
0085ce49
RD
33491 arg7 = wxString_in_helper(obj6);
33492 if (arg7 == NULL) SWIG_fail;
33493 temp7 = true;
4f89f6a3 33494 }
0085ce49
RD
33495 }
33496 {
33497 if (!wxPyCheckForApp()) SWIG_fail;
33498 PyThreadState* __tstate = wxPyBeginAllowThreads();
33499 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33500 wxPyEndAllowThreads(__tstate);
33501 if (PyErr_Occurred()) SWIG_fail;
33502 }
33503 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33504 {
33505 if (temp7)
33506 delete arg7;
33507 }
33508 return resultobj;
33509fail:
33510 {
33511 if (temp7)
33512 delete arg7;
33513 }
33514 return NULL;
d14a1e28
RD
33515}
33516
33517
0085ce49
RD
33518SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33519 PyObject *resultobj = 0;
33520 wxPyTreeCtrl *result = 0 ;
33521
33522 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
33523 {
33524 if (!wxPyCheckForApp()) SWIG_fail;
33525 PyThreadState* __tstate = wxPyBeginAllowThreads();
33526 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
33527 wxPyEndAllowThreads(__tstate);
33528 if (PyErr_Occurred()) SWIG_fail;
33529 }
33530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
33531 return resultobj;
33532fail:
33533 return NULL;
33534}
33535
33536
33537SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33538 PyObject *resultobj = 0;
33539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33540 wxWindow *arg2 = (wxWindow *) 0 ;
33541 int arg3 = (int) -1 ;
33542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33544 wxSize const &arg5_defvalue = wxDefaultSize ;
33545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33546 long arg6 = (long) wxTR_DEFAULT_STYLE ;
33547 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33548 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33549 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
33550 wxString *arg8 = (wxString *) &arg8_defvalue ;
33551 bool result;
33552 void *argp1 = 0 ;
33553 int res1 = 0 ;
33554 void *argp2 = 0 ;
33555 int res2 = 0 ;
33556 int val3 ;
33557 int ecode3 = 0 ;
33558 wxPoint temp4 ;
33559 wxSize temp5 ;
33560 long val6 ;
33561 int ecode6 = 0 ;
33562 void *argp7 = 0 ;
33563 int res7 = 0 ;
33564 bool temp8 = false ;
33565 PyObject * obj0 = 0 ;
33566 PyObject * obj1 = 0 ;
33567 PyObject * obj2 = 0 ;
33568 PyObject * obj3 = 0 ;
33569 PyObject * obj4 = 0 ;
33570 PyObject * obj5 = 0 ;
33571 PyObject * obj6 = 0 ;
33572 PyObject * obj7 = 0 ;
33573 char * kwnames[] = {
33574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33575 };
33576
33577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
33578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33579 if (!SWIG_IsOK(res1)) {
33580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33581 }
33582 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
33584 if (!SWIG_IsOK(res2)) {
33585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33586 }
33587 arg2 = reinterpret_cast< wxWindow * >(argp2);
33588 if (obj2) {
33589 ecode3 = SWIG_AsVal_int(obj2, &val3);
33590 if (!SWIG_IsOK(ecode3)) {
33591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33592 }
33593 arg3 = static_cast< int >(val3);
33594 }
33595 if (obj3) {
4f89f6a3 33596 {
0085ce49
RD
33597 arg4 = &temp4;
33598 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 33599 }
0085ce49
RD
33600 }
33601 if (obj4) {
d14a1e28 33602 {
0085ce49
RD
33603 arg5 = &temp5;
33604 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 33605 }
0085ce49
RD
33606 }
33607 if (obj5) {
33608 ecode6 = SWIG_AsVal_long(obj5, &val6);
33609 if (!SWIG_IsOK(ecode6)) {
33610 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33611 }
33612 arg6 = static_cast< long >(val6);
33613 }
33614 if (obj6) {
33615 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
33616 if (!SWIG_IsOK(res7)) {
33617 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
4f89f6a3 33618 }
0085ce49
RD
33619 if (!argp7) {
33620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 33621 }
0085ce49
RD
33622 arg7 = reinterpret_cast< wxValidator * >(argp7);
33623 }
33624 if (obj7) {
4276dc52 33625 {
0085ce49
RD
33626 arg8 = wxString_in_helper(obj7);
33627 if (arg8 == NULL) SWIG_fail;
33628 temp8 = true;
4276dc52 33629 }
0085ce49
RD
33630 }
33631 {
33632 PyThreadState* __tstate = wxPyBeginAllowThreads();
33633 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33634 wxPyEndAllowThreads(__tstate);
33635 if (PyErr_Occurred()) SWIG_fail;
33636 }
33637 {
33638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33639 }
33640 {
33641 if (temp8)
33642 delete arg8;
33643 }
33644 return resultobj;
33645fail:
33646 {
33647 if (temp8)
33648 delete arg8;
33649 }
33650 return NULL;
33651}
33652
33653
33654SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33655 PyObject *resultobj = 0;
33656 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33657 PyObject *arg2 = (PyObject *) 0 ;
33658 PyObject *arg3 = (PyObject *) 0 ;
33659 void *argp1 = 0 ;
33660 int res1 = 0 ;
33661 PyObject * obj0 = 0 ;
33662 PyObject * obj1 = 0 ;
33663 PyObject * obj2 = 0 ;
33664 char * kwnames[] = {
33665 (char *) "self",(char *) "self",(char *) "_class", NULL
33666 };
33667
33668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33670 if (!SWIG_IsOK(res1)) {
33671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33672 }
33673 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33674 arg2 = obj1;
33675 arg3 = obj2;
33676 {
33677 PyThreadState* __tstate = wxPyBeginAllowThreads();
33678 (arg1)->_setCallbackInfo(arg2,arg3);
33679 wxPyEndAllowThreads(__tstate);
33680 if (PyErr_Occurred()) SWIG_fail;
33681 }
33682 resultobj = SWIG_Py_Void();
33683 return resultobj;
33684fail:
33685 return NULL;
d14a1e28
RD
33686}
33687
33688
0085ce49
RD
33689SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33690 PyObject *resultobj = 0;
33691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 33692 unsigned int result;
0085ce49
RD
33693 void *argp1 = 0 ;
33694 int res1 = 0 ;
33695 PyObject *swig_obj[1] ;
33696
33697 if (!args) SWIG_fail;
33698 swig_obj[0] = args;
33699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33700 if (!SWIG_IsOK(res1)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33702 }
33703 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33704 {
33705 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 33706 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
0085ce49
RD
33707 wxPyEndAllowThreads(__tstate);
33708 if (PyErr_Occurred()) SWIG_fail;
33709 }
e9d6f3a4 33710 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
0085ce49
RD
33711 return resultobj;
33712fail:
33713 return NULL;
d14a1e28
RD
33714}
33715
33716
0085ce49
RD
33717SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33718 PyObject *resultobj = 0;
33719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33720 unsigned int result;
33721 void *argp1 = 0 ;
33722 int res1 = 0 ;
33723 PyObject *swig_obj[1] ;
33724
33725 if (!args) SWIG_fail;
33726 swig_obj[0] = args;
33727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33728 if (!SWIG_IsOK(res1)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33730 }
33731 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33732 {
33733 PyThreadState* __tstate = wxPyBeginAllowThreads();
33734 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
33735 wxPyEndAllowThreads(__tstate);
33736 if (PyErr_Occurred()) SWIG_fail;
33737 }
33738 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33739 return resultobj;
33740fail:
33741 return NULL;
33742}
33743
33744
33745SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33746 PyObject *resultobj = 0;
33747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33748 unsigned int arg2 ;
33749 void *argp1 = 0 ;
33750 int res1 = 0 ;
33751 unsigned int val2 ;
33752 int ecode2 = 0 ;
33753 PyObject * obj0 = 0 ;
33754 PyObject * obj1 = 0 ;
33755 char * kwnames[] = {
33756 (char *) "self",(char *) "indent", NULL
33757 };
33758
33759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
33760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33761 if (!SWIG_IsOK(res1)) {
33762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33763 }
33764 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33765 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33766 if (!SWIG_IsOK(ecode2)) {
33767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33768 }
33769 arg2 = static_cast< unsigned int >(val2);
33770 {
33771 PyThreadState* __tstate = wxPyBeginAllowThreads();
33772 (arg1)->SetIndent(arg2);
33773 wxPyEndAllowThreads(__tstate);
33774 if (PyErr_Occurred()) SWIG_fail;
33775 }
33776 resultobj = SWIG_Py_Void();
33777 return resultobj;
33778fail:
33779 return NULL;
d14a1e28
RD
33780}
33781
33782
0085ce49
RD
33783SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33784 PyObject *resultobj = 0;
33785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33786 unsigned int result;
33787 void *argp1 = 0 ;
33788 int res1 = 0 ;
33789 PyObject *swig_obj[1] ;
33790
33791 if (!args) SWIG_fail;
33792 swig_obj[0] = args;
33793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33794 if (!SWIG_IsOK(res1)) {
33795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33796 }
33797 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33798 {
33799 PyThreadState* __tstate = wxPyBeginAllowThreads();
33800 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
33801 wxPyEndAllowThreads(__tstate);
33802 if (PyErr_Occurred()) SWIG_fail;
33803 }
33804 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
33805 return resultobj;
33806fail:
33807 return NULL;
33808}
33809
33810
33811SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33812 PyObject *resultobj = 0;
33813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33814 unsigned int arg2 ;
33815 void *argp1 = 0 ;
33816 int res1 = 0 ;
33817 unsigned int val2 ;
33818 int ecode2 = 0 ;
33819 PyObject * obj0 = 0 ;
33820 PyObject * obj1 = 0 ;
33821 char * kwnames[] = {
33822 (char *) "self",(char *) "spacing", NULL
33823 };
33824
33825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
33826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33827 if (!SWIG_IsOK(res1)) {
33828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33829 }
33830 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33831 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
33832 if (!SWIG_IsOK(ecode2)) {
33833 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33834 }
33835 arg2 = static_cast< unsigned int >(val2);
33836 {
33837 PyThreadState* __tstate = wxPyBeginAllowThreads();
33838 (arg1)->SetSpacing(arg2);
33839 wxPyEndAllowThreads(__tstate);
33840 if (PyErr_Occurred()) SWIG_fail;
33841 }
33842 resultobj = SWIG_Py_Void();
33843 return resultobj;
33844fail:
33845 return NULL;
d14a1e28
RD
33846}
33847
33848
0085ce49
RD
33849SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33850 PyObject *resultobj = 0;
33851 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33852 wxImageList *result = 0 ;
33853 void *argp1 = 0 ;
33854 int res1 = 0 ;
33855 PyObject *swig_obj[1] ;
33856
33857 if (!args) SWIG_fail;
33858 swig_obj[0] = args;
33859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33860 if (!SWIG_IsOK(res1)) {
33861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33862 }
33863 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33864 {
33865 PyThreadState* __tstate = wxPyBeginAllowThreads();
33866 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
33867 wxPyEndAllowThreads(__tstate);
33868 if (PyErr_Occurred()) SWIG_fail;
33869 }
33870 {
33871 resultobj = wxPyMake_wxObject(result, (bool)0);
33872 }
33873 return resultobj;
33874fail:
33875 return NULL;
d14a1e28
RD
33876}
33877
33878
0085ce49
RD
33879SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33880 PyObject *resultobj = 0;
33881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33882 wxImageList *result = 0 ;
33883 void *argp1 = 0 ;
33884 int res1 = 0 ;
33885 PyObject *swig_obj[1] ;
33886
33887 if (!args) SWIG_fail;
33888 swig_obj[0] = args;
33889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33890 if (!SWIG_IsOK(res1)) {
33891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33892 }
33893 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33894 {
33895 PyThreadState* __tstate = wxPyBeginAllowThreads();
33896 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
33897 wxPyEndAllowThreads(__tstate);
33898 if (PyErr_Occurred()) SWIG_fail;
33899 }
33900 {
33901 resultobj = wxPyMake_wxObject(result, (bool)0);
33902 }
33903 return resultobj;
33904fail:
33905 return NULL;
33906}
33907
33908
33909SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33910 PyObject *resultobj = 0;
33911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33912 wxImageList *arg2 = (wxImageList *) 0 ;
33913 void *argp1 = 0 ;
33914 int res1 = 0 ;
33915 void *argp2 = 0 ;
33916 int res2 = 0 ;
33917 PyObject * obj0 = 0 ;
33918 PyObject * obj1 = 0 ;
33919 char * kwnames[] = {
33920 (char *) "self",(char *) "imageList", NULL
33921 };
33922
33923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33925 if (!SWIG_IsOK(res1)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33927 }
33928 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33930 if (!SWIG_IsOK(res2)) {
33931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33932 }
33933 arg2 = reinterpret_cast< wxImageList * >(argp2);
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 (arg1)->SetImageList(arg2);
33937 wxPyEndAllowThreads(__tstate);
33938 if (PyErr_Occurred()) SWIG_fail;
33939 }
33940 resultobj = SWIG_Py_Void();
33941 return resultobj;
33942fail:
33943 return NULL;
33944}
33945
33946
33947SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33948 PyObject *resultobj = 0;
33949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33950 wxImageList *arg2 = (wxImageList *) 0 ;
33951 void *argp1 = 0 ;
33952 int res1 = 0 ;
33953 void *argp2 = 0 ;
33954 int res2 = 0 ;
33955 PyObject * obj0 = 0 ;
33956 PyObject * obj1 = 0 ;
33957 char * kwnames[] = {
33958 (char *) "self",(char *) "imageList", NULL
33959 };
33960
33961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33963 if (!SWIG_IsOK(res1)) {
33964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33965 }
33966 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
33967 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
33968 if (!SWIG_IsOK(res2)) {
33969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33970 }
33971 arg2 = reinterpret_cast< wxImageList * >(argp2);
33972 {
33973 PyThreadState* __tstate = wxPyBeginAllowThreads();
33974 (arg1)->SetStateImageList(arg2);
33975 wxPyEndAllowThreads(__tstate);
33976 if (PyErr_Occurred()) SWIG_fail;
33977 }
33978 resultobj = SWIG_Py_Void();
33979 return resultobj;
33980fail:
33981 return NULL;
33982}
33983
33984
33985SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33986 PyObject *resultobj = 0;
33987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
33988 wxImageList *arg2 = (wxImageList *) 0 ;
33989 void *argp1 = 0 ;
33990 int res1 = 0 ;
33991 int res2 = 0 ;
33992 PyObject * obj0 = 0 ;
33993 PyObject * obj1 = 0 ;
33994 char * kwnames[] = {
33995 (char *) "self",(char *) "imageList", NULL
33996 };
33997
33998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
33999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34000 if (!SWIG_IsOK(res1)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34002 }
34003 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34004 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34005 if (!SWIG_IsOK(res2)) {
34006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34007 }
34008 {
34009 PyThreadState* __tstate = wxPyBeginAllowThreads();
34010 (arg1)->AssignImageList(arg2);
34011 wxPyEndAllowThreads(__tstate);
34012 if (PyErr_Occurred()) SWIG_fail;
34013 }
34014 resultobj = SWIG_Py_Void();
34015 return resultobj;
34016fail:
34017 return NULL;
34018}
34019
34020
34021SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34022 PyObject *resultobj = 0;
34023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34024 wxImageList *arg2 = (wxImageList *) 0 ;
34025 void *argp1 = 0 ;
34026 int res1 = 0 ;
34027 int res2 = 0 ;
34028 PyObject * obj0 = 0 ;
34029 PyObject * obj1 = 0 ;
34030 char * kwnames[] = {
34031 (char *) "self",(char *) "imageList", NULL
34032 };
34033
34034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34036 if (!SWIG_IsOK(res1)) {
34037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34038 }
34039 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34040 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34041 if (!SWIG_IsOK(res2)) {
34042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34043 }
34044 {
34045 PyThreadState* __tstate = wxPyBeginAllowThreads();
34046 (arg1)->AssignStateImageList(arg2);
34047 wxPyEndAllowThreads(__tstate);
34048 if (PyErr_Occurred()) SWIG_fail;
34049 }
34050 resultobj = SWIG_Py_Void();
34051 return resultobj;
34052fail:
34053 return NULL;
34054}
34055
34056
34057SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34058 PyObject *resultobj = 0;
34059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34060 wxTreeItemId *arg2 = 0 ;
34061 wxString result;
34062 void *argp1 = 0 ;
34063 int res1 = 0 ;
34064 void *argp2 = 0 ;
34065 int res2 = 0 ;
34066 PyObject * obj0 = 0 ;
34067 PyObject * obj1 = 0 ;
34068 char * kwnames[] = {
34069 (char *) "self",(char *) "item", NULL
34070 };
34071
34072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34074 if (!SWIG_IsOK(res1)) {
34075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34076 }
34077 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34078 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34079 if (!SWIG_IsOK(res2)) {
34080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34081 }
34082 if (!argp2) {
34083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34084 }
34085 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34086 {
34087 PyThreadState* __tstate = wxPyBeginAllowThreads();
34088 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34089 wxPyEndAllowThreads(__tstate);
34090 if (PyErr_Occurred()) SWIG_fail;
34091 }
34092 {
d14a1e28 34093#if wxUSE_UNICODE
0085ce49 34094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 34095#else
0085ce49 34096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 34097#endif
0085ce49
RD
34098 }
34099 return resultobj;
34100fail:
34101 return NULL;
34102}
34103
34104
34105SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34106 PyObject *resultobj = 0;
34107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34108 wxTreeItemId *arg2 = 0 ;
34109 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34110 int result;
34111 void *argp1 = 0 ;
34112 int res1 = 0 ;
34113 void *argp2 = 0 ;
34114 int res2 = 0 ;
34115 int val3 ;
34116 int ecode3 = 0 ;
34117 PyObject * obj0 = 0 ;
34118 PyObject * obj1 = 0 ;
34119 PyObject * obj2 = 0 ;
34120 char * kwnames[] = {
34121 (char *) "self",(char *) "item",(char *) "which", NULL
34122 };
34123
34124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34126 if (!SWIG_IsOK(res1)) {
34127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34128 }
34129 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34130 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34131 if (!SWIG_IsOK(res2)) {
34132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34133 }
34134 if (!argp2) {
34135 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34136 }
34137 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34138 if (obj2) {
34139 ecode3 = SWIG_AsVal_int(obj2, &val3);
34140 if (!SWIG_IsOK(ecode3)) {
34141 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34142 }
34143 arg3 = static_cast< wxTreeItemIcon >(val3);
34144 }
34145 {
34146 PyThreadState* __tstate = wxPyBeginAllowThreads();
34147 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34148 wxPyEndAllowThreads(__tstate);
34149 if (PyErr_Occurred()) SWIG_fail;
34150 }
34151 resultobj = SWIG_From_int(static_cast< int >(result));
34152 return resultobj;
34153fail:
34154 return NULL;
34155}
34156
34157
34158SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34159 PyObject *resultobj = 0;
34160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34161 wxTreeItemId *arg2 = 0 ;
34162 wxPyTreeItemData *result = 0 ;
34163 void *argp1 = 0 ;
34164 int res1 = 0 ;
34165 void *argp2 = 0 ;
34166 int res2 = 0 ;
34167 PyObject * obj0 = 0 ;
34168 PyObject * obj1 = 0 ;
34169 char * kwnames[] = {
34170 (char *) "self",(char *) "item", NULL
34171 };
34172
34173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34175 if (!SWIG_IsOK(res1)) {
34176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34177 }
34178 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34179 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34180 if (!SWIG_IsOK(res2)) {
34181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34182 }
34183 if (!argp2) {
34184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34185 }
34186 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34187 {
34188 PyThreadState* __tstate = wxPyBeginAllowThreads();
34189 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34190 wxPyEndAllowThreads(__tstate);
34191 if (PyErr_Occurred()) SWIG_fail;
34192 }
34193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34194 return resultobj;
34195fail:
34196 return NULL;
34197}
34198
34199
34200SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34201 PyObject *resultobj = 0;
34202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34203 wxTreeItemId *arg2 = 0 ;
34204 PyObject *result = 0 ;
34205 void *argp1 = 0 ;
34206 int res1 = 0 ;
34207 void *argp2 = 0 ;
34208 int res2 = 0 ;
34209 PyObject * obj0 = 0 ;
34210 PyObject * obj1 = 0 ;
34211 char * kwnames[] = {
34212 (char *) "self",(char *) "item", NULL
34213 };
34214
34215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34217 if (!SWIG_IsOK(res1)) {
34218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34219 }
34220 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34221 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34222 if (!SWIG_IsOK(res2)) {
34223 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34224 }
34225 if (!argp2) {
34226 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34227 }
34228 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34229 {
34230 PyThreadState* __tstate = wxPyBeginAllowThreads();
34231 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34232 wxPyEndAllowThreads(__tstate);
34233 if (PyErr_Occurred()) SWIG_fail;
34234 }
34235 resultobj = result;
34236 return resultobj;
34237fail:
34238 return NULL;
34239}
34240
34241
34242SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34243 PyObject *resultobj = 0;
34244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34245 wxTreeItemId *arg2 = 0 ;
34246 wxColour result;
34247 void *argp1 = 0 ;
34248 int res1 = 0 ;
34249 void *argp2 = 0 ;
34250 int res2 = 0 ;
34251 PyObject * obj0 = 0 ;
34252 PyObject * obj1 = 0 ;
34253 char * kwnames[] = {
34254 (char *) "self",(char *) "item", NULL
34255 };
34256
34257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34259 if (!SWIG_IsOK(res1)) {
34260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34261 }
34262 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34263 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34264 if (!SWIG_IsOK(res2)) {
34265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34266 }
34267 if (!argp2) {
34268 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34269 }
34270 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34271 {
34272 PyThreadState* __tstate = wxPyBeginAllowThreads();
34273 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34274 wxPyEndAllowThreads(__tstate);
34275 if (PyErr_Occurred()) SWIG_fail;
34276 }
34277 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34278 return resultobj;
34279fail:
34280 return NULL;
34281}
34282
34283
34284SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34285 PyObject *resultobj = 0;
34286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34287 wxTreeItemId *arg2 = 0 ;
34288 wxColour result;
34289 void *argp1 = 0 ;
34290 int res1 = 0 ;
34291 void *argp2 = 0 ;
34292 int res2 = 0 ;
34293 PyObject * obj0 = 0 ;
34294 PyObject * obj1 = 0 ;
34295 char * kwnames[] = {
34296 (char *) "self",(char *) "item", NULL
34297 };
34298
34299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34301 if (!SWIG_IsOK(res1)) {
34302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34303 }
34304 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34305 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34306 if (!SWIG_IsOK(res2)) {
34307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34308 }
34309 if (!argp2) {
34310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34311 }
34312 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34313 {
34314 PyThreadState* __tstate = wxPyBeginAllowThreads();
34315 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34316 wxPyEndAllowThreads(__tstate);
34317 if (PyErr_Occurred()) SWIG_fail;
34318 }
34319 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34320 return resultobj;
34321fail:
34322 return NULL;
34323}
34324
34325
34326SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34327 PyObject *resultobj = 0;
34328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34329 wxTreeItemId *arg2 = 0 ;
34330 wxFont result;
34331 void *argp1 = 0 ;
34332 int res1 = 0 ;
34333 void *argp2 = 0 ;
34334 int res2 = 0 ;
34335 PyObject * obj0 = 0 ;
34336 PyObject * obj1 = 0 ;
34337 char * kwnames[] = {
34338 (char *) "self",(char *) "item", NULL
34339 };
34340
34341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34343 if (!SWIG_IsOK(res1)) {
34344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34345 }
34346 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34347 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34348 if (!SWIG_IsOK(res2)) {
34349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34350 }
34351 if (!argp2) {
34352 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34353 }
34354 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34355 {
34356 PyThreadState* __tstate = wxPyBeginAllowThreads();
34357 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34358 wxPyEndAllowThreads(__tstate);
34359 if (PyErr_Occurred()) SWIG_fail;
34360 }
34361 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34362 return resultobj;
34363fail:
34364 return NULL;
34365}
34366
34367
34368SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34369 PyObject *resultobj = 0;
34370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34371 wxTreeItemId *arg2 = 0 ;
34372 wxString *arg3 = 0 ;
34373 void *argp1 = 0 ;
34374 int res1 = 0 ;
34375 void *argp2 = 0 ;
34376 int res2 = 0 ;
34377 bool temp3 = false ;
34378 PyObject * obj0 = 0 ;
34379 PyObject * obj1 = 0 ;
34380 PyObject * obj2 = 0 ;
34381 char * kwnames[] = {
34382 (char *) "self",(char *) "item",(char *) "text", NULL
34383 };
34384
34385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34387 if (!SWIG_IsOK(res1)) {
34388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34389 }
34390 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34391 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34392 if (!SWIG_IsOK(res2)) {
34393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34394 }
34395 if (!argp2) {
34396 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34397 }
34398 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34399 {
34400 arg3 = wxString_in_helper(obj2);
34401 if (arg3 == NULL) SWIG_fail;
34402 temp3 = true;
34403 }
34404 {
34405 PyThreadState* __tstate = wxPyBeginAllowThreads();
34406 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34407 wxPyEndAllowThreads(__tstate);
34408 if (PyErr_Occurred()) SWIG_fail;
34409 }
34410 resultobj = SWIG_Py_Void();
34411 {
34412 if (temp3)
34413 delete arg3;
34414 }
34415 return resultobj;
34416fail:
34417 {
34418 if (temp3)
34419 delete arg3;
34420 }
34421 return NULL;
34422}
34423
34424
34425SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34426 PyObject *resultobj = 0;
34427 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34428 wxTreeItemId *arg2 = 0 ;
34429 int arg3 ;
34430 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34431 void *argp1 = 0 ;
34432 int res1 = 0 ;
34433 void *argp2 = 0 ;
34434 int res2 = 0 ;
34435 int val3 ;
34436 int ecode3 = 0 ;
34437 int val4 ;
34438 int ecode4 = 0 ;
34439 PyObject * obj0 = 0 ;
34440 PyObject * obj1 = 0 ;
34441 PyObject * obj2 = 0 ;
34442 PyObject * obj3 = 0 ;
34443 char * kwnames[] = {
34444 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34445 };
34446
34447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34449 if (!SWIG_IsOK(res1)) {
34450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34451 }
34452 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34453 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34454 if (!SWIG_IsOK(res2)) {
34455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34456 }
34457 if (!argp2) {
34458 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34459 }
34460 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34461 ecode3 = SWIG_AsVal_int(obj2, &val3);
34462 if (!SWIG_IsOK(ecode3)) {
34463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34464 }
34465 arg3 = static_cast< int >(val3);
34466 if (obj3) {
34467 ecode4 = SWIG_AsVal_int(obj3, &val4);
34468 if (!SWIG_IsOK(ecode4)) {
34469 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34470 }
34471 arg4 = static_cast< wxTreeItemIcon >(val4);
34472 }
34473 {
34474 PyThreadState* __tstate = wxPyBeginAllowThreads();
34475 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34476 wxPyEndAllowThreads(__tstate);
34477 if (PyErr_Occurred()) SWIG_fail;
34478 }
34479 resultobj = SWIG_Py_Void();
34480 return resultobj;
34481fail:
34482 return NULL;
34483}
34484
34485
34486SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34487 PyObject *resultobj = 0;
34488 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34489 wxTreeItemId *arg2 = 0 ;
34490 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34491 void *argp1 = 0 ;
34492 int res1 = 0 ;
34493 void *argp2 = 0 ;
34494 int res2 = 0 ;
34495 int res3 = 0 ;
34496 PyObject * obj0 = 0 ;
34497 PyObject * obj1 = 0 ;
34498 PyObject * obj2 = 0 ;
34499 char * kwnames[] = {
34500 (char *) "self",(char *) "item",(char *) "data", NULL
34501 };
34502
34503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34505 if (!SWIG_IsOK(res1)) {
34506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34507 }
34508 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34509 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34510 if (!SWIG_IsOK(res2)) {
34511 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34512 }
34513 if (!argp2) {
34514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34515 }
34516 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34517 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34518 if (!SWIG_IsOK(res3)) {
34519 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34520 }
34521 {
34522 PyThreadState* __tstate = wxPyBeginAllowThreads();
34523 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
34524 wxPyEndAllowThreads(__tstate);
34525 if (PyErr_Occurred()) SWIG_fail;
34526 }
34527 resultobj = SWIG_Py_Void();
34528 return resultobj;
34529fail:
34530 return NULL;
34531}
34532
34533
34534SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34535 PyObject *resultobj = 0;
34536 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34537 wxTreeItemId *arg2 = 0 ;
34538 PyObject *arg3 = (PyObject *) 0 ;
34539 void *argp1 = 0 ;
34540 int res1 = 0 ;
34541 void *argp2 = 0 ;
34542 int res2 = 0 ;
34543 PyObject * obj0 = 0 ;
34544 PyObject * obj1 = 0 ;
34545 PyObject * obj2 = 0 ;
34546 char * kwnames[] = {
34547 (char *) "self",(char *) "item",(char *) "obj", NULL
34548 };
34549
34550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34552 if (!SWIG_IsOK(res1)) {
34553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34554 }
34555 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34556 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34557 if (!SWIG_IsOK(res2)) {
34558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34559 }
34560 if (!argp2) {
34561 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34562 }
34563 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34564 arg3 = obj2;
34565 {
34566 PyThreadState* __tstate = wxPyBeginAllowThreads();
34567 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
34568 wxPyEndAllowThreads(__tstate);
34569 if (PyErr_Occurred()) SWIG_fail;
34570 }
34571 resultobj = SWIG_Py_Void();
34572 return resultobj;
34573fail:
34574 return NULL;
34575}
34576
34577
34578SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34579 PyObject *resultobj = 0;
34580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34581 wxTreeItemId *arg2 = 0 ;
34582 bool arg3 = (bool) true ;
34583 void *argp1 = 0 ;
34584 int res1 = 0 ;
34585 void *argp2 = 0 ;
34586 int res2 = 0 ;
34587 bool val3 ;
34588 int ecode3 = 0 ;
34589 PyObject * obj0 = 0 ;
34590 PyObject * obj1 = 0 ;
34591 PyObject * obj2 = 0 ;
34592 char * kwnames[] = {
34593 (char *) "self",(char *) "item",(char *) "has", NULL
34594 };
34595
34596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34598 if (!SWIG_IsOK(res1)) {
34599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34600 }
34601 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34602 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34603 if (!SWIG_IsOK(res2)) {
34604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34605 }
34606 if (!argp2) {
34607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34608 }
34609 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34610 if (obj2) {
34611 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34612 if (!SWIG_IsOK(ecode3)) {
34613 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34614 }
34615 arg3 = static_cast< bool >(val3);
34616 }
34617 {
34618 PyThreadState* __tstate = wxPyBeginAllowThreads();
34619 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
34620 wxPyEndAllowThreads(__tstate);
34621 if (PyErr_Occurred()) SWIG_fail;
34622 }
34623 resultobj = SWIG_Py_Void();
34624 return resultobj;
34625fail:
34626 return NULL;
34627}
34628
34629
34630SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34631 PyObject *resultobj = 0;
34632 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34633 wxTreeItemId *arg2 = 0 ;
34634 bool arg3 = (bool) true ;
34635 void *argp1 = 0 ;
34636 int res1 = 0 ;
34637 void *argp2 = 0 ;
34638 int res2 = 0 ;
34639 bool val3 ;
34640 int ecode3 = 0 ;
34641 PyObject * obj0 = 0 ;
34642 PyObject * obj1 = 0 ;
34643 PyObject * obj2 = 0 ;
34644 char * kwnames[] = {
34645 (char *) "self",(char *) "item",(char *) "bold", NULL
34646 };
34647
34648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34650 if (!SWIG_IsOK(res1)) {
34651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34652 }
34653 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34655 if (!SWIG_IsOK(res2)) {
34656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34657 }
34658 if (!argp2) {
34659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34660 }
34661 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34662 if (obj2) {
34663 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34664 if (!SWIG_IsOK(ecode3)) {
34665 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34666 }
34667 arg3 = static_cast< bool >(val3);
34668 }
34669 {
34670 PyThreadState* __tstate = wxPyBeginAllowThreads();
34671 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
34672 wxPyEndAllowThreads(__tstate);
34673 if (PyErr_Occurred()) SWIG_fail;
34674 }
34675 resultobj = SWIG_Py_Void();
34676 return resultobj;
34677fail:
34678 return NULL;
34679}
34680
34681
34682SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34683 PyObject *resultobj = 0;
34684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34685 wxTreeItemId *arg2 = 0 ;
34686 bool arg3 = (bool) true ;
34687 void *argp1 = 0 ;
34688 int res1 = 0 ;
34689 void *argp2 = 0 ;
34690 int res2 = 0 ;
34691 bool val3 ;
34692 int ecode3 = 0 ;
34693 PyObject * obj0 = 0 ;
34694 PyObject * obj1 = 0 ;
34695 PyObject * obj2 = 0 ;
34696 char * kwnames[] = {
34697 (char *) "self",(char *) "item",(char *) "highlight", NULL
34698 };
34699
34700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34702 if (!SWIG_IsOK(res1)) {
34703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34704 }
34705 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34706 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34707 if (!SWIG_IsOK(res2)) {
34708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34709 }
34710 if (!argp2) {
34711 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34712 }
34713 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34714 if (obj2) {
34715 ecode3 = SWIG_AsVal_bool(obj2, &val3);
34716 if (!SWIG_IsOK(ecode3)) {
34717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34718 }
34719 arg3 = static_cast< bool >(val3);
34720 }
34721 {
34722 PyThreadState* __tstate = wxPyBeginAllowThreads();
34723 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
34724 wxPyEndAllowThreads(__tstate);
34725 if (PyErr_Occurred()) SWIG_fail;
34726 }
34727 resultobj = SWIG_Py_Void();
34728 return resultobj;
34729fail:
34730 return NULL;
34731}
34732
34733
34734SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34735 PyObject *resultobj = 0;
34736 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34737 wxTreeItemId *arg2 = 0 ;
34738 wxColour *arg3 = 0 ;
34739 void *argp1 = 0 ;
34740 int res1 = 0 ;
34741 void *argp2 = 0 ;
34742 int res2 = 0 ;
34743 wxColour temp3 ;
34744 PyObject * obj0 = 0 ;
34745 PyObject * obj1 = 0 ;
34746 PyObject * obj2 = 0 ;
34747 char * kwnames[] = {
34748 (char *) "self",(char *) "item",(char *) "col", NULL
34749 };
34750
34751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34753 if (!SWIG_IsOK(res1)) {
34754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34755 }
34756 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34757 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34758 if (!SWIG_IsOK(res2)) {
34759 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34760 }
34761 if (!argp2) {
34762 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34763 }
34764 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34765 {
34766 arg3 = &temp3;
34767 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34768 }
34769 {
34770 PyThreadState* __tstate = wxPyBeginAllowThreads();
34771 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34772 wxPyEndAllowThreads(__tstate);
34773 if (PyErr_Occurred()) SWIG_fail;
34774 }
34775 resultobj = SWIG_Py_Void();
34776 return resultobj;
34777fail:
34778 return NULL;
34779}
34780
34781
34782SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34783 PyObject *resultobj = 0;
34784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34785 wxTreeItemId *arg2 = 0 ;
34786 wxColour *arg3 = 0 ;
34787 void *argp1 = 0 ;
34788 int res1 = 0 ;
34789 void *argp2 = 0 ;
34790 int res2 = 0 ;
34791 wxColour temp3 ;
34792 PyObject * obj0 = 0 ;
34793 PyObject * obj1 = 0 ;
34794 PyObject * obj2 = 0 ;
34795 char * kwnames[] = {
34796 (char *) "self",(char *) "item",(char *) "col", NULL
34797 };
34798
34799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34801 if (!SWIG_IsOK(res1)) {
34802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34803 }
34804 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34805 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34806 if (!SWIG_IsOK(res2)) {
34807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34808 }
34809 if (!argp2) {
34810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34811 }
34812 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34813 {
34814 arg3 = &temp3;
34815 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
34816 }
34817 {
34818 PyThreadState* __tstate = wxPyBeginAllowThreads();
34819 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
34820 wxPyEndAllowThreads(__tstate);
34821 if (PyErr_Occurred()) SWIG_fail;
34822 }
34823 resultobj = SWIG_Py_Void();
34824 return resultobj;
34825fail:
34826 return NULL;
34827}
34828
34829
34830SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34831 PyObject *resultobj = 0;
34832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34833 wxTreeItemId *arg2 = 0 ;
34834 wxFont *arg3 = 0 ;
34835 void *argp1 = 0 ;
34836 int res1 = 0 ;
34837 void *argp2 = 0 ;
34838 int res2 = 0 ;
34839 void *argp3 = 0 ;
34840 int res3 = 0 ;
34841 PyObject * obj0 = 0 ;
34842 PyObject * obj1 = 0 ;
34843 PyObject * obj2 = 0 ;
34844 char * kwnames[] = {
34845 (char *) "self",(char *) "item",(char *) "font", NULL
34846 };
34847
34848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34850 if (!SWIG_IsOK(res1)) {
34851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34852 }
34853 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34854 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34855 if (!SWIG_IsOK(res2)) {
34856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34857 }
34858 if (!argp2) {
34859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 }
34861 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34862 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
34863 if (!SWIG_IsOK(res3)) {
34864 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34865 }
34866 if (!argp3) {
34867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34868 }
34869 arg3 = reinterpret_cast< wxFont * >(argp3);
34870 {
34871 PyThreadState* __tstate = wxPyBeginAllowThreads();
34872 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
34873 wxPyEndAllowThreads(__tstate);
34874 if (PyErr_Occurred()) SWIG_fail;
34875 }
34876 resultobj = SWIG_Py_Void();
34877 return resultobj;
34878fail:
34879 return NULL;
34880}
34881
34882
34883SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34884 PyObject *resultobj = 0;
34885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34886 wxTreeItemId *arg2 = 0 ;
34887 bool result;
34888 void *argp1 = 0 ;
34889 int res1 = 0 ;
34890 void *argp2 = 0 ;
34891 int res2 = 0 ;
34892 PyObject * obj0 = 0 ;
34893 PyObject * obj1 = 0 ;
34894 char * kwnames[] = {
34895 (char *) "self",(char *) "item", NULL
34896 };
34897
34898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
34899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34900 if (!SWIG_IsOK(res1)) {
34901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34902 }
34903 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34904 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34905 if (!SWIG_IsOK(res2)) {
34906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34907 }
34908 if (!argp2) {
34909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34910 }
34911 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34912 {
34913 PyThreadState* __tstate = wxPyBeginAllowThreads();
34914 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
34915 wxPyEndAllowThreads(__tstate);
34916 if (PyErr_Occurred()) SWIG_fail;
34917 }
34918 {
34919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34920 }
34921 return resultobj;
34922fail:
34923 return NULL;
34924}
34925
34926
34927SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34928 PyObject *resultobj = 0;
34929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34930 wxTreeItemId *arg2 = 0 ;
34931 bool result;
34932 void *argp1 = 0 ;
34933 int res1 = 0 ;
34934 void *argp2 = 0 ;
34935 int res2 = 0 ;
34936 PyObject * obj0 = 0 ;
34937 PyObject * obj1 = 0 ;
34938 char * kwnames[] = {
34939 (char *) "self",(char *) "item", NULL
34940 };
34941
34942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
34943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34944 if (!SWIG_IsOK(res1)) {
34945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34946 }
34947 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34948 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34949 if (!SWIG_IsOK(res2)) {
34950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34951 }
34952 if (!argp2) {
34953 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34954 }
34955 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34956 {
34957 PyThreadState* __tstate = wxPyBeginAllowThreads();
34958 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
34959 wxPyEndAllowThreads(__tstate);
34960 if (PyErr_Occurred()) SWIG_fail;
34961 }
34962 {
34963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34964 }
34965 return resultobj;
34966fail:
34967 return NULL;
34968}
34969
34970
34971SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34972 PyObject *resultobj = 0;
34973 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34974 wxTreeItemId *arg2 = 0 ;
34975 bool result;
34976 void *argp1 = 0 ;
34977 int res1 = 0 ;
34978 void *argp2 = 0 ;
34979 int res2 = 0 ;
34980 PyObject * obj0 = 0 ;
34981 PyObject * obj1 = 0 ;
34982 char * kwnames[] = {
34983 (char *) "self",(char *) "item", NULL
34984 };
34985
34986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
34987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34988 if (!SWIG_IsOK(res1)) {
34989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34990 }
34991 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34992 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34993 if (!SWIG_IsOK(res2)) {
34994 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34995 }
34996 if (!argp2) {
34997 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34998 }
34999 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35000 {
35001 PyThreadState* __tstate = wxPyBeginAllowThreads();
35002 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35003 wxPyEndAllowThreads(__tstate);
35004 if (PyErr_Occurred()) SWIG_fail;
35005 }
35006 {
35007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35008 }
35009 return resultobj;
35010fail:
35011 return NULL;
35012}
35013
35014
35015SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35016 PyObject *resultobj = 0;
35017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35018 wxTreeItemId *arg2 = 0 ;
35019 bool result;
35020 void *argp1 = 0 ;
35021 int res1 = 0 ;
35022 void *argp2 = 0 ;
35023 int res2 = 0 ;
35024 PyObject * obj0 = 0 ;
35025 PyObject * obj1 = 0 ;
35026 char * kwnames[] = {
35027 (char *) "self",(char *) "item", NULL
35028 };
35029
35030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35032 if (!SWIG_IsOK(res1)) {
35033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35034 }
35035 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35036 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35037 if (!SWIG_IsOK(res2)) {
35038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35039 }
35040 if (!argp2) {
35041 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35042 }
35043 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35044 {
35045 PyThreadState* __tstate = wxPyBeginAllowThreads();
35046 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35047 wxPyEndAllowThreads(__tstate);
35048 if (PyErr_Occurred()) SWIG_fail;
35049 }
35050 {
35051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35052 }
35053 return resultobj;
35054fail:
35055 return NULL;
35056}
35057
35058
35059SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35060 PyObject *resultobj = 0;
35061 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35062 wxTreeItemId *arg2 = 0 ;
35063 bool result;
35064 void *argp1 = 0 ;
35065 int res1 = 0 ;
35066 void *argp2 = 0 ;
35067 int res2 = 0 ;
35068 PyObject * obj0 = 0 ;
35069 PyObject * obj1 = 0 ;
35070 char * kwnames[] = {
35071 (char *) "self",(char *) "item", NULL
35072 };
35073
35074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35076 if (!SWIG_IsOK(res1)) {
35077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35078 }
35079 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35080 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35081 if (!SWIG_IsOK(res2)) {
35082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35083 }
35084 if (!argp2) {
35085 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35086 }
35087 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35088 {
35089 PyThreadState* __tstate = wxPyBeginAllowThreads();
35090 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35091 wxPyEndAllowThreads(__tstate);
35092 if (PyErr_Occurred()) SWIG_fail;
35093 }
35094 {
35095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35096 }
35097 return resultobj;
35098fail:
35099 return NULL;
35100}
35101
35102
35103SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35104 PyObject *resultobj = 0;
35105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35106 wxTreeItemId *arg2 = 0 ;
35107 bool arg3 = (bool) true ;
35108 size_t result;
35109 void *argp1 = 0 ;
35110 int res1 = 0 ;
35111 void *argp2 = 0 ;
35112 int res2 = 0 ;
35113 bool val3 ;
35114 int ecode3 = 0 ;
35115 PyObject * obj0 = 0 ;
35116 PyObject * obj1 = 0 ;
35117 PyObject * obj2 = 0 ;
35118 char * kwnames[] = {
35119 (char *) "self",(char *) "item",(char *) "recursively", NULL
35120 };
35121
35122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35124 if (!SWIG_IsOK(res1)) {
35125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35126 }
35127 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35128 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35129 if (!SWIG_IsOK(res2)) {
35130 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35131 }
35132 if (!argp2) {
35133 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35134 }
35135 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35136 if (obj2) {
35137 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35138 if (!SWIG_IsOK(ecode3)) {
35139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35140 }
35141 arg3 = static_cast< bool >(val3);
35142 }
35143 {
35144 PyThreadState* __tstate = wxPyBeginAllowThreads();
35145 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35146 wxPyEndAllowThreads(__tstate);
35147 if (PyErr_Occurred()) SWIG_fail;
35148 }
35149 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35150 return resultobj;
35151fail:
35152 return NULL;
d14a1e28
RD
35153}
35154
35155
0085ce49
RD
35156SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35157 PyObject *resultobj = 0;
35158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35159 wxTreeItemId result;
35160 void *argp1 = 0 ;
35161 int res1 = 0 ;
35162 PyObject *swig_obj[1] ;
35163
35164 if (!args) SWIG_fail;
35165 swig_obj[0] = args;
35166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35167 if (!SWIG_IsOK(res1)) {
35168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35169 }
35170 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35171 {
35172 PyThreadState* __tstate = wxPyBeginAllowThreads();
35173 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35174 wxPyEndAllowThreads(__tstate);
35175 if (PyErr_Occurred()) SWIG_fail;
35176 }
35177 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35178 return resultobj;
35179fail:
35180 return NULL;
d14a1e28
RD
35181}
35182
35183
0085ce49
RD
35184SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35185 PyObject *resultobj = 0;
35186 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35187 wxTreeItemId result;
35188 void *argp1 = 0 ;
35189 int res1 = 0 ;
35190 PyObject *swig_obj[1] ;
35191
35192 if (!args) SWIG_fail;
35193 swig_obj[0] = args;
35194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35195 if (!SWIG_IsOK(res1)) {
35196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35197 }
35198 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35199 {
35200 PyThreadState* __tstate = wxPyBeginAllowThreads();
35201 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35202 wxPyEndAllowThreads(__tstate);
35203 if (PyErr_Occurred()) SWIG_fail;
35204 }
35205 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35206 return resultobj;
35207fail:
35208 return NULL;
d14a1e28
RD
35209}
35210
35211
0085ce49
RD
35212SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35213 PyObject *resultobj = 0;
35214 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35215 PyObject *result = 0 ;
35216 void *argp1 = 0 ;
35217 int res1 = 0 ;
35218 PyObject *swig_obj[1] ;
35219
35220 if (!args) SWIG_fail;
35221 swig_obj[0] = args;
35222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35223 if (!SWIG_IsOK(res1)) {
35224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35225 }
35226 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35227 {
35228 PyThreadState* __tstate = wxPyBeginAllowThreads();
35229 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35230 wxPyEndAllowThreads(__tstate);
35231 if (PyErr_Occurred()) SWIG_fail;
35232 }
35233 resultobj = result;
35234 return resultobj;
35235fail:
35236 return NULL;
35237}
35238
35239
35240SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35241 PyObject *resultobj = 0;
35242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35243 wxTreeItemId *arg2 = 0 ;
35244 wxTreeItemId result;
35245 void *argp1 = 0 ;
35246 int res1 = 0 ;
35247 void *argp2 = 0 ;
35248 int res2 = 0 ;
35249 PyObject * obj0 = 0 ;
35250 PyObject * obj1 = 0 ;
35251 char * kwnames[] = {
35252 (char *) "self",(char *) "item", NULL
35253 };
35254
35255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35257 if (!SWIG_IsOK(res1)) {
35258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35259 }
35260 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35261 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35262 if (!SWIG_IsOK(res2)) {
35263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35264 }
35265 if (!argp2) {
35266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35267 }
35268 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35269 {
35270 PyThreadState* __tstate = wxPyBeginAllowThreads();
35271 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35272 wxPyEndAllowThreads(__tstate);
35273 if (PyErr_Occurred()) SWIG_fail;
35274 }
35275 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35276 return resultobj;
35277fail:
35278 return NULL;
35279}
35280
35281
35282SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35283 PyObject *resultobj = 0;
35284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35285 wxTreeItemId *arg2 = 0 ;
35286 PyObject *result = 0 ;
35287 void *argp1 = 0 ;
35288 int res1 = 0 ;
35289 void *argp2 = 0 ;
35290 int res2 = 0 ;
35291 PyObject * obj0 = 0 ;
35292 PyObject * obj1 = 0 ;
35293 char * kwnames[] = {
35294 (char *) "self",(char *) "item", NULL
35295 };
35296
35297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35299 if (!SWIG_IsOK(res1)) {
35300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35301 }
35302 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35304 if (!SWIG_IsOK(res2)) {
35305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35306 }
35307 if (!argp2) {
35308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35309 }
35310 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35311 {
35312 PyThreadState* __tstate = wxPyBeginAllowThreads();
35313 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35314 wxPyEndAllowThreads(__tstate);
35315 if (PyErr_Occurred()) SWIG_fail;
35316 }
35317 resultobj = result;
35318 return resultobj;
35319fail:
35320 return NULL;
35321}
35322
35323
35324SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35325 PyObject *resultobj = 0;
35326 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35327 wxTreeItemId *arg2 = 0 ;
35328 void *arg3 = (void *) 0 ;
35329 PyObject *result = 0 ;
35330 void *argp1 = 0 ;
35331 int res1 = 0 ;
35332 void *argp2 = 0 ;
35333 int res2 = 0 ;
35334 int res3 ;
35335 PyObject * obj0 = 0 ;
35336 PyObject * obj1 = 0 ;
35337 PyObject * obj2 = 0 ;
35338 char * kwnames[] = {
35339 (char *) "self",(char *) "item",(char *) "cookie", NULL
35340 };
35341
35342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35344 if (!SWIG_IsOK(res1)) {
35345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35346 }
35347 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35348 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35349 if (!SWIG_IsOK(res2)) {
35350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35351 }
35352 if (!argp2) {
35353 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35354 }
35355 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35356 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35357 if (!SWIG_IsOK(res3)) {
35358 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35359 }
35360 {
35361 PyThreadState* __tstate = wxPyBeginAllowThreads();
35362 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35363 wxPyEndAllowThreads(__tstate);
35364 if (PyErr_Occurred()) SWIG_fail;
35365 }
35366 resultobj = result;
35367 return resultobj;
35368fail:
35369 return NULL;
35370}
35371
35372
35373SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35374 PyObject *resultobj = 0;
35375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35376 wxTreeItemId *arg2 = 0 ;
35377 wxTreeItemId result;
35378 void *argp1 = 0 ;
35379 int res1 = 0 ;
35380 void *argp2 = 0 ;
35381 int res2 = 0 ;
35382 PyObject * obj0 = 0 ;
35383 PyObject * obj1 = 0 ;
35384 char * kwnames[] = {
35385 (char *) "self",(char *) "item", NULL
35386 };
35387
35388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35390 if (!SWIG_IsOK(res1)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35392 }
35393 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35394 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35395 if (!SWIG_IsOK(res2)) {
35396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35397 }
35398 if (!argp2) {
35399 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35400 }
35401 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35402 {
35403 PyThreadState* __tstate = wxPyBeginAllowThreads();
35404 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35405 wxPyEndAllowThreads(__tstate);
35406 if (PyErr_Occurred()) SWIG_fail;
35407 }
35408 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35409 return resultobj;
35410fail:
35411 return NULL;
35412}
35413
35414
35415SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35416 PyObject *resultobj = 0;
35417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35418 wxTreeItemId *arg2 = 0 ;
35419 wxTreeItemId result;
35420 void *argp1 = 0 ;
35421 int res1 = 0 ;
35422 void *argp2 = 0 ;
35423 int res2 = 0 ;
35424 PyObject * obj0 = 0 ;
35425 PyObject * obj1 = 0 ;
35426 char * kwnames[] = {
35427 (char *) "self",(char *) "item", NULL
35428 };
35429
35430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35432 if (!SWIG_IsOK(res1)) {
35433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35434 }
35435 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35436 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35437 if (!SWIG_IsOK(res2)) {
35438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35439 }
35440 if (!argp2) {
35441 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35442 }
35443 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35444 {
35445 PyThreadState* __tstate = wxPyBeginAllowThreads();
35446 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35447 wxPyEndAllowThreads(__tstate);
35448 if (PyErr_Occurred()) SWIG_fail;
35449 }
35450 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35451 return resultobj;
35452fail:
35453 return NULL;
35454}
35455
35456
35457SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35458 PyObject *resultobj = 0;
35459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35460 wxTreeItemId *arg2 = 0 ;
35461 wxTreeItemId result;
35462 void *argp1 = 0 ;
35463 int res1 = 0 ;
35464 void *argp2 = 0 ;
35465 int res2 = 0 ;
35466 PyObject * obj0 = 0 ;
35467 PyObject * obj1 = 0 ;
35468 char * kwnames[] = {
35469 (char *) "self",(char *) "item", NULL
35470 };
35471
35472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35474 if (!SWIG_IsOK(res1)) {
35475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35476 }
35477 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35478 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35479 if (!SWIG_IsOK(res2)) {
35480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35481 }
35482 if (!argp2) {
35483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35484 }
35485 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35486 {
35487 PyThreadState* __tstate = wxPyBeginAllowThreads();
35488 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35489 wxPyEndAllowThreads(__tstate);
35490 if (PyErr_Occurred()) SWIG_fail;
35491 }
35492 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35493 return resultobj;
35494fail:
35495 return NULL;
d14a1e28
RD
35496}
35497
35498
0085ce49
RD
35499SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35500 PyObject *resultobj = 0;
35501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35502 wxTreeItemId result;
35503 void *argp1 = 0 ;
35504 int res1 = 0 ;
35505 PyObject *swig_obj[1] ;
35506
35507 if (!args) SWIG_fail;
35508 swig_obj[0] = args;
35509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35510 if (!SWIG_IsOK(res1)) {
35511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35512 }
35513 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35514 {
35515 PyThreadState* __tstate = wxPyBeginAllowThreads();
35516 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35517 wxPyEndAllowThreads(__tstate);
35518 if (PyErr_Occurred()) SWIG_fail;
35519 }
35520 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35521 return resultobj;
35522fail:
35523 return NULL;
35524}
35525
35526
35527SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35528 PyObject *resultobj = 0;
35529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35530 wxTreeItemId *arg2 = 0 ;
35531 wxTreeItemId result;
35532 void *argp1 = 0 ;
35533 int res1 = 0 ;
35534 void *argp2 = 0 ;
35535 int res2 = 0 ;
35536 PyObject * obj0 = 0 ;
35537 PyObject * obj1 = 0 ;
35538 char * kwnames[] = {
35539 (char *) "self",(char *) "item", NULL
35540 };
35541
35542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35544 if (!SWIG_IsOK(res1)) {
35545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35546 }
35547 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35548 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35549 if (!SWIG_IsOK(res2)) {
35550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35551 }
35552 if (!argp2) {
35553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35554 }
35555 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35556 {
35557 PyThreadState* __tstate = wxPyBeginAllowThreads();
35558 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
35559 wxPyEndAllowThreads(__tstate);
35560 if (PyErr_Occurred()) SWIG_fail;
35561 }
35562 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35563 return resultobj;
35564fail:
35565 return NULL;
35566}
35567
35568
35569SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35570 PyObject *resultobj = 0;
35571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35572 wxTreeItemId *arg2 = 0 ;
35573 wxTreeItemId result;
35574 void *argp1 = 0 ;
35575 int res1 = 0 ;
35576 void *argp2 = 0 ;
35577 int res2 = 0 ;
35578 PyObject * obj0 = 0 ;
35579 PyObject * obj1 = 0 ;
35580 char * kwnames[] = {
35581 (char *) "self",(char *) "item", NULL
35582 };
35583
35584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35586 if (!SWIG_IsOK(res1)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35588 }
35589 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35590 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35591 if (!SWIG_IsOK(res2)) {
35592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35593 }
35594 if (!argp2) {
35595 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35596 }
35597 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35598 {
35599 PyThreadState* __tstate = wxPyBeginAllowThreads();
35600 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
35601 wxPyEndAllowThreads(__tstate);
35602 if (PyErr_Occurred()) SWIG_fail;
35603 }
35604 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35605 return resultobj;
35606fail:
35607 return NULL;
35608}
35609
35610
35611SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35612 PyObject *resultobj = 0;
35613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35614 wxString *arg2 = 0 ;
35615 int arg3 = (int) -1 ;
35616 int arg4 = (int) -1 ;
35617 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
35618 wxTreeItemId result;
35619 void *argp1 = 0 ;
35620 int res1 = 0 ;
35621 bool temp2 = false ;
35622 int val3 ;
35623 int ecode3 = 0 ;
35624 int val4 ;
35625 int ecode4 = 0 ;
35626 int res5 = 0 ;
35627 PyObject * obj0 = 0 ;
35628 PyObject * obj1 = 0 ;
35629 PyObject * obj2 = 0 ;
35630 PyObject * obj3 = 0 ;
35631 PyObject * obj4 = 0 ;
35632 char * kwnames[] = {
35633 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35634 };
35635
35636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
35637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35638 if (!SWIG_IsOK(res1)) {
35639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35640 }
35641 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35642 {
35643 arg2 = wxString_in_helper(obj1);
35644 if (arg2 == NULL) SWIG_fail;
35645 temp2 = true;
35646 }
35647 if (obj2) {
35648 ecode3 = SWIG_AsVal_int(obj2, &val3);
35649 if (!SWIG_IsOK(ecode3)) {
35650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35651 }
35652 arg3 = static_cast< int >(val3);
35653 }
35654 if (obj3) {
35655 ecode4 = SWIG_AsVal_int(obj3, &val4);
35656 if (!SWIG_IsOK(ecode4)) {
35657 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35658 }
35659 arg4 = static_cast< int >(val4);
35660 }
35661 if (obj4) {
35662 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35663 if (!SWIG_IsOK(res5)) {
35664 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
3a04f143 35665 }
0085ce49
RD
35666 }
35667 {
35668 PyThreadState* __tstate = wxPyBeginAllowThreads();
35669 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
35670 wxPyEndAllowThreads(__tstate);
35671 if (PyErr_Occurred()) SWIG_fail;
35672 }
35673 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35674 {
35675 if (temp2)
35676 delete arg2;
35677 }
35678 return resultobj;
35679fail:
35680 {
35681 if (temp2)
35682 delete arg2;
35683 }
35684 return NULL;
35685}
35686
35687
35688SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35689 PyObject *resultobj = 0;
35690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35691 wxTreeItemId *arg2 = 0 ;
35692 wxString *arg3 = 0 ;
35693 int arg4 = (int) -1 ;
35694 int arg5 = (int) -1 ;
35695 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35696 wxTreeItemId result;
35697 void *argp1 = 0 ;
35698 int res1 = 0 ;
35699 void *argp2 = 0 ;
35700 int res2 = 0 ;
35701 bool temp3 = false ;
35702 int val4 ;
35703 int ecode4 = 0 ;
35704 int val5 ;
35705 int ecode5 = 0 ;
35706 int res6 = 0 ;
35707 PyObject * obj0 = 0 ;
35708 PyObject * obj1 = 0 ;
35709 PyObject * obj2 = 0 ;
35710 PyObject * obj3 = 0 ;
35711 PyObject * obj4 = 0 ;
35712 PyObject * obj5 = 0 ;
35713 char * kwnames[] = {
35714 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35715 };
35716
35717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
35718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35719 if (!SWIG_IsOK(res1)) {
35720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35721 }
35722 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35723 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35724 if (!SWIG_IsOK(res2)) {
35725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35726 }
35727 if (!argp2) {
35728 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35729 }
35730 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35731 {
35732 arg3 = wxString_in_helper(obj2);
35733 if (arg3 == NULL) SWIG_fail;
35734 temp3 = true;
35735 }
35736 if (obj3) {
35737 ecode4 = SWIG_AsVal_int(obj3, &val4);
35738 if (!SWIG_IsOK(ecode4)) {
35739 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35740 }
35741 arg4 = static_cast< int >(val4);
35742 }
35743 if (obj4) {
35744 ecode5 = SWIG_AsVal_int(obj4, &val5);
35745 if (!SWIG_IsOK(ecode5)) {
35746 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35747 }
35748 arg5 = static_cast< int >(val5);
35749 }
35750 if (obj5) {
35751 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35752 if (!SWIG_IsOK(res6)) {
35753 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
3a04f143 35754 }
0085ce49
RD
35755 }
35756 {
35757 PyThreadState* __tstate = wxPyBeginAllowThreads();
35758 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
35759 wxPyEndAllowThreads(__tstate);
35760 if (PyErr_Occurred()) SWIG_fail;
35761 }
35762 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35763 {
35764 if (temp3)
35765 delete arg3;
35766 }
35767 return resultobj;
35768fail:
35769 {
35770 if (temp3)
35771 delete arg3;
35772 }
35773 return NULL;
35774}
35775
35776
35777SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35778 PyObject *resultobj = 0;
35779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35780 wxTreeItemId *arg2 = 0 ;
35781 wxTreeItemId *arg3 = 0 ;
35782 wxString *arg4 = 0 ;
35783 int arg5 = (int) -1 ;
35784 int arg6 = (int) -1 ;
35785 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35786 wxTreeItemId result;
35787 void *argp1 = 0 ;
35788 int res1 = 0 ;
35789 void *argp2 = 0 ;
35790 int res2 = 0 ;
35791 void *argp3 = 0 ;
35792 int res3 = 0 ;
35793 bool temp4 = false ;
35794 int val5 ;
35795 int ecode5 = 0 ;
35796 int val6 ;
35797 int ecode6 = 0 ;
35798 int res7 = 0 ;
35799 PyObject * obj0 = 0 ;
35800 PyObject * obj1 = 0 ;
35801 PyObject * obj2 = 0 ;
35802 PyObject * obj3 = 0 ;
35803 PyObject * obj4 = 0 ;
35804 PyObject * obj5 = 0 ;
35805 PyObject * obj6 = 0 ;
35806 char * kwnames[] = {
35807 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35808 };
35809
35810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35812 if (!SWIG_IsOK(res1)) {
35813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35814 }
35815 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35816 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35817 if (!SWIG_IsOK(res2)) {
35818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35819 }
35820 if (!argp2) {
35821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35822 }
35823 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35824 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35825 if (!SWIG_IsOK(res3)) {
35826 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35827 }
35828 if (!argp3) {
35829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35830 }
35831 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
35832 {
35833 arg4 = wxString_in_helper(obj3);
35834 if (arg4 == NULL) SWIG_fail;
35835 temp4 = true;
35836 }
35837 if (obj4) {
35838 ecode5 = SWIG_AsVal_int(obj4, &val5);
35839 if (!SWIG_IsOK(ecode5)) {
35840 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35841 }
35842 arg5 = static_cast< int >(val5);
35843 }
35844 if (obj5) {
35845 ecode6 = SWIG_AsVal_int(obj5, &val6);
35846 if (!SWIG_IsOK(ecode6)) {
35847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35848 }
35849 arg6 = static_cast< int >(val6);
35850 }
35851 if (obj6) {
35852 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35853 if (!SWIG_IsOK(res7)) {
35854 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 35855 }
0085ce49
RD
35856 }
35857 {
35858 PyThreadState* __tstate = wxPyBeginAllowThreads();
35859 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
35860 wxPyEndAllowThreads(__tstate);
35861 if (PyErr_Occurred()) SWIG_fail;
35862 }
35863 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35864 {
35865 if (temp4)
35866 delete arg4;
35867 }
35868 return resultobj;
35869fail:
35870 {
35871 if (temp4)
35872 delete arg4;
35873 }
35874 return NULL;
35875}
35876
35877
35878SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35879 PyObject *resultobj = 0;
35880 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35881 wxTreeItemId *arg2 = 0 ;
35882 size_t arg3 ;
35883 wxString *arg4 = 0 ;
35884 int arg5 = (int) -1 ;
35885 int arg6 = (int) -1 ;
35886 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
35887 wxTreeItemId result;
35888 void *argp1 = 0 ;
35889 int res1 = 0 ;
35890 void *argp2 = 0 ;
35891 int res2 = 0 ;
35892 size_t val3 ;
35893 int ecode3 = 0 ;
35894 bool temp4 = false ;
35895 int val5 ;
35896 int ecode5 = 0 ;
35897 int val6 ;
35898 int ecode6 = 0 ;
35899 int res7 = 0 ;
35900 PyObject * obj0 = 0 ;
35901 PyObject * obj1 = 0 ;
35902 PyObject * obj2 = 0 ;
35903 PyObject * obj3 = 0 ;
35904 PyObject * obj4 = 0 ;
35905 PyObject * obj5 = 0 ;
35906 PyObject * obj6 = 0 ;
35907 char * kwnames[] = {
35908 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35909 };
35910
35911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
35912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35913 if (!SWIG_IsOK(res1)) {
35914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35915 }
35916 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35917 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35918 if (!SWIG_IsOK(res2)) {
35919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35920 }
35921 if (!argp2) {
35922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35923 }
35924 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35925 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
35926 if (!SWIG_IsOK(ecode3)) {
35927 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35928 }
35929 arg3 = static_cast< size_t >(val3);
35930 {
35931 arg4 = wxString_in_helper(obj3);
35932 if (arg4 == NULL) SWIG_fail;
35933 temp4 = true;
35934 }
35935 if (obj4) {
35936 ecode5 = SWIG_AsVal_int(obj4, &val5);
35937 if (!SWIG_IsOK(ecode5)) {
35938 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35939 }
35940 arg5 = static_cast< int >(val5);
35941 }
35942 if (obj5) {
35943 ecode6 = SWIG_AsVal_int(obj5, &val6);
35944 if (!SWIG_IsOK(ecode6)) {
35945 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35946 }
35947 arg6 = static_cast< int >(val6);
35948 }
35949 if (obj6) {
35950 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
35951 if (!SWIG_IsOK(res7)) {
35952 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
3a04f143 35953 }
0085ce49
RD
35954 }
35955 {
35956 PyThreadState* __tstate = wxPyBeginAllowThreads();
35957 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
35958 wxPyEndAllowThreads(__tstate);
35959 if (PyErr_Occurred()) SWIG_fail;
35960 }
35961 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35962 {
35963 if (temp4)
35964 delete arg4;
35965 }
35966 return resultobj;
35967fail:
35968 {
35969 if (temp4)
35970 delete arg4;
35971 }
35972 return NULL;
35973}
35974
35975
35976SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35977 PyObject *resultobj = 0;
35978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35979 wxTreeItemId *arg2 = 0 ;
35980 wxString *arg3 = 0 ;
35981 int arg4 = (int) -1 ;
35982 int arg5 = (int) -1 ;
35983 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
35984 wxTreeItemId result;
35985 void *argp1 = 0 ;
35986 int res1 = 0 ;
35987 void *argp2 = 0 ;
35988 int res2 = 0 ;
35989 bool temp3 = false ;
35990 int val4 ;
35991 int ecode4 = 0 ;
35992 int val5 ;
35993 int ecode5 = 0 ;
35994 int res6 = 0 ;
35995 PyObject * obj0 = 0 ;
35996 PyObject * obj1 = 0 ;
35997 PyObject * obj2 = 0 ;
35998 PyObject * obj3 = 0 ;
35999 PyObject * obj4 = 0 ;
36000 PyObject * obj5 = 0 ;
36001 char * kwnames[] = {
36002 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36003 };
36004
36005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36007 if (!SWIG_IsOK(res1)) {
36008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36009 }
36010 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36012 if (!SWIG_IsOK(res2)) {
36013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36014 }
36015 if (!argp2) {
36016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 }
36018 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36019 {
36020 arg3 = wxString_in_helper(obj2);
36021 if (arg3 == NULL) SWIG_fail;
36022 temp3 = true;
36023 }
36024 if (obj3) {
36025 ecode4 = SWIG_AsVal_int(obj3, &val4);
36026 if (!SWIG_IsOK(ecode4)) {
36027 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36028 }
36029 arg4 = static_cast< int >(val4);
36030 }
36031 if (obj4) {
36032 ecode5 = SWIG_AsVal_int(obj4, &val5);
36033 if (!SWIG_IsOK(ecode5)) {
36034 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36035 }
36036 arg5 = static_cast< int >(val5);
36037 }
36038 if (obj5) {
36039 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36040 if (!SWIG_IsOK(res6)) {
36041 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
3a04f143 36042 }
0085ce49
RD
36043 }
36044 {
36045 PyThreadState* __tstate = wxPyBeginAllowThreads();
36046 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36047 wxPyEndAllowThreads(__tstate);
36048 if (PyErr_Occurred()) SWIG_fail;
36049 }
36050 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36051 {
36052 if (temp3)
36053 delete arg3;
36054 }
36055 return resultobj;
36056fail:
36057 {
36058 if (temp3)
36059 delete arg3;
36060 }
36061 return NULL;
36062}
36063
36064
36065SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36066 PyObject *resultobj = 0;
36067 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36068 wxTreeItemId *arg2 = 0 ;
36069 void *argp1 = 0 ;
36070 int res1 = 0 ;
36071 void *argp2 = 0 ;
36072 int res2 = 0 ;
36073 PyObject * obj0 = 0 ;
36074 PyObject * obj1 = 0 ;
36075 char * kwnames[] = {
36076 (char *) "self",(char *) "item", NULL
36077 };
36078
36079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36081 if (!SWIG_IsOK(res1)) {
36082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36083 }
36084 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36085 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36086 if (!SWIG_IsOK(res2)) {
36087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36088 }
36089 if (!argp2) {
36090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36091 }
36092 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36093 {
36094 PyThreadState* __tstate = wxPyBeginAllowThreads();
36095 (arg1)->Delete((wxTreeItemId const &)*arg2);
36096 wxPyEndAllowThreads(__tstate);
36097 if (PyErr_Occurred()) SWIG_fail;
36098 }
36099 resultobj = SWIG_Py_Void();
36100 return resultobj;
36101fail:
36102 return NULL;
36103}
36104
36105
36106SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36107 PyObject *resultobj = 0;
36108 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36109 wxTreeItemId *arg2 = 0 ;
36110 void *argp1 = 0 ;
36111 int res1 = 0 ;
36112 void *argp2 = 0 ;
36113 int res2 = 0 ;
36114 PyObject * obj0 = 0 ;
36115 PyObject * obj1 = 0 ;
36116 char * kwnames[] = {
36117 (char *) "self",(char *) "item", NULL
36118 };
36119
36120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36122 if (!SWIG_IsOK(res1)) {
36123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36124 }
36125 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36126 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36127 if (!SWIG_IsOK(res2)) {
36128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36129 }
36130 if (!argp2) {
36131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36132 }
36133 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36134 {
36135 PyThreadState* __tstate = wxPyBeginAllowThreads();
36136 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36137 wxPyEndAllowThreads(__tstate);
36138 if (PyErr_Occurred()) SWIG_fail;
36139 }
36140 resultobj = SWIG_Py_Void();
36141 return resultobj;
36142fail:
36143 return NULL;
3a04f143
RD
36144}
36145
36146
0085ce49
RD
36147SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36148 PyObject *resultobj = 0;
36149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36150 void *argp1 = 0 ;
36151 int res1 = 0 ;
36152 PyObject *swig_obj[1] ;
36153
36154 if (!args) SWIG_fail;
36155 swig_obj[0] = args;
36156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36157 if (!SWIG_IsOK(res1)) {
36158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36159 }
36160 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36161 {
36162 PyThreadState* __tstate = wxPyBeginAllowThreads();
36163 (arg1)->DeleteAllItems();
36164 wxPyEndAllowThreads(__tstate);
36165 if (PyErr_Occurred()) SWIG_fail;
36166 }
36167 resultobj = SWIG_Py_Void();
36168 return resultobj;
36169fail:
36170 return NULL;
36171}
36172
36173
36174SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36175 PyObject *resultobj = 0;
36176 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36177 wxTreeItemId *arg2 = 0 ;
36178 void *argp1 = 0 ;
36179 int res1 = 0 ;
36180 void *argp2 = 0 ;
36181 int res2 = 0 ;
36182 PyObject * obj0 = 0 ;
36183 PyObject * obj1 = 0 ;
36184 char * kwnames[] = {
36185 (char *) "self",(char *) "item", NULL
36186 };
36187
36188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36190 if (!SWIG_IsOK(res1)) {
36191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36192 }
36193 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36194 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36195 if (!SWIG_IsOK(res2)) {
36196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36197 }
36198 if (!argp2) {
36199 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36200 }
36201 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36202 {
36203 PyThreadState* __tstate = wxPyBeginAllowThreads();
36204 (arg1)->Expand((wxTreeItemId const &)*arg2);
36205 wxPyEndAllowThreads(__tstate);
36206 if (PyErr_Occurred()) SWIG_fail;
36207 }
36208 resultobj = SWIG_Py_Void();
36209 return resultobj;
36210fail:
36211 return NULL;
36212}
36213
36214
36215SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36216 PyObject *resultobj = 0;
36217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36218 wxTreeItemId *arg2 = 0 ;
36219 void *argp1 = 0 ;
36220 int res1 = 0 ;
36221 void *argp2 = 0 ;
36222 int res2 = 0 ;
36223 PyObject * obj0 = 0 ;
36224 PyObject * obj1 = 0 ;
36225 char * kwnames[] = {
36226 (char *) "self",(char *) "item", NULL
36227 };
36228
36229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36231 if (!SWIG_IsOK(res1)) {
36232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36233 }
36234 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36235 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36236 if (!SWIG_IsOK(res2)) {
36237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36238 }
36239 if (!argp2) {
36240 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36241 }
36242 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36243 {
36244 PyThreadState* __tstate = wxPyBeginAllowThreads();
36245 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36246 wxPyEndAllowThreads(__tstate);
36247 if (PyErr_Occurred()) SWIG_fail;
36248 }
36249 resultobj = SWIG_Py_Void();
36250 return resultobj;
36251fail:
36252 return NULL;
36253}
36254
36255
36256SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36257 PyObject *resultobj = 0;
36258 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36259 wxTreeItemId *arg2 = 0 ;
36260 void *argp1 = 0 ;
36261 int res1 = 0 ;
36262 void *argp2 = 0 ;
36263 int res2 = 0 ;
36264 PyObject * obj0 = 0 ;
36265 PyObject * obj1 = 0 ;
36266 char * kwnames[] = {
36267 (char *) "self",(char *) "item", NULL
36268 };
36269
36270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36272 if (!SWIG_IsOK(res1)) {
36273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36274 }
36275 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36276 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36277 if (!SWIG_IsOK(res2)) {
36278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36279 }
36280 if (!argp2) {
36281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36282 }
36283 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36284 {
36285 PyThreadState* __tstate = wxPyBeginAllowThreads();
36286 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36287 wxPyEndAllowThreads(__tstate);
36288 if (PyErr_Occurred()) SWIG_fail;
36289 }
36290 resultobj = SWIG_Py_Void();
36291 return resultobj;
36292fail:
36293 return NULL;
36294}
36295
36296
36297SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36298 PyObject *resultobj = 0;
36299 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36300 wxTreeItemId *arg2 = 0 ;
36301 void *argp1 = 0 ;
36302 int res1 = 0 ;
36303 void *argp2 = 0 ;
36304 int res2 = 0 ;
36305 PyObject * obj0 = 0 ;
36306 PyObject * obj1 = 0 ;
36307 char * kwnames[] = {
36308 (char *) "self",(char *) "item", NULL
36309 };
36310
36311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36313 if (!SWIG_IsOK(res1)) {
36314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36315 }
36316 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36317 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36318 if (!SWIG_IsOK(res2)) {
36319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36320 }
36321 if (!argp2) {
36322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36323 }
36324 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36325 {
36326 PyThreadState* __tstate = wxPyBeginAllowThreads();
36327 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36328 wxPyEndAllowThreads(__tstate);
36329 if (PyErr_Occurred()) SWIG_fail;
36330 }
36331 resultobj = SWIG_Py_Void();
36332 return resultobj;
36333fail:
36334 return NULL;
d14a1e28
RD
36335}
36336
36337
0085ce49
RD
36338SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36339 PyObject *resultobj = 0;
36340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36341 void *argp1 = 0 ;
36342 int res1 = 0 ;
36343 PyObject *swig_obj[1] ;
36344
36345 if (!args) SWIG_fail;
36346 swig_obj[0] = args;
36347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36348 if (!SWIG_IsOK(res1)) {
36349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36350 }
36351 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36352 {
36353 PyThreadState* __tstate = wxPyBeginAllowThreads();
36354 (arg1)->Unselect();
36355 wxPyEndAllowThreads(__tstate);
36356 if (PyErr_Occurred()) SWIG_fail;
36357 }
36358 resultobj = SWIG_Py_Void();
36359 return resultobj;
36360fail:
36361 return NULL;
36362}
36363
36364
36365SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36366 PyObject *resultobj = 0;
36367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36368 wxTreeItemId *arg2 = 0 ;
36369 void *argp1 = 0 ;
36370 int res1 = 0 ;
36371 void *argp2 = 0 ;
36372 int res2 = 0 ;
36373 PyObject * obj0 = 0 ;
36374 PyObject * obj1 = 0 ;
36375 char * kwnames[] = {
36376 (char *) "self",(char *) "item", NULL
36377 };
36378
36379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36381 if (!SWIG_IsOK(res1)) {
36382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36383 }
36384 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36385 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36386 if (!SWIG_IsOK(res2)) {
36387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36388 }
36389 if (!argp2) {
36390 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36391 }
36392 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36393 {
36394 PyThreadState* __tstate = wxPyBeginAllowThreads();
36395 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36396 wxPyEndAllowThreads(__tstate);
36397 if (PyErr_Occurred()) SWIG_fail;
36398 }
36399 resultobj = SWIG_Py_Void();
36400 return resultobj;
36401fail:
36402 return NULL;
d14a1e28
RD
36403}
36404
36405
0085ce49
RD
36406SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36407 PyObject *resultobj = 0;
36408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36409 void *argp1 = 0 ;
36410 int res1 = 0 ;
36411 PyObject *swig_obj[1] ;
36412
36413 if (!args) SWIG_fail;
36414 swig_obj[0] = args;
36415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36416 if (!SWIG_IsOK(res1)) {
36417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36418 }
36419 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36420 {
36421 PyThreadState* __tstate = wxPyBeginAllowThreads();
36422 (arg1)->UnselectAll();
36423 wxPyEndAllowThreads(__tstate);
36424 if (PyErr_Occurred()) SWIG_fail;
36425 }
36426 resultobj = SWIG_Py_Void();
36427 return resultobj;
36428fail:
36429 return NULL;
36430}
36431
36432
36433SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36434 PyObject *resultobj = 0;
36435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36436 wxTreeItemId *arg2 = 0 ;
36437 bool arg3 = (bool) true ;
36438 void *argp1 = 0 ;
36439 int res1 = 0 ;
36440 void *argp2 = 0 ;
36441 int res2 = 0 ;
36442 bool val3 ;
36443 int ecode3 = 0 ;
36444 PyObject * obj0 = 0 ;
36445 PyObject * obj1 = 0 ;
36446 PyObject * obj2 = 0 ;
36447 char * kwnames[] = {
36448 (char *) "self",(char *) "item",(char *) "select", NULL
36449 };
36450
36451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36453 if (!SWIG_IsOK(res1)) {
36454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36455 }
36456 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36457 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36458 if (!SWIG_IsOK(res2)) {
36459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36460 }
36461 if (!argp2) {
36462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36463 }
36464 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36465 if (obj2) {
36466 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36467 if (!SWIG_IsOK(ecode3)) {
36468 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36469 }
36470 arg3 = static_cast< bool >(val3);
36471 }
36472 {
36473 PyThreadState* __tstate = wxPyBeginAllowThreads();
36474 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
36475 wxPyEndAllowThreads(__tstate);
36476 if (PyErr_Occurred()) SWIG_fail;
36477 }
36478 resultobj = SWIG_Py_Void();
36479 return resultobj;
36480fail:
36481 return NULL;
36482}
36483
36484
36485SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36486 PyObject *resultobj = 0;
36487 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36488 wxTreeItemId *arg2 = 0 ;
36489 void *argp1 = 0 ;
36490 int res1 = 0 ;
36491 void *argp2 = 0 ;
36492 int res2 = 0 ;
36493 PyObject * obj0 = 0 ;
36494 PyObject * obj1 = 0 ;
36495 char * kwnames[] = {
36496 (char *) "self",(char *) "item", NULL
36497 };
36498
36499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
36500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36501 if (!SWIG_IsOK(res1)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36503 }
36504 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36505 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36506 if (!SWIG_IsOK(res2)) {
36507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36508 }
36509 if (!argp2) {
36510 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36511 }
36512 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36513 {
36514 PyThreadState* __tstate = wxPyBeginAllowThreads();
36515 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
36516 wxPyEndAllowThreads(__tstate);
36517 if (PyErr_Occurred()) SWIG_fail;
36518 }
36519 resultobj = SWIG_Py_Void();
36520 return resultobj;
36521fail:
36522 return NULL;
36523}
36524
36525
36526SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36527 PyObject *resultobj = 0;
36528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36529 wxTreeItemId *arg2 = 0 ;
36530 void *argp1 = 0 ;
36531 int res1 = 0 ;
36532 void *argp2 = 0 ;
36533 int res2 = 0 ;
36534 PyObject * obj0 = 0 ;
36535 PyObject * obj1 = 0 ;
36536 char * kwnames[] = {
36537 (char *) "self",(char *) "item", NULL
36538 };
36539
36540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36542 if (!SWIG_IsOK(res1)) {
36543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36544 }
36545 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36546 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36547 if (!SWIG_IsOK(res2)) {
36548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36549 }
36550 if (!argp2) {
36551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36552 }
36553 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36554 {
36555 PyThreadState* __tstate = wxPyBeginAllowThreads();
36556 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
36557 wxPyEndAllowThreads(__tstate);
36558 if (PyErr_Occurred()) SWIG_fail;
36559 }
36560 resultobj = SWIG_Py_Void();
36561 return resultobj;
36562fail:
36563 return NULL;
36564}
36565
36566
36567SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36568 PyObject *resultobj = 0;
36569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36570 wxTreeItemId *arg2 = 0 ;
36571 void *argp1 = 0 ;
36572 int res1 = 0 ;
36573 void *argp2 = 0 ;
36574 int res2 = 0 ;
36575 PyObject * obj0 = 0 ;
36576 PyObject * obj1 = 0 ;
36577 char * kwnames[] = {
36578 (char *) "self",(char *) "item", NULL
36579 };
36580
36581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
36582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36583 if (!SWIG_IsOK(res1)) {
36584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36585 }
36586 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36587 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36588 if (!SWIG_IsOK(res2)) {
36589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36590 }
36591 if (!argp2) {
36592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36593 }
36594 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36595 {
36596 PyThreadState* __tstate = wxPyBeginAllowThreads();
36597 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
36598 wxPyEndAllowThreads(__tstate);
36599 if (PyErr_Occurred()) SWIG_fail;
36600 }
36601 resultobj = SWIG_Py_Void();
36602 return resultobj;
36603fail:
36604 return NULL;
36605}
36606
36607
36608SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36609 PyObject *resultobj = 0;
36610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36611 wxTreeItemId *arg2 = 0 ;
36612 void *argp1 = 0 ;
36613 int res1 = 0 ;
36614 void *argp2 = 0 ;
36615 int res2 = 0 ;
36616 PyObject * obj0 = 0 ;
36617 PyObject * obj1 = 0 ;
36618 char * kwnames[] = {
36619 (char *) "self",(char *) "item", NULL
36620 };
36621
36622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
36623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36624 if (!SWIG_IsOK(res1)) {
36625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36626 }
36627 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36628 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36629 if (!SWIG_IsOK(res2)) {
36630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36631 }
36632 if (!argp2) {
36633 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36634 }
36635 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36636 {
36637 PyThreadState* __tstate = wxPyBeginAllowThreads();
36638 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
36639 wxPyEndAllowThreads(__tstate);
36640 if (PyErr_Occurred()) SWIG_fail;
36641 }
36642 resultobj = SWIG_Py_Void();
36643 return resultobj;
36644fail:
36645 return NULL;
d14a1e28
RD
36646}
36647
36648
0085ce49
RD
36649SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36650 PyObject *resultobj = 0;
36651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36652 wxTextCtrl *result = 0 ;
36653 void *argp1 = 0 ;
36654 int res1 = 0 ;
36655 PyObject *swig_obj[1] ;
36656
36657 if (!args) SWIG_fail;
36658 swig_obj[0] = args;
36659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36660 if (!SWIG_IsOK(res1)) {
36661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36662 }
36663 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36664 {
36665 PyThreadState* __tstate = wxPyBeginAllowThreads();
36666 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
36667 wxPyEndAllowThreads(__tstate);
36668 if (PyErr_Occurred()) SWIG_fail;
36669 }
36670 {
36671 resultobj = wxPyMake_wxObject(result, 0);
36672 }
36673 return resultobj;
36674fail:
36675 return NULL;
36676}
36677
36678
36679SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36680 PyObject *resultobj = 0;
36681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36682 wxTreeItemId *arg2 = 0 ;
36683 void *argp1 = 0 ;
36684 int res1 = 0 ;
36685 void *argp2 = 0 ;
36686 int res2 = 0 ;
36687 PyObject * obj0 = 0 ;
36688 PyObject * obj1 = 0 ;
36689 char * kwnames[] = {
36690 (char *) "self",(char *) "item", NULL
36691 };
36692
36693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36695 if (!SWIG_IsOK(res1)) {
36696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36697 }
36698 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36700 if (!SWIG_IsOK(res2)) {
36701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36702 }
36703 if (!argp2) {
36704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36705 }
36706 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36707 {
36708 PyThreadState* __tstate = wxPyBeginAllowThreads();
36709 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
36710 wxPyEndAllowThreads(__tstate);
36711 if (PyErr_Occurred()) SWIG_fail;
36712 }
36713 resultobj = SWIG_Py_Void();
36714 return resultobj;
36715fail:
36716 return NULL;
36717}
36718
36719
36720SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36721 PyObject *resultobj = 0;
36722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36723 wxPoint *arg2 = 0 ;
36724 int *arg3 = 0 ;
36725 wxTreeItemId result;
36726 void *argp1 = 0 ;
36727 int res1 = 0 ;
36728 wxPoint temp2 ;
36729 int temp3 ;
36730 int res3 = SWIG_TMPOBJ ;
36731 PyObject * obj0 = 0 ;
36732 PyObject * obj1 = 0 ;
36733 char * kwnames[] = {
36734 (char *) "self",(char *) "point", NULL
36735 };
36736
36737 arg3 = &temp3;
36738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
36739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36740 if (!SWIG_IsOK(res1)) {
36741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36742 }
36743 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36744 {
36745 arg2 = &temp2;
36746 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
36747 }
36748 {
36749 PyThreadState* __tstate = wxPyBeginAllowThreads();
36750 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
36751 wxPyEndAllowThreads(__tstate);
36752 if (PyErr_Occurred()) SWIG_fail;
36753 }
36754 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36755 if (SWIG_IsTmpObj(res3)) {
36756 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
36757 } else {
36758 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
36759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
36760 }
36761 return resultobj;
36762fail:
36763 return NULL;
36764}
36765
36766
36767SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36768 PyObject *resultobj = 0;
36769 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36770 wxTreeItemId *arg2 = 0 ;
36771 bool arg3 = (bool) false ;
36772 PyObject *result = 0 ;
36773 void *argp1 = 0 ;
36774 int res1 = 0 ;
36775 void *argp2 = 0 ;
36776 int res2 = 0 ;
36777 bool val3 ;
36778 int ecode3 = 0 ;
36779 PyObject * obj0 = 0 ;
36780 PyObject * obj1 = 0 ;
36781 PyObject * obj2 = 0 ;
36782 char * kwnames[] = {
36783 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36784 };
36785
36786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36788 if (!SWIG_IsOK(res1)) {
36789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36790 }
36791 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36792 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36793 if (!SWIG_IsOK(res2)) {
36794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36795 }
36796 if (!argp2) {
36797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36798 }
36799 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36800 if (obj2) {
36801 ecode3 = SWIG_AsVal_bool(obj2, &val3);
36802 if (!SWIG_IsOK(ecode3)) {
36803 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36804 }
36805 arg3 = static_cast< bool >(val3);
36806 }
36807 {
36808 PyThreadState* __tstate = wxPyBeginAllowThreads();
36809 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
36810 wxPyEndAllowThreads(__tstate);
36811 if (PyErr_Occurred()) SWIG_fail;
36812 }
36813 resultobj = result;
36814 return resultobj;
36815fail:
36816 return NULL;
36817}
36818
36819
36820SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36821 PyObject *resultobj = 0;
36822 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
36823 SwigValueWrapper<wxVisualAttributes > result;
36824 int val1 ;
36825 int ecode1 = 0 ;
36826 PyObject * obj0 = 0 ;
36827 char * kwnames[] = {
36828 (char *) "variant", NULL
36829 };
36830
36831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
36832 if (obj0) {
36833 ecode1 = SWIG_AsVal_int(obj0, &val1);
36834 if (!SWIG_IsOK(ecode1)) {
36835 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36836 }
36837 arg1 = static_cast< wxWindowVariant >(val1);
36838 }
36839 {
36840 if (!wxPyCheckForApp()) SWIG_fail;
36841 PyThreadState* __tstate = wxPyBeginAllowThreads();
36842 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
36843 wxPyEndAllowThreads(__tstate);
36844 if (PyErr_Occurred()) SWIG_fail;
36845 }
36846 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
36847 return resultobj;
36848fail:
36849 return NULL;
d14a1e28
RD
36850}
36851
36852
2131d850
RD
36853SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36854 PyObject *resultobj = 0;
36855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36856 bool arg2 ;
36857 void *argp1 = 0 ;
36858 int res1 = 0 ;
36859 bool val2 ;
36860 int ecode2 = 0 ;
36861 PyObject * obj0 = 0 ;
36862 PyObject * obj1 = 0 ;
36863 char * kwnames[] = {
36864 (char *) "self",(char *) "q", NULL
36865 };
36866
36867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
36868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36869 if (!SWIG_IsOK(res1)) {
36870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36871 }
36872 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36873 ecode2 = SWIG_AsVal_bool(obj1, &val2);
36874 if (!SWIG_IsOK(ecode2)) {
36875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
36876 }
36877 arg2 = static_cast< bool >(val2);
36878 {
36879 PyThreadState* __tstate = wxPyBeginAllowThreads();
36880 (arg1)->SetQuickBestSize(arg2);
36881 wxPyEndAllowThreads(__tstate);
36882 if (PyErr_Occurred()) SWIG_fail;
36883 }
36884 resultobj = SWIG_Py_Void();
36885 return resultobj;
36886fail:
36887 return NULL;
36888}
36889
36890
36891SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36892 PyObject *resultobj = 0;
36893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36894 bool result;
36895 void *argp1 = 0 ;
36896 int res1 = 0 ;
36897 PyObject *swig_obj[1] ;
36898
36899 if (!args) SWIG_fail;
36900 swig_obj[0] = args;
36901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36902 if (!SWIG_IsOK(res1)) {
36903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36904 }
36905 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36906 {
36907 PyThreadState* __tstate = wxPyBeginAllowThreads();
36908 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
36909 wxPyEndAllowThreads(__tstate);
36910 if (PyErr_Occurred()) SWIG_fail;
36911 }
36912 {
36913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36914 }
36915 return resultobj;
36916fail:
36917 return NULL;
36918}
36919
36920
0085ce49
RD
36921SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36922 PyObject *obj;
36923 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
36924 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
36925 return SWIG_Py_Void();
d14a1e28
RD
36926}
36927
0085ce49
RD
36928SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36929 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
36930}
36931
0085ce49
RD
36932SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
36933 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
36934 return 1;
d14a1e28
RD
36935}
36936
36937
0085ce49
RD
36938SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
36939 PyObject *pyobj = 0;
36940
36941 {
36942#if wxUSE_UNICODE
36943 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
36944#else
36945 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
36946#endif
36947 }
36948 return pyobj;
36949}
36950
36951
36952SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36953 PyObject *resultobj = 0;
36954 wxWindow *arg1 = (wxWindow *) 0 ;
36955 int arg2 = (int) (int)-1 ;
36956 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
36957 wxString *arg3 = (wxString *) &arg3_defvalue ;
36958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
36959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
36960 wxSize const &arg5_defvalue = wxDefaultSize ;
36961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
36962 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
36963 wxString const &arg7_defvalue = wxPyEmptyString ;
36964 wxString *arg7 = (wxString *) &arg7_defvalue ;
36965 int arg8 = (int) 0 ;
36966 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
36967 wxString *arg9 = (wxString *) &arg9_defvalue ;
36968 wxGenericDirCtrl *result = 0 ;
36969 void *argp1 = 0 ;
36970 int res1 = 0 ;
36971 int val2 ;
36972 int ecode2 = 0 ;
36973 bool temp3 = false ;
36974 wxPoint temp4 ;
36975 wxSize temp5 ;
36976 long val6 ;
36977 int ecode6 = 0 ;
36978 bool temp7 = false ;
36979 int val8 ;
36980 int ecode8 = 0 ;
36981 bool temp9 = false ;
36982 PyObject * obj0 = 0 ;
36983 PyObject * obj1 = 0 ;
36984 PyObject * obj2 = 0 ;
36985 PyObject * obj3 = 0 ;
36986 PyObject * obj4 = 0 ;
36987 PyObject * obj5 = 0 ;
36988 PyObject * obj6 = 0 ;
36989 PyObject * obj7 = 0 ;
36990 PyObject * obj8 = 0 ;
36991 char * kwnames[] = {
36992 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36993 };
36994
36995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
36996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
36997 if (!SWIG_IsOK(res1)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36999 }
37000 arg1 = reinterpret_cast< wxWindow * >(argp1);
37001 if (obj1) {
37002 ecode2 = SWIG_AsVal_int(obj1, &val2);
37003 if (!SWIG_IsOK(ecode2)) {
37004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37005 }
37006 arg2 = static_cast< int >(val2);
37007 }
37008 if (obj2) {
d14a1e28 37009 {
0085ce49
RD
37010 arg3 = wxString_in_helper(obj2);
37011 if (arg3 == NULL) SWIG_fail;
37012 temp3 = true;
d14a1e28 37013 }
0085ce49
RD
37014 }
37015 if (obj3) {
4f89f6a3 37016 {
0085ce49
RD
37017 arg4 = &temp4;
37018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 37019 }
0085ce49
RD
37020 }
37021 if (obj4) {
093d3ff1 37022 {
0085ce49
RD
37023 arg5 = &temp5;
37024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37025 }
0085ce49
RD
37026 }
37027 if (obj5) {
37028 ecode6 = SWIG_AsVal_long(obj5, &val6);
37029 if (!SWIG_IsOK(ecode6)) {
37030 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37031 }
37032 arg6 = static_cast< long >(val6);
37033 }
37034 if (obj6) {
093d3ff1 37035 {
0085ce49
RD
37036 arg7 = wxString_in_helper(obj6);
37037 if (arg7 == NULL) SWIG_fail;
37038 temp7 = true;
093d3ff1 37039 }
0085ce49
RD
37040 }
37041 if (obj7) {
37042 ecode8 = SWIG_AsVal_int(obj7, &val8);
37043 if (!SWIG_IsOK(ecode8)) {
37044 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37045 }
37046 arg8 = static_cast< int >(val8);
37047 }
37048 if (obj8) {
d14a1e28 37049 {
0085ce49
RD
37050 arg9 = wxString_in_helper(obj8);
37051 if (arg9 == NULL) SWIG_fail;
37052 temp9 = true;
d14a1e28 37053 }
0085ce49
RD
37054 }
37055 {
37056 if (!wxPyCheckForApp()) SWIG_fail;
37057 PyThreadState* __tstate = wxPyBeginAllowThreads();
37058 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37059 wxPyEndAllowThreads(__tstate);
37060 if (PyErr_Occurred()) SWIG_fail;
37061 }
37062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37063 {
37064 if (temp3)
37065 delete arg3;
37066 }
37067 {
37068 if (temp7)
37069 delete arg7;
37070 }
37071 {
37072 if (temp9)
37073 delete arg9;
37074 }
37075 return resultobj;
37076fail:
37077 {
37078 if (temp3)
37079 delete arg3;
37080 }
37081 {
37082 if (temp7)
37083 delete arg7;
37084 }
37085 {
37086 if (temp9)
37087 delete arg9;
37088 }
37089 return NULL;
d14a1e28
RD
37090}
37091
37092
0085ce49
RD
37093SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37094 PyObject *resultobj = 0;
37095 wxGenericDirCtrl *result = 0 ;
37096
37097 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37098 {
37099 if (!wxPyCheckForApp()) SWIG_fail;
37100 PyThreadState* __tstate = wxPyBeginAllowThreads();
37101 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37102 wxPyEndAllowThreads(__tstate);
37103 if (PyErr_Occurred()) SWIG_fail;
37104 }
37105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37106 return resultobj;
37107fail:
37108 return NULL;
37109}
37110
37111
37112SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37113 PyObject *resultobj = 0;
37114 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37115 wxWindow *arg2 = (wxWindow *) 0 ;
37116 int arg3 = (int) (int)-1 ;
37117 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37118 wxString *arg4 = (wxString *) &arg4_defvalue ;
37119 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37120 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37121 wxSize const &arg6_defvalue = wxDefaultSize ;
37122 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37123 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37124 wxString const &arg8_defvalue = wxPyEmptyString ;
37125 wxString *arg8 = (wxString *) &arg8_defvalue ;
37126 int arg9 = (int) 0 ;
37127 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37128 wxString *arg10 = (wxString *) &arg10_defvalue ;
37129 bool result;
37130 void *argp1 = 0 ;
37131 int res1 = 0 ;
37132 void *argp2 = 0 ;
37133 int res2 = 0 ;
37134 int val3 ;
37135 int ecode3 = 0 ;
37136 bool temp4 = false ;
37137 wxPoint temp5 ;
37138 wxSize temp6 ;
37139 long val7 ;
37140 int ecode7 = 0 ;
37141 bool temp8 = false ;
37142 int val9 ;
37143 int ecode9 = 0 ;
37144 bool temp10 = false ;
37145 PyObject * obj0 = 0 ;
37146 PyObject * obj1 = 0 ;
37147 PyObject * obj2 = 0 ;
37148 PyObject * obj3 = 0 ;
37149 PyObject * obj4 = 0 ;
37150 PyObject * obj5 = 0 ;
37151 PyObject * obj6 = 0 ;
37152 PyObject * obj7 = 0 ;
37153 PyObject * obj8 = 0 ;
37154 PyObject * obj9 = 0 ;
37155 char * kwnames[] = {
37156 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37157 };
37158
37159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37161 if (!SWIG_IsOK(res1)) {
37162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37163 }
37164 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37165 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37166 if (!SWIG_IsOK(res2)) {
37167 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37168 }
37169 arg2 = reinterpret_cast< wxWindow * >(argp2);
37170 if (obj2) {
37171 ecode3 = SWIG_AsVal_int(obj2, &val3);
37172 if (!SWIG_IsOK(ecode3)) {
37173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37174 }
37175 arg3 = static_cast< int >(val3);
37176 }
37177 if (obj3) {
093d3ff1 37178 {
0085ce49
RD
37179 arg4 = wxString_in_helper(obj3);
37180 if (arg4 == NULL) SWIG_fail;
37181 temp4 = true;
093d3ff1 37182 }
0085ce49
RD
37183 }
37184 if (obj4) {
093d3ff1 37185 {
0085ce49
RD
37186 arg5 = &temp5;
37187 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37188 }
0085ce49
RD
37189 }
37190 if (obj5) {
d14a1e28 37191 {
0085ce49
RD
37192 arg6 = &temp6;
37193 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 37194 }
0085ce49
RD
37195 }
37196 if (obj6) {
37197 ecode7 = SWIG_AsVal_long(obj6, &val7);
37198 if (!SWIG_IsOK(ecode7)) {
37199 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37200 }
37201 arg7 = static_cast< long >(val7);
37202 }
37203 if (obj7) {
093d3ff1 37204 {
0085ce49
RD
37205 arg8 = wxString_in_helper(obj7);
37206 if (arg8 == NULL) SWIG_fail;
37207 temp8 = true;
093d3ff1 37208 }
0085ce49
RD
37209 }
37210 if (obj8) {
37211 ecode9 = SWIG_AsVal_int(obj8, &val9);
37212 if (!SWIG_IsOK(ecode9)) {
37213 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37214 }
37215 arg9 = static_cast< int >(val9);
37216 }
37217 if (obj9) {
093d3ff1 37218 {
0085ce49
RD
37219 arg10 = wxString_in_helper(obj9);
37220 if (arg10 == NULL) SWIG_fail;
37221 temp10 = true;
093d3ff1 37222 }
0085ce49
RD
37223 }
37224 {
37225 PyThreadState* __tstate = wxPyBeginAllowThreads();
37226 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37227 wxPyEndAllowThreads(__tstate);
37228 if (PyErr_Occurred()) SWIG_fail;
37229 }
37230 {
37231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37232 }
37233 {
37234 if (temp4)
37235 delete arg4;
37236 }
37237 {
37238 if (temp8)
37239 delete arg8;
37240 }
37241 {
37242 if (temp10)
37243 delete arg10;
37244 }
37245 return resultobj;
37246fail:
37247 {
37248 if (temp4)
37249 delete arg4;
37250 }
37251 {
37252 if (temp8)
37253 delete arg8;
37254 }
37255 {
37256 if (temp10)
37257 delete arg10;
37258 }
37259 return NULL;
37260}
37261
37262
37263SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37264 PyObject *resultobj = 0;
37265 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37266 wxString *arg2 = 0 ;
37267 bool result;
37268 void *argp1 = 0 ;
37269 int res1 = 0 ;
37270 bool temp2 = false ;
37271 PyObject * obj0 = 0 ;
37272 PyObject * obj1 = 0 ;
37273 char * kwnames[] = {
37274 (char *) "self",(char *) "path", NULL
37275 };
37276
37277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37279 if (!SWIG_IsOK(res1)) {
37280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37281 }
37282 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37283 {
37284 arg2 = wxString_in_helper(obj1);
37285 if (arg2 == NULL) SWIG_fail;
37286 temp2 = true;
37287 }
37288 {
37289 PyThreadState* __tstate = wxPyBeginAllowThreads();
37290 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37291 wxPyEndAllowThreads(__tstate);
37292 if (PyErr_Occurred()) SWIG_fail;
37293 }
37294 {
37295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37296 }
37297 {
37298 if (temp2)
37299 delete arg2;
37300 }
37301 return resultobj;
37302fail:
37303 {
37304 if (temp2)
37305 delete arg2;
37306 }
37307 return NULL;
d14a1e28
RD
37308}
37309
37310
704eda0c
RD
37311SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37312 PyObject *resultobj = 0;
37313 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37314 wxString *arg2 = 0 ;
37315 bool result;
37316 void *argp1 = 0 ;
37317 int res1 = 0 ;
37318 bool temp2 = false ;
37319 PyObject * obj0 = 0 ;
37320 PyObject * obj1 = 0 ;
37321 char * kwnames[] = {
37322 (char *) "self",(char *) "path", NULL
37323 };
37324
37325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
37326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37327 if (!SWIG_IsOK(res1)) {
37328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37329 }
37330 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37331 {
37332 arg2 = wxString_in_helper(obj1);
37333 if (arg2 == NULL) SWIG_fail;
37334 temp2 = true;
37335 }
37336 {
37337 PyThreadState* __tstate = wxPyBeginAllowThreads();
37338 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
37339 wxPyEndAllowThreads(__tstate);
37340 if (PyErr_Occurred()) SWIG_fail;
37341 }
37342 {
37343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37344 }
37345 {
37346 if (temp2)
37347 delete arg2;
37348 }
37349 return resultobj;
37350fail:
37351 {
37352 if (temp2)
37353 delete arg2;
37354 }
37355 return NULL;
37356}
37357
37358
0085ce49
RD
37359SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37360 PyObject *resultobj = 0;
37361 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37362 wxString result;
37363 void *argp1 = 0 ;
37364 int res1 = 0 ;
37365 PyObject *swig_obj[1] ;
37366
37367 if (!args) SWIG_fail;
37368 swig_obj[0] = args;
37369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37370 if (!SWIG_IsOK(res1)) {
37371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37372 }
37373 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37374 {
37375 PyThreadState* __tstate = wxPyBeginAllowThreads();
37376 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
37377 wxPyEndAllowThreads(__tstate);
37378 if (PyErr_Occurred()) SWIG_fail;
37379 }
37380 {
37381#if wxUSE_UNICODE
37382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37383#else
37384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37385#endif
37386 }
37387 return resultobj;
37388fail:
37389 return NULL;
37390}
37391
37392
37393SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37394 PyObject *resultobj = 0;
37395 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37396 wxString *arg2 = 0 ;
37397 void *argp1 = 0 ;
37398 int res1 = 0 ;
37399 bool temp2 = false ;
37400 PyObject * obj0 = 0 ;
37401 PyObject * obj1 = 0 ;
37402 char * kwnames[] = {
37403 (char *) "self",(char *) "path", NULL
37404 };
37405
37406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
37407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37408 if (!SWIG_IsOK(res1)) {
37409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37410 }
37411 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37412 {
37413 arg2 = wxString_in_helper(obj1);
37414 if (arg2 == NULL) SWIG_fail;
37415 temp2 = true;
37416 }
37417 {
37418 PyThreadState* __tstate = wxPyBeginAllowThreads();
37419 (arg1)->SetDefaultPath((wxString const &)*arg2);
37420 wxPyEndAllowThreads(__tstate);
37421 if (PyErr_Occurred()) SWIG_fail;
37422 }
37423 resultobj = SWIG_Py_Void();
37424 {
37425 if (temp2)
37426 delete arg2;
37427 }
37428 return resultobj;
37429fail:
37430 {
37431 if (temp2)
37432 delete arg2;
37433 }
37434 return NULL;
d14a1e28
RD
37435}
37436
37437
0085ce49
RD
37438SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37439 PyObject *resultobj = 0;
37440 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37441 wxString result;
37442 void *argp1 = 0 ;
37443 int res1 = 0 ;
37444 PyObject *swig_obj[1] ;
37445
37446 if (!args) SWIG_fail;
37447 swig_obj[0] = args;
37448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37449 if (!SWIG_IsOK(res1)) {
37450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37451 }
37452 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37453 {
37454 PyThreadState* __tstate = wxPyBeginAllowThreads();
37455 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
37456 wxPyEndAllowThreads(__tstate);
37457 if (PyErr_Occurred()) SWIG_fail;
37458 }
37459 {
37460#if wxUSE_UNICODE
37461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37462#else
37463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37464#endif
37465 }
37466 return resultobj;
37467fail:
37468 return NULL;
d14a1e28
RD
37469}
37470
37471
0085ce49
RD
37472SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37473 PyObject *resultobj = 0;
37474 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37475 wxString result;
37476 void *argp1 = 0 ;
37477 int res1 = 0 ;
37478 PyObject *swig_obj[1] ;
37479
37480 if (!args) SWIG_fail;
37481 swig_obj[0] = args;
37482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37483 if (!SWIG_IsOK(res1)) {
37484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37485 }
37486 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37487 {
37488 PyThreadState* __tstate = wxPyBeginAllowThreads();
37489 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
37490 wxPyEndAllowThreads(__tstate);
37491 if (PyErr_Occurred()) SWIG_fail;
37492 }
37493 {
37494#if wxUSE_UNICODE
37495 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37496#else
37497 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37498#endif
37499 }
37500 return resultobj;
37501fail:
37502 return NULL;
37503}
37504
37505
37506SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37507 PyObject *resultobj = 0;
37508 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37509 wxString *arg2 = 0 ;
37510 void *argp1 = 0 ;
37511 int res1 = 0 ;
37512 bool temp2 = false ;
37513 PyObject * obj0 = 0 ;
37514 PyObject * obj1 = 0 ;
37515 char * kwnames[] = {
37516 (char *) "self",(char *) "path", NULL
37517 };
37518
37519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
37520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37521 if (!SWIG_IsOK(res1)) {
37522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37523 }
37524 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37525 {
37526 arg2 = wxString_in_helper(obj1);
37527 if (arg2 == NULL) SWIG_fail;
37528 temp2 = true;
37529 }
37530 {
37531 PyThreadState* __tstate = wxPyBeginAllowThreads();
37532 (arg1)->SetPath((wxString const &)*arg2);
37533 wxPyEndAllowThreads(__tstate);
37534 if (PyErr_Occurred()) SWIG_fail;
37535 }
37536 resultobj = SWIG_Py_Void();
37537 {
37538 if (temp2)
37539 delete arg2;
37540 }
37541 return resultobj;
37542fail:
37543 {
37544 if (temp2)
37545 delete arg2;
37546 }
37547 return NULL;
37548}
37549
37550
37551SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37552 PyObject *resultobj = 0;
37553 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37554 bool arg2 ;
37555 void *argp1 = 0 ;
37556 int res1 = 0 ;
37557 bool val2 ;
37558 int ecode2 = 0 ;
37559 PyObject * obj0 = 0 ;
37560 PyObject * obj1 = 0 ;
37561 char * kwnames[] = {
37562 (char *) "self",(char *) "show", NULL
37563 };
37564
37565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
37566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37567 if (!SWIG_IsOK(res1)) {
37568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37569 }
37570 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37571 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37572 if (!SWIG_IsOK(ecode2)) {
37573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37574 }
37575 arg2 = static_cast< bool >(val2);
37576 {
37577 PyThreadState* __tstate = wxPyBeginAllowThreads();
37578 (arg1)->ShowHidden(arg2);
37579 wxPyEndAllowThreads(__tstate);
37580 if (PyErr_Occurred()) SWIG_fail;
37581 }
37582 resultobj = SWIG_Py_Void();
37583 return resultobj;
37584fail:
37585 return NULL;
d14a1e28
RD
37586}
37587
37588
0085ce49
RD
37589SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37590 PyObject *resultobj = 0;
37591 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37592 bool result;
37593 void *argp1 = 0 ;
37594 int res1 = 0 ;
37595 PyObject *swig_obj[1] ;
37596
37597 if (!args) SWIG_fail;
37598 swig_obj[0] = args;
37599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37600 if (!SWIG_IsOK(res1)) {
37601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37602 }
37603 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37604 {
37605 PyThreadState* __tstate = wxPyBeginAllowThreads();
37606 result = (bool)(arg1)->GetShowHidden();
37607 wxPyEndAllowThreads(__tstate);
37608 if (PyErr_Occurred()) SWIG_fail;
37609 }
37610 {
37611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37612 }
37613 return resultobj;
37614fail:
37615 return NULL;
d14a1e28
RD
37616}
37617
37618
0085ce49
RD
37619SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37620 PyObject *resultobj = 0;
37621 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37622 wxString result;
37623 void *argp1 = 0 ;
37624 int res1 = 0 ;
37625 PyObject *swig_obj[1] ;
37626
37627 if (!args) SWIG_fail;
37628 swig_obj[0] = args;
37629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37630 if (!SWIG_IsOK(res1)) {
37631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37632 }
37633 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37634 {
37635 PyThreadState* __tstate = wxPyBeginAllowThreads();
37636 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
37637 wxPyEndAllowThreads(__tstate);
37638 if (PyErr_Occurred()) SWIG_fail;
37639 }
37640 {
37641#if wxUSE_UNICODE
37642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
37643#else
37644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
37645#endif
37646 }
37647 return resultobj;
37648fail:
37649 return NULL;
37650}
37651
37652
37653SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37654 PyObject *resultobj = 0;
37655 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37656 wxString *arg2 = 0 ;
37657 void *argp1 = 0 ;
37658 int res1 = 0 ;
37659 bool temp2 = false ;
37660 PyObject * obj0 = 0 ;
37661 PyObject * obj1 = 0 ;
37662 char * kwnames[] = {
37663 (char *) "self",(char *) "filter", NULL
37664 };
37665
37666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
37667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37668 if (!SWIG_IsOK(res1)) {
37669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37670 }
37671 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37672 {
37673 arg2 = wxString_in_helper(obj1);
37674 if (arg2 == NULL) SWIG_fail;
37675 temp2 = true;
37676 }
37677 {
37678 PyThreadState* __tstate = wxPyBeginAllowThreads();
37679 (arg1)->SetFilter((wxString const &)*arg2);
37680 wxPyEndAllowThreads(__tstate);
37681 if (PyErr_Occurred()) SWIG_fail;
37682 }
37683 resultobj = SWIG_Py_Void();
37684 {
37685 if (temp2)
37686 delete arg2;
37687 }
37688 return resultobj;
37689fail:
37690 {
37691 if (temp2)
37692 delete arg2;
37693 }
37694 return NULL;
d14a1e28
RD
37695}
37696
37697
0085ce49
RD
37698SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37699 PyObject *resultobj = 0;
37700 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37701 int result;
37702 void *argp1 = 0 ;
37703 int res1 = 0 ;
37704 PyObject *swig_obj[1] ;
37705
37706 if (!args) SWIG_fail;
37707 swig_obj[0] = args;
37708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37709 if (!SWIG_IsOK(res1)) {
37710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37711 }
37712 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37713 {
37714 PyThreadState* __tstate = wxPyBeginAllowThreads();
37715 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
37716 wxPyEndAllowThreads(__tstate);
37717 if (PyErr_Occurred()) SWIG_fail;
37718 }
37719 resultobj = SWIG_From_int(static_cast< int >(result));
37720 return resultobj;
37721fail:
37722 return NULL;
37723}
37724
37725
37726SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37727 PyObject *resultobj = 0;
37728 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37729 int arg2 ;
37730 void *argp1 = 0 ;
37731 int res1 = 0 ;
37732 int val2 ;
37733 int ecode2 = 0 ;
37734 PyObject * obj0 = 0 ;
37735 PyObject * obj1 = 0 ;
37736 char * kwnames[] = {
37737 (char *) "self",(char *) "n", NULL
37738 };
37739
37740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
37741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37742 if (!SWIG_IsOK(res1)) {
37743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37744 }
37745 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37746 ecode2 = SWIG_AsVal_int(obj1, &val2);
37747 if (!SWIG_IsOK(ecode2)) {
37748 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37749 }
37750 arg2 = static_cast< int >(val2);
37751 {
37752 PyThreadState* __tstate = wxPyBeginAllowThreads();
37753 (arg1)->SetFilterIndex(arg2);
37754 wxPyEndAllowThreads(__tstate);
37755 if (PyErr_Occurred()) SWIG_fail;
37756 }
37757 resultobj = SWIG_Py_Void();
37758 return resultobj;
37759fail:
37760 return NULL;
d14a1e28
RD
37761}
37762
37763
0085ce49
RD
37764SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37765 PyObject *resultobj = 0;
37766 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37767 wxTreeItemId result;
37768 void *argp1 = 0 ;
37769 int res1 = 0 ;
37770 PyObject *swig_obj[1] ;
37771
37772 if (!args) SWIG_fail;
37773 swig_obj[0] = args;
37774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37775 if (!SWIG_IsOK(res1)) {
37776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37777 }
37778 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37779 {
37780 PyThreadState* __tstate = wxPyBeginAllowThreads();
37781 result = (arg1)->GetRootId();
37782 wxPyEndAllowThreads(__tstate);
37783 if (PyErr_Occurred()) SWIG_fail;
37784 }
37785 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37786 return resultobj;
37787fail:
37788 return NULL;
d14a1e28
RD
37789}
37790
37791
0085ce49
RD
37792SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37793 PyObject *resultobj = 0;
37794 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37795 wxPyTreeCtrl *result = 0 ;
37796 void *argp1 = 0 ;
37797 int res1 = 0 ;
37798 PyObject *swig_obj[1] ;
37799
37800 if (!args) SWIG_fail;
37801 swig_obj[0] = args;
37802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37803 if (!SWIG_IsOK(res1)) {
37804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37805 }
37806 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37807 {
37808 PyThreadState* __tstate = wxPyBeginAllowThreads();
37809 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
37810 wxPyEndAllowThreads(__tstate);
37811 if (PyErr_Occurred()) SWIG_fail;
37812 }
37813 {
37814 resultobj = wxPyMake_wxObject(result, 0);
37815 }
37816 return resultobj;
37817fail:
37818 return NULL;
d14a1e28
RD
37819}
37820
37821
0085ce49
RD
37822SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37823 PyObject *resultobj = 0;
37824 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37825 wxDirFilterListCtrl *result = 0 ;
37826 void *argp1 = 0 ;
37827 int res1 = 0 ;
37828 PyObject *swig_obj[1] ;
37829
37830 if (!args) SWIG_fail;
37831 swig_obj[0] = args;
37832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37833 if (!SWIG_IsOK(res1)) {
37834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37835 }
37836 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37837 {
37838 PyThreadState* __tstate = wxPyBeginAllowThreads();
37839 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
37840 wxPyEndAllowThreads(__tstate);
37841 if (PyErr_Occurred()) SWIG_fail;
37842 }
37843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
37844 return resultobj;
37845fail:
37846 return NULL;
37847}
37848
37849
37850SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37851 PyObject *resultobj = 0;
37852 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37853 wxTreeItemId arg2 ;
37854 wxString *arg3 = 0 ;
37855 bool *arg4 = 0 ;
37856 wxTreeItemId result;
37857 void *argp1 = 0 ;
37858 int res1 = 0 ;
37859 void *argp2 ;
37860 int res2 = 0 ;
37861 bool temp3 = false ;
37862 bool temp4 ;
37863 int res4 = SWIG_TMPOBJ ;
37864 PyObject * obj0 = 0 ;
37865 PyObject * obj1 = 0 ;
37866 PyObject * obj2 = 0 ;
37867 char * kwnames[] = {
37868 (char *) "self",(char *) "parentId",(char *) "path", NULL
37869 };
37870
37871 arg4 = &temp4;
37872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37874 if (!SWIG_IsOK(res1)) {
37875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37876 }
37877 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37878 {
37879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37880 if (!SWIG_IsOK(res2)) {
37881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37882 }
37883 if (!argp2) {
37884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37885 } else {
37886 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
37887 arg2 = *temp;
37888 if (SWIG_IsNewObj(res2)) delete temp;
d14a1e28 37889 }
0085ce49
RD
37890 }
37891 {
37892 arg3 = wxString_in_helper(obj2);
37893 if (arg3 == NULL) SWIG_fail;
37894 temp3 = true;
37895 }
37896 {
37897 PyThreadState* __tstate = wxPyBeginAllowThreads();
37898 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
37899 wxPyEndAllowThreads(__tstate);
37900 if (PyErr_Occurred()) SWIG_fail;
37901 }
37902 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37903 if (SWIG_IsTmpObj(res4)) {
37904 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
37905 } else {
37906 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37907 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
37908 }
37909 {
37910 if (temp3)
37911 delete arg3;
37912 }
37913 return resultobj;
37914fail:
37915 {
37916 if (temp3)
37917 delete arg3;
37918 }
37919 return NULL;
d14a1e28
RD
37920}
37921
37922
0085ce49
RD
37923SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37924 PyObject *resultobj = 0;
37925 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37926 void *argp1 = 0 ;
37927 int res1 = 0 ;
37928 PyObject *swig_obj[1] ;
37929
37930 if (!args) SWIG_fail;
37931 swig_obj[0] = args;
37932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37933 if (!SWIG_IsOK(res1)) {
37934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37935 }
37936 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37937 {
37938 PyThreadState* __tstate = wxPyBeginAllowThreads();
37939 (arg1)->DoResize();
37940 wxPyEndAllowThreads(__tstate);
37941 if (PyErr_Occurred()) SWIG_fail;
37942 }
37943 resultobj = SWIG_Py_Void();
37944 return resultobj;
37945fail:
37946 return NULL;
d14a1e28
RD
37947}
37948
37949
0085ce49
RD
37950SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37951 PyObject *resultobj = 0;
37952 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37953 void *argp1 = 0 ;
37954 int res1 = 0 ;
37955 PyObject *swig_obj[1] ;
37956
37957 if (!args) SWIG_fail;
37958 swig_obj[0] = args;
37959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37960 if (!SWIG_IsOK(res1)) {
37961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37962 }
37963 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37964 {
37965 PyThreadState* __tstate = wxPyBeginAllowThreads();
37966 (arg1)->ReCreateTree();
37967 wxPyEndAllowThreads(__tstate);
37968 if (PyErr_Occurred()) SWIG_fail;
37969 }
37970 resultobj = SWIG_Py_Void();
37971 return resultobj;
37972fail:
37973 return NULL;
37974}
37975
37976
37977SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37978 PyObject *obj;
37979 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37980 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
37981 return SWIG_Py_Void();
37982}
37983
37984SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37985 return SWIG_Python_InitShadowInstance(args);
37986}
37987
37988SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37989 PyObject *resultobj = 0;
37990 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37991 int arg2 = (int) (int)-1 ;
37992 wxPoint const &arg3_defvalue = wxDefaultPosition ;
37993 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
37994 wxSize const &arg4_defvalue = wxDefaultSize ;
37995 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
37996 long arg5 = (long) 0 ;
37997 wxDirFilterListCtrl *result = 0 ;
37998 void *argp1 = 0 ;
37999 int res1 = 0 ;
38000 int val2 ;
38001 int ecode2 = 0 ;
38002 wxPoint temp3 ;
38003 wxSize temp4 ;
38004 long val5 ;
38005 int ecode5 = 0 ;
38006 PyObject * obj0 = 0 ;
38007 PyObject * obj1 = 0 ;
38008 PyObject * obj2 = 0 ;
38009 PyObject * obj3 = 0 ;
38010 PyObject * obj4 = 0 ;
38011 char * kwnames[] = {
38012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38013 };
38014
38015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38017 if (!SWIG_IsOK(res1)) {
38018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38019 }
38020 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38021 if (obj1) {
38022 ecode2 = SWIG_AsVal_int(obj1, &val2);
38023 if (!SWIG_IsOK(ecode2)) {
38024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38025 }
38026 arg2 = static_cast< int >(val2);
38027 }
38028 if (obj2) {
d14a1e28 38029 {
0085ce49
RD
38030 arg3 = &temp3;
38031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 38032 }
0085ce49
RD
38033 }
38034 if (obj3) {
d14a1e28 38035 {
0085ce49
RD
38036 arg4 = &temp4;
38037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 38038 }
0085ce49
RD
38039 }
38040 if (obj4) {
38041 ecode5 = SWIG_AsVal_long(obj4, &val5);
38042 if (!SWIG_IsOK(ecode5)) {
38043 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38044 }
38045 arg5 = static_cast< long >(val5);
38046 }
38047 {
38048 if (!wxPyCheckForApp()) SWIG_fail;
38049 PyThreadState* __tstate = wxPyBeginAllowThreads();
38050 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38051 wxPyEndAllowThreads(__tstate);
38052 if (PyErr_Occurred()) SWIG_fail;
38053 }
38054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38055 return resultobj;
38056fail:
38057 return NULL;
d14a1e28
RD
38058}
38059
38060
0085ce49
RD
38061SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38062 PyObject *resultobj = 0;
38063 wxDirFilterListCtrl *result = 0 ;
38064
38065 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38066 {
38067 if (!wxPyCheckForApp()) SWIG_fail;
38068 PyThreadState* __tstate = wxPyBeginAllowThreads();
38069 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38070 wxPyEndAllowThreads(__tstate);
38071 if (PyErr_Occurred()) SWIG_fail;
38072 }
38073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38074 return resultobj;
38075fail:
38076 return NULL;
38077}
38078
38079
38080SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38081 PyObject *resultobj = 0;
38082 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38083 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38084 int arg3 = (int) (int)-1 ;
38085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38087 wxSize const &arg5_defvalue = wxDefaultSize ;
38088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38089 long arg6 = (long) 0 ;
38090 bool result;
38091 void *argp1 = 0 ;
38092 int res1 = 0 ;
38093 void *argp2 = 0 ;
38094 int res2 = 0 ;
38095 int val3 ;
38096 int ecode3 = 0 ;
38097 wxPoint temp4 ;
38098 wxSize temp5 ;
38099 long val6 ;
38100 int ecode6 = 0 ;
38101 PyObject * obj0 = 0 ;
38102 PyObject * obj1 = 0 ;
38103 PyObject * obj2 = 0 ;
38104 PyObject * obj3 = 0 ;
38105 PyObject * obj4 = 0 ;
38106 PyObject * obj5 = 0 ;
38107 char * kwnames[] = {
38108 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38109 };
38110
38111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38113 if (!SWIG_IsOK(res1)) {
38114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38115 }
38116 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38117 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38118 if (!SWIG_IsOK(res2)) {
38119 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38120 }
38121 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38122 if (obj2) {
38123 ecode3 = SWIG_AsVal_int(obj2, &val3);
38124 if (!SWIG_IsOK(ecode3)) {
38125 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38126 }
38127 arg3 = static_cast< int >(val3);
38128 }
38129 if (obj3) {
093d3ff1 38130 {
0085ce49
RD
38131 arg4 = &temp4;
38132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38133 }
0085ce49
RD
38134 }
38135 if (obj4) {
d14a1e28 38136 {
0085ce49
RD
38137 arg5 = &temp5;
38138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 38139 }
0085ce49
RD
38140 }
38141 if (obj5) {
38142 ecode6 = SWIG_AsVal_long(obj5, &val6);
38143 if (!SWIG_IsOK(ecode6)) {
38144 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38145 }
38146 arg6 = static_cast< long >(val6);
38147 }
38148 {
38149 PyThreadState* __tstate = wxPyBeginAllowThreads();
38150 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38151 wxPyEndAllowThreads(__tstate);
38152 if (PyErr_Occurred()) SWIG_fail;
38153 }
38154 {
38155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38156 }
38157 return resultobj;
38158fail:
38159 return NULL;
38160}
38161
38162
38163SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38164 PyObject *resultobj = 0;
38165 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38166 wxString *arg2 = 0 ;
38167 int arg3 ;
38168 void *argp1 = 0 ;
38169 int res1 = 0 ;
38170 bool temp2 = false ;
38171 int val3 ;
38172 int ecode3 = 0 ;
38173 PyObject * obj0 = 0 ;
38174 PyObject * obj1 = 0 ;
38175 PyObject * obj2 = 0 ;
38176 char * kwnames[] = {
38177 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38178 };
38179
38180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38182 if (!SWIG_IsOK(res1)) {
38183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38184 }
38185 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38186 {
38187 arg2 = wxString_in_helper(obj1);
38188 if (arg2 == NULL) SWIG_fail;
38189 temp2 = true;
38190 }
38191 ecode3 = SWIG_AsVal_int(obj2, &val3);
38192 if (!SWIG_IsOK(ecode3)) {
38193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38194 }
38195 arg3 = static_cast< int >(val3);
38196 {
38197 PyThreadState* __tstate = wxPyBeginAllowThreads();
38198 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38199 wxPyEndAllowThreads(__tstate);
38200 if (PyErr_Occurred()) SWIG_fail;
38201 }
38202 resultobj = SWIG_Py_Void();
38203 {
38204 if (temp2)
38205 delete arg2;
38206 }
38207 return resultobj;
38208fail:
38209 {
38210 if (temp2)
38211 delete arg2;
38212 }
38213 return NULL;
38214}
38215
38216
38217SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38218 PyObject *obj;
38219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38220 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38221 return SWIG_Py_Void();
38222}
38223
38224SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38225 return SWIG_Python_InitShadowInstance(args);
38226}
38227
38228SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38229 PyObject *resultobj = 0;
38230 wxWindow *arg1 = (wxWindow *) 0 ;
38231 int arg2 = (int) (int)-1 ;
38232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38234 wxSize const &arg4_defvalue = wxDefaultSize ;
38235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38236 long arg5 = (long) 0 ;
38237 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38238 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38239 wxString const &arg7_defvalue = wxPyControlNameStr ;
38240 wxString *arg7 = (wxString *) &arg7_defvalue ;
38241 wxPyControl *result = 0 ;
38242 void *argp1 = 0 ;
38243 int res1 = 0 ;
38244 int val2 ;
38245 int ecode2 = 0 ;
38246 wxPoint temp3 ;
38247 wxSize temp4 ;
38248 long val5 ;
38249 int ecode5 = 0 ;
38250 void *argp6 = 0 ;
38251 int res6 = 0 ;
38252 bool temp7 = false ;
38253 PyObject * obj0 = 0 ;
38254 PyObject * obj1 = 0 ;
38255 PyObject * obj2 = 0 ;
38256 PyObject * obj3 = 0 ;
38257 PyObject * obj4 = 0 ;
38258 PyObject * obj5 = 0 ;
38259 PyObject * obj6 = 0 ;
38260 char * kwnames[] = {
38261 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38262 };
38263
38264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38266 if (!SWIG_IsOK(res1)) {
38267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38268 }
38269 arg1 = reinterpret_cast< wxWindow * >(argp1);
38270 if (obj1) {
38271 ecode2 = SWIG_AsVal_int(obj1, &val2);
38272 if (!SWIG_IsOK(ecode2)) {
38273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38274 }
38275 arg2 = static_cast< int >(val2);
38276 }
38277 if (obj2) {
093d3ff1 38278 {
0085ce49
RD
38279 arg3 = &temp3;
38280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 38281 }
0085ce49
RD
38282 }
38283 if (obj3) {
d14a1e28 38284 {
0085ce49
RD
38285 arg4 = &temp4;
38286 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 38287 }
0085ce49
RD
38288 }
38289 if (obj4) {
38290 ecode5 = SWIG_AsVal_long(obj4, &val5);
38291 if (!SWIG_IsOK(ecode5)) {
38292 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38293 }
38294 arg5 = static_cast< long >(val5);
38295 }
38296 if (obj5) {
38297 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38298 if (!SWIG_IsOK(res6)) {
38299 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38300 }
38301 if (!argp6) {
38302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d14a1e28 38303 }
0085ce49
RD
38304 arg6 = reinterpret_cast< wxValidator * >(argp6);
38305 }
38306 if (obj6) {
d14a1e28 38307 {
0085ce49
RD
38308 arg7 = wxString_in_helper(obj6);
38309 if (arg7 == NULL) SWIG_fail;
38310 temp7 = true;
d14a1e28 38311 }
0085ce49
RD
38312 }
38313 {
38314 if (!wxPyCheckForApp()) SWIG_fail;
38315 PyThreadState* __tstate = wxPyBeginAllowThreads();
38316 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
38317 wxPyEndAllowThreads(__tstate);
38318 if (PyErr_Occurred()) SWIG_fail;
38319 }
38320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
38321 {
38322 if (temp7)
38323 delete arg7;
38324 }
38325 return resultobj;
38326fail:
38327 {
38328 if (temp7)
38329 delete arg7;
38330 }
38331 return NULL;
d14a1e28
RD
38332}
38333
38334
0085ce49
RD
38335SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38336 PyObject *resultobj = 0;
38337 wxPyControl *result = 0 ;
38338
38339 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
38340 {
38341 if (!wxPyCheckForApp()) SWIG_fail;
38342 PyThreadState* __tstate = wxPyBeginAllowThreads();
38343 result = (wxPyControl *)new wxPyControl();
38344 wxPyEndAllowThreads(__tstate);
38345 if (PyErr_Occurred()) SWIG_fail;
38346 }
38347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
38348 return resultobj;
38349fail:
38350 return NULL;
38351}
38352
38353
38354SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38355 PyObject *resultobj = 0;
38356 wxPyControl *arg1 = (wxPyControl *) 0 ;
38357 PyObject *arg2 = (PyObject *) 0 ;
38358 PyObject *arg3 = (PyObject *) 0 ;
38359 void *argp1 = 0 ;
38360 int res1 = 0 ;
38361 PyObject * obj0 = 0 ;
38362 PyObject * obj1 = 0 ;
38363 PyObject * obj2 = 0 ;
38364 char * kwnames[] = {
38365 (char *) "self",(char *) "self",(char *) "_class", NULL
38366 };
38367
38368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38370 if (!SWIG_IsOK(res1)) {
38371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38372 }
38373 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38374 arg2 = obj1;
38375 arg3 = obj2;
38376 {
38377 PyThreadState* __tstate = wxPyBeginAllowThreads();
38378 (arg1)->_setCallbackInfo(arg2,arg3);
38379 wxPyEndAllowThreads(__tstate);
38380 if (PyErr_Occurred()) SWIG_fail;
38381 }
38382 resultobj = SWIG_Py_Void();
38383 return resultobj;
38384fail:
38385 return NULL;
38386}
38387
38388
38389SWIGINTERN PyObject *_wrap_PyControl_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38390 PyObject *resultobj = 0;
38391 wxPyControl *arg1 = (wxPyControl *) 0 ;
38392 wxSize *arg2 = 0 ;
38393 void *argp1 = 0 ;
38394 int res1 = 0 ;
38395 wxSize temp2 ;
38396 PyObject * obj0 = 0 ;
38397 PyObject * obj1 = 0 ;
38398 char * kwnames[] = {
38399 (char *) "self",(char *) "size", NULL
38400 };
38401
38402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
38403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38404 if (!SWIG_IsOK(res1)) {
38405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38406 }
38407 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38408 {
38409 arg2 = &temp2;
38410 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38411 }
38412 {
38413 PyThreadState* __tstate = wxPyBeginAllowThreads();
38414 (arg1)->SetBestSize((wxSize const &)*arg2);
38415 wxPyEndAllowThreads(__tstate);
38416 if (PyErr_Occurred()) SWIG_fail;
38417 }
38418 resultobj = SWIG_Py_Void();
38419 return resultobj;
38420fail:
38421 return NULL;
38422}
38423
38424
38425SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38426 PyObject *resultobj = 0;
38427 wxPyControl *arg1 = (wxPyControl *) 0 ;
38428 wxDC *arg2 = (wxDC *) 0 ;
38429 bool result;
38430 void *argp1 = 0 ;
38431 int res1 = 0 ;
38432 void *argp2 = 0 ;
38433 int res2 = 0 ;
38434 PyObject * obj0 = 0 ;
38435 PyObject * obj1 = 0 ;
38436 char * kwnames[] = {
38437 (char *) "self",(char *) "dc", NULL
38438 };
38439
38440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
38441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38442 if (!SWIG_IsOK(res1)) {
38443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38444 }
38445 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
38447 if (!SWIG_IsOK(res2)) {
38448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38449 }
38450 arg2 = reinterpret_cast< wxDC * >(argp2);
38451 {
38452 PyThreadState* __tstate = wxPyBeginAllowThreads();
38453 result = (bool)(arg1)->DoEraseBackground(arg2);
38454 wxPyEndAllowThreads(__tstate);
38455 if (PyErr_Occurred()) SWIG_fail;
38456 }
38457 {
38458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38459 }
38460 return resultobj;
38461fail:
38462 return NULL;
38463}
38464
38465
38466SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38467 PyObject *resultobj = 0;
38468 wxPyControl *arg1 = (wxPyControl *) 0 ;
38469 int arg2 ;
38470 int arg3 ;
38471 int arg4 ;
38472 int arg5 ;
38473 void *argp1 = 0 ;
38474 int res1 = 0 ;
38475 int val2 ;
38476 int ecode2 = 0 ;
38477 int val3 ;
38478 int ecode3 = 0 ;
38479 int val4 ;
38480 int ecode4 = 0 ;
38481 int val5 ;
38482 int ecode5 = 0 ;
38483 PyObject * obj0 = 0 ;
38484 PyObject * obj1 = 0 ;
38485 PyObject * obj2 = 0 ;
38486 PyObject * obj3 = 0 ;
38487 PyObject * obj4 = 0 ;
38488 char * kwnames[] = {
38489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38490 };
38491
38492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38494 if (!SWIG_IsOK(res1)) {
38495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38496 }
38497 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38498 ecode2 = SWIG_AsVal_int(obj1, &val2);
38499 if (!SWIG_IsOK(ecode2)) {
38500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38501 }
38502 arg2 = static_cast< int >(val2);
38503 ecode3 = SWIG_AsVal_int(obj2, &val3);
38504 if (!SWIG_IsOK(ecode3)) {
38505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38506 }
38507 arg3 = static_cast< int >(val3);
38508 ecode4 = SWIG_AsVal_int(obj3, &val4);
38509 if (!SWIG_IsOK(ecode4)) {
38510 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38511 }
38512 arg4 = static_cast< int >(val4);
38513 ecode5 = SWIG_AsVal_int(obj4, &val5);
38514 if (!SWIG_IsOK(ecode5)) {
38515 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38516 }
38517 arg5 = static_cast< int >(val5);
38518 {
38519 PyThreadState* __tstate = wxPyBeginAllowThreads();
38520 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
38521 wxPyEndAllowThreads(__tstate);
38522 if (PyErr_Occurred()) SWIG_fail;
38523 }
38524 resultobj = SWIG_Py_Void();
38525 return resultobj;
38526fail:
38527 return NULL;
38528}
38529
38530
38531SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38532 PyObject *resultobj = 0;
38533 wxPyControl *arg1 = (wxPyControl *) 0 ;
38534 int arg2 ;
38535 int arg3 ;
38536 int arg4 ;
38537 int arg5 ;
38538 int arg6 = (int) wxSIZE_AUTO ;
38539 void *argp1 = 0 ;
38540 int res1 = 0 ;
38541 int val2 ;
38542 int ecode2 = 0 ;
38543 int val3 ;
38544 int ecode3 = 0 ;
38545 int val4 ;
38546 int ecode4 = 0 ;
38547 int val5 ;
38548 int ecode5 = 0 ;
38549 int val6 ;
38550 int ecode6 = 0 ;
38551 PyObject * obj0 = 0 ;
38552 PyObject * obj1 = 0 ;
38553 PyObject * obj2 = 0 ;
38554 PyObject * obj3 = 0 ;
38555 PyObject * obj4 = 0 ;
38556 PyObject * obj5 = 0 ;
38557 char * kwnames[] = {
38558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38559 };
38560
38561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38563 if (!SWIG_IsOK(res1)) {
38564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38565 }
38566 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38567 ecode2 = SWIG_AsVal_int(obj1, &val2);
38568 if (!SWIG_IsOK(ecode2)) {
38569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38570 }
38571 arg2 = static_cast< int >(val2);
38572 ecode3 = SWIG_AsVal_int(obj2, &val3);
38573 if (!SWIG_IsOK(ecode3)) {
38574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38575 }
38576 arg3 = static_cast< int >(val3);
38577 ecode4 = SWIG_AsVal_int(obj3, &val4);
38578 if (!SWIG_IsOK(ecode4)) {
38579 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38580 }
38581 arg4 = static_cast< int >(val4);
38582 ecode5 = SWIG_AsVal_int(obj4, &val5);
38583 if (!SWIG_IsOK(ecode5)) {
38584 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38585 }
38586 arg5 = static_cast< int >(val5);
38587 if (obj5) {
38588 ecode6 = SWIG_AsVal_int(obj5, &val6);
38589 if (!SWIG_IsOK(ecode6)) {
38590 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38591 }
38592 arg6 = static_cast< int >(val6);
38593 }
38594 {
38595 PyThreadState* __tstate = wxPyBeginAllowThreads();
38596 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
38597 wxPyEndAllowThreads(__tstate);
38598 if (PyErr_Occurred()) SWIG_fail;
38599 }
38600 resultobj = SWIG_Py_Void();
38601 return resultobj;
38602fail:
38603 return NULL;
38604}
38605
38606
38607SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38608 PyObject *resultobj = 0;
38609 wxPyControl *arg1 = (wxPyControl *) 0 ;
38610 int arg2 ;
38611 int arg3 ;
38612 void *argp1 = 0 ;
38613 int res1 = 0 ;
38614 int val2 ;
38615 int ecode2 = 0 ;
38616 int val3 ;
38617 int ecode3 = 0 ;
38618 PyObject * obj0 = 0 ;
38619 PyObject * obj1 = 0 ;
38620 PyObject * obj2 = 0 ;
38621 char * kwnames[] = {
38622 (char *) "self",(char *) "width",(char *) "height", NULL
38623 };
38624
38625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38627 if (!SWIG_IsOK(res1)) {
38628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38629 }
38630 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38631 ecode2 = SWIG_AsVal_int(obj1, &val2);
38632 if (!SWIG_IsOK(ecode2)) {
38633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38634 }
38635 arg2 = static_cast< int >(val2);
38636 ecode3 = SWIG_AsVal_int(obj2, &val3);
38637 if (!SWIG_IsOK(ecode3)) {
38638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38639 }
38640 arg3 = static_cast< int >(val3);
38641 {
38642 PyThreadState* __tstate = wxPyBeginAllowThreads();
38643 (arg1)->DoSetClientSize(arg2,arg3);
38644 wxPyEndAllowThreads(__tstate);
38645 if (PyErr_Occurred()) SWIG_fail;
38646 }
38647 resultobj = SWIG_Py_Void();
38648 return resultobj;
38649fail:
38650 return NULL;
38651}
38652
38653
38654SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38655 PyObject *resultobj = 0;
38656 wxPyControl *arg1 = (wxPyControl *) 0 ;
38657 int arg2 ;
38658 int arg3 ;
38659 void *argp1 = 0 ;
38660 int res1 = 0 ;
38661 int val2 ;
38662 int ecode2 = 0 ;
38663 int val3 ;
38664 int ecode3 = 0 ;
38665 PyObject * obj0 = 0 ;
38666 PyObject * obj1 = 0 ;
38667 PyObject * obj2 = 0 ;
38668 char * kwnames[] = {
38669 (char *) "self",(char *) "x",(char *) "y", NULL
38670 };
38671
38672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38674 if (!SWIG_IsOK(res1)) {
38675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38676 }
38677 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38678 ecode2 = SWIG_AsVal_int(obj1, &val2);
38679 if (!SWIG_IsOK(ecode2)) {
38680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38681 }
38682 arg2 = static_cast< int >(val2);
38683 ecode3 = SWIG_AsVal_int(obj2, &val3);
38684 if (!SWIG_IsOK(ecode3)) {
38685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38686 }
38687 arg3 = static_cast< int >(val3);
38688 {
38689 PyThreadState* __tstate = wxPyBeginAllowThreads();
38690 (arg1)->DoSetVirtualSize(arg2,arg3);
38691 wxPyEndAllowThreads(__tstate);
38692 if (PyErr_Occurred()) SWIG_fail;
38693 }
38694 resultobj = SWIG_Py_Void();
38695 return resultobj;
38696fail:
38697 return NULL;
38698}
38699
38700
38701SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38702 PyObject *resultobj = 0;
38703 wxPyControl *arg1 = (wxPyControl *) 0 ;
38704 int *arg2 = (int *) 0 ;
38705 int *arg3 = (int *) 0 ;
38706 void *argp1 = 0 ;
38707 int res1 = 0 ;
38708 int temp2 ;
38709 int res2 = SWIG_TMPOBJ ;
38710 int temp3 ;
38711 int res3 = SWIG_TMPOBJ ;
38712 PyObject *swig_obj[1] ;
38713
38714 arg2 = &temp2;
38715 arg3 = &temp3;
38716 if (!args) SWIG_fail;
38717 swig_obj[0] = args;
38718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38719 if (!SWIG_IsOK(res1)) {
38720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38721 }
38722 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38723 {
38724 PyThreadState* __tstate = wxPyBeginAllowThreads();
38725 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
38726 wxPyEndAllowThreads(__tstate);
38727 if (PyErr_Occurred()) SWIG_fail;
38728 }
38729 resultobj = SWIG_Py_Void();
38730 if (SWIG_IsTmpObj(res2)) {
38731 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38732 } else {
38733 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38734 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38735 }
38736 if (SWIG_IsTmpObj(res3)) {
38737 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38738 } else {
38739 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38740 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38741 }
38742 return resultobj;
38743fail:
38744 return NULL;
38745}
38746
38747
38748SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38749 PyObject *resultobj = 0;
38750 wxPyControl *arg1 = (wxPyControl *) 0 ;
38751 int *arg2 = (int *) 0 ;
38752 int *arg3 = (int *) 0 ;
38753 void *argp1 = 0 ;
38754 int res1 = 0 ;
38755 int temp2 ;
38756 int res2 = SWIG_TMPOBJ ;
38757 int temp3 ;
38758 int res3 = SWIG_TMPOBJ ;
38759 PyObject *swig_obj[1] ;
38760
38761 arg2 = &temp2;
38762 arg3 = &temp3;
38763 if (!args) SWIG_fail;
38764 swig_obj[0] = args;
38765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38766 if (!SWIG_IsOK(res1)) {
38767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38768 }
38769 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38770 {
38771 PyThreadState* __tstate = wxPyBeginAllowThreads();
38772 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
38773 wxPyEndAllowThreads(__tstate);
38774 if (PyErr_Occurred()) SWIG_fail;
38775 }
38776 resultobj = SWIG_Py_Void();
38777 if (SWIG_IsTmpObj(res2)) {
38778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38779 } else {
38780 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38782 }
38783 if (SWIG_IsTmpObj(res3)) {
38784 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38785 } else {
38786 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38787 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38788 }
38789 return resultobj;
38790fail:
38791 return NULL;
38792}
38793
38794
38795SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38796 PyObject *resultobj = 0;
38797 wxPyControl *arg1 = (wxPyControl *) 0 ;
38798 int *arg2 = (int *) 0 ;
38799 int *arg3 = (int *) 0 ;
38800 void *argp1 = 0 ;
38801 int res1 = 0 ;
38802 int temp2 ;
38803 int res2 = SWIG_TMPOBJ ;
38804 int temp3 ;
38805 int res3 = SWIG_TMPOBJ ;
38806 PyObject *swig_obj[1] ;
38807
38808 arg2 = &temp2;
38809 arg3 = &temp3;
38810 if (!args) SWIG_fail;
38811 swig_obj[0] = args;
38812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38813 if (!SWIG_IsOK(res1)) {
38814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38815 }
38816 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38817 {
38818 PyThreadState* __tstate = wxPyBeginAllowThreads();
38819 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
38820 wxPyEndAllowThreads(__tstate);
38821 if (PyErr_Occurred()) SWIG_fail;
38822 }
38823 resultobj = SWIG_Py_Void();
38824 if (SWIG_IsTmpObj(res2)) {
38825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
38826 } else {
38827 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38828 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
38829 }
38830 if (SWIG_IsTmpObj(res3)) {
38831 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
38832 } else {
38833 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38834 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
38835 }
38836 return resultobj;
38837fail:
38838 return NULL;
d14a1e28
RD
38839}
38840
38841
0085ce49
RD
38842SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38843 PyObject *resultobj = 0;
38844 wxPyControl *arg1 = (wxPyControl *) 0 ;
38845 wxSize result;
38846 void *argp1 = 0 ;
38847 int res1 = 0 ;
38848 PyObject *swig_obj[1] ;
38849
38850 if (!args) SWIG_fail;
38851 swig_obj[0] = args;
38852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38853 if (!SWIG_IsOK(res1)) {
38854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38855 }
38856 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38857 {
38858 PyThreadState* __tstate = wxPyBeginAllowThreads();
38859 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
38860 wxPyEndAllowThreads(__tstate);
38861 if (PyErr_Occurred()) SWIG_fail;
38862 }
38863 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
38864 return resultobj;
38865fail:
38866 return NULL;
d14a1e28
RD
38867}
38868
38869
0085ce49
RD
38870SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38871 PyObject *resultobj = 0;
38872 wxPyControl *arg1 = (wxPyControl *) 0 ;
38873 wxSize result;
38874 void *argp1 = 0 ;
38875 int res1 = 0 ;
38876 PyObject *swig_obj[1] ;
38877
38878 if (!args) SWIG_fail;
38879 swig_obj[0] = args;
38880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38881 if (!SWIG_IsOK(res1)) {
38882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38883 }
38884 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38885 {
38886 PyThreadState* __tstate = wxPyBeginAllowThreads();
38887 result = ((wxPyControl const *)arg1)->DoGetBestSize();
38888 wxPyEndAllowThreads(__tstate);
38889 if (PyErr_Occurred()) SWIG_fail;
38890 }
38891 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
38892 return resultobj;
38893fail:
38894 return NULL;
d14a1e28
RD
38895}
38896
38897
0085ce49
RD
38898SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38899 PyObject *resultobj = 0;
38900 wxPyControl *arg1 = (wxPyControl *) 0 ;
38901 SwigValueWrapper<wxVisualAttributes > result;
38902 void *argp1 = 0 ;
38903 int res1 = 0 ;
38904 PyObject *swig_obj[1] ;
38905
38906 if (!args) SWIG_fail;
38907 swig_obj[0] = args;
38908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38909 if (!SWIG_IsOK(res1)) {
38910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38911 }
38912 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38913 {
38914 PyThreadState* __tstate = wxPyBeginAllowThreads();
38915 result = (arg1)->GetDefaultAttributes();
38916 wxPyEndAllowThreads(__tstate);
38917 if (PyErr_Occurred()) SWIG_fail;
38918 }
38919 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
38920 return resultobj;
38921fail:
38922 return NULL;
d14a1e28
RD
38923}
38924
38925
0085ce49
RD
38926SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38927 PyObject *resultobj = 0;
38928 wxPyControl *arg1 = (wxPyControl *) 0 ;
38929 void *argp1 = 0 ;
38930 int res1 = 0 ;
38931 PyObject *swig_obj[1] ;
38932
38933 if (!args) SWIG_fail;
38934 swig_obj[0] = args;
38935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
38936 if (!SWIG_IsOK(res1)) {
38937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38938 }
38939 arg1 = reinterpret_cast< wxPyControl * >(argp1);
38940 {
38941 PyThreadState* __tstate = wxPyBeginAllowThreads();
38942 (arg1)->OnInternalIdle();
38943 wxPyEndAllowThreads(__tstate);
38944 if (PyErr_Occurred()) SWIG_fail;
38945 }
38946 resultobj = SWIG_Py_Void();
38947 return resultobj;
38948fail:
38949 return NULL;
38950}
38951
38952
38953SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38954 PyObject *obj;
38955 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
38957 return SWIG_Py_Void();
38958}
38959
38960SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38961 return SWIG_Python_InitShadowInstance(args);
38962}
38963
38964SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38965 PyObject *resultobj = 0;
38966 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
38967 int arg2 = (int) 0 ;
38968 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38969 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 38970 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
0085ce49
RD
38971 wxHelpEvent *result = 0 ;
38972 int val1 ;
38973 int ecode1 = 0 ;
38974 int val2 ;
38975 int ecode2 = 0 ;
38976 wxPoint temp3 ;
704eda0c
RD
38977 int val4 ;
38978 int ecode4 = 0 ;
0085ce49
RD
38979 PyObject * obj0 = 0 ;
38980 PyObject * obj1 = 0 ;
38981 PyObject * obj2 = 0 ;
704eda0c 38982 PyObject * obj3 = 0 ;
0085ce49 38983 char * kwnames[] = {
704eda0c 38984 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
0085ce49
RD
38985 };
38986
704eda0c 38987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
0085ce49
RD
38988 if (obj0) {
38989 ecode1 = SWIG_AsVal_int(obj0, &val1);
38990 if (!SWIG_IsOK(ecode1)) {
38991 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38992 }
38993 arg1 = static_cast< wxEventType >(val1);
38994 }
38995 if (obj1) {
38996 ecode2 = SWIG_AsVal_int(obj1, &val2);
38997 if (!SWIG_IsOK(ecode2)) {
38998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38999 }
39000 arg2 = static_cast< int >(val2);
39001 }
39002 if (obj2) {
d14a1e28 39003 {
0085ce49
RD
39004 arg3 = &temp3;
39005 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 39006 }
0085ce49 39007 }
704eda0c
RD
39008 if (obj3) {
39009 ecode4 = SWIG_AsVal_int(obj3, &val4);
39010 if (!SWIG_IsOK(ecode4)) {
39011 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39012 }
39013 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39014 }
0085ce49
RD
39015 {
39016 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39017 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
0085ce49
RD
39018 wxPyEndAllowThreads(__tstate);
39019 if (PyErr_Occurred()) SWIG_fail;
39020 }
39021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39022 return resultobj;
39023fail:
39024 return NULL;
d14a1e28
RD
39025}
39026
39027
0085ce49
RD
39028SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39029 PyObject *resultobj = 0;
39030 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39031 wxPoint result;
39032 void *argp1 = 0 ;
39033 int res1 = 0 ;
39034 PyObject *swig_obj[1] ;
39035
39036 if (!args) SWIG_fail;
39037 swig_obj[0] = args;
39038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39039 if (!SWIG_IsOK(res1)) {
39040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39041 }
39042 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39043 {
39044 PyThreadState* __tstate = wxPyBeginAllowThreads();
39045 result = ((wxHelpEvent const *)arg1)->GetPosition();
39046 wxPyEndAllowThreads(__tstate);
39047 if (PyErr_Occurred()) SWIG_fail;
39048 }
39049 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39050 return resultobj;
39051fail:
39052 return NULL;
39053}
39054
39055
39056SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39057 PyObject *resultobj = 0;
39058 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39059 wxPoint *arg2 = 0 ;
39060 void *argp1 = 0 ;
39061 int res1 = 0 ;
39062 wxPoint temp2 ;
39063 PyObject * obj0 = 0 ;
39064 PyObject * obj1 = 0 ;
39065 char * kwnames[] = {
39066 (char *) "self",(char *) "pos", NULL
39067 };
39068
39069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39071 if (!SWIG_IsOK(res1)) {
39072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39073 }
39074 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39075 {
39076 arg2 = &temp2;
39077 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39078 }
39079 {
39080 PyThreadState* __tstate = wxPyBeginAllowThreads();
39081 (arg1)->SetPosition((wxPoint const &)*arg2);
39082 wxPyEndAllowThreads(__tstate);
39083 if (PyErr_Occurred()) SWIG_fail;
39084 }
39085 resultobj = SWIG_Py_Void();
39086 return resultobj;
39087fail:
39088 return NULL;
d14a1e28
RD
39089}
39090
39091
0085ce49
RD
39092SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39093 PyObject *resultobj = 0;
39094 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39095 wxString *result = 0 ;
39096 void *argp1 = 0 ;
39097 int res1 = 0 ;
39098 PyObject *swig_obj[1] ;
39099
39100 if (!args) SWIG_fail;
39101 swig_obj[0] = args;
39102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39103 if (!SWIG_IsOK(res1)) {
39104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39105 }
39106 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39107 {
39108 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 39109 {
0085ce49
RD
39110 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39111 result = (wxString *) &_result_ref;
093d3ff1 39112 }
0085ce49
RD
39113 wxPyEndAllowThreads(__tstate);
39114 if (PyErr_Occurred()) SWIG_fail;
39115 }
39116 {
39117#if wxUSE_UNICODE
39118 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39119#else
39120 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39121#endif
39122 }
39123 return resultobj;
39124fail:
39125 return NULL;
39126}
39127
39128
39129SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39130 PyObject *resultobj = 0;
39131 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39132 wxString *arg2 = 0 ;
39133 void *argp1 = 0 ;
39134 int res1 = 0 ;
39135 bool temp2 = false ;
39136 PyObject * obj0 = 0 ;
39137 PyObject * obj1 = 0 ;
39138 char * kwnames[] = {
39139 (char *) "self",(char *) "link", NULL
39140 };
39141
39142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39144 if (!SWIG_IsOK(res1)) {
39145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39146 }
39147 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39148 {
39149 arg2 = wxString_in_helper(obj1);
39150 if (arg2 == NULL) SWIG_fail;
39151 temp2 = true;
39152 }
39153 {
39154 PyThreadState* __tstate = wxPyBeginAllowThreads();
39155 (arg1)->SetLink((wxString const &)*arg2);
39156 wxPyEndAllowThreads(__tstate);
39157 if (PyErr_Occurred()) SWIG_fail;
39158 }
39159 resultobj = SWIG_Py_Void();
39160 {
39161 if (temp2)
39162 delete arg2;
39163 }
39164 return resultobj;
39165fail:
39166 {
39167 if (temp2)
39168 delete arg2;
39169 }
39170 return NULL;
d14a1e28
RD
39171}
39172
39173
0085ce49
RD
39174SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39175 PyObject *resultobj = 0;
39176 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39177 wxString *result = 0 ;
39178 void *argp1 = 0 ;
39179 int res1 = 0 ;
39180 PyObject *swig_obj[1] ;
39181
39182 if (!args) SWIG_fail;
39183 swig_obj[0] = args;
39184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39185 if (!SWIG_IsOK(res1)) {
39186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39187 }
39188 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39189 {
39190 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 39191 {
0085ce49
RD
39192 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39193 result = (wxString *) &_result_ref;
d14a1e28 39194 }
0085ce49
RD
39195 wxPyEndAllowThreads(__tstate);
39196 if (PyErr_Occurred()) SWIG_fail;
39197 }
39198 {
39199#if wxUSE_UNICODE
39200 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39201#else
39202 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39203#endif
39204 }
39205 return resultobj;
39206fail:
39207 return NULL;
39208}
39209
39210
39211SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39212 PyObject *resultobj = 0;
39213 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39214 wxString *arg2 = 0 ;
39215 void *argp1 = 0 ;
39216 int res1 = 0 ;
39217 bool temp2 = false ;
39218 PyObject * obj0 = 0 ;
39219 PyObject * obj1 = 0 ;
39220 char * kwnames[] = {
39221 (char *) "self",(char *) "target", NULL
39222 };
39223
39224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39226 if (!SWIG_IsOK(res1)) {
39227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39228 }
39229 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39230 {
39231 arg2 = wxString_in_helper(obj1);
39232 if (arg2 == NULL) SWIG_fail;
39233 temp2 = true;
39234 }
39235 {
39236 PyThreadState* __tstate = wxPyBeginAllowThreads();
39237 (arg1)->SetTarget((wxString const &)*arg2);
39238 wxPyEndAllowThreads(__tstate);
39239 if (PyErr_Occurred()) SWIG_fail;
39240 }
39241 resultobj = SWIG_Py_Void();
39242 {
39243 if (temp2)
39244 delete arg2;
39245 }
39246 return resultobj;
39247fail:
39248 {
39249 if (temp2)
39250 delete arg2;
39251 }
39252 return NULL;
d14a1e28
RD
39253}
39254
39255
704eda0c
RD
39256SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39257 PyObject *resultobj = 0;
39258 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39259 wxHelpEvent::Origin result;
39260 void *argp1 = 0 ;
39261 int res1 = 0 ;
39262 PyObject *swig_obj[1] ;
39263
39264 if (!args) SWIG_fail;
39265 swig_obj[0] = args;
39266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39267 if (!SWIG_IsOK(res1)) {
39268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39269 }
39270 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39271 {
39272 PyThreadState* __tstate = wxPyBeginAllowThreads();
39273 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39274 wxPyEndAllowThreads(__tstate);
39275 if (PyErr_Occurred()) SWIG_fail;
39276 }
39277 resultobj = SWIG_From_int(static_cast< int >(result));
39278 return resultobj;
39279fail:
39280 return NULL;
39281}
39282
39283
39284SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39285 PyObject *resultobj = 0;
39286 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39287 wxHelpEvent::Origin arg2 ;
39288 void *argp1 = 0 ;
39289 int res1 = 0 ;
39290 int val2 ;
39291 int ecode2 = 0 ;
39292 PyObject * obj0 = 0 ;
39293 PyObject * obj1 = 0 ;
39294 char * kwnames[] = {
39295 (char *) "self",(char *) "origin", NULL
39296 };
39297
39298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39300 if (!SWIG_IsOK(res1)) {
39301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39302 }
39303 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39304 ecode2 = SWIG_AsVal_int(obj1, &val2);
39305 if (!SWIG_IsOK(ecode2)) {
39306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39307 }
39308 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39309 {
39310 PyThreadState* __tstate = wxPyBeginAllowThreads();
39311 (arg1)->SetOrigin(arg2);
39312 wxPyEndAllowThreads(__tstate);
39313 if (PyErr_Occurred()) SWIG_fail;
39314 }
39315 resultobj = SWIG_Py_Void();
39316 return resultobj;
39317fail:
39318 return NULL;
39319}
39320
39321
0085ce49
RD
39322SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39323 PyObject *obj;
39324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39325 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39326 return SWIG_Py_Void();
d14a1e28
RD
39327}
39328
0085ce49
RD
39329SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39330 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
39331}
39332
0085ce49
RD
39333SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39334 PyObject *resultobj = 0;
39335 wxWindow *arg1 = (wxWindow *) NULL ;
39336 bool arg2 = (bool) true ;
39337 wxContextHelp *result = 0 ;
39338 void *argp1 = 0 ;
39339 int res1 = 0 ;
39340 bool val2 ;
39341 int ecode2 = 0 ;
39342 PyObject * obj0 = 0 ;
39343 PyObject * obj1 = 0 ;
39344 char * kwnames[] = {
39345 (char *) "window",(char *) "doNow", NULL
39346 };
39347
39348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39349 if (obj0) {
39350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39351 if (!SWIG_IsOK(res1)) {
39352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d14a1e28 39353 }
0085ce49
RD
39354 arg1 = reinterpret_cast< wxWindow * >(argp1);
39355 }
39356 if (obj1) {
39357 ecode2 = SWIG_AsVal_bool(obj1, &val2);
39358 if (!SWIG_IsOK(ecode2)) {
39359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39360 }
39361 arg2 = static_cast< bool >(val2);
39362 }
39363 {
39364 if (!wxPyCheckForApp()) SWIG_fail;
39365 PyThreadState* __tstate = wxPyBeginAllowThreads();
39366 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
39367 wxPyEndAllowThreads(__tstate);
39368 if (PyErr_Occurred()) SWIG_fail;
39369 }
39370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
39371 return resultobj;
39372fail:
39373 return NULL;
d14a1e28
RD
39374}
39375
39376
0085ce49
RD
39377SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39378 PyObject *resultobj = 0;
39379 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39380 void *argp1 = 0 ;
39381 int res1 = 0 ;
39382 PyObject *swig_obj[1] ;
39383
39384 if (!args) SWIG_fail;
39385 swig_obj[0] = args;
39386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
39387 if (!SWIG_IsOK(res1)) {
39388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39389 }
39390 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39391 {
39392 PyThreadState* __tstate = wxPyBeginAllowThreads();
39393 delete arg1;
3a04f143 39394
0085ce49
RD
39395 wxPyEndAllowThreads(__tstate);
39396 if (PyErr_Occurred()) SWIG_fail;
39397 }
39398 resultobj = SWIG_Py_Void();
39399 return resultobj;
39400fail:
39401 return NULL;
39402}
39403
39404
39405SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39406 PyObject *resultobj = 0;
39407 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39408 wxWindow *arg2 = (wxWindow *) NULL ;
39409 bool result;
39410 void *argp1 = 0 ;
39411 int res1 = 0 ;
39412 void *argp2 = 0 ;
39413 int res2 = 0 ;
39414 PyObject * obj0 = 0 ;
39415 PyObject * obj1 = 0 ;
39416 char * kwnames[] = {
39417 (char *) "self",(char *) "window", NULL
39418 };
39419
39420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39422 if (!SWIG_IsOK(res1)) {
39423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39424 }
39425 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39426 if (obj1) {
39427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39428 if (!SWIG_IsOK(res2)) {
39429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
3a04f143 39430 }
0085ce49
RD
39431 arg2 = reinterpret_cast< wxWindow * >(argp2);
39432 }
39433 {
39434 PyThreadState* __tstate = wxPyBeginAllowThreads();
39435 result = (bool)(arg1)->BeginContextHelp(arg2);
39436 wxPyEndAllowThreads(__tstate);
39437 if (PyErr_Occurred()) SWIG_fail;
39438 }
39439 {
39440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39441 }
39442 return resultobj;
39443fail:
39444 return NULL;
3a04f143
RD
39445}
39446
39447
0085ce49
RD
39448SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39449 PyObject *resultobj = 0;
39450 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
39451 bool result;
39452 void *argp1 = 0 ;
39453 int res1 = 0 ;
39454 PyObject *swig_obj[1] ;
39455
39456 if (!args) SWIG_fail;
39457 swig_obj[0] = args;
39458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
39459 if (!SWIG_IsOK(res1)) {
39460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39461 }
39462 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
39463 {
39464 PyThreadState* __tstate = wxPyBeginAllowThreads();
39465 result = (bool)(arg1)->EndContextHelp();
39466 wxPyEndAllowThreads(__tstate);
39467 if (PyErr_Occurred()) SWIG_fail;
39468 }
39469 {
39470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39471 }
39472 return resultobj;
39473fail:
39474 return NULL;
39475}
39476
39477
39478SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39479 PyObject *obj;
39480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39481 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
39482 return SWIG_Py_Void();
39483}
39484
39485SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39486 return SWIG_Python_InitShadowInstance(args);
39487}
39488
39489SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39490 PyObject *resultobj = 0;
39491 wxWindow *arg1 = (wxWindow *) 0 ;
39492 int arg2 = (int) wxID_CONTEXT_HELP ;
39493 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39494 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
39495 wxSize const &arg4_defvalue = wxDefaultSize ;
39496 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
39497 long arg5 = (long) wxBU_AUTODRAW ;
39498 wxContextHelpButton *result = 0 ;
39499 void *argp1 = 0 ;
39500 int res1 = 0 ;
39501 int val2 ;
39502 int ecode2 = 0 ;
39503 wxPoint temp3 ;
39504 wxSize temp4 ;
39505 long val5 ;
39506 int ecode5 = 0 ;
39507 PyObject * obj0 = 0 ;
39508 PyObject * obj1 = 0 ;
39509 PyObject * obj2 = 0 ;
39510 PyObject * obj3 = 0 ;
39511 PyObject * obj4 = 0 ;
39512 char * kwnames[] = {
39513 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39514 };
39515
39516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
39518 if (!SWIG_IsOK(res1)) {
39519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39520 }
39521 arg1 = reinterpret_cast< wxWindow * >(argp1);
39522 if (obj1) {
39523 ecode2 = SWIG_AsVal_int(obj1, &val2);
39524 if (!SWIG_IsOK(ecode2)) {
39525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39526 }
39527 arg2 = static_cast< int >(val2);
39528 }
39529 if (obj2) {
d14a1e28 39530 {
0085ce49
RD
39531 arg3 = &temp3;
39532 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 39533 }
0085ce49
RD
39534 }
39535 if (obj3) {
4f89f6a3 39536 {
0085ce49
RD
39537 arg4 = &temp4;
39538 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 39539 }
0085ce49
RD
39540 }
39541 if (obj4) {
39542 ecode5 = SWIG_AsVal_long(obj4, &val5);
39543 if (!SWIG_IsOK(ecode5)) {
39544 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39545 }
39546 arg5 = static_cast< long >(val5);
39547 }
39548 {
39549 if (!wxPyCheckForApp()) SWIG_fail;
39550 PyThreadState* __tstate = wxPyBeginAllowThreads();
39551 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
39552 wxPyEndAllowThreads(__tstate);
39553 if (PyErr_Occurred()) SWIG_fail;
39554 }
39555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
39556 return resultobj;
39557fail:
39558 return NULL;
d14a1e28
RD
39559}
39560
39561
0085ce49
RD
39562SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39563 PyObject *obj;
39564 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39565 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
39566 return SWIG_Py_Void();
d14a1e28
RD
39567}
39568
0085ce49
RD
39569SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39570 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
39571}
39572
f52cbe90
RD
39573SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39574 PyObject *resultobj = 0;
39575 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39576 void *argp1 = 0 ;
39577 int res1 = 0 ;
39578 PyObject *swig_obj[1] ;
39579
39580 if (!args) SWIG_fail;
39581 swig_obj[0] = args;
39582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39583 if (!SWIG_IsOK(res1)) {
39584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39585 }
39586 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39587 {
39588 PyThreadState* __tstate = wxPyBeginAllowThreads();
39589 delete arg1;
39590
39591 wxPyEndAllowThreads(__tstate);
39592 if (PyErr_Occurred()) SWIG_fail;
39593 }
39594 resultobj = SWIG_Py_Void();
39595 return resultobj;
39596fail:
39597 return NULL;
39598}
39599
39600
0085ce49
RD
39601SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39602 PyObject *resultobj = 0;
39603 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39604 wxHelpProvider *result = 0 ;
39605 int res1 = 0 ;
39606 PyObject * obj0 = 0 ;
39607 char * kwnames[] = {
39608 (char *) "helpProvider", NULL
39609 };
39610
39611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
39612 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
39613 if (!SWIG_IsOK(res1)) {
39614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39615 }
39616 {
39617 PyThreadState* __tstate = wxPyBeginAllowThreads();
39618 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
39619 wxPyEndAllowThreads(__tstate);
39620 if (PyErr_Occurred()) SWIG_fail;
39621 }
39622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
39623 return resultobj;
39624fail:
39625 return NULL;
d14a1e28
RD
39626}
39627
39628
0085ce49
RD
39629SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39630 PyObject *resultobj = 0;
39631 wxHelpProvider *result = 0 ;
39632
39633 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
39634 {
39635 PyThreadState* __tstate = wxPyBeginAllowThreads();
39636 result = (wxHelpProvider *)wxHelpProvider::Get();
39637 wxPyEndAllowThreads(__tstate);
39638 if (PyErr_Occurred()) SWIG_fail;
39639 }
39640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39641 return resultobj;
39642fail:
39643 return NULL;
39644}
39645
39646
39647SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39648 PyObject *resultobj = 0;
39649 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39650 wxWindow *arg2 = (wxWindow *) 0 ;
39651 wxString result;
39652 void *argp1 = 0 ;
39653 int res1 = 0 ;
39654 void *argp2 = 0 ;
39655 int res2 = 0 ;
39656 PyObject * obj0 = 0 ;
39657 PyObject * obj1 = 0 ;
39658 char * kwnames[] = {
39659 (char *) "self",(char *) "window", NULL
39660 };
39661
39662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39664 if (!SWIG_IsOK(res1)) {
39665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39666 }
39667 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39668 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39669 if (!SWIG_IsOK(res2)) {
39670 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39671 }
39672 arg2 = reinterpret_cast< wxWindow * >(argp2);
39673 {
39674 PyThreadState* __tstate = wxPyBeginAllowThreads();
39675 result = (arg1)->GetHelp((wxWindow const *)arg2);
39676 wxPyEndAllowThreads(__tstate);
39677 if (PyErr_Occurred()) SWIG_fail;
39678 }
39679 {
39680#if wxUSE_UNICODE
39681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
39682#else
39683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
39684#endif
39685 }
39686 return resultobj;
39687fail:
39688 return NULL;
39689}
39690
39691
39692SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39693 PyObject *resultobj = 0;
39694 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39695 wxWindow *arg2 = (wxWindow *) 0 ;
39696 bool result;
39697 void *argp1 = 0 ;
39698 int res1 = 0 ;
39699 void *argp2 = 0 ;
39700 int res2 = 0 ;
39701 PyObject * obj0 = 0 ;
39702 PyObject * obj1 = 0 ;
39703 char * kwnames[] = {
39704 (char *) "self",(char *) "window", NULL
39705 };
39706
39707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39709 if (!SWIG_IsOK(res1)) {
39710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39711 }
39712 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39713 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39714 if (!SWIG_IsOK(res2)) {
39715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39716 }
39717 arg2 = reinterpret_cast< wxWindow * >(argp2);
39718 {
39719 PyThreadState* __tstate = wxPyBeginAllowThreads();
39720 result = (bool)(arg1)->ShowHelp(arg2);
39721 wxPyEndAllowThreads(__tstate);
39722 if (PyErr_Occurred()) SWIG_fail;
39723 }
39724 {
39725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39726 }
39727 return resultobj;
39728fail:
39729 return NULL;
39730}
39731
39732
b850e7f3
RD
39733SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39734 PyObject *resultobj = 0;
39735 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39736 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
39737 wxPoint *arg3 = 0 ;
39738 wxHelpEvent::Origin arg4 ;
39739 bool result;
39740 void *argp1 = 0 ;
39741 int res1 = 0 ;
39742 void *argp2 = 0 ;
39743 int res2 = 0 ;
39744 wxPoint temp3 ;
39745 int val4 ;
39746 int ecode4 = 0 ;
39747 PyObject * obj0 = 0 ;
39748 PyObject * obj1 = 0 ;
39749 PyObject * obj2 = 0 ;
39750 PyObject * obj3 = 0 ;
39751 char * kwnames[] = {
39752 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
39753 };
39754
39755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
39756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39757 if (!SWIG_IsOK(res1)) {
39758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39759 }
39760 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
39762 if (!SWIG_IsOK(res2)) {
39763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
39764 }
39765 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
39766 {
39767 arg3 = &temp3;
39768 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
39769 }
39770 ecode4 = SWIG_AsVal_int(obj3, &val4);
39771 if (!SWIG_IsOK(ecode4)) {
39772 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39773 }
39774 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39775 {
39776 PyThreadState* __tstate = wxPyBeginAllowThreads();
39777 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
39778 wxPyEndAllowThreads(__tstate);
39779 if (PyErr_Occurred()) SWIG_fail;
39780 }
39781 {
39782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39783 }
39784 return resultobj;
39785fail:
39786 return NULL;
39787}
39788
39789
0085ce49
RD
39790SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39791 PyObject *resultobj = 0;
39792 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39793 wxWindow *arg2 = (wxWindow *) 0 ;
39794 wxString *arg3 = 0 ;
39795 void *argp1 = 0 ;
39796 int res1 = 0 ;
39797 void *argp2 = 0 ;
39798 int res2 = 0 ;
39799 bool temp3 = false ;
39800 PyObject * obj0 = 0 ;
39801 PyObject * obj1 = 0 ;
39802 PyObject * obj2 = 0 ;
39803 char * kwnames[] = {
39804 (char *) "self",(char *) "window",(char *) "text", NULL
39805 };
39806
39807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39809 if (!SWIG_IsOK(res1)) {
39810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39811 }
39812 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39813 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39814 if (!SWIG_IsOK(res2)) {
39815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39816 }
39817 arg2 = reinterpret_cast< wxWindow * >(argp2);
39818 {
39819 arg3 = wxString_in_helper(obj2);
39820 if (arg3 == NULL) SWIG_fail;
39821 temp3 = true;
39822 }
39823 {
39824 PyThreadState* __tstate = wxPyBeginAllowThreads();
39825 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
39826 wxPyEndAllowThreads(__tstate);
39827 if (PyErr_Occurred()) SWIG_fail;
39828 }
39829 resultobj = SWIG_Py_Void();
39830 {
39831 if (temp3)
39832 delete arg3;
39833 }
39834 return resultobj;
39835fail:
39836 {
39837 if (temp3)
39838 delete arg3;
39839 }
39840 return NULL;
39841}
39842
39843
39844SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39845 PyObject *resultobj = 0;
39846 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39847 int arg2 ;
39848 wxString *arg3 = 0 ;
39849 void *argp1 = 0 ;
39850 int res1 = 0 ;
39851 int val2 ;
39852 int ecode2 = 0 ;
39853 bool temp3 = false ;
39854 PyObject * obj0 = 0 ;
39855 PyObject * obj1 = 0 ;
39856 PyObject * obj2 = 0 ;
39857 char * kwnames[] = {
39858 (char *) "self",(char *) "id",(char *) "text", NULL
39859 };
39860
39861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39863 if (!SWIG_IsOK(res1)) {
39864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39865 }
39866 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39867 ecode2 = SWIG_AsVal_int(obj1, &val2);
39868 if (!SWIG_IsOK(ecode2)) {
39869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39870 }
39871 arg2 = static_cast< int >(val2);
39872 {
39873 arg3 = wxString_in_helper(obj2);
39874 if (arg3 == NULL) SWIG_fail;
39875 temp3 = true;
39876 }
39877 {
39878 PyThreadState* __tstate = wxPyBeginAllowThreads();
39879 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
39880 wxPyEndAllowThreads(__tstate);
39881 if (PyErr_Occurred()) SWIG_fail;
39882 }
39883 resultobj = SWIG_Py_Void();
39884 {
39885 if (temp3)
39886 delete arg3;
39887 }
39888 return resultobj;
39889fail:
39890 {
39891 if (temp3)
39892 delete arg3;
39893 }
39894 return NULL;
39895}
39896
39897
39898SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39899 PyObject *resultobj = 0;
39900 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39901 wxWindow *arg2 = (wxWindow *) 0 ;
39902 void *argp1 = 0 ;
39903 int res1 = 0 ;
39904 void *argp2 = 0 ;
39905 int res2 = 0 ;
39906 PyObject * obj0 = 0 ;
39907 PyObject * obj1 = 0 ;
39908 char * kwnames[] = {
39909 (char *) "self",(char *) "window", NULL
39910 };
39911
39912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
39913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39914 if (!SWIG_IsOK(res1)) {
39915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39916 }
39917 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39918 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
39919 if (!SWIG_IsOK(res2)) {
39920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39921 }
39922 arg2 = reinterpret_cast< wxWindow * >(argp2);
39923 {
39924 PyThreadState* __tstate = wxPyBeginAllowThreads();
39925 (arg1)->RemoveHelp(arg2);
39926 wxPyEndAllowThreads(__tstate);
39927 if (PyErr_Occurred()) SWIG_fail;
39928 }
39929 resultobj = SWIG_Py_Void();
39930 return resultobj;
39931fail:
39932 return NULL;
d14a1e28
RD
39933}
39934
39935
0085ce49
RD
39936SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39937 PyObject *resultobj = 0;
39938 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
39939 void *argp1 = 0 ;
39940 int res1 = 0 ;
39941 PyObject *swig_obj[1] ;
39942
39943 if (!args) SWIG_fail;
39944 swig_obj[0] = args;
39945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
39946 if (!SWIG_IsOK(res1)) {
39947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39948 }
39949 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
39950 {
39951 PyThreadState* __tstate = wxPyBeginAllowThreads();
39952 wxHelpProvider_Destroy(arg1);
39953 wxPyEndAllowThreads(__tstate);
39954 if (PyErr_Occurred()) SWIG_fail;
39955 }
39956 resultobj = SWIG_Py_Void();
39957 return resultobj;
39958fail:
39959 return NULL;
22bfe96c
RD
39960}
39961
39962
0085ce49
RD
39963SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39964 PyObject *obj;
39965 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39966 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
39967 return SWIG_Py_Void();
b2dc1044
RD
39968}
39969
0085ce49
RD
39970SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39971 PyObject *resultobj = 0;
39972 wxSimpleHelpProvider *result = 0 ;
39973
39974 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
39975 {
39976 PyThreadState* __tstate = wxPyBeginAllowThreads();
39977 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
39978 wxPyEndAllowThreads(__tstate);
39979 if (PyErr_Occurred()) SWIG_fail;
39980 }
39981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
39982 return resultobj;
39983fail:
39984 return NULL;
39985}
39986
39987
39988SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39989 PyObject *obj;
39990 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39991 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
39992 return SWIG_Py_Void();
39993}
39994
39995SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39996 return SWIG_Python_InitShadowInstance(args);
39997}
39998
39999SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40000 PyObject *resultobj = 0;
40001 wxBitmap *arg1 = 0 ;
40002 wxCursor const &arg2_defvalue = wxNullCursor ;
40003 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40004 wxGenericDragImage *result = 0 ;
40005 void *argp1 = 0 ;
40006 int res1 = 0 ;
40007 void *argp2 = 0 ;
40008 int res2 = 0 ;
40009 PyObject * obj0 = 0 ;
40010 PyObject * obj1 = 0 ;
40011 char * kwnames[] = {
40012 (char *) "image",(char *) "cursor", NULL
40013 };
40014
40015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40016 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40017 if (!SWIG_IsOK(res1)) {
40018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40019 }
40020 if (!argp1) {
40021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40022 }
40023 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40024 if (obj1) {
40025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40026 if (!SWIG_IsOK(res2)) {
40027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40028 }
0085ce49
RD
40029 if (!argp2) {
40030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40031 }
0085ce49
RD
40032 arg2 = reinterpret_cast< wxCursor * >(argp2);
40033 }
40034 {
40035 if (!wxPyCheckForApp()) SWIG_fail;
40036 PyThreadState* __tstate = wxPyBeginAllowThreads();
40037 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40038 wxPyEndAllowThreads(__tstate);
40039 if (PyErr_Occurred()) SWIG_fail;
40040 }
40041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40042 return resultobj;
40043fail:
40044 return NULL;
40045}
40046
40047
40048SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40049 PyObject *resultobj = 0;
40050 wxIcon *arg1 = 0 ;
40051 wxCursor const &arg2_defvalue = wxNullCursor ;
40052 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40053 wxGenericDragImage *result = 0 ;
40054 void *argp1 = 0 ;
40055 int res1 = 0 ;
40056 void *argp2 = 0 ;
40057 int res2 = 0 ;
40058 PyObject * obj0 = 0 ;
40059 PyObject * obj1 = 0 ;
40060 char * kwnames[] = {
40061 (char *) "image",(char *) "cursor", NULL
40062 };
40063
40064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40065 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40066 if (!SWIG_IsOK(res1)) {
40067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40068 }
40069 if (!argp1) {
40070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40071 }
40072 arg1 = reinterpret_cast< wxIcon * >(argp1);
40073 if (obj1) {
40074 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40075 if (!SWIG_IsOK(res2)) {
40076 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40077 }
0085ce49
RD
40078 if (!argp2) {
40079 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d14a1e28 40080 }
0085ce49
RD
40081 arg2 = reinterpret_cast< wxCursor * >(argp2);
40082 }
40083 {
40084 if (!wxPyCheckForApp()) SWIG_fail;
40085 PyThreadState* __tstate = wxPyBeginAllowThreads();
40086 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40087 wxPyEndAllowThreads(__tstate);
40088 if (PyErr_Occurred()) SWIG_fail;
40089 }
40090 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40091 return resultobj;
40092fail:
40093 return NULL;
40094}
40095
40096
40097SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40098 PyObject *resultobj = 0;
40099 wxString *arg1 = 0 ;
40100 wxCursor const &arg2_defvalue = wxNullCursor ;
40101 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40102 wxGenericDragImage *result = 0 ;
40103 bool temp1 = false ;
40104 void *argp2 = 0 ;
40105 int res2 = 0 ;
40106 PyObject * obj0 = 0 ;
40107 PyObject * obj1 = 0 ;
40108 char * kwnames[] = {
40109 (char *) "str",(char *) "cursor", NULL
40110 };
40111
40112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40113 {
40114 arg1 = wxString_in_helper(obj0);
40115 if (arg1 == NULL) SWIG_fail;
40116 temp1 = true;
40117 }
40118 if (obj1) {
40119 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40120 if (!SWIG_IsOK(res2)) {
40121 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40122 }
0085ce49
RD
40123 if (!argp2) {
40124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40125 }
40126 arg2 = reinterpret_cast< wxCursor * >(argp2);
40127 }
40128 {
40129 if (!wxPyCheckForApp()) SWIG_fail;
40130 PyThreadState* __tstate = wxPyBeginAllowThreads();
40131 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40132 wxPyEndAllowThreads(__tstate);
40133 if (PyErr_Occurred()) SWIG_fail;
40134 }
40135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40136 {
40137 if (temp1)
40138 delete arg1;
40139 }
40140 return resultobj;
40141fail:
40142 {
40143 if (temp1)
40144 delete arg1;
40145 }
40146 return NULL;
40147}
40148
40149
40150SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40151 PyObject *resultobj = 0;
40152 wxPyTreeCtrl *arg1 = 0 ;
40153 wxTreeItemId *arg2 = 0 ;
40154 wxGenericDragImage *result = 0 ;
40155 void *argp1 = 0 ;
40156 int res1 = 0 ;
40157 void *argp2 = 0 ;
40158 int res2 = 0 ;
40159 PyObject * obj0 = 0 ;
40160 PyObject * obj1 = 0 ;
40161 char * kwnames[] = {
40162 (char *) "treeCtrl",(char *) "id", NULL
40163 };
40164
40165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40166 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40167 if (!SWIG_IsOK(res1)) {
40168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40169 }
40170 if (!argp1) {
40171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40172 }
40173 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40174 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40175 if (!SWIG_IsOK(res2)) {
40176 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40177 }
40178 if (!argp2) {
40179 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40180 }
40181 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40182 {
40183 if (!wxPyCheckForApp()) SWIG_fail;
40184 PyThreadState* __tstate = wxPyBeginAllowThreads();
40185 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40186 wxPyEndAllowThreads(__tstate);
40187 if (PyErr_Occurred()) SWIG_fail;
40188 }
40189 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40190 return resultobj;
40191fail:
40192 return NULL;
40193}
40194
40195
40196SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40197 PyObject *resultobj = 0;
40198 wxPyListCtrl *arg1 = 0 ;
40199 long arg2 ;
40200 wxGenericDragImage *result = 0 ;
40201 void *argp1 = 0 ;
40202 int res1 = 0 ;
40203 long val2 ;
40204 int ecode2 = 0 ;
40205 PyObject * obj0 = 0 ;
40206 PyObject * obj1 = 0 ;
40207 char * kwnames[] = {
40208 (char *) "listCtrl",(char *) "id", NULL
40209 };
40210
40211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40212 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40213 if (!SWIG_IsOK(res1)) {
40214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40215 }
40216 if (!argp1) {
40217 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40218 }
40219 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40220 ecode2 = SWIG_AsVal_long(obj1, &val2);
40221 if (!SWIG_IsOK(ecode2)) {
40222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40223 }
40224 arg2 = static_cast< long >(val2);
40225 {
40226 if (!wxPyCheckForApp()) SWIG_fail;
40227 PyThreadState* __tstate = wxPyBeginAllowThreads();
40228 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40229 wxPyEndAllowThreads(__tstate);
40230 if (PyErr_Occurred()) SWIG_fail;
40231 }
40232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40233 return resultobj;
40234fail:
40235 return NULL;
7e08d4ef
RD
40236}
40237
40238
0085ce49
RD
40239SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40240 PyObject *resultobj = 0;
40241 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40242 void *argp1 = 0 ;
40243 int res1 = 0 ;
40244 PyObject *swig_obj[1] ;
40245
40246 if (!args) SWIG_fail;
40247 swig_obj[0] = args;
40248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40249 if (!SWIG_IsOK(res1)) {
40250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40251 }
40252 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40253 {
40254 PyThreadState* __tstate = wxPyBeginAllowThreads();
40255 delete arg1;
d14a1e28 40256
0085ce49
RD
40257 wxPyEndAllowThreads(__tstate);
40258 if (PyErr_Occurred()) SWIG_fail;
40259 }
40260 resultobj = SWIG_Py_Void();
40261 return resultobj;
40262fail:
40263 return NULL;
40264}
40265
40266
40267SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40268 PyObject *resultobj = 0;
40269 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40270 wxBitmap *arg2 = (wxBitmap *) 0 ;
40271 void *argp1 = 0 ;
40272 int res1 = 0 ;
40273 void *argp2 = 0 ;
40274 int res2 = 0 ;
40275 PyObject * obj0 = 0 ;
40276 PyObject * obj1 = 0 ;
40277 char * kwnames[] = {
40278 (char *) "self",(char *) "bitmap", NULL
40279 };
40280
40281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40283 if (!SWIG_IsOK(res1)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40285 }
40286 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40288 if (!SWIG_IsOK(res2)) {
40289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40290 }
40291 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40292 {
40293 PyThreadState* __tstate = wxPyBeginAllowThreads();
40294 (arg1)->SetBackingBitmap(arg2);
40295 wxPyEndAllowThreads(__tstate);
40296 if (PyErr_Occurred()) SWIG_fail;
40297 }
40298 resultobj = SWIG_Py_Void();
40299 return resultobj;
40300fail:
40301 return NULL;
40302}
40303
40304
40305SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40306 PyObject *resultobj = 0;
40307 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40308 wxPoint *arg2 = 0 ;
40309 wxWindow *arg3 = (wxWindow *) 0 ;
40310 bool arg4 = (bool) false ;
40311 wxRect *arg5 = (wxRect *) NULL ;
40312 bool result;
40313 void *argp1 = 0 ;
40314 int res1 = 0 ;
40315 wxPoint temp2 ;
40316 void *argp3 = 0 ;
40317 int res3 = 0 ;
40318 bool val4 ;
40319 int ecode4 = 0 ;
40320 void *argp5 = 0 ;
40321 int res5 = 0 ;
40322 PyObject * obj0 = 0 ;
40323 PyObject * obj1 = 0 ;
40324 PyObject * obj2 = 0 ;
40325 PyObject * obj3 = 0 ;
40326 PyObject * obj4 = 0 ;
40327 char * kwnames[] = {
40328 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40329 };
40330
40331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40333 if (!SWIG_IsOK(res1)) {
40334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40335 }
40336 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40337 {
40338 arg2 = &temp2;
40339 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40340 }
40341 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40342 if (!SWIG_IsOK(res3)) {
40343 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40344 }
40345 arg3 = reinterpret_cast< wxWindow * >(argp3);
40346 if (obj3) {
40347 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40348 if (!SWIG_IsOK(ecode4)) {
40349 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40350 }
40351 arg4 = static_cast< bool >(val4);
40352 }
40353 if (obj4) {
40354 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
40355 if (!SWIG_IsOK(res5)) {
40356 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d14a1e28 40357 }
0085ce49
RD
40358 arg5 = reinterpret_cast< wxRect * >(argp5);
40359 }
40360 {
40361 PyThreadState* __tstate = wxPyBeginAllowThreads();
40362 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
40363 wxPyEndAllowThreads(__tstate);
40364 if (PyErr_Occurred()) SWIG_fail;
40365 }
40366 {
40367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40368 }
40369 return resultobj;
40370fail:
40371 return NULL;
40372}
40373
40374
40375SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40376 PyObject *resultobj = 0;
40377 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40378 wxPoint *arg2 = 0 ;
40379 wxWindow *arg3 = (wxWindow *) 0 ;
40380 wxWindow *arg4 = (wxWindow *) 0 ;
40381 bool result;
40382 void *argp1 = 0 ;
40383 int res1 = 0 ;
40384 wxPoint temp2 ;
40385 void *argp3 = 0 ;
40386 int res3 = 0 ;
40387 void *argp4 = 0 ;
40388 int res4 = 0 ;
40389 PyObject * obj0 = 0 ;
40390 PyObject * obj1 = 0 ;
40391 PyObject * obj2 = 0 ;
40392 PyObject * obj3 = 0 ;
40393 char * kwnames[] = {
40394 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40395 };
40396
40397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40399 if (!SWIG_IsOK(res1)) {
40400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40401 }
40402 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40403 {
40404 arg2 = &temp2;
40405 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40406 }
40407 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40408 if (!SWIG_IsOK(res3)) {
40409 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40410 }
40411 arg3 = reinterpret_cast< wxWindow * >(argp3);
40412 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
40413 if (!SWIG_IsOK(res4)) {
40414 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40415 }
40416 arg4 = reinterpret_cast< wxWindow * >(argp4);
40417 {
40418 PyThreadState* __tstate = wxPyBeginAllowThreads();
40419 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
40420 wxPyEndAllowThreads(__tstate);
40421 if (PyErr_Occurred()) SWIG_fail;
40422 }
40423 {
40424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40425 }
40426 return resultobj;
40427fail:
40428 return NULL;
d14a1e28
RD
40429}
40430
40431
0085ce49
RD
40432SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40433 PyObject *resultobj = 0;
40434 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40435 bool result;
40436 void *argp1 = 0 ;
40437 int res1 = 0 ;
40438 PyObject *swig_obj[1] ;
40439
40440 if (!args) SWIG_fail;
40441 swig_obj[0] = args;
40442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40443 if (!SWIG_IsOK(res1)) {
40444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40445 }
40446 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40447 {
40448 PyThreadState* __tstate = wxPyBeginAllowThreads();
40449 result = (bool)(arg1)->EndDrag();
40450 wxPyEndAllowThreads(__tstate);
40451 if (PyErr_Occurred()) SWIG_fail;
40452 }
40453 {
40454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40455 }
40456 return resultobj;
40457fail:
40458 return NULL;
40459}
40460
40461
40462SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40463 PyObject *resultobj = 0;
40464 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40465 wxPoint *arg2 = 0 ;
40466 bool result;
40467 void *argp1 = 0 ;
40468 int res1 = 0 ;
40469 wxPoint temp2 ;
40470 PyObject * obj0 = 0 ;
40471 PyObject * obj1 = 0 ;
40472 char * kwnames[] = {
40473 (char *) "self",(char *) "pt", NULL
40474 };
40475
40476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
40477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40478 if (!SWIG_IsOK(res1)) {
40479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40480 }
40481 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40482 {
40483 arg2 = &temp2;
40484 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40485 }
40486 {
40487 PyThreadState* __tstate = wxPyBeginAllowThreads();
40488 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
40489 wxPyEndAllowThreads(__tstate);
40490 if (PyErr_Occurred()) SWIG_fail;
40491 }
40492 {
40493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40494 }
40495 return resultobj;
40496fail:
40497 return NULL;
d14a1e28
RD
40498}
40499
40500
0085ce49
RD
40501SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40502 PyObject *resultobj = 0;
40503 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40504 bool result;
40505 void *argp1 = 0 ;
40506 int res1 = 0 ;
40507 PyObject *swig_obj[1] ;
40508
40509 if (!args) SWIG_fail;
40510 swig_obj[0] = args;
40511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40512 if (!SWIG_IsOK(res1)) {
40513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40514 }
40515 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40516 {
40517 PyThreadState* __tstate = wxPyBeginAllowThreads();
40518 result = (bool)(arg1)->Show();
40519 wxPyEndAllowThreads(__tstate);
40520 if (PyErr_Occurred()) SWIG_fail;
40521 }
40522 {
40523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40524 }
40525 return resultobj;
40526fail:
40527 return NULL;
d14a1e28
RD
40528}
40529
40530
0085ce49
RD
40531SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40532 PyObject *resultobj = 0;
40533 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40534 bool result;
40535 void *argp1 = 0 ;
40536 int res1 = 0 ;
40537 PyObject *swig_obj[1] ;
40538
40539 if (!args) SWIG_fail;
40540 swig_obj[0] = args;
40541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40542 if (!SWIG_IsOK(res1)) {
40543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40544 }
40545 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40546 {
40547 PyThreadState* __tstate = wxPyBeginAllowThreads();
40548 result = (bool)(arg1)->Hide();
40549 wxPyEndAllowThreads(__tstate);
40550 if (PyErr_Occurred()) SWIG_fail;
40551 }
40552 {
40553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40554 }
40555 return resultobj;
40556fail:
40557 return NULL;
40558}
40559
40560
40561SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40562 PyObject *resultobj = 0;
40563 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40564 wxPoint *arg2 = 0 ;
40565 wxRect result;
40566 void *argp1 = 0 ;
40567 int res1 = 0 ;
40568 wxPoint temp2 ;
40569 PyObject * obj0 = 0 ;
40570 PyObject * obj1 = 0 ;
40571 char * kwnames[] = {
40572 (char *) "self",(char *) "pos", NULL
40573 };
40574
40575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
40576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40577 if (!SWIG_IsOK(res1)) {
40578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40579 }
40580 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40581 {
40582 arg2 = &temp2;
40583 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40584 }
40585 {
40586 PyThreadState* __tstate = wxPyBeginAllowThreads();
40587 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
40588 wxPyEndAllowThreads(__tstate);
40589 if (PyErr_Occurred()) SWIG_fail;
40590 }
40591 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
40592 return resultobj;
40593fail:
40594 return NULL;
40595}
40596
40597
40598SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40599 PyObject *resultobj = 0;
40600 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40601 wxDC *arg2 = 0 ;
40602 wxPoint *arg3 = 0 ;
40603 bool result;
40604 void *argp1 = 0 ;
40605 int res1 = 0 ;
40606 void *argp2 = 0 ;
40607 int res2 = 0 ;
40608 wxPoint temp3 ;
40609 PyObject * obj0 = 0 ;
40610 PyObject * obj1 = 0 ;
40611 PyObject * obj2 = 0 ;
40612 char * kwnames[] = {
40613 (char *) "self",(char *) "dc",(char *) "pos", NULL
40614 };
40615
40616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40618 if (!SWIG_IsOK(res1)) {
40619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40620 }
40621 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40622 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40623 if (!SWIG_IsOK(res2)) {
40624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40625 }
40626 if (!argp2) {
40627 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40628 }
40629 arg2 = reinterpret_cast< wxDC * >(argp2);
40630 {
40631 arg3 = &temp3;
40632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40633 }
40634 {
40635 PyThreadState* __tstate = wxPyBeginAllowThreads();
40636 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
40637 wxPyEndAllowThreads(__tstate);
40638 if (PyErr_Occurred()) SWIG_fail;
40639 }
40640 {
40641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40642 }
40643 return resultobj;
40644fail:
40645 return NULL;
40646}
40647
40648
40649SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40650 PyObject *resultobj = 0;
40651 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40652 wxDC *arg2 = 0 ;
40653 wxMemoryDC *arg3 = 0 ;
40654 wxRect *arg4 = 0 ;
40655 wxRect *arg5 = 0 ;
40656 bool result;
40657 void *argp1 = 0 ;
40658 int res1 = 0 ;
40659 void *argp2 = 0 ;
40660 int res2 = 0 ;
40661 void *argp3 = 0 ;
40662 int res3 = 0 ;
40663 wxRect temp4 ;
40664 wxRect temp5 ;
40665 PyObject * obj0 = 0 ;
40666 PyObject * obj1 = 0 ;
40667 PyObject * obj2 = 0 ;
40668 PyObject * obj3 = 0 ;
40669 PyObject * obj4 = 0 ;
40670 char * kwnames[] = {
40671 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40672 };
40673
40674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40676 if (!SWIG_IsOK(res1)) {
40677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40678 }
40679 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40680 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
40681 if (!SWIG_IsOK(res2)) {
40682 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40683 }
40684 if (!argp2) {
40685 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40686 }
40687 arg2 = reinterpret_cast< wxDC * >(argp2);
40688 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
40689 if (!SWIG_IsOK(res3)) {
40690 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40691 }
40692 if (!argp3) {
40693 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40694 }
40695 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
40696 {
40697 arg4 = &temp4;
40698 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
40699 }
40700 {
40701 arg5 = &temp5;
40702 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
40703 }
40704 {
40705 PyThreadState* __tstate = wxPyBeginAllowThreads();
40706 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
40707 wxPyEndAllowThreads(__tstate);
40708 if (PyErr_Occurred()) SWIG_fail;
40709 }
40710 {
40711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40712 }
40713 return resultobj;
40714fail:
40715 return NULL;
40716}
40717
40718
40719SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40720 PyObject *resultobj = 0;
40721 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40722 wxPoint *arg2 = 0 ;
40723 wxPoint *arg3 = 0 ;
40724 bool arg4 ;
40725 bool arg5 ;
40726 bool result;
40727 void *argp1 = 0 ;
40728 int res1 = 0 ;
40729 wxPoint temp2 ;
40730 wxPoint temp3 ;
40731 bool val4 ;
40732 int ecode4 = 0 ;
40733 bool val5 ;
40734 int ecode5 = 0 ;
40735 PyObject * obj0 = 0 ;
40736 PyObject * obj1 = 0 ;
40737 PyObject * obj2 = 0 ;
40738 PyObject * obj3 = 0 ;
40739 PyObject * obj4 = 0 ;
40740 char * kwnames[] = {
40741 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40742 };
40743
40744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40746 if (!SWIG_IsOK(res1)) {
40747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40748 }
40749 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40750 {
40751 arg2 = &temp2;
40752 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40753 }
40754 {
40755 arg3 = &temp3;
40756 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40757 }
40758 ecode4 = SWIG_AsVal_bool(obj3, &val4);
40759 if (!SWIG_IsOK(ecode4)) {
40760 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40761 }
40762 arg4 = static_cast< bool >(val4);
40763 ecode5 = SWIG_AsVal_bool(obj4, &val5);
40764 if (!SWIG_IsOK(ecode5)) {
40765 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40766 }
40767 arg5 = static_cast< bool >(val5);
40768 {
40769 PyThreadState* __tstate = wxPyBeginAllowThreads();
40770 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
40771 wxPyEndAllowThreads(__tstate);
40772 if (PyErr_Occurred()) SWIG_fail;
40773 }
40774 {
40775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40776 }
40777 return resultobj;
40778fail:
40779 return NULL;
d14a1e28
RD
40780}
40781
40782
0085ce49
RD
40783SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40784 PyObject *obj;
40785 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40786 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
40787 return SWIG_Py_Void();
d14a1e28
RD
40788}
40789
0085ce49
RD
40790SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40791 return SWIG_Python_InitShadowInstance(args);
40792}
d14a1e28 40793
0085ce49
RD
40794SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
40795 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
40796 return 1;
d14a1e28
RD
40797}
40798
40799
0085ce49
RD
40800SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
40801 PyObject *pyobj = 0;
40802
40803 {
40804#if wxUSE_UNICODE
40805 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
40806#else
40807 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
40808#endif
40809 }
40810 return pyobj;
40811}
40812
40813
40814SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40815 PyObject *resultobj = 0;
40816 wxWindow *arg1 = (wxWindow *) 0 ;
40817 int arg2 = (int) -1 ;
40818 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
40819 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
40820 wxPoint const &arg4_defvalue = wxDefaultPosition ;
40821 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
40822 wxSize const &arg5_defvalue = wxDefaultSize ;
40823 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
40824 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
40825 wxValidator const &arg7_defvalue = wxDefaultValidator ;
40826 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
40827 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
40828 wxString *arg8 = (wxString *) &arg8_defvalue ;
40829 wxDatePickerCtrl *result = 0 ;
40830 void *argp1 = 0 ;
40831 int res1 = 0 ;
40832 int val2 ;
40833 int ecode2 = 0 ;
40834 void *argp3 = 0 ;
40835 int res3 = 0 ;
40836 wxPoint temp4 ;
40837 wxSize temp5 ;
40838 long val6 ;
40839 int ecode6 = 0 ;
40840 void *argp7 = 0 ;
40841 int res7 = 0 ;
40842 bool temp8 = false ;
40843 PyObject * obj0 = 0 ;
40844 PyObject * obj1 = 0 ;
40845 PyObject * obj2 = 0 ;
40846 PyObject * obj3 = 0 ;
40847 PyObject * obj4 = 0 ;
40848 PyObject * obj5 = 0 ;
40849 PyObject * obj6 = 0 ;
40850 PyObject * obj7 = 0 ;
40851 char * kwnames[] = {
40852 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40853 };
40854
40855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
40856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40857 if (!SWIG_IsOK(res1)) {
40858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40859 }
40860 arg1 = reinterpret_cast< wxWindow * >(argp1);
40861 if (obj1) {
40862 ecode2 = SWIG_AsVal_int(obj1, &val2);
40863 if (!SWIG_IsOK(ecode2)) {
40864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40865 }
40866 arg2 = static_cast< int >(val2);
40867 }
40868 if (obj2) {
40869 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
40870 if (!SWIG_IsOK(res3)) {
40871 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d14a1e28 40872 }
0085ce49
RD
40873 if (!argp3) {
40874 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d14a1e28 40875 }
0085ce49
RD
40876 arg3 = reinterpret_cast< wxDateTime * >(argp3);
40877 }
40878 if (obj3) {
d14a1e28 40879 {
0085ce49
RD
40880 arg4 = &temp4;
40881 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 40882 }
0085ce49
RD
40883 }
40884 if (obj4) {
d14a1e28 40885 {
0085ce49
RD
40886 arg5 = &temp5;
40887 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 40888 }
0085ce49
RD
40889 }
40890 if (obj5) {
40891 ecode6 = SWIG_AsVal_long(obj5, &val6);
40892 if (!SWIG_IsOK(ecode6)) {
40893 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40894 }
40895 arg6 = static_cast< long >(val6);
40896 }
40897 if (obj6) {
40898 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
40899 if (!SWIG_IsOK(res7)) {
40900 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40901 }
40902 if (!argp7) {
40903 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d14a1e28 40904 }
0085ce49
RD
40905 arg7 = reinterpret_cast< wxValidator * >(argp7);
40906 }
40907 if (obj7) {
d14a1e28 40908 {
0085ce49
RD
40909 arg8 = wxString_in_helper(obj7);
40910 if (arg8 == NULL) SWIG_fail;
40911 temp8 = true;
d14a1e28 40912 }
0085ce49
RD
40913 }
40914 {
40915 if (!wxPyCheckForApp()) SWIG_fail;
40916 PyThreadState* __tstate = wxPyBeginAllowThreads();
40917 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
40918 wxPyEndAllowThreads(__tstate);
40919 if (PyErr_Occurred()) SWIG_fail;
40920 }
40921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
40922 {
40923 if (temp8)
40924 delete arg8;
40925 }
40926 return resultobj;
40927fail:
40928 {
40929 if (temp8)
40930 delete arg8;
40931 }
40932 return NULL;
d14a1e28
RD
40933}
40934
40935
0085ce49
RD
40936SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40937 PyObject *resultobj = 0;
40938 wxDatePickerCtrl *result = 0 ;
40939
40940 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
40941 {
40942 if (!wxPyCheckForApp()) SWIG_fail;
40943 PyThreadState* __tstate = wxPyBeginAllowThreads();
40944 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
40945 wxPyEndAllowThreads(__tstate);
40946 if (PyErr_Occurred()) SWIG_fail;
40947 }
40948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
40949 return resultobj;
40950fail:
40951 return NULL;
40952}
40953
40954
40955SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40956 PyObject *resultobj = 0;
40957 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
40958 wxWindow *arg2 = (wxWindow *) 0 ;
40959 int arg3 = (int) -1 ;
40960 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
40961 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
40962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
40963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
40964 wxSize const &arg6_defvalue = wxDefaultSize ;
40965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
40966 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
40967 wxValidator const &arg8_defvalue = wxDefaultValidator ;
40968 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
40969 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
40970 wxString *arg9 = (wxString *) &arg9_defvalue ;
40971 bool result;
40972 void *argp1 = 0 ;
40973 int res1 = 0 ;
40974 void *argp2 = 0 ;
40975 int res2 = 0 ;
40976 int val3 ;
40977 int ecode3 = 0 ;
40978 void *argp4 = 0 ;
40979 int res4 = 0 ;
40980 wxPoint temp5 ;
40981 wxSize temp6 ;
40982 long val7 ;
40983 int ecode7 = 0 ;
40984 void *argp8 = 0 ;
40985 int res8 = 0 ;
40986 bool temp9 = false ;
40987 PyObject * obj0 = 0 ;
40988 PyObject * obj1 = 0 ;
40989 PyObject * obj2 = 0 ;
40990 PyObject * obj3 = 0 ;
40991 PyObject * obj4 = 0 ;
40992 PyObject * obj5 = 0 ;
40993 PyObject * obj6 = 0 ;
40994 PyObject * obj7 = 0 ;
40995 PyObject * obj8 = 0 ;
40996 char * kwnames[] = {
40997 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40998 };
40999
41000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41002 if (!SWIG_IsOK(res1)) {
41003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41004 }
41005 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41006 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41007 if (!SWIG_IsOK(res2)) {
41008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41009 }
41010 arg2 = reinterpret_cast< wxWindow * >(argp2);
41011 if (obj2) {
41012 ecode3 = SWIG_AsVal_int(obj2, &val3);
41013 if (!SWIG_IsOK(ecode3)) {
41014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41015 }
41016 arg3 = static_cast< int >(val3);
41017 }
41018 if (obj3) {
41019 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41020 if (!SWIG_IsOK(res4)) {
41021 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
7e08d4ef 41022 }
0085ce49
RD
41023 if (!argp4) {
41024 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
7e08d4ef 41025 }
0085ce49
RD
41026 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41027 }
41028 if (obj4) {
d14a1e28 41029 {
0085ce49
RD
41030 arg5 = &temp5;
41031 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 41032 }
0085ce49
RD
41033 }
41034 if (obj5) {
d14a1e28 41035 {
0085ce49
RD
41036 arg6 = &temp6;
41037 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41038 }
41039 }
41040 if (obj6) {
41041 ecode7 = SWIG_AsVal_long(obj6, &val7);
41042 if (!SWIG_IsOK(ecode7)) {
41043 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41044 }
41045 arg7 = static_cast< long >(val7);
41046 }
41047 if (obj7) {
41048 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41049 if (!SWIG_IsOK(res8)) {
41050 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41051 }
41052 if (!argp8) {
41053 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d14a1e28 41054 }
0085ce49
RD
41055 arg8 = reinterpret_cast< wxValidator * >(argp8);
41056 }
41057 if (obj8) {
d14a1e28 41058 {
0085ce49
RD
41059 arg9 = wxString_in_helper(obj8);
41060 if (arg9 == NULL) SWIG_fail;
41061 temp9 = true;
d14a1e28 41062 }
0085ce49
RD
41063 }
41064 {
41065 PyThreadState* __tstate = wxPyBeginAllowThreads();
41066 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41067 wxPyEndAllowThreads(__tstate);
41068 if (PyErr_Occurred()) SWIG_fail;
41069 }
41070 {
41071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41072 }
41073 {
41074 if (temp9)
41075 delete arg9;
41076 }
41077 return resultobj;
41078fail:
41079 {
41080 if (temp9)
41081 delete arg9;
41082 }
41083 return NULL;
41084}
41085
41086
41087SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41088 PyObject *resultobj = 0;
41089 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41090 wxDateTime *arg2 = 0 ;
41091 void *argp1 = 0 ;
41092 int res1 = 0 ;
41093 void *argp2 = 0 ;
41094 int res2 = 0 ;
41095 PyObject * obj0 = 0 ;
41096 PyObject * obj1 = 0 ;
41097 char * kwnames[] = {
41098 (char *) "self",(char *) "dt", NULL
41099 };
41100
41101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41103 if (!SWIG_IsOK(res1)) {
41104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41105 }
41106 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41107 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41108 if (!SWIG_IsOK(res2)) {
41109 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41110 }
41111 if (!argp2) {
41112 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41113 }
41114 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41115 {
41116 PyThreadState* __tstate = wxPyBeginAllowThreads();
41117 (arg1)->SetValue((wxDateTime const &)*arg2);
41118 wxPyEndAllowThreads(__tstate);
41119 if (PyErr_Occurred()) SWIG_fail;
41120 }
41121 resultobj = SWIG_Py_Void();
41122 return resultobj;
41123fail:
41124 return NULL;
d14a1e28
RD
41125}
41126
41127
0085ce49
RD
41128SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41129 PyObject *resultobj = 0;
41130 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41131 wxDateTime result;
41132 void *argp1 = 0 ;
41133 int res1 = 0 ;
41134 PyObject *swig_obj[1] ;
41135
41136 if (!args) SWIG_fail;
41137 swig_obj[0] = args;
41138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41139 if (!SWIG_IsOK(res1)) {
41140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41141 }
41142 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41143 {
41144 PyThreadState* __tstate = wxPyBeginAllowThreads();
41145 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41146 wxPyEndAllowThreads(__tstate);
41147 if (PyErr_Occurred()) SWIG_fail;
41148 }
41149 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41150 return resultobj;
41151fail:
41152 return NULL;
41153}
41154
41155
41156SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41157 PyObject *resultobj = 0;
41158 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41159 wxDateTime *arg2 = 0 ;
41160 wxDateTime *arg3 = 0 ;
41161 void *argp1 = 0 ;
41162 int res1 = 0 ;
41163 void *argp2 = 0 ;
41164 int res2 = 0 ;
41165 void *argp3 = 0 ;
41166 int res3 = 0 ;
41167 PyObject * obj0 = 0 ;
41168 PyObject * obj1 = 0 ;
41169 PyObject * obj2 = 0 ;
41170 char * kwnames[] = {
41171 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41172 };
41173
41174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41176 if (!SWIG_IsOK(res1)) {
41177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41178 }
41179 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41180 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41181 if (!SWIG_IsOK(res2)) {
41182 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41183 }
41184 if (!argp2) {
41185 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41186 }
41187 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41188 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41189 if (!SWIG_IsOK(res3)) {
41190 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41191 }
41192 if (!argp3) {
41193 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41194 }
41195 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41196 {
41197 PyThreadState* __tstate = wxPyBeginAllowThreads();
41198 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41199 wxPyEndAllowThreads(__tstate);
41200 if (PyErr_Occurred()) SWIG_fail;
41201 }
41202 resultobj = SWIG_Py_Void();
41203 return resultobj;
41204fail:
41205 return NULL;
d14a1e28
RD
41206}
41207
41208
0085ce49
RD
41209SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41210 PyObject *resultobj = 0;
41211 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41212 wxDateTime result;
41213 void *argp1 = 0 ;
41214 int res1 = 0 ;
41215 PyObject *swig_obj[1] ;
41216
41217 if (!args) SWIG_fail;
41218 swig_obj[0] = args;
41219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41220 if (!SWIG_IsOK(res1)) {
41221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41222 }
41223 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41224 {
41225 PyThreadState* __tstate = wxPyBeginAllowThreads();
41226 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41227 wxPyEndAllowThreads(__tstate);
41228 if (PyErr_Occurred()) SWIG_fail;
41229 }
41230 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41231 return resultobj;
41232fail:
41233 return NULL;
d14a1e28
RD
41234}
41235
41236
0085ce49
RD
41237SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41238 PyObject *resultobj = 0;
41239 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41240 wxDateTime result;
41241 void *argp1 = 0 ;
41242 int res1 = 0 ;
41243 PyObject *swig_obj[1] ;
41244
41245 if (!args) SWIG_fail;
41246 swig_obj[0] = args;
41247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41248 if (!SWIG_IsOK(res1)) {
41249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41250 }
41251 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41252 {
41253 PyThreadState* __tstate = wxPyBeginAllowThreads();
41254 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41255 wxPyEndAllowThreads(__tstate);
41256 if (PyErr_Occurred()) SWIG_fail;
41257 }
41258 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41259 return resultobj;
41260fail:
41261 return NULL;
d14a1e28
RD
41262}
41263
41264
0085ce49
RD
41265SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41266 PyObject *obj;
41267 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41268 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41269 return SWIG_Py_Void();
d14a1e28
RD
41270}
41271
0085ce49
RD
41272SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41273 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
41274}
41275
704eda0c
RD
41276SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41277 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41278 return 1;
41279}
41280
41281
41282SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41283 PyObject *pyobj = 0;
41284
41285 {
41286#if wxUSE_UNICODE
41287 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41288#else
41289 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41290#endif
41291 }
41292 return pyobj;
41293}
41294
41295
41296SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41297 PyObject *resultobj = 0;
41298 wxWindow *arg1 = (wxWindow *) 0 ;
41299 int arg2 ;
41300 wxString *arg3 = 0 ;
41301 wxString *arg4 = 0 ;
41302 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41303 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41304 wxSize const &arg6_defvalue = wxDefaultSize ;
41305 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41306 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41307 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41308 wxString *arg8 = (wxString *) &arg8_defvalue ;
41309 wxHyperlinkCtrl *result = 0 ;
41310 void *argp1 = 0 ;
41311 int res1 = 0 ;
41312 int val2 ;
41313 int ecode2 = 0 ;
41314 bool temp3 = false ;
41315 bool temp4 = false ;
41316 wxPoint temp5 ;
41317 wxSize temp6 ;
41318 long val7 ;
41319 int ecode7 = 0 ;
41320 bool temp8 = false ;
41321 PyObject * obj0 = 0 ;
41322 PyObject * obj1 = 0 ;
41323 PyObject * obj2 = 0 ;
41324 PyObject * obj3 = 0 ;
41325 PyObject * obj4 = 0 ;
41326 PyObject * obj5 = 0 ;
41327 PyObject * obj6 = 0 ;
41328 PyObject * obj7 = 0 ;
41329 char * kwnames[] = {
41330 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41331 };
41332
41333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41335 if (!SWIG_IsOK(res1)) {
41336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41337 }
41338 arg1 = reinterpret_cast< wxWindow * >(argp1);
41339 ecode2 = SWIG_AsVal_int(obj1, &val2);
41340 if (!SWIG_IsOK(ecode2)) {
41341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41342 }
41343 arg2 = static_cast< int >(val2);
41344 {
41345 arg3 = wxString_in_helper(obj2);
41346 if (arg3 == NULL) SWIG_fail;
41347 temp3 = true;
41348 }
41349 {
41350 arg4 = wxString_in_helper(obj3);
41351 if (arg4 == NULL) SWIG_fail;
41352 temp4 = true;
41353 }
41354 if (obj4) {
41355 {
41356 arg5 = &temp5;
41357 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
41358 }
41359 }
41360 if (obj5) {
41361 {
41362 arg6 = &temp6;
41363 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
41364 }
41365 }
41366 if (obj6) {
41367 ecode7 = SWIG_AsVal_long(obj6, &val7);
41368 if (!SWIG_IsOK(ecode7)) {
41369 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41370 }
41371 arg7 = static_cast< long >(val7);
41372 }
41373 if (obj7) {
41374 {
41375 arg8 = wxString_in_helper(obj7);
41376 if (arg8 == NULL) SWIG_fail;
41377 temp8 = true;
41378 }
41379 }
41380 {
41381 if (!wxPyCheckForApp()) SWIG_fail;
41382 PyThreadState* __tstate = wxPyBeginAllowThreads();
41383 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
41384 wxPyEndAllowThreads(__tstate);
41385 if (PyErr_Occurred()) SWIG_fail;
41386 }
41387 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
41388 {
41389 if (temp3)
41390 delete arg3;
41391 }
41392 {
41393 if (temp4)
41394 delete arg4;
41395 }
41396 {
41397 if (temp8)
41398 delete arg8;
41399 }
41400 return resultobj;
41401fail:
41402 {
41403 if (temp3)
41404 delete arg3;
41405 }
41406 {
41407 if (temp4)
41408 delete arg4;
41409 }
41410 {
41411 if (temp8)
41412 delete arg8;
41413 }
41414 return NULL;
41415}
41416
41417
41418SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41419 PyObject *resultobj = 0;
41420 wxHyperlinkCtrl *result = 0 ;
41421
41422 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
41423 {
41424 if (!wxPyCheckForApp()) SWIG_fail;
41425 PyThreadState* __tstate = wxPyBeginAllowThreads();
41426 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
41427 wxPyEndAllowThreads(__tstate);
41428 if (PyErr_Occurred()) SWIG_fail;
41429 }
41430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
41431 return resultobj;
41432fail:
41433 return NULL;
41434}
41435
41436
41437SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41438 PyObject *resultobj = 0;
41439 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41440 wxWindow *arg2 = (wxWindow *) 0 ;
41441 int arg3 ;
41442 wxString *arg4 = 0 ;
41443 wxString *arg5 = 0 ;
41444 wxPoint const &arg6_defvalue = wxDefaultPosition ;
41445 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
41446 wxSize const &arg7_defvalue = wxDefaultSize ;
41447 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
41448 long arg8 = (long) wxHL_DEFAULT_STYLE ;
41449 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
41450 wxString *arg9 = (wxString *) &arg9_defvalue ;
41451 bool result;
41452 void *argp1 = 0 ;
41453 int res1 = 0 ;
41454 void *argp2 = 0 ;
41455 int res2 = 0 ;
41456 int val3 ;
41457 int ecode3 = 0 ;
41458 bool temp4 = false ;
41459 bool temp5 = false ;
41460 wxPoint temp6 ;
41461 wxSize temp7 ;
41462 long val8 ;
41463 int ecode8 = 0 ;
41464 bool temp9 = false ;
41465 PyObject * obj0 = 0 ;
41466 PyObject * obj1 = 0 ;
41467 PyObject * obj2 = 0 ;
41468 PyObject * obj3 = 0 ;
41469 PyObject * obj4 = 0 ;
41470 PyObject * obj5 = 0 ;
41471 PyObject * obj6 = 0 ;
41472 PyObject * obj7 = 0 ;
41473 PyObject * obj8 = 0 ;
41474 char * kwnames[] = {
41475 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41476 };
41477
41478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41480 if (!SWIG_IsOK(res1)) {
41481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41482 }
41483 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41485 if (!SWIG_IsOK(res2)) {
41486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41487 }
41488 arg2 = reinterpret_cast< wxWindow * >(argp2);
41489 ecode3 = SWIG_AsVal_int(obj2, &val3);
41490 if (!SWIG_IsOK(ecode3)) {
41491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41492 }
41493 arg3 = static_cast< int >(val3);
41494 {
41495 arg4 = wxString_in_helper(obj3);
41496 if (arg4 == NULL) SWIG_fail;
41497 temp4 = true;
41498 }
41499 {
41500 arg5 = wxString_in_helper(obj4);
41501 if (arg5 == NULL) SWIG_fail;
41502 temp5 = true;
41503 }
41504 if (obj5) {
41505 {
41506 arg6 = &temp6;
41507 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
41508 }
41509 }
41510 if (obj6) {
41511 {
41512 arg7 = &temp7;
41513 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
41514 }
41515 }
41516 if (obj7) {
41517 ecode8 = SWIG_AsVal_long(obj7, &val8);
41518 if (!SWIG_IsOK(ecode8)) {
41519 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
41520 }
41521 arg8 = static_cast< long >(val8);
41522 }
41523 if (obj8) {
41524 {
41525 arg9 = wxString_in_helper(obj8);
41526 if (arg9 == NULL) SWIG_fail;
41527 temp9 = true;
41528 }
41529 }
41530 {
41531 PyThreadState* __tstate = wxPyBeginAllowThreads();
41532 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
41533 wxPyEndAllowThreads(__tstate);
41534 if (PyErr_Occurred()) SWIG_fail;
41535 }
41536 {
41537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41538 }
41539 {
41540 if (temp4)
41541 delete arg4;
41542 }
41543 {
41544 if (temp5)
41545 delete arg5;
41546 }
41547 {
41548 if (temp9)
41549 delete arg9;
41550 }
41551 return resultobj;
41552fail:
41553 {
41554 if (temp4)
41555 delete arg4;
41556 }
41557 {
41558 if (temp5)
41559 delete arg5;
41560 }
41561 {
41562 if (temp9)
41563 delete arg9;
41564 }
41565 return NULL;
41566}
41567
41568
41569SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41570 PyObject *resultobj = 0;
41571 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41572 wxColour result;
41573 void *argp1 = 0 ;
41574 int res1 = 0 ;
41575 PyObject *swig_obj[1] ;
41576
41577 if (!args) SWIG_fail;
41578 swig_obj[0] = args;
41579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41580 if (!SWIG_IsOK(res1)) {
41581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41582 }
41583 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41584 {
41585 PyThreadState* __tstate = wxPyBeginAllowThreads();
41586 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
41587 wxPyEndAllowThreads(__tstate);
41588 if (PyErr_Occurred()) SWIG_fail;
41589 }
41590 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41591 return resultobj;
41592fail:
41593 return NULL;
41594}
41595
41596
41597SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41598 PyObject *resultobj = 0;
41599 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41600 wxColour *arg2 = 0 ;
41601 void *argp1 = 0 ;
41602 int res1 = 0 ;
41603 wxColour temp2 ;
41604 PyObject * obj0 = 0 ;
41605 PyObject * obj1 = 0 ;
41606 char * kwnames[] = {
41607 (char *) "self",(char *) "colour", NULL
41608 };
41609
41610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
41611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41612 if (!SWIG_IsOK(res1)) {
41613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41614 }
41615 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41616 {
41617 arg2 = &temp2;
41618 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41619 }
41620 {
41621 PyThreadState* __tstate = wxPyBeginAllowThreads();
41622 (arg1)->SetHoverColour((wxColour const &)*arg2);
41623 wxPyEndAllowThreads(__tstate);
41624 if (PyErr_Occurred()) SWIG_fail;
41625 }
41626 resultobj = SWIG_Py_Void();
41627 return resultobj;
41628fail:
41629 return NULL;
41630}
41631
41632
41633SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41634 PyObject *resultobj = 0;
41635 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41636 wxColour result;
41637 void *argp1 = 0 ;
41638 int res1 = 0 ;
41639 PyObject *swig_obj[1] ;
41640
41641 if (!args) SWIG_fail;
41642 swig_obj[0] = args;
41643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41644 if (!SWIG_IsOK(res1)) {
41645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41646 }
41647 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41648 {
41649 PyThreadState* __tstate = wxPyBeginAllowThreads();
41650 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
41651 wxPyEndAllowThreads(__tstate);
41652 if (PyErr_Occurred()) SWIG_fail;
41653 }
41654 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41655 return resultobj;
41656fail:
41657 return NULL;
41658}
41659
41660
41661SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41662 PyObject *resultobj = 0;
41663 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41664 wxColour *arg2 = 0 ;
41665 void *argp1 = 0 ;
41666 int res1 = 0 ;
41667 wxColour temp2 ;
41668 PyObject * obj0 = 0 ;
41669 PyObject * obj1 = 0 ;
41670 char * kwnames[] = {
41671 (char *) "self",(char *) "colour", NULL
41672 };
41673
41674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
41675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41676 if (!SWIG_IsOK(res1)) {
41677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41678 }
41679 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41680 {
41681 arg2 = &temp2;
41682 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41683 }
41684 {
41685 PyThreadState* __tstate = wxPyBeginAllowThreads();
41686 (arg1)->SetNormalColour((wxColour const &)*arg2);
41687 wxPyEndAllowThreads(__tstate);
41688 if (PyErr_Occurred()) SWIG_fail;
41689 }
41690 resultobj = SWIG_Py_Void();
41691 return resultobj;
41692fail:
41693 return NULL;
41694}
41695
41696
41697SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41698 PyObject *resultobj = 0;
41699 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41700 wxColour result;
41701 void *argp1 = 0 ;
41702 int res1 = 0 ;
41703 PyObject *swig_obj[1] ;
41704
41705 if (!args) SWIG_fail;
41706 swig_obj[0] = args;
41707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41708 if (!SWIG_IsOK(res1)) {
41709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41710 }
41711 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41712 {
41713 PyThreadState* __tstate = wxPyBeginAllowThreads();
41714 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
41715 wxPyEndAllowThreads(__tstate);
41716 if (PyErr_Occurred()) SWIG_fail;
41717 }
41718 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
41719 return resultobj;
41720fail:
41721 return NULL;
41722}
41723
41724
41725SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41726 PyObject *resultobj = 0;
41727 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41728 wxColour *arg2 = 0 ;
41729 void *argp1 = 0 ;
41730 int res1 = 0 ;
41731 wxColour temp2 ;
41732 PyObject * obj0 = 0 ;
41733 PyObject * obj1 = 0 ;
41734 char * kwnames[] = {
41735 (char *) "self",(char *) "colour", NULL
41736 };
41737
41738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
41739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41740 if (!SWIG_IsOK(res1)) {
41741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41742 }
41743 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41744 {
41745 arg2 = &temp2;
41746 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
41747 }
41748 {
41749 PyThreadState* __tstate = wxPyBeginAllowThreads();
41750 (arg1)->SetVisitedColour((wxColour const &)*arg2);
41751 wxPyEndAllowThreads(__tstate);
41752 if (PyErr_Occurred()) SWIG_fail;
41753 }
41754 resultobj = SWIG_Py_Void();
41755 return resultobj;
41756fail:
41757 return NULL;
41758}
41759
41760
41761SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41762 PyObject *resultobj = 0;
41763 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41764 wxString result;
41765 void *argp1 = 0 ;
41766 int res1 = 0 ;
41767 PyObject *swig_obj[1] ;
41768
41769 if (!args) SWIG_fail;
41770 swig_obj[0] = args;
41771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41772 if (!SWIG_IsOK(res1)) {
41773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41774 }
41775 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41776 {
41777 PyThreadState* __tstate = wxPyBeginAllowThreads();
41778 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
41779 wxPyEndAllowThreads(__tstate);
41780 if (PyErr_Occurred()) SWIG_fail;
41781 }
41782 {
41783#if wxUSE_UNICODE
41784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
41785#else
41786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
41787#endif
41788 }
41789 return resultobj;
41790fail:
41791 return NULL;
41792}
41793
41794
41795SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41796 PyObject *resultobj = 0;
41797 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41798 wxString *arg2 = 0 ;
41799 void *argp1 = 0 ;
41800 int res1 = 0 ;
41801 bool temp2 = false ;
41802 PyObject * obj0 = 0 ;
41803 PyObject * obj1 = 0 ;
41804 char * kwnames[] = {
41805 (char *) "self",(char *) "url", NULL
41806 };
41807
41808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
41809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41810 if (!SWIG_IsOK(res1)) {
41811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41812 }
41813 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41814 {
41815 arg2 = wxString_in_helper(obj1);
41816 if (arg2 == NULL) SWIG_fail;
41817 temp2 = true;
41818 }
41819 {
41820 PyThreadState* __tstate = wxPyBeginAllowThreads();
41821 (arg1)->SetURL((wxString const &)*arg2);
41822 wxPyEndAllowThreads(__tstate);
41823 if (PyErr_Occurred()) SWIG_fail;
41824 }
41825 resultobj = SWIG_Py_Void();
41826 {
41827 if (temp2)
41828 delete arg2;
41829 }
41830 return resultobj;
41831fail:
41832 {
41833 if (temp2)
41834 delete arg2;
41835 }
41836 return NULL;
41837}
41838
41839
41840SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41841 PyObject *resultobj = 0;
41842 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41843 bool arg2 = (bool) true ;
41844 void *argp1 = 0 ;
41845 int res1 = 0 ;
41846 bool val2 ;
41847 int ecode2 = 0 ;
41848 PyObject * obj0 = 0 ;
41849 PyObject * obj1 = 0 ;
41850 char * kwnames[] = {
41851 (char *) "self",(char *) "visited", NULL
41852 };
41853
41854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
41855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41856 if (!SWIG_IsOK(res1)) {
41857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
41858 }
41859 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41860 if (obj1) {
41861 ecode2 = SWIG_AsVal_bool(obj1, &val2);
41862 if (!SWIG_IsOK(ecode2)) {
41863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
41864 }
41865 arg2 = static_cast< bool >(val2);
41866 }
41867 {
41868 PyThreadState* __tstate = wxPyBeginAllowThreads();
41869 (arg1)->SetVisited(arg2);
41870 wxPyEndAllowThreads(__tstate);
41871 if (PyErr_Occurred()) SWIG_fail;
41872 }
41873 resultobj = SWIG_Py_Void();
41874 return resultobj;
41875fail:
41876 return NULL;
41877}
41878
41879
41880SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41881 PyObject *resultobj = 0;
41882 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
41883 bool result;
41884 void *argp1 = 0 ;
41885 int res1 = 0 ;
41886 PyObject *swig_obj[1] ;
41887
41888 if (!args) SWIG_fail;
41889 swig_obj[0] = args;
41890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
41891 if (!SWIG_IsOK(res1)) {
41892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
41893 }
41894 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
41895 {
41896 PyThreadState* __tstate = wxPyBeginAllowThreads();
41897 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
41898 wxPyEndAllowThreads(__tstate);
41899 if (PyErr_Occurred()) SWIG_fail;
41900 }
41901 {
41902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41903 }
41904 return resultobj;
41905fail:
41906 return NULL;
41907}
41908
41909
41910SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41911 PyObject *obj;
41912 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41913 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
41914 return SWIG_Py_Void();
41915}
41916
41917SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41918 return SWIG_Python_InitShadowInstance(args);
41919}
41920
41921SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41922 PyObject *resultobj = 0;
41923 wxObject *arg1 = (wxObject *) 0 ;
41924 int arg2 ;
41925 wxString *arg3 = 0 ;
41926 wxHyperlinkEvent *result = 0 ;
41927 void *argp1 = 0 ;
41928 int res1 = 0 ;
41929 int val2 ;
41930 int ecode2 = 0 ;
41931 bool temp3 = false ;
41932 PyObject * obj0 = 0 ;
41933 PyObject * obj1 = 0 ;
41934 PyObject * obj2 = 0 ;
41935 char * kwnames[] = {
41936 (char *) "generator",(char *) "id",(char *) "url", NULL
41937 };
41938
41939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
41941 if (!SWIG_IsOK(res1)) {
41942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
41943 }
41944 arg1 = reinterpret_cast< wxObject * >(argp1);
41945 ecode2 = SWIG_AsVal_int(obj1, &val2);
41946 if (!SWIG_IsOK(ecode2)) {
41947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
41948 }
41949 arg2 = static_cast< int >(val2);
41950 {
41951 arg3 = wxString_in_helper(obj2);
41952 if (arg3 == NULL) SWIG_fail;
41953 temp3 = true;
41954 }
41955 {
41956 PyThreadState* __tstate = wxPyBeginAllowThreads();
41957 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
41958 wxPyEndAllowThreads(__tstate);
41959 if (PyErr_Occurred()) SWIG_fail;
41960 }
41961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
41962 {
41963 if (temp3)
41964 delete arg3;
41965 }
41966 return resultobj;
41967fail:
41968 {
41969 if (temp3)
41970 delete arg3;
41971 }
41972 return NULL;
41973}
41974
41975
41976SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41977 PyObject *resultobj = 0;
41978 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
41979 wxString result;
41980 void *argp1 = 0 ;
41981 int res1 = 0 ;
41982 PyObject *swig_obj[1] ;
41983
41984 if (!args) SWIG_fail;
41985 swig_obj[0] = args;
41986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
41987 if (!SWIG_IsOK(res1)) {
41988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
41989 }
41990 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
41991 {
41992 PyThreadState* __tstate = wxPyBeginAllowThreads();
41993 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
41994 wxPyEndAllowThreads(__tstate);
41995 if (PyErr_Occurred()) SWIG_fail;
41996 }
41997 {
41998#if wxUSE_UNICODE
41999 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42000#else
42001 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42002#endif
42003 }
42004 return resultobj;
42005fail:
42006 return NULL;
42007}
42008
42009
42010SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42011 PyObject *resultobj = 0;
42012 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42013 wxString *arg2 = 0 ;
42014 void *argp1 = 0 ;
42015 int res1 = 0 ;
42016 bool temp2 = false ;
42017 PyObject * obj0 = 0 ;
42018 PyObject * obj1 = 0 ;
42019 char * kwnames[] = {
42020 (char *) "self",(char *) "url", NULL
42021 };
42022
42023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42025 if (!SWIG_IsOK(res1)) {
42026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42027 }
42028 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42029 {
42030 arg2 = wxString_in_helper(obj1);
42031 if (arg2 == NULL) SWIG_fail;
42032 temp2 = true;
42033 }
42034 {
42035 PyThreadState* __tstate = wxPyBeginAllowThreads();
42036 (arg1)->SetURL((wxString const &)*arg2);
42037 wxPyEndAllowThreads(__tstate);
42038 if (PyErr_Occurred()) SWIG_fail;
42039 }
42040 resultobj = SWIG_Py_Void();
42041 {
42042 if (temp2)
42043 delete arg2;
42044 }
42045 return resultobj;
42046fail:
42047 {
42048 if (temp2)
42049 delete arg2;
42050 }
42051 return NULL;
42052}
42053
42054
42055SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42056 PyObject *obj;
42057 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42058 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42059 return SWIG_Py_Void();
42060}
42061
42062SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42063 return SWIG_Python_InitShadowInstance(args);
42064}
42065
b850e7f3
RD
42066SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42067 PyObject *resultobj = 0;
42068 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42069 wxWindow *arg2 = (wxWindow *) 0 ;
42070 int arg3 ;
42071 wxString const &arg4_defvalue = wxEmptyString ;
42072 wxString *arg4 = (wxString *) &arg4_defvalue ;
42073 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42074 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42075 wxSize const &arg6_defvalue = wxDefaultSize ;
42076 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42077 long arg7 = (long) 0 ;
42078 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42079 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42080 wxString const &arg9_defvalue = wxButtonNameStr ;
42081 wxString *arg9 = (wxString *) &arg9_defvalue ;
42082 bool result;
42083 void *argp1 = 0 ;
42084 int res1 = 0 ;
42085 void *argp2 = 0 ;
42086 int res2 = 0 ;
42087 int val3 ;
42088 int ecode3 = 0 ;
42089 bool temp4 = false ;
42090 wxPoint temp5 ;
42091 wxSize temp6 ;
42092 long val7 ;
42093 int ecode7 = 0 ;
42094 void *argp8 = 0 ;
42095 int res8 = 0 ;
42096 bool temp9 = false ;
42097 PyObject * obj0 = 0 ;
42098 PyObject * obj1 = 0 ;
42099 PyObject * obj2 = 0 ;
42100 PyObject * obj3 = 0 ;
42101 PyObject * obj4 = 0 ;
42102 PyObject * obj5 = 0 ;
42103 PyObject * obj6 = 0 ;
42104 PyObject * obj7 = 0 ;
42105 PyObject * obj8 = 0 ;
42106 char * kwnames[] = {
42107 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42108 };
42109
42110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42112 if (!SWIG_IsOK(res1)) {
42113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42114 }
42115 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42116 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42117 if (!SWIG_IsOK(res2)) {
42118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42119 }
42120 arg2 = reinterpret_cast< wxWindow * >(argp2);
42121 ecode3 = SWIG_AsVal_int(obj2, &val3);
42122 if (!SWIG_IsOK(ecode3)) {
42123 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42124 }
42125 arg3 = static_cast< int >(val3);
42126 if (obj3) {
42127 {
42128 arg4 = wxString_in_helper(obj3);
42129 if (arg4 == NULL) SWIG_fail;
42130 temp4 = true;
42131 }
42132 }
42133 if (obj4) {
42134 {
42135 arg5 = &temp5;
42136 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42137 }
42138 }
42139 if (obj5) {
42140 {
42141 arg6 = &temp6;
42142 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42143 }
42144 }
42145 if (obj6) {
42146 ecode7 = SWIG_AsVal_long(obj6, &val7);
42147 if (!SWIG_IsOK(ecode7)) {
42148 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42149 }
42150 arg7 = static_cast< long >(val7);
42151 }
42152 if (obj7) {
42153 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42154 if (!SWIG_IsOK(res8)) {
42155 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42156 }
42157 if (!argp8) {
42158 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42159 }
42160 arg8 = reinterpret_cast< wxValidator * >(argp8);
42161 }
42162 if (obj8) {
42163 {
42164 arg9 = wxString_in_helper(obj8);
42165 if (arg9 == NULL) SWIG_fail;
42166 temp9 = true;
42167 }
42168 }
42169 {
42170 PyThreadState* __tstate = wxPyBeginAllowThreads();
42171 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42172 wxPyEndAllowThreads(__tstate);
42173 if (PyErr_Occurred()) SWIG_fail;
42174 }
42175 {
42176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42177 }
42178 {
42179 if (temp4)
42180 delete arg4;
42181 }
42182 {
42183 if (temp9)
42184 delete arg9;
42185 }
42186 return resultobj;
42187fail:
42188 {
42189 if (temp4)
42190 delete arg4;
42191 }
42192 {
42193 if (temp9)
42194 delete arg9;
42195 }
42196 return NULL;
42197}
42198
42199
42200SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42201 PyObject *resultobj = 0;
42202 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42203 int arg2 ;
42204 void *argp1 = 0 ;
42205 int res1 = 0 ;
42206 int val2 ;
42207 int ecode2 = 0 ;
42208 PyObject * obj0 = 0 ;
42209 PyObject * obj1 = 0 ;
42210 char * kwnames[] = {
42211 (char *) "self",(char *) "newmargin", NULL
42212 };
42213
42214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42216 if (!SWIG_IsOK(res1)) {
42217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42218 }
42219 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42220 ecode2 = SWIG_AsVal_int(obj1, &val2);
42221 if (!SWIG_IsOK(ecode2)) {
42222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42223 }
42224 arg2 = static_cast< int >(val2);
42225 {
42226 PyThreadState* __tstate = wxPyBeginAllowThreads();
42227 (arg1)->SetInternalMargin(arg2);
42228 wxPyEndAllowThreads(__tstate);
42229 if (PyErr_Occurred()) SWIG_fail;
42230 }
42231 resultobj = SWIG_Py_Void();
42232 return resultobj;
42233fail:
42234 return NULL;
42235}
42236
42237
42238SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42239 PyObject *resultobj = 0;
42240 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42241 int result;
42242 void *argp1 = 0 ;
42243 int res1 = 0 ;
42244 PyObject *swig_obj[1] ;
42245
42246 if (!args) SWIG_fail;
42247 swig_obj[0] = args;
42248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42249 if (!SWIG_IsOK(res1)) {
42250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42251 }
42252 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42253 {
42254 PyThreadState* __tstate = wxPyBeginAllowThreads();
42255 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42256 wxPyEndAllowThreads(__tstate);
42257 if (PyErr_Occurred()) SWIG_fail;
42258 }
42259 resultobj = SWIG_From_int(static_cast< int >(result));
42260 return resultobj;
42261fail:
42262 return NULL;
42263}
42264
42265
42266SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42267 PyObject *resultobj = 0;
42268 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42269 int arg2 ;
42270 void *argp1 = 0 ;
42271 int res1 = 0 ;
42272 int val2 ;
42273 int ecode2 = 0 ;
42274 PyObject * obj0 = 0 ;
42275 PyObject * obj1 = 0 ;
42276 char * kwnames[] = {
42277 (char *) "self",(char *) "prop", NULL
42278 };
42279
42280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42282 if (!SWIG_IsOK(res1)) {
42283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42284 }
42285 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42286 ecode2 = SWIG_AsVal_int(obj1, &val2);
42287 if (!SWIG_IsOK(ecode2)) {
42288 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42289 }
42290 arg2 = static_cast< int >(val2);
42291 {
42292 PyThreadState* __tstate = wxPyBeginAllowThreads();
42293 (arg1)->SetTextCtrlProportion(arg2);
42294 wxPyEndAllowThreads(__tstate);
42295 if (PyErr_Occurred()) SWIG_fail;
42296 }
42297 resultobj = SWIG_Py_Void();
42298 return resultobj;
42299fail:
42300 return NULL;
42301}
42302
42303
42304SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42305 PyObject *resultobj = 0;
42306 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42307 int result;
42308 void *argp1 = 0 ;
42309 int res1 = 0 ;
42310 PyObject *swig_obj[1] ;
42311
42312 if (!args) SWIG_fail;
42313 swig_obj[0] = args;
42314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42315 if (!SWIG_IsOK(res1)) {
42316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42317 }
42318 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42319 {
42320 PyThreadState* __tstate = wxPyBeginAllowThreads();
42321 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42322 wxPyEndAllowThreads(__tstate);
42323 if (PyErr_Occurred()) SWIG_fail;
42324 }
42325 resultobj = SWIG_From_int(static_cast< int >(result));
42326 return resultobj;
42327fail:
42328 return NULL;
42329}
42330
42331
42332SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42333 PyObject *resultobj = 0;
42334 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42335 bool result;
42336 void *argp1 = 0 ;
42337 int res1 = 0 ;
42338 PyObject *swig_obj[1] ;
42339
42340 if (!args) SWIG_fail;
42341 swig_obj[0] = args;
42342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42343 if (!SWIG_IsOK(res1)) {
42344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42345 }
42346 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42347 {
42348 PyThreadState* __tstate = wxPyBeginAllowThreads();
42349 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
42350 wxPyEndAllowThreads(__tstate);
42351 if (PyErr_Occurred()) SWIG_fail;
42352 }
42353 {
42354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42355 }
42356 return resultobj;
42357fail:
42358 return NULL;
42359}
42360
42361
42362SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42363 PyObject *resultobj = 0;
42364 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42365 wxTextCtrl *result = 0 ;
42366 void *argp1 = 0 ;
42367 int res1 = 0 ;
42368 PyObject *swig_obj[1] ;
42369
42370 if (!args) SWIG_fail;
42371 swig_obj[0] = args;
42372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42373 if (!SWIG_IsOK(res1)) {
42374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42375 }
42376 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42377 {
42378 PyThreadState* __tstate = wxPyBeginAllowThreads();
42379 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
42380 wxPyEndAllowThreads(__tstate);
42381 if (PyErr_Occurred()) SWIG_fail;
42382 }
42383 {
42384 resultobj = wxPyMake_wxObject(result, 0);
42385 }
42386 return resultobj;
42387fail:
42388 return NULL;
42389}
42390
42391
42392SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42393 PyObject *resultobj = 0;
42394 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42395 wxControl *result = 0 ;
42396 void *argp1 = 0 ;
42397 int res1 = 0 ;
42398 PyObject *swig_obj[1] ;
42399
42400 if (!args) SWIG_fail;
42401 swig_obj[0] = args;
42402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42403 if (!SWIG_IsOK(res1)) {
42404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42405 }
42406 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42407 {
42408 PyThreadState* __tstate = wxPyBeginAllowThreads();
42409 result = (wxControl *)(arg1)->GetPickerCtrl();
42410 wxPyEndAllowThreads(__tstate);
42411 if (PyErr_Occurred()) SWIG_fail;
42412 }
42413 {
42414 resultobj = wxPyMake_wxObject(result, 0);
42415 }
42416 return resultobj;
42417fail:
42418 return NULL;
42419}
42420
42421
42422SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42423 PyObject *obj;
42424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42425 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
42426 return SWIG_Py_Void();
42427}
42428
42429SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
42430 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
42431 return 1;
42432}
42433
42434
42435SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
42436 PyObject *pyobj = 0;
42437
42438 {
42439#if wxUSE_UNICODE
42440 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
42441#else
42442 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
42443#endif
42444 }
42445 return pyobj;
42446}
42447
42448
42449SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42450 PyObject *resultobj = 0;
42451 wxWindow *arg1 = (wxWindow *) 0 ;
42452 int arg2 = (int) -1 ;
42453 wxColour const &arg3_defvalue = *wxBLACK ;
42454 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
42455 wxPoint const &arg4_defvalue = wxDefaultPosition ;
42456 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
42457 wxSize const &arg5_defvalue = wxDefaultSize ;
42458 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
42459 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
42460 wxValidator const &arg7_defvalue = wxDefaultValidator ;
42461 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
42462 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
42463 wxString *arg8 = (wxString *) &arg8_defvalue ;
42464 wxColourPickerCtrl *result = 0 ;
42465 void *argp1 = 0 ;
42466 int res1 = 0 ;
42467 int val2 ;
42468 int ecode2 = 0 ;
42469 wxColour temp3 ;
42470 wxPoint temp4 ;
42471 wxSize temp5 ;
42472 long val6 ;
42473 int ecode6 = 0 ;
42474 void *argp7 = 0 ;
42475 int res7 = 0 ;
42476 bool temp8 = false ;
42477 PyObject * obj0 = 0 ;
42478 PyObject * obj1 = 0 ;
42479 PyObject * obj2 = 0 ;
42480 PyObject * obj3 = 0 ;
42481 PyObject * obj4 = 0 ;
42482 PyObject * obj5 = 0 ;
42483 PyObject * obj6 = 0 ;
42484 PyObject * obj7 = 0 ;
42485 char * kwnames[] = {
42486 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42487 };
42488
42489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
42490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
42491 if (!SWIG_IsOK(res1)) {
42492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42493 }
42494 arg1 = reinterpret_cast< wxWindow * >(argp1);
42495 if (obj1) {
42496 ecode2 = SWIG_AsVal_int(obj1, &val2);
42497 if (!SWIG_IsOK(ecode2)) {
42498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
42499 }
42500 arg2 = static_cast< int >(val2);
42501 }
42502 if (obj2) {
42503 {
42504 arg3 = &temp3;
42505 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
42506 }
42507 }
42508 if (obj3) {
42509 {
42510 arg4 = &temp4;
42511 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
42512 }
42513 }
42514 if (obj4) {
42515 {
42516 arg5 = &temp5;
42517 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
42518 }
42519 }
42520 if (obj5) {
42521 ecode6 = SWIG_AsVal_long(obj5, &val6);
42522 if (!SWIG_IsOK(ecode6)) {
42523 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
42524 }
42525 arg6 = static_cast< long >(val6);
42526 }
42527 if (obj6) {
42528 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
42529 if (!SWIG_IsOK(res7)) {
42530 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42531 }
42532 if (!argp7) {
42533 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
42534 }
42535 arg7 = reinterpret_cast< wxValidator * >(argp7);
42536 }
42537 if (obj7) {
42538 {
42539 arg8 = wxString_in_helper(obj7);
42540 if (arg8 == NULL) SWIG_fail;
42541 temp8 = true;
42542 }
42543 }
42544 {
42545 if (!wxPyCheckForApp()) SWIG_fail;
42546 PyThreadState* __tstate = wxPyBeginAllowThreads();
42547 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
42548 wxPyEndAllowThreads(__tstate);
42549 if (PyErr_Occurred()) SWIG_fail;
42550 }
42551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
42552 {
42553 if (temp8)
42554 delete arg8;
42555 }
42556 return resultobj;
42557fail:
42558 {
42559 if (temp8)
42560 delete arg8;
42561 }
42562 return NULL;
42563}
42564
42565
42566SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42567 PyObject *resultobj = 0;
42568 wxColourPickerCtrl *result = 0 ;
42569
42570 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
42571 {
42572 if (!wxPyCheckForApp()) SWIG_fail;
42573 PyThreadState* __tstate = wxPyBeginAllowThreads();
42574 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
42575 wxPyEndAllowThreads(__tstate);
42576 if (PyErr_Occurred()) SWIG_fail;
42577 }
42578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
42579 return resultobj;
42580fail:
42581 return NULL;
42582}
42583
42584
42585SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42586 PyObject *resultobj = 0;
42587 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42588 wxWindow *arg2 = (wxWindow *) 0 ;
42589 int arg3 ;
42590 wxColour const &arg4_defvalue = *wxBLACK ;
42591 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
42592 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42593 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42594 wxSize const &arg6_defvalue = wxDefaultSize ;
42595 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42596 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
42597 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42598 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42599 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
42600 wxString *arg9 = (wxString *) &arg9_defvalue ;
42601 bool result;
42602 void *argp1 = 0 ;
42603 int res1 = 0 ;
42604 void *argp2 = 0 ;
42605 int res2 = 0 ;
42606 int val3 ;
42607 int ecode3 = 0 ;
42608 wxColour temp4 ;
42609 wxPoint temp5 ;
42610 wxSize temp6 ;
42611 long val7 ;
42612 int ecode7 = 0 ;
42613 void *argp8 = 0 ;
42614 int res8 = 0 ;
42615 bool temp9 = false ;
42616 PyObject * obj0 = 0 ;
42617 PyObject * obj1 = 0 ;
42618 PyObject * obj2 = 0 ;
42619 PyObject * obj3 = 0 ;
42620 PyObject * obj4 = 0 ;
42621 PyObject * obj5 = 0 ;
42622 PyObject * obj6 = 0 ;
42623 PyObject * obj7 = 0 ;
42624 PyObject * obj8 = 0 ;
42625 char * kwnames[] = {
42626 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42627 };
42628
42629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42631 if (!SWIG_IsOK(res1)) {
42632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42633 }
42634 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42635 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42636 if (!SWIG_IsOK(res2)) {
42637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42638 }
42639 arg2 = reinterpret_cast< wxWindow * >(argp2);
42640 ecode3 = SWIG_AsVal_int(obj2, &val3);
42641 if (!SWIG_IsOK(ecode3)) {
42642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42643 }
42644 arg3 = static_cast< int >(val3);
42645 if (obj3) {
42646 {
42647 arg4 = &temp4;
42648 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
42649 }
42650 }
42651 if (obj4) {
42652 {
42653 arg5 = &temp5;
42654 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42655 }
42656 }
42657 if (obj5) {
42658 {
42659 arg6 = &temp6;
42660 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42661 }
42662 }
42663 if (obj6) {
42664 ecode7 = SWIG_AsVal_long(obj6, &val7);
42665 if (!SWIG_IsOK(ecode7)) {
42666 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
42667 }
42668 arg7 = static_cast< long >(val7);
42669 }
42670 if (obj7) {
42671 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42672 if (!SWIG_IsOK(res8)) {
42673 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42674 }
42675 if (!argp8) {
42676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
42677 }
42678 arg8 = reinterpret_cast< wxValidator * >(argp8);
42679 }
42680 if (obj8) {
42681 {
42682 arg9 = wxString_in_helper(obj8);
42683 if (arg9 == NULL) SWIG_fail;
42684 temp9 = true;
42685 }
42686 }
42687 {
42688 PyThreadState* __tstate = wxPyBeginAllowThreads();
42689 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42690 wxPyEndAllowThreads(__tstate);
42691 if (PyErr_Occurred()) SWIG_fail;
42692 }
42693 {
42694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42695 }
42696 {
42697 if (temp9)
42698 delete arg9;
42699 }
42700 return resultobj;
42701fail:
42702 {
42703 if (temp9)
42704 delete arg9;
42705 }
42706 return NULL;
42707}
42708
42709
42710SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42711 PyObject *resultobj = 0;
42712 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42713 wxColour result;
42714 void *argp1 = 0 ;
42715 int res1 = 0 ;
42716 PyObject *swig_obj[1] ;
42717
42718 if (!args) SWIG_fail;
42719 swig_obj[0] = args;
42720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42721 if (!SWIG_IsOK(res1)) {
42722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
42723 }
42724 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42725 {
42726 PyThreadState* __tstate = wxPyBeginAllowThreads();
42727 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
42728 wxPyEndAllowThreads(__tstate);
42729 if (PyErr_Occurred()) SWIG_fail;
42730 }
42731 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42732 return resultobj;
42733fail:
42734 return NULL;
42735}
42736
42737
42738SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42739 PyObject *resultobj = 0;
42740 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
42741 wxColour *arg2 = 0 ;
42742 void *argp1 = 0 ;
42743 int res1 = 0 ;
42744 wxColour temp2 ;
42745 PyObject * obj0 = 0 ;
42746 PyObject * obj1 = 0 ;
42747 char * kwnames[] = {
42748 (char *) "self",(char *) "col", NULL
42749 };
42750
42751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
42752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
42753 if (!SWIG_IsOK(res1)) {
42754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
42755 }
42756 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
42757 {
42758 arg2 = &temp2;
42759 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42760 }
42761 {
42762 PyThreadState* __tstate = wxPyBeginAllowThreads();
42763 (arg1)->SetColour((wxColour const &)*arg2);
42764 wxPyEndAllowThreads(__tstate);
42765 if (PyErr_Occurred()) SWIG_fail;
42766 }
42767 resultobj = SWIG_Py_Void();
42768 return resultobj;
42769fail:
42770 return NULL;
42771}
42772
42773
42774SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42775 PyObject *obj;
42776 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42777 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
42778 return SWIG_Py_Void();
42779}
42780
42781SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42782 return SWIG_Python_InitShadowInstance(args);
42783}
42784
42785SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42786 PyObject *resultobj = 0;
42787 wxObject *arg1 = (wxObject *) 0 ;
42788 int arg2 ;
42789 wxColour *arg3 = 0 ;
42790 wxColourPickerEvent *result = 0 ;
42791 void *argp1 = 0 ;
42792 int res1 = 0 ;
42793 int val2 ;
42794 int ecode2 = 0 ;
42795 wxColour temp3 ;
42796 PyObject * obj0 = 0 ;
42797 PyObject * obj1 = 0 ;
42798 PyObject * obj2 = 0 ;
42799 char * kwnames[] = {
42800 (char *) "generator",(char *) "id",(char *) "col", NULL
42801 };
42802
42803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42805 if (!SWIG_IsOK(res1)) {
42806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42807 }
42808 arg1 = reinterpret_cast< wxObject * >(argp1);
42809 ecode2 = SWIG_AsVal_int(obj1, &val2);
42810 if (!SWIG_IsOK(ecode2)) {
42811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
42812 }
42813 arg2 = static_cast< int >(val2);
42814 {
42815 arg3 = &temp3;
42816 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
42817 }
42818 {
42819 PyThreadState* __tstate = wxPyBeginAllowThreads();
42820 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
42821 wxPyEndAllowThreads(__tstate);
42822 if (PyErr_Occurred()) SWIG_fail;
42823 }
42824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
42825 return resultobj;
42826fail:
42827 return NULL;
42828}
42829
42830
42831SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42832 PyObject *resultobj = 0;
42833 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
42834 wxColour result;
42835 void *argp1 = 0 ;
42836 int res1 = 0 ;
42837 PyObject *swig_obj[1] ;
42838
42839 if (!args) SWIG_fail;
42840 swig_obj[0] = args;
42841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
42842 if (!SWIG_IsOK(res1)) {
42843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
42844 }
42845 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
42846 {
42847 PyThreadState* __tstate = wxPyBeginAllowThreads();
42848 result = ((wxColourPickerEvent const *)arg1)->GetColour();
42849 wxPyEndAllowThreads(__tstate);
42850 if (PyErr_Occurred()) SWIG_fail;
42851 }
42852 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42853 return resultobj;
42854fail:
42855 return NULL;
42856}
42857
42858
42859SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42860 PyObject *resultobj = 0;
42861 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
42862 wxColour *arg2 = 0 ;
42863 void *argp1 = 0 ;
42864 int res1 = 0 ;
42865 wxColour temp2 ;
42866 PyObject * obj0 = 0 ;
42867 PyObject * obj1 = 0 ;
42868 char * kwnames[] = {
42869 (char *) "self",(char *) "c", NULL
42870 };
42871
42872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
42873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
42874 if (!SWIG_IsOK(res1)) {
42875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
42876 }
42877 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
42878 {
42879 arg2 = &temp2;
42880 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42881 }
42882 {
42883 PyThreadState* __tstate = wxPyBeginAllowThreads();
42884 (arg1)->SetColour((wxColour const &)*arg2);
42885 wxPyEndAllowThreads(__tstate);
42886 if (PyErr_Occurred()) SWIG_fail;
42887 }
42888 resultobj = SWIG_Py_Void();
42889 return resultobj;
42890fail:
42891 return NULL;
42892}
42893
42894
42895SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42896 PyObject *obj;
42897 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42898 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
42899 return SWIG_Py_Void();
42900}
42901
42902SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42903 return SWIG_Python_InitShadowInstance(args);
42904}
42905
42906SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
42907 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
42908 return 1;
42909}
42910
42911
42912SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
42913 PyObject *pyobj = 0;
42914
42915 {
42916#if wxUSE_UNICODE
42917 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
42918#else
42919 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
42920#endif
42921 }
42922 return pyobj;
42923}
42924
42925
42926SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
42927 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
42928 return 1;
42929}
42930
42931
42932SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
42933 PyObject *pyobj = 0;
42934
42935 {
42936#if wxUSE_UNICODE
42937 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
42938#else
42939 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
42940#endif
42941 }
42942 return pyobj;
42943}
42944
42945
42946SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
42947 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
42948 return 1;
42949}
42950
42951
42952SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
42953 PyObject *pyobj = 0;
42954
42955 {
42956#if wxUSE_UNICODE
42957 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
42958#else
42959 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
42960#endif
42961 }
42962 return pyobj;
42963}
42964
42965
42966SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
42967 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
42968 return 1;
42969}
42970
42971
42972SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
42973 PyObject *pyobj = 0;
42974
42975 {
42976#if wxUSE_UNICODE
42977 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
42978#else
42979 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
42980#endif
42981 }
42982 return pyobj;
42983}
42984
42985
42986SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
42987 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
42988 return 1;
42989}
42990
42991
42992SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
42993 PyObject *pyobj = 0;
42994
42995 {
42996#if wxUSE_UNICODE
42997 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
42998#else
42999 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43000#endif
43001 }
43002 return pyobj;
43003}
43004
43005
43006SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43007 PyObject *resultobj = 0;
43008 wxWindow *arg1 = (wxWindow *) 0 ;
43009 int arg2 = (int) -1 ;
43010 wxString const &arg3_defvalue = wxPyEmptyString ;
43011 wxString *arg3 = (wxString *) &arg3_defvalue ;
43012 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43013 wxString *arg4 = (wxString *) &arg4_defvalue ;
43014 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43015 wxString *arg5 = (wxString *) &arg5_defvalue ;
43016 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43017 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43018 wxSize const &arg7_defvalue = wxDefaultSize ;
43019 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43020 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43021 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43022 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43023 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43024 wxString *arg10 = (wxString *) &arg10_defvalue ;
43025 wxFilePickerCtrl *result = 0 ;
43026 void *argp1 = 0 ;
43027 int res1 = 0 ;
43028 int val2 ;
43029 int ecode2 = 0 ;
43030 bool temp3 = false ;
43031 bool temp4 = false ;
43032 bool temp5 = false ;
43033 wxPoint temp6 ;
43034 wxSize temp7 ;
43035 long val8 ;
43036 int ecode8 = 0 ;
43037 void *argp9 = 0 ;
43038 int res9 = 0 ;
43039 bool temp10 = false ;
43040 PyObject * obj0 = 0 ;
43041 PyObject * obj1 = 0 ;
43042 PyObject * obj2 = 0 ;
43043 PyObject * obj3 = 0 ;
43044 PyObject * obj4 = 0 ;
43045 PyObject * obj5 = 0 ;
43046 PyObject * obj6 = 0 ;
43047 PyObject * obj7 = 0 ;
43048 PyObject * obj8 = 0 ;
43049 PyObject * obj9 = 0 ;
43050 char * kwnames[] = {
43051 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43052 };
43053
43054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43056 if (!SWIG_IsOK(res1)) {
43057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43058 }
43059 arg1 = reinterpret_cast< wxWindow * >(argp1);
43060 if (obj1) {
43061 ecode2 = SWIG_AsVal_int(obj1, &val2);
43062 if (!SWIG_IsOK(ecode2)) {
43063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43064 }
43065 arg2 = static_cast< int >(val2);
43066 }
43067 if (obj2) {
43068 {
43069 arg3 = wxString_in_helper(obj2);
43070 if (arg3 == NULL) SWIG_fail;
43071 temp3 = true;
43072 }
43073 }
43074 if (obj3) {
43075 {
43076 arg4 = wxString_in_helper(obj3);
43077 if (arg4 == NULL) SWIG_fail;
43078 temp4 = true;
43079 }
43080 }
43081 if (obj4) {
43082 {
43083 arg5 = wxString_in_helper(obj4);
43084 if (arg5 == NULL) SWIG_fail;
43085 temp5 = true;
43086 }
43087 }
43088 if (obj5) {
43089 {
43090 arg6 = &temp6;
43091 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43092 }
43093 }
43094 if (obj6) {
43095 {
43096 arg7 = &temp7;
43097 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43098 }
43099 }
43100 if (obj7) {
43101 ecode8 = SWIG_AsVal_long(obj7, &val8);
43102 if (!SWIG_IsOK(ecode8)) {
43103 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43104 }
43105 arg8 = static_cast< long >(val8);
43106 }
43107 if (obj8) {
43108 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43109 if (!SWIG_IsOK(res9)) {
43110 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43111 }
43112 if (!argp9) {
43113 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43114 }
43115 arg9 = reinterpret_cast< wxValidator * >(argp9);
43116 }
43117 if (obj9) {
43118 {
43119 arg10 = wxString_in_helper(obj9);
43120 if (arg10 == NULL) SWIG_fail;
43121 temp10 = true;
43122 }
43123 }
43124 {
43125 if (!wxPyCheckForApp()) SWIG_fail;
43126 PyThreadState* __tstate = wxPyBeginAllowThreads();
43127 result = (wxFilePickerCtrl *)new wxFilePickerCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
43128 wxPyEndAllowThreads(__tstate);
43129 if (PyErr_Occurred()) SWIG_fail;
43130 }
43131 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43132 {
43133 if (temp3)
43134 delete arg3;
43135 }
43136 {
43137 if (temp4)
43138 delete arg4;
43139 }
43140 {
43141 if (temp5)
43142 delete arg5;
43143 }
43144 {
43145 if (temp10)
43146 delete arg10;
43147 }
43148 return resultobj;
43149fail:
43150 {
43151 if (temp3)
43152 delete arg3;
43153 }
43154 {
43155 if (temp4)
43156 delete arg4;
43157 }
43158 {
43159 if (temp5)
43160 delete arg5;
43161 }
43162 {
43163 if (temp10)
43164 delete arg10;
43165 }
43166 return NULL;
43167}
43168
43169
43170SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43171 PyObject *resultobj = 0;
43172 wxFilePickerCtrl *result = 0 ;
43173
43174 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
43175 {
43176 if (!wxPyCheckForApp()) SWIG_fail;
43177 PyThreadState* __tstate = wxPyBeginAllowThreads();
43178 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
43179 wxPyEndAllowThreads(__tstate);
43180 if (PyErr_Occurred()) SWIG_fail;
43181 }
43182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
43183 return resultobj;
43184fail:
43185 return NULL;
43186}
43187
43188
43189SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43190 PyObject *resultobj = 0;
43191 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43192 wxWindow *arg2 = (wxWindow *) 0 ;
43193 int arg3 = (int) -1 ;
43194 wxString const &arg4_defvalue = wxPyEmptyString ;
43195 wxString *arg4 = (wxString *) &arg4_defvalue ;
43196 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
43197 wxString *arg5 = (wxString *) &arg5_defvalue ;
43198 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43199 wxString *arg6 = (wxString *) &arg6_defvalue ;
43200 wxPoint const &arg7_defvalue = wxDefaultPosition ;
43201 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
43202 wxSize const &arg8_defvalue = wxDefaultSize ;
43203 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
43204 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
43205 wxValidator const &arg10_defvalue = wxDefaultValidator ;
43206 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
43207 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
43208 wxString *arg11 = (wxString *) &arg11_defvalue ;
43209 bool result;
43210 void *argp1 = 0 ;
43211 int res1 = 0 ;
43212 void *argp2 = 0 ;
43213 int res2 = 0 ;
43214 int val3 ;
43215 int ecode3 = 0 ;
43216 bool temp4 = false ;
43217 bool temp5 = false ;
43218 bool temp6 = false ;
43219 wxPoint temp7 ;
43220 wxSize temp8 ;
43221 long val9 ;
43222 int ecode9 = 0 ;
43223 void *argp10 = 0 ;
43224 int res10 = 0 ;
43225 bool temp11 = false ;
43226 PyObject * obj0 = 0 ;
43227 PyObject * obj1 = 0 ;
43228 PyObject * obj2 = 0 ;
43229 PyObject * obj3 = 0 ;
43230 PyObject * obj4 = 0 ;
43231 PyObject * obj5 = 0 ;
43232 PyObject * obj6 = 0 ;
43233 PyObject * obj7 = 0 ;
43234 PyObject * obj8 = 0 ;
43235 PyObject * obj9 = 0 ;
43236 PyObject * obj10 = 0 ;
43237 char * kwnames[] = {
43238 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43239 };
43240
43241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
43242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43243 if (!SWIG_IsOK(res1)) {
43244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43245 }
43246 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43247 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43248 if (!SWIG_IsOK(res2)) {
43249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43250 }
43251 arg2 = reinterpret_cast< wxWindow * >(argp2);
43252 if (obj2) {
43253 ecode3 = SWIG_AsVal_int(obj2, &val3);
43254 if (!SWIG_IsOK(ecode3)) {
43255 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43256 }
43257 arg3 = static_cast< int >(val3);
43258 }
43259 if (obj3) {
43260 {
43261 arg4 = wxString_in_helper(obj3);
43262 if (arg4 == NULL) SWIG_fail;
43263 temp4 = true;
43264 }
43265 }
43266 if (obj4) {
43267 {
43268 arg5 = wxString_in_helper(obj4);
43269 if (arg5 == NULL) SWIG_fail;
43270 temp5 = true;
43271 }
43272 }
43273 if (obj5) {
43274 {
43275 arg6 = wxString_in_helper(obj5);
43276 if (arg6 == NULL) SWIG_fail;
43277 temp6 = true;
43278 }
43279 }
43280 if (obj6) {
43281 {
43282 arg7 = &temp7;
43283 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
43284 }
43285 }
43286 if (obj7) {
43287 {
43288 arg8 = &temp8;
43289 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
43290 }
43291 }
43292 if (obj8) {
43293 ecode9 = SWIG_AsVal_long(obj8, &val9);
43294 if (!SWIG_IsOK(ecode9)) {
43295 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
43296 }
43297 arg9 = static_cast< long >(val9);
43298 }
43299 if (obj9) {
43300 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
43301 if (!SWIG_IsOK(res10)) {
43302 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43303 }
43304 if (!argp10) {
43305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
43306 }
43307 arg10 = reinterpret_cast< wxValidator * >(argp10);
43308 }
43309 if (obj10) {
43310 {
43311 arg11 = wxString_in_helper(obj10);
43312 if (arg11 == NULL) SWIG_fail;
43313 temp11 = true;
43314 }
43315 }
43316 {
43317 PyThreadState* __tstate = wxPyBeginAllowThreads();
43318 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxString const &)*arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
43319 wxPyEndAllowThreads(__tstate);
43320 if (PyErr_Occurred()) SWIG_fail;
43321 }
43322 {
43323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43324 }
43325 {
43326 if (temp4)
43327 delete arg4;
43328 }
43329 {
43330 if (temp5)
43331 delete arg5;
43332 }
43333 {
43334 if (temp6)
43335 delete arg6;
43336 }
43337 {
43338 if (temp11)
43339 delete arg11;
43340 }
43341 return resultobj;
43342fail:
43343 {
43344 if (temp4)
43345 delete arg4;
43346 }
43347 {
43348 if (temp5)
43349 delete arg5;
43350 }
43351 {
43352 if (temp6)
43353 delete arg6;
43354 }
43355 {
43356 if (temp11)
43357 delete arg11;
43358 }
43359 return NULL;
43360}
43361
43362
43363SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43364 PyObject *resultobj = 0;
43365 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43366 wxString result;
43367 void *argp1 = 0 ;
43368 int res1 = 0 ;
43369 PyObject *swig_obj[1] ;
43370
43371 if (!args) SWIG_fail;
43372 swig_obj[0] = args;
43373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43374 if (!SWIG_IsOK(res1)) {
43375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
43376 }
43377 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43378 {
43379 PyThreadState* __tstate = wxPyBeginAllowThreads();
43380 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
43381 wxPyEndAllowThreads(__tstate);
43382 if (PyErr_Occurred()) SWIG_fail;
43383 }
43384 {
43385#if wxUSE_UNICODE
43386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43387#else
43388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43389#endif
43390 }
43391 return resultobj;
43392fail:
43393 return NULL;
43394}
43395
43396
43397SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43398 PyObject *resultobj = 0;
43399 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
43400 wxString *arg2 = 0 ;
43401 void *argp1 = 0 ;
43402 int res1 = 0 ;
43403 bool temp2 = false ;
43404 PyObject * obj0 = 0 ;
43405 PyObject * obj1 = 0 ;
43406 char * kwnames[] = {
43407 (char *) "self",(char *) "str", NULL
43408 };
43409
43410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
43412 if (!SWIG_IsOK(res1)) {
43413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43414 }
43415 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
43416 {
43417 arg2 = wxString_in_helper(obj1);
43418 if (arg2 == NULL) SWIG_fail;
43419 temp2 = true;
43420 }
43421 {
43422 PyThreadState* __tstate = wxPyBeginAllowThreads();
43423 (arg1)->SetPath((wxString const &)*arg2);
43424 wxPyEndAllowThreads(__tstate);
43425 if (PyErr_Occurred()) SWIG_fail;
43426 }
43427 resultobj = SWIG_Py_Void();
43428 {
43429 if (temp2)
43430 delete arg2;
43431 }
43432 return resultobj;
43433fail:
43434 {
43435 if (temp2)
43436 delete arg2;
43437 }
43438 return NULL;
43439}
43440
43441
43442SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43443 PyObject *obj;
43444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43445 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
43446 return SWIG_Py_Void();
43447}
43448
43449SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43450 return SWIG_Python_InitShadowInstance(args);
43451}
43452
43453SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43454 PyObject *resultobj = 0;
43455 wxWindow *arg1 = (wxWindow *) 0 ;
43456 int arg2 = (int) -1 ;
43457 wxString const &arg3_defvalue = wxPyEmptyString ;
43458 wxString *arg3 = (wxString *) &arg3_defvalue ;
43459 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
43460 wxString *arg4 = (wxString *) &arg4_defvalue ;
43461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43463 wxSize const &arg6_defvalue = wxDefaultSize ;
43464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43465 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
43466 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43467 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43468 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
43469 wxString *arg9 = (wxString *) &arg9_defvalue ;
43470 wxDirPickerCtrl *result = 0 ;
43471 void *argp1 = 0 ;
43472 int res1 = 0 ;
43473 int val2 ;
43474 int ecode2 = 0 ;
43475 bool temp3 = false ;
43476 bool temp4 = false ;
43477 wxPoint temp5 ;
43478 wxSize temp6 ;
43479 long val7 ;
43480 int ecode7 = 0 ;
43481 void *argp8 = 0 ;
43482 int res8 = 0 ;
43483 bool temp9 = false ;
43484 PyObject * obj0 = 0 ;
43485 PyObject * obj1 = 0 ;
43486 PyObject * obj2 = 0 ;
43487 PyObject * obj3 = 0 ;
43488 PyObject * obj4 = 0 ;
43489 PyObject * obj5 = 0 ;
43490 PyObject * obj6 = 0 ;
43491 PyObject * obj7 = 0 ;
43492 PyObject * obj8 = 0 ;
43493 char * kwnames[] = {
43494 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43495 };
43496
43497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43499 if (!SWIG_IsOK(res1)) {
43500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43501 }
43502 arg1 = reinterpret_cast< wxWindow * >(argp1);
43503 if (obj1) {
43504 ecode2 = SWIG_AsVal_int(obj1, &val2);
43505 if (!SWIG_IsOK(ecode2)) {
43506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43507 }
43508 arg2 = static_cast< int >(val2);
43509 }
43510 if (obj2) {
43511 {
43512 arg3 = wxString_in_helper(obj2);
43513 if (arg3 == NULL) SWIG_fail;
43514 temp3 = true;
43515 }
43516 }
43517 if (obj3) {
43518 {
43519 arg4 = wxString_in_helper(obj3);
43520 if (arg4 == NULL) SWIG_fail;
43521 temp4 = true;
43522 }
43523 }
43524 if (obj4) {
43525 {
43526 arg5 = &temp5;
43527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43528 }
43529 }
43530 if (obj5) {
43531 {
43532 arg6 = &temp6;
43533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43534 }
43535 }
43536 if (obj6) {
43537 ecode7 = SWIG_AsVal_long(obj6, &val7);
43538 if (!SWIG_IsOK(ecode7)) {
43539 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
43540 }
43541 arg7 = static_cast< long >(val7);
43542 }
43543 if (obj7) {
43544 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43545 if (!SWIG_IsOK(res8)) {
43546 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43547 }
43548 if (!argp8) {
43549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
43550 }
43551 arg8 = reinterpret_cast< wxValidator * >(argp8);
43552 }
43553 if (obj8) {
43554 {
43555 arg9 = wxString_in_helper(obj8);
43556 if (arg9 == NULL) SWIG_fail;
43557 temp9 = true;
43558 }
43559 }
43560 {
43561 if (!wxPyCheckForApp()) SWIG_fail;
43562 PyThreadState* __tstate = wxPyBeginAllowThreads();
43563 result = (wxDirPickerCtrl *)new wxDirPickerCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43564 wxPyEndAllowThreads(__tstate);
43565 if (PyErr_Occurred()) SWIG_fail;
43566 }
43567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
43568 {
43569 if (temp3)
43570 delete arg3;
43571 }
43572 {
43573 if (temp4)
43574 delete arg4;
43575 }
43576 {
43577 if (temp9)
43578 delete arg9;
43579 }
43580 return resultobj;
43581fail:
43582 {
43583 if (temp3)
43584 delete arg3;
43585 }
43586 {
43587 if (temp4)
43588 delete arg4;
43589 }
43590 {
43591 if (temp9)
43592 delete arg9;
43593 }
43594 return NULL;
43595}
43596
43597
43598SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43599 PyObject *resultobj = 0;
43600 wxDirPickerCtrl *result = 0 ;
43601
43602 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
43603 {
43604 if (!wxPyCheckForApp()) SWIG_fail;
43605 PyThreadState* __tstate = wxPyBeginAllowThreads();
43606 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
43607 wxPyEndAllowThreads(__tstate);
43608 if (PyErr_Occurred()) SWIG_fail;
43609 }
43610 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
43611 return resultobj;
43612fail:
43613 return NULL;
43614}
43615
43616
43617SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43618 PyObject *resultobj = 0;
43619 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43620 wxWindow *arg2 = (wxWindow *) 0 ;
43621 int arg3 = (int) -1 ;
43622 wxString const &arg4_defvalue = wxPyEmptyString ;
43623 wxString *arg4 = (wxString *) &arg4_defvalue ;
43624 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
43625 wxString *arg5 = (wxString *) &arg5_defvalue ;
43626 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43627 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43628 wxSize const &arg7_defvalue = wxDefaultSize ;
43629 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43630 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
43631 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43632 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43633 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
43634 wxString *arg10 = (wxString *) &arg10_defvalue ;
43635 bool result;
43636 void *argp1 = 0 ;
43637 int res1 = 0 ;
43638 void *argp2 = 0 ;
43639 int res2 = 0 ;
43640 int val3 ;
43641 int ecode3 = 0 ;
43642 bool temp4 = false ;
43643 bool temp5 = false ;
43644 wxPoint temp6 ;
43645 wxSize temp7 ;
43646 long val8 ;
43647 int ecode8 = 0 ;
43648 void *argp9 = 0 ;
43649 int res9 = 0 ;
43650 bool temp10 = false ;
43651 PyObject * obj0 = 0 ;
43652 PyObject * obj1 = 0 ;
43653 PyObject * obj2 = 0 ;
43654 PyObject * obj3 = 0 ;
43655 PyObject * obj4 = 0 ;
43656 PyObject * obj5 = 0 ;
43657 PyObject * obj6 = 0 ;
43658 PyObject * obj7 = 0 ;
43659 PyObject * obj8 = 0 ;
43660 PyObject * obj9 = 0 ;
43661 char * kwnames[] = {
43662 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43663 };
43664
43665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43667 if (!SWIG_IsOK(res1)) {
43668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43669 }
43670 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43671 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43672 if (!SWIG_IsOK(res2)) {
43673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43674 }
43675 arg2 = reinterpret_cast< wxWindow * >(argp2);
43676 if (obj2) {
43677 ecode3 = SWIG_AsVal_int(obj2, &val3);
43678 if (!SWIG_IsOK(ecode3)) {
43679 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43680 }
43681 arg3 = static_cast< int >(val3);
43682 }
43683 if (obj3) {
43684 {
43685 arg4 = wxString_in_helper(obj3);
43686 if (arg4 == NULL) SWIG_fail;
43687 temp4 = true;
43688 }
43689 }
43690 if (obj4) {
43691 {
43692 arg5 = wxString_in_helper(obj4);
43693 if (arg5 == NULL) SWIG_fail;
43694 temp5 = true;
43695 }
43696 }
43697 if (obj5) {
43698 {
43699 arg6 = &temp6;
43700 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43701 }
43702 }
43703 if (obj6) {
43704 {
43705 arg7 = &temp7;
43706 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43707 }
43708 }
43709 if (obj7) {
43710 ecode8 = SWIG_AsVal_long(obj7, &val8);
43711 if (!SWIG_IsOK(ecode8)) {
43712 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
43713 }
43714 arg8 = static_cast< long >(val8);
43715 }
43716 if (obj8) {
43717 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43718 if (!SWIG_IsOK(res9)) {
43719 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43720 }
43721 if (!argp9) {
43722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
43723 }
43724 arg9 = reinterpret_cast< wxValidator * >(argp9);
43725 }
43726 if (obj9) {
43727 {
43728 arg10 = wxString_in_helper(obj9);
43729 if (arg10 == NULL) SWIG_fail;
43730 temp10 = true;
43731 }
43732 }
43733 {
43734 PyThreadState* __tstate = wxPyBeginAllowThreads();
43735 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
43736 wxPyEndAllowThreads(__tstate);
43737 if (PyErr_Occurred()) SWIG_fail;
43738 }
43739 {
43740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43741 }
43742 {
43743 if (temp4)
43744 delete arg4;
43745 }
43746 {
43747 if (temp5)
43748 delete arg5;
43749 }
43750 {
43751 if (temp10)
43752 delete arg10;
43753 }
43754 return resultobj;
43755fail:
43756 {
43757 if (temp4)
43758 delete arg4;
43759 }
43760 {
43761 if (temp5)
43762 delete arg5;
43763 }
43764 {
43765 if (temp10)
43766 delete arg10;
43767 }
43768 return NULL;
43769}
43770
43771
43772SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43773 PyObject *resultobj = 0;
43774 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43775 wxString result;
43776 void *argp1 = 0 ;
43777 int res1 = 0 ;
43778 PyObject *swig_obj[1] ;
43779
43780 if (!args) SWIG_fail;
43781 swig_obj[0] = args;
43782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43783 if (!SWIG_IsOK(res1)) {
43784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
43785 }
43786 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43787 {
43788 PyThreadState* __tstate = wxPyBeginAllowThreads();
43789 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
43790 wxPyEndAllowThreads(__tstate);
43791 if (PyErr_Occurred()) SWIG_fail;
43792 }
43793 {
43794#if wxUSE_UNICODE
43795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43796#else
43797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43798#endif
43799 }
43800 return resultobj;
43801fail:
43802 return NULL;
43803}
43804
43805
43806SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43807 PyObject *resultobj = 0;
43808 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
43809 wxString *arg2 = 0 ;
43810 void *argp1 = 0 ;
43811 int res1 = 0 ;
43812 bool temp2 = false ;
43813 PyObject * obj0 = 0 ;
43814 PyObject * obj1 = 0 ;
43815 char * kwnames[] = {
43816 (char *) "self",(char *) "str", NULL
43817 };
43818
43819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
43821 if (!SWIG_IsOK(res1)) {
43822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
43823 }
43824 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
43825 {
43826 arg2 = wxString_in_helper(obj1);
43827 if (arg2 == NULL) SWIG_fail;
43828 temp2 = true;
43829 }
43830 {
43831 PyThreadState* __tstate = wxPyBeginAllowThreads();
43832 (arg1)->SetPath((wxString const &)*arg2);
43833 wxPyEndAllowThreads(__tstate);
43834 if (PyErr_Occurred()) SWIG_fail;
43835 }
43836 resultobj = SWIG_Py_Void();
43837 {
43838 if (temp2)
43839 delete arg2;
43840 }
43841 return resultobj;
43842fail:
43843 {
43844 if (temp2)
43845 delete arg2;
43846 }
43847 return NULL;
43848}
43849
43850
43851SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43852 PyObject *obj;
43853 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43854 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
43855 return SWIG_Py_Void();
43856}
43857
43858SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43859 return SWIG_Python_InitShadowInstance(args);
43860}
43861
43862SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43863 PyObject *resultobj = 0;
43864 wxEventType arg1 ;
43865 wxObject *arg2 = (wxObject *) 0 ;
43866 int arg3 ;
43867 wxString *arg4 = 0 ;
43868 wxFileDirPickerEvent *result = 0 ;
43869 int val1 ;
43870 int ecode1 = 0 ;
43871 void *argp2 = 0 ;
43872 int res2 = 0 ;
43873 int val3 ;
43874 int ecode3 = 0 ;
43875 bool temp4 = false ;
43876 PyObject * obj0 = 0 ;
43877 PyObject * obj1 = 0 ;
43878 PyObject * obj2 = 0 ;
43879 PyObject * obj3 = 0 ;
43880 char * kwnames[] = {
43881 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
43882 };
43883
43884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
43885 ecode1 = SWIG_AsVal_int(obj0, &val1);
43886 if (!SWIG_IsOK(ecode1)) {
43887 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
43888 }
43889 arg1 = static_cast< wxEventType >(val1);
43890 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
43891 if (!SWIG_IsOK(res2)) {
43892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
43893 }
43894 arg2 = reinterpret_cast< wxObject * >(argp2);
43895 ecode3 = SWIG_AsVal_int(obj2, &val3);
43896 if (!SWIG_IsOK(ecode3)) {
43897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
43898 }
43899 arg3 = static_cast< int >(val3);
43900 {
43901 arg4 = wxString_in_helper(obj3);
43902 if (arg4 == NULL) SWIG_fail;
43903 temp4 = true;
43904 }
43905 {
43906 PyThreadState* __tstate = wxPyBeginAllowThreads();
43907 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
43908 wxPyEndAllowThreads(__tstate);
43909 if (PyErr_Occurred()) SWIG_fail;
43910 }
43911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
43912 {
43913 if (temp4)
43914 delete arg4;
43915 }
43916 return resultobj;
43917fail:
43918 {
43919 if (temp4)
43920 delete arg4;
43921 }
43922 return NULL;
43923}
43924
43925
43926SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43927 PyObject *resultobj = 0;
43928 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
43929 wxString result;
43930 void *argp1 = 0 ;
43931 int res1 = 0 ;
43932 PyObject *swig_obj[1] ;
43933
43934 if (!args) SWIG_fail;
43935 swig_obj[0] = args;
43936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
43937 if (!SWIG_IsOK(res1)) {
43938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
43939 }
43940 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
43941 {
43942 PyThreadState* __tstate = wxPyBeginAllowThreads();
43943 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
43944 wxPyEndAllowThreads(__tstate);
43945 if (PyErr_Occurred()) SWIG_fail;
43946 }
43947 {
43948#if wxUSE_UNICODE
43949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
43950#else
43951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
43952#endif
43953 }
43954 return resultobj;
43955fail:
43956 return NULL;
43957}
43958
43959
43960SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43961 PyObject *resultobj = 0;
43962 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
43963 wxString *arg2 = 0 ;
43964 void *argp1 = 0 ;
43965 int res1 = 0 ;
43966 bool temp2 = false ;
43967 PyObject * obj0 = 0 ;
43968 PyObject * obj1 = 0 ;
43969 char * kwnames[] = {
43970 (char *) "self",(char *) "p", NULL
43971 };
43972
43973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
43974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
43975 if (!SWIG_IsOK(res1)) {
43976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
43977 }
43978 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
43979 {
43980 arg2 = wxString_in_helper(obj1);
43981 if (arg2 == NULL) SWIG_fail;
43982 temp2 = true;
43983 }
43984 {
43985 PyThreadState* __tstate = wxPyBeginAllowThreads();
43986 (arg1)->SetPath((wxString const &)*arg2);
43987 wxPyEndAllowThreads(__tstate);
43988 if (PyErr_Occurred()) SWIG_fail;
43989 }
43990 resultobj = SWIG_Py_Void();
43991 {
43992 if (temp2)
43993 delete arg2;
43994 }
43995 return resultobj;
43996fail:
43997 {
43998 if (temp2)
43999 delete arg2;
44000 }
44001 return NULL;
44002}
44003
44004
44005SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44006 PyObject *obj;
44007 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44008 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
44009 return SWIG_Py_Void();
44010}
44011
44012SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44013 return SWIG_Python_InitShadowInstance(args);
44014}
44015
44016SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
44017 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
44018 return 1;
44019}
44020
44021
44022SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
44023 PyObject *pyobj = 0;
44024
44025 {
44026#if wxUSE_UNICODE
44027 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44028#else
44029 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
44030#endif
44031 }
44032 return pyobj;
44033}
44034
44035
44036SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44037 PyObject *resultobj = 0;
44038 wxWindow *arg1 = (wxWindow *) 0 ;
44039 int arg2 = (int) -1 ;
44040 wxFont const &arg3_defvalue = *wxNORMAL_FONT ;
44041 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
44042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
44043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
44044 wxSize const &arg5_defvalue = wxDefaultSize ;
44045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
44046 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
44047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
44048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
44049 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
44050 wxString *arg8 = (wxString *) &arg8_defvalue ;
44051 wxFontPickerCtrl *result = 0 ;
44052 void *argp1 = 0 ;
44053 int res1 = 0 ;
44054 int val2 ;
44055 int ecode2 = 0 ;
44056 void *argp3 = 0 ;
44057 int res3 = 0 ;
44058 wxPoint temp4 ;
44059 wxSize temp5 ;
44060 long val6 ;
44061 int ecode6 = 0 ;
44062 void *argp7 = 0 ;
44063 int res7 = 0 ;
44064 bool temp8 = false ;
44065 PyObject * obj0 = 0 ;
44066 PyObject * obj1 = 0 ;
44067 PyObject * obj2 = 0 ;
44068 PyObject * obj3 = 0 ;
44069 PyObject * obj4 = 0 ;
44070 PyObject * obj5 = 0 ;
44071 PyObject * obj6 = 0 ;
44072 PyObject * obj7 = 0 ;
44073 char * kwnames[] = {
44074 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44075 };
44076
44077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
44078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44079 if (!SWIG_IsOK(res1)) {
44080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44081 }
44082 arg1 = reinterpret_cast< wxWindow * >(argp1);
44083 if (obj1) {
44084 ecode2 = SWIG_AsVal_int(obj1, &val2);
44085 if (!SWIG_IsOK(ecode2)) {
44086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44087 }
44088 arg2 = static_cast< int >(val2);
44089 }
44090 if (obj2) {
44091 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44092 if (!SWIG_IsOK(res3)) {
44093 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44094 }
44095 if (!argp3) {
44096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44097 }
44098 arg3 = reinterpret_cast< wxFont * >(argp3);
44099 }
44100 if (obj3) {
44101 {
44102 arg4 = &temp4;
44103 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44104 }
44105 }
44106 if (obj4) {
44107 {
44108 arg5 = &temp5;
44109 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44110 }
44111 }
44112 if (obj5) {
44113 ecode6 = SWIG_AsVal_long(obj5, &val6);
44114 if (!SWIG_IsOK(ecode6)) {
44115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
44116 }
44117 arg6 = static_cast< long >(val6);
44118 }
44119 if (obj6) {
44120 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
44121 if (!SWIG_IsOK(res7)) {
44122 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44123 }
44124 if (!argp7) {
44125 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
44126 }
44127 arg7 = reinterpret_cast< wxValidator * >(argp7);
44128 }
44129 if (obj7) {
44130 {
44131 arg8 = wxString_in_helper(obj7);
44132 if (arg8 == NULL) SWIG_fail;
44133 temp8 = true;
44134 }
44135 }
44136 {
44137 if (!wxPyCheckForApp()) SWIG_fail;
44138 PyThreadState* __tstate = wxPyBeginAllowThreads();
44139 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
44140 wxPyEndAllowThreads(__tstate);
44141 if (PyErr_Occurred()) SWIG_fail;
44142 }
44143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
44144 {
44145 if (temp8)
44146 delete arg8;
44147 }
44148 return resultobj;
44149fail:
44150 {
44151 if (temp8)
44152 delete arg8;
44153 }
44154 return NULL;
44155}
44156
44157
44158SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44159 PyObject *resultobj = 0;
44160 wxFontPickerCtrl *result = 0 ;
44161
44162 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
44163 {
44164 if (!wxPyCheckForApp()) SWIG_fail;
44165 PyThreadState* __tstate = wxPyBeginAllowThreads();
44166 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
44167 wxPyEndAllowThreads(__tstate);
44168 if (PyErr_Occurred()) SWIG_fail;
44169 }
44170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
44171 return resultobj;
44172fail:
44173 return NULL;
44174}
44175
44176
44177SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44178 PyObject *resultobj = 0;
44179 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44180 wxWindow *arg2 = (wxWindow *) 0 ;
44181 int arg3 = (int) -1 ;
44182 wxFont const &arg4_defvalue = *wxNORMAL_FONT ;
44183 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
44184 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44185 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44186 wxSize const &arg6_defvalue = wxDefaultSize ;
44187 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44188 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
44189 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44190 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44191 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
44192 wxString *arg9 = (wxString *) &arg9_defvalue ;
44193 bool result;
44194 void *argp1 = 0 ;
44195 int res1 = 0 ;
44196 void *argp2 = 0 ;
44197 int res2 = 0 ;
44198 int val3 ;
44199 int ecode3 = 0 ;
44200 void *argp4 = 0 ;
44201 int res4 = 0 ;
44202 wxPoint temp5 ;
44203 wxSize temp6 ;
44204 long val7 ;
44205 int ecode7 = 0 ;
44206 void *argp8 = 0 ;
44207 int res8 = 0 ;
44208 bool temp9 = false ;
44209 PyObject * obj0 = 0 ;
44210 PyObject * obj1 = 0 ;
44211 PyObject * obj2 = 0 ;
44212 PyObject * obj3 = 0 ;
44213 PyObject * obj4 = 0 ;
44214 PyObject * obj5 = 0 ;
44215 PyObject * obj6 = 0 ;
44216 PyObject * obj7 = 0 ;
44217 PyObject * obj8 = 0 ;
44218 char * kwnames[] = {
44219 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44220 };
44221
44222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44224 if (!SWIG_IsOK(res1)) {
44225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44226 }
44227 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44228 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44229 if (!SWIG_IsOK(res2)) {
44230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44231 }
44232 arg2 = reinterpret_cast< wxWindow * >(argp2);
44233 if (obj2) {
44234 ecode3 = SWIG_AsVal_int(obj2, &val3);
44235 if (!SWIG_IsOK(ecode3)) {
44236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44237 }
44238 arg3 = static_cast< int >(val3);
44239 }
44240 if (obj3) {
44241 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
44242 if (!SWIG_IsOK(res4)) {
44243 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44244 }
44245 if (!argp4) {
44246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
44247 }
44248 arg4 = reinterpret_cast< wxFont * >(argp4);
44249 }
44250 if (obj4) {
44251 {
44252 arg5 = &temp5;
44253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44254 }
44255 }
44256 if (obj5) {
44257 {
44258 arg6 = &temp6;
44259 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44260 }
44261 }
44262 if (obj6) {
44263 ecode7 = SWIG_AsVal_long(obj6, &val7);
44264 if (!SWIG_IsOK(ecode7)) {
44265 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
44266 }
44267 arg7 = static_cast< long >(val7);
44268 }
44269 if (obj7) {
44270 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44271 if (!SWIG_IsOK(res8)) {
44272 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44273 }
44274 if (!argp8) {
44275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
44276 }
44277 arg8 = reinterpret_cast< wxValidator * >(argp8);
44278 }
44279 if (obj8) {
44280 {
44281 arg9 = wxString_in_helper(obj8);
44282 if (arg9 == NULL) SWIG_fail;
44283 temp9 = true;
44284 }
44285 }
44286 {
44287 PyThreadState* __tstate = wxPyBeginAllowThreads();
44288 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
44289 wxPyEndAllowThreads(__tstate);
44290 if (PyErr_Occurred()) SWIG_fail;
44291 }
44292 {
44293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44294 }
44295 {
44296 if (temp9)
44297 delete arg9;
44298 }
44299 return resultobj;
44300fail:
44301 {
44302 if (temp9)
44303 delete arg9;
44304 }
44305 return NULL;
44306}
44307
44308
44309SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44310 PyObject *resultobj = 0;
44311 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44312 wxFont result;
44313 void *argp1 = 0 ;
44314 int res1 = 0 ;
44315 PyObject *swig_obj[1] ;
44316
44317 if (!args) SWIG_fail;
44318 swig_obj[0] = args;
44319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44320 if (!SWIG_IsOK(res1)) {
44321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44322 }
44323 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44324 {
44325 PyThreadState* __tstate = wxPyBeginAllowThreads();
44326 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
44327 wxPyEndAllowThreads(__tstate);
44328 if (PyErr_Occurred()) SWIG_fail;
44329 }
44330 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
44331 return resultobj;
44332fail:
44333 return NULL;
44334}
44335
44336
44337SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44338 PyObject *resultobj = 0;
44339 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44340 wxFont *arg2 = 0 ;
44341 void *argp1 = 0 ;
44342 int res1 = 0 ;
44343 void *argp2 = 0 ;
44344 int res2 = 0 ;
44345 PyObject * obj0 = 0 ;
44346 PyObject * obj1 = 0 ;
44347 char * kwnames[] = {
44348 (char *) "self",(char *) "f", NULL
44349 };
44350
44351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
44352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44353 if (!SWIG_IsOK(res1)) {
44354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44355 }
44356 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44357 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
44358 if (!SWIG_IsOK(res2)) {
44359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44360 }
44361 if (!argp2) {
44362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44363 }
44364 arg2 = reinterpret_cast< wxFont * >(argp2);
44365 {
44366 PyThreadState* __tstate = wxPyBeginAllowThreads();
44367 (arg1)->SetSelectedFont((wxFont const &)*arg2);
44368 wxPyEndAllowThreads(__tstate);
44369 if (PyErr_Occurred()) SWIG_fail;
44370 }
44371 resultobj = SWIG_Py_Void();
44372 return resultobj;
44373fail:
44374 return NULL;
44375}
44376
44377
44378SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44379 PyObject *resultobj = 0;
44380 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44381 unsigned int arg2 ;
44382 void *argp1 = 0 ;
44383 int res1 = 0 ;
44384 unsigned int val2 ;
44385 int ecode2 = 0 ;
44386 PyObject * obj0 = 0 ;
44387 PyObject * obj1 = 0 ;
44388 char * kwnames[] = {
44389 (char *) "self",(char *) "max", NULL
44390 };
44391
44392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
44393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44394 if (!SWIG_IsOK(res1)) {
44395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
44396 }
44397 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44398 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
44399 if (!SWIG_IsOK(ecode2)) {
44400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
44401 }
44402 arg2 = static_cast< unsigned int >(val2);
44403 {
44404 PyThreadState* __tstate = wxPyBeginAllowThreads();
44405 (arg1)->SetMaxPointSize(arg2);
44406 wxPyEndAllowThreads(__tstate);
44407 if (PyErr_Occurred()) SWIG_fail;
44408 }
44409 resultobj = SWIG_Py_Void();
44410 return resultobj;
44411fail:
44412 return NULL;
44413}
44414
44415
44416SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44417 PyObject *resultobj = 0;
44418 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
44419 unsigned int result;
44420 void *argp1 = 0 ;
44421 int res1 = 0 ;
44422 PyObject *swig_obj[1] ;
44423
44424 if (!args) SWIG_fail;
44425 swig_obj[0] = args;
44426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
44427 if (!SWIG_IsOK(res1)) {
44428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
44429 }
44430 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
44431 {
44432 PyThreadState* __tstate = wxPyBeginAllowThreads();
44433 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
44434 wxPyEndAllowThreads(__tstate);
44435 if (PyErr_Occurred()) SWIG_fail;
44436 }
44437 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
44438 return resultobj;
44439fail:
44440 return NULL;
44441}
44442
44443
44444SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44445 PyObject *obj;
44446 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44447 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
44448 return SWIG_Py_Void();
44449}
44450
44451SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44452 return SWIG_Python_InitShadowInstance(args);
44453}
44454
44455SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44456 PyObject *resultobj = 0;
44457 wxObject *arg1 = (wxObject *) 0 ;
44458 int arg2 ;
44459 wxFont *arg3 = 0 ;
44460 wxFontPickerEvent *result = 0 ;
44461 void *argp1 = 0 ;
44462 int res1 = 0 ;
44463 int val2 ;
44464 int ecode2 = 0 ;
44465 void *argp3 = 0 ;
44466 int res3 = 0 ;
44467 PyObject * obj0 = 0 ;
44468 PyObject * obj1 = 0 ;
44469 PyObject * obj2 = 0 ;
44470 char * kwnames[] = {
44471 (char *) "generator",(char *) "id",(char *) "f", NULL
44472 };
44473
44474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
44475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
44476 if (!SWIG_IsOK(res1)) {
44477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
44478 }
44479 arg1 = reinterpret_cast< wxObject * >(argp1);
44480 ecode2 = SWIG_AsVal_int(obj1, &val2);
44481 if (!SWIG_IsOK(ecode2)) {
44482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
44483 }
44484 arg2 = static_cast< int >(val2);
44485 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
44486 if (!SWIG_IsOK(res3)) {
44487 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44488 }
44489 if (!argp3) {
44490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
44491 }
44492 arg3 = reinterpret_cast< wxFont * >(argp3);
44493 {
44494 PyThreadState* __tstate = wxPyBeginAllowThreads();
44495 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
44496 wxPyEndAllowThreads(__tstate);
44497 if (PyErr_Occurred()) SWIG_fail;
44498 }
44499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
44500 return resultobj;
44501fail:
44502 return NULL;
44503}
44504
44505
44506SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44507 PyObject *resultobj = 0;
44508 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
44509 wxFont result;
44510 void *argp1 = 0 ;
44511 int res1 = 0 ;
44512 PyObject *swig_obj[1] ;
44513
44514 if (!args) SWIG_fail;
44515 swig_obj[0] = args;
44516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
44517 if (!SWIG_IsOK(res1)) {
44518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
44519 }
44520 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
44521 {
44522 PyThreadState* __tstate = wxPyBeginAllowThreads();
44523 result = ((wxFontPickerEvent const *)arg1)->GetFont();
44524 wxPyEndAllowThreads(__tstate);
44525 if (PyErr_Occurred()) SWIG_fail;
44526 }
44527 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
44528 return resultobj;
44529fail:
44530 return NULL;
44531}
44532
44533
44534SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44535 PyObject *resultobj = 0;
44536 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
44537 wxFont *arg2 = 0 ;
44538 void *argp1 = 0 ;
44539 int res1 = 0 ;
44540 void *argp2 = 0 ;
44541 int res2 = 0 ;
44542 PyObject * obj0 = 0 ;
44543 PyObject * obj1 = 0 ;
44544 char * kwnames[] = {
44545 (char *) "self",(char *) "c", NULL
44546 };
44547
44548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
44549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
44550 if (!SWIG_IsOK(res1)) {
44551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
44552 }
44553 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
44554 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
44555 if (!SWIG_IsOK(res2)) {
44556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44557 }
44558 if (!argp2) {
44559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
44560 }
44561 arg2 = reinterpret_cast< wxFont * >(argp2);
44562 {
44563 PyThreadState* __tstate = wxPyBeginAllowThreads();
44564 (arg1)->SetFont((wxFont const &)*arg2);
44565 wxPyEndAllowThreads(__tstate);
44566 if (PyErr_Occurred()) SWIG_fail;
44567 }
44568 resultobj = SWIG_Py_Void();
44569 return resultobj;
44570fail:
44571 return NULL;
44572}
44573
44574
44575SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44576 PyObject *obj;
44577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44578 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
44579 return SWIG_Py_Void();
44580}
44581
44582SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44583 return SWIG_Python_InitShadowInstance(args);
44584}
44585
44586static PyMethodDef SwigMethods[] = {
44587 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
44588 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
44589 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44590 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
44591 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
44592 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44593 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
44594 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
44595 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
44596 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
44597 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44598 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
44599 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
44600 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
44601 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
44602 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
44603 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
44604 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
44605 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
44606 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
44607 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
44608 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
44609 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
44610 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
44611 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
44612 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
44613 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
44614 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
44615 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44616 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
44617 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
44618 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44619 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
44620 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
44621 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
44622 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
44623 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44624 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
44625 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
44626 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
44627 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
44628 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44629 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
44630 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44631 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
44632 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
44633 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
44634 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
44635 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44636 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
44637 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44638 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
44639 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
44640 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
44641 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
44642 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
44643 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
44644 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
44645 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
44646 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
44647 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
44648 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44649 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
44650 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
44651 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
44652 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
44653 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
44654 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
44655 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
44656 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
44657 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
44658 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
44659 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
44660 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
44661 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
44662 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44663 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
44664 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
44665 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
44666 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
44667 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44668 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44669 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
44670 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44671 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
44672 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
44673 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
44674 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
44675 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
44676 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
44677 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44678 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
44679 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
44680 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
44681 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
44682 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44683 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44684 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
44685 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
44686 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
44687 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
44688 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44689 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
44690 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
44691 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44692 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
44693 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
44694 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
44695 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
44696 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44697 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
44698 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44699 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
44700 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
44701 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44702 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
44703 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44704 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
44705 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
44706 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
44707 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44708 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
44709 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
44710 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
44711 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
44712 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44713 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
44714 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
44715 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
44716 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
44717 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44718 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
44719 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
44720 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
44721 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44722 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
44723 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
44724 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
44725 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
44726 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
44727 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
44728 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
44729 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44730 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44731 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
44732 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44733 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
44734 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
44735 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
44736 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
44737 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44738 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
44739 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
44740 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
44741 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
44742 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
44743 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
44744 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
44745 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
44746 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
44747 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
44748 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
44749 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
44750 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
44751 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
44752 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
44753 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
44754 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
44755 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
44756 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
44757 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
44758 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
44759 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
44760 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
44761 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
44762 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
44763 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
44764 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
44765 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
44766 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
44767 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
44768 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
44769 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
44770 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
44771 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
44772 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
44773 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
44774 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
44775 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
44776 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
44777 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
44778 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44779 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
44780 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44781 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44782 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
44783 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
44784 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
44785 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
44786 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
44787 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
44788 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
44789 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
44790 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
44791 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
44792 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
44793 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
44794 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
44795 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
44796 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
44797 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
44798 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
44799 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
44800 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
44801 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
44802 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
44803 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
44804 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
44805 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
44806 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44807 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
44808 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44809 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
44810 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
44811 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
44812 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
44813 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
44814 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
44815 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
44816 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
44817 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
44818 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
44819 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
44820 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
44821 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
44822 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
44823 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
44824 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
44825 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44826 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
44827 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
44828 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
44829 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
44830 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44831 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
44832 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
44833 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44834 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
44835 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
44836 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
44837 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
44838 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
44839 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
44840 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
44841 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44842 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
44843 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
44844 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
44845 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
44846 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
44847 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44848 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44849 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
44850 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
44851 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
44852 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
44853 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44854 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
44855 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
44856 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
44857 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44858 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
44859 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
44860 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44861 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
44862 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44863 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
44864 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
44865 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
44866 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
44867 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44868 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
44869 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44870 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
44871 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44872 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
44873 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
44874 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44875 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44876 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
44877 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
44878 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44879 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
44880 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
44881 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
44882 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
44883 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
44884 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
44885 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44886 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44887 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
44888 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
44889 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44890 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
44891 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
44892 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
44893 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
44894 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
44895 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
44896 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
44897 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
44898 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
44899 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
44900 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
44901 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
44902 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
44903 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
44904 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
44905 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44906 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
44907 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
44908 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
44909 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
44910 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44911 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
44912 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44913 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44914 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
44915 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
44916 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
44917 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
44918 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44919 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
44920 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44921 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
44922 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
44923 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
44924 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
44925 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
44926 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
44927 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
44928 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
44929 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
44930 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
44931 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
44932 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
44933 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
44934 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
44935 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
44936 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
44937 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
44938 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
44939 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44940 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44941 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
44942 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
44943 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
44944 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
44945 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44946 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
44947 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
44948 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44949 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
44950 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
44951 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
44952 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
44953 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
44954 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
44955 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
44956 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
44957 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
44958 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
44959 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
44960 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
44961 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
44962 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
44963 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
44964 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
44965 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 44966 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
44967 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
44968 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
0085ce49
RD
44969 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
44970 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 44971 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
0085ce49
RD
44972 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
44973 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
44974 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
44975 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
44976 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
44977 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44978 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 44979 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
44980 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44981 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
44982 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
44983 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
44984 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44985 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
44986 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
44987 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
44988 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
44989 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
44990 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
44991 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
44992 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
44993 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
44994 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
44995 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
44996 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
44997 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
44998 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
44999 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45000 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
45001 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
45002 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
45003 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
45004 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45005 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
45006 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
45007 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
45008 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45009 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
45010 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
45011 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
45012 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
45013 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45014 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
45015 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
45016 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
45017 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45018 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
45019 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
45020 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
45021 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
45022 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45023 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45024 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
45025 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45026 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
45027 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
45028 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
45029 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
45030 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
45031 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
45032 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45033 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
45034 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
45035 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
45036 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
45037 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45038 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
45039 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
45040 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
45041 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
45042 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45043 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
45044 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
45045 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
45046 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
45047 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
45048 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
45049 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
45050 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
45051 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
45052 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
45053 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
45054 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
45055 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
45056 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
45057 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
45058 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
45059 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
45060 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
45061 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
45062 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
45063 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
45064 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45065 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45066 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45067 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45068 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45069 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45070 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
45071 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
45072 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
45073 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45074 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
45075 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
45076 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
45077 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45078 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
45079 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
45080 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
45081 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
45082 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
45083 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
45084 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
45085 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
45086 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
45087 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
45088 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
45089 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
45090 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
45091 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
45092 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45093 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
45094 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
45095 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
45096 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
45097 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45098 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45099 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45100 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45101 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
45102 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
45103 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
45104 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
45105 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
45106 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
45107 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
45108 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
45109 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
45110 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
45111 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
45112 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
45113 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
45114 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
45115 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
45116 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45117 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
45118 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
45119 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
45120 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
45121 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
45122 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
45123 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45124 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45125 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
45126 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
45127 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
45128 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
45129 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45130 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45131 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45132 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
45133 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
45134 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
45135 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
45136 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
45137 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
45138 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
45139 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
45140 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
45141 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
45142 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
45143 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
45144 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
45145 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
45146 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
45147 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45148 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45149 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
45150 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
45151 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
45152 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
45153 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45154 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45155 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
45156 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45157 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45158 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45159 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
45160 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
45161 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
45162 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
45163 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
45164 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
45165 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
45166 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
45167 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
45168 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
45169 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
45170 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
45171 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
45172 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
45173 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
45174 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
45175 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
45176 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
45177 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
45178 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
45179 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
45180 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
45181 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
45182 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
45183 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
45184 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
45185 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
45186 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
45187 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
45188 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
45189 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
45190 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
45191 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
45192 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
45193 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
45194 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
45195 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45196 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
45197 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
45198 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
45199 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
45200 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
45201 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
45202 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
45203 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
45204 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
45205 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
45206 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
45207 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
45208 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
45209 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
45210 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
45211 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
45212 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
45213 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
45214 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
45215 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
45216 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
45217 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
45218 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
45219 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
45220 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
45221 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
45222 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
45223 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45224 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
45225 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45226 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45227 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45228 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45229 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45230 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
45231 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
45232 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
45233 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
45234 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45235 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45236 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45237 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
45238 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
45239 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45240 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45241 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45242 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45243 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45244 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45245 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45246 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
45247 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45248 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
45249 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
45250 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
45251 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
45252 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
45253 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
45254 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45255 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
45256 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
45257 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
45258 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45259 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45260 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45261 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
45262 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
45263 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
45264 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
45265 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
45266 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
45267 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
45268 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45269 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
45270 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
45271 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45272 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45273 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
45274 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45275 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
45276 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45277 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45278 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
45279 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45280 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
45281 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
45282 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
45283 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
45284 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
45285 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
45286 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45287 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45288 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45289 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45290 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45291 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45292 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
45293 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
45294 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
45295 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
45296 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
45297 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
45298 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
45299 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45300 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
45301 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
45302 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
45303 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45304 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
45305 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45306 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45307 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
45308 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
45309 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
45310 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
45311 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
45312 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
45313 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
45314 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
45315 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
45316 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
45317 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
45318 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
45319 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45320 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
45321 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
45322 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
45323 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
45324 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
45325 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
45326 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
45327 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
45328 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45329 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
45330 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
45331 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
45332 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
45333 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
45334 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
45335 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
45336 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
45337 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45338 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
45339 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45340 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
45341 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
45342 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
45343 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
45344 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
45345 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
45346 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45347 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
45348 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45349 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45350 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
45351 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
45352 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
45353 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
45354 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
45355 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
45356 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
45357 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45358 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45359 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45360 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
45361 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45362 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45363 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45364 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
45365 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45366 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45367 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45368 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
45369 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
45370 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
45371 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
45372 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45373 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
45374 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
45375 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
45376 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
45377 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
45378 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45379 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45380 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
45381 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
45382 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
45383 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
45384 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
45385 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
45386 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
45387 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
45388 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
45389 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
45390 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
45391 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
45392 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
45393 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
45394 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45395 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45396 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
45397 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
45398 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
45399 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
45400 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
45401 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
45402 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45403 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
45404 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
45405 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
45406 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
45407 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
45408 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
45409 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
45410 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
45411 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
45412 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
45413 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
45414 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
45415 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
45416 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
45417 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
45418 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
45419 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
45420 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
45421 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
45422 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
0085ce49
RD
45423 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
45424 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
45425 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45426 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
45427 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45428 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 45429 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45430 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
45431 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
45432 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
45433 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
45434 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45435 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
45436 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
45437 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
45438 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
45439 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
45440 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
45441 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
45442 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
45443 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
45444 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
45445 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
45446 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
45447 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
45448 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
45449 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45450 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
45451 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45452 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
45453 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
45454 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
45455 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
45456 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
45457 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
45458 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
45459 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
45460 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45461 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
45462 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
45463 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
45464 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
45465 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
45466 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
45467 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
45468 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
45469 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
45470 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
45471 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
45472 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
45473 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45474 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
45475 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
45476 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
45477 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
45478 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
45479 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
45480 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
45481 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45482 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
45483 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
45484 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45485 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
45486 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45487 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
45488 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
45489 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
45490 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
45491 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
45492 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 45493 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
0085ce49
RD
45494 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
45495 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
45496 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45497 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 45498 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
45499 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45500 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
45501 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
45502 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
45503 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
45504 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
45505 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
45506 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
45507 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
45508 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
45509 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
45510 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
45511 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
45512 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
45513 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
45514 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
45515 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
45516 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
45517 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
45518 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
45519 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
45520 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
45521 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
45522 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
45523 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
45524 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
45525 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
45526 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45527 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
45528 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45529 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
45530 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
45531 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
45532 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
45533 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
45534 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
45535 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
45536 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45537 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
45538 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45539 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
45540 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
45541 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
45542 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
45543 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
45544 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
45545 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
45546 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
45547 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
45548 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
45549 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
45550 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
45551 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45552 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
45553 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
45554 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
45555 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
45556 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
45557 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
45558 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
45559 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
45560 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
45561 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
45562 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
45563 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
45564 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
45565 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45566 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
45567 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45568 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
45569 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
45570 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
45571 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
45572 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45573 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
45574 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
45575 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
45576 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
45577 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45578 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
45579 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45580 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
45581 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45582 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
45583 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
45584 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45585 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
45586 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45587 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
45588 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45589 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
45590 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
45591 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45592 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
45593 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
45594 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
45595 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
45596 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
45597 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
45598 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
45599 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
45600 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
45601 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
45602 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
45603 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
45604 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
45605 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
45606 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
45607 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
45608 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
45609 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
0085ce49
RD
45610 { NULL, NULL, 0, NULL }
45611};
45612
45613
45614/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45615
45616static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
45617 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
45618}
45619static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
45620 return (void *)((wxEvent *) ((wxMenuEvent *) x));
45621}
45622static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
45623 return (void *)((wxEvent *) ((wxCloseEvent *) x));
45624}
45625static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
45626 return (void *)((wxEvent *) ((wxMouseEvent *) x));
45627}
45628static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
45629 return (void *)((wxEvent *) ((wxEraseEvent *) x));
45630}
45631static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
45632 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
45633}
45634static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
45635 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
45636}
45637static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
45638 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
45639}
b850e7f3
RD
45640static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
45641 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
45642}
45643static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
45644 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
45645}
45646static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
45647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
45648}
0085ce49
RD
45649static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
45650 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
45651}
45652static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
45653 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
45654}
45655static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
45656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
45657}
0085ce49
RD
45658static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
45659 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
45660}
2131d850
RD
45661static void *_p_wxPyEventTo_p_wxEvent(void *x) {
45662 return (void *)((wxEvent *) ((wxPyEvent *) x));
45663}
0085ce49
RD
45664static void *_p_wxListEventTo_p_wxEvent(void *x) {
45665 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
45666}
45667static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
45668 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
45669}
45670static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
45671 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
45672}
45673static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
45674 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
45675}
45676static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
45677 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
45678}
45679static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
45680 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
45681}
45682static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
45683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
45684}
45685static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
45686 return (void *)((wxEvent *) ((wxIdleEvent *) x));
45687}
45688static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
45689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
45690}
45691static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
45692 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
45693}
45694static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
45695 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
45696}
45697static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
45698 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
45699}
45700static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
45701 return (void *)((wxEvent *) ((wxActivateEvent *) x));
45702}
45703static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
45704 return (void *)((wxEvent *) ((wxSizeEvent *) x));
45705}
45706static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
45707 return (void *)((wxEvent *) ((wxMoveEvent *) x));
45708}
45709static void *_p_wxDateEventTo_p_wxEvent(void *x) {
45710 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
45711}
2131d850
RD
45712static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
45713 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
45714}
0085ce49
RD
45715static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
45716 return (void *)((wxEvent *) ((wxPaintEvent *) x));
45717}
45718static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
45719 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
45720}
45721static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
45722 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
45723}
45724static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
45725 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
45726}
45727static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
45728 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
45729}
45730static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
45731 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
45732}
45733static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
45734 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
45735}
704eda0c
RD
45736static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
45737 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
45738}
0085ce49
RD
45739static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
45740 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
45741}
45742static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
45743 return (void *)((wxEvent *) ((wxFocusEvent *) x));
45744}
45745static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
45746 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
45747}
45748static void *_p_wxShowEventTo_p_wxEvent(void *x) {
45749 return (void *)((wxEvent *) ((wxShowEvent *) x));
45750}
45751static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
45752 return (void *)((wxEvent *) ((wxCommandEvent *) x));
45753}
45754static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
45755 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
45756}
45757static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
45758 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
45759}
45760static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
45761 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
45762}
45763static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
45764 return (void *)((wxEvent *) ((wxKeyEvent *) x));
45765}
45766static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
45767 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
45768}
45769static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
45770 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
45771}
b850e7f3
RD
45772static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
45773 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
45774}
45775static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
45776 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
45777}
45778static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
45779 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
45780}
45781static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
45782 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
45783}
0085ce49
RD
45784static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
45785 return (void *)((wxItemContainer *) ((wxComboBox *) x));
45786}
45787static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
45788 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
45789}
45790static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
45791 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
45792}
45793static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
45794 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
45795}
45796static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
45797 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
45798}
45799static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
45800 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
45801}
45802static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
45803 return (void *)((wxPyListCtrl *) ((wxListView *) x));
45804}
45805static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
45806 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
45807}
45808static void *_p_wxToolBarTo_p_wxControl(void *x) {
45809 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
45810}
b850e7f3
RD
45811static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
45812 return (void *)((wxControl *) ((wxPickerBase *) x));
45813}
0085ce49
RD
45814static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
45815 return (void *)((wxControl *) ((wxToggleButton *) x));
45816}
45817static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
45818 return (void *)((wxControl *) ((wxRadioButton *) x));
45819}
45820static void *_p_wxToolbookTo_p_wxControl(void *x) {
45821 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
45822}
45823static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
45824 return (void *)((wxControl *) ((wxToolBarBase *) x));
45825}
45826static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
45827 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
45828}
45829static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
45830 return (void *)((wxControl *) ((wxPyListCtrl *) x));
45831}
45832static void *_p_wxComboBoxTo_p_wxControl(void *x) {
45833 return (void *)((wxControl *) ((wxComboBox *) x));
45834}
45835static void *_p_wxPyControlTo_p_wxControl(void *x) {
45836 return (void *)((wxControl *) ((wxPyControl *) x));
45837}
45838static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
45839 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
45840}
45841static void *_p_wxScrollBarTo_p_wxControl(void *x) {
45842 return (void *)((wxControl *) ((wxScrollBar *) x));
45843}
45844static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
45845 return (void *)((wxControl *) ((wxControlWithItems *) x));
45846}
45847static void *_p_wxGaugeTo_p_wxControl(void *x) {
45848 return (void *)((wxControl *) ((wxGauge *) x));
45849}
45850static void *_p_wxStaticLineTo_p_wxControl(void *x) {
45851 return (void *)((wxControl *) ((wxStaticLine *) x));
45852}
45853static void *_p_wxChoicebookTo_p_wxControl(void *x) {
45854 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
45855}
45856static void *_p_wxListbookTo_p_wxControl(void *x) {
45857 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
45858}
704eda0c
RD
45859static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
45860 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
45861}
0085ce49
RD
45862static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
45863 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
45864}
45865static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
45866 return (void *)((wxControl *) ((wxCheckBox *) x));
45867}
45868static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
45869 return (void *)((wxControl *) ((wxRadioBox *) x));
45870}
45871static void *_p_wxChoiceTo_p_wxControl(void *x) {
45872 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
45873}
45874static void *_p_wxListBoxTo_p_wxControl(void *x) {
45875 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
45876}
45877static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
45878 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
45879}
45880static void *_p_wxListViewTo_p_wxControl(void *x) {
45881 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
45882}
45883static void *_p_wxNotebookTo_p_wxControl(void *x) {
45884 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
45885}
45886static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
45887 return (void *)((wxControl *) ((wxStaticBitmap *) x));
45888}
45889static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
45890 return (void *)((wxControl *) ((wxSpinCtrl *) x));
45891}
45892static void *_p_wxStaticTextTo_p_wxControl(void *x) {
45893 return (void *)((wxControl *) ((wxStaticText *) x));
45894}
45895static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
45896 return (void *)((wxControl *) ((wxStaticBox *) x));
45897}
45898static void *_p_wxSliderTo_p_wxControl(void *x) {
45899 return (void *)((wxControl *) ((wxSlider *) x));
45900}
45901static void *_p_wxTreebookTo_p_wxControl(void *x) {
45902 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
45903}
45904static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
45905 return (void *)((wxControl *) ((wxSpinButton *) x));
45906}
45907static void *_p_wxButtonTo_p_wxControl(void *x) {
45908 return (void *)((wxControl *) ((wxButton *) x));
45909}
45910static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
45911 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
45912}
45913static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
45914 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
45915}
45916static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
45917 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
45918}
b850e7f3
RD
45919static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
45920 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
45921}
45922static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
45923 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
45924}
45925static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
45926 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
45927}
45928static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
45929 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
45930}
0085ce49
RD
45931static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
45932 return (void *)((wxControl *) ((wxTextCtrl *) x));
45933}
45934static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
45935 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
45936}
45937static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
45938 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
45939}
45940static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
45941 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
45942}
45943static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
45944 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
45945}
45946static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
45947 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
45948}
45949static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
45950 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
45951}
45952static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
45953 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
45954}
45955static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
45956 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
45957}
45958static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
45959 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
45960}
45961static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
45962 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
45963}
45964static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
45965 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
45966}
45967static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
45968 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
45969}
45970static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
45971 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
45972}
45973static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
45974 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
45975}
45976static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
45977 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
45978}
45979static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
45980 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
45981}
45982static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
45983 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
45984}
45985static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
45986 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
45987}
45988static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
45989 return (void *)((wxEvtHandler *) ((wxValidator *) x));
45990}
45991static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
45992 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
45993}
45994static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
45995 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
45996}
b850e7f3
RD
45997static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
45998 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
45999}
0085ce49
RD
46000static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
46001 return (void *)((wxEvtHandler *) ((wxMenu *) x));
46002}
46003static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
46004 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
46005}
46006static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
46007 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
46008}
46009static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
46010 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46011}
46012static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
46013 return (void *)((wxEvtHandler *) ((wxWindow *) x));
46014}
46015static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
46016 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
46017}
46018static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
46019 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
46020}
46021static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
46022 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46023}
46024static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
46025 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46026}
46027static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
46028 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46029}
46030static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
46031 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
46032}
46033static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
46034 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
46035}
46036static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
46037 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46038}
46039static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
46040 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
46041}
46042static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
46043 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46044}
46045static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
46046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
46047}
46048static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
46049 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
46050}
46051static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
46052 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46053}
46054static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
46055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46056}
704eda0c
RD
46057static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
46058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46059}
0085ce49
RD
46060static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
46061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46062}
46063static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
46064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
46065}
46066static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
46067 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
46068}
46069static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
46070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46071}
46072static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
46073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46074}
46075static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
46076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46077}
46078static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
46079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46080}
46081static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
46082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46083}
46084static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
46085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46086}
46087static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
46088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46089}
46090static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
46091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
46092}
46093static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
46094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
46095}
46096static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
46097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
46098}
46099static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
46100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46101}
46102static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
46103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
46104}
46105static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
46106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
46107}
46108static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
46109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46110}
46111static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
46112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46113}
46114static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
46115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46116}
b850e7f3
RD
46117static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
46118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46119}
46120static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
46121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46122}
46123static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
46124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46125}
46126static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
46127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46128}
0085ce49
RD
46129static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
46130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46131}
46132static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
46133 return (void *)((wxListBox *) ((wxCheckListBox *) x));
46134}
46135static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
46136 return (void *)((wxButton *) ((wxBitmapButton *) x));
46137}
46138static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
46139 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
46140}
46141static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
46142 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
46143}
46144static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
46145 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
46146}
46147static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
46148 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
46149}
46150static void *_p_wxToolbookTo_p_wxObject(void *x) {
46151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46152}
46153static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
46154 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
46155}
46156static void *_p_wxSizerItemTo_p_wxObject(void *x) {
46157 return (void *)((wxObject *) ((wxSizerItem *) x));
46158}
46159static void *_p_wxScrollEventTo_p_wxObject(void *x) {
46160 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
46161}
46162static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
46163 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
46164}
46165static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
46166 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
46167}
46168static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
46169 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
46170}
46171static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
46172 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
46173}
46174static void *_p_wxSizerTo_p_wxObject(void *x) {
46175 return (void *)((wxObject *) ((wxSizer *) x));
46176}
46177static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
46178 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
46179}
46180static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
46181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
46182}
46183static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
46184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
46185}
46186static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
46187 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
46188}
46189static void *_p_wxEventTo_p_wxObject(void *x) {
46190 return (void *)((wxObject *) ((wxEvent *) x));
46191}
46192static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
46193 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
46194}
46195static void *_p_wxGridSizerTo_p_wxObject(void *x) {
46196 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
46197}
46198static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
46199 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
46200}
46201static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
46202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
46203}
b850e7f3
RD
46204static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
46205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
46206}
0085ce49
RD
46207static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
46208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
46209}
46210static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
46211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46212}
2131d850
RD
46213static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
46214 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
46215}
0085ce49
RD
46216static void *_p_wxPaintEventTo_p_wxObject(void *x) {
46217 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
46218}
46219static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
46220 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
46221}
46222static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
46223 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
46224}
46225static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
46226 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
46227}
46228static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
46229 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
46230}
46231static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
46232 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
46233}
46234static void *_p_wxStaticLineTo_p_wxObject(void *x) {
46235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
46236}
46237static void *_p_wxControlTo_p_wxObject(void *x) {
46238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
46239}
46240static void *_p_wxPyControlTo_p_wxObject(void *x) {
46241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
46242}
46243static void *_p_wxGaugeTo_p_wxObject(void *x) {
46244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
46245}
46246static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
46247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
46248}
46249static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
46250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
46251}
46252static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
46253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
46254}
46255static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
46256 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
46257}
b850e7f3
RD
46258static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
46259 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
46260}
46261static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
46262 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46263}
46264static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
46265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
46266}
0085ce49
RD
46267static void *_p_wxChoiceTo_p_wxObject(void *x) {
46268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46269}
46270static void *_p_wxFSFileTo_p_wxObject(void *x) {
46271 return (void *)((wxObject *) ((wxFSFile *) x));
46272}
46273static void *_p_wxPySizerTo_p_wxObject(void *x) {
46274 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
46275}
46276static void *_p_wxTreebookTo_p_wxObject(void *x) {
46277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46278}
46279static void *_p_wxListViewTo_p_wxObject(void *x) {
46280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46281}
704eda0c
RD
46282static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
46283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
46284}
0085ce49
RD
46285static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
46286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
46287}
46288static void *_p_wxNotebookTo_p_wxObject(void *x) {
46289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46290}
46291static void *_p_wxPyEventTo_p_wxObject(void *x) {
46292 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
46293}
46294static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
46295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
46296}
46297static void *_p_wxChoicebookTo_p_wxObject(void *x) {
46298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46299}
46300static void *_p_wxListbookTo_p_wxObject(void *x) {
46301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46302}
46303static void *_p_wxShowEventTo_p_wxObject(void *x) {
46304 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
46305}
46306static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
46307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
46308}
46309static void *_p_wxSliderTo_p_wxObject(void *x) {
46310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
46311}
46312static void *_p_wxMenuItemTo_p_wxObject(void *x) {
46313 return (void *)((wxObject *) ((wxMenuItem *) x));
46314}
46315static void *_p_wxDateEventTo_p_wxObject(void *x) {
46316 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
46317}
46318static void *_p_wxIdleEventTo_p_wxObject(void *x) {
46319 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
46320}
46321static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
46322 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
46323}
46324static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
46325 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
46326}
46327static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
46328 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
46329}
46330static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
46331 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
46332}
46333static void *_p_wxSizeEventTo_p_wxObject(void *x) {
46334 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
46335}
46336static void *_p_wxMoveEventTo_p_wxObject(void *x) {
46337 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
46338}
46339static void *_p_wxActivateEventTo_p_wxObject(void *x) {
46340 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
46341}
46342static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
46343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
46344}
46345static void *_p_wxContextHelpTo_p_wxObject(void *x) {
46346 return (void *)((wxObject *) ((wxContextHelp *) x));
46347}
46348static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
46349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
46350}
46351static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
46352 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
46353}
46354static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
46355 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
46356}
46357static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
46358 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
46359}
46360static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
46361 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
46362}
46363static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
46364 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
46365}
46366static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
46367 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
46368}
46369static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
46370 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
46371}
46372static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
46373 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
46374}
46375static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
46376 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
46377}
46378static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
46379 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
46380}
46381static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
46382 return (void *)((wxObject *) ((wxImageHandler *) x));
46383}
46384static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
46385 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
46386}
46387static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
46388 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
46389}
46390static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
46391 return (void *)((wxObject *) ((wxEvtHandler *) x));
46392}
46393static void *_p_wxListEventTo_p_wxObject(void *x) {
46394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
46395}
46396static void *_p_wxListBoxTo_p_wxObject(void *x) {
46397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46398}
46399static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
46400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46401}
46402static void *_p_wxButtonTo_p_wxObject(void *x) {
46403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
46404}
46405static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
46406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
46407}
46408static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
46409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
46410}
46411static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
46412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46413}
46414static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
46415 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
46416}
46417static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
46418 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
46419}
46420static void *_p_wxScrollBarTo_p_wxObject(void *x) {
46421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
46422}
46423static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
46424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
46425}
46426static void *_p_wxComboBoxTo_p_wxObject(void *x) {
46427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
46428}
46429static void *_p_wxHelpEventTo_p_wxObject(void *x) {
46430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
46431}
46432static void *_p_wxListItemTo_p_wxObject(void *x) {
46433 return (void *)((wxObject *) ((wxListItem *) x));
46434}
46435static void *_p_wxImageTo_p_wxObject(void *x) {
46436 return (void *)((wxObject *) ((wxImage *) x));
46437}
46438static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
46439 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
46440}
46441static void *_p_wxSpinEventTo_p_wxObject(void *x) {
46442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
46443}
46444static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
46445 return (void *)((wxObject *) ((wxGenericDragImage *) x));
46446}
46447static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
46448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
46449}
46450static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
46451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46452}
46453static void *_p_wxListbookEventTo_p_wxObject(void *x) {
46454 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46455}
46456static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
46457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46458}
46459static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
46460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46461}
46462static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
46463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46464}
46465static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
46466 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46467}
46468static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
46469 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
46470}
46471static void *_p_wxKeyEventTo_p_wxObject(void *x) {
46472 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
46473}
46474static void *_p_wxWindowTo_p_wxObject(void *x) {
46475 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
46476}
46477static void *_p_wxMenuTo_p_wxObject(void *x) {
46478 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
46479}
46480static void *_p_wxMenuBarTo_p_wxObject(void *x) {
46481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
46482}
46483static void *_p_wxFileSystemTo_p_wxObject(void *x) {
46484 return (void *)((wxObject *) ((wxFileSystem *) x));
46485}
46486static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
46487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
46488}
46489static void *_p_wxMenuEventTo_p_wxObject(void *x) {
46490 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
46491}
46492static void *_p_wxPyAppTo_p_wxObject(void *x) {
46493 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
46494}
46495static void *_p_wxCloseEventTo_p_wxObject(void *x) {
46496 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
46497}
46498static void *_p_wxMouseEventTo_p_wxObject(void *x) {
46499 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
46500}
46501static void *_p_wxEraseEventTo_p_wxObject(void *x) {
46502 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
46503}
46504static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
46505 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46506}
46507static void *_p_wxTreeEventTo_p_wxObject(void *x) {
46508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
46509}
46510static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
46511 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
46512}
46513static void *_p_wxCommandEventTo_p_wxObject(void *x) {
46514 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
46515}
46516static void *_p_wxStaticTextTo_p_wxObject(void *x) {
46517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
46518}
46519static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
46520 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
46521}
46522static void *_p_wxFocusEventTo_p_wxObject(void *x) {
46523 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
46524}
46525static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
46526 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
46527}
46528static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
46529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
46530}
b850e7f3
RD
46531static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
46532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46533}
46534static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
46535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46536}
46537static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
46538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46539}
46540static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
46541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46542}
0085ce49
RD
46543static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
46544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
46545}
704eda0c
RD
46546static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
46547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
46548}
0085ce49
RD
46549static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
46550 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
46551}
46552static void *_p_wxToolBarTo_p_wxObject(void *x) {
46553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46554}
46555static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
46556 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
46557}
46558static void *_p_wxValidatorTo_p_wxObject(void *x) {
46559 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
46560}
46561static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
46562 return (void *)((wxWindow *) ((wxMenuBar *) x));
46563}
46564static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
46565 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
46566}
46567static void *_p_wxToolBarTo_p_wxWindow(void *x) {
46568 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
46569}
b850e7f3
RD
46570static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
46571 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
46572}
0085ce49
RD
46573static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
46574 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
46575}
46576static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
46577 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
46578}
46579static void *_p_wxToolbookTo_p_wxWindow(void *x) {
46580 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
46581}
46582static void *_p_wxControlTo_p_wxWindow(void *x) {
46583 return (void *)((wxWindow *) ((wxControl *) x));
46584}
46585static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
46586 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
46587}
46588static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
46589 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
46590}
46591static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
46592 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
46593}
46594static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
46595 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
46596}
46597static void *_p_wxPyControlTo_p_wxWindow(void *x) {
46598 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
46599}
46600static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
46601 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
46602}
46603static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
46604 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
46605}
46606static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
46607 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
46608}
46609static void *_p_wxGaugeTo_p_wxWindow(void *x) {
46610 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
46611}
46612static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
46613 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
46614}
46615static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
46616 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
46617}
46618static void *_p_wxListbookTo_p_wxWindow(void *x) {
46619 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
46620}
704eda0c
RD
46621static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
46622 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
46623}
0085ce49
RD
46624static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
46625 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
46626}
46627static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
46628 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
46629}
46630static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
46631 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
46632}
46633static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
46634 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
46635}
46636static void *_p_wxChoiceTo_p_wxWindow(void *x) {
46637 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
46638}
46639static void *_p_wxListBoxTo_p_wxWindow(void *x) {
46640 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
46641}
46642static void *_p_wxListViewTo_p_wxWindow(void *x) {
46643 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
46644}
46645static void *_p_wxNotebookTo_p_wxWindow(void *x) {
46646 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
46647}
46648static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
46649 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
46650}
46651static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
46652 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
46653}
46654static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
46655 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
46656}
46657static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
46658 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
46659}
46660static void *_p_wxSliderTo_p_wxWindow(void *x) {
46661 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
46662}
46663static void *_p_wxTreebookTo_p_wxWindow(void *x) {
46664 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
46665}
46666static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
46667 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
46668}
46669static void *_p_wxButtonTo_p_wxWindow(void *x) {
46670 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
46671}
46672static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
46673 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
46674}
46675static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
46676 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
46677}
46678static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
46679 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
46680}
b850e7f3
RD
46681static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
46682 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
46683}
46684static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
46685 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
46686}
46687static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
46688 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
46689}
46690static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
46691 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
46692}
0085ce49
RD
46693static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
46694 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
46695}
46696static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46697 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46698}
46699static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46700 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46701}
46702static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46703 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46704}
46705static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46706 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46707}
46708static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
46709 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46710}
46711static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
46712 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
46713}
704eda0c
RD
46714static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
46715 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
46716}
2131d850
RD
46717static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
46718 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
46719}
b850e7f3
RD
46720static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
46721 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
46722}
46723static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
46724 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
46725}
46726static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
46727 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
46728}
0085ce49
RD
46729static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
46730 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
46731}
46732static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
46733 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
46734}
46735static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
46736 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
46737}
46738static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
46739 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
46740}
46741static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
46742 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
46743}
0085ce49
RD
46744static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
46745 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
46746}
2131d850
RD
46747static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
46748 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
46749}
0085ce49
RD
46750static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
46751 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
46752}
46753static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
46754 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
46755}
46756static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
46757 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
46758}
46759static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
46760 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
46761}
46762static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
46763 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
46764}
46765static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
46766 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
46767}
46768static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
46769 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
46770}
46771static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
46772 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
46773}
46774static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
46775 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
46776}
46777static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
46778 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
46779}
46780static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
46781 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
46782}
46783static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
46784 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
46785}
46786static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
46787 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
46788}
46789static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
46790 return (void *)((wxControlWithItems *) ((wxChoice *) x));
46791}
46792static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
46793 return (void *)((wxControlWithItems *) ((wxListBox *) x));
46794}
46795static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
46796 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
46797}
46798static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
46799 return (void *)((wxValidator *) ((wxPyValidator *) x));
46800}
46801static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
46802static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
46803static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
46804static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
46805static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
46806static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
46807static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
46808static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
46809static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
46810static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
46811static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
46812static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
46813static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
46814static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
46815static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
46816static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
46817static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
46818static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
46819static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
46820static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
46821static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
46822static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
46823static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
46824static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
46825static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
46826static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
46827static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 46828static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
46829static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
46830static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
46831static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
46832static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
46833static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
46834static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
46835static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
46836static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
46837static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
46838static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
46839static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
46840static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
46841static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
46842static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
46843static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
46844static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 46845static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
0085ce49
RD
46846static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
46847static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
46848static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
46849static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
46850static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
46851static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
46852static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
46853static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
46854static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
46855static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
46856static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
46857static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
46858static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
46859static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
46860static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
46861static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
46862static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
46863static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
46864static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
46865static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
46866static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
46867static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
46868static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
46869static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
46870static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
46871static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
46872static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
46873static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
46874static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
46875static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
46876static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
b850e7f3
RD
46877static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
46878static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
0085ce49 46879static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
46880static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
46881static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
46882static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
46883static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
46884static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
46885static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
46886static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
46887static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
46888static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
0085ce49
RD
46889static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
46890static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
46891static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
46892static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
46893static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
46894static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
46895static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
46896static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
46897static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
46898static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
46899static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
46900static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
46901static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
46902static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
46903static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
46904static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
46905static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
46906static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
46907static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
46908static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
46909static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
46910static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
46911static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
46912static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
46913static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
46914static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
46915static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
46916static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
46917static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
46918static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
0085ce49
RD
46919static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
46920static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
46921static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
46922static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
46923static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
46924static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
46925static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
46926static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
46927static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 46928static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 46929static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
0085ce49
RD
46930static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
46931static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
46932static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
46933static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
46934static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
46935static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
46936static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 46937static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
0085ce49
RD
46938static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
46939static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
46940static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
46941static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
46942static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
46943static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
46944static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
46945static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
46946static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
46947static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
46948static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
46949static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
46950static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
46951static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
46952static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
46953static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
46954static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
46955static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
46956static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
46957static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
46958static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
46959static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
46960static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
46961static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
46962static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
46963static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
46964static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
46965static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
46966static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
46967static swig_type_info _swigt__p_wxTreeCtrl = {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
46968static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
46969static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
46970static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
46971static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
46972static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
46973static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
46974static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 46975static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
0085ce49
RD
46976
46977static swig_type_info *swig_type_initial[] = {
46978 &_swigt__p_bool,
46979 &_swigt__p_char,
46980 &_swigt__p_form_ops_t,
46981 &_swigt__p_int,
46982 &_swigt__p_long,
46983 &_swigt__p_unsigned_char,
46984 &_swigt__p_unsigned_int,
46985 &_swigt__p_unsigned_long,
46986 &_swigt__p_void,
46987 &_swigt__p_wxANIHandler,
46988 &_swigt__p_wxAcceleratorTable,
46989 &_swigt__p_wxActivateEvent,
46990 &_swigt__p_wxArrayInt,
46991 &_swigt__p_wxArrayString,
46992 &_swigt__p_wxBMPHandler,
46993 &_swigt__p_wxBitmap,
46994 &_swigt__p_wxBitmapButton,
46995 &_swigt__p_wxBookCtrlBase,
46996 &_swigt__p_wxBookCtrlBaseEvent,
46997 &_swigt__p_wxBoxSizer,
46998 &_swigt__p_wxButton,
46999 &_swigt__p_wxCURHandler,
47000 &_swigt__p_wxCheckBox,
47001 &_swigt__p_wxCheckListBox,
47002 &_swigt__p_wxChildFocusEvent,
47003 &_swigt__p_wxChoice,
47004 &_swigt__p_wxChoicebook,
47005 &_swigt__p_wxChoicebookEvent,
2131d850 47006 &_swigt__p_wxClipboardTextEvent,
0085ce49
RD
47007 &_swigt__p_wxCloseEvent,
47008 &_swigt__p_wxColour,
b850e7f3
RD
47009 &_swigt__p_wxColourPickerCtrl,
47010 &_swigt__p_wxColourPickerEvent,
0085ce49
RD
47011 &_swigt__p_wxComboBox,
47012 &_swigt__p_wxCommandEvent,
47013 &_swigt__p_wxContextHelp,
47014 &_swigt__p_wxContextHelpButton,
47015 &_swigt__p_wxContextMenuEvent,
47016 &_swigt__p_wxControl,
47017 &_swigt__p_wxControlWithItems,
47018 &_swigt__p_wxCursor,
47019 &_swigt__p_wxDC,
47020 &_swigt__p_wxDateEvent,
47021 &_swigt__p_wxDatePickerCtrl,
47022 &_swigt__p_wxDateTime,
47023 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 47024 &_swigt__p_wxDirPickerCtrl,
0085ce49
RD
47025 &_swigt__p_wxDisplayChangedEvent,
47026 &_swigt__p_wxDropFilesEvent,
47027 &_swigt__p_wxDuplexMode,
47028 &_swigt__p_wxEraseEvent,
47029 &_swigt__p_wxEvent,
47030 &_swigt__p_wxEvtHandler,
47031 &_swigt__p_wxFSFile,
b850e7f3
RD
47032 &_swigt__p_wxFileDirPickerEvent,
47033 &_swigt__p_wxFilePickerCtrl,
0085ce49
RD
47034 &_swigt__p_wxFileSystem,
47035 &_swigt__p_wxFlexGridSizer,
47036 &_swigt__p_wxFocusEvent,
47037 &_swigt__p_wxFont,
b850e7f3
RD
47038 &_swigt__p_wxFontPickerCtrl,
47039 &_swigt__p_wxFontPickerEvent,
0085ce49
RD
47040 &_swigt__p_wxGBSizerItem,
47041 &_swigt__p_wxGIFHandler,
47042 &_swigt__p_wxGauge,
47043 &_swigt__p_wxGenericDirCtrl,
47044 &_swigt__p_wxGenericDragImage,
47045 &_swigt__p_wxGridBagSizer,
47046 &_swigt__p_wxGridSizer,
47047 &_swigt__p_wxHelpEvent,
47048 &_swigt__p_wxHelpProvider,
704eda0c
RD
47049 &_swigt__p_wxHyperlinkCtrl,
47050 &_swigt__p_wxHyperlinkEvent,
0085ce49
RD
47051 &_swigt__p_wxICOHandler,
47052 &_swigt__p_wxIcon,
47053 &_swigt__p_wxIconizeEvent,
47054 &_swigt__p_wxIdleEvent,
47055 &_swigt__p_wxImage,
47056 &_swigt__p_wxImageHandler,
47057 &_swigt__p_wxImageList,
47058 &_swigt__p_wxIndividualLayoutConstraint,
47059 &_swigt__p_wxInitDialogEvent,
47060 &_swigt__p_wxItemContainer,
47061 &_swigt__p_wxJPEGHandler,
47062 &_swigt__p_wxKeyEvent,
47063 &_swigt__p_wxLayoutConstraints,
47064 &_swigt__p_wxListBox,
47065 &_swigt__p_wxListEvent,
47066 &_swigt__p_wxListItem,
47067 &_swigt__p_wxListItemAttr,
47068 &_swigt__p_wxListView,
47069 &_swigt__p_wxListbook,
47070 &_swigt__p_wxListbookEvent,
47071 &_swigt__p_wxMaximizeEvent,
47072 &_swigt__p_wxMemoryDC,
47073 &_swigt__p_wxMenu,
47074 &_swigt__p_wxMenuBar,
47075 &_swigt__p_wxMenuEvent,
47076 &_swigt__p_wxMenuItem,
47077 &_swigt__p_wxMouseCaptureChangedEvent,
47078 &_swigt__p_wxMouseEvent,
47079 &_swigt__p_wxMoveEvent,
47080 &_swigt__p_wxNavigationKeyEvent,
47081 &_swigt__p_wxNcPaintEvent,
47082 &_swigt__p_wxNotebook,
47083 &_swigt__p_wxNotebookEvent,
47084 &_swigt__p_wxNotifyEvent,
47085 &_swigt__p_wxObject,
47086 &_swigt__p_wxPCXHandler,
47087 &_swigt__p_wxPNGHandler,
47088 &_swigt__p_wxPNMHandler,
47089 &_swigt__p_wxPaintEvent,
47090 &_swigt__p_wxPaletteChangedEvent,
47091 &_swigt__p_wxPaperSize,
b850e7f3 47092 &_swigt__p_wxPickerBase,
0085ce49
RD
47093 &_swigt__p_wxPoint,
47094 &_swigt__p_wxPyApp,
47095 &_swigt__p_wxPyCommandEvent,
47096 &_swigt__p_wxPyControl,
47097 &_swigt__p_wxPyEvent,
47098 &_swigt__p_wxPyImageHandler,
47099 &_swigt__p_wxPyListCtrl,
47100 &_swigt__p_wxPySizer,
47101 &_swigt__p_wxPyTreeCtrl,
47102 &_swigt__p_wxPyTreeItemData,
47103 &_swigt__p_wxPyValidator,
47104 &_swigt__p_wxQueryNewPaletteEvent,
47105 &_swigt__p_wxRadioBox,
47106 &_swigt__p_wxRadioButton,
47107 &_swigt__p_wxRect,
47108 &_swigt__p_wxScrollBar,
47109 &_swigt__p_wxScrollEvent,
47110 &_swigt__p_wxScrollWinEvent,
47111 &_swigt__p_wxSetCursorEvent,
47112 &_swigt__p_wxShowEvent,
47113 &_swigt__p_wxSimpleHelpProvider,
47114 &_swigt__p_wxSize,
47115 &_swigt__p_wxSizeEvent,
47116 &_swigt__p_wxSizer,
47117 &_swigt__p_wxSizerItem,
47118 &_swigt__p_wxSlider,
47119 &_swigt__p_wxSpinButton,
47120 &_swigt__p_wxSpinCtrl,
47121 &_swigt__p_wxSpinEvent,
47122 &_swigt__p_wxStaticBitmap,
47123 &_swigt__p_wxStaticBox,
47124 &_swigt__p_wxStaticBoxSizer,
47125 &_swigt__p_wxStaticLine,
47126 &_swigt__p_wxStaticText,
47127 &_swigt__p_wxStdDialogButtonSizer,
47128 &_swigt__p_wxString,
47129 &_swigt__p_wxSysColourChangedEvent,
47130 &_swigt__p_wxTIFFHandler,
47131 &_swigt__p_wxTextAttr,
47132 &_swigt__p_wxTextCtrl,
47133 &_swigt__p_wxTextUrlEvent,
47134 &_swigt__p_wxToggleButton,
47135 &_swigt__p_wxToolBar,
47136 &_swigt__p_wxToolBarBase,
47137 &_swigt__p_wxToolBarToolBase,
47138 &_swigt__p_wxToolbook,
47139 &_swigt__p_wxToolbookEvent,
47140 &_swigt__p_wxTreeCtrl,
47141 &_swigt__p_wxTreeEvent,
47142 &_swigt__p_wxTreeItemId,
47143 &_swigt__p_wxTreebook,
47144 &_swigt__p_wxTreebookEvent,
47145 &_swigt__p_wxUpdateUIEvent,
47146 &_swigt__p_wxValidator,
47147 &_swigt__p_wxVisualAttributes,
47148 &_swigt__p_wxWindow,
b850e7f3 47149 &_swigt__p_wxWindowBase,
0085ce49
RD
47150 &_swigt__p_wxWindowCreateEvent,
47151 &_swigt__p_wxWindowDestroyEvent,
47152 &_swigt__p_wxXPMHandler,
47153};
47154
47155static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
47156static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
47157static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
47158static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
47159static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
47160static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
47161static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
47162static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
47163static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
47164static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
47165static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
47166static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
47167static swig_cast_info _swigc__p_wxBitmapButton[] = { {&_swigt__p_wxBitmapButton, 0, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0},{0, 0, 0, 0}};
47168static swig_cast_info _swigc__p_wxBookCtrlBase[] = { {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxBookCtrlBase, 0, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxBookCtrlBase, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxBookCtrlBase, 0, 0},{0, 0, 0, 0}};
47169static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxBookCtrlBaseEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxBookCtrlBaseEvent, 0, 0},{0, 0, 0, 0}};
47170static swig_cast_info _swigc__p_wxButton[] = { {&_swigt__p_wxButton, 0, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxButton, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxButton, 0, 0},{0, 0, 0, 0}};
47171static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
47172static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
47173static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
47174static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
47175static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47176static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47177static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47178static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47179static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
47180static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 47181static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47182static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
47183static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
47184static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
47185static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
47186static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
47187static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
47188static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47189static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47190static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
47191static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47192static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47193static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxControlWithItems, 0, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControlWithItems, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0},{0, 0, 0, 0}};
47194static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
47195static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
47196static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47197static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
47198static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47199static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47200static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
47201static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
47202static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
47203static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
47204static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
47205static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
47206static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
47207static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
47208static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
47209static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47210static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47211static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
47212static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
47213static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
47214static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
47215static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
47216static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47217static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47218static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47219static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
47220static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
47221static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
47222static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
47223static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
47224static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47225static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47226static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
47227static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
47228static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
47229static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47230static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
47231static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
47232static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
0085ce49 47233static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47234static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
47235static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47236static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
47237static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
47238static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
47239static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
47240static swig_cast_info _swigc__p_wxHelpProvider[] = { {&_swigt__p_wxHelpProvider, 0, 0, 0}, {&_swigt__p_wxSimpleHelpProvider, _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0},{0, 0, 0, 0}};
704eda0c
RD
47241static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
47242static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47243static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
47244static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
47245static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
47246static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
47247static swig_cast_info _swigc__p_wxListBox[] = { {&_swigt__p_wxListBox, 0, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxListBox, 0, 0},{0, 0, 0, 0}};
47248static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
47249static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
47250static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
47251static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
47252static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
47253static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
47254static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
47255static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
47256static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
47257static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47258static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
47259static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
47260static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
47261static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
47262static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
47263static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
47264static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
47265static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
47266static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
47267static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
47268static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
47269static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
47270static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
47271static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47272static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
47273static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
47274static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
47275static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
47276static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47277static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
47278static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
47279static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
47280static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 47281static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 47282static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47283static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
47284static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
47285static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
47286static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
47287static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
47288static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47289static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
0085ce49 47290static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 47291static swig_cast_info _swigc__p_wxPickerBase[] = { {&_swigt__p_wxPickerBase, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxPickerBase, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxPickerBase, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47292static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
47293static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
47294static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
47295static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
47296static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
47297static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
47298static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
47299static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
47300static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
47301static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
47302static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
47303static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
47304static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
47305static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
47306static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
47307static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
47308static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
47309static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
47310static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
47311static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
47312static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
47313static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
47314static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
47315static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
47316static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
47317static swig_cast_info _swigc__p_wxToolBarBase[] = { {&_swigt__p_wxToolBarBase, 0, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxToolBarBase, 0, 0},{0, 0, 0, 0}};
47318static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
47319static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
47320static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
47321static swig_cast_info _swigc__p_wxTreeCtrl[] = { {&_swigt__p_wxTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
47322static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
47323static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
47324static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
47325static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
47326static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
47327static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
47328static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
47329static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
0085ce49
RD
47330
47331static swig_cast_info *swig_cast_initial[] = {
47332 _swigc__p_bool,
47333 _swigc__p_char,
47334 _swigc__p_form_ops_t,
47335 _swigc__p_int,
47336 _swigc__p_long,
47337 _swigc__p_unsigned_char,
47338 _swigc__p_unsigned_int,
47339 _swigc__p_unsigned_long,
47340 _swigc__p_void,
47341 _swigc__p_wxANIHandler,
47342 _swigc__p_wxAcceleratorTable,
47343 _swigc__p_wxActivateEvent,
47344 _swigc__p_wxArrayInt,
47345 _swigc__p_wxArrayString,
47346 _swigc__p_wxBMPHandler,
47347 _swigc__p_wxBitmap,
47348 _swigc__p_wxBitmapButton,
47349 _swigc__p_wxBookCtrlBase,
47350 _swigc__p_wxBookCtrlBaseEvent,
47351 _swigc__p_wxBoxSizer,
47352 _swigc__p_wxButton,
47353 _swigc__p_wxCURHandler,
47354 _swigc__p_wxCheckBox,
47355 _swigc__p_wxCheckListBox,
47356 _swigc__p_wxChildFocusEvent,
47357 _swigc__p_wxChoice,
47358 _swigc__p_wxChoicebook,
47359 _swigc__p_wxChoicebookEvent,
2131d850 47360 _swigc__p_wxClipboardTextEvent,
0085ce49
RD
47361 _swigc__p_wxCloseEvent,
47362 _swigc__p_wxColour,
b850e7f3
RD
47363 _swigc__p_wxColourPickerCtrl,
47364 _swigc__p_wxColourPickerEvent,
0085ce49
RD
47365 _swigc__p_wxComboBox,
47366 _swigc__p_wxCommandEvent,
47367 _swigc__p_wxContextHelp,
47368 _swigc__p_wxContextHelpButton,
47369 _swigc__p_wxContextMenuEvent,
47370 _swigc__p_wxControl,
47371 _swigc__p_wxControlWithItems,
47372 _swigc__p_wxCursor,
47373 _swigc__p_wxDC,
47374 _swigc__p_wxDateEvent,
47375 _swigc__p_wxDatePickerCtrl,
47376 _swigc__p_wxDateTime,
47377 _swigc__p_wxDirFilterListCtrl,
b850e7f3 47378 _swigc__p_wxDirPickerCtrl,
0085ce49
RD
47379 _swigc__p_wxDisplayChangedEvent,
47380 _swigc__p_wxDropFilesEvent,
47381 _swigc__p_wxDuplexMode,
47382 _swigc__p_wxEraseEvent,
47383 _swigc__p_wxEvent,
47384 _swigc__p_wxEvtHandler,
47385 _swigc__p_wxFSFile,
b850e7f3
RD
47386 _swigc__p_wxFileDirPickerEvent,
47387 _swigc__p_wxFilePickerCtrl,
0085ce49
RD
47388 _swigc__p_wxFileSystem,
47389 _swigc__p_wxFlexGridSizer,
47390 _swigc__p_wxFocusEvent,
47391 _swigc__p_wxFont,
b850e7f3
RD
47392 _swigc__p_wxFontPickerCtrl,
47393 _swigc__p_wxFontPickerEvent,
0085ce49
RD
47394 _swigc__p_wxGBSizerItem,
47395 _swigc__p_wxGIFHandler,
47396 _swigc__p_wxGauge,
47397 _swigc__p_wxGenericDirCtrl,
47398 _swigc__p_wxGenericDragImage,
47399 _swigc__p_wxGridBagSizer,
47400 _swigc__p_wxGridSizer,
47401 _swigc__p_wxHelpEvent,
47402 _swigc__p_wxHelpProvider,
704eda0c
RD
47403 _swigc__p_wxHyperlinkCtrl,
47404 _swigc__p_wxHyperlinkEvent,
0085ce49
RD
47405 _swigc__p_wxICOHandler,
47406 _swigc__p_wxIcon,
47407 _swigc__p_wxIconizeEvent,
47408 _swigc__p_wxIdleEvent,
47409 _swigc__p_wxImage,
47410 _swigc__p_wxImageHandler,
47411 _swigc__p_wxImageList,
47412 _swigc__p_wxIndividualLayoutConstraint,
47413 _swigc__p_wxInitDialogEvent,
47414 _swigc__p_wxItemContainer,
47415 _swigc__p_wxJPEGHandler,
47416 _swigc__p_wxKeyEvent,
47417 _swigc__p_wxLayoutConstraints,
47418 _swigc__p_wxListBox,
47419 _swigc__p_wxListEvent,
47420 _swigc__p_wxListItem,
47421 _swigc__p_wxListItemAttr,
47422 _swigc__p_wxListView,
47423 _swigc__p_wxListbook,
47424 _swigc__p_wxListbookEvent,
47425 _swigc__p_wxMaximizeEvent,
47426 _swigc__p_wxMemoryDC,
47427 _swigc__p_wxMenu,
47428 _swigc__p_wxMenuBar,
47429 _swigc__p_wxMenuEvent,
47430 _swigc__p_wxMenuItem,
47431 _swigc__p_wxMouseCaptureChangedEvent,
47432 _swigc__p_wxMouseEvent,
47433 _swigc__p_wxMoveEvent,
47434 _swigc__p_wxNavigationKeyEvent,
47435 _swigc__p_wxNcPaintEvent,
47436 _swigc__p_wxNotebook,
47437 _swigc__p_wxNotebookEvent,
47438 _swigc__p_wxNotifyEvent,
47439 _swigc__p_wxObject,
47440 _swigc__p_wxPCXHandler,
47441 _swigc__p_wxPNGHandler,
47442 _swigc__p_wxPNMHandler,
47443 _swigc__p_wxPaintEvent,
47444 _swigc__p_wxPaletteChangedEvent,
47445 _swigc__p_wxPaperSize,
b850e7f3 47446 _swigc__p_wxPickerBase,
0085ce49
RD
47447 _swigc__p_wxPoint,
47448 _swigc__p_wxPyApp,
47449 _swigc__p_wxPyCommandEvent,
47450 _swigc__p_wxPyControl,
47451 _swigc__p_wxPyEvent,
47452 _swigc__p_wxPyImageHandler,
47453 _swigc__p_wxPyListCtrl,
47454 _swigc__p_wxPySizer,
47455 _swigc__p_wxPyTreeCtrl,
47456 _swigc__p_wxPyTreeItemData,
47457 _swigc__p_wxPyValidator,
47458 _swigc__p_wxQueryNewPaletteEvent,
47459 _swigc__p_wxRadioBox,
47460 _swigc__p_wxRadioButton,
47461 _swigc__p_wxRect,
47462 _swigc__p_wxScrollBar,
47463 _swigc__p_wxScrollEvent,
47464 _swigc__p_wxScrollWinEvent,
47465 _swigc__p_wxSetCursorEvent,
47466 _swigc__p_wxShowEvent,
47467 _swigc__p_wxSimpleHelpProvider,
47468 _swigc__p_wxSize,
47469 _swigc__p_wxSizeEvent,
47470 _swigc__p_wxSizer,
47471 _swigc__p_wxSizerItem,
47472 _swigc__p_wxSlider,
47473 _swigc__p_wxSpinButton,
47474 _swigc__p_wxSpinCtrl,
47475 _swigc__p_wxSpinEvent,
47476 _swigc__p_wxStaticBitmap,
47477 _swigc__p_wxStaticBox,
47478 _swigc__p_wxStaticBoxSizer,
47479 _swigc__p_wxStaticLine,
47480 _swigc__p_wxStaticText,
47481 _swigc__p_wxStdDialogButtonSizer,
47482 _swigc__p_wxString,
47483 _swigc__p_wxSysColourChangedEvent,
47484 _swigc__p_wxTIFFHandler,
47485 _swigc__p_wxTextAttr,
47486 _swigc__p_wxTextCtrl,
47487 _swigc__p_wxTextUrlEvent,
47488 _swigc__p_wxToggleButton,
47489 _swigc__p_wxToolBar,
47490 _swigc__p_wxToolBarBase,
47491 _swigc__p_wxToolBarToolBase,
47492 _swigc__p_wxToolbook,
47493 _swigc__p_wxToolbookEvent,
47494 _swigc__p_wxTreeCtrl,
47495 _swigc__p_wxTreeEvent,
47496 _swigc__p_wxTreeItemId,
47497 _swigc__p_wxTreebook,
47498 _swigc__p_wxTreebookEvent,
47499 _swigc__p_wxUpdateUIEvent,
47500 _swigc__p_wxValidator,
47501 _swigc__p_wxVisualAttributes,
47502 _swigc__p_wxWindow,
b850e7f3 47503 _swigc__p_wxWindowBase,
0085ce49
RD
47504 _swigc__p_wxWindowCreateEvent,
47505 _swigc__p_wxWindowDestroyEvent,
47506 _swigc__p_wxXPMHandler,
47507};
47508
47509
47510/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47511
47512static swig_const_info swig_const_table[] = {
47513{0, 0, 0, 0.0, 0, 0}};
47514
47515#ifdef __cplusplus
47516}
47517#endif
47518/* -----------------------------------------------------------------------------
47519 * Type initialization:
47520 * This problem is tough by the requirement that no dynamic
47521 * memory is used. Also, since swig_type_info structures store pointers to
47522 * swig_cast_info structures and swig_cast_info structures store pointers back
47523 * to swig_type_info structures, we need some lookup code at initialization.
47524 * The idea is that swig generates all the structures that are needed.
47525 * The runtime then collects these partially filled structures.
47526 * The SWIG_InitializeModule function takes these initial arrays out of
47527 * swig_module, and does all the lookup, filling in the swig_module.types
47528 * array with the correct data and linking the correct swig_cast_info
47529 * structures together.
47530 *
47531 * The generated swig_type_info structures are assigned staticly to an initial
47532 * array. We just loop though that array, and handle each type individually.
47533 * First we lookup if this type has been already loaded, and if so, use the
47534 * loaded structure instead of the generated one. Then we have to fill in the
47535 * cast linked list. The cast data is initially stored in something like a
47536 * two-dimensional array. Each row corresponds to a type (there are the same
47537 * number of rows as there are in the swig_type_initial array). Each entry in
47538 * a column is one of the swig_cast_info structures for that type.
47539 * The cast_initial array is actually an array of arrays, because each row has
47540 * a variable number of columns. So to actually build the cast linked list,
47541 * we find the array of casts associated with the type, and loop through it
47542 * adding the casts to the list. The one last trick we need to do is making
47543 * sure the type pointer in the swig_cast_info struct is correct.
47544 *
47545 * First off, we lookup the cast->type name to see if it is already loaded.
47546 * There are three cases to handle:
47547 * 1) If the cast->type has already been loaded AND the type we are adding
47548 * casting info to has not been loaded (it is in this module), THEN we
47549 * replace the cast->type pointer with the type pointer that has already
47550 * been loaded.
47551 * 2) If BOTH types (the one we are adding casting info to, and the
47552 * cast->type) are loaded, THEN the cast info has already been loaded by
47553 * the previous module so we just ignore it.
47554 * 3) Finally, if cast->type has not already been loaded, then we add that
47555 * swig_cast_info to the linked list (because the cast->type) pointer will
47556 * be correct.
47557 * ----------------------------------------------------------------------------- */
47558
47559#ifdef __cplusplus
47560extern "C" {
47561#if 0
47562} /* c-mode */
47563#endif
47564#endif
47565
47566#if 0
47567#define SWIGRUNTIME_DEBUG
47568#endif
47569
47570SWIGRUNTIME void
47571SWIG_InitializeModule(void *clientdata) {
47572 size_t i;
47573 swig_module_info *module_head;
47574 static int init_run = 0;
47575
47576 clientdata = clientdata;
47577
47578 if (init_run) return;
47579 init_run = 1;
47580
47581 /* Initialize the swig_module */
47582 swig_module.type_initial = swig_type_initial;
47583 swig_module.cast_initial = swig_cast_initial;
47584
47585 /* Try and load any already created modules */
47586 module_head = SWIG_GetModule(clientdata);
47587 if (module_head) {
47588 swig_module.next = module_head->next;
47589 module_head->next = &swig_module;
47590 } else {
47591 /* This is the first module loaded */
47592 swig_module.next = &swig_module;
47593 SWIG_SetModule(clientdata, &swig_module);
47594 }
47595
47596 /* Now work on filling in swig_module.types */
47597#ifdef SWIGRUNTIME_DEBUG
47598 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
47599#endif
47600 for (i = 0; i < swig_module.size; ++i) {
47601 swig_type_info *type = 0;
47602 swig_type_info *ret;
47603 swig_cast_info *cast;
d14a1e28 47604
0085ce49
RD
47605#ifdef SWIGRUNTIME_DEBUG
47606 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
47607#endif
d14a1e28 47608
0085ce49
RD
47609 /* if there is another module already loaded */
47610 if (swig_module.next != &swig_module) {
47611 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 47612 }
0085ce49
RD
47613 if (type) {
47614 /* Overwrite clientdata field */
47615#ifdef SWIGRUNTIME_DEBUG
47616 printf("SWIG_InitializeModule: found type %s\n", type->name);
47617#endif
47618 if (swig_module.type_initial[i]->clientdata) {
47619 type->clientdata = swig_module.type_initial[i]->clientdata;
47620#ifdef SWIGRUNTIME_DEBUG
47621 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
47622#endif
47623 }
47624 } else {
47625 type = swig_module.type_initial[i];
093d3ff1 47626 }
d14a1e28 47627
0085ce49
RD
47628 /* Insert casting types */
47629 cast = swig_module.cast_initial[i];
47630 while (cast->type) {
47631 /* Don't need to add information already in the list */
47632 ret = 0;
47633#ifdef SWIGRUNTIME_DEBUG
47634 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
47635#endif
47636 if (swig_module.next != &swig_module) {
47637 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
47638#ifdef SWIGRUNTIME_DEBUG
47639 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
47640#endif
47641 }
47642 if (ret) {
47643 if (type == swig_module.type_initial[i]) {
47644#ifdef SWIGRUNTIME_DEBUG
47645 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
47646#endif
47647 cast->type = ret;
47648 ret = 0;
47649 } else {
47650 /* Check for casting already in the list */
47651 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
47652#ifdef SWIGRUNTIME_DEBUG
47653 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
47654#endif
47655 if (!ocast) ret = 0;
47656 }
47657 }
47658
47659 if (!ret) {
47660#ifdef SWIGRUNTIME_DEBUG
47661 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
47662#endif
47663 if (type->cast) {
47664 type->cast->prev = cast;
47665 cast->next = type->cast;
47666 }
47667 type->cast = cast;
47668 }
47669 cast++;
093d3ff1 47670 }
0085ce49
RD
47671 /* Set entry in modules->types array equal to the type */
47672 swig_module.types[i] = type;
47673 }
47674 swig_module.types[i] = 0;
47675
47676#ifdef SWIGRUNTIME_DEBUG
47677 printf("**** SWIG_InitializeModule: Cast List ******\n");
47678 for (i = 0; i < swig_module.size; ++i) {
47679 int j = 0;
47680 swig_cast_info *cast = swig_module.cast_initial[i];
47681 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
47682 while (cast->type) {
47683 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
47684 cast++;
47685 ++j;
47686 }
47687 printf("---- Total casts: %d\n",j);
47688 }
47689 printf("**** SWIG_InitializeModule: Cast List ******\n");
47690#endif
47691}
47692
47693/* This function will propagate the clientdata field of type to
47694* any new swig_type_info structures that have been added into the list
47695* of equivalent types. It is like calling
47696* SWIG_TypeClientData(type, clientdata) a second time.
47697*/
47698SWIGRUNTIME void
47699SWIG_PropagateClientData(void) {
47700 size_t i;
47701 swig_cast_info *equiv;
47702 static int init_run = 0;
47703
47704 if (init_run) return;
47705 init_run = 1;
47706
47707 for (i = 0; i < swig_module.size; i++) {
47708 if (swig_module.types[i]->clientdata) {
47709 equiv = swig_module.types[i]->cast;
47710 while (equiv) {
47711 if (!equiv->converter) {
47712 if (equiv->type && !equiv->type->clientdata)
47713 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
47714 }
47715 equiv = equiv->next;
47716 }
093d3ff1 47717 }
0085ce49
RD
47718 }
47719}
47720
47721#ifdef __cplusplus
47722#if 0
47723{
47724 /* c-mode */
47725#endif
47726}
47727#endif
47728
47729
47730
47731#ifdef __cplusplus
47732extern "C" {
47733#endif
47734
47735 /* Python-specific SWIG API */
47736#define SWIG_newvarlink() SWIG_Python_newvarlink()
47737#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47738#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47739
47740 /* -----------------------------------------------------------------------------
47741 * global variable support code.
47742 * ----------------------------------------------------------------------------- */
47743
47744 typedef struct swig_globalvar {
47745 char *name; /* Name of global variable */
47746 PyObject *(*get_attr)(void); /* Return the current value */
47747 int (*set_attr)(PyObject *); /* Set the value */
47748 struct swig_globalvar *next;
47749 } swig_globalvar;
47750
47751 typedef struct swig_varlinkobject {
47752 PyObject_HEAD
47753 swig_globalvar *vars;
47754 } swig_varlinkobject;
47755
47756 SWIGINTERN PyObject *
47757 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
47758 return PyString_FromString("<Swig global variables>");
47759 }
47760
47761 SWIGINTERN PyObject *
47762 swig_varlink_str(swig_varlinkobject *v) {
47763 PyObject *str = PyString_FromString("(");
47764 swig_globalvar *var;
47765 for (var = v->vars; var; var=var->next) {
47766 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
47767 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
47768 }
47769 PyString_ConcatAndDel(&str,PyString_FromString(")"));
47770 return str;
47771 }
47772
47773 SWIGINTERN int
47774 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
47775 PyObject *str = swig_varlink_str(v);
47776 fprintf(fp,"Swig global variables ");
47777 fprintf(fp,"%s\n", PyString_AsString(str));
47778 Py_DECREF(str);
47779 return 0;
47780 }
47781
47782 SWIGINTERN void
47783 swig_varlink_dealloc(swig_varlinkobject *v) {
47784 swig_globalvar *var = v->vars;
47785 while (var) {
47786 swig_globalvar *n = var->next;
47787 free(var->name);
47788 free(var);
47789 var = n;
093d3ff1 47790 }
0085ce49
RD
47791 }
47792
47793 SWIGINTERN PyObject *
47794 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
47795 PyObject *res = NULL;
47796 swig_globalvar *var = v->vars;
47797 while (var) {
47798 if (strcmp(var->name,n) == 0) {
47799 res = (*var->get_attr)();
47800 break;
47801 }
47802 var = var->next;
093d3ff1 47803 }
0085ce49
RD
47804 if (res == NULL && !PyErr_Occurred()) {
47805 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 47806 }
0085ce49
RD
47807 return res;
47808 }
47809
47810 SWIGINTERN int
47811 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
47812 int res = 1;
47813 swig_globalvar *var = v->vars;
47814 while (var) {
47815 if (strcmp(var->name,n) == 0) {
47816 res = (*var->set_attr)(p);
47817 break;
47818 }
47819 var = var->next;
093d3ff1 47820 }
0085ce49
RD
47821 if (res == 1 && !PyErr_Occurred()) {
47822 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 47823 }
0085ce49
RD
47824 return res;
47825 }
47826
47827 SWIGINTERN PyTypeObject*
47828 swig_varlink_type(void) {
47829 static char varlink__doc__[] = "Swig var link object";
47830 static PyTypeObject varlink_type;
47831 static int type_init = 0;
47832 if (!type_init) {
47833 const PyTypeObject tmp
47834 = {
47835 PyObject_HEAD_INIT(NULL)
47836 0, /* Number of items in variable part (ob_size) */
47837 (char *)"swigvarlink", /* Type name (tp_name) */
47838 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
47839 0, /* Itemsize (tp_itemsize) */
47840 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
47841 (printfunc) swig_varlink_print, /* Print (tp_print) */
47842 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
47843 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
47844 0, /* tp_compare */
47845 (reprfunc) swig_varlink_repr, /* tp_repr */
47846 0, /* tp_as_number */
47847 0, /* tp_as_sequence */
47848 0, /* tp_as_mapping */
47849 0, /* tp_hash */
47850 0, /* tp_call */
47851 (reprfunc)swig_varlink_str, /* tp_str */
47852 0, /* tp_getattro */
47853 0, /* tp_setattro */
47854 0, /* tp_as_buffer */
47855 0, /* tp_flags */
47856 varlink__doc__, /* tp_doc */
47857 0, /* tp_traverse */
47858 0, /* tp_clear */
47859 0, /* tp_richcompare */
47860 0, /* tp_weaklistoffset */
47861#if PY_VERSION_HEX >= 0x02020000
47862 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47863#endif
47864#if PY_VERSION_HEX >= 0x02030000
47865 0, /* tp_del */
47866#endif
47867#ifdef COUNT_ALLOCS
47868 0,0,0,0 /* tp_alloc -> tp_next */
47869#endif
47870 };
47871 varlink_type = tmp;
47872 varlink_type.ob_type = &PyType_Type;
47873 type_init = 1;
53aa7709 47874 }
0085ce49
RD
47875 return &varlink_type;
47876 }
47877
47878 /* Create a variable linking object for use later */
47879 SWIGINTERN PyObject *
47880 SWIG_Python_newvarlink(void) {
47881 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
47882 if (result) {
47883 result->vars = 0;
47884 }
47885 return ((PyObject*) result);
47886 }
47887
47888 SWIGINTERN void
47889 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
47890 swig_varlinkobject *v = (swig_varlinkobject *) p;
47891 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
47892 if (gv) {
47893 size_t size = strlen(name)+1;
47894 gv->name = (char *)malloc(size);
47895 if (gv->name) {
47896 strncpy(gv->name,name,size);
47897 gv->get_attr = get_attr;
47898 gv->set_attr = set_attr;
47899 gv->next = v->vars;
47900 }
53aa7709 47901 }
0085ce49
RD
47902 v->vars = gv;
47903 }
47904
47905 SWIGINTERN PyObject *
47906 SWIG_globals() {
47907 static PyObject *_SWIG_globals = 0;
47908 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
47909 return _SWIG_globals;
47910 }
47911
47912 /* -----------------------------------------------------------------------------
47913 * constants/methods manipulation
47914 * ----------------------------------------------------------------------------- */
47915
47916 /* Install Constants */
47917 SWIGINTERN void
47918 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
47919 PyObject *obj = 0;
47920 size_t i;
47921 for (i = 0; constants[i].type; ++i) {
47922 switch(constants[i].type) {
47923 case SWIG_PY_POINTER:
47924 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
47925 break;
47926 case SWIG_PY_BINARY:
47927 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
47928 break;
47929 default:
47930 obj = 0;
47931 break;
47932 }
47933 if (obj) {
47934 PyDict_SetItemString(d, constants[i].name, obj);
47935 Py_DECREF(obj);
47936 }
53aa7709 47937 }
0085ce49
RD
47938 }
47939
47940 /* -----------------------------------------------------------------------------*/
47941 /* Fix SwigMethods to carry the callback ptrs when needed */
47942 /* -----------------------------------------------------------------------------*/
47943
47944 SWIGINTERN void
47945 SWIG_Python_FixMethods(PyMethodDef *methods,
47946 swig_const_info *const_table,
47947 swig_type_info **types,
47948 swig_type_info **types_initial) {
47949 size_t i;
47950 for (i = 0; methods[i].ml_name; ++i) {
47951 char *c = methods[i].ml_doc;
47952 if (c && (c = strstr(c, "swig_ptr: "))) {
47953 int j;
47954 swig_const_info *ci = 0;
47955 char *name = c + 10;
47956 for (j = 0; const_table[j].type; ++j) {
47957 if (strncmp(const_table[j].name, name,
47958 strlen(const_table[j].name)) == 0) {
47959 ci = &(const_table[j]);
47960 break;
47961 }
47962 }
47963 if (ci) {
47964 size_t shift = (ci->ptype) - types;
47965 swig_type_info *ty = types_initial[shift];
47966 size_t ldoc = (c - methods[i].ml_doc);
47967 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
47968 char *ndoc = (char*)malloc(ldoc + lptr + 10);
47969 if (ndoc) {
47970 char *buff = ndoc;
47971 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
47972 if (ptr) {
47973 strncpy(buff, methods[i].ml_doc, ldoc);
47974 buff += ldoc;
47975 strncpy(buff, "swig_ptr: ", 10);
47976 buff += 10;
47977 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
47978 methods[i].ml_doc = ndoc;
47979 }
47980 }
47981 }
47982 }
53aa7709 47983 }
0085ce49
RD
47984 }
47985
47986#ifdef __cplusplus
47987}
47988#endif
47989
47990/* -----------------------------------------------------------------------------*
47991 * Partial Init method
47992 * -----------------------------------------------------------------------------*/
47993
47994#ifdef __cplusplus
47995extern "C"
47996#endif
47997SWIGEXPORT void SWIG_init(void) {
47998 PyObject *m, *d;
47999
48000 /* Fix SwigMethods to carry the callback ptrs when needed */
48001 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
48002
48003 m = Py_InitModule((char *) SWIG_name, SwigMethods);
48004 d = PyModule_GetDict(m);
48005
48006 SWIG_InitializeModule(0);
48007 SWIG_InstallConstants(d,swig_const_table);
48008
48009
48010 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
48011 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
48012 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
48013 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
48014 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
48015 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
48016 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
48017 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
48018 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
48019 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
48020 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
48021 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
48022 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
48023 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
48024 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
48025 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
48026 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
48027 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
48028 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
48029 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
48030 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
48031 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
0085ce49
RD
48032 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
48033 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
48034 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
48035 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
48036 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
48037 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
48038 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
48039 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
48040 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
48041 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
48042 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
48043 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
48044 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
48045 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
48046 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
48047 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
48048 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
48049 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
48050 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
48051 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
48052 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
48053 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
48054 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
0085ce49
RD
48055 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
48056 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
48057 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
48058 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
48059 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
48060 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
48061 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
48062 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
48063 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
48064 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
48065 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
48066 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
48067 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
48068 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
48069 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
48070 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
48071 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
48072 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
48073 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
48074 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
48075 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
48076 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
48077 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
48078 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
48079 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
48080 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
48081 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
48082 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
48083 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
48084 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
48085 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
48086 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
48087 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
48088 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
48089 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
48090 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
48091 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
48092 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
48093 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
48094 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
48095 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
48096 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
48097 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
48098 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
48099 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
48100 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
48101 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
48102 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
48103 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
48104 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
48105 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
48106 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
48107 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
48108 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
48109 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
48110 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
48111 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
48112 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
48113 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
48114 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
48115 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
48116 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
48117 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 48118 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
0085ce49
RD
48119 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
48120 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
48121 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
48122 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
48123 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
48124 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
48125 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
48126 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
48127 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
48128 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
48129 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
48130 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
48131 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
48132 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
48133 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
48134 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
48135 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
48136 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
48137 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
48138 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
48139 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
48140 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
48141 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
48142 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
48143 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
48144 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
48145 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
48146 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
48147 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
48148 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
48149 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
48150 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
48151 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
48152 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
48153 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
48154 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
48155 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
48156 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
48157 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
48158 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
48159 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
48160 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
48161 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
48162 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
48163 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
48164 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
48165 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
48166 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
48167 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 48168 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
0085ce49
RD
48169 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
48170 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
48171 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
48172 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
48173 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
48174 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
48175 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
48176 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
48177 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
48178 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
48179 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
48180 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
48181 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
48182 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
48183 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
48184 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
48185 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
48186 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
48187 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
48188 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
48189 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
48190 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
48191 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
48192 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
48193 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
48194 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
48195 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
48196 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
48197 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
48198 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
48199 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
48200 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
48201 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
48202 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
48203 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
48204 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
48205 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
48206 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
48207 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
48208 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
48209 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
48210 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
48211 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
48212 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
48213 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
48214 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
48215 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 48216 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
0085ce49
RD
48217 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
48218 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
48219 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
48220 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
48221 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
48222 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
48223 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
48224 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
48225 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
48226 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
48227 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
48228 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
48229 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
48230 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
48231 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
48232 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
48233 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
48234 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
48235 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
48236 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
48237 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
48238 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
48239 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
48240 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
48241 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
48242 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
48243 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
48244 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
48245 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
48246 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
48247 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
48248 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
48249 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
48250 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
48251 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
48252 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
48253 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
48254 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
48255 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
48256 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
48257 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
48258 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
48259
48260 // Map renamed classes back to their common name for OOR
48261 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
48262
48263 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
48264 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
48265 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
48266 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
48267 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
48268 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
48269 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
48270 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
48271 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
48272 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
48273 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
48274 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
48275 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
48276 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
48277 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
0085ce49
RD
48278 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
48279 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
48280 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
48281 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
48282 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
48283 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
48284 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
48285 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
48286 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
48287 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
48288 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
48289 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
48290 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
48291 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
48292 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
48293 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
48294 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
48295 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
48296 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
48297 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
48298 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
48299 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
48300 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
48301 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
48302 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
48303 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
48304 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
48305 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
48306 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
48307 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
48308 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
48309 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
48310 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
48311 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
48312 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
48313 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
48314 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
48315 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
48316 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
48317 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
48318
48319 // Map renamed classes back to their common name for OOR
48320 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
48321 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
48322
48323 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
48324 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
48325 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
48326 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
48327 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
48328 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
48329 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
48330 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
48331 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
48332 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
48333 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
48334 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
48335 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
0085ce49
RD
48336
48337 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
48338
48339 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
48340 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
48341 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
48342 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
48343 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
48344 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
48345 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
48346 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
48347 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
48348 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
48349 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
48350 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
48351 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
48352 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
48353 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
48354 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
48355 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
48356 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
48357 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
48358 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
48359 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
48360 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
48361 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
48362 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
48363 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
48364 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
48365 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
48366 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
48367 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
48368 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
48369 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
48370 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
48371 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
48372 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
48373 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
48374 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
48375 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
48376 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
48377 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
48378 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
d14a1e28
RD
48379}
48380