]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
bitwise vs. logical operator
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
554f62e9 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
554f62e9 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
093d3ff1 27};
d55e5bfc
RD
28#endif
29
554f62e9 30/* -----------------------------------------------------------------------------
7449af73
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
554f62e9 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
7449af73
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
554f62e9
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
d55e5bfc 47
7449af73
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
554f62e9
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__))
7449af73
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
554f62e9
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
7449af73
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
554f62e9
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
7449af73
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
554f62e9
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
7449af73
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
554f62e9
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
7449af73 126
d55e5bfc 127
554f62e9 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d55e5bfc 130
554f62e9 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d55e5bfc 133 *
554f62e9
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 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 */
7449af73 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
7449af73
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)
d55e5bfc 147#else
7449af73 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*/
7449af73 159
093d3ff1 160#ifndef SWIGRUNTIME
7449af73 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
7449af73 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
7449af73 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
554f62e9
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
7449af73
RD
309#include <string.h>
310
d55e5bfc
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
7449af73 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
7449af73
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 */
554f62e9 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
7449af73
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;
554f62e9 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>|...
7449af73 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 }
7449af73 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
7449af73
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*/
7449af73
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 }
7449af73
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
7449af73 401 return equiv;
093d3ff1
RD
402}
403
7449af73
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*/
7449af73 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
7449af73
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 *
7449af73 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. */
554f62e9 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
7449af73
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;
7449af73
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 }
7449af73
RD
508 }
509 cast = cast->next;
510 }
511}
554f62e9
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
7449af73
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 }
7449af73
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 }
7449af73
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) {
7449af73
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) {
7449af73 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;
7449af73 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
7449af73 621 register char d = *(c++);
554f62e9 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}
d55e5bfc 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}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
554f62e9
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
d55e5bfc 714
554f62e9
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
554f62e9
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/* -----------------------------------------------------------------------------
554f62e9 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
554f62e9
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}
d55e5bfc 846
554f62e9
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
d55e5bfc 936
554f62e9
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
554f62e9
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 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 {
554f62e9
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;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
554f62e9
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
554f62e9
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 *
554f62e9
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 *
554f62e9 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
093d3ff1 986/* Common SWIG API */
d55e5bfc 987
96221a45
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
554f62e9
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
554f62e9
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
554f62e9
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
554f62e9
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
554f62e9
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1016
d55e5bfc 1017
554f62e9 1018/* Runtime API */
d55e5bfc 1019
554f62e9
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1023
554f62e9
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
7449af73 1029
d55e5bfc 1030
554f62e9 1031/* Runtime API implementation */
093d3ff1 1032
554f62e9 1033/* Error manipulation */
093d3ff1 1034
554f62e9
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1041}
1042
554f62e9
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
093d3ff1 1048}
d55e5bfc 1049
554f62e9 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1051
554f62e9 1052/* Set a constant value */
093d3ff1 1053
554f62e9
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
d55e5bfc
RD
1058}
1059
554f62e9 1060/* Append a value to the result obj */
d55e5bfc 1061
554f62e9
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
c32bde28 1088 } else {
554f62e9
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c32bde28 1100 }
554f62e9
RD
1101 return result;
1102#endif
d55e5bfc 1103}
093d3ff1 1104
554f62e9 1105/* Unpack the argument tuple */
093d3ff1 1106
554f62e9
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1609#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1613#endif
1614 };
1615
554f62e9 1616 static PyTypeObject pyswigobject_type;
7449af73 1617 static int type_init = 0;
093d3ff1 1618 if (!type_init) {
554f62e9
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
093d3ff1 1632#endif
554f62e9
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
093d3ff1 1651#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
d55e5bfc 1672#endif
093d3ff1 1673#if PY_VERSION_HEX >= 0x02030000
554f62e9 1674 0, /* tp_del */
093d3ff1
RD
1675#endif
1676#ifdef COUNT_ALLOCS
554f62e9 1677 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1678#endif
554f62e9 1679 };
7449af73 1680 pyswigobject_type = tmp;
554f62e9 1681 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1682 type_init = 1;
1683 }
7449af73 1684 return &pyswigobject_type;
093d3ff1
RD
1685}
1686
1687SWIGRUNTIME PyObject *
554f62e9 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
093d3ff1 1689{
554f62e9
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
7449af73 1696 }
554f62e9 1697 return (PyObject *)sobj;
093d3ff1
RD
1698}
1699
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
554f62e9 1707 swig_type_info *ty;
093d3ff1
RD
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
554f62e9 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
093d3ff1
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
554f62e9 1720 fputs(v->ty->name,fp);
093d3ff1
RD
1721 fputs(">", fp);
1722 return 0;
1723}
9d7dfdff 1724
093d3ff1
RD
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1731 } else {
554f62e9 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1
RD
1733 }
1734}
1735
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1742 } else {
554f62e9 1743 return PyString_FromString(v->ty->name);
093d3ff1
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
554f62e9
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
093d3ff1
RD
1754}
1755
554f62e9 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
093d3ff1
RD
1757
1758SWIGRUNTIME PyTypeObject*
7449af73 1759PySwigPacked_type(void) {
554f62e9
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
093d3ff1
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
554f62e9 1837 0, /* tp_del */
093d3ff1
RD
1838#endif
1839#ifdef COUNT_ALLOCS
554f62e9 1840 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1841#endif
554f62e9 1842 };
7449af73 1843 pyswigpacked_type = tmp;
554f62e9 1844 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1845 type_init = 1;
1846 }
7449af73 1847 return &pyswigpacked_type;
093d3ff1
RD
1848}
1849
1850SWIGRUNTIME PyObject *
554f62e9 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1852{
554f62e9
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
093d3ff1 1855 void *pack = malloc(size);
7449af73
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
554f62e9
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
7449af73 1864 }
093d3ff1 1865 }
554f62e9 1866 return (PyObject *) sobj;
093d3ff1
RD
1867}
1868
554f62e9 1869SWIGRUNTIME swig_type_info *
093d3ff1
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
554f62e9
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
093d3ff1
RD
1880}
1881
093d3ff1 1882/* -----------------------------------------------------------------------------
554f62e9 1883 * pointers/data manipulation
093d3ff1
RD
1884 * ----------------------------------------------------------------------------- */
1885
554f62e9
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
093d3ff1 1891
554f62e9
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
093d3ff1 1898
554f62e9 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
093d3ff1 1900
554f62e9
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1903{
554f62e9
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
093d3ff1 1926 } else {
554f62e9
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
093d3ff1 1929 }
093d3ff1 1930 }
554f62e9
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
093d3ff1
RD
1947 }
1948}
1949
554f62e9
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
093d3ff1 1961 }
554f62e9 1962 return 0;
093d3ff1
RD
1963}
1964
554f62e9
RD
1965/* Convert a pointer value */
1966
093d3ff1 1967SWIGRUNTIME int
554f62e9
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
093d3ff1 1992 } else {
554f62e9
RD
1993 if (ptr) *ptr = vptr;
1994 break;
093d3ff1 1995 }
093d3ff1 1996 }
554f62e9
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
093d3ff1
RD
2042 }
2043}
2044
554f62e9
RD
2045/* Convert a function ptr value */
2046
093d3ff1 2047SWIGRUNTIME int
554f62e9
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2051 } else {
554f62e9
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
96221a45 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
554f62e9
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
093d3ff1
RD
2069 }
2070}
2071
554f62e9 2072/* Convert a packed value value */
093d3ff1 2073
093d3ff1 2074SWIGRUNTIME int
554f62e9
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
093d3ff1 2084 }
554f62e9
RD
2085 return SWIG_OK;
2086}
093d3ff1 2087
554f62e9
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
093d3ff1 2091
554f62e9
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
093d3ff1 2096
554f62e9
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
093d3ff1 2115 }
554f62e9
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
093d3ff1 2120 }
554f62e9
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
093d3ff1 2126 }
554f62e9
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
093d3ff1 2140 }
554f62e9
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
093d3ff1 2147 }
554f62e9
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
093d3ff1
RD
2158}
2159
554f62e9
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
093d3ff1 2175#endif
554f62e9
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
093d3ff1 2180
554f62e9
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2191 } else {
554f62e9 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2193 }
554f62e9 2194 return SWIG_Py_Void();
093d3ff1 2195 }
554f62e9
RD
2196}
2197
2198/* Create a new pointer object */
093d3ff1 2199
093d3ff1 2200SWIGRUNTIME PyObject *
554f62e9 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2202 if (!ptr) {
554f62e9
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
093d3ff1 2213 }
093d3ff1 2214 }
554f62e9 2215 return robj;
093d3ff1 2216 }
093d3ff1
RD
2217}
2218
554f62e9
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
093d3ff1 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
7449af73
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
093d3ff1
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
093d3ff1 2248#endif
7449af73
RD
2249 }
2250 return (swig_module_info *) type_pointer;
093d3ff1
RD
2251}
2252
7449af73
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
554f62e9 2263 return SWIG_ERROR;
7449af73
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
554f62e9 2268 return SWIG_ERROR;
7449af73
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
554f62e9 2276 return SWIG_ERROR;
7449af73
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
554f62e9 2279 return SWIG_ERROR;
7449af73 2280 Py_DECREF(o);
554f62e9 2281 return SWIG_OK;
093d3ff1 2282}
7449af73 2283#endif
093d3ff1 2284
554f62e9
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
7449af73
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
554f62e9 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2310 } else {
2311 Py_XDECREF(pointer);
7449af73
RD
2312 }
2313}
093d3ff1 2314
554f62e9
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
093d3ff1 2320}
093d3ff1 2321
554f62e9
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
7449af73
RD
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_long swig_types[4]
2471#define SWIGTYPE_p_unsigned_char swig_types[5]
2472#define SWIGTYPE_p_unsigned_int swig_types[6]
2473#define SWIGTYPE_p_unsigned_long swig_types[7]
2474#define SWIGTYPE_p_void swig_types[8]
2475#define SWIGTYPE_p_wxANIHandler swig_types[9]
2476#define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477#define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478#define SWIGTYPE_p_wxArrayInt swig_types[12]
2479#define SWIGTYPE_p_wxArrayString swig_types[13]
2480#define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481#define SWIGTYPE_p_wxBitmap swig_types[15]
2482#define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483#define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485#define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486#define SWIGTYPE_p_wxButton swig_types[20]
2487#define SWIGTYPE_p_wxCURHandler swig_types[21]
2488#define SWIGTYPE_p_wxCheckBox swig_types[22]
2489#define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490#define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491#define SWIGTYPE_p_wxChoice swig_types[25]
2492#define SWIGTYPE_p_wxChoicebook swig_types[26]
2493#define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2131d850
RD
2494#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495#define SWIGTYPE_p_wxCloseEvent swig_types[29]
5172800e
RD
2496#define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498#define SWIGTYPE_p_wxColour swig_types[32]
2499#define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500#define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501#define SWIGTYPE_p_wxComboBox swig_types[35]
2502#define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503#define SWIGTYPE_p_wxContextHelp swig_types[37]
2504#define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505#define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506#define SWIGTYPE_p_wxControl swig_types[40]
2507#define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508#define SWIGTYPE_p_wxCursor swig_types[42]
2509#define SWIGTYPE_p_wxDC swig_types[43]
2510#define SWIGTYPE_p_wxDateEvent swig_types[44]
2511#define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDateTime swig_types[46]
2513#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514#define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516#define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517#define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518#define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519#define SWIGTYPE_p_wxEvent swig_types[53]
2520#define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521#define SWIGTYPE_p_wxFSFile swig_types[55]
2522#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523#define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524#define SWIGTYPE_p_wxFileSystem swig_types[58]
2525#define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526#define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527#define SWIGTYPE_p_wxFont swig_types[61]
2528#define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529#define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530#define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531#define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532#define SWIGTYPE_p_wxGauge swig_types[66]
2533#define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534#define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535#define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536#define SWIGTYPE_p_wxGridSizer swig_types[70]
2537#define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538#define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540#define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541#define SWIGTYPE_p_wxICOHandler swig_types[75]
2542#define SWIGTYPE_p_wxIcon swig_types[76]
2543#define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544#define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545#define SWIGTYPE_p_wxImage swig_types[79]
2546#define SWIGTYPE_p_wxImageHandler swig_types[80]
2547#define SWIGTYPE_p_wxImageList swig_types[81]
2548#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549#define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550#define SWIGTYPE_p_wxItemContainer swig_types[84]
2551#define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552#define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553#define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554#define SWIGTYPE_p_wxListBox swig_types[88]
2555#define SWIGTYPE_p_wxListEvent swig_types[89]
2556#define SWIGTYPE_p_wxListItem swig_types[90]
2557#define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558#define SWIGTYPE_p_wxListView swig_types[92]
2559#define SWIGTYPE_p_wxListbook swig_types[93]
2560#define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561#define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562#define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563#define SWIGTYPE_p_wxMenu swig_types[97]
2564#define SWIGTYPE_p_wxMenuBar swig_types[98]
2565#define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566#define SWIGTYPE_p_wxMenuItem swig_types[100]
2567#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569#define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570#define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572#define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573#define SWIGTYPE_p_wxNotebook swig_types[107]
2574#define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575#define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576#define SWIGTYPE_p_wxObject swig_types[110]
2577#define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578#define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579#define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580#define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582#define SWIGTYPE_p_wxPaperSize swig_types[116]
2583#define SWIGTYPE_p_wxPickerBase swig_types[117]
2584#define SWIGTYPE_p_wxPoint swig_types[118]
2585#define SWIGTYPE_p_wxPyApp swig_types[119]
2586#define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587#define SWIGTYPE_p_wxPyControl swig_types[121]
2588#define SWIGTYPE_p_wxPyEvent swig_types[122]
2589#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590#define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591#define SWIGTYPE_p_wxPySizer swig_types[125]
2592#define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593#define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594#define SWIGTYPE_p_wxPyValidator swig_types[128]
2595#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596#define SWIGTYPE_p_wxRadioBox swig_types[130]
2597#define SWIGTYPE_p_wxRadioButton swig_types[131]
2598#define SWIGTYPE_p_wxRect swig_types[132]
2599#define SWIGTYPE_p_wxScrollBar swig_types[133]
2600#define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603#define SWIGTYPE_p_wxShowEvent swig_types[137]
2604#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605#define SWIGTYPE_p_wxSize swig_types[139]
2606#define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607#define SWIGTYPE_p_wxSizer swig_types[141]
2608#define SWIGTYPE_p_wxSizerItem swig_types[142]
2609#define SWIGTYPE_p_wxSlider swig_types[143]
2610#define SWIGTYPE_p_wxSpinButton swig_types[144]
2611#define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612#define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613#define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614#define SWIGTYPE_p_wxStaticBox swig_types[148]
2615#define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616#define SWIGTYPE_p_wxStaticLine swig_types[150]
2617#define SWIGTYPE_p_wxStaticText swig_types[151]
2618#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619#define SWIGTYPE_p_wxString swig_types[153]
2620#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621#define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622#define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623#define SWIGTYPE_p_wxTextAttr swig_types[157]
2624#define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625#define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626#define SWIGTYPE_p_wxToggleButton swig_types[160]
2627#define SWIGTYPE_p_wxToolBar swig_types[161]
2628#define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629#define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630#define SWIGTYPE_p_wxToolbook swig_types[164]
2631#define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632#define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633#define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634#define SWIGTYPE_p_wxTreebook swig_types[168]
2635#define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636#define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637#define SWIGTYPE_p_wxValidator swig_types[171]
2638#define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639#define SWIGTYPE_p_wxWindow swig_types[173]
2640#define SWIGTYPE_p_wxWindowBase swig_types[174]
2641#define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643#define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644static swig_type_info *swig_types[179];
2645static swig_module_info swig_module = {swig_types, 178, 0, 0, 0, 0};
7449af73
RD
2646#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2648
2649/* -------- TYPES TABLE (END) -------- */
2650
554f62e9
RD
2651#if (PY_VERSION_HEX <= 0x02000000)
2652# if !defined(SWIG_PYTHON_CLASSIC)
2653# error "This python version requires to use swig with the '-classic' option"
2654# endif
2655#endif
2656#if (PY_VERSION_HEX <= 0x02020000)
2657# error "This python version requires to use swig with the '-nomodern' option"
2658#endif
2659#if (PY_VERSION_HEX <= 0x02020000)
2660# error "This python version requires to use swig with the '-nomodernargs' option"
2661#endif
2662#ifndef METH_O
2663# error "This python version requires to use swig with the '-nofastunpack' option"
2664#endif
093d3ff1
RD
2665
2666/*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669#define SWIG_init init_controls_
2670
2671#define SWIG_name "_controls_"
2672
554f62e9
RD
2673#define SWIGVERSION 0x010329
2674
2675
2676#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2678
2679
2680#include <stdexcept>
2681
2682
2683namespace swig {
2684 class PyObject_ptr {
2685 protected:
2686 PyObject *_obj;
2687
2688 public:
2689 PyObject_ptr() :_obj(0)
2690 {
2691 }
2692
2693 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2694 {
2695 Py_XINCREF(_obj);
2696 }
2697
2698 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2699 {
2700 if (initial_ref) Py_XINCREF(_obj);
2701 }
2702
2703 PyObject_ptr & operator=(const PyObject_ptr& item)
2704 {
2705 Py_XINCREF(item._obj);
2706 Py_XDECREF(_obj);
2707 _obj = item._obj;
2708 return *this;
2709 }
2710
2711 ~PyObject_ptr()
2712 {
2713 Py_XDECREF(_obj);
2714 }
2715
2716 operator PyObject *() const
2717 {
2718 return _obj;
2719 }
2720
2721 PyObject *operator->() const
2722 {
2723 return _obj;
2724 }
2725 };
2726}
2727
2728
2729namespace swig {
2730 struct PyObject_var : PyObject_ptr {
2731 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2732
2733 PyObject_var & operator = (PyObject* obj)
2734 {
2735 Py_XDECREF(_obj);
2736 _obj = obj;
2737 return *this;
2738 }
2739 };
2740}
2741
2742
093d3ff1
RD
2743#include "wx/wxPython/wxPython.h"
2744#include "wx/wxPython/pyclasses.h"
2745
2746 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2747 static const wxString wxPyEmptyString(wxEmptyString);
2748 static const wxString wxPyControlNameStr(wxControlNameStr);
2749
2750 const wxArrayString wxPyEmptyStringArray;
2751
2752 static const wxString wxPyButtonNameStr(wxButtonNameStr);
2753
554f62e9 2754 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2755
2756
554f62e9
RD
2757SWIGINTERNINLINE PyObject *
2758SWIG_From_int (int value)
2759{
2760 return SWIG_From_long (value);
2761}
093d3ff1
RD
2762
2763
554f62e9
RD
2764#include <limits.h>
2765#ifndef LLONG_MIN
2766# define LLONG_MIN LONG_LONG_MIN
2767#endif
2768#ifndef LLONG_MAX
2769# define LLONG_MAX LONG_LONG_MAX
2770#endif
2771#ifndef ULLONG_MAX
2772# define ULLONG_MAX ULONG_LONG_MAX
2773#endif
093d3ff1
RD
2774
2775
2776SWIGINTERN int
554f62e9 2777SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1
RD
2778{
2779 if (PyNumber_Check(obj)) {
2780 if (val) *val = PyInt_AsLong(obj);
554f62e9 2781 return SWIG_OK;
093d3ff1 2782 }
554f62e9 2783 return SWIG_TypeError;
093d3ff1
RD
2784}
2785
2786
093d3ff1 2787SWIGINTERN int
554f62e9
RD
2788SWIG_AsVal_int (PyObject * obj, int *val)
2789{
093d3ff1 2790 long v;
554f62e9
RD
2791 int res = SWIG_AsVal_long (obj, &v);
2792 if (SWIG_IsOK(res)) {
2793 if ((v < INT_MIN || v > INT_MAX)) {
2794 return SWIG_OverflowError;
093d3ff1 2795 } else {
554f62e9 2796 if (val) *val = static_cast< int >(v);
093d3ff1 2797 }
554f62e9
RD
2798 }
2799 return res;
d55e5bfc
RD
2800}
2801
c32bde28 2802 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
d55e5bfc 2803
093d3ff1 2804SWIGINTERN int
554f62e9 2805SWIG_AsVal_bool (PyObject *obj, bool *val)
d55e5bfc 2806{
c32bde28
RD
2807 if (obj == Py_True) {
2808 if (val) *val = true;
554f62e9
RD
2809 return SWIG_OK;
2810 } else if (obj == Py_False) {
c32bde28 2811 if (val) *val = false;
554f62e9 2812 return SWIG_OK;
093d3ff1 2813 } else {
554f62e9
RD
2814 long v = 0;
2815 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2816 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2817 return res;
c32bde28 2818 }
d55e5bfc
RD
2819}
2820
2821 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
2822 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
2823 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
2824 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
2825 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
2826 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
2827
2828#include <wx/checklst.h>
d55e5bfc
RD
2829
2830 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
554f62e9 2831SWIGINTERN void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData=NULL){
e9d6f3a4
RD
2832 if (clientData)
2833 {
d55e5bfc
RD
2834 wxPyClientData* data = new wxPyClientData(clientData);
2835 self->Insert(item, pos, data);
e9d6f3a4
RD
2836 }
2837 else
d55e5bfc
RD
2838 self->Insert(item, pos);
2839 }
50f151d7
RD
2840
2841SWIGINTERN int
2842SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2843{
2844 long v = 0;
2845 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2846 return SWIG_TypeError;
2847 }
2848 else if (val)
2849 *val = (unsigned long)v;
2850 return SWIG_OK;
2851}
2852
2853
2854SWIGINTERN int
2855SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2856{
2857 unsigned long v;
2858 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2859 if (SWIG_IsOK(res)) {
2860 if ((v > UINT_MAX)) {
2861 return SWIG_OverflowError;
2862 } else {
2863 if (val) *val = static_cast< unsigned int >(v);
2864 }
2865 }
2866 return res;
2867}
2868
554f62e9 2869SWIGINTERN PyObject *wxListBox_GetSelections(wxListBox *self){
e9d6f3a4 2870 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7e08d4ef
RD
2871 wxArrayInt lst;
2872 self->GetSelections(lst);
2873 PyObject *tup = PyTuple_New(lst.GetCount());
e9d6f3a4
RD
2874 for (size_t i=0; i<lst.GetCount(); i++)
2875 {
7e08d4ef
RD
2876 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2877 }
e9d6f3a4 2878 wxPyEndBlockThreads(blocked);
7e08d4ef
RD
2879 return tup;
2880 }
554f62e9 2881SWIGINTERN void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2882 #ifdef __WXMSW__
2883 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2884 self->GetItem(item)->SetTextColour(c);
2885 #endif
2886 }
554f62e9 2887SWIGINTERN void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
d55e5bfc
RD
2888 #ifdef __WXMSW__
2889 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2890 self->GetItem(item)->SetBackgroundColour(c);
2891 #endif
2892 }
554f62e9 2893SWIGINTERN void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
d55e5bfc
RD
2894 #ifdef __WXMSW__
2895 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
2896 self->GetItem(item)->SetFont(f);
2897 #endif
2898 }
2899 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
d7645bfd 2900SWIGINTERN void wxTextCtrl_MacCheckSpelling(wxTextCtrl *self,bool check){}
554f62e9 2901SWIGINTERN void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
d55e5bfc
RD
2902 self->AppendText(text);
2903 }
554f62e9 2904SWIGINTERN wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
d55e5bfc
RD
2905 return self->GetValue().Mid(from, to - from);
2906 }
2907 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
2908 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
2909 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2910 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
2911 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
2912
1c71765a
RD
2913SWIGINTERNINLINE PyObject*
2914SWIG_From_unsigned_SS_long (unsigned long value)
2915{
2916 return (value > LONG_MAX) ?
2917 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2918}
2919
2920
2921SWIGINTERNINLINE PyObject *
2922SWIG_From_size_t (size_t value)
2923{
2924 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2925}
2926
2927
50f151d7
RD
2928SWIGINTERNINLINE PyObject *
2929SWIG_From_unsigned_SS_int (unsigned int value)
2930{
2931 return SWIG_From_unsigned_SS_long (value);
2932}
2933
2934
d55e5bfc
RD
2935#include <wx/slider.h>
2936
2937
2938 static const wxString wxPySliderNameStr(wxSliderNameStr);
2939 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
2940
2941#if !wxUSE_TOGGLEBTN
2942// implement dummy items for platforms that don't have this class
2943
2944#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2945
2946class wxToggleButton : public wxControl
2947{
2948public:
2949 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
2950 const wxPoint&, const wxSize&, long,
2951 const wxValidator&, const wxString&)
2952 { wxPyRaiseNotImplemented(); }
2953
2954 wxToggleButton()
2955 { wxPyRaiseNotImplemented(); }
2956};
2957#endif
2958
51b83b37 2959 static const wxString wxPyNotebookNameStr(wxNotebookNameStr);
d55e5bfc 2960
7e08d4ef 2961SWIGINTERNINLINE int
554f62e9 2962SWIG_AsVal_size_t (PyObject * obj, size_t *val)
7e08d4ef 2963{
7e08d4ef 2964 unsigned long v;
554f62e9
RD
2965 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2966 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2967 return res;
7e08d4ef 2968}
7e08d4ef 2969
d55e5bfc 2970 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9 2971SWIGINTERN PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
d55e5bfc
RD
2972 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
2973 if (udata) {
2974 Py_INCREF(udata->m_obj);
2975 return udata->m_obj;
2976 } else {
2977 Py_INCREF(Py_None);
2978 return Py_None;
2979 }
2980 }
554f62e9 2981SWIGINTERN void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
d55e5bfc
RD
2982 self->SetClientData(new wxPyUserData(clientData));
2983 }
554f62e9 2984SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
2985 wxPyUserData* udata = NULL;
2986 if (clientData && clientData != Py_None)
2987 udata = new wxPyUserData(clientData);
2988 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
2989 shortHelp, longHelp, udata);
2990 }
554f62e9 2991SWIGINTERN wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled=wxNullBitmap,wxItemKind kind=wxITEM_NORMAL,wxString const &shortHelp=wxPyEmptyString,wxString const &longHelp=wxPyEmptyString,PyObject *clientData=NULL){
d55e5bfc
RD
2992 wxPyUserData* udata = NULL;
2993 if (clientData && clientData != Py_None)
2994 udata = new wxPyUserData(clientData);
2995 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
2996 shortHelp, longHelp, udata);
2997 }
554f62e9 2998SWIGINTERN PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
d55e5bfc
RD
2999 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
3000 if (udata) {
3001 Py_INCREF(udata->m_obj);
3002 return udata->m_obj;
3003 } else {
3004 Py_INCREF(Py_None);
3005 return Py_None;
3006 }
3007 }
554f62e9 3008SWIGINTERN void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
d55e5bfc
RD
3009 self->SetToolClientData(id, new wxPyUserData(clientData));
3010 }
3011
3012#include <wx/listctrl.h>
3013
fef4c27a 3014 static const wxString wxPyListCtrlNameStr(wxListCtrlNameStr);
554f62e9 3015SWIGINTERN void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
d55e5bfc
RD
3016 // Python aware sorting function for wxPyListCtrl
3017 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
3018 int retval = 0;
3019 PyObject* func = (PyObject*)funcPtr;
5a446332 3020 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3021
3022 PyObject* args = Py_BuildValue("(ii)", item1, item2);
3023 PyObject* result = PyEval_CallObject(func, args);
3024 Py_DECREF(args);
3025 if (result) {
3026 retval = PyInt_AsLong(result);
3027 Py_DECREF(result);
3028 }
3029
3030 wxPyEndBlockThreads(blocked);
3031 return retval;
3032 }
3033
3034 // C++ Version of a Python aware class
3035class wxPyListCtrl : public wxListCtrl {
7449af73 3036 DECLARE_ABSTRACT_CLASS(wxPyListCtrl)
d55e5bfc
RD
3037public:
3038 wxPyListCtrl() : wxListCtrl() {}
3039 wxPyListCtrl(wxWindow* parent, wxWindowID id,
3040 const wxPoint& pos,
3041 const wxSize& size,
3042 long style,
3043 const wxValidator& validator,
3044 const wxString& name) :
3045 wxListCtrl(parent, id, pos, size, style, validator, name) {}
3046
3047 bool Create(wxWindow* parent, wxWindowID id,
3048 const wxPoint& pos,
3049 const wxSize& size,
3050 long style,
3051 const wxValidator& validator,
3052 const wxString& name) {
3053 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
3054 }
3055
3056 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
d55e5bfc
RD
3057 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
3058
84f85550
RD
3059 // use the virtual version to avoid a confusing assert in the base class
3060 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage);
7e08d4ef 3061 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage);
84f85550 3062
d55e5bfc
RD
3063 PYPRIVATE;
3064};
3065
3066IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
3067
3068IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
d55e5bfc 3069IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
84f85550 3070IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl, wxListCtrl, OnGetItemImage);
c25f90f6 3071IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemColumnImage);
7e08d4ef 3072
d55e5bfc 3073
554f62e9 3074SWIGINTERN wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
d55e5bfc
RD
3075 wxListItem item;
3076 item.SetMask( wxLIST_MASK_STATE |
3077 wxLIST_MASK_TEXT |
3078 wxLIST_MASK_IMAGE |
3079 wxLIST_MASK_DATA |
3080 wxLIST_SET_ITEM |
3081 wxLIST_MASK_WIDTH |
3082 wxLIST_MASK_FORMAT
3083 );
3084 if (self->GetColumn(col, item))
3085 return new wxListItem(item);
3086 else
3087 return NULL;
3088 }
554f62e9 3089SWIGINTERN wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col=0){
d55e5bfc
RD
3090 wxListItem* info = new wxListItem;
3091 info->m_itemId = itemId;
3092 info->m_col = col;
3093 info->m_mask = 0xFFFF;
3094 self->GetItem(*info);
3095 return info;
3096 }
554f62e9 3097SWIGINTERN wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
d55e5bfc
RD
3098 wxPoint pos;
3099 self->GetItemPosition(item, pos);
3100 return pos;
3101 }
554f62e9 3102SWIGINTERN wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code=wxLIST_RECT_BOUNDS){
d55e5bfc
RD
3103 wxRect rect;
3104 self->GetItemRect(item, rect, code);
3105 return rect;
3106 }
554f62e9 3107SWIGINTERN bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
d55e5bfc 3108 if (!PyCallable_Check(func))
ae8162c8 3109 return false;
d55e5bfc
RD
3110 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
3111 }
554f62e9 3112SWIGINTERN wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
d55e5bfc
RD
3113
3114 return self;
3115
3116
3117
3118 }
3119
3120#include <wx/treectrl.h>
3121#include "wx/wxPython/pytree.h"
3122
3123 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
554f62e9
RD
3124SWIGINTERN bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : false; }
3125SWIGINTERN bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : true; }
3126SWIGINTERN void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
b02396e8
RD
3127
3128 static wxTreeItemId wxNullTreeItemId;
3129
d55e5bfc
RD
3130 // C++ version of Python aware wxTreeCtrl
3131class wxPyTreeCtrl : public wxTreeCtrl {
7449af73 3132 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl)
d55e5bfc
RD
3133public:
3134 wxPyTreeCtrl() : wxTreeCtrl() {}
3135 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
3136 const wxPoint& pos,
3137 const wxSize& size,
3138 long style,
3139 const wxValidator& validator,
3140 const wxString& name) :
3141 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
3142
3143 bool Create(wxWindow *parent, wxWindowID id,
3144 const wxPoint& pos,
3145 const wxSize& size,
3146 long style,
3147 const wxValidator& validator,
3148 const wxString& name) {
3149 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
3150 }
3151
3152
3153 int OnCompareItems(const wxTreeItemId& item1,
3154 const wxTreeItemId& item2) {
3155 int rval = 0;
3156 bool found;
5a446332 3157 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3158 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
ae8162c8
RD
3159 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
3160 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
d55e5bfc
RD
3161 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
3162 Py_DECREF(o1);
3163 Py_DECREF(o2);
3164 }
3165 wxPyEndBlockThreads(blocked);
3166 if (! found)
3167 rval = wxTreeCtrl::OnCompareItems(item1, item2);
3168 return rval;
3169 }
3170 PYPRIVATE;
3171};
3172
3173IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
3174
3175
554f62e9 3176SWIGINTERN wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3177 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3178 if (data == NULL) {
3179 data = new wxPyTreeItemData();
3180 data->SetId(item); // set the id
3181 self->SetItemData(item, data);
3182 }
3183 return data;
3184 }
554f62e9 3185SWIGINTERN PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3186 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3187 if (data == NULL) {
3188 data = new wxPyTreeItemData();
3189 data->SetId(item); // set the id
3190 self->SetItemData(item, data);
3191 }
3192 return data->GetData();
3193 }
554f62e9 3194SWIGINTERN void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
d55e5bfc
RD
3195 data->SetId(item); // set the id
3196 self->SetItemData(item, data);
3197 }
554f62e9 3198SWIGINTERN void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
d55e5bfc
RD
3199 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3200 if (data == NULL) {
3201 data = new wxPyTreeItemData(obj);
3202 data->SetId(item); // set the id
3203 self->SetItemData(item, data);
3204 } else
3205 data->SetData(obj);
3206 }
554f62e9 3207SWIGINTERN PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
5a446332 3208 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3209 PyObject* rval = PyList_New(0);
3210 wxArrayTreeItemIds array;
3211 size_t num, x;
3212 num = self->GetSelections(array);
3213 for (x=0; x < num; x++) {
3214 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3215 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
d55e5bfc 3216 PyList_Append(rval, item);
a07a67e6 3217 Py_DECREF(item);
d55e5bfc
RD
3218 }
3219 wxPyEndBlockThreads(blocked);
3220 return rval;
3221 }
554f62e9 3222SWIGINTERN PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
d55e5bfc
RD
3223 void* cookie = 0;
3224 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3225 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3226 PyObject* tup = PyTuple_New(2);
ae8162c8 3227 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3228 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3229 wxPyEndBlockThreads(blocked);
3230 return tup;
3231 }
554f62e9 3232SWIGINTERN PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
d55e5bfc 3233 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3234 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3235 PyObject* tup = PyTuple_New(2);
ae8162c8 3236 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
d55e5bfc
RD
3237 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3238 wxPyEndBlockThreads(blocked);
3239 return tup;
3240 }
554f62e9 3241SWIGINTERN PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly=false){
d55e5bfc
RD
3242 wxRect rect;
3243 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3244 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc 3245 wxRect* r = new wxRect(rect);
ae8162c8 3246 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
d55e5bfc
RD
3247 wxPyEndBlockThreads(blocked);
3248 return val;
3249 }
3250 else
3251 RETURN_NONE();
3252 }
3253 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
c32bde28 3254
7449af73 3255SWIGINTERNINLINE PyObject*
554f62e9 3256 SWIG_From_bool (bool value)
c32bde28 3257{
554f62e9 3258 return PyBool_FromLong(value ? 1 : 0);
c32bde28
RD
3259}
3260
d55e5bfc
RD
3261 // C++ version of Python aware wxControl
3262class wxPyControl : public wxControl
3263{
3264 DECLARE_DYNAMIC_CLASS(wxPyControl)
3265public:
3266 wxPyControl() : wxControl() {}
3267 wxPyControl(wxWindow* parent, const wxWindowID id,
3268 const wxPoint& pos = wxDefaultPosition,
3269 const wxSize& size = wxDefaultSize,
3270 long style = 0,
3271 const wxValidator& validator=wxDefaultValidator,
3272 const wxString& name = wxPyControlNameStr)
3273 : wxControl(parent, id, pos, size, style, validator, name) {}
3274
3275
60d5fcc1
RD
3276 bool DoEraseBackground(wxDC* dc) {
3277#ifdef __WXMSW__
3278 return wxWindow::DoEraseBackground(dc->GetHDC());
3279#else
3280 dc->SetBackground(wxBrush(GetBackgroundColour()));
3281 dc->Clear();
3282 return true;
3283#endif
3284 }
3285
d55e5bfc
RD
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3290
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3294
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3297
3298 DEC_PYCALLBACK__(InitDialog);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3301 DEC_PYCALLBACK_BOOL_(Validate);
3302
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3306
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3309
caef1a4d 3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3312
51b83b37
RD
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3314
8d38bd1d
RD
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3316
d55e5bfc
RD
3317 PYPRIVATE;
3318};
3319
3320IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
3321
3322IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
3323IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
3324IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
3325IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
3326
3327IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
3328IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
3330
3331IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
3332IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
3333
3334IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
3335IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
3336IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
3337IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
3338
3339IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
3340IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
3341IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
3342
3343IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
3344IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
3345
caef1a4d 3346IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
caef1a4d 3347IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc 3348
51b83b37 3349IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, HasTransparentBackground);
8d38bd1d
RD
3350
3351IMP_PYCALLBACK_VOID_(wxPyControl, wxControl, OnInternalIdle);
3352
d55e5bfc
RD
3353
3354
554f62e9 3355SWIGINTERN void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
d55e5bfc
RD
3356
3357#include <wx/generic/dragimgg.h>
3358
53aa7709 3359 static const wxString wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr);
554f62e9 3360SWIGINTERN wxDateTime wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl *self){
53aa7709
RD
3361 wxDateTime rv;
3362 self->GetRange(&rv, NULL);
3363 return rv;
3364 }
554f62e9 3365SWIGINTERN wxDateTime wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl *self){
53aa7709
RD
3366 wxDateTime rv;
3367 self->GetRange(NULL, &rv);
3368 return rv;
3369 }
704eda0c 3370 static const wxString wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr);
b850e7f3
RD
3371 static const wxString wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr);
3372 static const wxString wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr);
3373 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3374 static const wxString wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr);
3375 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3376 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3377 static const wxString wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr);
5172800e 3378 static const wxString wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr);
d55e5bfc
RD
3379#ifdef __cplusplus
3380extern "C" {
3381#endif
554f62e9
RD
3382SWIGINTERN int ButtonNameStr_set(PyObject *) {
3383 SWIG_Error(SWIG_AttributeError,"Variable ButtonNameStr is read-only.");
3384 return 1;
d55e5bfc
RD
3385}
3386
3387
554f62e9
RD
3388SWIGINTERN PyObject *ButtonNameStr_get(void) {
3389 PyObject *pyobj = 0;
3390
3391 {
d55e5bfc 3392#if wxUSE_UNICODE
554f62e9 3393 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3394#else
554f62e9 3395 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
d55e5bfc 3396#endif
554f62e9
RD
3397 }
3398 return pyobj;
3399}
3400
3401
3402SWIGINTERN PyObject *_wrap_new_Button(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj = 0;
3404 wxWindow *arg1 = (wxWindow *) 0 ;
3405 int arg2 = (int) -1 ;
3406 wxString const &arg3_defvalue = wxPyEmptyString ;
3407 wxString *arg3 = (wxString *) &arg3_defvalue ;
3408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3410 wxSize const &arg5_defvalue = wxDefaultSize ;
3411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3412 long arg6 = (long) 0 ;
3413 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3414 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3415 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3416 wxString *arg8 = (wxString *) &arg8_defvalue ;
3417 wxButton *result = 0 ;
3418 void *argp1 = 0 ;
3419 int res1 = 0 ;
3420 int val2 ;
3421 int ecode2 = 0 ;
3422 bool temp3 = false ;
3423 wxPoint temp4 ;
3424 wxSize temp5 ;
3425 long val6 ;
3426 int ecode6 = 0 ;
3427 void *argp7 = 0 ;
3428 int res7 = 0 ;
3429 bool temp8 = false ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 PyObject * obj2 = 0 ;
3433 PyObject * obj3 = 0 ;
3434 PyObject * obj4 = 0 ;
3435 PyObject * obj5 = 0 ;
3436 PyObject * obj6 = 0 ;
3437 PyObject * obj7 = 0 ;
3438 char * kwnames[] = {
3439 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3440 };
3441
3442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3444 if (!SWIG_IsOK(res1)) {
3445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3446 }
3447 arg1 = reinterpret_cast< wxWindow * >(argp1);
3448 if (obj1) {
3449 ecode2 = SWIG_AsVal_int(obj1, &val2);
3450 if (!SWIG_IsOK(ecode2)) {
3451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3452 }
3453 arg2 = static_cast< int >(val2);
3454 }
3455 if (obj2) {
d55e5bfc 3456 {
554f62e9
RD
3457 arg3 = wxString_in_helper(obj2);
3458 if (arg3 == NULL) SWIG_fail;
3459 temp3 = true;
d55e5bfc 3460 }
554f62e9
RD
3461 }
3462 if (obj3) {
d55e5bfc 3463 {
554f62e9
RD
3464 arg4 = &temp4;
3465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3466 }
554f62e9
RD
3467 }
3468 if (obj4) {
d55e5bfc 3469 {
554f62e9
RD
3470 arg5 = &temp5;
3471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3472 }
554f62e9
RD
3473 }
3474 if (obj5) {
3475 ecode6 = SWIG_AsVal_long(obj5, &val6);
3476 if (!SWIG_IsOK(ecode6)) {
3477 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3478 }
3479 arg6 = static_cast< long >(val6);
3480 }
3481 if (obj6) {
3482 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3483 if (!SWIG_IsOK(res7)) {
3484 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3485 }
554f62e9
RD
3486 if (!argp7) {
3487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 3488 }
554f62e9
RD
3489 arg7 = reinterpret_cast< wxValidator * >(argp7);
3490 }
3491 if (obj7) {
d55e5bfc 3492 {
554f62e9
RD
3493 arg8 = wxString_in_helper(obj7);
3494 if (arg8 == NULL) SWIG_fail;
3495 temp8 = true;
d55e5bfc 3496 }
554f62e9
RD
3497 }
3498 {
3499 if (!wxPyCheckForApp()) SWIG_fail;
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_NEW | 0 );
3506 {
3507 if (temp3)
3508 delete arg3;
3509 }
3510 {
3511 if (temp8)
3512 delete arg8;
3513 }
3514 return resultobj;
3515fail:
3516 {
3517 if (temp3)
3518 delete arg3;
3519 }
3520 {
3521 if (temp8)
3522 delete arg8;
3523 }
3524 return NULL;
d55e5bfc
RD
3525}
3526
3527
554f62e9
RD
3528SWIGINTERN PyObject *_wrap_new_PreButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3529 PyObject *resultobj = 0;
3530 wxButton *result = 0 ;
3531
3532 if (!SWIG_Python_UnpackTuple(args,"new_PreButton",0,0,0)) SWIG_fail;
3533 {
3534 if (!wxPyCheckForApp()) SWIG_fail;
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 result = (wxButton *)new wxButton();
3537 wxPyEndAllowThreads(__tstate);
3538 if (PyErr_Occurred()) SWIG_fail;
3539 }
3540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxButton, SWIG_POINTER_OWN | 0 );
3541 return resultobj;
3542fail:
3543 return NULL;
3544}
3545
3546
3547SWIGINTERN PyObject *_wrap_Button_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3548 PyObject *resultobj = 0;
3549 wxButton *arg1 = (wxButton *) 0 ;
3550 wxWindow *arg2 = (wxWindow *) 0 ;
3551 int arg3 = (int) -1 ;
3552 wxString const &arg4_defvalue = wxPyEmptyString ;
3553 wxString *arg4 = (wxString *) &arg4_defvalue ;
3554 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3555 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3556 wxSize const &arg6_defvalue = wxDefaultSize ;
3557 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3558 long arg7 = (long) 0 ;
3559 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3560 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3561 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3562 wxString *arg9 = (wxString *) &arg9_defvalue ;
3563 bool result;
3564 void *argp1 = 0 ;
3565 int res1 = 0 ;
3566 void *argp2 = 0 ;
3567 int res2 = 0 ;
3568 int val3 ;
3569 int ecode3 = 0 ;
3570 bool temp4 = false ;
3571 wxPoint temp5 ;
3572 wxSize temp6 ;
3573 long val7 ;
3574 int ecode7 = 0 ;
3575 void *argp8 = 0 ;
3576 int res8 = 0 ;
3577 bool temp9 = false ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 PyObject * obj2 = 0 ;
3581 PyObject * obj3 = 0 ;
3582 PyObject * obj4 = 0 ;
3583 PyObject * obj5 = 0 ;
3584 PyObject * obj6 = 0 ;
3585 PyObject * obj7 = 0 ;
3586 PyObject * obj8 = 0 ;
3587 char * kwnames[] = {
3588 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3589 };
3590
3591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3593 if (!SWIG_IsOK(res1)) {
3594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3595 }
3596 arg1 = reinterpret_cast< wxButton * >(argp1);
3597 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3598 if (!SWIG_IsOK(res2)) {
3599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3600 }
3601 arg2 = reinterpret_cast< wxWindow * >(argp2);
3602 if (obj2) {
3603 ecode3 = SWIG_AsVal_int(obj2, &val3);
3604 if (!SWIG_IsOK(ecode3)) {
3605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3606 }
3607 arg3 = static_cast< int >(val3);
3608 }
3609 if (obj3) {
d55e5bfc 3610 {
554f62e9
RD
3611 arg4 = wxString_in_helper(obj3);
3612 if (arg4 == NULL) SWIG_fail;
3613 temp4 = true;
d55e5bfc 3614 }
554f62e9
RD
3615 }
3616 if (obj4) {
d55e5bfc 3617 {
554f62e9
RD
3618 arg5 = &temp5;
3619 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3620 }
554f62e9
RD
3621 }
3622 if (obj5) {
d55e5bfc 3623 {
554f62e9
RD
3624 arg6 = &temp6;
3625 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 3626 }
554f62e9
RD
3627 }
3628 if (obj6) {
3629 ecode7 = SWIG_AsVal_long(obj6, &val7);
3630 if (!SWIG_IsOK(ecode7)) {
3631 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3632 }
3633 arg7 = static_cast< long >(val7);
3634 }
3635 if (obj7) {
3636 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
3637 if (!SWIG_IsOK(res8)) {
3638 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3639 }
554f62e9
RD
3640 if (!argp8) {
3641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 3642 }
554f62e9
RD
3643 arg8 = reinterpret_cast< wxValidator * >(argp8);
3644 }
3645 if (obj8) {
d55e5bfc 3646 {
554f62e9
RD
3647 arg9 = wxString_in_helper(obj8);
3648 if (arg9 == NULL) SWIG_fail;
3649 temp9 = true;
d55e5bfc 3650 }
554f62e9
RD
3651 }
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 {
3659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3660 }
3661 {
3662 if (temp4)
3663 delete arg4;
3664 }
3665 {
3666 if (temp9)
3667 delete arg9;
3668 }
3669 return resultobj;
3670fail:
3671 {
3672 if (temp4)
3673 delete arg4;
3674 }
3675 {
3676 if (temp9)
3677 delete arg9;
3678 }
3679 return NULL;
d55e5bfc
RD
3680}
3681
3682
554f62e9
RD
3683SWIGINTERN PyObject *_wrap_Button_SetDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3684 PyObject *resultobj = 0;
3685 wxButton *arg1 = (wxButton *) 0 ;
3686 void *argp1 = 0 ;
3687 int res1 = 0 ;
3688 PyObject *swig_obj[1] ;
3689
3690 if (!args) SWIG_fail;
3691 swig_obj[0] = args;
3692 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxButton, 0 | 0 );
3693 if (!SWIG_IsOK(res1)) {
3694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3695 }
3696 arg1 = reinterpret_cast< wxButton * >(argp1);
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 (arg1)->SetDefault();
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 resultobj = SWIG_Py_Void();
3704 return resultobj;
3705fail:
3706 return NULL;
d55e5bfc
RD
3707}
3708
3709
554f62e9
RD
3710SWIGINTERN PyObject *_wrap_Button_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3711 PyObject *resultobj = 0;
3712 wxSize result;
3713
3714 if (!SWIG_Python_UnpackTuple(args,"Button_GetDefaultSize",0,0,0)) SWIG_fail;
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = wxButton::GetDefaultSize();
3718 wxPyEndAllowThreads(__tstate);
3719 if (PyErr_Occurred()) SWIG_fail;
3720 }
3721 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
3722 return resultobj;
3723fail:
3724 return NULL;
3725}
3726
3727
3728SWIGINTERN PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3729 PyObject *resultobj = 0;
3730 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3731 SwigValueWrapper<wxVisualAttributes > result;
3732 int val1 ;
3733 int ecode1 = 0 ;
3734 PyObject * obj0 = 0 ;
3735 char * kwnames[] = {
3736 (char *) "variant", NULL
3737 };
3738
3739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3740 if (obj0) {
3741 ecode1 = SWIG_AsVal_int(obj0, &val1);
3742 if (!SWIG_IsOK(ecode1)) {
3743 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3744 }
3745 arg1 = static_cast< wxWindowVariant >(val1);
3746 }
3747 {
3748 if (!wxPyCheckForApp()) SWIG_fail;
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = wxButton::GetClassDefaultAttributes(arg1);
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
3755 return resultobj;
3756fail:
3757 return NULL;
3758}
3759
3760
3761SWIGINTERN PyObject *Button_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3762 PyObject *obj;
3763 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3764 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton, SWIG_NewClientData(obj));
3765 return SWIG_Py_Void();
3766}
3767
3768SWIGINTERN PyObject *Button_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3769 return SWIG_Python_InitShadowInstance(args);
3770}
3771
3772SWIGINTERN PyObject *_wrap_new_BitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3773 PyObject *resultobj = 0;
3774 wxWindow *arg1 = (wxWindow *) 0 ;
3775 int arg2 = (int) -1 ;
3776 wxBitmap const &arg3_defvalue = wxNullBitmap ;
3777 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
3778 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3779 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3780 wxSize const &arg5_defvalue = wxDefaultSize ;
3781 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3782 long arg6 = (long) wxBU_AUTODRAW ;
3783 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3784 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3785 wxString const &arg8_defvalue = wxPyButtonNameStr ;
3786 wxString *arg8 = (wxString *) &arg8_defvalue ;
3787 wxBitmapButton *result = 0 ;
3788 void *argp1 = 0 ;
3789 int res1 = 0 ;
3790 int val2 ;
3791 int ecode2 = 0 ;
3792 void *argp3 = 0 ;
3793 int res3 = 0 ;
3794 wxPoint temp4 ;
3795 wxSize temp5 ;
3796 long val6 ;
3797 int ecode6 = 0 ;
3798 void *argp7 = 0 ;
3799 int res7 = 0 ;
3800 bool temp8 = false ;
3801 PyObject * obj0 = 0 ;
3802 PyObject * obj1 = 0 ;
3803 PyObject * obj2 = 0 ;
3804 PyObject * obj3 = 0 ;
3805 PyObject * obj4 = 0 ;
3806 PyObject * obj5 = 0 ;
3807 PyObject * obj6 = 0 ;
3808 PyObject * obj7 = 0 ;
3809 char * kwnames[] = {
3810 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3811 };
3812
3813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
3814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3815 if (!SWIG_IsOK(res1)) {
3816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3817 }
3818 arg1 = reinterpret_cast< wxWindow * >(argp1);
3819 if (obj1) {
3820 ecode2 = SWIG_AsVal_int(obj1, &val2);
3821 if (!SWIG_IsOK(ecode2)) {
3822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3823 }
3824 arg2 = static_cast< int >(val2);
3825 }
3826 if (obj2) {
3827 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
3828 if (!SWIG_IsOK(res3)) {
3829 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3830 }
3831 if (!argp3) {
3832 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3833 }
3834 arg3 = reinterpret_cast< wxBitmap * >(argp3);
3835 }
3836 if (obj3) {
d55e5bfc 3837 {
554f62e9
RD
3838 arg4 = &temp4;
3839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3840 }
554f62e9
RD
3841 }
3842 if (obj4) {
d55e5bfc 3843 {
554f62e9
RD
3844 arg5 = &temp5;
3845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3846 }
554f62e9
RD
3847 }
3848 if (obj5) {
3849 ecode6 = SWIG_AsVal_long(obj5, &val6);
3850 if (!SWIG_IsOK(ecode6)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3852 }
3853 arg6 = static_cast< long >(val6);
3854 }
3855 if (obj6) {
3856 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
3857 if (!SWIG_IsOK(res7)) {
3858 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3859 }
554f62e9
RD
3860 if (!argp7) {
3861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
f20a2e1f 3862 }
554f62e9
RD
3863 arg7 = reinterpret_cast< wxValidator * >(argp7);
3864 }
3865 if (obj7) {
f20a2e1f 3866 {
554f62e9
RD
3867 arg8 = wxString_in_helper(obj7);
3868 if (arg8 == NULL) SWIG_fail;
3869 temp8 = true;
f20a2e1f 3870 }
554f62e9
RD
3871 }
3872 {
3873 if (!wxPyCheckForApp()) SWIG_fail;
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3876 wxPyEndAllowThreads(__tstate);
3877 if (PyErr_Occurred()) SWIG_fail;
3878 }
3879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_NEW | 0 );
3880 {
3881 if (temp8)
3882 delete arg8;
3883 }
3884 return resultobj;
3885fail:
3886 {
3887 if (temp8)
3888 delete arg8;
3889 }
3890 return NULL;
f20a2e1f
RD
3891}
3892
3893
554f62e9
RD
3894SWIGINTERN PyObject *_wrap_new_PreBitmapButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3895 PyObject *resultobj = 0;
3896 wxBitmapButton *result = 0 ;
3897
3898 if (!SWIG_Python_UnpackTuple(args,"new_PreBitmapButton",0,0,0)) SWIG_fail;
3899 {
3900 if (!wxPyCheckForApp()) SWIG_fail;
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 result = (wxBitmapButton *)new wxBitmapButton();
3903 wxPyEndAllowThreads(__tstate);
3904 if (PyErr_Occurred()) SWIG_fail;
3905 }
3906 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBitmapButton, SWIG_POINTER_OWN | 0 );
3907 return resultobj;
3908fail:
3909 return NULL;
3910}
3911
3912
3913SWIGINTERN PyObject *_wrap_BitmapButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3914 PyObject *resultobj = 0;
3915 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
3916 wxWindow *arg2 = (wxWindow *) 0 ;
3917 int arg3 = (int) -1 ;
3918 wxBitmap const &arg4_defvalue = wxNullBitmap ;
3919 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
3920 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3921 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3922 wxSize const &arg6_defvalue = wxDefaultSize ;
3923 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3924 long arg7 = (long) wxBU_AUTODRAW ;
3925 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3926 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3927 wxString const &arg9_defvalue = wxPyButtonNameStr ;
3928 wxString *arg9 = (wxString *) &arg9_defvalue ;
3929 bool result;
3930 void *argp1 = 0 ;
3931 int res1 = 0 ;
3932 void *argp2 = 0 ;
3933 int res2 = 0 ;
3934 int val3 ;
3935 int ecode3 = 0 ;
3936 void *argp4 = 0 ;
3937 int res4 = 0 ;
3938 wxPoint temp5 ;
3939 wxSize temp6 ;
3940 long val7 ;
3941 int ecode7 = 0 ;
3942 void *argp8 = 0 ;
3943 int res8 = 0 ;
3944 bool temp9 = false ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 PyObject * obj2 = 0 ;
3948 PyObject * obj3 = 0 ;
3949 PyObject * obj4 = 0 ;
3950 PyObject * obj5 = 0 ;
3951 PyObject * obj6 = 0 ;
3952 PyObject * obj7 = 0 ;
3953 PyObject * obj8 = 0 ;
3954 char * kwnames[] = {
3955 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3956 };
3957
3958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
3959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
3960 if (!SWIG_IsOK(res1)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3962 }
3963 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
3964 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3965 if (!SWIG_IsOK(res2)) {
3966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3967 }
3968 arg2 = reinterpret_cast< wxWindow * >(argp2);
3969 if (obj2) {
3970 ecode3 = SWIG_AsVal_int(obj2, &val3);
3971 if (!SWIG_IsOK(ecode3)) {
3972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3973 }
3974 arg3 = static_cast< int >(val3);
3975 }
3976 if (obj3) {
3977 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
3978 if (!SWIG_IsOK(res4)) {
3979 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3980 }
554f62e9
RD
3981 if (!argp4) {
3982 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
d55e5bfc 3983 }
554f62e9
RD
3984 arg4 = reinterpret_cast< wxBitmap * >(argp4);
3985 }
3986 if (obj4) {
d55e5bfc 3987 {
554f62e9
RD
3988 arg5 = &temp5;
3989 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3990 }
554f62e9
RD
3991 }
3992 if (obj5) {
d55e5bfc 3993 {
554f62e9
RD
3994 arg6 = &temp6;
3995 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3996 }
3997 }
3998 if (obj6) {
3999 ecode7 = SWIG_AsVal_long(obj6, &val7);
4000 if (!SWIG_IsOK(ecode7)) {
4001 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4002 }
4003 arg7 = static_cast< long >(val7);
4004 }
4005 if (obj7) {
4006 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4007 if (!SWIG_IsOK(res8)) {
4008 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4009 }
4010 if (!argp8) {
4011 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4012 }
554f62e9
RD
4013 arg8 = reinterpret_cast< wxValidator * >(argp8);
4014 }
4015 if (obj8) {
d55e5bfc 4016 {
554f62e9
RD
4017 arg9 = wxString_in_helper(obj8);
4018 if (arg9 == NULL) SWIG_fail;
4019 temp9 = true;
d55e5bfc 4020 }
554f62e9
RD
4021 }
4022 {
4023 PyThreadState* __tstate = wxPyBeginAllowThreads();
4024 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 {
4029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4030 }
4031 {
4032 if (temp9)
4033 delete arg9;
4034 }
4035 return resultobj;
4036fail:
4037 {
4038 if (temp9)
4039 delete arg9;
4040 }
4041 return NULL;
d55e5bfc
RD
4042}
4043
4044
554f62e9
RD
4045SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4046 PyObject *resultobj = 0;
4047 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4048 wxBitmap result;
4049 void *argp1 = 0 ;
4050 int res1 = 0 ;
4051 PyObject *swig_obj[1] ;
4052
4053 if (!args) SWIG_fail;
4054 swig_obj[0] = args;
4055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4056 if (!SWIG_IsOK(res1)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4058 }
4059 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (arg1)->GetBitmapLabel();
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4067 return resultobj;
4068fail:
4069 return NULL;
d55e5bfc
RD
4070}
4071
4072
554f62e9
RD
4073SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4074 PyObject *resultobj = 0;
4075 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4076 wxBitmap result;
4077 void *argp1 = 0 ;
4078 int res1 = 0 ;
4079 PyObject *swig_obj[1] ;
4080
4081 if (!args) SWIG_fail;
4082 swig_obj[0] = args;
4083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4084 if (!SWIG_IsOK(res1)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4086 }
4087 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (arg1)->GetBitmapDisabled();
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4095 return resultobj;
4096fail:
4097 return NULL;
d55e5bfc
RD
4098}
4099
4100
554f62e9
RD
4101SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4102 PyObject *resultobj = 0;
4103 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4104 wxBitmap result;
4105 void *argp1 = 0 ;
4106 int res1 = 0 ;
4107 PyObject *swig_obj[1] ;
4108
4109 if (!args) SWIG_fail;
4110 swig_obj[0] = args;
4111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4112 if (!SWIG_IsOK(res1)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4114 }
4115 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = (arg1)->GetBitmapFocus();
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4123 return resultobj;
4124fail:
4125 return NULL;
d55e5bfc
RD
4126}
4127
4128
554f62e9
RD
4129SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4130 PyObject *resultobj = 0;
4131 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4132 wxBitmap result;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 PyObject *swig_obj[1] ;
4136
4137 if (!args) SWIG_fail;
4138 swig_obj[0] = args;
4139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4140 if (!SWIG_IsOK(res1)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4142 }
4143 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (arg1)->GetBitmapSelected();
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4151 return resultobj;
4152fail:
4153 return NULL;
d55e5bfc
RD
4154}
4155
4156
554f62e9
RD
4157SWIGINTERN PyObject *_wrap_BitmapButton_GetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4158 PyObject *resultobj = 0;
4159 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4160 wxBitmap result;
4161 void *argp1 = 0 ;
4162 int res1 = 0 ;
4163 PyObject *swig_obj[1] ;
4164
4165 if (!args) SWIG_fail;
4166 swig_obj[0] = args;
4167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4168 if (!SWIG_IsOK(res1)) {
4169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4170 }
4171 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (arg1)->GetBitmapHover();
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
4179 return resultobj;
4180fail:
4181 return NULL;
4182}
4183
4184
4185SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj = 0;
4187 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4188 wxBitmap *arg2 = 0 ;
4189 void *argp1 = 0 ;
4190 int res1 = 0 ;
4191 void *argp2 = 0 ;
4192 int res2 = 0 ;
4193 PyObject * obj0 = 0 ;
4194 PyObject * obj1 = 0 ;
4195 char * kwnames[] = {
4196 (char *) "self",(char *) "bitmap", NULL
4197 };
4198
4199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) SWIG_fail;
4200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4201 if (!SWIG_IsOK(res1)) {
4202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4203 }
4204 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4205 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4206 if (!SWIG_IsOK(res2)) {
4207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4208 }
4209 if (!argp2) {
4210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4211 }
4212 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 resultobj = SWIG_Py_Void();
4220 return resultobj;
4221fail:
4222 return NULL;
4223}
4224
4225
4226SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4227 PyObject *resultobj = 0;
4228 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4229 wxBitmap *arg2 = 0 ;
4230 void *argp1 = 0 ;
4231 int res1 = 0 ;
4232 void *argp2 = 0 ;
4233 int res2 = 0 ;
4234 PyObject * obj0 = 0 ;
4235 PyObject * obj1 = 0 ;
4236 char * kwnames[] = {
4237 (char *) "self",(char *) "bitmap", NULL
4238 };
4239
4240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) SWIG_fail;
4241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4242 if (!SWIG_IsOK(res1)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4244 }
4245 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4247 if (!SWIG_IsOK(res2)) {
4248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4249 }
4250 if (!argp2) {
4251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4252 }
4253 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4254 {
4255 PyThreadState* __tstate = wxPyBeginAllowThreads();
4256 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 resultobj = SWIG_Py_Void();
4261 return resultobj;
4262fail:
4263 return NULL;
4264}
4265
4266
4267SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj = 0;
4269 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4270 wxBitmap *arg2 = 0 ;
4271 void *argp1 = 0 ;
4272 int res1 = 0 ;
4273 void *argp2 = 0 ;
4274 int res2 = 0 ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 char * kwnames[] = {
4278 (char *) "self",(char *) "bitmap", NULL
4279 };
4280
4281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) SWIG_fail;
4282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4283 if (!SWIG_IsOK(res1)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4285 }
4286 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4287 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4288 if (!SWIG_IsOK(res2)) {
4289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4290 }
4291 if (!argp2) {
4292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4293 }
4294 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
4298 wxPyEndAllowThreads(__tstate);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 resultobj = SWIG_Py_Void();
4302 return resultobj;
4303fail:
4304 return NULL;
4305}
4306
4307
4308SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4309 PyObject *resultobj = 0;
4310 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4311 wxBitmap *arg2 = 0 ;
4312 void *argp1 = 0 ;
4313 int res1 = 0 ;
4314 void *argp2 = 0 ;
4315 int res2 = 0 ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj1 = 0 ;
4318 char * kwnames[] = {
4319 (char *) "self",(char *) "bitmap", NULL
4320 };
4321
4322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) SWIG_fail;
4323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4324 if (!SWIG_IsOK(res1)) {
4325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4326 }
4327 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4328 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4329 if (!SWIG_IsOK(res2)) {
4330 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4331 }
4332 if (!argp2) {
4333 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4334 }
4335 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4336 {
4337 PyThreadState* __tstate = wxPyBeginAllowThreads();
4338 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
4339 wxPyEndAllowThreads(__tstate);
4340 if (PyErr_Occurred()) SWIG_fail;
4341 }
4342 resultobj = SWIG_Py_Void();
4343 return resultobj;
4344fail:
4345 return NULL;
4346}
4347
4348
4349SWIGINTERN PyObject *_wrap_BitmapButton_SetBitmapHover(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4350 PyObject *resultobj = 0;
4351 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4352 wxBitmap *arg2 = 0 ;
4353 void *argp1 = 0 ;
4354 int res1 = 0 ;
4355 void *argp2 = 0 ;
4356 int res2 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "hover", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapHover",kwnames,&obj0,&obj1)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4367 }
4368 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4369 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
4370 if (!SWIG_IsOK(res2)) {
4371 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4372 }
4373 if (!argp2) {
4374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4375 }
4376 arg2 = reinterpret_cast< wxBitmap * >(argp2);
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 (arg1)->SetBitmapHover((wxBitmap const &)*arg2);
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_Py_Void();
4384 return resultobj;
4385fail:
4386 return NULL;
4387}
4388
4389
4390SWIGINTERN PyObject *_wrap_BitmapButton_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj = 0;
4392 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4393 int arg2 ;
4394 int arg3 ;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 int val2 ;
4398 int ecode2 = 0 ;
4399 int val3 ;
4400 int ecode3 = 0 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 PyObject * obj2 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "x",(char *) "y", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4412 }
4413 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 ecode3 = SWIG_AsVal_int(obj2, &val3);
4420 if (!SWIG_IsOK(ecode3)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4422 }
4423 arg3 = static_cast< int >(val3);
4424 {
4425 PyThreadState* __tstate = wxPyBeginAllowThreads();
4426 (arg1)->SetMargins(arg2,arg3);
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 resultobj = SWIG_Py_Void();
4431 return resultobj;
4432fail:
4433 return NULL;
d55e5bfc
RD
4434}
4435
4436
554f62e9
RD
4437SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4438 PyObject *resultobj = 0;
4439 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4440 int result;
4441 void *argp1 = 0 ;
4442 int res1 = 0 ;
4443 PyObject *swig_obj[1] ;
4444
4445 if (!args) SWIG_fail;
4446 swig_obj[0] = args;
4447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4448 if (!SWIG_IsOK(res1)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4450 }
4451 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4452 {
4453 PyThreadState* __tstate = wxPyBeginAllowThreads();
4454 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 resultobj = SWIG_From_int(static_cast< int >(result));
4459 return resultobj;
4460fail:
4461 return NULL;
d55e5bfc
RD
4462}
4463
4464
554f62e9
RD
4465SWIGINTERN PyObject *_wrap_BitmapButton_GetMarginY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4466 PyObject *resultobj = 0;
4467 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
4468 int result;
4469 void *argp1 = 0 ;
4470 int res1 = 0 ;
4471 PyObject *swig_obj[1] ;
4472
4473 if (!args) SWIG_fail;
4474 swig_obj[0] = args;
4475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBitmapButton, 0 | 0 );
4476 if (!SWIG_IsOK(res1)) {
4477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4478 }
4479 arg1 = reinterpret_cast< wxBitmapButton * >(argp1);
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 resultobj = SWIG_From_int(static_cast< int >(result));
4487 return resultobj;
4488fail:
4489 return NULL;
b1fcee84
RD
4490}
4491
4492
554f62e9
RD
4493SWIGINTERN PyObject *BitmapButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4494 PyObject *obj;
4495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4496 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton, SWIG_NewClientData(obj));
4497 return SWIG_Py_Void();
d55e5bfc
RD
4498}
4499
554f62e9
RD
4500SWIGINTERN PyObject *BitmapButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4501 return SWIG_Python_InitShadowInstance(args);
4502}
d55e5bfc 4503
554f62e9
RD
4504SWIGINTERN int CheckBoxNameStr_set(PyObject *) {
4505 SWIG_Error(SWIG_AttributeError,"Variable CheckBoxNameStr is read-only.");
4506 return 1;
d55e5bfc
RD
4507}
4508
4509
554f62e9
RD
4510SWIGINTERN PyObject *CheckBoxNameStr_get(void) {
4511 PyObject *pyobj = 0;
4512
4513 {
4514#if wxUSE_UNICODE
4515 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4516#else
4517 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
4518#endif
4519 }
4520 return pyobj;
4521}
4522
4523
4524SWIGINTERN PyObject *_wrap_new_CheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4525 PyObject *resultobj = 0;
4526 wxWindow *arg1 = (wxWindow *) 0 ;
4527 int arg2 = (int) -1 ;
4528 wxString const &arg3_defvalue = wxPyEmptyString ;
4529 wxString *arg3 = (wxString *) &arg3_defvalue ;
4530 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4531 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4532 wxSize const &arg5_defvalue = wxDefaultSize ;
4533 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4534 long arg6 = (long) 0 ;
4535 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4536 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4537 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
4538 wxString *arg8 = (wxString *) &arg8_defvalue ;
4539 wxCheckBox *result = 0 ;
4540 void *argp1 = 0 ;
4541 int res1 = 0 ;
4542 int val2 ;
4543 int ecode2 = 0 ;
4544 bool temp3 = false ;
4545 wxPoint temp4 ;
4546 wxSize temp5 ;
4547 long val6 ;
4548 int ecode6 = 0 ;
4549 void *argp7 = 0 ;
4550 int res7 = 0 ;
4551 bool temp8 = false ;
4552 PyObject * obj0 = 0 ;
4553 PyObject * obj1 = 0 ;
4554 PyObject * obj2 = 0 ;
4555 PyObject * obj3 = 0 ;
4556 PyObject * obj4 = 0 ;
4557 PyObject * obj5 = 0 ;
4558 PyObject * obj6 = 0 ;
4559 PyObject * obj7 = 0 ;
4560 char * kwnames[] = {
4561 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4562 };
4563
4564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4566 if (!SWIG_IsOK(res1)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4568 }
4569 arg1 = reinterpret_cast< wxWindow * >(argp1);
4570 if (obj1) {
4571 ecode2 = SWIG_AsVal_int(obj1, &val2);
4572 if (!SWIG_IsOK(ecode2)) {
4573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4574 }
4575 arg2 = static_cast< int >(val2);
4576 }
4577 if (obj2) {
d55e5bfc 4578 {
554f62e9
RD
4579 arg3 = wxString_in_helper(obj2);
4580 if (arg3 == NULL) SWIG_fail;
4581 temp3 = true;
d55e5bfc 4582 }
554f62e9
RD
4583 }
4584 if (obj3) {
4585 {
4586 arg4 = &temp4;
4587 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4588 }
554f62e9
RD
4589 }
4590 if (obj4) {
d55e5bfc 4591 {
554f62e9
RD
4592 arg5 = &temp5;
4593 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4594 }
554f62e9
RD
4595 }
4596 if (obj5) {
4597 ecode6 = SWIG_AsVal_long(obj5, &val6);
4598 if (!SWIG_IsOK(ecode6)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4600 }
4601 arg6 = static_cast< long >(val6);
4602 }
4603 if (obj6) {
4604 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
4605 if (!SWIG_IsOK(res7)) {
4606 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
b1fcee84 4607 }
554f62e9
RD
4608 if (!argp7) {
4609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4610 }
4611 arg7 = reinterpret_cast< wxValidator * >(argp7);
4612 }
4613 if (obj7) {
b1fcee84 4614 {
554f62e9
RD
4615 arg8 = wxString_in_helper(obj7);
4616 if (arg8 == NULL) SWIG_fail;
4617 temp8 = true;
b1fcee84 4618 }
554f62e9
RD
4619 }
4620 {
4621 if (!wxPyCheckForApp()) SWIG_fail;
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4624 wxPyEndAllowThreads(__tstate);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_NEW | 0 );
4628 {
4629 if (temp3)
4630 delete arg3;
4631 }
4632 {
4633 if (temp8)
4634 delete arg8;
4635 }
4636 return resultobj;
4637fail:
4638 {
4639 if (temp3)
4640 delete arg3;
4641 }
4642 {
4643 if (temp8)
4644 delete arg8;
4645 }
4646 return NULL;
b1fcee84
RD
4647}
4648
4649
554f62e9
RD
4650SWIGINTERN PyObject *_wrap_new_PreCheckBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4651 PyObject *resultobj = 0;
4652 wxCheckBox *result = 0 ;
4653
4654 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckBox",0,0,0)) SWIG_fail;
4655 {
4656 if (!wxPyCheckForApp()) SWIG_fail;
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 result = (wxCheckBox *)new wxCheckBox();
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckBox, SWIG_POINTER_OWN | 0 );
4663 return resultobj;
4664fail:
4665 return NULL;
4666}
4667
4668
4669SWIGINTERN PyObject *_wrap_CheckBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj = 0;
4671 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4672 wxWindow *arg2 = (wxWindow *) 0 ;
4673 int arg3 = (int) -1 ;
4674 wxString const &arg4_defvalue = wxPyEmptyString ;
4675 wxString *arg4 = (wxString *) &arg4_defvalue ;
4676 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4677 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4678 wxSize const &arg6_defvalue = wxDefaultSize ;
4679 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4680 long arg7 = (long) 0 ;
4681 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4682 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4683 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
4684 wxString *arg9 = (wxString *) &arg9_defvalue ;
4685 bool result;
4686 void *argp1 = 0 ;
4687 int res1 = 0 ;
4688 void *argp2 = 0 ;
4689 int res2 = 0 ;
4690 int val3 ;
4691 int ecode3 = 0 ;
4692 bool temp4 = false ;
4693 wxPoint temp5 ;
4694 wxSize temp6 ;
4695 long val7 ;
4696 int ecode7 = 0 ;
4697 void *argp8 = 0 ;
4698 int res8 = 0 ;
4699 bool temp9 = false ;
4700 PyObject * obj0 = 0 ;
4701 PyObject * obj1 = 0 ;
4702 PyObject * obj2 = 0 ;
4703 PyObject * obj3 = 0 ;
4704 PyObject * obj4 = 0 ;
4705 PyObject * obj5 = 0 ;
4706 PyObject * obj6 = 0 ;
4707 PyObject * obj7 = 0 ;
4708 PyObject * obj8 = 0 ;
4709 char * kwnames[] = {
4710 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4711 };
4712
4713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
4714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4715 if (!SWIG_IsOK(res1)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4717 }
4718 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4720 if (!SWIG_IsOK(res2)) {
4721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4722 }
4723 arg2 = reinterpret_cast< wxWindow * >(argp2);
4724 if (obj2) {
4725 ecode3 = SWIG_AsVal_int(obj2, &val3);
4726 if (!SWIG_IsOK(ecode3)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4728 }
4729 arg3 = static_cast< int >(val3);
4730 }
4731 if (obj3) {
093d3ff1 4732 {
554f62e9
RD
4733 arg4 = wxString_in_helper(obj3);
4734 if (arg4 == NULL) SWIG_fail;
4735 temp4 = true;
093d3ff1 4736 }
554f62e9
RD
4737 }
4738 if (obj4) {
093d3ff1 4739 {
554f62e9
RD
4740 arg5 = &temp5;
4741 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 4742 }
554f62e9
RD
4743 }
4744 if (obj5) {
d55e5bfc 4745 {
554f62e9
RD
4746 arg6 = &temp6;
4747 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 4748 }
554f62e9
RD
4749 }
4750 if (obj6) {
4751 ecode7 = SWIG_AsVal_long(obj6, &val7);
4752 if (!SWIG_IsOK(ecode7)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4754 }
4755 arg7 = static_cast< long >(val7);
4756 }
4757 if (obj7) {
4758 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
4759 if (!SWIG_IsOK(res8)) {
4760 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 4761 }
554f62e9
RD
4762 if (!argp8) {
4763 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4764 }
4765 arg8 = reinterpret_cast< wxValidator * >(argp8);
4766 }
4767 if (obj8) {
093d3ff1 4768 {
554f62e9
RD
4769 arg9 = wxString_in_helper(obj8);
4770 if (arg9 == NULL) SWIG_fail;
4771 temp9 = true;
093d3ff1 4772 }
554f62e9
RD
4773 }
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 {
4781 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4782 }
4783 {
4784 if (temp4)
4785 delete arg4;
4786 }
4787 {
4788 if (temp9)
4789 delete arg9;
4790 }
4791 return resultobj;
4792fail:
4793 {
4794 if (temp4)
4795 delete arg4;
4796 }
4797 {
4798 if (temp9)
4799 delete arg9;
4800 }
4801 return NULL;
d55e5bfc
RD
4802}
4803
4804
554f62e9
RD
4805SWIGINTERN PyObject *_wrap_CheckBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4806 PyObject *resultobj = 0;
4807 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4808 bool result;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 PyObject *swig_obj[1] ;
4812
4813 if (!args) SWIG_fail;
4814 swig_obj[0] = args;
4815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4816 if (!SWIG_IsOK(res1)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 }
4819 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 result = (bool)(arg1)->GetValue();
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 {
4827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4828 }
4829 return resultobj;
4830fail:
4831 return NULL;
d55e5bfc
RD
4832}
4833
4834
554f62e9
RD
4835SWIGINTERN PyObject *_wrap_CheckBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4836 PyObject *resultobj = 0;
4837 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4838 bool result;
4839 void *argp1 = 0 ;
4840 int res1 = 0 ;
4841 PyObject *swig_obj[1] ;
4842
4843 if (!args) SWIG_fail;
4844 swig_obj[0] = args;
4845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4846 if (!SWIG_IsOK(res1)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4848 }
4849 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (bool)(arg1)->IsChecked();
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 {
4857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4858 }
4859 return resultobj;
4860fail:
4861 return NULL;
4862}
4863
4864
4865SWIGINTERN PyObject *_wrap_CheckBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj = 0;
4867 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4868 bool arg2 ;
4869 void *argp1 = 0 ;
4870 int res1 = 0 ;
4871 bool val2 ;
4872 int ecode2 = 0 ;
4873 PyObject * obj0 = 0 ;
4874 PyObject * obj1 = 0 ;
4875 char * kwnames[] = {
4876 (char *) "self",(char *) "state", NULL
4877 };
4878
4879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
4880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4881 if (!SWIG_IsOK(res1)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4883 }
4884 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4885 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4886 if (!SWIG_IsOK(ecode2)) {
4887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4888 }
4889 arg2 = static_cast< bool >(val2);
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->SetValue(arg2);
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 resultobj = SWIG_Py_Void();
4897 return resultobj;
4898fail:
4899 return NULL;
d55e5bfc 4900}
554f62e9
RD
4901
4902
4903SWIGINTERN PyObject *_wrap_CheckBox_Get3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4904 PyObject *resultobj = 0;
4905 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4906 wxCheckBoxState result;
4907 void *argp1 = 0 ;
4908 int res1 = 0 ;
4909 PyObject *swig_obj[1] ;
4910
4911 if (!args) SWIG_fail;
4912 swig_obj[0] = args;
4913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4914 if (!SWIG_IsOK(res1)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4916 }
4917 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = (wxCheckBoxState)((wxCheckBox const *)arg1)->Get3StateValue();
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 resultobj = SWIG_From_int(static_cast< int >(result));
4925 return resultobj;
4926fail:
4927 return NULL;
4928}
4929
4930
4931SWIGINTERN PyObject *_wrap_CheckBox_Set3StateValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj = 0;
4933 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4934 wxCheckBoxState arg2 ;
4935 void *argp1 = 0 ;
4936 int res1 = 0 ;
4937 int val2 ;
4938 int ecode2 = 0 ;
4939 PyObject * obj0 = 0 ;
4940 PyObject * obj1 = 0 ;
4941 char * kwnames[] = {
4942 (char *) "self",(char *) "state", NULL
4943 };
4944
4945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) SWIG_fail;
4946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4947 if (!SWIG_IsOK(res1)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4949 }
4950 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4951 ecode2 = SWIG_AsVal_int(obj1, &val2);
4952 if (!SWIG_IsOK(ecode2)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4954 }
4955 arg2 = static_cast< wxCheckBoxState >(val2);
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->Set3StateValue(arg2);
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 resultobj = SWIG_Py_Void();
4963 return resultobj;
4964fail:
4965 return NULL;
d55e5bfc
RD
4966}
4967
4968
554f62e9
RD
4969SWIGINTERN PyObject *_wrap_CheckBox_Is3State(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4970 PyObject *resultobj = 0;
4971 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
4972 bool result;
4973 void *argp1 = 0 ;
4974 int res1 = 0 ;
4975 PyObject *swig_obj[1] ;
4976
4977 if (!args) SWIG_fail;
4978 swig_obj[0] = args;
4979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
4980 if (!SWIG_IsOK(res1)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 }
4983 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = (bool)((wxCheckBox const *)arg1)->Is3State();
4987 wxPyEndAllowThreads(__tstate);
4988 if (PyErr_Occurred()) SWIG_fail;
4989 }
4990 {
4991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4992 }
4993 return resultobj;
4994fail:
4995 return NULL;
d55e5bfc
RD
4996}
4997
4998
554f62e9
RD
4999SWIGINTERN PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5000 PyObject *resultobj = 0;
5001 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
5002 bool result;
5003 void *argp1 = 0 ;
5004 int res1 = 0 ;
5005 PyObject *swig_obj[1] ;
5006
5007 if (!args) SWIG_fail;
5008 swig_obj[0] = args;
5009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckBox, 0 | 0 );
5010 if (!SWIG_IsOK(res1)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5012 }
5013 arg1 = reinterpret_cast< wxCheckBox * >(argp1);
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 {
5021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5022 }
5023 return resultobj;
5024fail:
5025 return NULL;
d55e5bfc
RD
5026}
5027
5028
554f62e9
RD
5029SWIGINTERN PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = 0;
5031 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5032 SwigValueWrapper<wxVisualAttributes > result;
5033 int val1 ;
5034 int ecode1 = 0 ;
5035 PyObject * obj0 = 0 ;
5036 char * kwnames[] = {
5037 (char *) "variant", NULL
5038 };
5039
5040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5041 if (obj0) {
5042 ecode1 = SWIG_AsVal_int(obj0, &val1);
5043 if (!SWIG_IsOK(ecode1)) {
5044 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5045 }
5046 arg1 = static_cast< wxWindowVariant >(val1);
5047 }
5048 {
5049 if (!wxPyCheckForApp()) SWIG_fail;
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = wxCheckBox::GetClassDefaultAttributes(arg1);
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5056 return resultobj;
5057fail:
5058 return NULL;
d55e5bfc
RD
5059}
5060
5061
554f62e9
RD
5062SWIGINTERN PyObject *CheckBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5063 PyObject *obj;
5064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5065 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox, SWIG_NewClientData(obj));
5066 return SWIG_Py_Void();
d55e5bfc
RD
5067}
5068
554f62e9
RD
5069SWIGINTERN PyObject *CheckBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5070 return SWIG_Python_InitShadowInstance(args);
5071}
d55e5bfc 5072
554f62e9
RD
5073SWIGINTERN int ChoiceNameStr_set(PyObject *) {
5074 SWIG_Error(SWIG_AttributeError,"Variable ChoiceNameStr is read-only.");
5075 return 1;
d55e5bfc
RD
5076}
5077
5078
554f62e9
RD
5079SWIGINTERN PyObject *ChoiceNameStr_get(void) {
5080 PyObject *pyobj = 0;
5081
5082 {
5083#if wxUSE_UNICODE
5084 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5085#else
5086 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
5087#endif
5088 }
5089 return pyobj;
5090}
5091
5092
5093SWIGINTERN PyObject *_wrap_new_Choice(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5094 PyObject *resultobj = 0;
5095 wxWindow *arg1 = (wxWindow *) 0 ;
5096 int arg2 = (int) -1 ;
5097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5099 wxSize const &arg4_defvalue = wxDefaultSize ;
5100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5101 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5102 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5103 long arg6 = (long) 0 ;
5104 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5105 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5106 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
5107 wxString *arg8 = (wxString *) &arg8_defvalue ;
5108 wxChoice *result = 0 ;
5109 void *argp1 = 0 ;
5110 int res1 = 0 ;
5111 int val2 ;
5112 int ecode2 = 0 ;
5113 wxPoint temp3 ;
5114 wxSize temp4 ;
5115 bool temp5 = false ;
5116 long val6 ;
5117 int ecode6 = 0 ;
5118 void *argp7 = 0 ;
5119 int res7 = 0 ;
5120 bool temp8 = false ;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 PyObject * obj2 = 0 ;
5124 PyObject * obj3 = 0 ;
5125 PyObject * obj4 = 0 ;
5126 PyObject * obj5 = 0 ;
5127 PyObject * obj6 = 0 ;
5128 PyObject * obj7 = 0 ;
5129 char * kwnames[] = {
5130 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5131 };
5132
5133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5135 if (!SWIG_IsOK(res1)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5137 }
5138 arg1 = reinterpret_cast< wxWindow * >(argp1);
5139 if (obj1) {
5140 ecode2 = SWIG_AsVal_int(obj1, &val2);
5141 if (!SWIG_IsOK(ecode2)) {
5142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5143 }
5144 arg2 = static_cast< int >(val2);
5145 }
5146 if (obj2) {
093d3ff1 5147 {
554f62e9
RD
5148 arg3 = &temp3;
5149 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 5150 }
554f62e9
RD
5151 }
5152 if (obj3) {
d55e5bfc 5153 {
554f62e9
RD
5154 arg4 = &temp4;
5155 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5156 }
554f62e9
RD
5157 }
5158 if (obj4) {
d55e5bfc 5159 {
554f62e9
RD
5160 if (! PySequence_Check(obj4)) {
5161 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5162 SWIG_fail;
5163 }
5164 arg5 = new wxArrayString;
5165 temp5 = true;
5166 int i, len=PySequence_Length(obj4);
5167 for (i=0; i<len; i++) {
5168 PyObject* item = PySequence_GetItem(obj4, i);
5169 wxString* s = wxString_in_helper(item);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 arg5->Add(*s);
5172 delete s;
5173 Py_DECREF(item);
5174 }
d55e5bfc 5175 }
554f62e9
RD
5176 }
5177 if (obj5) {
5178 ecode6 = SWIG_AsVal_long(obj5, &val6);
5179 if (!SWIG_IsOK(ecode6)) {
5180 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5181 }
5182 arg6 = static_cast< long >(val6);
5183 }
5184 if (obj6) {
5185 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5186 if (!SWIG_IsOK(res7)) {
5187 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 5188 }
554f62e9
RD
5189 if (!argp7) {
5190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5191 }
5192 arg7 = reinterpret_cast< wxValidator * >(argp7);
5193 }
5194 if (obj7) {
d55e5bfc 5195 {
554f62e9
RD
5196 arg8 = wxString_in_helper(obj7);
5197 if (arg8 == NULL) SWIG_fail;
5198 temp8 = true;
d55e5bfc 5199 }
554f62e9
RD
5200 }
5201 {
5202 if (!wxPyCheckForApp()) SWIG_fail;
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_NEW | 0 );
5209 {
5210 if (temp5) delete arg5;
5211 }
5212 {
5213 if (temp8)
5214 delete arg8;
5215 }
5216 return resultobj;
5217fail:
5218 {
5219 if (temp5) delete arg5;
5220 }
5221 {
5222 if (temp8)
5223 delete arg8;
5224 }
5225 return NULL;
d55e5bfc
RD
5226}
5227
5228
554f62e9
RD
5229SWIGINTERN PyObject *_wrap_new_PreChoice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5230 PyObject *resultobj = 0;
5231 wxChoice *result = 0 ;
5232
5233 if (!SWIG_Python_UnpackTuple(args,"new_PreChoice",0,0,0)) SWIG_fail;
5234 {
5235 if (!wxPyCheckForApp()) SWIG_fail;
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 result = (wxChoice *)new wxChoice();
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, SWIG_POINTER_OWN | 0 );
5242 return resultobj;
5243fail:
5244 return NULL;
5245}
5246
5247
5248SWIGINTERN PyObject *_wrap_Choice_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj = 0;
5250 wxChoice *arg1 = (wxChoice *) 0 ;
5251 wxWindow *arg2 = (wxWindow *) 0 ;
5252 int arg3 = (int) -1 ;
5253 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5254 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5255 wxSize const &arg5_defvalue = wxDefaultSize ;
5256 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5257 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5258 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5259 long arg7 = (long) 0 ;
5260 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5261 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5262 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
5263 wxString *arg9 = (wxString *) &arg9_defvalue ;
5264 bool result;
5265 void *argp1 = 0 ;
5266 int res1 = 0 ;
5267 void *argp2 = 0 ;
5268 int res2 = 0 ;
5269 int val3 ;
5270 int ecode3 = 0 ;
5271 wxPoint temp4 ;
5272 wxSize temp5 ;
5273 bool temp6 = false ;
5274 long val7 ;
5275 int ecode7 = 0 ;
5276 void *argp8 = 0 ;
5277 int res8 = 0 ;
5278 bool temp9 = false ;
5279 PyObject * obj0 = 0 ;
5280 PyObject * obj1 = 0 ;
5281 PyObject * obj2 = 0 ;
5282 PyObject * obj3 = 0 ;
5283 PyObject * obj4 = 0 ;
5284 PyObject * obj5 = 0 ;
5285 PyObject * obj6 = 0 ;
5286 PyObject * obj7 = 0 ;
5287 PyObject * obj8 = 0 ;
5288 char * kwnames[] = {
5289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5290 };
5291
5292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5294 if (!SWIG_IsOK(res1)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5296 }
5297 arg1 = reinterpret_cast< wxChoice * >(argp1);
5298 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5299 if (!SWIG_IsOK(res2)) {
5300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5301 }
5302 arg2 = reinterpret_cast< wxWindow * >(argp2);
5303 if (obj2) {
5304 ecode3 = SWIG_AsVal_int(obj2, &val3);
5305 if (!SWIG_IsOK(ecode3)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5307 }
5308 arg3 = static_cast< int >(val3);
5309 }
5310 if (obj3) {
d55e5bfc 5311 {
554f62e9
RD
5312 arg4 = &temp4;
5313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5314 }
554f62e9
RD
5315 }
5316 if (obj4) {
d55e5bfc 5317 {
554f62e9
RD
5318 arg5 = &temp5;
5319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5320 }
554f62e9
RD
5321 }
5322 if (obj5) {
d55e5bfc 5323 {
554f62e9
RD
5324 if (! PySequence_Check(obj5)) {
5325 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5326 SWIG_fail;
5327 }
5328 arg6 = new wxArrayString;
5329 temp6 = true;
5330 int i, len=PySequence_Length(obj5);
5331 for (i=0; i<len; i++) {
5332 PyObject* item = PySequence_GetItem(obj5, i);
5333 wxString* s = wxString_in_helper(item);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 arg6->Add(*s);
5336 delete s;
5337 Py_DECREF(item);
5338 }
5339 }
5340 }
5341 if (obj6) {
5342 ecode7 = SWIG_AsVal_long(obj6, &val7);
5343 if (!SWIG_IsOK(ecode7)) {
5344 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5345 }
5346 arg7 = static_cast< long >(val7);
5347 }
5348 if (obj7) {
5349 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5350 if (!SWIG_IsOK(res8)) {
5351 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 5352 }
554f62e9
RD
5353 if (!argp8) {
5354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5355 }
5356 arg8 = reinterpret_cast< wxValidator * >(argp8);
5357 }
5358 if (obj8) {
d55e5bfc 5359 {
554f62e9
RD
5360 arg9 = wxString_in_helper(obj8);
5361 if (arg9 == NULL) SWIG_fail;
5362 temp9 = true;
d55e5bfc 5363 }
554f62e9
RD
5364 }
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 {
5372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5373 }
5374 {
5375 if (temp6) delete arg6;
5376 }
5377 {
5378 if (temp9)
5379 delete arg9;
5380 }
5381 return resultobj;
5382fail:
5383 {
5384 if (temp6) delete arg6;
5385 }
5386 {
5387 if (temp9)
5388 delete arg9;
5389 }
5390 return NULL;
d55e5bfc
RD
5391}
5392
5393
554f62e9
RD
5394SWIGINTERN PyObject *_wrap_Choice_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5395 PyObject *resultobj = 0;
5396 wxChoice *arg1 = (wxChoice *) 0 ;
5397 int result;
5398 void *argp1 = 0 ;
5399 int res1 = 0 ;
5400 PyObject *swig_obj[1] ;
5401
5402 if (!args) SWIG_fail;
5403 swig_obj[0] = args;
5404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoice, 0 | 0 );
5405 if (!SWIG_IsOK(res1)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5407 }
5408 arg1 = reinterpret_cast< wxChoice * >(argp1);
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (int)((wxChoice const *)arg1)->GetCurrentSelection();
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 resultobj = SWIG_From_int(static_cast< int >(result));
5416 return resultobj;
5417fail:
5418 return NULL;
5419}
5420
5421
5422SWIGINTERN PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5423 PyObject *resultobj = 0;
5424 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5425 SwigValueWrapper<wxVisualAttributes > result;
5426 int val1 ;
5427 int ecode1 = 0 ;
5428 PyObject * obj0 = 0 ;
5429 char * kwnames[] = {
5430 (char *) "variant", NULL
5431 };
5432
5433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5434 if (obj0) {
5435 ecode1 = SWIG_AsVal_int(obj0, &val1);
5436 if (!SWIG_IsOK(ecode1)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5438 }
5439 arg1 = static_cast< wxWindowVariant >(val1);
5440 }
5441 {
5442 if (!wxPyCheckForApp()) SWIG_fail;
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = wxChoice::GetClassDefaultAttributes(arg1);
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5449 return resultobj;
5450fail:
5451 return NULL;
f20a2e1f
RD
5452}
5453
5454
554f62e9
RD
5455SWIGINTERN PyObject *Choice_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5456 PyObject *obj;
5457 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5458 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice, SWIG_NewClientData(obj));
5459 return SWIG_Py_Void();
d55e5bfc 5460}
554f62e9
RD
5461
5462SWIGINTERN PyObject *Choice_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5463 return SWIG_Python_InitShadowInstance(args);
5464}
5465
5466SWIGINTERN int ComboBoxNameStr_set(PyObject *) {
5467 SWIG_Error(SWIG_AttributeError,"Variable ComboBoxNameStr is read-only.");
5468 return 1;
d55e5bfc
RD
5469}
5470
5471
554f62e9
RD
5472SWIGINTERN PyObject *ComboBoxNameStr_get(void) {
5473 PyObject *pyobj = 0;
5474
5475 {
d55e5bfc 5476#if wxUSE_UNICODE
554f62e9 5477 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5478#else
554f62e9 5479 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
d55e5bfc 5480#endif
554f62e9
RD
5481 }
5482 return pyobj;
5483}
5484
5485
5486SWIGINTERN PyObject *_wrap_new_ComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj = 0;
5488 wxWindow *arg1 = (wxWindow *) 0 ;
5489 int arg2 = (int) -1 ;
5490 wxString const &arg3_defvalue = wxPyEmptyString ;
5491 wxString *arg3 = (wxString *) &arg3_defvalue ;
5492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5494 wxSize const &arg5_defvalue = wxDefaultSize ;
5495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5496 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5497 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5498 long arg7 = (long) 0 ;
5499 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5500 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5501 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
5502 wxString *arg9 = (wxString *) &arg9_defvalue ;
5503 wxComboBox *result = 0 ;
5504 void *argp1 = 0 ;
5505 int res1 = 0 ;
5506 int val2 ;
5507 int ecode2 = 0 ;
5508 bool temp3 = false ;
5509 wxPoint temp4 ;
5510 wxSize temp5 ;
5511 bool temp6 = false ;
5512 long val7 ;
5513 int ecode7 = 0 ;
5514 void *argp8 = 0 ;
5515 int res8 = 0 ;
5516 bool temp9 = false ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 PyObject * obj2 = 0 ;
5520 PyObject * obj3 = 0 ;
5521 PyObject * obj4 = 0 ;
5522 PyObject * obj5 = 0 ;
5523 PyObject * obj6 = 0 ;
5524 PyObject * obj7 = 0 ;
5525 PyObject * obj8 = 0 ;
5526 char * kwnames[] = {
5527 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5528 };
5529
5530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5532 if (!SWIG_IsOK(res1)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5534 }
5535 arg1 = reinterpret_cast< wxWindow * >(argp1);
5536 if (obj1) {
5537 ecode2 = SWIG_AsVal_int(obj1, &val2);
5538 if (!SWIG_IsOK(ecode2)) {
5539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5540 }
5541 arg2 = static_cast< int >(val2);
5542 }
5543 if (obj2) {
d55e5bfc 5544 {
554f62e9
RD
5545 arg3 = wxString_in_helper(obj2);
5546 if (arg3 == NULL) SWIG_fail;
5547 temp3 = true;
d55e5bfc 5548 }
554f62e9
RD
5549 }
5550 if (obj3) {
d55e5bfc 5551 {
554f62e9
RD
5552 arg4 = &temp4;
5553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 5554 }
554f62e9
RD
5555 }
5556 if (obj4) {
d55e5bfc 5557 {
554f62e9
RD
5558 arg5 = &temp5;
5559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5560 }
554f62e9
RD
5561 }
5562 if (obj5) {
d55e5bfc 5563 {
554f62e9
RD
5564 if (! PySequence_Check(obj5)) {
5565 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5566 SWIG_fail;
5567 }
5568 arg6 = new wxArrayString;
5569 temp6 = true;
5570 int i, len=PySequence_Length(obj5);
5571 for (i=0; i<len; i++) {
5572 PyObject* item = PySequence_GetItem(obj5, i);
5573 wxString* s = wxString_in_helper(item);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 arg6->Add(*s);
5576 delete s;
5577 Py_DECREF(item);
5578 }
d55e5bfc 5579 }
554f62e9
RD
5580 }
5581 if (obj6) {
5582 ecode7 = SWIG_AsVal_long(obj6, &val7);
5583 if (!SWIG_IsOK(ecode7)) {
5584 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5585 }
5586 arg7 = static_cast< long >(val7);
5587 }
5588 if (obj7) {
5589 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
5590 if (!SWIG_IsOK(res8)) {
5591 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5592 }
5593 if (!argp8) {
5594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5595 }
5596 arg8 = reinterpret_cast< wxValidator * >(argp8);
5597 }
5598 if (obj8) {
d55e5bfc 5599 {
554f62e9
RD
5600 arg9 = wxString_in_helper(obj8);
5601 if (arg9 == NULL) SWIG_fail;
5602 temp9 = true;
d55e5bfc 5603 }
554f62e9
RD
5604 }
5605 {
5606 if (!wxPyCheckForApp()) SWIG_fail;
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 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);
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_NEW | 0 );
5613 {
5614 if (temp3)
5615 delete arg3;
5616 }
5617 {
5618 if (temp6) delete arg6;
5619 }
5620 {
5621 if (temp9)
5622 delete arg9;
5623 }
5624 return resultobj;
5625fail:
5626 {
5627 if (temp3)
5628 delete arg3;
5629 }
5630 {
5631 if (temp6) delete arg6;
5632 }
5633 {
5634 if (temp9)
5635 delete arg9;
5636 }
5637 return NULL;
d55e5bfc
RD
5638}
5639
5640
554f62e9
RD
5641SWIGINTERN PyObject *_wrap_new_PreComboBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5642 PyObject *resultobj = 0;
5643 wxComboBox *result = 0 ;
5644
5645 if (!SWIG_Python_UnpackTuple(args,"new_PreComboBox",0,0,0)) SWIG_fail;
5646 {
5647 if (!wxPyCheckForApp()) SWIG_fail;
5648 PyThreadState* __tstate = wxPyBeginAllowThreads();
5649 result = (wxComboBox *)new wxComboBox();
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxComboBox, SWIG_POINTER_OWN | 0 );
5654 return resultobj;
5655fail:
5656 return NULL;
5657}
5658
5659
5660SWIGINTERN PyObject *_wrap_ComboBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj = 0;
5662 wxComboBox *arg1 = (wxComboBox *) 0 ;
5663 wxWindow *arg2 = (wxWindow *) 0 ;
5664 int arg3 = (int) -1 ;
5665 wxString const &arg4_defvalue = wxPyEmptyString ;
5666 wxString *arg4 = (wxString *) &arg4_defvalue ;
5667 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5668 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5669 wxSize const &arg6_defvalue = wxDefaultSize ;
5670 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5671 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
5672 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
5673 long arg8 = (long) 0 ;
5674 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5675 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5676 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
5677 wxString *arg10 = (wxString *) &arg10_defvalue ;
5678 bool result;
5679 void *argp1 = 0 ;
5680 int res1 = 0 ;
5681 void *argp2 = 0 ;
5682 int res2 = 0 ;
5683 int val3 ;
5684 int ecode3 = 0 ;
5685 bool temp4 = false ;
5686 wxPoint temp5 ;
5687 wxSize temp6 ;
5688 bool temp7 = false ;
5689 long val8 ;
5690 int ecode8 = 0 ;
5691 void *argp9 = 0 ;
5692 int res9 = 0 ;
5693 bool temp10 = false ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 PyObject * obj2 = 0 ;
5697 PyObject * obj3 = 0 ;
5698 PyObject * obj4 = 0 ;
5699 PyObject * obj5 = 0 ;
5700 PyObject * obj6 = 0 ;
5701 PyObject * obj7 = 0 ;
5702 PyObject * obj8 = 0 ;
5703 PyObject * obj9 = 0 ;
5704 char * kwnames[] = {
5705 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5706 };
5707
5708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
5709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5710 if (!SWIG_IsOK(res1)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5712 }
5713 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5715 if (!SWIG_IsOK(res2)) {
5716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5717 }
5718 arg2 = reinterpret_cast< wxWindow * >(argp2);
5719 if (obj2) {
5720 ecode3 = SWIG_AsVal_int(obj2, &val3);
5721 if (!SWIG_IsOK(ecode3)) {
5722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5723 }
5724 arg3 = static_cast< int >(val3);
5725 }
5726 if (obj3) {
d55e5bfc 5727 {
554f62e9
RD
5728 arg4 = wxString_in_helper(obj3);
5729 if (arg4 == NULL) SWIG_fail;
5730 temp4 = true;
d55e5bfc 5731 }
554f62e9
RD
5732 }
5733 if (obj4) {
d55e5bfc 5734 {
554f62e9
RD
5735 arg5 = &temp5;
5736 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 5737 }
554f62e9
RD
5738 }
5739 if (obj5) {
d55e5bfc 5740 {
554f62e9
RD
5741 arg6 = &temp6;
5742 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 5743 }
554f62e9
RD
5744 }
5745 if (obj6) {
d55e5bfc 5746 {
554f62e9
RD
5747 if (! PySequence_Check(obj6)) {
5748 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5749 SWIG_fail;
5750 }
5751 arg7 = new wxArrayString;
5752 temp7 = true;
5753 int i, len=PySequence_Length(obj6);
5754 for (i=0; i<len; i++) {
5755 PyObject* item = PySequence_GetItem(obj6, i);
5756 wxString* s = wxString_in_helper(item);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 arg7->Add(*s);
5759 delete s;
5760 Py_DECREF(item);
5761 }
d55e5bfc 5762 }
554f62e9
RD
5763 }
5764 if (obj7) {
5765 ecode8 = SWIG_AsVal_long(obj7, &val8);
5766 if (!SWIG_IsOK(ecode8)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5768 }
5769 arg8 = static_cast< long >(val8);
5770 }
5771 if (obj8) {
5772 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
5773 if (!SWIG_IsOK(res9)) {
5774 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5775 }
554f62e9
RD
5776 if (!argp9) {
5777 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 5778 }
554f62e9
RD
5779 arg9 = reinterpret_cast< wxValidator * >(argp9);
5780 }
5781 if (obj9) {
d55e5bfc 5782 {
554f62e9
RD
5783 arg10 = wxString_in_helper(obj9);
5784 if (arg10 == NULL) SWIG_fail;
5785 temp10 = true;
d55e5bfc 5786 }
554f62e9
RD
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 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);
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 {
5795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5796 }
5797 {
5798 if (temp4)
5799 delete arg4;
5800 }
5801 {
5802 if (temp7) delete arg7;
5803 }
5804 {
5805 if (temp10)
5806 delete arg10;
5807 }
5808 return resultobj;
5809fail:
5810 {
5811 if (temp4)
5812 delete arg4;
5813 }
5814 {
5815 if (temp7) delete arg7;
5816 }
5817 {
5818 if (temp10)
5819 delete arg10;
5820 }
5821 return NULL;
d55e5bfc
RD
5822}
5823
5824
554f62e9
RD
5825SWIGINTERN PyObject *_wrap_ComboBox_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5826 PyObject *resultobj = 0;
5827 wxComboBox *arg1 = (wxComboBox *) 0 ;
5828 wxString result;
5829 void *argp1 = 0 ;
5830 int res1 = 0 ;
5831 PyObject *swig_obj[1] ;
5832
5833 if (!args) SWIG_fail;
5834 swig_obj[0] = args;
5835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5836 if (!SWIG_IsOK(res1)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5838 }
5839 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = ((wxComboBox const *)arg1)->GetValue();
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 {
d55e5bfc 5847#if wxUSE_UNICODE
554f62e9 5848 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5849#else
554f62e9 5850 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5851#endif
554f62e9
RD
5852 }
5853 return resultobj;
5854fail:
5855 return NULL;
5856}
5857
5858
5859SWIGINTERN PyObject *_wrap_ComboBox_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj = 0;
5861 wxComboBox *arg1 = (wxComboBox *) 0 ;
5862 wxString *arg2 = 0 ;
5863 void *argp1 = 0 ;
5864 int res1 = 0 ;
5865 bool temp2 = false ;
5866 PyObject * obj0 = 0 ;
5867 PyObject * obj1 = 0 ;
5868 char * kwnames[] = {
5869 (char *) "self",(char *) "value", NULL
5870 };
5871
5872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
5873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5874 if (!SWIG_IsOK(res1)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5876 }
5877 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5878 {
5879 arg2 = wxString_in_helper(obj1);
5880 if (arg2 == NULL) SWIG_fail;
5881 temp2 = true;
5882 }
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 (arg1)->SetValue((wxString const &)*arg2);
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 resultobj = SWIG_Py_Void();
5890 {
5891 if (temp2)
5892 delete arg2;
5893 }
5894 return resultobj;
5895fail:
5896 {
5897 if (temp2)
5898 delete arg2;
5899 }
5900 return NULL;
d55e5bfc
RD
5901}
5902
5903
554f62e9
RD
5904SWIGINTERN PyObject *_wrap_ComboBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5905 PyObject *resultobj = 0;
5906 wxComboBox *arg1 = (wxComboBox *) 0 ;
5907 void *argp1 = 0 ;
5908 int res1 = 0 ;
5909 PyObject *swig_obj[1] ;
5910
5911 if (!args) SWIG_fail;
5912 swig_obj[0] = args;
5913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5914 if (!SWIG_IsOK(res1)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5916 }
5917 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 (arg1)->Copy();
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = SWIG_Py_Void();
5925 return resultobj;
5926fail:
5927 return NULL;
d55e5bfc
RD
5928}
5929
5930
554f62e9
RD
5931SWIGINTERN PyObject *_wrap_ComboBox_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5932 PyObject *resultobj = 0;
5933 wxComboBox *arg1 = (wxComboBox *) 0 ;
5934 void *argp1 = 0 ;
5935 int res1 = 0 ;
5936 PyObject *swig_obj[1] ;
5937
5938 if (!args) SWIG_fail;
5939 swig_obj[0] = args;
5940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5941 if (!SWIG_IsOK(res1)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5943 }
5944 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 (arg1)->Cut();
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = SWIG_Py_Void();
5952 return resultobj;
5953fail:
5954 return NULL;
d55e5bfc
RD
5955}
5956
5957
554f62e9
RD
5958SWIGINTERN PyObject *_wrap_ComboBox_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5959 PyObject *resultobj = 0;
5960 wxComboBox *arg1 = (wxComboBox *) 0 ;
5961 void *argp1 = 0 ;
5962 int res1 = 0 ;
5963 PyObject *swig_obj[1] ;
5964
5965 if (!args) SWIG_fail;
5966 swig_obj[0] = args;
5967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
5968 if (!SWIG_IsOK(res1)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 }
5971 arg1 = reinterpret_cast< wxComboBox * >(argp1);
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 (arg1)->Paste();
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 resultobj = SWIG_Py_Void();
5979 return resultobj;
5980fail:
5981 return NULL;
5982}
5983
5984
5985SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj = 0;
5987 wxComboBox *arg1 = (wxComboBox *) 0 ;
5988 long arg2 ;
5989 void *argp1 = 0 ;
5990 int res1 = 0 ;
5991 long val2 ;
5992 int ecode2 = 0 ;
5993 PyObject * obj0 = 0 ;
5994 PyObject * obj1 = 0 ;
5995 char * kwnames[] = {
5996 (char *) "self",(char *) "pos", NULL
5997 };
5998
5999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
6000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6001 if (!SWIG_IsOK(res1)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6003 }
6004 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6005 ecode2 = SWIG_AsVal_long(obj1, &val2);
6006 if (!SWIG_IsOK(ecode2)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6008 }
6009 arg2 = static_cast< long >(val2);
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 (arg1)->SetInsertionPoint(arg2);
6013 wxPyEndAllowThreads(__tstate);
6014 if (PyErr_Occurred()) SWIG_fail;
6015 }
6016 resultobj = SWIG_Py_Void();
6017 return resultobj;
6018fail:
6019 return NULL;
d55e5bfc
RD
6020}
6021
6022
554f62e9
RD
6023SWIGINTERN PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6024 PyObject *resultobj = 0;
6025 wxComboBox *arg1 = (wxComboBox *) 0 ;
6026 long result;
6027 void *argp1 = 0 ;
6028 int res1 = 0 ;
6029 PyObject *swig_obj[1] ;
6030
6031 if (!args) SWIG_fail;
6032 swig_obj[0] = args;
6033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6034 if (!SWIG_IsOK(res1)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6036 }
6037 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 resultobj = SWIG_From_long(static_cast< long >(result));
6045 return resultobj;
6046fail:
6047 return NULL;
d55e5bfc
RD
6048}
6049
6050
554f62e9
RD
6051SWIGINTERN PyObject *_wrap_ComboBox_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6052 PyObject *resultobj = 0;
6053 wxComboBox *arg1 = (wxComboBox *) 0 ;
6054 long result;
6055 void *argp1 = 0 ;
6056 int res1 = 0 ;
6057 PyObject *swig_obj[1] ;
6058
6059 if (!args) SWIG_fail;
6060 swig_obj[0] = args;
6061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6062 if (!SWIG_IsOK(res1)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6064 }
6065 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6066 {
6067 PyThreadState* __tstate = wxPyBeginAllowThreads();
6068 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 resultobj = SWIG_From_long(static_cast< long >(result));
6073 return resultobj;
6074fail:
6075 return NULL;
6076}
6077
6078
6079SWIGINTERN PyObject *_wrap_ComboBox_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6080 PyObject *resultobj = 0;
6081 wxComboBox *arg1 = (wxComboBox *) 0 ;
6082 long arg2 ;
6083 long arg3 ;
6084 wxString *arg4 = 0 ;
6085 void *argp1 = 0 ;
6086 int res1 = 0 ;
6087 long val2 ;
6088 int ecode2 = 0 ;
6089 long val3 ;
6090 int ecode3 = 0 ;
6091 bool temp4 = false ;
6092 PyObject * obj0 = 0 ;
6093 PyObject * obj1 = 0 ;
6094 PyObject * obj2 = 0 ;
6095 PyObject * obj3 = 0 ;
6096 char * kwnames[] = {
f460c29d 6097 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
6098 };
6099
6100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6102 if (!SWIG_IsOK(res1)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6104 }
6105 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6106 ecode2 = SWIG_AsVal_long(obj1, &val2);
6107 if (!SWIG_IsOK(ecode2)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6109 }
6110 arg2 = static_cast< long >(val2);
6111 ecode3 = SWIG_AsVal_long(obj2, &val3);
6112 if (!SWIG_IsOK(ecode3)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6114 }
6115 arg3 = static_cast< long >(val3);
6116 {
6117 arg4 = wxString_in_helper(obj3);
6118 if (arg4 == NULL) SWIG_fail;
6119 temp4 = true;
6120 }
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = SWIG_Py_Void();
6128 {
6129 if (temp4)
6130 delete arg4;
6131 }
6132 return resultobj;
6133fail:
6134 {
6135 if (temp4)
6136 delete arg4;
6137 }
6138 return NULL;
6139}
6140
6141
6142SWIGINTERN PyObject *_wrap_ComboBox_SetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj = 0;
6144 wxComboBox *arg1 = (wxComboBox *) 0 ;
6145 long arg2 ;
6146 long arg3 ;
6147 void *argp1 = 0 ;
6148 int res1 = 0 ;
6149 long val2 ;
6150 int ecode2 = 0 ;
6151 long val3 ;
6152 int ecode3 = 0 ;
6153 PyObject * obj0 = 0 ;
6154 PyObject * obj1 = 0 ;
6155 PyObject * obj2 = 0 ;
6156 char * kwnames[] = {
f460c29d 6157 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6158 };
6159
6160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6162 if (!SWIG_IsOK(res1)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6164 }
6165 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6166 ecode2 = SWIG_AsVal_long(obj1, &val2);
6167 if (!SWIG_IsOK(ecode2)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6169 }
6170 arg2 = static_cast< long >(val2);
6171 ecode3 = SWIG_AsVal_long(obj2, &val3);
6172 if (!SWIG_IsOK(ecode3)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6174 }
6175 arg3 = static_cast< long >(val3);
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 (arg1)->SetSelection(arg2,arg3);
6179 wxPyEndAllowThreads(__tstate);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 }
6182 resultobj = SWIG_Py_Void();
6183 return resultobj;
6184fail:
6185 return NULL;
6186}
6187
6188
6189SWIGINTERN PyObject *_wrap_ComboBox_GetMark(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6190 PyObject *resultobj = 0;
6191 wxComboBox *arg1 = (wxComboBox *) 0 ;
6192 long *arg2 = (long *) 0 ;
6193 long *arg3 = (long *) 0 ;
6194 void *argp1 = 0 ;
6195 int res1 = 0 ;
6196 long temp2 ;
6197 int res2 = SWIG_TMPOBJ ;
6198 long temp3 ;
6199 int res3 = SWIG_TMPOBJ ;
6200 PyObject *swig_obj[1] ;
6201
6202 arg2 = &temp2;
6203 arg3 = &temp3;
6204 if (!args) SWIG_fail;
6205 swig_obj[0] = args;
6206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6207 if (!SWIG_IsOK(res1)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6209 }
6210 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 (arg1)->GetSelection(arg2,arg3);
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 resultobj = SWIG_Py_Void();
6218 if (SWIG_IsTmpObj(res2)) {
6219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
6220 } else {
6221 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6222 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
6223 }
6224 if (SWIG_IsTmpObj(res3)) {
6225 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
6226 } else {
6227 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6228 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
6229 }
6230 return resultobj;
6231fail:
6232 return NULL;
d55e5bfc
RD
6233}
6234
6235
554f62e9
RD
6236SWIGINTERN PyObject *_wrap_ComboBox_GetCurrentSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6237 PyObject *resultobj = 0;
6238 wxComboBox *arg1 = (wxComboBox *) 0 ;
6239 int result;
6240 void *argp1 = 0 ;
6241 int res1 = 0 ;
6242 PyObject *swig_obj[1] ;
6243
6244 if (!args) SWIG_fail;
6245 swig_obj[0] = args;
6246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6247 if (!SWIG_IsOK(res1)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6249 }
6250 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 result = (int)((wxComboBox const *)arg1)->GetCurrentSelection();
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 resultobj = SWIG_From_int(static_cast< int >(result));
6258 return resultobj;
6259fail:
6260 return NULL;
6261}
6262
6263
6264SWIGINTERN PyObject *_wrap_ComboBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj = 0;
6266 wxComboBox *arg1 = (wxComboBox *) 0 ;
6267 wxString *arg2 = 0 ;
6268 bool result;
6269 void *argp1 = 0 ;
6270 int res1 = 0 ;
6271 bool temp2 = false ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj1 = 0 ;
6274 char * kwnames[] = {
6275 (char *) "self",(char *) "string", NULL
6276 };
6277
6278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
6279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6280 if (!SWIG_IsOK(res1)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6282 }
6283 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6284 {
6285 arg2 = wxString_in_helper(obj1);
6286 if (arg2 == NULL) SWIG_fail;
6287 temp2 = true;
6288 }
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) SWIG_fail;
6294 }
6295 {
6296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6297 }
6298 {
6299 if (temp2)
6300 delete arg2;
6301 }
6302 return resultobj;
6303fail:
6304 {
6305 if (temp2)
6306 delete arg2;
6307 }
6308 return NULL;
6309}
6310
6311
6312SWIGINTERN PyObject *_wrap_ComboBox_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6313 PyObject *resultobj = 0;
6314 wxComboBox *arg1 = (wxComboBox *) 0 ;
6315 bool arg2 ;
6316 void *argp1 = 0 ;
6317 int res1 = 0 ;
6318 bool val2 ;
6319 int ecode2 = 0 ;
6320 PyObject * obj0 = 0 ;
6321 PyObject * obj1 = 0 ;
6322 char * kwnames[] = {
6323 (char *) "self",(char *) "editable", NULL
6324 };
6325
6326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
6327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6328 if (!SWIG_IsOK(res1)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6330 }
6331 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6332 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6333 if (!SWIG_IsOK(ecode2)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6335 }
6336 arg2 = static_cast< bool >(val2);
6337 {
6338 PyThreadState* __tstate = wxPyBeginAllowThreads();
6339 (arg1)->SetEditable(arg2);
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 resultobj = SWIG_Py_Void();
6344 return resultobj;
6345fail:
6346 return NULL;
d55e5bfc
RD
6347}
6348
6349
554f62e9
RD
6350SWIGINTERN PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6351 PyObject *resultobj = 0;
6352 wxComboBox *arg1 = (wxComboBox *) 0 ;
6353 void *argp1 = 0 ;
6354 int res1 = 0 ;
6355 PyObject *swig_obj[1] ;
6356
6357 if (!args) SWIG_fail;
6358 swig_obj[0] = args;
6359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6360 if (!SWIG_IsOK(res1)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6362 }
6363 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetInsertionPointEnd();
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_Py_Void();
6371 return resultobj;
6372fail:
6373 return NULL;
6374}
6375
6376
6377SWIGINTERN PyObject *_wrap_ComboBox_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj = 0;
6379 wxComboBox *arg1 = (wxComboBox *) 0 ;
6380 long arg2 ;
6381 long arg3 ;
6382 void *argp1 = 0 ;
6383 int res1 = 0 ;
6384 long val2 ;
6385 int ecode2 = 0 ;
6386 long val3 ;
6387 int ecode3 = 0 ;
6388 PyObject * obj0 = 0 ;
6389 PyObject * obj1 = 0 ;
6390 PyObject * obj2 = 0 ;
6391 char * kwnames[] = {
f460c29d 6392 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
6393 };
6394
6395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6397 if (!SWIG_IsOK(res1)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6399 }
6400 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6401 ecode2 = SWIG_AsVal_long(obj1, &val2);
6402 if (!SWIG_IsOK(ecode2)) {
6403 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6404 }
6405 arg2 = static_cast< long >(val2);
6406 ecode3 = SWIG_AsVal_long(obj2, &val3);
6407 if (!SWIG_IsOK(ecode3)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6409 }
6410 arg3 = static_cast< long >(val3);
6411 {
6412 PyThreadState* __tstate = wxPyBeginAllowThreads();
6413 (arg1)->Remove(arg2,arg3);
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 resultobj = SWIG_Py_Void();
6418 return resultobj;
6419fail:
6420 return NULL;
d55e5bfc
RD
6421}
6422
6423
554f62e9
RD
6424SWIGINTERN PyObject *_wrap_ComboBox_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6425 PyObject *resultobj = 0;
6426 wxComboBox *arg1 = (wxComboBox *) 0 ;
6427 bool result;
6428 void *argp1 = 0 ;
6429 int res1 = 0 ;
6430 PyObject *swig_obj[1] ;
6431
6432 if (!args) SWIG_fail;
6433 swig_obj[0] = args;
6434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6435 if (!SWIG_IsOK(res1)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6437 }
6438 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (bool)((wxComboBox const *)arg1)->IsEditable();
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 {
6446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6447 }
6448 return resultobj;
6449fail:
6450 return NULL;
d55e5bfc
RD
6451}
6452
6453
554f62e9
RD
6454SWIGINTERN PyObject *_wrap_ComboBox_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6455 PyObject *resultobj = 0;
6456 wxComboBox *arg1 = (wxComboBox *) 0 ;
6457 void *argp1 = 0 ;
6458 int res1 = 0 ;
6459 PyObject *swig_obj[1] ;
6460
6461 if (!args) SWIG_fail;
6462 swig_obj[0] = args;
6463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6464 if (!SWIG_IsOK(res1)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6466 }
6467 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 (arg1)->Undo();
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 resultobj = SWIG_Py_Void();
6475 return resultobj;
6476fail:
6477 return NULL;
d55e5bfc
RD
6478}
6479
6480
554f62e9
RD
6481SWIGINTERN PyObject *_wrap_ComboBox_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6482 PyObject *resultobj = 0;
6483 wxComboBox *arg1 = (wxComboBox *) 0 ;
6484 void *argp1 = 0 ;
6485 int res1 = 0 ;
6486 PyObject *swig_obj[1] ;
6487
6488 if (!args) SWIG_fail;
6489 swig_obj[0] = args;
6490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6491 if (!SWIG_IsOK(res1)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6493 }
6494 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 (arg1)->Redo();
6498 wxPyEndAllowThreads(__tstate);
6499 if (PyErr_Occurred()) SWIG_fail;
6500 }
6501 resultobj = SWIG_Py_Void();
6502 return resultobj;
6503fail:
6504 return NULL;
d55e5bfc
RD
6505}
6506
6507
554f62e9
RD
6508SWIGINTERN PyObject *_wrap_ComboBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6509 PyObject *resultobj = 0;
6510 wxComboBox *arg1 = (wxComboBox *) 0 ;
6511 void *argp1 = 0 ;
6512 int res1 = 0 ;
6513 PyObject *swig_obj[1] ;
6514
6515 if (!args) SWIG_fail;
6516 swig_obj[0] = args;
6517 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6518 if (!SWIG_IsOK(res1)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 }
6521 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 (arg1)->SelectAll();
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 resultobj = SWIG_Py_Void();
6529 return resultobj;
6530fail:
6531 return NULL;
f78cc896
RD
6532}
6533
6534
554f62e9
RD
6535SWIGINTERN PyObject *_wrap_ComboBox_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6536 PyObject *resultobj = 0;
6537 wxComboBox *arg1 = (wxComboBox *) 0 ;
6538 bool result;
6539 void *argp1 = 0 ;
6540 int res1 = 0 ;
6541 PyObject *swig_obj[1] ;
6542
6543 if (!args) SWIG_fail;
6544 swig_obj[0] = args;
6545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6546 if (!SWIG_IsOK(res1)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6548 }
6549 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 result = (bool)((wxComboBox const *)arg1)->CanCopy();
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 {
6557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6558 }
6559 return resultobj;
6560fail:
6561 return NULL;
9d7dfdff
RD
6562}
6563
6564
554f62e9
RD
6565SWIGINTERN PyObject *_wrap_ComboBox_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6566 PyObject *resultobj = 0;
6567 wxComboBox *arg1 = (wxComboBox *) 0 ;
6568 bool result;
6569 void *argp1 = 0 ;
6570 int res1 = 0 ;
6571 PyObject *swig_obj[1] ;
6572
6573 if (!args) SWIG_fail;
6574 swig_obj[0] = args;
6575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6576 if (!SWIG_IsOK(res1)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6578 }
6579 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = (bool)((wxComboBox const *)arg1)->CanCut();
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 {
6587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6588 }
6589 return resultobj;
6590fail:
6591 return NULL;
121b9a67
RD
6592}
6593
6594
554f62e9
RD
6595SWIGINTERN PyObject *_wrap_ComboBox_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6596 PyObject *resultobj = 0;
6597 wxComboBox *arg1 = (wxComboBox *) 0 ;
6598 bool result;
6599 void *argp1 = 0 ;
6600 int res1 = 0 ;
6601 PyObject *swig_obj[1] ;
6602
6603 if (!args) SWIG_fail;
6604 swig_obj[0] = args;
6605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6606 if (!SWIG_IsOK(res1)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6608 }
6609 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (bool)((wxComboBox const *)arg1)->CanPaste();
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
6617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6618 }
6619 return resultobj;
6620fail:
6621 return NULL;
121b9a67
RD
6622}
6623
6624
554f62e9
RD
6625SWIGINTERN PyObject *_wrap_ComboBox_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6626 PyObject *resultobj = 0;
6627 wxComboBox *arg1 = (wxComboBox *) 0 ;
6628 bool result;
6629 void *argp1 = 0 ;
6630 int res1 = 0 ;
6631 PyObject *swig_obj[1] ;
6632
6633 if (!args) SWIG_fail;
6634 swig_obj[0] = args;
6635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6636 if (!SWIG_IsOK(res1)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6638 }
6639 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 result = (bool)((wxComboBox const *)arg1)->CanUndo();
6643 wxPyEndAllowThreads(__tstate);
6644 if (PyErr_Occurred()) SWIG_fail;
6645 }
6646 {
6647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6648 }
6649 return resultobj;
6650fail:
6651 return NULL;
d55e5bfc
RD
6652}
6653
6654
554f62e9
RD
6655SWIGINTERN PyObject *_wrap_ComboBox_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6656 PyObject *resultobj = 0;
6657 wxComboBox *arg1 = (wxComboBox *) 0 ;
6658 bool result;
6659 void *argp1 = 0 ;
6660 int res1 = 0 ;
6661 PyObject *swig_obj[1] ;
6662
6663 if (!args) SWIG_fail;
6664 swig_obj[0] = args;
6665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxComboBox, 0 | 0 );
6666 if (!SWIG_IsOK(res1)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6668 }
6669 arg1 = reinterpret_cast< wxComboBox * >(argp1);
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 result = (bool)((wxComboBox const *)arg1)->CanRedo();
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 {
6677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6678 }
6679 return resultobj;
6680fail:
6681 return NULL;
d55e5bfc
RD
6682}
6683
6684
554f62e9
RD
6685SWIGINTERN PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj = 0;
6687 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
6688 SwigValueWrapper<wxVisualAttributes > result;
6689 int val1 ;
6690 int ecode1 = 0 ;
6691 PyObject * obj0 = 0 ;
6692 char * kwnames[] = {
6693 (char *) "variant", NULL
6694 };
6695
6696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
6697 if (obj0) {
6698 ecode1 = SWIG_AsVal_int(obj0, &val1);
6699 if (!SWIG_IsOK(ecode1)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6701 }
6702 arg1 = static_cast< wxWindowVariant >(val1);
6703 }
6704 {
6705 if (!wxPyCheckForApp()) SWIG_fail;
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = wxComboBox::GetClassDefaultAttributes(arg1);
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
6712 return resultobj;
6713fail:
6714 return NULL;
d55e5bfc
RD
6715}
6716
6717
554f62e9
RD
6718SWIGINTERN PyObject *ComboBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6719 PyObject *obj;
6720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6721 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox, SWIG_NewClientData(obj));
6722 return SWIG_Py_Void();
b519803b
RD
6723}
6724
554f62e9
RD
6725SWIGINTERN PyObject *ComboBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6726 return SWIG_Python_InitShadowInstance(args);
6727}
b519803b 6728
554f62e9
RD
6729SWIGINTERN int GaugeNameStr_set(PyObject *) {
6730 SWIG_Error(SWIG_AttributeError,"Variable GaugeNameStr is read-only.");
6731 return 1;
b519803b
RD
6732}
6733
6734
554f62e9
RD
6735SWIGINTERN PyObject *GaugeNameStr_get(void) {
6736 PyObject *pyobj = 0;
6737
6738 {
6739#if wxUSE_UNICODE
6740 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6741#else
6742 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
6743#endif
6744 }
6745 return pyobj;
6746}
6747
6748
6749SWIGINTERN PyObject *_wrap_new_Gauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj = 0;
6751 wxWindow *arg1 = (wxWindow *) 0 ;
6752 int arg2 = (int) -1 ;
6753 int arg3 = (int) 100 ;
6754 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6755 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6756 wxSize const &arg5_defvalue = wxDefaultSize ;
6757 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6758 long arg6 = (long) wxGA_HORIZONTAL ;
6759 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6760 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6761 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
6762 wxString *arg8 = (wxString *) &arg8_defvalue ;
6763 wxGauge *result = 0 ;
6764 void *argp1 = 0 ;
6765 int res1 = 0 ;
6766 int val2 ;
6767 int ecode2 = 0 ;
6768 int val3 ;
6769 int ecode3 = 0 ;
6770 wxPoint temp4 ;
6771 wxSize temp5 ;
6772 long val6 ;
6773 int ecode6 = 0 ;
6774 void *argp7 = 0 ;
6775 int res7 = 0 ;
6776 bool temp8 = false ;
6777 PyObject * obj0 = 0 ;
6778 PyObject * obj1 = 0 ;
6779 PyObject * obj2 = 0 ;
6780 PyObject * obj3 = 0 ;
6781 PyObject * obj4 = 0 ;
6782 PyObject * obj5 = 0 ;
6783 PyObject * obj6 = 0 ;
6784 PyObject * obj7 = 0 ;
6785 char * kwnames[] = {
6786 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6787 };
6788
6789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6791 if (!SWIG_IsOK(res1)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6793 }
6794 arg1 = reinterpret_cast< wxWindow * >(argp1);
6795 if (obj1) {
6796 ecode2 = SWIG_AsVal_int(obj1, &val2);
6797 if (!SWIG_IsOK(ecode2)) {
6798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6799 }
6800 arg2 = static_cast< int >(val2);
6801 }
6802 if (obj2) {
6803 ecode3 = SWIG_AsVal_int(obj2, &val3);
6804 if (!SWIG_IsOK(ecode3)) {
6805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6806 }
6807 arg3 = static_cast< int >(val3);
6808 }
6809 if (obj3) {
b519803b 6810 {
554f62e9
RD
6811 arg4 = &temp4;
6812 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b519803b 6813 }
554f62e9
RD
6814 }
6815 if (obj4) {
b519803b 6816 {
554f62e9
RD
6817 arg5 = &temp5;
6818 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b519803b 6819 }
554f62e9
RD
6820 }
6821 if (obj5) {
6822 ecode6 = SWIG_AsVal_long(obj5, &val6);
6823 if (!SWIG_IsOK(ecode6)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6825 }
6826 arg6 = static_cast< long >(val6);
6827 }
6828 if (obj6) {
6829 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
6830 if (!SWIG_IsOK(res7)) {
6831 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6832 }
6833 if (!argp7) {
6834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
b519803b 6835 }
554f62e9
RD
6836 arg7 = reinterpret_cast< wxValidator * >(argp7);
6837 }
6838 if (obj7) {
b519803b 6839 {
554f62e9
RD
6840 arg8 = wxString_in_helper(obj7);
6841 if (arg8 == NULL) SWIG_fail;
6842 temp8 = true;
b519803b 6843 }
554f62e9
RD
6844 }
6845 {
6846 if (!wxPyCheckForApp()) SWIG_fail;
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_NEW | 0 );
6853 {
6854 if (temp8)
6855 delete arg8;
6856 }
6857 return resultobj;
6858fail:
6859 {
6860 if (temp8)
6861 delete arg8;
6862 }
6863 return NULL;
b519803b
RD
6864}
6865
6866
554f62e9
RD
6867SWIGINTERN PyObject *_wrap_new_PreGauge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6868 PyObject *resultobj = 0;
6869 wxGauge *result = 0 ;
6870
6871 if (!SWIG_Python_UnpackTuple(args,"new_PreGauge",0,0,0)) SWIG_fail;
6872 {
6873 if (!wxPyCheckForApp()) SWIG_fail;
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 result = (wxGauge *)new wxGauge();
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGauge, SWIG_POINTER_OWN | 0 );
6880 return resultobj;
6881fail:
6882 return NULL;
6883}
6884
6885
6886SWIGINTERN PyObject *_wrap_Gauge_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6887 PyObject *resultobj = 0;
6888 wxGauge *arg1 = (wxGauge *) 0 ;
6889 wxWindow *arg2 = (wxWindow *) 0 ;
6890 int arg3 = (int) -1 ;
6891 int arg4 = (int) 100 ;
6892 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6893 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6894 wxSize const &arg6_defvalue = wxDefaultSize ;
6895 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6896 long arg7 = (long) wxGA_HORIZONTAL ;
6897 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6898 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6899 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
6900 wxString *arg9 = (wxString *) &arg9_defvalue ;
6901 bool result;
6902 void *argp1 = 0 ;
6903 int res1 = 0 ;
6904 void *argp2 = 0 ;
6905 int res2 = 0 ;
6906 int val3 ;
6907 int ecode3 = 0 ;
6908 int val4 ;
6909 int ecode4 = 0 ;
6910 wxPoint temp5 ;
6911 wxSize temp6 ;
6912 long val7 ;
6913 int ecode7 = 0 ;
6914 void *argp8 = 0 ;
6915 int res8 = 0 ;
6916 bool temp9 = false ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 PyObject * obj2 = 0 ;
6920 PyObject * obj3 = 0 ;
6921 PyObject * obj4 = 0 ;
6922 PyObject * obj5 = 0 ;
6923 PyObject * obj6 = 0 ;
6924 PyObject * obj7 = 0 ;
6925 PyObject * obj8 = 0 ;
6926 char * kwnames[] = {
6927 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6928 };
6929
6930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
6931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
6932 if (!SWIG_IsOK(res1)) {
6933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6934 }
6935 arg1 = reinterpret_cast< wxGauge * >(argp1);
6936 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6937 if (!SWIG_IsOK(res2)) {
6938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6939 }
6940 arg2 = reinterpret_cast< wxWindow * >(argp2);
6941 if (obj2) {
6942 ecode3 = SWIG_AsVal_int(obj2, &val3);
6943 if (!SWIG_IsOK(ecode3)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6945 }
6946 arg3 = static_cast< int >(val3);
6947 }
6948 if (obj3) {
6949 ecode4 = SWIG_AsVal_int(obj3, &val4);
6950 if (!SWIG_IsOK(ecode4)) {
6951 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6952 }
6953 arg4 = static_cast< int >(val4);
6954 }
6955 if (obj4) {
b519803b 6956 {
554f62e9
RD
6957 arg5 = &temp5;
6958 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b519803b 6959 }
554f62e9
RD
6960 }
6961 if (obj5) {
b519803b 6962 {
554f62e9
RD
6963 arg6 = &temp6;
6964 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b519803b 6965 }
554f62e9
RD
6966 }
6967 if (obj6) {
6968 ecode7 = SWIG_AsVal_long(obj6, &val7);
6969 if (!SWIG_IsOK(ecode7)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6971 }
6972 arg7 = static_cast< long >(val7);
6973 }
6974 if (obj7) {
6975 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
6976 if (!SWIG_IsOK(res8)) {
6977 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
b519803b 6978 }
554f62e9
RD
6979 if (!argp8) {
6980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6981 }
6982 arg8 = reinterpret_cast< wxValidator * >(argp8);
6983 }
6984 if (obj8) {
b519803b 6985 {
554f62e9
RD
6986 arg9 = wxString_in_helper(obj8);
6987 if (arg9 == NULL) SWIG_fail;
6988 temp9 = true;
b519803b 6989 }
554f62e9
RD
6990 }
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6994 wxPyEndAllowThreads(__tstate);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 {
6998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6999 }
7000 {
7001 if (temp9)
7002 delete arg9;
7003 }
7004 return resultobj;
7005fail:
7006 {
7007 if (temp9)
7008 delete arg9;
7009 }
7010 return NULL;
7011}
7012
7013
7014SWIGINTERN PyObject *_wrap_Gauge_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj = 0;
7016 wxGauge *arg1 = (wxGauge *) 0 ;
7017 int arg2 ;
7018 void *argp1 = 0 ;
7019 int res1 = 0 ;
7020 int val2 ;
7021 int ecode2 = 0 ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 char * kwnames[] = {
7025 (char *) "self",(char *) "range", NULL
7026 };
7027
7028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7030 if (!SWIG_IsOK(res1)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7032 }
7033 arg1 = reinterpret_cast< wxGauge * >(argp1);
7034 ecode2 = SWIG_AsVal_int(obj1, &val2);
7035 if (!SWIG_IsOK(ecode2)) {
7036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7037 }
7038 arg2 = static_cast< int >(val2);
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 (arg1)->SetRange(arg2);
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 resultobj = SWIG_Py_Void();
7046 return resultobj;
7047fail:
7048 return NULL;
b519803b
RD
7049}
7050
7051
554f62e9
RD
7052SWIGINTERN PyObject *_wrap_Gauge_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7053 PyObject *resultobj = 0;
7054 wxGauge *arg1 = (wxGauge *) 0 ;
7055 int result;
7056 void *argp1 = 0 ;
7057 int res1 = 0 ;
7058 PyObject *swig_obj[1] ;
7059
7060 if (!args) SWIG_fail;
7061 swig_obj[0] = args;
7062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7063 if (!SWIG_IsOK(res1)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7065 }
7066 arg1 = reinterpret_cast< wxGauge * >(argp1);
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 result = (int)((wxGauge const *)arg1)->GetRange();
7070 wxPyEndAllowThreads(__tstate);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 resultobj = SWIG_From_int(static_cast< int >(result));
7074 return resultobj;
7075fail:
7076 return NULL;
7077}
7078
7079
7080SWIGINTERN PyObject *_wrap_Gauge_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7081 PyObject *resultobj = 0;
7082 wxGauge *arg1 = (wxGauge *) 0 ;
7083 int arg2 ;
7084 void *argp1 = 0 ;
7085 int res1 = 0 ;
7086 int val2 ;
7087 int ecode2 = 0 ;
7088 PyObject * obj0 = 0 ;
7089 PyObject * obj1 = 0 ;
7090 char * kwnames[] = {
7091 (char *) "self",(char *) "pos", NULL
7092 };
7093
7094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
7095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7096 if (!SWIG_IsOK(res1)) {
7097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7098 }
7099 arg1 = reinterpret_cast< wxGauge * >(argp1);
7100 ecode2 = SWIG_AsVal_int(obj1, &val2);
7101 if (!SWIG_IsOK(ecode2)) {
7102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7103 }
7104 arg2 = static_cast< int >(val2);
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->SetValue(arg2);
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 resultobj = SWIG_Py_Void();
7112 return resultobj;
7113fail:
7114 return NULL;
b519803b
RD
7115}
7116
7117
554f62e9
RD
7118SWIGINTERN PyObject *_wrap_Gauge_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7119 PyObject *resultobj = 0;
7120 wxGauge *arg1 = (wxGauge *) 0 ;
7121 int result;
7122 void *argp1 = 0 ;
7123 int res1 = 0 ;
7124 PyObject *swig_obj[1] ;
7125
7126 if (!args) SWIG_fail;
7127 swig_obj[0] = args;
7128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7129 if (!SWIG_IsOK(res1)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7131 }
7132 arg1 = reinterpret_cast< wxGauge * >(argp1);
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (int)((wxGauge const *)arg1)->GetValue();
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 resultobj = SWIG_From_int(static_cast< int >(result));
7140 return resultobj;
7141fail:
7142 return NULL;
b519803b
RD
7143}
7144
7145
0d2c9713
RD
7146SWIGINTERN PyObject *_wrap_Gauge_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7147 PyObject *resultobj = 0;
7148 wxGauge *arg1 = (wxGauge *) 0 ;
7149 void *argp1 = 0 ;
7150 int res1 = 0 ;
7151 PyObject *swig_obj[1] ;
7152
7153 if (!args) SWIG_fail;
7154 swig_obj[0] = args;
7155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7156 if (!SWIG_IsOK(res1)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7158 }
7159 arg1 = reinterpret_cast< wxGauge * >(argp1);
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 (arg1)->Pulse();
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 resultobj = SWIG_Py_Void();
7167 return resultobj;
7168fail:
7169 return NULL;
7170}
7171
7172
554f62e9
RD
7173SWIGINTERN PyObject *_wrap_Gauge_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7174 PyObject *resultobj = 0;
7175 wxGauge *arg1 = (wxGauge *) 0 ;
7176 bool result;
7177 void *argp1 = 0 ;
7178 int res1 = 0 ;
7179 PyObject *swig_obj[1] ;
7180
7181 if (!args) SWIG_fail;
7182 swig_obj[0] = args;
7183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7184 if (!SWIG_IsOK(res1)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7186 }
7187 arg1 = reinterpret_cast< wxGauge * >(argp1);
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 result = (bool)((wxGauge const *)arg1)->IsVertical();
7191 wxPyEndAllowThreads(__tstate);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 }
7194 {
7195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7196 }
7197 return resultobj;
7198fail:
7199 return NULL;
7200}
7201
7202
7203SWIGINTERN PyObject *_wrap_Gauge_SetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj = 0;
7205 wxGauge *arg1 = (wxGauge *) 0 ;
7206 int arg2 ;
7207 void *argp1 = 0 ;
7208 int res1 = 0 ;
7209 int val2 ;
7210 int ecode2 = 0 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 char * kwnames[] = {
7214 (char *) "self",(char *) "w", NULL
7215 };
7216
7217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7219 if (!SWIG_IsOK(res1)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7221 }
7222 arg1 = reinterpret_cast< wxGauge * >(argp1);
7223 ecode2 = SWIG_AsVal_int(obj1, &val2);
7224 if (!SWIG_IsOK(ecode2)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7226 }
7227 arg2 = static_cast< int >(val2);
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 (arg1)->SetShadowWidth(arg2);
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_Py_Void();
7235 return resultobj;
7236fail:
7237 return NULL;
f20a2e1f
RD
7238}
7239
7240
554f62e9
RD
7241SWIGINTERN PyObject *_wrap_Gauge_GetShadowWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7242 PyObject *resultobj = 0;
7243 wxGauge *arg1 = (wxGauge *) 0 ;
7244 int result;
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
7247 PyObject *swig_obj[1] ;
7248
7249 if (!args) SWIG_fail;
7250 swig_obj[0] = args;
7251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7252 if (!SWIG_IsOK(res1)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7254 }
7255 arg1 = reinterpret_cast< wxGauge * >(argp1);
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 resultobj = SWIG_From_int(static_cast< int >(result));
7263 return resultobj;
7264fail:
7265 return NULL;
7266}
7267
7268
7269SWIGINTERN PyObject *_wrap_Gauge_SetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj = 0;
7271 wxGauge *arg1 = (wxGauge *) 0 ;
7272 int arg2 ;
7273 void *argp1 = 0 ;
7274 int res1 = 0 ;
7275 int val2 ;
7276 int ecode2 = 0 ;
7277 PyObject * obj0 = 0 ;
7278 PyObject * obj1 = 0 ;
7279 char * kwnames[] = {
7280 (char *) "self",(char *) "w", NULL
7281 };
7282
7283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) SWIG_fail;
7284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7285 if (!SWIG_IsOK(res1)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7287 }
7288 arg1 = reinterpret_cast< wxGauge * >(argp1);
7289 ecode2 = SWIG_AsVal_int(obj1, &val2);
7290 if (!SWIG_IsOK(ecode2)) {
7291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7292 }
7293 arg2 = static_cast< int >(val2);
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 (arg1)->SetBezelFace(arg2);
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = SWIG_Py_Void();
7301 return resultobj;
7302fail:
7303 return NULL;
d55e5bfc 7304}
554f62e9
RD
7305
7306
7307SWIGINTERN PyObject *_wrap_Gauge_GetBezelFace(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7308 PyObject *resultobj = 0;
7309 wxGauge *arg1 = (wxGauge *) 0 ;
7310 int result;
7311 void *argp1 = 0 ;
7312 int res1 = 0 ;
7313 PyObject *swig_obj[1] ;
7314
7315 if (!args) SWIG_fail;
7316 swig_obj[0] = args;
7317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGauge, 0 | 0 );
7318 if (!SWIG_IsOK(res1)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7320 }
7321 arg1 = reinterpret_cast< wxGauge * >(argp1);
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (int)((wxGauge const *)arg1)->GetBezelFace();
7325 wxPyEndAllowThreads(__tstate);
7326 if (PyErr_Occurred()) SWIG_fail;
7327 }
7328 resultobj = SWIG_From_int(static_cast< int >(result));
7329 return resultobj;
7330fail:
7331 return NULL;
7332}
7333
7334
7335SWIGINTERN PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj = 0;
7337 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7338 SwigValueWrapper<wxVisualAttributes > result;
7339 int val1 ;
7340 int ecode1 = 0 ;
7341 PyObject * obj0 = 0 ;
7342 char * kwnames[] = {
7343 (char *) "variant", NULL
7344 };
7345
7346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7347 if (obj0) {
7348 ecode1 = SWIG_AsVal_int(obj0, &val1);
7349 if (!SWIG_IsOK(ecode1)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7351 }
7352 arg1 = static_cast< wxWindowVariant >(val1);
7353 }
7354 {
7355 if (!wxPyCheckForApp()) SWIG_fail;
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = wxGauge::GetClassDefaultAttributes(arg1);
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7362 return resultobj;
7363fail:
7364 return NULL;
d55e5bfc
RD
7365}
7366
7367
554f62e9
RD
7368SWIGINTERN PyObject *Gauge_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7369 PyObject *obj;
7370 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge, SWIG_NewClientData(obj));
7372 return SWIG_Py_Void();
7373}
7374
7375SWIGINTERN PyObject *Gauge_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7376 return SWIG_Python_InitShadowInstance(args);
7377}
7378
7379SWIGINTERN int StaticBitmapNameStr_set(PyObject *) {
7380 SWIG_Error(SWIG_AttributeError,"Variable StaticBitmapNameStr is read-only.");
7381 return 1;
7382}
7383
7384
7385SWIGINTERN PyObject *StaticBitmapNameStr_get(void) {
7386 PyObject *pyobj = 0;
7387
7388 {
d55e5bfc 7389#if wxUSE_UNICODE
554f62e9 7390 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7391#else
554f62e9 7392 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
d55e5bfc 7393#endif
554f62e9
RD
7394 }
7395 return pyobj;
d55e5bfc
RD
7396}
7397
7398
554f62e9
RD
7399SWIGINTERN int StaticBoxNameStr_set(PyObject *) {
7400 SWIG_Error(SWIG_AttributeError,"Variable StaticBoxNameStr is read-only.");
7401 return 1;
d55e5bfc
RD
7402}
7403
7404
554f62e9
RD
7405SWIGINTERN PyObject *StaticBoxNameStr_get(void) {
7406 PyObject *pyobj = 0;
7407
7408 {
7409#if wxUSE_UNICODE
7410 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7411#else
7412 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
7413#endif
7414 }
7415 return pyobj;
7416}
7417
7418
7419SWIGINTERN int StaticTextNameStr_set(PyObject *) {
7420 SWIG_Error(SWIG_AttributeError,"Variable StaticTextNameStr is read-only.");
7421 return 1;
7422}
7423
7424
7425SWIGINTERN PyObject *StaticTextNameStr_get(void) {
7426 PyObject *pyobj = 0;
7427
7428 {
7429#if wxUSE_UNICODE
7430 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7431#else
7432 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
7433#endif
7434 }
7435 return pyobj;
7436}
7437
7438
7439SWIGINTERN PyObject *_wrap_new_StaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj = 0;
7441 wxWindow *arg1 = (wxWindow *) 0 ;
7442 int arg2 = (int) -1 ;
7443 wxString const &arg3_defvalue = wxPyEmptyString ;
7444 wxString *arg3 = (wxString *) &arg3_defvalue ;
7445 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7446 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7447 wxSize const &arg5_defvalue = wxDefaultSize ;
7448 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7449 long arg6 = (long) 0 ;
7450 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
7451 wxString *arg7 = (wxString *) &arg7_defvalue ;
7452 wxStaticBox *result = 0 ;
7453 void *argp1 = 0 ;
7454 int res1 = 0 ;
7455 int val2 ;
7456 int ecode2 = 0 ;
7457 bool temp3 = false ;
7458 wxPoint temp4 ;
7459 wxSize temp5 ;
7460 long val6 ;
7461 int ecode6 = 0 ;
7462 bool temp7 = false ;
7463 PyObject * obj0 = 0 ;
7464 PyObject * obj1 = 0 ;
7465 PyObject * obj2 = 0 ;
7466 PyObject * obj3 = 0 ;
7467 PyObject * obj4 = 0 ;
7468 PyObject * obj5 = 0 ;
7469 PyObject * obj6 = 0 ;
7470 char * kwnames[] = {
7471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7472 };
7473
7474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7476 if (!SWIG_IsOK(res1)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7478 }
7479 arg1 = reinterpret_cast< wxWindow * >(argp1);
7480 if (obj1) {
7481 ecode2 = SWIG_AsVal_int(obj1, &val2);
7482 if (!SWIG_IsOK(ecode2)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7484 }
7485 arg2 = static_cast< int >(val2);
7486 }
7487 if (obj2) {
d55e5bfc 7488 {
554f62e9
RD
7489 arg3 = wxString_in_helper(obj2);
7490 if (arg3 == NULL) SWIG_fail;
7491 temp3 = true;
d55e5bfc 7492 }
554f62e9
RD
7493 }
7494 if (obj3) {
d55e5bfc 7495 {
554f62e9
RD
7496 arg4 = &temp4;
7497 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7498 }
554f62e9
RD
7499 }
7500 if (obj4) {
d55e5bfc 7501 {
554f62e9
RD
7502 arg5 = &temp5;
7503 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7504 }
554f62e9
RD
7505 }
7506 if (obj5) {
7507 ecode6 = SWIG_AsVal_long(obj5, &val6);
7508 if (!SWIG_IsOK(ecode6)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7510 }
7511 arg6 = static_cast< long >(val6);
7512 }
7513 if (obj6) {
d55e5bfc 7514 {
554f62e9
RD
7515 arg7 = wxString_in_helper(obj6);
7516 if (arg7 == NULL) SWIG_fail;
7517 temp7 = true;
d55e5bfc 7518 }
554f62e9
RD
7519 }
7520 {
7521 if (!wxPyCheckForApp()) SWIG_fail;
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_NEW | 0 );
7528 {
7529 if (temp3)
7530 delete arg3;
7531 }
7532 {
7533 if (temp7)
7534 delete arg7;
7535 }
7536 return resultobj;
7537fail:
7538 {
7539 if (temp3)
7540 delete arg3;
7541 }
7542 {
7543 if (temp7)
7544 delete arg7;
7545 }
7546 return NULL;
d55e5bfc
RD
7547}
7548
7549
554f62e9
RD
7550SWIGINTERN PyObject *_wrap_new_PreStaticBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7551 PyObject *resultobj = 0;
7552 wxStaticBox *result = 0 ;
7553
7554 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBox",0,0,0)) SWIG_fail;
7555 {
7556 if (!wxPyCheckForApp()) SWIG_fail;
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 result = (wxStaticBox *)new wxStaticBox();
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBox, SWIG_POINTER_OWN | 0 );
7563 return resultobj;
7564fail:
7565 return NULL;
7566}
7567
7568
7569SWIGINTERN PyObject *_wrap_StaticBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj = 0;
7571 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
7572 wxWindow *arg2 = (wxWindow *) 0 ;
7573 int arg3 = (int) -1 ;
7574 wxString const &arg4_defvalue = wxPyEmptyString ;
7575 wxString *arg4 = (wxString *) &arg4_defvalue ;
7576 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7577 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7578 wxSize const &arg6_defvalue = wxDefaultSize ;
7579 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7580 long arg7 = (long) 0 ;
7581 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
7582 wxString *arg8 = (wxString *) &arg8_defvalue ;
7583 bool result;
7584 void *argp1 = 0 ;
7585 int res1 = 0 ;
7586 void *argp2 = 0 ;
7587 int res2 = 0 ;
7588 int val3 ;
7589 int ecode3 = 0 ;
7590 bool temp4 = false ;
7591 wxPoint temp5 ;
7592 wxSize temp6 ;
7593 long val7 ;
7594 int ecode7 = 0 ;
7595 bool temp8 = false ;
7596 PyObject * obj0 = 0 ;
7597 PyObject * obj1 = 0 ;
7598 PyObject * obj2 = 0 ;
7599 PyObject * obj3 = 0 ;
7600 PyObject * obj4 = 0 ;
7601 PyObject * obj5 = 0 ;
7602 PyObject * obj6 = 0 ;
7603 PyObject * obj7 = 0 ;
7604 char * kwnames[] = {
7605 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7606 };
7607
7608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBox, 0 | 0 );
7610 if (!SWIG_IsOK(res1)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7612 }
7613 arg1 = reinterpret_cast< wxStaticBox * >(argp1);
7614 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7615 if (!SWIG_IsOK(res2)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7617 }
7618 arg2 = reinterpret_cast< wxWindow * >(argp2);
7619 if (obj2) {
7620 ecode3 = SWIG_AsVal_int(obj2, &val3);
7621 if (!SWIG_IsOK(ecode3)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7623 }
7624 arg3 = static_cast< int >(val3);
7625 }
7626 if (obj3) {
093d3ff1 7627 {
554f62e9
RD
7628 arg4 = wxString_in_helper(obj3);
7629 if (arg4 == NULL) SWIG_fail;
7630 temp4 = true;
093d3ff1 7631 }
554f62e9
RD
7632 }
7633 if (obj4) {
d55e5bfc 7634 {
554f62e9
RD
7635 arg5 = &temp5;
7636 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7637 }
554f62e9
RD
7638 }
7639 if (obj5) {
d55e5bfc 7640 {
554f62e9
RD
7641 arg6 = &temp6;
7642 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7643 }
554f62e9
RD
7644 }
7645 if (obj6) {
7646 ecode7 = SWIG_AsVal_long(obj6, &val7);
7647 if (!SWIG_IsOK(ecode7)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7649 }
7650 arg7 = static_cast< long >(val7);
7651 }
7652 if (obj7) {
093d3ff1 7653 {
554f62e9
RD
7654 arg8 = wxString_in_helper(obj7);
7655 if (arg8 == NULL) SWIG_fail;
7656 temp8 = true;
093d3ff1 7657 }
554f62e9
RD
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 {
7666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7667 }
7668 {
7669 if (temp4)
7670 delete arg4;
7671 }
7672 {
7673 if (temp8)
7674 delete arg8;
7675 }
7676 return resultobj;
7677fail:
7678 {
7679 if (temp4)
7680 delete arg4;
7681 }
7682 {
7683 if (temp8)
7684 delete arg8;
7685 }
7686 return NULL;
7687}
d55e5bfc 7688
554f62e9
RD
7689
7690SWIGINTERN PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj = 0;
7692 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7693 SwigValueWrapper<wxVisualAttributes > result;
7694 int val1 ;
7695 int ecode1 = 0 ;
7696 PyObject * obj0 = 0 ;
7697 char * kwnames[] = {
7698 (char *) "variant", NULL
7699 };
7700
7701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7702 if (obj0) {
7703 ecode1 = SWIG_AsVal_int(obj0, &val1);
7704 if (!SWIG_IsOK(ecode1)) {
7705 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7706 }
7707 arg1 = static_cast< wxWindowVariant >(val1);
7708 }
7709 {
7710 if (!wxPyCheckForApp()) SWIG_fail;
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = wxStaticBox::GetClassDefaultAttributes(arg1);
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7717 return resultobj;
7718fail:
7719 return NULL;
7720}
7721
7722
7723SWIGINTERN PyObject *StaticBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7724 PyObject *obj;
7725 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox, SWIG_NewClientData(obj));
7727 return SWIG_Py_Void();
7728}
7729
7730SWIGINTERN PyObject *StaticBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7731 return SWIG_Python_InitShadowInstance(args);
7732}
7733
7734SWIGINTERN PyObject *_wrap_new_StaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj = 0;
7736 wxWindow *arg1 = (wxWindow *) 0 ;
7737 int arg2 = (int) -1 ;
7738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7740 wxSize const &arg4_defvalue = wxDefaultSize ;
7741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7742 long arg5 = (long) wxLI_HORIZONTAL ;
7743 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
7744 wxString *arg6 = (wxString *) &arg6_defvalue ;
7745 wxStaticLine *result = 0 ;
7746 void *argp1 = 0 ;
7747 int res1 = 0 ;
7748 int val2 ;
7749 int ecode2 = 0 ;
7750 wxPoint temp3 ;
7751 wxSize temp4 ;
7752 long val5 ;
7753 int ecode5 = 0 ;
7754 bool temp6 = false ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 PyObject * obj2 = 0 ;
7758 PyObject * obj3 = 0 ;
7759 PyObject * obj4 = 0 ;
7760 PyObject * obj5 = 0 ;
7761 char * kwnames[] = {
7762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7763 };
7764
7765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
7766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7767 if (!SWIG_IsOK(res1)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7769 }
7770 arg1 = reinterpret_cast< wxWindow * >(argp1);
7771 if (obj1) {
7772 ecode2 = SWIG_AsVal_int(obj1, &val2);
7773 if (!SWIG_IsOK(ecode2)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7775 }
7776 arg2 = static_cast< int >(val2);
7777 }
7778 if (obj2) {
093d3ff1 7779 {
554f62e9
RD
7780 arg3 = &temp3;
7781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 7782 }
554f62e9
RD
7783 }
7784 if (obj3) {
d55e5bfc 7785 {
554f62e9
RD
7786 arg4 = &temp4;
7787 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7788 }
554f62e9
RD
7789 }
7790 if (obj4) {
7791 ecode5 = SWIG_AsVal_long(obj4, &val5);
7792 if (!SWIG_IsOK(ecode5)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7794 }
7795 arg5 = static_cast< long >(val5);
7796 }
7797 if (obj5) {
7798 {
7799 arg6 = wxString_in_helper(obj5);
7800 if (arg6 == NULL) SWIG_fail;
7801 temp6 = true;
7802 }
7803 }
7804 {
7805 if (!wxPyCheckForApp()) SWIG_fail;
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_NEW | 0 );
7812 {
7813 if (temp6)
7814 delete arg6;
7815 }
7816 return resultobj;
7817fail:
7818 {
7819 if (temp6)
7820 delete arg6;
7821 }
7822 return NULL;
d55e5bfc
RD
7823}
7824
7825
554f62e9
RD
7826SWIGINTERN PyObject *_wrap_new_PreStaticLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7827 PyObject *resultobj = 0;
7828 wxStaticLine *result = 0 ;
7829
7830 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticLine",0,0,0)) SWIG_fail;
7831 {
7832 if (!wxPyCheckForApp()) SWIG_fail;
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 result = (wxStaticLine *)new wxStaticLine();
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticLine, SWIG_POINTER_OWN | 0 );
7839 return resultobj;
7840fail:
7841 return NULL;
7842}
7843
7844
7845SWIGINTERN PyObject *_wrap_StaticLine_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj = 0;
7847 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7848 wxWindow *arg2 = (wxWindow *) 0 ;
7849 int arg3 = (int) -1 ;
7850 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7851 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7852 wxSize const &arg5_defvalue = wxDefaultSize ;
7853 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7854 long arg6 = (long) wxLI_HORIZONTAL ;
7855 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
7856 wxString *arg7 = (wxString *) &arg7_defvalue ;
7857 bool result;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 void *argp2 = 0 ;
7861 int res2 = 0 ;
7862 int val3 ;
7863 int ecode3 = 0 ;
7864 wxPoint temp4 ;
7865 wxSize temp5 ;
7866 long val6 ;
7867 int ecode6 = 0 ;
7868 bool temp7 = false ;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 PyObject * obj3 = 0 ;
7873 PyObject * obj4 = 0 ;
7874 PyObject * obj5 = 0 ;
7875 PyObject * obj6 = 0 ;
7876 char * kwnames[] = {
7877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7878 };
7879
7880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7882 if (!SWIG_IsOK(res1)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7884 }
7885 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7886 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7887 if (!SWIG_IsOK(res2)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7889 }
7890 arg2 = reinterpret_cast< wxWindow * >(argp2);
7891 if (obj2) {
7892 ecode3 = SWIG_AsVal_int(obj2, &val3);
7893 if (!SWIG_IsOK(ecode3)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7895 }
7896 arg3 = static_cast< int >(val3);
7897 }
7898 if (obj3) {
d55e5bfc 7899 {
554f62e9
RD
7900 arg4 = &temp4;
7901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7902 }
554f62e9
RD
7903 }
7904 if (obj4) {
093d3ff1 7905 {
554f62e9
RD
7906 arg5 = &temp5;
7907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 7908 }
554f62e9
RD
7909 }
7910 if (obj5) {
7911 ecode6 = SWIG_AsVal_long(obj5, &val6);
7912 if (!SWIG_IsOK(ecode6)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7914 }
7915 arg6 = static_cast< long >(val6);
7916 }
7917 if (obj6) {
7918 {
7919 arg7 = wxString_in_helper(obj6);
7920 if (arg7 == NULL) SWIG_fail;
7921 temp7 = true;
7922 }
7923 }
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 {
7931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7932 }
7933 {
7934 if (temp7)
7935 delete arg7;
7936 }
7937 return resultobj;
7938fail:
7939 {
7940 if (temp7)
7941 delete arg7;
7942 }
7943 return NULL;
d55e5bfc
RD
7944}
7945
7946
554f62e9
RD
7947SWIGINTERN PyObject *_wrap_StaticLine_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7948 PyObject *resultobj = 0;
7949 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
7950 bool result;
7951 void *argp1 = 0 ;
7952 int res1 = 0 ;
7953 PyObject *swig_obj[1] ;
7954
7955 if (!args) SWIG_fail;
7956 swig_obj[0] = args;
7957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticLine, 0 | 0 );
7958 if (!SWIG_IsOK(res1)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7960 }
7961 arg1 = reinterpret_cast< wxStaticLine * >(argp1);
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7970 }
7971 return resultobj;
7972fail:
7973 return NULL;
7974}
7975
7976
7977SWIGINTERN PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7978 PyObject *resultobj = 0;
7979 int result;
7980
7981 if (!SWIG_Python_UnpackTuple(args,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail;
7982 {
7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
7984 result = (int)wxStaticLine::GetDefaultSize();
7985 wxPyEndAllowThreads(__tstate);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 resultobj = SWIG_From_int(static_cast< int >(result));
7989 return resultobj;
7990fail:
7991 return NULL;
7992}
7993
7994
7995SWIGINTERN PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7996 PyObject *resultobj = 0;
7997 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7998 SwigValueWrapper<wxVisualAttributes > result;
7999 int val1 ;
8000 int ecode1 = 0 ;
8001 PyObject * obj0 = 0 ;
8002 char * kwnames[] = {
8003 (char *) "variant", NULL
8004 };
8005
8006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8007 if (obj0) {
8008 ecode1 = SWIG_AsVal_int(obj0, &val1);
8009 if (!SWIG_IsOK(ecode1)) {
8010 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8011 }
8012 arg1 = static_cast< wxWindowVariant >(val1);
8013 }
8014 {
8015 if (!wxPyCheckForApp()) SWIG_fail;
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 result = wxStaticLine::GetClassDefaultAttributes(arg1);
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8022 return resultobj;
8023fail:
8024 return NULL;
8025}
8026
8027
8028SWIGINTERN PyObject *StaticLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8029 PyObject *obj;
8030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8031 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine, SWIG_NewClientData(obj));
8032 return SWIG_Py_Void();
8033}
8034
8035SWIGINTERN PyObject *StaticLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8036 return SWIG_Python_InitShadowInstance(args);
8037}
8038
8039SWIGINTERN PyObject *_wrap_new_StaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj = 0;
8041 wxWindow *arg1 = (wxWindow *) 0 ;
8042 int arg2 = (int) -1 ;
8043 wxString const &arg3_defvalue = wxPyEmptyString ;
8044 wxString *arg3 = (wxString *) &arg3_defvalue ;
8045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8047 wxSize const &arg5_defvalue = wxDefaultSize ;
8048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8049 long arg6 = (long) 0 ;
8050 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
8051 wxString *arg7 = (wxString *) &arg7_defvalue ;
8052 wxStaticText *result = 0 ;
8053 void *argp1 = 0 ;
8054 int res1 = 0 ;
8055 int val2 ;
8056 int ecode2 = 0 ;
8057 bool temp3 = false ;
8058 wxPoint temp4 ;
8059 wxSize temp5 ;
8060 long val6 ;
8061 int ecode6 = 0 ;
8062 bool temp7 = false ;
8063 PyObject * obj0 = 0 ;
8064 PyObject * obj1 = 0 ;
8065 PyObject * obj2 = 0 ;
8066 PyObject * obj3 = 0 ;
8067 PyObject * obj4 = 0 ;
8068 PyObject * obj5 = 0 ;
8069 PyObject * obj6 = 0 ;
8070 char * kwnames[] = {
8071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8072 };
8073
8074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8076 if (!SWIG_IsOK(res1)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8078 }
8079 arg1 = reinterpret_cast< wxWindow * >(argp1);
8080 if (obj1) {
8081 ecode2 = SWIG_AsVal_int(obj1, &val2);
8082 if (!SWIG_IsOK(ecode2)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8084 }
8085 arg2 = static_cast< int >(val2);
8086 }
8087 if (obj2) {
d55e5bfc 8088 {
554f62e9
RD
8089 arg3 = wxString_in_helper(obj2);
8090 if (arg3 == NULL) SWIG_fail;
8091 temp3 = true;
d55e5bfc 8092 }
554f62e9
RD
8093 }
8094 if (obj3) {
d55e5bfc 8095 {
554f62e9
RD
8096 arg4 = &temp4;
8097 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8098 }
554f62e9
RD
8099 }
8100 if (obj4) {
093d3ff1 8101 {
554f62e9
RD
8102 arg5 = &temp5;
8103 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 8104 }
554f62e9
RD
8105 }
8106 if (obj5) {
8107 ecode6 = SWIG_AsVal_long(obj5, &val6);
8108 if (!SWIG_IsOK(ecode6)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8110 }
8111 arg6 = static_cast< long >(val6);
8112 }
8113 if (obj6) {
d55e5bfc 8114 {
554f62e9
RD
8115 arg7 = wxString_in_helper(obj6);
8116 if (arg7 == NULL) SWIG_fail;
8117 temp7 = true;
d55e5bfc 8118 }
554f62e9
RD
8119 }
8120 {
8121 if (!wxPyCheckForApp()) SWIG_fail;
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_NEW | 0 );
8128 {
8129 if (temp3)
8130 delete arg3;
8131 }
8132 {
8133 if (temp7)
8134 delete arg7;
8135 }
8136 return resultobj;
8137fail:
8138 {
8139 if (temp3)
8140 delete arg3;
8141 }
8142 {
8143 if (temp7)
8144 delete arg7;
8145 }
8146 return NULL;
d55e5bfc
RD
8147}
8148
8149
554f62e9
RD
8150SWIGINTERN PyObject *_wrap_new_PreStaticText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8151 PyObject *resultobj = 0;
8152 wxStaticText *result = 0 ;
8153
8154 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticText",0,0,0)) SWIG_fail;
8155 {
8156 if (!wxPyCheckForApp()) SWIG_fail;
8157 PyThreadState* __tstate = wxPyBeginAllowThreads();
8158 result = (wxStaticText *)new wxStaticText();
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticText, SWIG_POINTER_OWN | 0 );
8163 return resultobj;
8164fail:
8165 return NULL;
8166}
8167
8168
8169SWIGINTERN PyObject *_wrap_StaticText_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8170 PyObject *resultobj = 0;
8171 wxStaticText *arg1 = (wxStaticText *) 0 ;
8172 wxWindow *arg2 = (wxWindow *) 0 ;
8173 int arg3 = (int) -1 ;
8174 wxString const &arg4_defvalue = wxPyEmptyString ;
8175 wxString *arg4 = (wxString *) &arg4_defvalue ;
8176 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8177 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8178 wxSize const &arg6_defvalue = wxDefaultSize ;
8179 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8180 long arg7 = (long) 0 ;
8181 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
8182 wxString *arg8 = (wxString *) &arg8_defvalue ;
8183 bool result;
8184 void *argp1 = 0 ;
8185 int res1 = 0 ;
8186 void *argp2 = 0 ;
8187 int res2 = 0 ;
8188 int val3 ;
8189 int ecode3 = 0 ;
8190 bool temp4 = false ;
8191 wxPoint temp5 ;
8192 wxSize temp6 ;
8193 long val7 ;
8194 int ecode7 = 0 ;
8195 bool temp8 = false ;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 PyObject * obj2 = 0 ;
8199 PyObject * obj3 = 0 ;
8200 PyObject * obj4 = 0 ;
8201 PyObject * obj5 = 0 ;
8202 PyObject * obj6 = 0 ;
8203 PyObject * obj7 = 0 ;
8204 char * kwnames[] = {
8205 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8206 };
8207
8208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8210 if (!SWIG_IsOK(res1)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8212 }
8213 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8215 if (!SWIG_IsOK(res2)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8217 }
8218 arg2 = reinterpret_cast< wxWindow * >(argp2);
8219 if (obj2) {
8220 ecode3 = SWIG_AsVal_int(obj2, &val3);
8221 if (!SWIG_IsOK(ecode3)) {
8222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8223 }
8224 arg3 = static_cast< int >(val3);
8225 }
8226 if (obj3) {
d55e5bfc 8227 {
554f62e9
RD
8228 arg4 = wxString_in_helper(obj3);
8229 if (arg4 == NULL) SWIG_fail;
8230 temp4 = true;
8231 }
8232 }
8233 if (obj4) {
8234 {
8235 arg5 = &temp5;
8236 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8237 }
554f62e9
RD
8238 }
8239 if (obj5) {
093d3ff1 8240 {
554f62e9
RD
8241 arg6 = &temp6;
8242 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 8243 }
554f62e9
RD
8244 }
8245 if (obj6) {
8246 ecode7 = SWIG_AsVal_long(obj6, &val7);
8247 if (!SWIG_IsOK(ecode7)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8249 }
8250 arg7 = static_cast< long >(val7);
8251 }
8252 if (obj7) {
093d3ff1 8253 {
554f62e9
RD
8254 arg8 = wxString_in_helper(obj7);
8255 if (arg8 == NULL) SWIG_fail;
8256 temp8 = true;
8257 }
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8262 wxPyEndAllowThreads(__tstate);
8263 if (PyErr_Occurred()) SWIG_fail;
8264 }
8265 {
8266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8267 }
8268 {
8269 if (temp4)
8270 delete arg4;
8271 }
8272 {
8273 if (temp8)
8274 delete arg8;
8275 }
8276 return resultobj;
8277fail:
8278 {
8279 if (temp4)
8280 delete arg4;
8281 }
8282 {
8283 if (temp8)
8284 delete arg8;
8285 }
8286 return NULL;
8287}
8288
8289
8290SWIGINTERN PyObject *_wrap_StaticText_Wrap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj = 0;
8292 wxStaticText *arg1 = (wxStaticText *) 0 ;
8293 int arg2 ;
8294 void *argp1 = 0 ;
8295 int res1 = 0 ;
8296 int val2 ;
8297 int ecode2 = 0 ;
8298 PyObject * obj0 = 0 ;
8299 PyObject * obj1 = 0 ;
8300 char * kwnames[] = {
8301 (char *) "self",(char *) "width", NULL
8302 };
8303
8304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticText_Wrap",kwnames,&obj0,&obj1)) SWIG_fail;
8305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticText, 0 | 0 );
8306 if (!SWIG_IsOK(res1)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8308 }
8309 arg1 = reinterpret_cast< wxStaticText * >(argp1);
8310 ecode2 = SWIG_AsVal_int(obj1, &val2);
8311 if (!SWIG_IsOK(ecode2)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8313 }
8314 arg2 = static_cast< int >(val2);
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->Wrap(arg2);
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 resultobj = SWIG_Py_Void();
8322 return resultobj;
8323fail:
8324 return NULL;
8325}
8326
8327
8328SWIGINTERN PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj = 0;
8330 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8331 SwigValueWrapper<wxVisualAttributes > result;
8332 int val1 ;
8333 int ecode1 = 0 ;
8334 PyObject * obj0 = 0 ;
8335 char * kwnames[] = {
8336 (char *) "variant", NULL
8337 };
8338
8339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8340 if (obj0) {
8341 ecode1 = SWIG_AsVal_int(obj0, &val1);
8342 if (!SWIG_IsOK(ecode1)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8344 }
8345 arg1 = static_cast< wxWindowVariant >(val1);
8346 }
8347 {
8348 if (!wxPyCheckForApp()) SWIG_fail;
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = wxStaticText::GetClassDefaultAttributes(arg1);
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8355 return resultobj;
8356fail:
8357 return NULL;
8358}
8359
8360
8361SWIGINTERN PyObject *StaticText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8362 PyObject *obj;
8363 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8364 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText, SWIG_NewClientData(obj));
8365 return SWIG_Py_Void();
8366}
8367
8368SWIGINTERN PyObject *StaticText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8369 return SWIG_Python_InitShadowInstance(args);
8370}
8371
8372SWIGINTERN PyObject *_wrap_new_StaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj = 0;
8374 wxWindow *arg1 = (wxWindow *) 0 ;
8375 int arg2 = (int) -1 ;
8376 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8377 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
8378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8380 wxSize const &arg5_defvalue = wxDefaultSize ;
8381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8382 long arg6 = (long) 0 ;
8383 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
8384 wxString *arg7 = (wxString *) &arg7_defvalue ;
8385 wxStaticBitmap *result = 0 ;
8386 void *argp1 = 0 ;
8387 int res1 = 0 ;
8388 int val2 ;
8389 int ecode2 = 0 ;
8390 void *argp3 = 0 ;
8391 int res3 = 0 ;
8392 wxPoint temp4 ;
8393 wxSize temp5 ;
8394 long val6 ;
8395 int ecode6 = 0 ;
8396 bool temp7 = false ;
8397 PyObject * obj0 = 0 ;
8398 PyObject * obj1 = 0 ;
8399 PyObject * obj2 = 0 ;
8400 PyObject * obj3 = 0 ;
8401 PyObject * obj4 = 0 ;
8402 PyObject * obj5 = 0 ;
8403 PyObject * obj6 = 0 ;
8404 char * kwnames[] = {
8405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8406 };
8407
8408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8410 if (!SWIG_IsOK(res1)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8412 }
8413 arg1 = reinterpret_cast< wxWindow * >(argp1);
8414 if (obj1) {
8415 ecode2 = SWIG_AsVal_int(obj1, &val2);
8416 if (!SWIG_IsOK(ecode2)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8418 }
8419 arg2 = static_cast< int >(val2);
8420 }
8421 if (obj2) {
8422 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
8423 if (!SWIG_IsOK(res3)) {
8424 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8425 }
8426 if (!argp3) {
8427 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
093d3ff1 8428 }
554f62e9
RD
8429 arg3 = reinterpret_cast< wxBitmap * >(argp3);
8430 }
8431 if (obj3) {
d55e5bfc 8432 {
554f62e9
RD
8433 arg4 = &temp4;
8434 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8435 }
554f62e9
RD
8436 }
8437 if (obj4) {
d55e5bfc 8438 {
554f62e9
RD
8439 arg5 = &temp5;
8440 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8441 }
554f62e9
RD
8442 }
8443 if (obj5) {
8444 ecode6 = SWIG_AsVal_long(obj5, &val6);
8445 if (!SWIG_IsOK(ecode6)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8447 }
8448 arg6 = static_cast< long >(val6);
8449 }
8450 if (obj6) {
093d3ff1 8451 {
554f62e9
RD
8452 arg7 = wxString_in_helper(obj6);
8453 if (arg7 == NULL) SWIG_fail;
8454 temp7 = true;
093d3ff1 8455 }
554f62e9
RD
8456 }
8457 {
8458 if (!wxPyCheckForApp()) SWIG_fail;
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_NEW | 0 );
8465 {
8466 if (temp7)
8467 delete arg7;
8468 }
8469 return resultobj;
8470fail:
8471 {
8472 if (temp7)
8473 delete arg7;
8474 }
8475 return NULL;
d55e5bfc
RD
8476}
8477
8478
554f62e9
RD
8479SWIGINTERN PyObject *_wrap_new_PreStaticBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8480 PyObject *resultobj = 0;
8481 wxStaticBitmap *result = 0 ;
8482
8483 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticBitmap",0,0,0)) SWIG_fail;
8484 {
8485 if (!wxPyCheckForApp()) SWIG_fail;
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (wxStaticBitmap *)new wxStaticBitmap();
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticBitmap, SWIG_POINTER_OWN | 0 );
8492 return resultobj;
8493fail:
8494 return NULL;
8495}
8496
8497
8498SWIGINTERN PyObject *_wrap_StaticBitmap_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj = 0;
8500 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8501 wxWindow *arg2 = (wxWindow *) 0 ;
8502 int arg3 = (int) -1 ;
8503 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8504 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
8505 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8506 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8507 wxSize const &arg6_defvalue = wxDefaultSize ;
8508 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8509 long arg7 = (long) 0 ;
8510 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
8511 wxString *arg8 = (wxString *) &arg8_defvalue ;
8512 bool result;
8513 void *argp1 = 0 ;
8514 int res1 = 0 ;
8515 void *argp2 = 0 ;
8516 int res2 = 0 ;
8517 int val3 ;
8518 int ecode3 = 0 ;
8519 void *argp4 = 0 ;
8520 int res4 = 0 ;
8521 wxPoint temp5 ;
8522 wxSize temp6 ;
8523 long val7 ;
8524 int ecode7 = 0 ;
8525 bool temp8 = false ;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 PyObject * obj2 = 0 ;
8529 PyObject * obj3 = 0 ;
8530 PyObject * obj4 = 0 ;
8531 PyObject * obj5 = 0 ;
8532 PyObject * obj6 = 0 ;
8533 PyObject * obj7 = 0 ;
8534 char * kwnames[] = {
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8536 };
8537
8538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8540 if (!SWIG_IsOK(res1)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8542 }
8543 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8544 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8545 if (!SWIG_IsOK(res2)) {
8546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8547 }
8548 arg2 = reinterpret_cast< wxWindow * >(argp2);
8549 if (obj2) {
8550 ecode3 = SWIG_AsVal_int(obj2, &val3);
8551 if (!SWIG_IsOK(ecode3)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8553 }
8554 arg3 = static_cast< int >(val3);
8555 }
8556 if (obj3) {
8557 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
8558 if (!SWIG_IsOK(res4)) {
8559 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8560 }
8561 if (!argp4) {
8562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
f20a2e1f 8563 }
554f62e9
RD
8564 arg4 = reinterpret_cast< wxBitmap * >(argp4);
8565 }
8566 if (obj4) {
f20a2e1f 8567 {
554f62e9
RD
8568 arg5 = &temp5;
8569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 8570 }
554f62e9
RD
8571 }
8572 if (obj5) {
f20a2e1f 8573 {
554f62e9
RD
8574 arg6 = &temp6;
8575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
f20a2e1f 8576 }
554f62e9
RD
8577 }
8578 if (obj6) {
8579 ecode7 = SWIG_AsVal_long(obj6, &val7);
8580 if (!SWIG_IsOK(ecode7)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8582 }
8583 arg7 = static_cast< long >(val7);
8584 }
8585 if (obj7) {
d55e5bfc 8586 {
554f62e9
RD
8587 arg8 = wxString_in_helper(obj7);
8588 if (arg8 == NULL) SWIG_fail;
8589 temp8 = true;
d55e5bfc 8590 }
554f62e9
RD
8591 }
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 {
8599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8600 }
8601 {
8602 if (temp8)
8603 delete arg8;
8604 }
8605 return resultobj;
8606fail:
8607 {
8608 if (temp8)
8609 delete arg8;
8610 }
8611 return NULL;
d55e5bfc
RD
8612}
8613
8614
554f62e9
RD
8615SWIGINTERN PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8616 PyObject *resultobj = 0;
8617 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8618 wxBitmap result;
8619 void *argp1 = 0 ;
8620 int res1 = 0 ;
8621 PyObject *swig_obj[1] ;
8622
8623 if (!args) SWIG_fail;
8624 swig_obj[0] = args;
8625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8626 if (!SWIG_IsOK(res1)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8628 }
8629 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 result = (arg1)->GetBitmap();
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
8637 return resultobj;
8638fail:
8639 return NULL;
8640}
8641
8642
8643SWIGINTERN PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj = 0;
8645 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8646 wxBitmap *arg2 = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 void *argp2 = 0 ;
8650 int res2 = 0 ;
8651 PyObject * obj0 = 0 ;
8652 PyObject * obj1 = 0 ;
8653 char * kwnames[] = {
8654 (char *) "self",(char *) "bitmap", NULL
8655 };
8656
8657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8659 if (!SWIG_IsOK(res1)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8661 }
8662 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8663 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8664 if (!SWIG_IsOK(res2)) {
8665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8666 }
8667 if (!argp2) {
8668 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8669 }
8670 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = SWIG_Py_Void();
8678 return resultobj;
8679fail:
8680 return NULL;
8681}
8682
8683
8684SWIGINTERN PyObject *_wrap_StaticBitmap_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj = 0;
8686 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
8687 wxIcon *arg2 = 0 ;
8688 void *argp1 = 0 ;
8689 int res1 = 0 ;
8690 void *argp2 = 0 ;
8691 int res2 = 0 ;
8692 PyObject * obj0 = 0 ;
8693 PyObject * obj1 = 0 ;
8694 char * kwnames[] = {
8695 (char *) "self",(char *) "icon", NULL
8696 };
8697
8698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
8699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticBitmap, 0 | 0 );
8700 if (!SWIG_IsOK(res1)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8702 }
8703 arg1 = reinterpret_cast< wxStaticBitmap * >(argp1);
8704 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
8705 if (!SWIG_IsOK(res2)) {
8706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8707 }
8708 if (!argp2) {
8709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8710 }
8711 arg2 = reinterpret_cast< wxIcon * >(argp2);
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->SetIcon((wxIcon const &)*arg2);
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = SWIG_Py_Void();
8719 return resultobj;
8720fail:
8721 return NULL;
8722}
8723
8724
8725SWIGINTERN PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = 0;
8727 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8728 SwigValueWrapper<wxVisualAttributes > result;
8729 int val1 ;
8730 int ecode1 = 0 ;
8731 PyObject * obj0 = 0 ;
8732 char * kwnames[] = {
8733 (char *) "variant", NULL
8734 };
8735
8736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8737 if (obj0) {
8738 ecode1 = SWIG_AsVal_int(obj0, &val1);
8739 if (!SWIG_IsOK(ecode1)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8741 }
8742 arg1 = static_cast< wxWindowVariant >(val1);
8743 }
8744 {
8745 if (!wxPyCheckForApp()) SWIG_fail;
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = wxStaticBitmap::GetClassDefaultAttributes(arg1);
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8752 return resultobj;
8753fail:
8754 return NULL;
d55e5bfc
RD
8755}
8756
8757
554f62e9
RD
8758SWIGINTERN PyObject *StaticBitmap_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8759 PyObject *obj;
8760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8761 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap, SWIG_NewClientData(obj));
8762 return SWIG_Py_Void();
d55e5bfc
RD
8763}
8764
554f62e9
RD
8765SWIGINTERN PyObject *StaticBitmap_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8766 return SWIG_Python_InitShadowInstance(args);
8767}
d55e5bfc 8768
554f62e9
RD
8769SWIGINTERN int ListBoxNameStr_set(PyObject *) {
8770 SWIG_Error(SWIG_AttributeError,"Variable ListBoxNameStr is read-only.");
8771 return 1;
d55e5bfc
RD
8772}
8773
8774
554f62e9
RD
8775SWIGINTERN PyObject *ListBoxNameStr_get(void) {
8776 PyObject *pyobj = 0;
8777
8778 {
d55e5bfc 8779#if wxUSE_UNICODE
554f62e9 8780 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8781#else
554f62e9 8782 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
d55e5bfc 8783#endif
554f62e9
RD
8784 }
8785 return pyobj;
8786}
8787
8788
8789SWIGINTERN PyObject *_wrap_new_ListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj = 0;
8791 wxWindow *arg1 = (wxWindow *) 0 ;
8792 int arg2 = (int) -1 ;
8793 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8794 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8795 wxSize const &arg4_defvalue = wxDefaultSize ;
8796 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8797 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
8798 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
8799 long arg6 = (long) 0 ;
8800 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8801 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8802 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
8803 wxString *arg8 = (wxString *) &arg8_defvalue ;
8804 wxListBox *result = 0 ;
8805 void *argp1 = 0 ;
8806 int res1 = 0 ;
8807 int val2 ;
8808 int ecode2 = 0 ;
8809 wxPoint temp3 ;
8810 wxSize temp4 ;
8811 bool temp5 = false ;
8812 long val6 ;
8813 int ecode6 = 0 ;
8814 void *argp7 = 0 ;
8815 int res7 = 0 ;
8816 bool temp8 = false ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 PyObject * obj2 = 0 ;
8820 PyObject * obj3 = 0 ;
8821 PyObject * obj4 = 0 ;
8822 PyObject * obj5 = 0 ;
8823 PyObject * obj6 = 0 ;
8824 PyObject * obj7 = 0 ;
8825 char * kwnames[] = {
8826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8827 };
8828
8829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8831 if (!SWIG_IsOK(res1)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8833 }
8834 arg1 = reinterpret_cast< wxWindow * >(argp1);
8835 if (obj1) {
8836 ecode2 = SWIG_AsVal_int(obj1, &val2);
8837 if (!SWIG_IsOK(ecode2)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8839 }
8840 arg2 = static_cast< int >(val2);
8841 }
8842 if (obj2) {
d55e5bfc 8843 {
554f62e9
RD
8844 arg3 = &temp3;
8845 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 8846 }
554f62e9
RD
8847 }
8848 if (obj3) {
d55e5bfc 8849 {
554f62e9
RD
8850 arg4 = &temp4;
8851 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8852 }
554f62e9
RD
8853 }
8854 if (obj4) {
d55e5bfc 8855 {
554f62e9
RD
8856 if (! PySequence_Check(obj4)) {
8857 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
8858 SWIG_fail;
8859 }
8860 arg5 = new wxArrayString;
8861 temp5 = true;
8862 int i, len=PySequence_Length(obj4);
8863 for (i=0; i<len; i++) {
8864 PyObject* item = PySequence_GetItem(obj4, i);
8865 wxString* s = wxString_in_helper(item);
8866 if (PyErr_Occurred()) SWIG_fail;
8867 arg5->Add(*s);
8868 delete s;
8869 Py_DECREF(item);
8870 }
d55e5bfc 8871 }
554f62e9
RD
8872 }
8873 if (obj5) {
8874 ecode6 = SWIG_AsVal_long(obj5, &val6);
8875 if (!SWIG_IsOK(ecode6)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8877 }
8878 arg6 = static_cast< long >(val6);
8879 }
8880 if (obj6) {
8881 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
8882 if (!SWIG_IsOK(res7)) {
8883 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8884 }
554f62e9
RD
8885 if (!argp7) {
8886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 8887 }
554f62e9
RD
8888 arg7 = reinterpret_cast< wxValidator * >(argp7);
8889 }
8890 if (obj7) {
d55e5bfc 8891 {
554f62e9
RD
8892 arg8 = wxString_in_helper(obj7);
8893 if (arg8 == NULL) SWIG_fail;
8894 temp8 = true;
d55e5bfc 8895 }
554f62e9
RD
8896 }
8897 {
8898 if (!wxPyCheckForApp()) SWIG_fail;
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_NEW | 0 );
8905 {
8906 if (temp5) delete arg5;
8907 }
8908 {
8909 if (temp8)
8910 delete arg8;
8911 }
8912 return resultobj;
8913fail:
8914 {
8915 if (temp5) delete arg5;
8916 }
8917 {
8918 if (temp8)
8919 delete arg8;
8920 }
8921 return NULL;
d55e5bfc
RD
8922}
8923
8924
554f62e9
RD
8925SWIGINTERN PyObject *_wrap_new_PreListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8926 PyObject *resultobj = 0;
8927 wxListBox *result = 0 ;
8928
8929 if (!SWIG_Python_UnpackTuple(args,"new_PreListBox",0,0,0)) SWIG_fail;
8930 {
8931 if (!wxPyCheckForApp()) SWIG_fail;
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (wxListBox *)new wxListBox();
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListBox, SWIG_POINTER_OWN | 0 );
8938 return resultobj;
8939fail:
8940 return NULL;
8941}
8942
8943
8944SWIGINTERN PyObject *_wrap_ListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxListBox *arg1 = (wxListBox *) 0 ;
8947 wxWindow *arg2 = (wxWindow *) 0 ;
8948 int arg3 = (int) -1 ;
8949 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8950 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8951 wxSize const &arg5_defvalue = wxDefaultSize ;
8952 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8953 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
8954 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
8955 long arg7 = (long) 0 ;
8956 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8957 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8958 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
8959 wxString *arg9 = (wxString *) &arg9_defvalue ;
8960 bool result;
8961 void *argp1 = 0 ;
8962 int res1 = 0 ;
8963 void *argp2 = 0 ;
8964 int res2 = 0 ;
8965 int val3 ;
8966 int ecode3 = 0 ;
8967 wxPoint temp4 ;
8968 wxSize temp5 ;
8969 bool temp6 = false ;
8970 long val7 ;
8971 int ecode7 = 0 ;
8972 void *argp8 = 0 ;
8973 int res8 = 0 ;
8974 bool temp9 = false ;
8975 PyObject * obj0 = 0 ;
8976 PyObject * obj1 = 0 ;
8977 PyObject * obj2 = 0 ;
8978 PyObject * obj3 = 0 ;
8979 PyObject * obj4 = 0 ;
8980 PyObject * obj5 = 0 ;
8981 PyObject * obj6 = 0 ;
8982 PyObject * obj7 = 0 ;
8983 PyObject * obj8 = 0 ;
8984 char * kwnames[] = {
8985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8986 };
8987
8988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
8989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
8990 if (!SWIG_IsOK(res1)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8992 }
8993 arg1 = reinterpret_cast< wxListBox * >(argp1);
8994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8995 if (!SWIG_IsOK(res2)) {
8996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8997 }
8998 arg2 = reinterpret_cast< wxWindow * >(argp2);
8999 if (obj2) {
9000 ecode3 = SWIG_AsVal_int(obj2, &val3);
9001 if (!SWIG_IsOK(ecode3)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9003 }
9004 arg3 = static_cast< int >(val3);
9005 }
9006 if (obj3) {
d55e5bfc 9007 {
554f62e9
RD
9008 arg4 = &temp4;
9009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9010 }
554f62e9
RD
9011 }
9012 if (obj4) {
d55e5bfc 9013 {
554f62e9
RD
9014 arg5 = &temp5;
9015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9016 }
554f62e9
RD
9017 }
9018 if (obj5) {
d55e5bfc 9019 {
554f62e9
RD
9020 if (! PySequence_Check(obj5)) {
9021 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9022 SWIG_fail;
9023 }
9024 arg6 = new wxArrayString;
9025 temp6 = true;
9026 int i, len=PySequence_Length(obj5);
9027 for (i=0; i<len; i++) {
9028 PyObject* item = PySequence_GetItem(obj5, i);
9029 wxString* s = wxString_in_helper(item);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 arg6->Add(*s);
9032 delete s;
9033 Py_DECREF(item);
9034 }
d55e5bfc 9035 }
554f62e9
RD
9036 }
9037 if (obj6) {
9038 ecode7 = SWIG_AsVal_long(obj6, &val7);
9039 if (!SWIG_IsOK(ecode7)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9041 }
9042 arg7 = static_cast< long >(val7);
9043 }
9044 if (obj7) {
9045 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
9046 if (!SWIG_IsOK(res8)) {
9047 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 9048 }
554f62e9
RD
9049 if (!argp8) {
9050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
f20a2e1f 9051 }
554f62e9
RD
9052 arg8 = reinterpret_cast< wxValidator * >(argp8);
9053 }
9054 if (obj8) {
f20a2e1f 9055 {
554f62e9
RD
9056 arg9 = wxString_in_helper(obj8);
9057 if (arg9 == NULL) SWIG_fail;
9058 temp9 = true;
f20a2e1f 9059 }
554f62e9
RD
9060 }
9061 {
9062 PyThreadState* __tstate = wxPyBeginAllowThreads();
9063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 {
9068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9069 }
9070 {
9071 if (temp6) delete arg6;
9072 }
9073 {
9074 if (temp9)
9075 delete arg9;
9076 }
9077 return resultobj;
9078fail:
9079 {
9080 if (temp6) delete arg6;
9081 }
9082 {
9083 if (temp9)
9084 delete arg9;
9085 }
9086 return NULL;
9087}
9088
9089
9090SWIGINTERN PyObject *_wrap_ListBox_Insert(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj = 0;
9092 wxListBox *arg1 = (wxListBox *) 0 ;
9093 wxString *arg2 = 0 ;
9094 int arg3 ;
9095 PyObject *arg4 = (PyObject *) NULL ;
9096 void *argp1 = 0 ;
9097 int res1 = 0 ;
9098 bool temp2 = false ;
9099 int val3 ;
9100 int ecode3 = 0 ;
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 PyObject * obj2 = 0 ;
9104 PyObject * obj3 = 0 ;
9105 char * kwnames[] = {
9106 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9107 };
9108
9109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9111 if (!SWIG_IsOK(res1)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9113 }
9114 arg1 = reinterpret_cast< wxListBox * >(argp1);
9115 {
9116 arg2 = wxString_in_helper(obj1);
9117 if (arg2 == NULL) SWIG_fail;
9118 temp2 = true;
9119 }
9120 ecode3 = SWIG_AsVal_int(obj2, &val3);
9121 if (!SWIG_IsOK(ecode3)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9123 }
9124 arg3 = static_cast< int >(val3);
9125 if (obj3) {
9126 arg4 = obj3;
9127 }
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_Py_Void();
9135 {
9136 if (temp2)
9137 delete arg2;
9138 }
9139 return resultobj;
9140fail:
9141 {
9142 if (temp2)
9143 delete arg2;
9144 }
9145 return NULL;
9146}
9147
9148
9149SWIGINTERN PyObject *_wrap_ListBox_InsertItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9150 PyObject *resultobj = 0;
9151 wxListBox *arg1 = (wxListBox *) 0 ;
9152 wxArrayString *arg2 = 0 ;
50f151d7 9153 unsigned int arg3 ;
554f62e9
RD
9154 void *argp1 = 0 ;
9155 int res1 = 0 ;
9156 bool temp2 = false ;
50f151d7 9157 unsigned int val3 ;
554f62e9
RD
9158 int ecode3 = 0 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
9162 char * kwnames[] = {
9163 (char *) "self",(char *) "items",(char *) "pos", NULL
9164 };
9165
9166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9168 if (!SWIG_IsOK(res1)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9170 }
9171 arg1 = reinterpret_cast< wxListBox * >(argp1);
9172 {
9173 if (! PySequence_Check(obj1)) {
9174 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9175 SWIG_fail;
9176 }
9177 arg2 = new wxArrayString;
9178 temp2 = true;
9179 int i, len=PySequence_Length(obj1);
9180 for (i=0; i<len; i++) {
9181 PyObject* item = PySequence_GetItem(obj1, i);
9182 wxString* s = wxString_in_helper(item);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 arg2->Add(*s);
9185 delete s;
9186 Py_DECREF(item);
f20a2e1f 9187 }
554f62e9 9188 }
50f151d7 9189 ecode3 = SWIG_AsVal_unsigned_SS_int(obj2, &val3);
554f62e9 9190 if (!SWIG_IsOK(ecode3)) {
50f151d7 9191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
554f62e9 9192 }
50f151d7 9193 arg3 = static_cast< unsigned int >(val3);
554f62e9
RD
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_Py_Void();
9201 {
9202 if (temp2) delete arg2;
9203 }
9204 return resultobj;
9205fail:
9206 {
9207 if (temp2) delete arg2;
9208 }
9209 return NULL;
f20a2e1f
RD
9210}
9211
9212
554f62e9
RD
9213SWIGINTERN PyObject *_wrap_ListBox_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxListBox *arg1 = (wxListBox *) 0 ;
9216 wxArrayString *arg2 = 0 ;
9217 void *argp1 = 0 ;
9218 int res1 = 0 ;
9219 bool temp2 = false ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "items", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9230 }
9231 arg1 = reinterpret_cast< wxListBox * >(argp1);
9232 {
9233 if (! PySequence_Check(obj1)) {
9234 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
9235 SWIG_fail;
9236 }
9237 arg2 = new wxArrayString;
9238 temp2 = true;
9239 int i, len=PySequence_Length(obj1);
9240 for (i=0; i<len; i++) {
9241 PyObject* item = PySequence_GetItem(obj1, i);
9242 wxString* s = wxString_in_helper(item);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 arg2->Add(*s);
9245 delete s;
9246 Py_DECREF(item);
d55e5bfc 9247 }
554f62e9
RD
9248 }
9249 {
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 (arg1)->Set((wxArrayString const &)*arg2);
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 resultobj = SWIG_Py_Void();
9256 {
9257 if (temp2) delete arg2;
9258 }
9259 return resultobj;
9260fail:
9261 {
9262 if (temp2) delete arg2;
9263 }
9264 return NULL;
9265}
9266
9267
9268SWIGINTERN PyObject *_wrap_ListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj = 0;
9270 wxListBox *arg1 = (wxListBox *) 0 ;
9271 int arg2 ;
9272 bool result;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
9275 int val2 ;
9276 int ecode2 = 0 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 char * kwnames[] = {
9280 (char *) "self",(char *) "n", NULL
9281 };
9282
9283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
9284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9285 if (!SWIG_IsOK(res1)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9287 }
9288 arg1 = reinterpret_cast< wxListBox * >(argp1);
9289 ecode2 = SWIG_AsVal_int(obj1, &val2);
9290 if (!SWIG_IsOK(ecode2)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9292 }
9293 arg2 = static_cast< int >(val2);
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 {
9301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9302 }
9303 return resultobj;
9304fail:
9305 return NULL;
9306}
9307
9308
9309SWIGINTERN PyObject *_wrap_ListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9310 PyObject *resultobj = 0;
9311 wxListBox *arg1 = (wxListBox *) 0 ;
9312 int arg2 ;
9313 bool arg3 = (bool) true ;
9314 void *argp1 = 0 ;
9315 int res1 = 0 ;
9316 int val2 ;
9317 int ecode2 = 0 ;
9318 bool val3 ;
9319 int ecode3 = 0 ;
9320 PyObject * obj0 = 0 ;
9321 PyObject * obj1 = 0 ;
9322 PyObject * obj2 = 0 ;
9323 char * kwnames[] = {
9324 (char *) "self",(char *) "n",(char *) "select", NULL
9325 };
9326
9327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9329 if (!SWIG_IsOK(res1)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9331 }
9332 arg1 = reinterpret_cast< wxListBox * >(argp1);
9333 ecode2 = SWIG_AsVal_int(obj1, &val2);
9334 if (!SWIG_IsOK(ecode2)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9336 }
9337 arg2 = static_cast< int >(val2);
9338 if (obj2) {
9339 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9340 if (!SWIG_IsOK(ecode3)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9342 }
9343 arg3 = static_cast< bool >(val3);
9344 }
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 (arg1)->SetSelection(arg2,arg3);
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 resultobj = SWIG_Py_Void();
9352 return resultobj;
9353fail:
9354 return NULL;
9355}
9356
9357
9358SWIGINTERN PyObject *_wrap_ListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj = 0;
9360 wxListBox *arg1 = (wxListBox *) 0 ;
9361 int arg2 ;
9362 void *argp1 = 0 ;
9363 int res1 = 0 ;
9364 int val2 ;
9365 int ecode2 = 0 ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 char * kwnames[] = {
9369 (char *) "self",(char *) "n", NULL
9370 };
9371
9372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) SWIG_fail;
9373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9374 if (!SWIG_IsOK(res1)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9376 }
9377 arg1 = reinterpret_cast< wxListBox * >(argp1);
9378 ecode2 = SWIG_AsVal_int(obj1, &val2);
9379 if (!SWIG_IsOK(ecode2)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9381 }
9382 arg2 = static_cast< int >(val2);
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 (arg1)->Select(arg2);
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_Py_Void();
9390 return resultobj;
9391fail:
9392 return NULL;
9393}
9394
9395
9396SWIGINTERN PyObject *_wrap_ListBox_Deselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj = 0;
9398 wxListBox *arg1 = (wxListBox *) 0 ;
9399 int arg2 ;
9400 void *argp1 = 0 ;
9401 int res1 = 0 ;
9402 int val2 ;
9403 int ecode2 = 0 ;
9404 PyObject * obj0 = 0 ;
9405 PyObject * obj1 = 0 ;
9406 char * kwnames[] = {
9407 (char *) "self",(char *) "n", NULL
9408 };
9409
9410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) SWIG_fail;
9411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9412 if (!SWIG_IsOK(res1)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9414 }
9415 arg1 = reinterpret_cast< wxListBox * >(argp1);
9416 ecode2 = SWIG_AsVal_int(obj1, &val2);
9417 if (!SWIG_IsOK(ecode2)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9419 }
9420 arg2 = static_cast< int >(val2);
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 (arg1)->Deselect(arg2);
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = SWIG_Py_Void();
9428 return resultobj;
9429fail:
9430 return NULL;
9431}
9432
9433
9434SWIGINTERN PyObject *_wrap_ListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = 0;
9436 wxListBox *arg1 = (wxListBox *) 0 ;
9437 int arg2 = (int) -1 ;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 int val2 ;
9441 int ecode2 = 0 ;
9442 PyObject * obj0 = 0 ;
9443 PyObject * obj1 = 0 ;
9444 char * kwnames[] = {
9445 (char *) "self",(char *) "itemToLeaveSelected", NULL
9446 };
9447
9448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9450 if (!SWIG_IsOK(res1)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9452 }
9453 arg1 = reinterpret_cast< wxListBox * >(argp1);
9454 if (obj1) {
9455 ecode2 = SWIG_AsVal_int(obj1, &val2);
9456 if (!SWIG_IsOK(ecode2)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9458 }
9459 arg2 = static_cast< int >(val2);
9460 }
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 (arg1)->DeselectAll(arg2);
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 resultobj = SWIG_Py_Void();
9468 return resultobj;
9469fail:
9470 return NULL;
9471}
9472
9473
9474SWIGINTERN PyObject *_wrap_ListBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9475 PyObject *resultobj = 0;
9476 wxListBox *arg1 = (wxListBox *) 0 ;
9477 wxString *arg2 = 0 ;
9478 bool arg3 = (bool) true ;
9479 bool result;
9480 void *argp1 = 0 ;
9481 int res1 = 0 ;
9482 bool temp2 = false ;
9483 bool val3 ;
9484 int ecode3 = 0 ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 PyObject * obj2 = 0 ;
9488 char * kwnames[] = {
9489 (char *) "self",(char *) "s",(char *) "select", NULL
9490 };
9491
9492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9494 if (!SWIG_IsOK(res1)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9496 }
9497 arg1 = reinterpret_cast< wxListBox * >(argp1);
9498 {
9499 arg2 = wxString_in_helper(obj1);
9500 if (arg2 == NULL) SWIG_fail;
9501 temp2 = true;
9502 }
9503 if (obj2) {
9504 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9505 if (!SWIG_IsOK(ecode3)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9507 }
9508 arg3 = static_cast< bool >(val3);
9509 }
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 {
9517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9518 }
9519 {
9520 if (temp2)
9521 delete arg2;
9522 }
9523 return resultobj;
9524fail:
9525 {
9526 if (temp2)
9527 delete arg2;
9528 }
9529 return NULL;
d55e5bfc
RD
9530}
9531
9532
554f62e9
RD
9533SWIGINTERN PyObject *_wrap_ListBox_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9534 PyObject *resultobj = 0;
9535 wxListBox *arg1 = (wxListBox *) 0 ;
9536 PyObject *result = 0 ;
9537 void *argp1 = 0 ;
9538 int res1 = 0 ;
9539 PyObject *swig_obj[1] ;
9540
9541 if (!args) SWIG_fail;
9542 swig_obj[0] = args;
9543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9546 }
9547 arg1 = reinterpret_cast< wxListBox * >(argp1);
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 result = (PyObject *)wxListBox_GetSelections(arg1);
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = result;
9555 return resultobj;
9556fail:
9557 return NULL;
9558}
9559
9560
9561SWIGINTERN PyObject *_wrap_ListBox_SetFirstItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj = 0;
9563 wxListBox *arg1 = (wxListBox *) 0 ;
9564 int arg2 ;
9565 void *argp1 = 0 ;
9566 int res1 = 0 ;
9567 int val2 ;
9568 int ecode2 = 0 ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 char * kwnames[] = {
9572 (char *) "self",(char *) "n", NULL
9573 };
9574
9575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) SWIG_fail;
9576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9577 if (!SWIG_IsOK(res1)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9579 }
9580 arg1 = reinterpret_cast< wxListBox * >(argp1);
9581 ecode2 = SWIG_AsVal_int(obj1, &val2);
9582 if (!SWIG_IsOK(ecode2)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9584 }
9585 arg2 = static_cast< int >(val2);
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SetFirstItem(arg2);
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 resultobj = SWIG_Py_Void();
9593 return resultobj;
9594fail:
9595 return NULL;
9596}
9597
9598
9599SWIGINTERN PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj = 0;
9601 wxListBox *arg1 = (wxListBox *) 0 ;
9602 wxString *arg2 = 0 ;
9603 void *argp1 = 0 ;
9604 int res1 = 0 ;
9605 bool temp2 = false ;
9606 PyObject * obj0 = 0 ;
9607 PyObject * obj1 = 0 ;
9608 char * kwnames[] = {
9609 (char *) "self",(char *) "s", NULL
9610 };
9611
9612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) SWIG_fail;
9613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9614 if (!SWIG_IsOK(res1)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9616 }
9617 arg1 = reinterpret_cast< wxListBox * >(argp1);
9618 {
9619 arg2 = wxString_in_helper(obj1);
9620 if (arg2 == NULL) SWIG_fail;
9621 temp2 = true;
9622 }
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 (arg1)->SetFirstItem((wxString const &)*arg2);
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 resultobj = SWIG_Py_Void();
9630 {
9631 if (temp2)
9632 delete arg2;
9633 }
9634 return resultobj;
9635fail:
9636 {
9637 if (temp2)
9638 delete arg2;
9639 }
9640 return NULL;
9641}
9642
9643
9644SWIGINTERN PyObject *_wrap_ListBox_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9645 PyObject *resultobj = 0;
9646 wxListBox *arg1 = (wxListBox *) 0 ;
9647 int arg2 ;
9648 void *argp1 = 0 ;
9649 int res1 = 0 ;
9650 int val2 ;
9651 int ecode2 = 0 ;
9652 PyObject * obj0 = 0 ;
9653 PyObject * obj1 = 0 ;
9654 char * kwnames[] = {
9655 (char *) "self",(char *) "n", NULL
9656 };
9657
9658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9660 if (!SWIG_IsOK(res1)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9662 }
9663 arg1 = reinterpret_cast< wxListBox * >(argp1);
9664 ecode2 = SWIG_AsVal_int(obj1, &val2);
9665 if (!SWIG_IsOK(ecode2)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9667 }
9668 arg2 = static_cast< int >(val2);
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 (arg1)->EnsureVisible(arg2);
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 resultobj = SWIG_Py_Void();
9676 return resultobj;
9677fail:
9678 return NULL;
9679}
9680
9681
9682SWIGINTERN PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj = 0;
9684 wxListBox *arg1 = (wxListBox *) 0 ;
9685 wxString *arg2 = 0 ;
9686 void *argp1 = 0 ;
9687 int res1 = 0 ;
9688 bool temp2 = false ;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 char * kwnames[] = {
9692 (char *) "self",(char *) "s", NULL
9693 };
9694
9695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9697 if (!SWIG_IsOK(res1)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9699 }
9700 arg1 = reinterpret_cast< wxListBox * >(argp1);
9701 {
9702 arg2 = wxString_in_helper(obj1);
9703 if (arg2 == NULL) SWIG_fail;
9704 temp2 = true;
9705 }
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = SWIG_Py_Void();
9713 {
9714 if (temp2)
9715 delete arg2;
9716 }
9717 return resultobj;
9718fail:
9719 {
9720 if (temp2)
9721 delete arg2;
9722 }
9723 return NULL;
d55e5bfc
RD
9724}
9725
9726
554f62e9
RD
9727SWIGINTERN PyObject *_wrap_ListBox_IsSorted(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9728 PyObject *resultobj = 0;
9729 wxListBox *arg1 = (wxListBox *) 0 ;
9730 bool result;
9731 void *argp1 = 0 ;
9732 int res1 = 0 ;
9733 PyObject *swig_obj[1] ;
9734
9735 if (!args) SWIG_fail;
9736 swig_obj[0] = args;
9737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9738 if (!SWIG_IsOK(res1)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9740 }
9741 arg1 = reinterpret_cast< wxListBox * >(argp1);
9742 {
9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
9744 result = (bool)((wxListBox const *)arg1)->IsSorted();
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9750 }
9751 return resultobj;
9752fail:
9753 return NULL;
9754}
9755
9756
9757SWIGINTERN PyObject *_wrap_ListBox_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj = 0;
9759 wxListBox *arg1 = (wxListBox *) 0 ;
9760 wxPoint *arg2 = 0 ;
9761 int result;
9762 void *argp1 = 0 ;
9763 int res1 = 0 ;
9764 wxPoint temp2 ;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char * kwnames[] = {
9768 (char *) "self",(char *) "pt", NULL
9769 };
9770
9771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9773 if (!SWIG_IsOK(res1)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9775 }
9776 arg1 = reinterpret_cast< wxListBox * >(argp1);
9777 {
9778 arg2 = &temp2;
9779 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9780 }
9781 {
9782 PyThreadState* __tstate = wxPyBeginAllowThreads();
9783 result = (int)((wxListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
9784 wxPyEndAllowThreads(__tstate);
9785 if (PyErr_Occurred()) SWIG_fail;
9786 }
9787 resultobj = SWIG_From_int(static_cast< int >(result));
9788 return resultobj;
9789fail:
9790 return NULL;
9791}
9792
9793
9794SWIGINTERN PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9795 PyObject *resultobj = 0;
9796 wxListBox *arg1 = (wxListBox *) 0 ;
9797 int arg2 ;
9798 wxColour *arg3 = 0 ;
9799 void *argp1 = 0 ;
9800 int res1 = 0 ;
9801 int val2 ;
9802 int ecode2 = 0 ;
9803 wxColour temp3 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9806 PyObject * obj2 = 0 ;
9807 char * kwnames[] = {
9808 (char *) "self",(char *) "item",(char *) "c", NULL
9809 };
9810
9811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9813 if (!SWIG_IsOK(res1)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9815 }
9816 arg1 = reinterpret_cast< wxListBox * >(argp1);
9817 ecode2 = SWIG_AsVal_int(obj1, &val2);
9818 if (!SWIG_IsOK(ecode2)) {
9819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9820 }
9821 arg2 = static_cast< int >(val2);
9822 {
9823 arg3 = &temp3;
9824 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9825 }
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_Py_Void();
9833 return resultobj;
9834fail:
9835 return NULL;
9836}
9837
9838
9839SWIGINTERN PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj = 0;
9841 wxListBox *arg1 = (wxListBox *) 0 ;
9842 int arg2 ;
9843 wxColour *arg3 = 0 ;
9844 void *argp1 = 0 ;
9845 int res1 = 0 ;
9846 int val2 ;
9847 int ecode2 = 0 ;
9848 wxColour temp3 ;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 PyObject * obj2 = 0 ;
9852 char * kwnames[] = {
9853 (char *) "self",(char *) "item",(char *) "c", NULL
9854 };
9855
9856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9858 if (!SWIG_IsOK(res1)) {
9859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9860 }
9861 arg1 = reinterpret_cast< wxListBox * >(argp1);
9862 ecode2 = SWIG_AsVal_int(obj1, &val2);
9863 if (!SWIG_IsOK(ecode2)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9865 }
9866 arg2 = static_cast< int >(val2);
9867 {
9868 arg3 = &temp3;
9869 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9870 }
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_Py_Void();
9878 return resultobj;
9879fail:
9880 return NULL;
9881}
9882
9883
9884SWIGINTERN PyObject *_wrap_ListBox_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj = 0;
9886 wxListBox *arg1 = (wxListBox *) 0 ;
9887 int arg2 ;
9888 wxFont *arg3 = 0 ;
9889 void *argp1 = 0 ;
9890 int res1 = 0 ;
9891 int val2 ;
9892 int ecode2 = 0 ;
9893 void *argp3 = 0 ;
9894 int res3 = 0 ;
9895 PyObject * obj0 = 0 ;
9896 PyObject * obj1 = 0 ;
9897 PyObject * obj2 = 0 ;
9898 char * kwnames[] = {
9899 (char *) "self",(char *) "item",(char *) "f", NULL
9900 };
9901
9902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListBox, 0 | 0 );
9904 if (!SWIG_IsOK(res1)) {
9905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9906 }
9907 arg1 = reinterpret_cast< wxListBox * >(argp1);
9908 ecode2 = SWIG_AsVal_int(obj1, &val2);
9909 if (!SWIG_IsOK(ecode2)) {
9910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9911 }
9912 arg2 = static_cast< int >(val2);
9913 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
9914 if (!SWIG_IsOK(res3)) {
9915 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9916 }
9917 if (!argp3) {
9918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9919 }
9920 arg3 = reinterpret_cast< wxFont * >(argp3);
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_Py_Void();
9928 return resultobj;
9929fail:
9930 return NULL;
9931}
9932
9933
9934SWIGINTERN PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj = 0;
9936 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9937 SwigValueWrapper<wxVisualAttributes > result;
9938 int val1 ;
9939 int ecode1 = 0 ;
9940 PyObject * obj0 = 0 ;
9941 char * kwnames[] = {
9942 (char *) "variant", NULL
9943 };
9944
9945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9946 if (obj0) {
9947 ecode1 = SWIG_AsVal_int(obj0, &val1);
9948 if (!SWIG_IsOK(ecode1)) {
9949 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9950 }
9951 arg1 = static_cast< wxWindowVariant >(val1);
9952 }
9953 {
9954 if (!wxPyCheckForApp()) SWIG_fail;
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = wxListBox::GetClassDefaultAttributes(arg1);
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9961 return resultobj;
9962fail:
9963 return NULL;
9964}
9965
9966
9967SWIGINTERN PyObject *ListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9968 PyObject *obj;
9969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9970 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox, SWIG_NewClientData(obj));
9971 return SWIG_Py_Void();
9972}
9973
9974SWIGINTERN PyObject *ListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9975 return SWIG_Python_InitShadowInstance(args);
9976}
9977
9978SWIGINTERN PyObject *_wrap_new_CheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj = 0;
9980 wxWindow *arg1 = (wxWindow *) 0 ;
9981 int arg2 = (int) -1 ;
9982 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9983 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9984 wxSize const &arg4_defvalue = wxDefaultSize ;
9985 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9986 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
9987 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
9988 long arg6 = (long) 0 ;
9989 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9990 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9991 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
9992 wxString *arg8 = (wxString *) &arg8_defvalue ;
9993 wxCheckListBox *result = 0 ;
9994 void *argp1 = 0 ;
9995 int res1 = 0 ;
9996 int val2 ;
9997 int ecode2 = 0 ;
9998 wxPoint temp3 ;
9999 wxSize temp4 ;
10000 bool temp5 = false ;
10001 long val6 ;
10002 int ecode6 = 0 ;
10003 void *argp7 = 0 ;
10004 int res7 = 0 ;
10005 bool temp8 = false ;
10006 PyObject * obj0 = 0 ;
10007 PyObject * obj1 = 0 ;
10008 PyObject * obj2 = 0 ;
10009 PyObject * obj3 = 0 ;
10010 PyObject * obj4 = 0 ;
10011 PyObject * obj5 = 0 ;
10012 PyObject * obj6 = 0 ;
10013 PyObject * obj7 = 0 ;
10014 char * kwnames[] = {
10015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10016 };
10017
10018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10020 if (!SWIG_IsOK(res1)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10022 }
10023 arg1 = reinterpret_cast< wxWindow * >(argp1);
10024 if (obj1) {
10025 ecode2 = SWIG_AsVal_int(obj1, &val2);
10026 if (!SWIG_IsOK(ecode2)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10028 }
10029 arg2 = static_cast< int >(val2);
10030 }
10031 if (obj2) {
d55e5bfc 10032 {
554f62e9
RD
10033 arg3 = &temp3;
10034 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10035 }
554f62e9
RD
10036 }
10037 if (obj3) {
d55e5bfc 10038 {
554f62e9
RD
10039 arg4 = &temp4;
10040 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10041 }
554f62e9
RD
10042 }
10043 if (obj4) {
d55e5bfc 10044 {
554f62e9
RD
10045 if (! PySequence_Check(obj4)) {
10046 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10047 SWIG_fail;
10048 }
10049 arg5 = new wxArrayString;
10050 temp5 = true;
10051 int i, len=PySequence_Length(obj4);
10052 for (i=0; i<len; i++) {
10053 PyObject* item = PySequence_GetItem(obj4, i);
10054 wxString* s = wxString_in_helper(item);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 arg5->Add(*s);
10057 delete s;
10058 Py_DECREF(item);
10059 }
d55e5bfc 10060 }
554f62e9
RD
10061 }
10062 if (obj5) {
10063 ecode6 = SWIG_AsVal_long(obj5, &val6);
10064 if (!SWIG_IsOK(ecode6)) {
10065 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10066 }
10067 arg6 = static_cast< long >(val6);
10068 }
10069 if (obj6) {
10070 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
10071 if (!SWIG_IsOK(res7)) {
10072 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10073 }
554f62e9
RD
10074 if (!argp7) {
10075 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 10076 }
554f62e9
RD
10077 arg7 = reinterpret_cast< wxValidator * >(argp7);
10078 }
10079 if (obj7) {
093d3ff1 10080 {
554f62e9
RD
10081 arg8 = wxString_in_helper(obj7);
10082 if (arg8 == NULL) SWIG_fail;
10083 temp8 = true;
093d3ff1 10084 }
554f62e9
RD
10085 }
10086 {
10087 if (!wxPyCheckForApp()) SWIG_fail;
10088 PyThreadState* __tstate = wxPyBeginAllowThreads();
10089 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
10093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_NEW | 0 );
10094 {
10095 if (temp5) delete arg5;
10096 }
10097 {
10098 if (temp8)
10099 delete arg8;
10100 }
10101 return resultobj;
10102fail:
10103 {
10104 if (temp5) delete arg5;
10105 }
10106 {
10107 if (temp8)
10108 delete arg8;
10109 }
10110 return NULL;
d55e5bfc
RD
10111}
10112
10113
554f62e9
RD
10114SWIGINTERN PyObject *_wrap_new_PreCheckListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10115 PyObject *resultobj = 0;
10116 wxCheckListBox *result = 0 ;
10117
10118 if (!SWIG_Python_UnpackTuple(args,"new_PreCheckListBox",0,0,0)) SWIG_fail;
10119 {
10120 if (!wxPyCheckForApp()) SWIG_fail;
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (wxCheckListBox *)new wxCheckListBox();
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCheckListBox, SWIG_POINTER_OWN | 0 );
10127 return resultobj;
10128fail:
10129 return NULL;
10130}
10131
10132
10133SWIGINTERN PyObject *_wrap_CheckListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10134 PyObject *resultobj = 0;
10135 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10136 wxWindow *arg2 = (wxWindow *) 0 ;
10137 int arg3 = (int) -1 ;
10138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10140 wxSize const &arg5_defvalue = wxDefaultSize ;
10141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10142 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10143 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10144 long arg7 = (long) 0 ;
10145 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10146 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10147 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
10148 wxString *arg9 = (wxString *) &arg9_defvalue ;
10149 bool result;
10150 void *argp1 = 0 ;
10151 int res1 = 0 ;
10152 void *argp2 = 0 ;
10153 int res2 = 0 ;
10154 int val3 ;
10155 int ecode3 = 0 ;
10156 wxPoint temp4 ;
10157 wxSize temp5 ;
10158 bool temp6 = false ;
10159 long val7 ;
10160 int ecode7 = 0 ;
10161 void *argp8 = 0 ;
10162 int res8 = 0 ;
10163 bool temp9 = false ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj1 = 0 ;
10166 PyObject * obj2 = 0 ;
10167 PyObject * obj3 = 0 ;
10168 PyObject * obj4 = 0 ;
10169 PyObject * obj5 = 0 ;
10170 PyObject * obj6 = 0 ;
10171 PyObject * obj7 = 0 ;
10172 PyObject * obj8 = 0 ;
10173 char * kwnames[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10175 };
10176
10177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
10178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10179 if (!SWIG_IsOK(res1)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10181 }
10182 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10184 if (!SWIG_IsOK(res2)) {
10185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10186 }
10187 arg2 = reinterpret_cast< wxWindow * >(argp2);
10188 if (obj2) {
10189 ecode3 = SWIG_AsVal_int(obj2, &val3);
10190 if (!SWIG_IsOK(ecode3)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10192 }
10193 arg3 = static_cast< int >(val3);
10194 }
10195 if (obj3) {
f20a2e1f 10196 {
554f62e9
RD
10197 arg4 = &temp4;
10198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10199 }
554f62e9
RD
10200 }
10201 if (obj4) {
d55e5bfc 10202 {
554f62e9
RD
10203 arg5 = &temp5;
10204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10205 }
554f62e9
RD
10206 }
10207 if (obj5) {
d55e5bfc 10208 {
554f62e9
RD
10209 if (! PySequence_Check(obj5)) {
10210 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10211 SWIG_fail;
10212 }
10213 arg6 = new wxArrayString;
10214 temp6 = true;
10215 int i, len=PySequence_Length(obj5);
10216 for (i=0; i<len; i++) {
10217 PyObject* item = PySequence_GetItem(obj5, i);
10218 wxString* s = wxString_in_helper(item);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 arg6->Add(*s);
10221 delete s;
10222 Py_DECREF(item);
10223 }
d55e5bfc 10224 }
554f62e9
RD
10225 }
10226 if (obj6) {
10227 ecode7 = SWIG_AsVal_long(obj6, &val7);
10228 if (!SWIG_IsOK(ecode7)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10230 }
10231 arg7 = static_cast< long >(val7);
10232 }
10233 if (obj7) {
10234 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
10235 if (!SWIG_IsOK(res8)) {
10236 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10237 }
554f62e9
RD
10238 if (!argp8) {
10239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 10240 }
554f62e9
RD
10241 arg8 = reinterpret_cast< wxValidator * >(argp8);
10242 }
10243 if (obj8) {
d55e5bfc 10244 {
554f62e9
RD
10245 arg9 = wxString_in_helper(obj8);
10246 if (arg9 == NULL) SWIG_fail;
10247 temp9 = true;
d55e5bfc 10248 }
554f62e9
RD
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 {
10257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10258 }
10259 {
10260 if (temp6) delete arg6;
10261 }
10262 {
10263 if (temp9)
10264 delete arg9;
10265 }
10266 return resultobj;
10267fail:
10268 {
10269 if (temp6) delete arg6;
10270 }
10271 {
10272 if (temp9)
10273 delete arg9;
10274 }
10275 return NULL;
10276}
10277
10278
10279SWIGINTERN PyObject *_wrap_CheckListBox_IsChecked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj = 0;
10281 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10282 unsigned int arg2 ;
554f62e9
RD
10283 bool result;
10284 void *argp1 = 0 ;
10285 int res1 = 0 ;
50f151d7 10286 unsigned int val2 ;
554f62e9
RD
10287 int ecode2 = 0 ;
10288 PyObject * obj0 = 0 ;
10289 PyObject * obj1 = 0 ;
10290 char * kwnames[] = {
10291 (char *) "self",(char *) "index", NULL
10292 };
10293
10294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) SWIG_fail;
10295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10296 if (!SWIG_IsOK(res1)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10298 }
10299 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10300 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10301 if (!SWIG_IsOK(ecode2)) {
50f151d7 10302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10303 }
50f151d7 10304 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (bool)(arg1)->IsChecked(arg2);
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 {
10312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10313 }
10314 return resultobj;
10315fail:
10316 return NULL;
10317}
10318
10319
10320SWIGINTERN PyObject *_wrap_CheckListBox_Check(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj = 0;
10322 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
50f151d7 10323 unsigned int arg2 ;
554f62e9
RD
10324 int arg3 = (int) true ;
10325 void *argp1 = 0 ;
10326 int res1 = 0 ;
50f151d7 10327 unsigned int val2 ;
554f62e9
RD
10328 int ecode2 = 0 ;
10329 int val3 ;
10330 int ecode3 = 0 ;
10331 PyObject * obj0 = 0 ;
10332 PyObject * obj1 = 0 ;
10333 PyObject * obj2 = 0 ;
10334 char * kwnames[] = {
10335 (char *) "self",(char *) "index",(char *) "check", NULL
10336 };
10337
10338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10340 if (!SWIG_IsOK(res1)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10342 }
10343 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
50f151d7 10344 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 10345 if (!SWIG_IsOK(ecode2)) {
50f151d7 10346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 10347 }
50f151d7 10348 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
10349 if (obj2) {
10350 ecode3 = SWIG_AsVal_int(obj2, &val3);
10351 if (!SWIG_IsOK(ecode3)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10353 }
10354 arg3 = static_cast< int >(val3);
10355 }
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->Check(arg2,arg3);
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 resultobj = SWIG_Py_Void();
10363 return resultobj;
10364fail:
10365 return NULL;
d55e5bfc
RD
10366}
10367
10368
554f62e9
RD
10369SWIGINTERN PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10370 PyObject *resultobj = 0;
10371 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
10372 int result;
10373 void *argp1 = 0 ;
10374 int res1 = 0 ;
10375 PyObject *swig_obj[1] ;
10376
10377 if (!args) SWIG_fail;
10378 swig_obj[0] = args;
10379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCheckListBox, 0 | 0 );
10380 if (!SWIG_IsOK(res1)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10382 }
10383 arg1 = reinterpret_cast< wxCheckListBox * >(argp1);
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 result = (int)(arg1)->GetItemHeight();
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
10390 resultobj = SWIG_From_int(static_cast< int >(result));
10391 return resultobj;
10392fail:
10393 return NULL;
d55e5bfc
RD
10394}
10395
10396
554f62e9
RD
10397SWIGINTERN PyObject *CheckListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10398 PyObject *obj;
10399 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10400 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox, SWIG_NewClientData(obj));
10401 return SWIG_Py_Void();
d55e5bfc
RD
10402}
10403
554f62e9
RD
10404SWIGINTERN PyObject *CheckListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10405 return SWIG_Python_InitShadowInstance(args);
9d7dfdff
RD
10406}
10407
554f62e9
RD
10408SWIGINTERN int TextCtrlNameStr_set(PyObject *) {
10409 SWIG_Error(SWIG_AttributeError,"Variable TextCtrlNameStr is read-only.");
10410 return 1;
f20a2e1f
RD
10411}
10412
10413
554f62e9
RD
10414SWIGINTERN PyObject *TextCtrlNameStr_get(void) {
10415 PyObject *pyobj = 0;
10416
10417 {
10418#if wxUSE_UNICODE
10419 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10420#else
10421 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
10422#endif
10423 }
10424 return pyobj;
10425}
10426
10427
10428SWIGINTERN PyObject *_wrap_new_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10429 PyObject *resultobj = 0;
10430 wxColour const &arg1_defvalue = wxNullColour ;
10431 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
10432 wxColour const &arg2_defvalue = wxNullColour ;
10433 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
10434 wxFont const &arg3_defvalue = wxNullFont ;
10435 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
10436 wxTextAttrAlignment arg4 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
10437 wxTextAttr *result = 0 ;
10438 wxColour temp1 ;
10439 wxColour temp2 ;
10440 void *argp3 = 0 ;
10441 int res3 = 0 ;
10442 int val4 ;
10443 int ecode4 = 0 ;
10444 PyObject * obj0 = 0 ;
10445 PyObject * obj1 = 0 ;
10446 PyObject * obj2 = 0 ;
10447 PyObject * obj3 = 0 ;
10448 char * kwnames[] = {
10449 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10450 };
10451
10452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TextAttr",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10453 if (obj0) {
d55e5bfc 10454 {
554f62e9
RD
10455 arg1 = &temp1;
10456 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 10457 }
554f62e9
RD
10458 }
10459 if (obj1) {
d55e5bfc 10460 {
554f62e9
RD
10461 arg2 = &temp2;
10462 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 10463 }
554f62e9
RD
10464 }
10465 if (obj2) {
10466 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
10467 if (!SWIG_IsOK(res3)) {
10468 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
d55e5bfc 10469 }
554f62e9
RD
10470 if (!argp3) {
10471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10472 }
10473 arg3 = reinterpret_cast< wxFont * >(argp3);
10474 }
10475 if (obj3) {
10476 ecode4 = SWIG_AsVal_int(obj3, &val4);
10477 if (!SWIG_IsOK(ecode4)) {
10478 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10479 }
10480 arg4 = static_cast< wxTextAttrAlignment >(val4);
10481 }
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,arg4);
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_NEW | 0 );
10489 return resultobj;
10490fail:
10491 return NULL;
d55e5bfc
RD
10492}
10493
10494
554f62e9
RD
10495SWIGINTERN PyObject *_wrap_delete_TextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10496 PyObject *resultobj = 0;
10497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10498 void *argp1 = 0 ;
10499 int res1 = 0 ;
10500 PyObject *swig_obj[1] ;
10501
10502 if (!args) SWIG_fail;
10503 swig_obj[0] = args;
10504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, SWIG_POINTER_DISOWN | 0 );
10505 if (!SWIG_IsOK(res1)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10507 }
10508 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 delete arg1;
d55e5bfc 10512
554f62e9
RD
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = SWIG_Py_Void();
10517 return resultobj;
10518fail:
10519 return NULL;
d55e5bfc
RD
10520}
10521
10522
554f62e9
RD
10523SWIGINTERN PyObject *_wrap_TextAttr_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10524 PyObject *resultobj = 0;
10525 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10526 void *argp1 = 0 ;
10527 int res1 = 0 ;
10528 PyObject *swig_obj[1] ;
10529
10530 if (!args) SWIG_fail;
10531 swig_obj[0] = args;
10532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10533 if (!SWIG_IsOK(res1)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10535 }
10536 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->Init();
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_Py_Void();
10544 return resultobj;
10545fail:
10546 return NULL;
10547}
10548
10549
f460c29d
RD
10550SWIGINTERN PyObject *_wrap_TextAttr_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj = 0;
10552 wxTextAttr *arg1 = 0 ;
10553 wxTextAttr *arg2 = 0 ;
10554 wxTextAttr result;
10555 void *argp1 = 0 ;
10556 int res1 = 0 ;
10557 void *argp2 = 0 ;
10558 int res2 = 0 ;
10559 PyObject * obj0 = 0 ;
10560 PyObject * obj1 = 0 ;
10561 char * kwnames[] = {
10562 (char *) "base",(char *) "overlay", NULL
10563 };
10564
10565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
10566 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
10567 if (!SWIG_IsOK(res1)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10569 }
10570 if (!argp1) {
10571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10572 }
10573 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
10575 if (!SWIG_IsOK(res2)) {
10576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10577 }
10578 if (!argp2) {
10579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10580 }
10581 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = wxTextAttr::Merge((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2);
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
10589 return resultobj;
10590fail:
10591 return NULL;
10592}
10593
10594
554f62e9
RD
10595SWIGINTERN PyObject *_wrap_TextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj = 0;
10597 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10598 wxColour *arg2 = 0 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 wxColour temp2 ;
10602 PyObject * obj0 = 0 ;
10603 PyObject * obj1 = 0 ;
10604 char * kwnames[] = {
10605 (char *) "self",(char *) "colText", NULL
10606 };
10607
10608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
10609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10610 if (!SWIG_IsOK(res1)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10612 }
10613 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10614 {
10615 arg2 = &temp2;
10616 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10617 }
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 (arg1)->SetTextColour((wxColour const &)*arg2);
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_Py_Void();
10625 return resultobj;
10626fail:
10627 return NULL;
10628}
10629
10630
10631SWIGINTERN PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj = 0;
10633 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10634 wxColour *arg2 = 0 ;
10635 void *argp1 = 0 ;
10636 int res1 = 0 ;
10637 wxColour temp2 ;
10638 PyObject * obj0 = 0 ;
10639 PyObject * obj1 = 0 ;
10640 char * kwnames[] = {
10641 (char *) "self",(char *) "colBack", NULL
10642 };
10643
10644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
10645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10648 }
10649 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10650 {
10651 arg2 = &temp2;
10652 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_Py_Void();
10661 return resultobj;
10662fail:
10663 return NULL;
10664}
10665
10666
10667SWIGINTERN PyObject *_wrap_TextAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj = 0;
10669 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10670 wxFont *arg2 = 0 ;
10671 long arg3 = (long) wxTEXT_ATTR_FONT ;
10672 void *argp1 = 0 ;
10673 int res1 = 0 ;
10674 void *argp2 = 0 ;
10675 int res2 = 0 ;
10676 long val3 ;
10677 int ecode3 = 0 ;
10678 PyObject * obj0 = 0 ;
10679 PyObject * obj1 = 0 ;
10680 PyObject * obj2 = 0 ;
10681 char * kwnames[] = {
10682 (char *) "self",(char *) "font",(char *) "flags", NULL
10683 };
10684
10685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10687 if (!SWIG_IsOK(res1)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10689 }
10690 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
10692 if (!SWIG_IsOK(res2)) {
10693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10694 }
10695 if (!argp2) {
10696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10697 }
10698 arg2 = reinterpret_cast< wxFont * >(argp2);
10699 if (obj2) {
10700 ecode3 = SWIG_AsVal_long(obj2, &val3);
10701 if (!SWIG_IsOK(ecode3)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10703 }
10704 arg3 = static_cast< long >(val3);
10705 }
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 (arg1)->SetFont((wxFont const &)*arg2,arg3);
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 resultobj = SWIG_Py_Void();
10713 return resultobj;
10714fail:
10715 return NULL;
10716}
10717
10718
10719SWIGINTERN PyObject *_wrap_TextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj = 0;
10721 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10722 wxTextAttrAlignment arg2 ;
10723 void *argp1 = 0 ;
10724 int res1 = 0 ;
10725 int val2 ;
10726 int ecode2 = 0 ;
10727 PyObject * obj0 = 0 ;
10728 PyObject * obj1 = 0 ;
10729 char * kwnames[] = {
10730 (char *) "self",(char *) "alignment", NULL
10731 };
10732
10733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10735 if (!SWIG_IsOK(res1)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10737 }
10738 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10739 ecode2 = SWIG_AsVal_int(obj1, &val2);
10740 if (!SWIG_IsOK(ecode2)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10742 }
10743 arg2 = static_cast< wxTextAttrAlignment >(val2);
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->SetAlignment(arg2);
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 resultobj = SWIG_Py_Void();
10751 return resultobj;
10752fail:
10753 return NULL;
10754}
10755
10756
10757SWIGINTERN PyObject *_wrap_TextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj = 0;
10759 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10760 wxArrayInt *arg2 = 0 ;
10761 void *argp1 = 0 ;
10762 int res1 = 0 ;
10763 bool temp2 = false ;
10764 PyObject * obj0 = 0 ;
10765 PyObject * obj1 = 0 ;
10766 char * kwnames[] = {
10767 (char *) "self",(char *) "tabs", NULL
10768 };
10769
10770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
10771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10772 if (!SWIG_IsOK(res1)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10774 }
10775 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10776 {
10777 if (! PySequence_Check(obj1)) {
10778 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10779 SWIG_fail;
10780 }
10781 arg2 = new wxArrayInt;
10782 temp2 = true;
10783 int i, len=PySequence_Length(obj1);
10784 for (i=0; i<len; i++) {
10785 PyObject* item = PySequence_GetItem(obj1, i);
10786 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
10787 if (!number) {
10788 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10789 SWIG_fail;
10790 }
554f62e9
RD
10791 arg2->Add(PyInt_AS_LONG(number));
10792 Py_DECREF(item);
10793 Py_DECREF(number);
d55e5bfc 10794 }
554f62e9
RD
10795 }
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 (arg1)->SetTabs((wxArrayInt const &)*arg2);
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_Py_Void();
10803 {
10804 if (temp2) delete arg2;
10805 }
10806 return resultobj;
10807fail:
10808 {
10809 if (temp2) delete arg2;
10810 }
10811 return NULL;
10812}
10813
10814
10815SWIGINTERN PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10816 PyObject *resultobj = 0;
10817 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10818 int arg2 ;
10819 int arg3 = (int) 0 ;
10820 void *argp1 = 0 ;
10821 int res1 = 0 ;
10822 int val2 ;
10823 int ecode2 = 0 ;
10824 int val3 ;
10825 int ecode3 = 0 ;
10826 PyObject * obj0 = 0 ;
10827 PyObject * obj1 = 0 ;
10828 PyObject * obj2 = 0 ;
10829 char * kwnames[] = {
10830 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10831 };
10832
10833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10835 if (!SWIG_IsOK(res1)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10837 }
10838 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10839 ecode2 = SWIG_AsVal_int(obj1, &val2);
10840 if (!SWIG_IsOK(ecode2)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10842 }
10843 arg2 = static_cast< int >(val2);
10844 if (obj2) {
10845 ecode3 = SWIG_AsVal_int(obj2, &val3);
10846 if (!SWIG_IsOK(ecode3)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10848 }
10849 arg3 = static_cast< int >(val3);
10850 }
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 (arg1)->SetLeftIndent(arg2,arg3);
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_Py_Void();
10858 return resultobj;
10859fail:
10860 return NULL;
10861}
10862
10863
10864SWIGINTERN PyObject *_wrap_TextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj = 0;
10866 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10867 int arg2 ;
10868 void *argp1 = 0 ;
10869 int res1 = 0 ;
10870 int val2 ;
10871 int ecode2 = 0 ;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 char * kwnames[] = {
10875 (char *) "self",(char *) "indent", NULL
10876 };
10877
10878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
10879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10880 if (!SWIG_IsOK(res1)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10882 }
10883 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10884 ecode2 = SWIG_AsVal_int(obj1, &val2);
10885 if (!SWIG_IsOK(ecode2)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10887 }
10888 arg2 = static_cast< int >(val2);
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 (arg1)->SetRightIndent(arg2);
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 resultobj = SWIG_Py_Void();
10896 return resultobj;
10897fail:
10898 return NULL;
10899}
10900
10901
10902SWIGINTERN PyObject *_wrap_TextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj = 0;
10904 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10905 long arg2 ;
10906 void *argp1 = 0 ;
10907 int res1 = 0 ;
10908 long val2 ;
10909 int ecode2 = 0 ;
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 char * kwnames[] = {
10913 (char *) "self",(char *) "flags", NULL
10914 };
10915
10916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
10917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10918 if (!SWIG_IsOK(res1)) {
10919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10920 }
10921 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10922 ecode2 = SWIG_AsVal_long(obj1, &val2);
10923 if (!SWIG_IsOK(ecode2)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10925 }
10926 arg2 = static_cast< long >(val2);
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
10929 (arg1)->SetFlags(arg2);
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = SWIG_Py_Void();
10934 return resultobj;
10935fail:
10936 return NULL;
d55e5bfc
RD
10937}
10938
10939
554f62e9
RD
10940SWIGINTERN PyObject *_wrap_TextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10941 PyObject *resultobj = 0;
10942 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10943 bool result;
10944 void *argp1 = 0 ;
10945 int res1 = 0 ;
10946 PyObject *swig_obj[1] ;
10947
10948 if (!args) SWIG_fail;
10949 swig_obj[0] = args;
10950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10951 if (!SWIG_IsOK(res1)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10953 }
10954 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
10961 {
10962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10963 }
10964 return resultobj;
10965fail:
10966 return NULL;
d55e5bfc
RD
10967}
10968
10969
554f62e9
RD
10970SWIGINTERN PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10971 PyObject *resultobj = 0;
10972 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
10973 bool result;
10974 void *argp1 = 0 ;
10975 int res1 = 0 ;
10976 PyObject *swig_obj[1] ;
10977
10978 if (!args) SWIG_fail;
10979 swig_obj[0] = args;
10980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
10981 if (!SWIG_IsOK(res1)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10983 }
10984 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 {
10992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10993 }
10994 return resultobj;
10995fail:
10996 return NULL;
d55e5bfc
RD
10997}
10998
10999
554f62e9
RD
11000SWIGINTERN PyObject *_wrap_TextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11001 PyObject *resultobj = 0;
11002 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11003 bool result;
11004 void *argp1 = 0 ;
11005 int res1 = 0 ;
11006 PyObject *swig_obj[1] ;
11007
11008 if (!args) SWIG_fail;
11009 swig_obj[0] = args;
11010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11011 if (!SWIG_IsOK(res1)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11013 }
11014 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 result = (bool)((wxTextAttr const *)arg1)->HasFont();
11018 wxPyEndAllowThreads(__tstate);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 }
11021 {
11022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11023 }
11024 return resultobj;
11025fail:
11026 return NULL;
d55e5bfc
RD
11027}
11028
11029
554f62e9
RD
11030SWIGINTERN PyObject *_wrap_TextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11031 PyObject *resultobj = 0;
11032 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11033 bool result;
11034 void *argp1 = 0 ;
11035 int res1 = 0 ;
11036 PyObject *swig_obj[1] ;
11037
11038 if (!args) SWIG_fail;
11039 swig_obj[0] = args;
11040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11041 if (!SWIG_IsOK(res1)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11043 }
11044 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 {
11052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11053 }
11054 return resultobj;
11055fail:
11056 return NULL;
f20a2e1f
RD
11057}
11058
11059
554f62e9
RD
11060SWIGINTERN PyObject *_wrap_TextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11061 PyObject *resultobj = 0;
11062 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11063 bool result;
11064 void *argp1 = 0 ;
11065 int res1 = 0 ;
11066 PyObject *swig_obj[1] ;
11067
11068 if (!args) SWIG_fail;
11069 swig_obj[0] = args;
11070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11071 if (!SWIG_IsOK(res1)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11073 }
11074 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 {
11082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11083 }
11084 return resultobj;
11085fail:
11086 return NULL;
d55e5bfc
RD
11087}
11088
11089
554f62e9
RD
11090SWIGINTERN PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11091 PyObject *resultobj = 0;
11092 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11093 bool result;
11094 void *argp1 = 0 ;
11095 int res1 = 0 ;
11096 PyObject *swig_obj[1] ;
11097
11098 if (!args) SWIG_fail;
11099 swig_obj[0] = args;
11100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11101 if (!SWIG_IsOK(res1)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11103 }
11104 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 {
11112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11113 }
11114 return resultobj;
11115fail:
11116 return NULL;
d55e5bfc
RD
11117}
11118
11119
554f62e9
RD
11120SWIGINTERN PyObject *_wrap_TextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11121 PyObject *resultobj = 0;
11122 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11123 bool result;
11124 void *argp1 = 0 ;
11125 int res1 = 0 ;
11126 PyObject *swig_obj[1] ;
11127
11128 if (!args) SWIG_fail;
11129 swig_obj[0] = args;
11130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11131 if (!SWIG_IsOK(res1)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11133 }
11134 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11135 {
11136 PyThreadState* __tstate = wxPyBeginAllowThreads();
11137 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 {
11142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11143 }
11144 return resultobj;
11145fail:
11146 return NULL;
11147}
11148
11149
11150SWIGINTERN PyObject *_wrap_TextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11151 PyObject *resultobj = 0;
11152 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11153 long arg2 ;
11154 bool result;
11155 void *argp1 = 0 ;
11156 int res1 = 0 ;
11157 long val2 ;
11158 int ecode2 = 0 ;
11159 PyObject * obj0 = 0 ;
11160 PyObject * obj1 = 0 ;
11161 char * kwnames[] = {
11162 (char *) "self",(char *) "flag", NULL
11163 };
11164
11165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
11166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11167 if (!SWIG_IsOK(res1)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11169 }
11170 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11171 ecode2 = SWIG_AsVal_long(obj1, &val2);
11172 if (!SWIG_IsOK(ecode2)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11174 }
11175 arg2 = static_cast< long >(val2);
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
11179 wxPyEndAllowThreads(__tstate);
11180 if (PyErr_Occurred()) SWIG_fail;
11181 }
11182 {
11183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11184 }
11185 return resultobj;
11186fail:
11187 return NULL;
d55e5bfc
RD
11188}
11189
11190
554f62e9
RD
11191SWIGINTERN PyObject *_wrap_TextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11192 PyObject *resultobj = 0;
11193 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11194 wxColour *result = 0 ;
11195 void *argp1 = 0 ;
11196 int res1 = 0 ;
11197 PyObject *swig_obj[1] ;
11198
11199 if (!args) SWIG_fail;
11200 swig_obj[0] = args;
11201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11202 if (!SWIG_IsOK(res1)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11204 }
11205 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11208 {
554f62e9
RD
11209 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
11210 result = (wxColour *) &_result_ref;
d55e5bfc 11211 }
554f62e9
RD
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11216 return resultobj;
11217fail:
11218 return NULL;
d55e5bfc
RD
11219}
11220
11221
554f62e9
RD
11222SWIGINTERN PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11223 PyObject *resultobj = 0;
11224 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11225 wxColour *result = 0 ;
11226 void *argp1 = 0 ;
11227 int res1 = 0 ;
11228 PyObject *swig_obj[1] ;
11229
11230 if (!args) SWIG_fail;
11231 swig_obj[0] = args;
11232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11233 if (!SWIG_IsOK(res1)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11235 }
11236 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11239 {
554f62e9
RD
11240 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
11241 result = (wxColour *) &_result_ref;
d55e5bfc 11242 }
554f62e9
RD
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
11247 return resultobj;
11248fail:
11249 return NULL;
d55e5bfc
RD
11250}
11251
11252
554f62e9
RD
11253SWIGINTERN PyObject *_wrap_TextAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11254 PyObject *resultobj = 0;
11255 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11256 wxFont *result = 0 ;
11257 void *argp1 = 0 ;
11258 int res1 = 0 ;
11259 PyObject *swig_obj[1] ;
11260
11261 if (!args) SWIG_fail;
11262 swig_obj[0] = args;
11263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11264 if (!SWIG_IsOK(res1)) {
11265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11266 }
11267 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11270 {
554f62e9
RD
11271 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
11272 result = (wxFont *) &_result_ref;
d55e5bfc 11273 }
554f62e9
RD
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 {
11278 wxFont* resultptr = new wxFont(*result);
11279 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
11280 }
11281 return resultobj;
11282fail:
11283 return NULL;
d55e5bfc
RD
11284}
11285
11286
554f62e9
RD
11287SWIGINTERN PyObject *_wrap_TextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11288 PyObject *resultobj = 0;
11289 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11290 wxTextAttrAlignment result;
11291 void *argp1 = 0 ;
11292 int res1 = 0 ;
11293 PyObject *swig_obj[1] ;
11294
11295 if (!args) SWIG_fail;
11296 swig_obj[0] = args;
11297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11298 if (!SWIG_IsOK(res1)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11300 }
11301 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (wxTextAttrAlignment)((wxTextAttr const *)arg1)->GetAlignment();
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 }
11308 resultobj = SWIG_From_int(static_cast< int >(result));
11309 return resultobj;
11310fail:
11311 return NULL;
d55e5bfc
RD
11312}
11313
11314
554f62e9
RD
11315SWIGINTERN PyObject *_wrap_TextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11316 PyObject *resultobj = 0;
11317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11318 wxArrayInt *result = 0 ;
11319 void *argp1 = 0 ;
11320 int res1 = 0 ;
11321 PyObject *swig_obj[1] ;
11322
11323 if (!args) SWIG_fail;
11324 swig_obj[0] = args;
11325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11326 if (!SWIG_IsOK(res1)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11328 }
11329 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11330 {
11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 11332 {
554f62e9
RD
11333 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
11334 result = (wxArrayInt *) &_result_ref;
d55e5bfc 11335 }
554f62e9
RD
11336 wxPyEndAllowThreads(__tstate);
11337 if (PyErr_Occurred()) SWIG_fail;
11338 }
11339 {
b39fe951 11340 resultobj = wxArrayInt2PyList_helper(*result);
554f62e9
RD
11341 }
11342 return resultobj;
11343fail:
11344 return NULL;
d55e5bfc
RD
11345}
11346
11347
554f62e9
RD
11348SWIGINTERN PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11349 PyObject *resultobj = 0;
11350 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11351 long result;
11352 void *argp1 = 0 ;
11353 int res1 = 0 ;
11354 PyObject *swig_obj[1] ;
11355
11356 if (!args) SWIG_fail;
11357 swig_obj[0] = args;
11358 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11359 if (!SWIG_IsOK(res1)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11361 }
11362 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 resultobj = SWIG_From_long(static_cast< long >(result));
11370 return resultobj;
11371fail:
11372 return NULL;
d55e5bfc
RD
11373}
11374
11375
554f62e9
RD
11376SWIGINTERN PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11377 PyObject *resultobj = 0;
11378 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11379 long result;
11380 void *argp1 = 0 ;
11381 int res1 = 0 ;
11382 PyObject *swig_obj[1] ;
11383
11384 if (!args) SWIG_fail;
11385 swig_obj[0] = args;
11386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11387 if (!SWIG_IsOK(res1)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11389 }
11390 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 resultobj = SWIG_From_long(static_cast< long >(result));
11398 return resultobj;
11399fail:
11400 return NULL;
d55e5bfc
RD
11401}
11402
11403
554f62e9
RD
11404SWIGINTERN PyObject *_wrap_TextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11405 PyObject *resultobj = 0;
11406 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11407 long result;
11408 void *argp1 = 0 ;
11409 int res1 = 0 ;
11410 PyObject *swig_obj[1] ;
11411
11412 if (!args) SWIG_fail;
11413 swig_obj[0] = args;
11414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11415 if (!SWIG_IsOK(res1)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11417 }
11418 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
11422 wxPyEndAllowThreads(__tstate);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 resultobj = SWIG_From_long(static_cast< long >(result));
11426 return resultobj;
11427fail:
11428 return NULL;
d55e5bfc
RD
11429}
11430
11431
554f62e9
RD
11432SWIGINTERN PyObject *_wrap_TextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11433 PyObject *resultobj = 0;
11434 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11435 long result;
11436 void *argp1 = 0 ;
11437 int res1 = 0 ;
11438 PyObject *swig_obj[1] ;
11439
11440 if (!args) SWIG_fail;
11441 swig_obj[0] = args;
11442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11443 if (!SWIG_IsOK(res1)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11445 }
11446 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (long)((wxTextAttr const *)arg1)->GetFlags();
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SWIG_From_long(static_cast< long >(result));
11454 return resultobj;
11455fail:
11456 return NULL;
d55e5bfc
RD
11457}
11458
11459
554f62e9
RD
11460SWIGINTERN PyObject *_wrap_TextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11461 PyObject *resultobj = 0;
11462 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
11463 bool result;
11464 void *argp1 = 0 ;
11465 int res1 = 0 ;
11466 PyObject *swig_obj[1] ;
11467
11468 if (!args) SWIG_fail;
11469 swig_obj[0] = args;
11470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttr, 0 | 0 );
11471 if (!SWIG_IsOK(res1)) {
11472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11473 }
11474 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11475 {
11476 PyThreadState* __tstate = wxPyBeginAllowThreads();
11477 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 {
11482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11483 }
11484 return resultobj;
11485fail:
11486 return NULL;
11487}
11488
11489
11490SWIGINTERN PyObject *_wrap_TextAttr_Combine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj = 0;
11492 wxTextAttr *arg1 = 0 ;
11493 wxTextAttr *arg2 = 0 ;
11494 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
11495 wxTextAttr result;
11496 void *argp1 = 0 ;
11497 int res1 = 0 ;
11498 void *argp2 = 0 ;
11499 int res2 = 0 ;
11500 void *argp3 = 0 ;
11501 int res3 = 0 ;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504 PyObject * obj2 = 0 ;
11505 char * kwnames[] = {
11506 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11507 };
11508
11509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11510 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttr, 0 | 0);
11511 if (!SWIG_IsOK(res1)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11513 }
11514 if (!argp1) {
11515 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11516 }
11517 arg1 = reinterpret_cast< wxTextAttr * >(argp1);
11518 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
11519 if (!SWIG_IsOK(res2)) {
11520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11521 }
11522 if (!argp2) {
11523 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11524 }
11525 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
11526 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11527 if (!SWIG_IsOK(res3)) {
11528 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11529 }
11530 arg3 = reinterpret_cast< wxTextCtrl * >(argp3);
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr& >(result))), SWIGTYPE_p_wxTextAttr, SWIG_POINTER_OWN | 0 );
11538 return resultobj;
11539fail:
11540 return NULL;
11541}
11542
11543
11544SWIGINTERN PyObject *TextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11545 PyObject *obj;
11546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11547 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr, SWIG_NewClientData(obj));
11548 return SWIG_Py_Void();
11549}
11550
11551SWIGINTERN PyObject *TextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11552 return SWIG_Python_InitShadowInstance(args);
11553}
11554
11555SWIGINTERN PyObject *_wrap_new_TextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj = 0;
11557 wxWindow *arg1 = (wxWindow *) 0 ;
11558 int arg2 = (int) -1 ;
11559 wxString const &arg3_defvalue = wxPyEmptyString ;
11560 wxString *arg3 = (wxString *) &arg3_defvalue ;
11561 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11562 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11563 wxSize const &arg5_defvalue = wxDefaultSize ;
11564 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11565 long arg6 = (long) 0 ;
11566 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11567 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11568 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
11569 wxString *arg8 = (wxString *) &arg8_defvalue ;
11570 wxTextCtrl *result = 0 ;
11571 void *argp1 = 0 ;
11572 int res1 = 0 ;
11573 int val2 ;
11574 int ecode2 = 0 ;
11575 bool temp3 = false ;
11576 wxPoint temp4 ;
11577 wxSize temp5 ;
11578 long val6 ;
11579 int ecode6 = 0 ;
11580 void *argp7 = 0 ;
11581 int res7 = 0 ;
11582 bool temp8 = false ;
11583 PyObject * obj0 = 0 ;
11584 PyObject * obj1 = 0 ;
11585 PyObject * obj2 = 0 ;
11586 PyObject * obj3 = 0 ;
11587 PyObject * obj4 = 0 ;
11588 PyObject * obj5 = 0 ;
11589 PyObject * obj6 = 0 ;
11590 PyObject * obj7 = 0 ;
11591 char * kwnames[] = {
11592 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11593 };
11594
11595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
11596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11597 if (!SWIG_IsOK(res1)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11599 }
11600 arg1 = reinterpret_cast< wxWindow * >(argp1);
11601 if (obj1) {
11602 ecode2 = SWIG_AsVal_int(obj1, &val2);
11603 if (!SWIG_IsOK(ecode2)) {
11604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11605 }
11606 arg2 = static_cast< int >(val2);
11607 }
11608 if (obj2) {
d55e5bfc 11609 {
554f62e9
RD
11610 arg3 = wxString_in_helper(obj2);
11611 if (arg3 == NULL) SWIG_fail;
11612 temp3 = true;
d55e5bfc 11613 }
554f62e9
RD
11614 }
11615 if (obj3) {
d55e5bfc 11616 {
554f62e9
RD
11617 arg4 = &temp4;
11618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11619 }
554f62e9
RD
11620 }
11621 if (obj4) {
d55e5bfc 11622 {
554f62e9
RD
11623 arg5 = &temp5;
11624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11625 }
554f62e9
RD
11626 }
11627 if (obj5) {
11628 ecode6 = SWIG_AsVal_long(obj5, &val6);
11629 if (!SWIG_IsOK(ecode6)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11631 }
11632 arg6 = static_cast< long >(val6);
11633 }
11634 if (obj6) {
11635 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
11636 if (!SWIG_IsOK(res7)) {
11637 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 11638 }
554f62e9
RD
11639 if (!argp7) {
11640 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 11641 }
554f62e9
RD
11642 arg7 = reinterpret_cast< wxValidator * >(argp7);
11643 }
11644 if (obj7) {
d55e5bfc 11645 {
554f62e9
RD
11646 arg8 = wxString_in_helper(obj7);
11647 if (arg8 == NULL) SWIG_fail;
11648 temp8 = true;
d55e5bfc 11649 }
554f62e9
RD
11650 }
11651 {
11652 if (!wxPyCheckForApp()) SWIG_fail;
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_NEW | 0 );
11659 {
11660 if (temp3)
11661 delete arg3;
11662 }
11663 {
11664 if (temp8)
11665 delete arg8;
11666 }
11667 return resultobj;
11668fail:
11669 {
11670 if (temp3)
11671 delete arg3;
11672 }
11673 {
11674 if (temp8)
11675 delete arg8;
11676 }
11677 return NULL;
d55e5bfc
RD
11678}
11679
11680
554f62e9
RD
11681SWIGINTERN PyObject *_wrap_new_PreTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11682 PyObject *resultobj = 0;
11683 wxTextCtrl *result = 0 ;
11684
11685 if (!SWIG_Python_UnpackTuple(args,"new_PreTextCtrl",0,0,0)) SWIG_fail;
11686 {
11687 if (!wxPyCheckForApp()) SWIG_fail;
11688 PyThreadState* __tstate = wxPyBeginAllowThreads();
11689 result = (wxTextCtrl *)new wxTextCtrl();
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextCtrl, SWIG_POINTER_OWN | 0 );
11694 return resultobj;
11695fail:
11696 return NULL;
11697}
11698
11699
11700SWIGINTERN PyObject *_wrap_TextCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11701 PyObject *resultobj = 0;
11702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11703 wxWindow *arg2 = (wxWindow *) 0 ;
11704 int arg3 = (int) -1 ;
11705 wxString const &arg4_defvalue = wxPyEmptyString ;
11706 wxString *arg4 = (wxString *) &arg4_defvalue ;
11707 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11708 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11709 wxSize const &arg6_defvalue = wxDefaultSize ;
11710 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11711 long arg7 = (long) 0 ;
11712 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11713 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11714 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
11715 wxString *arg9 = (wxString *) &arg9_defvalue ;
11716 bool result;
11717 void *argp1 = 0 ;
11718 int res1 = 0 ;
11719 void *argp2 = 0 ;
11720 int res2 = 0 ;
11721 int val3 ;
11722 int ecode3 = 0 ;
11723 bool temp4 = false ;
11724 wxPoint temp5 ;
11725 wxSize temp6 ;
11726 long val7 ;
11727 int ecode7 = 0 ;
11728 void *argp8 = 0 ;
11729 int res8 = 0 ;
11730 bool temp9 = false ;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 PyObject * obj2 = 0 ;
11734 PyObject * obj3 = 0 ;
11735 PyObject * obj4 = 0 ;
11736 PyObject * obj5 = 0 ;
11737 PyObject * obj6 = 0 ;
11738 PyObject * obj7 = 0 ;
11739 PyObject * obj8 = 0 ;
11740 char * kwnames[] = {
11741 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11742 };
11743
11744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
11745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11746 if (!SWIG_IsOK(res1)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11748 }
11749 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11750 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11751 if (!SWIG_IsOK(res2)) {
11752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11753 }
11754 arg2 = reinterpret_cast< wxWindow * >(argp2);
11755 if (obj2) {
11756 ecode3 = SWIG_AsVal_int(obj2, &val3);
11757 if (!SWIG_IsOK(ecode3)) {
11758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11759 }
11760 arg3 = static_cast< int >(val3);
11761 }
11762 if (obj3) {
d55e5bfc 11763 {
554f62e9
RD
11764 arg4 = wxString_in_helper(obj3);
11765 if (arg4 == NULL) SWIG_fail;
11766 temp4 = true;
d55e5bfc 11767 }
554f62e9
RD
11768 }
11769 if (obj4) {
d55e5bfc 11770 {
554f62e9
RD
11771 arg5 = &temp5;
11772 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 11773 }
554f62e9
RD
11774 }
11775 if (obj5) {
d55e5bfc 11776 {
554f62e9
RD
11777 arg6 = &temp6;
11778 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 11779 }
554f62e9
RD
11780 }
11781 if (obj6) {
11782 ecode7 = SWIG_AsVal_long(obj6, &val7);
11783 if (!SWIG_IsOK(ecode7)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11785 }
11786 arg7 = static_cast< long >(val7);
11787 }
11788 if (obj7) {
11789 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
11790 if (!SWIG_IsOK(res8)) {
11791 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 11792 }
554f62e9
RD
11793 if (!argp8) {
11794 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 11795 }
554f62e9
RD
11796 arg8 = reinterpret_cast< wxValidator * >(argp8);
11797 }
11798 if (obj8) {
d55e5bfc 11799 {
554f62e9
RD
11800 arg9 = wxString_in_helper(obj8);
11801 if (arg9 == NULL) SWIG_fail;
11802 temp9 = true;
d55e5bfc 11803 }
554f62e9
RD
11804 }
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 {
11812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11813 }
11814 {
11815 if (temp4)
11816 delete arg4;
11817 }
11818 {
11819 if (temp9)
11820 delete arg9;
11821 }
11822 return resultobj;
11823fail:
11824 {
11825 if (temp4)
11826 delete arg4;
11827 }
11828 {
11829 if (temp9)
11830 delete arg9;
11831 }
11832 return NULL;
d55e5bfc
RD
11833}
11834
11835
554f62e9
RD
11836SWIGINTERN PyObject *_wrap_TextCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11837 PyObject *resultobj = 0;
11838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11839 wxString result;
11840 void *argp1 = 0 ;
11841 int res1 = 0 ;
11842 PyObject *swig_obj[1] ;
11843
11844 if (!args) SWIG_fail;
11845 swig_obj[0] = args;
11846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11847 if (!SWIG_IsOK(res1)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11849 }
11850 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = ((wxTextCtrl const *)arg1)->GetValue();
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 {
11858#if wxUSE_UNICODE
11859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11860#else
11861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11862#endif
11863 }
11864 return resultobj;
11865fail:
11866 return NULL;
11867}
11868
11869
11870SWIGINTERN PyObject *_wrap_TextCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj = 0;
11872 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11873 wxString *arg2 = 0 ;
11874 void *argp1 = 0 ;
11875 int res1 = 0 ;
11876 bool temp2 = false ;
11877 PyObject * obj0 = 0 ;
11878 PyObject * obj1 = 0 ;
11879 char * kwnames[] = {
11880 (char *) "self",(char *) "value", NULL
11881 };
11882
11883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
11884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11885 if (!SWIG_IsOK(res1)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11887 }
11888 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11889 {
11890 arg2 = wxString_in_helper(obj1);
11891 if (arg2 == NULL) SWIG_fail;
11892 temp2 = true;
11893 }
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 (arg1)->SetValue((wxString const &)*arg2);
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_Py_Void();
11901 {
11902 if (temp2)
11903 delete arg2;
11904 }
11905 return resultobj;
11906fail:
11907 {
11908 if (temp2)
11909 delete arg2;
11910 }
11911 return NULL;
11912}
11913
11914
b39fe951
RD
11915SWIGINTERN PyObject *_wrap_TextCtrl_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11916 PyObject *resultobj = 0;
11917 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11918 bool result;
11919 void *argp1 = 0 ;
11920 int res1 = 0 ;
11921 PyObject *swig_obj[1] ;
11922
11923 if (!args) SWIG_fail;
11924 swig_obj[0] = args;
11925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
11926 if (!SWIG_IsOK(res1)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11928 }
11929 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (bool)((wxTextCtrl const *)arg1)->IsEmpty();
11933 wxPyEndAllowThreads(__tstate);
11934 if (PyErr_Occurred()) SWIG_fail;
11935 }
11936 {
11937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11938 }
11939 return resultobj;
11940fail:
11941 return NULL;
11942}
11943
11944
11945SWIGINTERN PyObject *_wrap_TextCtrl_ChangeValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj = 0;
11947 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11948 wxString *arg2 = 0 ;
11949 void *argp1 = 0 ;
11950 int res1 = 0 ;
11951 bool temp2 = false ;
11952 PyObject * obj0 = 0 ;
11953 PyObject * obj1 = 0 ;
11954 char * kwnames[] = {
11955 (char *) "self",(char *) "value", NULL
11956 };
11957
11958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ChangeValue",kwnames,&obj0,&obj1)) 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_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11962 }
11963 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
11964 {
11965 arg2 = wxString_in_helper(obj1);
11966 if (arg2 == NULL) SWIG_fail;
11967 temp2 = true;
11968 }
11969 {
11970 PyThreadState* __tstate = wxPyBeginAllowThreads();
11971 (arg1)->ChangeValue((wxString const &)*arg2);
11972 wxPyEndAllowThreads(__tstate);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 }
11975 resultobj = SWIG_Py_Void();
11976 {
11977 if (temp2)
11978 delete arg2;
11979 }
11980 return resultobj;
11981fail:
11982 {
11983 if (temp2)
11984 delete arg2;
11985 }
11986 return NULL;
11987}
11988
11989
554f62e9
RD
11990SWIGINTERN PyObject *_wrap_TextCtrl_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj = 0;
11992 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
11993 long arg2 ;
11994 long arg3 ;
11995 wxString result;
11996 void *argp1 = 0 ;
11997 int res1 = 0 ;
11998 long val2 ;
11999 int ecode2 = 0 ;
12000 long val3 ;
12001 int ecode3 = 0 ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 PyObject * obj2 = 0 ;
12005 char * kwnames[] = {
f460c29d 12006 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
12007 };
12008
12009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12013 }
12014 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12015 ecode2 = SWIG_AsVal_long(obj1, &val2);
12016 if (!SWIG_IsOK(ecode2)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12018 }
12019 arg2 = static_cast< long >(val2);
12020 ecode3 = SWIG_AsVal_long(obj2, &val3);
12021 if (!SWIG_IsOK(ecode3)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12023 }
12024 arg3 = static_cast< long >(val3);
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
12027 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 {
12032#if wxUSE_UNICODE
12033 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12034#else
12035 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12036#endif
12037 }
12038 return resultobj;
12039fail:
12040 return NULL;
12041}
12042
12043
12044SWIGINTERN PyObject *_wrap_TextCtrl_GetLineLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12045 PyObject *resultobj = 0;
12046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12047 long arg2 ;
12048 int result;
12049 void *argp1 = 0 ;
12050 int res1 = 0 ;
12051 long val2 ;
12052 int ecode2 = 0 ;
12053 PyObject * obj0 = 0 ;
12054 PyObject * obj1 = 0 ;
12055 char * kwnames[] = {
12056 (char *) "self",(char *) "lineNo", NULL
12057 };
12058
12059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) SWIG_fail;
12060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12061 if (!SWIG_IsOK(res1)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12063 }
12064 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12065 ecode2 = SWIG_AsVal_long(obj1, &val2);
12066 if (!SWIG_IsOK(ecode2)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12068 }
12069 arg2 = static_cast< long >(val2);
12070 {
12071 PyThreadState* __tstate = wxPyBeginAllowThreads();
12072 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 resultobj = SWIG_From_int(static_cast< int >(result));
12077 return resultobj;
12078fail:
12079 return NULL;
12080}
12081
12082
12083SWIGINTERN PyObject *_wrap_TextCtrl_GetLineText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj = 0;
12085 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12086 long arg2 ;
12087 wxString result;
12088 void *argp1 = 0 ;
12089 int res1 = 0 ;
12090 long val2 ;
12091 int ecode2 = 0 ;
12092 PyObject * obj0 = 0 ;
12093 PyObject * obj1 = 0 ;
12094 char * kwnames[] = {
12095 (char *) "self",(char *) "lineNo", NULL
12096 };
12097
12098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) SWIG_fail;
12099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12100 if (!SWIG_IsOK(res1)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12102 }
12103 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12104 ecode2 = SWIG_AsVal_long(obj1, &val2);
12105 if (!SWIG_IsOK(ecode2)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12107 }
12108 arg2 = static_cast< long >(val2);
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
12112 wxPyEndAllowThreads(__tstate);
12113 if (PyErr_Occurred()) SWIG_fail;
12114 }
12115 {
12116#if wxUSE_UNICODE
12117 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12118#else
12119 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12120#endif
12121 }
12122 return resultobj;
12123fail:
12124 return NULL;
d55e5bfc
RD
12125}
12126
12127
554f62e9
RD
12128SWIGINTERN PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12129 PyObject *resultobj = 0;
12130 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12131 int result;
12132 void *argp1 = 0 ;
12133 int res1 = 0 ;
12134 PyObject *swig_obj[1] ;
12135
12136 if (!args) SWIG_fail;
12137 swig_obj[0] = args;
12138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12139 if (!SWIG_IsOK(res1)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12141 }
12142 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_From_int(static_cast< int >(result));
12150 return resultobj;
12151fail:
12152 return NULL;
d55e5bfc
RD
12153}
12154
12155
554f62e9
RD
12156SWIGINTERN PyObject *_wrap_TextCtrl_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12157 PyObject *resultobj = 0;
12158 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12159 bool result;
12160 void *argp1 = 0 ;
12161 int res1 = 0 ;
12162 PyObject *swig_obj[1] ;
12163
12164 if (!args) SWIG_fail;
12165 swig_obj[0] = args;
12166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12167 if (!SWIG_IsOK(res1)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12169 }
12170 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 {
12178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12179 }
12180 return resultobj;
12181fail:
12182 return NULL;
d55e5bfc
RD
12183}
12184
12185
554f62e9
RD
12186SWIGINTERN PyObject *_wrap_TextCtrl_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12187 PyObject *resultobj = 0;
12188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12189 bool result;
12190 void *argp1 = 0 ;
12191 int res1 = 0 ;
12192 PyObject *swig_obj[1] ;
12193
12194 if (!args) SWIG_fail;
12195 swig_obj[0] = args;
12196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12197 if (!SWIG_IsOK(res1)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12199 }
12200 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12201 {
12202 PyThreadState* __tstate = wxPyBeginAllowThreads();
12203 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 {
12208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12209 }
12210 return resultobj;
12211fail:
12212 return NULL;
d55e5bfc
RD
12213}
12214
12215
554f62e9
RD
12216SWIGINTERN PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12217 PyObject *resultobj = 0;
12218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12219 bool result;
12220 void *argp1 = 0 ;
12221 int res1 = 0 ;
12222 PyObject *swig_obj[1] ;
12223
12224 if (!args) SWIG_fail;
12225 swig_obj[0] = args;
12226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12227 if (!SWIG_IsOK(res1)) {
12228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12229 }
12230 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12231 {
12232 PyThreadState* __tstate = wxPyBeginAllowThreads();
12233 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 {
12238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12239 }
12240 return resultobj;
12241fail:
12242 return NULL;
d55e5bfc
RD
12243}
12244
12245
554f62e9
RD
12246SWIGINTERN PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12247 PyObject *resultobj = 0;
12248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12249 bool result;
12250 void *argp1 = 0 ;
12251 int res1 = 0 ;
12252 PyObject *swig_obj[1] ;
12253
12254 if (!args) SWIG_fail;
12255 swig_obj[0] = args;
12256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12257 if (!SWIG_IsOK(res1)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12259 }
12260 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 {
12268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12269 }
12270 return resultobj;
12271fail:
12272 return NULL;
12273}
12274
12275
12276SWIGINTERN PyObject *_wrap_TextCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12277 PyObject *resultobj = 0;
12278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12279 long *arg2 = (long *) 0 ;
12280 long *arg3 = (long *) 0 ;
12281 void *argp1 = 0 ;
12282 int res1 = 0 ;
12283 long temp2 ;
12284 int res2 = SWIG_TMPOBJ ;
12285 long temp3 ;
12286 int res3 = SWIG_TMPOBJ ;
12287 PyObject *swig_obj[1] ;
12288
12289 arg2 = &temp2;
12290 arg3 = &temp3;
12291 if (!args) SWIG_fail;
12292 swig_obj[0] = args;
12293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12294 if (!SWIG_IsOK(res1)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12296 }
12297 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_Py_Void();
12305 if (SWIG_IsTmpObj(res2)) {
12306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg2)));
12307 } else {
12308 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, new_flags));
12310 }
12311 if (SWIG_IsTmpObj(res3)) {
12312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
12313 } else {
12314 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
12315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
12316 }
12317 return resultobj;
12318fail:
12319 return NULL;
d55e5bfc
RD
12320}
12321
12322
554f62e9
RD
12323SWIGINTERN PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12324 PyObject *resultobj = 0;
12325 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12326 wxString result;
12327 void *argp1 = 0 ;
12328 int res1 = 0 ;
12329 PyObject *swig_obj[1] ;
12330
12331 if (!args) SWIG_fail;
12332 swig_obj[0] = args;
12333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12334 if (!SWIG_IsOK(res1)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12336 }
12337 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
12341 wxPyEndAllowThreads(__tstate);
12342 if (PyErr_Occurred()) SWIG_fail;
12343 }
12344 {
12345#if wxUSE_UNICODE
12346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12347#else
12348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12349#endif
12350 }
12351 return resultobj;
12352fail:
12353 return NULL;
d55e5bfc
RD
12354}
12355
12356
554f62e9
RD
12357SWIGINTERN PyObject *_wrap_TextCtrl_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12358 PyObject *resultobj = 0;
12359 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12360 void *argp1 = 0 ;
12361 int res1 = 0 ;
12362 PyObject *swig_obj[1] ;
12363
12364 if (!args) SWIG_fail;
12365 swig_obj[0] = args;
12366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12367 if (!SWIG_IsOK(res1)) {
12368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12369 }
12370 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 (arg1)->Clear();
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 resultobj = SWIG_Py_Void();
12378 return resultobj;
12379fail:
12380 return NULL;
12381}
12382
12383
12384SWIGINTERN PyObject *_wrap_TextCtrl_Replace(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj = 0;
12386 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12387 long arg2 ;
12388 long arg3 ;
12389 wxString *arg4 = 0 ;
12390 void *argp1 = 0 ;
12391 int res1 = 0 ;
12392 long val2 ;
12393 int ecode2 = 0 ;
12394 long val3 ;
12395 int ecode3 = 0 ;
12396 bool temp4 = false ;
12397 PyObject * obj0 = 0 ;
12398 PyObject * obj1 = 0 ;
12399 PyObject * obj2 = 0 ;
12400 PyObject * obj3 = 0 ;
12401 char * kwnames[] = {
f460c29d 12402 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
554f62e9
RD
12403 };
12404
12405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12407 if (!SWIG_IsOK(res1)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12409 }
12410 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12411 ecode2 = SWIG_AsVal_long(obj1, &val2);
12412 if (!SWIG_IsOK(ecode2)) {
12413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12414 }
12415 arg2 = static_cast< long >(val2);
12416 ecode3 = SWIG_AsVal_long(obj2, &val3);
12417 if (!SWIG_IsOK(ecode3)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12419 }
12420 arg3 = static_cast< long >(val3);
12421 {
12422 arg4 = wxString_in_helper(obj3);
12423 if (arg4 == NULL) SWIG_fail;
12424 temp4 = true;
12425 }
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 resultobj = SWIG_Py_Void();
12433 {
12434 if (temp4)
12435 delete arg4;
12436 }
12437 return resultobj;
12438fail:
12439 {
12440 if (temp4)
12441 delete arg4;
12442 }
12443 return NULL;
12444}
12445
12446
12447SWIGINTERN PyObject *_wrap_TextCtrl_Remove(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj = 0;
12449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12450 long arg2 ;
12451 long arg3 ;
12452 void *argp1 = 0 ;
12453 int res1 = 0 ;
12454 long val2 ;
12455 int ecode2 = 0 ;
12456 long val3 ;
12457 int ecode3 = 0 ;
12458 PyObject * obj0 = 0 ;
12459 PyObject * obj1 = 0 ;
12460 PyObject * obj2 = 0 ;
12461 char * kwnames[] = {
f460c29d 12462 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
12463 };
12464
12465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12467 if (!SWIG_IsOK(res1)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12469 }
12470 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12471 ecode2 = SWIG_AsVal_long(obj1, &val2);
12472 if (!SWIG_IsOK(ecode2)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12474 }
12475 arg2 = static_cast< long >(val2);
12476 ecode3 = SWIG_AsVal_long(obj2, &val3);
12477 if (!SWIG_IsOK(ecode3)) {
12478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12479 }
12480 arg3 = static_cast< long >(val3);
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 (arg1)->Remove(arg2,arg3);
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
12487 resultobj = SWIG_Py_Void();
12488 return resultobj;
12489fail:
12490 return NULL;
12491}
12492
12493
12494SWIGINTERN PyObject *_wrap_TextCtrl_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12495 PyObject *resultobj = 0;
12496 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12497 wxString *arg2 = 0 ;
f5263701 12498 int arg3 = (int) wxTEXT_TYPE_ANY ;
554f62e9
RD
12499 bool result;
12500 void *argp1 = 0 ;
12501 int res1 = 0 ;
12502 bool temp2 = false ;
f5263701
RD
12503 int val3 ;
12504 int ecode3 = 0 ;
554f62e9
RD
12505 PyObject * obj0 = 0 ;
12506 PyObject * obj1 = 0 ;
f5263701 12507 PyObject * obj2 = 0 ;
554f62e9 12508 char * kwnames[] = {
f5263701 12509 (char *) "self",(char *) "file",(char *) "fileType", NULL
554f62e9
RD
12510 };
12511
f5263701 12512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextCtrl_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
554f62e9
RD
12513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12514 if (!SWIG_IsOK(res1)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12516 }
12517 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12518 {
12519 arg2 = wxString_in_helper(obj1);
12520 if (arg2 == NULL) SWIG_fail;
12521 temp2 = true;
12522 }
f5263701
RD
12523 if (obj2) {
12524 ecode3 = SWIG_AsVal_int(obj2, &val3);
12525 if (!SWIG_IsOK(ecode3)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12527 }
12528 arg3 = static_cast< int >(val3);
12529 }
554f62e9
RD
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12532 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
554f62e9
RD
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 {
12537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12538 }
12539 {
12540 if (temp2)
12541 delete arg2;
12542 }
12543 return resultobj;
12544fail:
12545 {
12546 if (temp2)
12547 delete arg2;
12548 }
12549 return NULL;
12550}
12551
12552
12553SWIGINTERN PyObject *_wrap_TextCtrl_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12554 PyObject *resultobj = 0;
12555 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12556 wxString const &arg2_defvalue = wxPyEmptyString ;
12557 wxString *arg2 = (wxString *) &arg2_defvalue ;
f5263701 12558 int arg3 = (int) wxTEXT_TYPE_ANY ;
554f62e9
RD
12559 bool result;
12560 void *argp1 = 0 ;
12561 int res1 = 0 ;
12562 bool temp2 = false ;
f5263701
RD
12563 int val3 ;
12564 int ecode3 = 0 ;
554f62e9
RD
12565 PyObject * obj0 = 0 ;
12566 PyObject * obj1 = 0 ;
f5263701 12567 PyObject * obj2 = 0 ;
554f62e9 12568 char * kwnames[] = {
f5263701 12569 (char *) "self",(char *) "file",(char *) "fileType", NULL
554f62e9
RD
12570 };
12571
f5263701 12572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:TextCtrl_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
554f62e9
RD
12573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12574 if (!SWIG_IsOK(res1)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12576 }
12577 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12578 if (obj1) {
d55e5bfc 12579 {
554f62e9
RD
12580 arg2 = wxString_in_helper(obj1);
12581 if (arg2 == NULL) SWIG_fail;
12582 temp2 = true;
d55e5bfc 12583 }
554f62e9 12584 }
f5263701
RD
12585 if (obj2) {
12586 ecode3 = SWIG_AsVal_int(obj2, &val3);
12587 if (!SWIG_IsOK(ecode3)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12589 }
12590 arg3 = static_cast< int >(val3);
12591 }
554f62e9
RD
12592 {
12593 PyThreadState* __tstate = wxPyBeginAllowThreads();
f5263701 12594 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
554f62e9
RD
12595 wxPyEndAllowThreads(__tstate);
12596 if (PyErr_Occurred()) SWIG_fail;
12597 }
12598 {
12599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12600 }
12601 {
12602 if (temp2)
12603 delete arg2;
12604 }
12605 return resultobj;
12606fail:
12607 {
12608 if (temp2)
12609 delete arg2;
12610 }
12611 return NULL;
d55e5bfc
RD
12612}
12613
12614
554f62e9
RD
12615SWIGINTERN PyObject *_wrap_TextCtrl_MarkDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12616 PyObject *resultobj = 0;
12617 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12618 void *argp1 = 0 ;
12619 int res1 = 0 ;
12620 PyObject *swig_obj[1] ;
12621
12622 if (!args) SWIG_fail;
12623 swig_obj[0] = args;
12624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12625 if (!SWIG_IsOK(res1)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12627 }
12628 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 (arg1)->MarkDirty();
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 resultobj = SWIG_Py_Void();
12636 return resultobj;
12637fail:
12638 return NULL;
d55e5bfc
RD
12639}
12640
12641
554f62e9
RD
12642SWIGINTERN PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12643 PyObject *resultobj = 0;
12644 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12645 void *argp1 = 0 ;
12646 int res1 = 0 ;
12647 PyObject *swig_obj[1] ;
12648
12649 if (!args) SWIG_fail;
12650 swig_obj[0] = args;
12651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12652 if (!SWIG_IsOK(res1)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12654 }
12655 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12656 {
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 (arg1)->DiscardEdits();
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 resultobj = SWIG_Py_Void();
12663 return resultobj;
12664fail:
12665 return NULL;
12666}
12667
12668
b02396e8
RD
12669SWIGINTERN PyObject *_wrap_TextCtrl_SetModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12670 PyObject *resultobj = 0;
12671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12672 bool arg2 ;
12673 void *argp1 = 0 ;
12674 int res1 = 0 ;
12675 bool val2 ;
12676 int ecode2 = 0 ;
12677 PyObject * obj0 = 0 ;
12678 PyObject * obj1 = 0 ;
12679 char * kwnames[] = {
12680 (char *) "self",(char *) "modified", NULL
12681 };
12682
12683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetModified",kwnames,&obj0,&obj1)) SWIG_fail;
12684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12685 if (!SWIG_IsOK(res1)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12687 }
12688 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12689 ecode2 = SWIG_AsVal_bool(obj1, &val2);
12690 if (!SWIG_IsOK(ecode2)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12692 }
12693 arg2 = static_cast< bool >(val2);
12694 {
12695 PyThreadState* __tstate = wxPyBeginAllowThreads();
12696 (arg1)->SetModified(arg2);
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 resultobj = SWIG_Py_Void();
12701 return resultobj;
12702fail:
12703 return NULL;
12704}
12705
12706
554f62e9
RD
12707SWIGINTERN PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12708 PyObject *resultobj = 0;
12709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12710 unsigned long arg2 ;
12711 void *argp1 = 0 ;
12712 int res1 = 0 ;
12713 unsigned long val2 ;
12714 int ecode2 = 0 ;
12715 PyObject * obj0 = 0 ;
12716 PyObject * obj1 = 0 ;
12717 char * kwnames[] = {
12718 (char *) "self",(char *) "len", NULL
12719 };
12720
12721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) SWIG_fail;
12722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12723 if (!SWIG_IsOK(res1)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12725 }
12726 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12727 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
12728 if (!SWIG_IsOK(ecode2)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12730 }
12731 arg2 = static_cast< unsigned long >(val2);
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 (arg1)->SetMaxLength(arg2);
12735 wxPyEndAllowThreads(__tstate);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 resultobj = SWIG_Py_Void();
12739 return resultobj;
12740fail:
12741 return NULL;
12742}
12743
12744
12745SWIGINTERN PyObject *_wrap_TextCtrl_WriteText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12746 PyObject *resultobj = 0;
12747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12748 wxString *arg2 = 0 ;
12749 void *argp1 = 0 ;
12750 int res1 = 0 ;
12751 bool temp2 = false ;
12752 PyObject * obj0 = 0 ;
12753 PyObject * obj1 = 0 ;
12754 char * kwnames[] = {
12755 (char *) "self",(char *) "text", NULL
12756 };
12757
12758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) SWIG_fail;
12759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12760 if (!SWIG_IsOK(res1)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12762 }
12763 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12764 {
12765 arg2 = wxString_in_helper(obj1);
12766 if (arg2 == NULL) SWIG_fail;
12767 temp2 = true;
12768 }
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 (arg1)->WriteText((wxString const &)*arg2);
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 resultobj = SWIG_Py_Void();
12776 {
12777 if (temp2)
12778 delete arg2;
12779 }
12780 return resultobj;
12781fail:
12782 {
12783 if (temp2)
12784 delete arg2;
12785 }
12786 return NULL;
d55e5bfc
RD
12787}
12788
12789
554f62e9
RD
12790SWIGINTERN PyObject *_wrap_TextCtrl_AppendText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12791 PyObject *resultobj = 0;
12792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12793 wxString *arg2 = 0 ;
12794 void *argp1 = 0 ;
12795 int res1 = 0 ;
12796 bool temp2 = false ;
12797 PyObject * obj0 = 0 ;
12798 PyObject * obj1 = 0 ;
12799 char * kwnames[] = {
12800 (char *) "self",(char *) "text", NULL
12801 };
12802
12803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) SWIG_fail;
12804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12805 if (!SWIG_IsOK(res1)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12807 }
12808 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12809 {
12810 arg2 = wxString_in_helper(obj1);
12811 if (arg2 == NULL) SWIG_fail;
12812 temp2 = true;
12813 }
12814 {
12815 PyThreadState* __tstate = wxPyBeginAllowThreads();
12816 (arg1)->AppendText((wxString const &)*arg2);
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = SWIG_Py_Void();
12821 {
12822 if (temp2)
12823 delete arg2;
12824 }
12825 return resultobj;
12826fail:
12827 {
12828 if (temp2)
12829 delete arg2;
12830 }
12831 return NULL;
12832}
12833
12834
12835SWIGINTERN PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12836 PyObject *resultobj = 0;
12837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12838 wxKeyEvent *arg2 = 0 ;
12839 bool result;
12840 void *argp1 = 0 ;
12841 int res1 = 0 ;
12842 void *argp2 = 0 ;
12843 int res2 = 0 ;
12844 PyObject * obj0 = 0 ;
12845 PyObject * obj1 = 0 ;
12846 char * kwnames[] = {
12847 (char *) "self",(char *) "event", NULL
12848 };
12849
12850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) SWIG_fail;
12851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12852 if (!SWIG_IsOK(res1)) {
12853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12854 }
12855 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12856 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
12857 if (!SWIG_IsOK(res2)) {
12858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12859 }
12860 if (!argp2) {
12861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12862 }
12863 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
12864 {
12865 PyThreadState* __tstate = wxPyBeginAllowThreads();
12866 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 {
12871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12872 }
12873 return resultobj;
12874fail:
12875 return NULL;
12876}
12877
12878
12879SWIGINTERN PyObject *_wrap_TextCtrl_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12880 PyObject *resultobj = 0;
12881 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12882 long arg2 ;
12883 long arg3 ;
12884 wxTextAttr *arg4 = 0 ;
12885 bool result;
12886 void *argp1 = 0 ;
12887 int res1 = 0 ;
12888 long val2 ;
12889 int ecode2 = 0 ;
12890 long val3 ;
12891 int ecode3 = 0 ;
12892 void *argp4 = 0 ;
12893 int res4 = 0 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 PyObject * obj2 = 0 ;
12897 PyObject * obj3 = 0 ;
12898 char * kwnames[] = {
12899 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12900 };
12901
12902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12904 if (!SWIG_IsOK(res1)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12906 }
12907 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12908 ecode2 = SWIG_AsVal_long(obj1, &val2);
12909 if (!SWIG_IsOK(ecode2)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12911 }
12912 arg2 = static_cast< long >(val2);
12913 ecode3 = SWIG_AsVal_long(obj2, &val3);
12914 if (!SWIG_IsOK(ecode3)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12916 }
12917 arg3 = static_cast< long >(val3);
12918 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttr, 0 | 0);
12919 if (!SWIG_IsOK(res4)) {
12920 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12921 }
12922 if (!argp4) {
12923 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12924 }
12925 arg4 = reinterpret_cast< wxTextAttr * >(argp4);
12926 {
12927 PyThreadState* __tstate = wxPyBeginAllowThreads();
12928 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 {
12933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12934 }
12935 return resultobj;
12936fail:
12937 return NULL;
12938}
12939
12940
12941SWIGINTERN PyObject *_wrap_TextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj = 0;
12943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12944 long arg2 ;
12945 wxTextAttr *arg3 = 0 ;
12946 bool result;
12947 void *argp1 = 0 ;
12948 int res1 = 0 ;
12949 long val2 ;
12950 int ecode2 = 0 ;
12951 void *argp3 = 0 ;
12952 int res3 = 0 ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 char * kwnames[] = {
12957 (char *) "self",(char *) "position",(char *) "style", NULL
12958 };
12959
12960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
12962 if (!SWIG_IsOK(res1)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12964 }
12965 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
12966 ecode2 = SWIG_AsVal_long(obj1, &val2);
12967 if (!SWIG_IsOK(ecode2)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12969 }
12970 arg2 = static_cast< long >(val2);
12971 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttr, 0 );
12972 if (!SWIG_IsOK(res3)) {
12973 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12974 }
12975 if (!argp3) {
12976 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12977 }
12978 arg3 = reinterpret_cast< wxTextAttr * >(argp3);
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (bool)(arg1)->GetStyle(arg2,*arg3);
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 {
12986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12987 }
12988 return resultobj;
12989fail:
12990 return NULL;
12991}
12992
12993
12994SWIGINTERN PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12995 PyObject *resultobj = 0;
12996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
12997 wxTextAttr *arg2 = 0 ;
12998 bool result;
12999 void *argp1 = 0 ;
13000 int res1 = 0 ;
13001 void *argp2 = 0 ;
13002 int res2 = 0 ;
13003 PyObject * obj0 = 0 ;
13004 PyObject * obj1 = 0 ;
13005 char * kwnames[] = {
13006 (char *) "self",(char *) "style", NULL
13007 };
13008
13009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
13010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13011 if (!SWIG_IsOK(res1)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13013 }
13014 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13015 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttr, 0 | 0);
13016 if (!SWIG_IsOK(res2)) {
13017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13018 }
13019 if (!argp2) {
13020 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13021 }
13022 arg2 = reinterpret_cast< wxTextAttr * >(argp2);
13023 {
13024 PyThreadState* __tstate = wxPyBeginAllowThreads();
13025 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 {
13030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13031 }
13032 return resultobj;
13033fail:
13034 return NULL;
d55e5bfc
RD
13035}
13036
13037
554f62e9
RD
13038SWIGINTERN PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13039 PyObject *resultobj = 0;
13040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13041 wxTextAttr *result = 0 ;
13042 void *argp1 = 0 ;
13043 int res1 = 0 ;
13044 PyObject *swig_obj[1] ;
13045
13046 if (!args) SWIG_fail;
13047 swig_obj[0] = args;
13048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13049 if (!SWIG_IsOK(res1)) {
13050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13051 }
13052 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 13055 {
554f62e9
RD
13056 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
13057 result = (wxTextAttr *) &_result_ref;
093d3ff1 13058 }
554f62e9
RD
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttr, 0 | 0 );
13063 return resultobj;
13064fail:
13065 return NULL;
13066}
13067
13068
13069SWIGINTERN PyObject *_wrap_TextCtrl_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13070 PyObject *resultobj = 0;
13071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13072 long arg2 ;
13073 long arg3 ;
13074 long result;
13075 void *argp1 = 0 ;
13076 int res1 = 0 ;
13077 long val2 ;
13078 int ecode2 = 0 ;
13079 long val3 ;
13080 int ecode3 = 0 ;
13081 PyObject * obj0 = 0 ;
13082 PyObject * obj1 = 0 ;
13083 PyObject * obj2 = 0 ;
13084 char * kwnames[] = {
13085 (char *) "self",(char *) "x",(char *) "y", NULL
13086 };
13087
13088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13090 if (!SWIG_IsOK(res1)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13092 }
13093 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13094 ecode2 = SWIG_AsVal_long(obj1, &val2);
13095 if (!SWIG_IsOK(ecode2)) {
13096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13097 }
13098 arg2 = static_cast< long >(val2);
13099 ecode3 = SWIG_AsVal_long(obj2, &val3);
13100 if (!SWIG_IsOK(ecode3)) {
13101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13102 }
13103 arg3 = static_cast< long >(val3);
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
13107 wxPyEndAllowThreads(__tstate);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 resultobj = SWIG_From_long(static_cast< long >(result));
13111 return resultobj;
13112fail:
13113 return NULL;
13114}
13115
13116
13117SWIGINTERN PyObject *_wrap_TextCtrl_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj = 0;
13119 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13120 long arg2 ;
13121 long *arg3 = (long *) 0 ;
13122 long *arg4 = (long *) 0 ;
13123 void *argp1 = 0 ;
13124 int res1 = 0 ;
13125 long val2 ;
13126 int ecode2 = 0 ;
13127 long temp3 ;
13128 int res3 = SWIG_TMPOBJ ;
13129 long temp4 ;
13130 int res4 = SWIG_TMPOBJ ;
13131 PyObject * obj0 = 0 ;
13132 PyObject * obj1 = 0 ;
13133 char * kwnames[] = {
13134 (char *) "self",(char *) "pos", NULL
13135 };
13136
13137 arg3 = &temp3;
13138 arg4 = &temp4;
13139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) SWIG_fail;
13140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13141 if (!SWIG_IsOK(res1)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13143 }
13144 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13145 ecode2 = SWIG_AsVal_long(obj1, &val2);
13146 if (!SWIG_IsOK(ecode2)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13148 }
13149 arg2 = static_cast< long >(val2);
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 resultobj = SWIG_Py_Void();
13157 if (SWIG_IsTmpObj(res3)) {
13158 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13159 } else {
13160 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13161 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13162 }
13163 if (SWIG_IsTmpObj(res4)) {
13164 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13165 } else {
13166 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13167 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13168 }
13169 return resultobj;
13170fail:
13171 return NULL;
13172}
13173
13174
13175SWIGINTERN PyObject *_wrap_TextCtrl_ShowPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj = 0;
13177 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13178 long arg2 ;
13179 void *argp1 = 0 ;
13180 int res1 = 0 ;
13181 long val2 ;
13182 int ecode2 = 0 ;
13183 PyObject * obj0 = 0 ;
13184 PyObject * obj1 = 0 ;
13185 char * kwnames[] = {
13186 (char *) "self",(char *) "pos", NULL
13187 };
13188
13189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13191 if (!SWIG_IsOK(res1)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13193 }
13194 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13195 ecode2 = SWIG_AsVal_long(obj1, &val2);
13196 if (!SWIG_IsOK(ecode2)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13198 }
13199 arg2 = static_cast< long >(val2);
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 (arg1)->ShowPosition(arg2);
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 resultobj = SWIG_Py_Void();
13207 return resultobj;
13208fail:
13209 return NULL;
13210}
13211
13212
13213SWIGINTERN PyObject *_wrap_TextCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13214 PyObject *resultobj = 0;
13215 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13216 wxPoint *arg2 = 0 ;
13217 long *arg3 = (long *) 0 ;
13218 long *arg4 = (long *) 0 ;
13219 wxTextCtrlHitTestResult result;
13220 void *argp1 = 0 ;
13221 int res1 = 0 ;
13222 wxPoint temp2 ;
13223 long temp3 ;
13224 int res3 = SWIG_TMPOBJ ;
13225 long temp4 ;
13226 int res4 = SWIG_TMPOBJ ;
13227 PyObject * obj0 = 0 ;
13228 PyObject * obj1 = 0 ;
13229 char * kwnames[] = {
13230 (char *) "self",(char *) "pt", NULL
13231 };
13232
13233 arg3 = &temp3;
13234 arg4 = &temp4;
13235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13237 if (!SWIG_IsOK(res1)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13239 }
13240 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13241 {
13242 arg2 = &temp2;
13243 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13244 }
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 resultobj = SWIG_From_int(static_cast< int >(result));
13252 if (SWIG_IsTmpObj(res3)) {
13253 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13254 } else {
13255 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13257 }
13258 if (SWIG_IsTmpObj(res4)) {
13259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
13260 } else {
13261 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
13263 }
13264 return resultobj;
13265fail:
13266 return NULL;
13267}
13268
13269
13270SWIGINTERN PyObject *_wrap_TextCtrl_HitTestPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj = 0;
13272 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13273 wxPoint *arg2 = 0 ;
13274 long *arg3 = (long *) 0 ;
13275 wxTextCtrlHitTestResult result;
13276 void *argp1 = 0 ;
13277 int res1 = 0 ;
13278 wxPoint temp2 ;
13279 long temp3 ;
13280 int res3 = SWIG_TMPOBJ ;
13281 PyObject * obj0 = 0 ;
13282 PyObject * obj1 = 0 ;
13283 char * kwnames[] = {
13284 (char *) "self",(char *) "pt", NULL
13285 };
13286
13287 arg3 = &temp3;
13288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTestPos",kwnames,&obj0,&obj1)) SWIG_fail;
13289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13290 if (!SWIG_IsOK(res1)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13292 }
13293 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13294 {
13295 arg2 = &temp2;
13296 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13297 }
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxTextCtrlHitTestResult)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 resultobj = SWIG_From_int(static_cast< int >(result));
13305 if (SWIG_IsTmpObj(res3)) {
13306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
13307 } else {
13308 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
13309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
13310 }
13311 return resultobj;
13312fail:
13313 return NULL;
d55e5bfc
RD
13314}
13315
13316
554f62e9
RD
13317SWIGINTERN PyObject *_wrap_TextCtrl_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13318 PyObject *resultobj = 0;
13319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13320 void *argp1 = 0 ;
13321 int res1 = 0 ;
13322 PyObject *swig_obj[1] ;
13323
13324 if (!args) SWIG_fail;
13325 swig_obj[0] = args;
13326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13327 if (!SWIG_IsOK(res1)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13329 }
13330 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 (arg1)->Copy();
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 resultobj = SWIG_Py_Void();
13338 return resultobj;
13339fail:
13340 return NULL;
d55e5bfc 13341}
554f62e9
RD
13342
13343
13344SWIGINTERN PyObject *_wrap_TextCtrl_Cut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13345 PyObject *resultobj = 0;
13346 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13347 void *argp1 = 0 ;
13348 int res1 = 0 ;
13349 PyObject *swig_obj[1] ;
13350
13351 if (!args) SWIG_fail;
13352 swig_obj[0] = args;
13353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13354 if (!SWIG_IsOK(res1)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13356 }
13357 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 (arg1)->Cut();
13361 wxPyEndAllowThreads(__tstate);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 resultobj = SWIG_Py_Void();
13365 return resultobj;
13366fail:
13367 return NULL;
d55e5bfc
RD
13368}
13369
13370
554f62e9
RD
13371SWIGINTERN PyObject *_wrap_TextCtrl_Paste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13372 PyObject *resultobj = 0;
13373 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13374 void *argp1 = 0 ;
13375 int res1 = 0 ;
13376 PyObject *swig_obj[1] ;
13377
13378 if (!args) SWIG_fail;
13379 swig_obj[0] = args;
13380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13381 if (!SWIG_IsOK(res1)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 }
13384 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 (arg1)->Paste();
13388 wxPyEndAllowThreads(__tstate);
13389 if (PyErr_Occurred()) SWIG_fail;
13390 }
13391 resultobj = SWIG_Py_Void();
13392 return resultobj;
13393fail:
13394 return NULL;
d55e5bfc
RD
13395}
13396
13397
554f62e9
RD
13398SWIGINTERN PyObject *_wrap_TextCtrl_CanCopy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13399 PyObject *resultobj = 0;
13400 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13401 bool result;
13402 void *argp1 = 0 ;
13403 int res1 = 0 ;
13404 PyObject *swig_obj[1] ;
13405
13406 if (!args) SWIG_fail;
13407 swig_obj[0] = args;
13408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13409 if (!SWIG_IsOK(res1)) {
13410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13411 }
13412 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13413 {
13414 PyThreadState* __tstate = wxPyBeginAllowThreads();
13415 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13421 }
13422 return resultobj;
13423fail:
13424 return NULL;
d55e5bfc
RD
13425}
13426
13427
554f62e9
RD
13428SWIGINTERN PyObject *_wrap_TextCtrl_CanCut(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13429 PyObject *resultobj = 0;
13430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13431 bool result;
13432 void *argp1 = 0 ;
13433 int res1 = 0 ;
13434 PyObject *swig_obj[1] ;
13435
13436 if (!args) SWIG_fail;
13437 swig_obj[0] = args;
13438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13439 if (!SWIG_IsOK(res1)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13441 }
13442 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 {
13450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13451 }
13452 return resultobj;
13453fail:
13454 return NULL;
d55e5bfc
RD
13455}
13456
13457
554f62e9
RD
13458SWIGINTERN PyObject *_wrap_TextCtrl_CanPaste(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13459 PyObject *resultobj = 0;
13460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13461 bool result;
13462 void *argp1 = 0 ;
13463 int res1 = 0 ;
13464 PyObject *swig_obj[1] ;
13465
13466 if (!args) SWIG_fail;
13467 swig_obj[0] = args;
13468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13469 if (!SWIG_IsOK(res1)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13471 }
13472 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 {
13480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13481 }
13482 return resultobj;
13483fail:
13484 return NULL;
d55e5bfc
RD
13485}
13486
13487
554f62e9
RD
13488SWIGINTERN PyObject *_wrap_TextCtrl_Undo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13489 PyObject *resultobj = 0;
13490 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13491 void *argp1 = 0 ;
13492 int res1 = 0 ;
13493 PyObject *swig_obj[1] ;
13494
13495 if (!args) SWIG_fail;
13496 swig_obj[0] = args;
13497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13498 if (!SWIG_IsOK(res1)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13500 }
13501 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->Undo();
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 resultobj = SWIG_Py_Void();
13509 return resultobj;
13510fail:
13511 return NULL;
d55e5bfc
RD
13512}
13513
13514
554f62e9
RD
13515SWIGINTERN PyObject *_wrap_TextCtrl_Redo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13516 PyObject *resultobj = 0;
13517 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13518 void *argp1 = 0 ;
13519 int res1 = 0 ;
13520 PyObject *swig_obj[1] ;
13521
13522 if (!args) SWIG_fail;
13523 swig_obj[0] = args;
13524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13525 if (!SWIG_IsOK(res1)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13527 }
13528 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->Redo();
13532 wxPyEndAllowThreads(__tstate);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 }
13535 resultobj = SWIG_Py_Void();
13536 return resultobj;
13537fail:
13538 return NULL;
d55e5bfc
RD
13539}
13540
13541
554f62e9
RD
13542SWIGINTERN PyObject *_wrap_TextCtrl_CanUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13543 PyObject *resultobj = 0;
13544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13545 bool result;
13546 void *argp1 = 0 ;
13547 int res1 = 0 ;
13548 PyObject *swig_obj[1] ;
13549
13550 if (!args) SWIG_fail;
13551 swig_obj[0] = args;
13552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13553 if (!SWIG_IsOK(res1)) {
13554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13555 }
13556 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
13560 wxPyEndAllowThreads(__tstate);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
13563 {
13564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13565 }
13566 return resultobj;
13567fail:
13568 return NULL;
d55e5bfc
RD
13569}
13570
13571
554f62e9
RD
13572SWIGINTERN PyObject *_wrap_TextCtrl_CanRedo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13573 PyObject *resultobj = 0;
13574 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13575 bool result;
13576 void *argp1 = 0 ;
13577 int res1 = 0 ;
13578 PyObject *swig_obj[1] ;
13579
13580 if (!args) SWIG_fail;
13581 swig_obj[0] = args;
13582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13583 if (!SWIG_IsOK(res1)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13585 }
13586 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13587 {
13588 PyThreadState* __tstate = wxPyBeginAllowThreads();
13589 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 {
13594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13595 }
13596 return resultobj;
13597fail:
13598 return NULL;
13599}
13600
13601
13602SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj = 0;
13604 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13605 long arg2 ;
13606 void *argp1 = 0 ;
13607 int res1 = 0 ;
13608 long val2 ;
13609 int ecode2 = 0 ;
13610 PyObject * obj0 = 0 ;
13611 PyObject * obj1 = 0 ;
13612 char * kwnames[] = {
13613 (char *) "self",(char *) "pos", NULL
13614 };
13615
13616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) SWIG_fail;
13617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13618 if (!SWIG_IsOK(res1)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13620 }
13621 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13622 ecode2 = SWIG_AsVal_long(obj1, &val2);
13623 if (!SWIG_IsOK(ecode2)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13625 }
13626 arg2 = static_cast< long >(val2);
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 (arg1)->SetInsertionPoint(arg2);
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 resultobj = SWIG_Py_Void();
13634 return resultobj;
13635fail:
13636 return NULL;
d55e5bfc
RD
13637}
13638
13639
554f62e9
RD
13640SWIGINTERN PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13641 PyObject *resultobj = 0;
13642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13643 void *argp1 = 0 ;
13644 int res1 = 0 ;
13645 PyObject *swig_obj[1] ;
13646
13647 if (!args) SWIG_fail;
13648 swig_obj[0] = args;
13649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13650 if (!SWIG_IsOK(res1)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13652 }
13653 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13654 {
13655 PyThreadState* __tstate = wxPyBeginAllowThreads();
13656 (arg1)->SetInsertionPointEnd();
13657 wxPyEndAllowThreads(__tstate);
13658 if (PyErr_Occurred()) SWIG_fail;
13659 }
13660 resultobj = SWIG_Py_Void();
13661 return resultobj;
13662fail:
13663 return NULL;
d55e5bfc
RD
13664}
13665
13666
554f62e9
RD
13667SWIGINTERN PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13668 PyObject *resultobj = 0;
13669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13670 long result;
13671 void *argp1 = 0 ;
13672 int res1 = 0 ;
13673 PyObject *swig_obj[1] ;
13674
13675 if (!args) SWIG_fail;
13676 swig_obj[0] = args;
13677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13678 if (!SWIG_IsOK(res1)) {
13679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13680 }
13681 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = SWIG_From_long(static_cast< long >(result));
13689 return resultobj;
13690fail:
13691 return NULL;
d55e5bfc
RD
13692}
13693
13694
554f62e9
RD
13695SWIGINTERN PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13696 PyObject *resultobj = 0;
13697 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13698 long result;
13699 void *argp1 = 0 ;
13700 int res1 = 0 ;
13701 PyObject *swig_obj[1] ;
13702
13703 if (!args) SWIG_fail;
13704 swig_obj[0] = args;
13705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13706 if (!SWIG_IsOK(res1)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13708 }
13709 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
13713 wxPyEndAllowThreads(__tstate);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 resultobj = SWIG_From_long(static_cast< long >(result));
13717 return resultobj;
13718fail:
13719 return NULL;
13720}
13721
13722
13723SWIGINTERN PyObject *_wrap_TextCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13724 PyObject *resultobj = 0;
13725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13726 long arg2 ;
13727 long arg3 ;
13728 void *argp1 = 0 ;
13729 int res1 = 0 ;
13730 long val2 ;
13731 int ecode2 = 0 ;
13732 long val3 ;
13733 int ecode3 = 0 ;
13734 PyObject * obj0 = 0 ;
13735 PyObject * obj1 = 0 ;
13736 PyObject * obj2 = 0 ;
13737 char * kwnames[] = {
f460c29d 13738 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13739 };
13740
13741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13743 if (!SWIG_IsOK(res1)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13745 }
13746 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13747 ecode2 = SWIG_AsVal_long(obj1, &val2);
13748 if (!SWIG_IsOK(ecode2)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13750 }
13751 arg2 = static_cast< long >(val2);
13752 ecode3 = SWIG_AsVal_long(obj2, &val3);
13753 if (!SWIG_IsOK(ecode3)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13755 }
13756 arg3 = static_cast< long >(val3);
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 (arg1)->SetSelection(arg2,arg3);
13760 wxPyEndAllowThreads(__tstate);
13761 if (PyErr_Occurred()) SWIG_fail;
13762 }
13763 resultobj = SWIG_Py_Void();
13764 return resultobj;
13765fail:
13766 return NULL;
d55e5bfc
RD
13767}
13768
13769
554f62e9
RD
13770SWIGINTERN PyObject *_wrap_TextCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13771 PyObject *resultobj = 0;
13772 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13773 void *argp1 = 0 ;
13774 int res1 = 0 ;
13775 PyObject *swig_obj[1] ;
13776
13777 if (!args) SWIG_fail;
13778 swig_obj[0] = args;
13779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13780 if (!SWIG_IsOK(res1)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13782 }
13783 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 (arg1)->SelectAll();
13787 wxPyEndAllowThreads(__tstate);
13788 if (PyErr_Occurred()) SWIG_fail;
13789 }
13790 resultobj = SWIG_Py_Void();
13791 return resultobj;
13792fail:
13793 return NULL;
13794}
13795
13796
13797SWIGINTERN PyObject *_wrap_TextCtrl_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13798 PyObject *resultobj = 0;
13799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13800 bool arg2 ;
13801 void *argp1 = 0 ;
13802 int res1 = 0 ;
13803 bool val2 ;
13804 int ecode2 = 0 ;
13805 PyObject * obj0 = 0 ;
13806 PyObject * obj1 = 0 ;
13807 char * kwnames[] = {
13808 (char *) "self",(char *) "editable", NULL
13809 };
13810
13811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
13812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13813 if (!SWIG_IsOK(res1)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13815 }
13816 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13817 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13818 if (!SWIG_IsOK(ecode2)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13820 }
13821 arg2 = static_cast< bool >(val2);
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 (arg1)->SetEditable(arg2);
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 resultobj = SWIG_Py_Void();
13829 return resultobj;
13830fail:
13831 return NULL;
13832}
13833
13834
d7645bfd
VZ
13835SWIGINTERN PyObject *_wrap_TextCtrl_MacCheckSpelling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj = 0;
13837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13838 bool arg2 ;
13839 void *argp1 = 0 ;
13840 int res1 = 0 ;
13841 bool val2 ;
13842 int ecode2 = 0 ;
13843 PyObject * obj0 = 0 ;
13844 PyObject * obj1 = 0 ;
13845 char * kwnames[] = {
13846 (char *) "self",(char *) "check", NULL
13847 };
13848
13849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames,&obj0,&obj1)) SWIG_fail;
13850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13851 if (!SWIG_IsOK(res1)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13853 }
13854 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13855 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13856 if (!SWIG_IsOK(ecode2)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13858 }
13859 arg2 = static_cast< bool >(val2);
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 wxTextCtrl_MacCheckSpelling(arg1,arg2);
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 resultobj = SWIG_Py_Void();
13867 return resultobj;
13868fail:
13869 return NULL;
13870}
13871
13872
b39fe951
RD
13873SWIGINTERN PyObject *_wrap_TextCtrl_SendTextUpdatedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13874 PyObject *resultobj = 0;
13875 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13876 void *argp1 = 0 ;
13877 int res1 = 0 ;
13878 PyObject *swig_obj[1] ;
13879
13880 if (!args) SWIG_fail;
13881 swig_obj[0] = args;
13882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13883 if (!SWIG_IsOK(res1)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13885 }
13886 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 (arg1)->SendTextUpdatedEvent();
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 resultobj = SWIG_Py_Void();
13894 return resultobj;
13895fail:
13896 return NULL;
13897}
13898
13899
554f62e9
RD
13900SWIGINTERN PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj = 0;
13902 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13903 bool arg2 = (bool) true ;
13904 bool result;
13905 void *argp1 = 0 ;
13906 int res1 = 0 ;
13907 bool val2 ;
13908 int ecode2 = 0 ;
13909 PyObject * obj0 = 0 ;
13910 PyObject * obj1 = 0 ;
13911 char * kwnames[] = {
13912 (char *) "self",(char *) "show", NULL
13913 };
13914
13915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) SWIG_fail;
13916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13917 if (!SWIG_IsOK(res1)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13919 }
13920 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13921 if (obj1) {
13922 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13923 if (!SWIG_IsOK(ecode2)) {
13924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13925 }
13926 arg2 = static_cast< bool >(val2);
13927 }
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (bool)(arg1)->ShowNativeCaret(arg2);
13931 wxPyEndAllowThreads(__tstate);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 {
13935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13936 }
13937 return resultobj;
13938fail:
13939 return NULL;
d55e5bfc
RD
13940}
13941
13942
554f62e9
RD
13943SWIGINTERN PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13944 PyObject *resultobj = 0;
13945 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13946 bool result;
13947 void *argp1 = 0 ;
13948 int res1 = 0 ;
13949 PyObject *swig_obj[1] ;
13950
13951 if (!args) SWIG_fail;
13952 swig_obj[0] = args;
13953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13954 if (!SWIG_IsOK(res1)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13956 }
13957 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (bool)(arg1)->HideNativeCaret();
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 {
13965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13966 }
13967 return resultobj;
13968fail:
13969 return NULL;
13970}
13971
13972
13973SWIGINTERN PyObject *_wrap_TextCtrl_write(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj = 0;
13975 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
13976 wxString *arg2 = 0 ;
13977 void *argp1 = 0 ;
13978 int res1 = 0 ;
13979 bool temp2 = false ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 char * kwnames[] = {
13983 (char *) "self",(char *) "text", NULL
13984 };
13985
13986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) SWIG_fail;
13987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
13988 if (!SWIG_IsOK(res1)) {
13989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13990 }
13991 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
13992 {
13993 arg2 = wxString_in_helper(obj1);
13994 if (arg2 == NULL) SWIG_fail;
13995 temp2 = true;
13996 }
13997 {
13998 PyThreadState* __tstate = wxPyBeginAllowThreads();
13999 wxTextCtrl_write(arg1,(wxString const &)*arg2);
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 resultobj = SWIG_Py_Void();
14004 {
14005 if (temp2)
14006 delete arg2;
14007 }
14008 return resultobj;
14009fail:
14010 {
14011 if (temp2)
14012 delete arg2;
14013 }
14014 return NULL;
14015}
14016
14017
14018SWIGINTERN PyObject *_wrap_TextCtrl_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj = 0;
14020 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
14021 long arg2 ;
14022 long arg3 ;
14023 wxString result;
14024 void *argp1 = 0 ;
14025 int res1 = 0 ;
14026 long val2 ;
14027 int ecode2 = 0 ;
14028 long val3 ;
14029 int ecode3 = 0 ;
14030 PyObject * obj0 = 0 ;
14031 PyObject * obj1 = 0 ;
14032 PyObject * obj2 = 0 ;
14033 char * kwnames[] = {
f460c29d 14034 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
14035 };
14036
14037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextCtrl, 0 | 0 );
14039 if (!SWIG_IsOK(res1)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14041 }
14042 arg1 = reinterpret_cast< wxTextCtrl * >(argp1);
14043 ecode2 = SWIG_AsVal_long(obj1, &val2);
14044 if (!SWIG_IsOK(ecode2)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14046 }
14047 arg2 = static_cast< long >(val2);
14048 ecode3 = SWIG_AsVal_long(obj2, &val3);
14049 if (!SWIG_IsOK(ecode3)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14051 }
14052 arg3 = static_cast< long >(val3);
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 result = wxTextCtrl_GetString(arg1,arg2,arg3);
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 {
14060#if wxUSE_UNICODE
14061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14062#else
14063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14064#endif
14065 }
14066 return resultobj;
14067fail:
14068 return NULL;
d55e5bfc
RD
14069}
14070
14071
554f62e9
RD
14072SWIGINTERN PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14073 PyObject *resultobj = 0;
14074 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14075 SwigValueWrapper<wxVisualAttributes > result;
14076 int val1 ;
14077 int ecode1 = 0 ;
14078 PyObject * obj0 = 0 ;
14079 char * kwnames[] = {
14080 (char *) "variant", NULL
14081 };
14082
14083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14084 if (obj0) {
14085 ecode1 = SWIG_AsVal_int(obj0, &val1);
14086 if (!SWIG_IsOK(ecode1)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14088 }
14089 arg1 = static_cast< wxWindowVariant >(val1);
14090 }
14091 {
14092 if (!wxPyCheckForApp()) SWIG_fail;
14093 PyThreadState* __tstate = wxPyBeginAllowThreads();
14094 result = wxTextCtrl::GetClassDefaultAttributes(arg1);
14095 wxPyEndAllowThreads(__tstate);
14096 if (PyErr_Occurred()) SWIG_fail;
14097 }
14098 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14099 return resultobj;
14100fail:
14101 return NULL;
14102}
14103
14104
14105SWIGINTERN PyObject *TextCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14106 PyObject *obj;
14107 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14108 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl, SWIG_NewClientData(obj));
14109 return SWIG_Py_Void();
14110}
14111
14112SWIGINTERN PyObject *TextCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14113 return SWIG_Python_InitShadowInstance(args);
14114}
14115
14116SWIGINTERN PyObject *_wrap_new_TextUrlEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj = 0;
14118 int arg1 ;
14119 wxMouseEvent *arg2 = 0 ;
14120 long arg3 ;
14121 long arg4 ;
14122 wxTextUrlEvent *result = 0 ;
14123 int val1 ;
14124 int ecode1 = 0 ;
14125 void *argp2 = 0 ;
14126 int res2 = 0 ;
14127 long val3 ;
14128 int ecode3 = 0 ;
14129 long val4 ;
14130 int ecode4 = 0 ;
14131 PyObject * obj0 = 0 ;
14132 PyObject * obj1 = 0 ;
14133 PyObject * obj2 = 0 ;
14134 PyObject * obj3 = 0 ;
14135 char * kwnames[] = {
14136 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14137 };
14138
14139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
14140 ecode1 = SWIG_AsVal_int(obj0, &val1);
14141 if (!SWIG_IsOK(ecode1)) {
14142 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14143 }
14144 arg1 = static_cast< int >(val1);
14145 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxMouseEvent, 0 | 0);
14146 if (!SWIG_IsOK(res2)) {
14147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14148 }
14149 if (!argp2) {
14150 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14151 }
14152 arg2 = reinterpret_cast< wxMouseEvent * >(argp2);
14153 ecode3 = SWIG_AsVal_long(obj2, &val3);
14154 if (!SWIG_IsOK(ecode3)) {
14155 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14156 }
14157 arg3 = static_cast< long >(val3);
14158 ecode4 = SWIG_AsVal_long(obj3, &val4);
14159 if (!SWIG_IsOK(ecode4)) {
14160 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14161 }
14162 arg4 = static_cast< long >(val4);
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextUrlEvent, SWIG_POINTER_NEW | 0 );
14170 return resultobj;
14171fail:
14172 return NULL;
d55e5bfc
RD
14173}
14174
14175
554f62e9
RD
14176SWIGINTERN PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14177 PyObject *resultobj = 0;
14178 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14179 wxMouseEvent *result = 0 ;
14180 void *argp1 = 0 ;
14181 int res1 = 0 ;
14182 PyObject *swig_obj[1] ;
14183
14184 if (!args) SWIG_fail;
14185 swig_obj[0] = args;
14186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14187 if (!SWIG_IsOK(res1)) {
14188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14189 }
14190 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 14193 {
554f62e9
RD
14194 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
14195 result = (wxMouseEvent *) &_result_ref;
d55e5bfc 14196 }
554f62e9
RD
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMouseEvent, 0 | 0 );
14201 return resultobj;
14202fail:
14203 return NULL;
d55e5bfc
RD
14204}
14205
14206
554f62e9
RD
14207SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14208 PyObject *resultobj = 0;
14209 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14210 long result;
14211 void *argp1 = 0 ;
14212 int res1 = 0 ;
14213 PyObject *swig_obj[1] ;
14214
14215 if (!args) SWIG_fail;
14216 swig_obj[0] = args;
14217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14218 if (!SWIG_IsOK(res1)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14220 }
14221 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
14225 wxPyEndAllowThreads(__tstate);
14226 if (PyErr_Occurred()) SWIG_fail;
14227 }
14228 resultobj = SWIG_From_long(static_cast< long >(result));
14229 return resultobj;
14230fail:
14231 return NULL;
d55e5bfc
RD
14232}
14233
14234
554f62e9
RD
14235SWIGINTERN PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14236 PyObject *resultobj = 0;
14237 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
14238 long result;
14239 void *argp1 = 0 ;
14240 int res1 = 0 ;
14241 PyObject *swig_obj[1] ;
14242
14243 if (!args) SWIG_fail;
14244 swig_obj[0] = args;
14245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextUrlEvent, 0 | 0 );
14246 if (!SWIG_IsOK(res1)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14248 }
14249 arg1 = reinterpret_cast< wxTextUrlEvent * >(argp1);
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 resultobj = SWIG_From_long(static_cast< long >(result));
14257 return resultobj;
14258fail:
14259 return NULL;
d55e5bfc
RD
14260}
14261
14262
554f62e9
RD
14263SWIGINTERN PyObject *TextUrlEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14264 PyObject *obj;
14265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14266 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent, SWIG_NewClientData(obj));
14267 return SWIG_Py_Void();
d55e5bfc
RD
14268}
14269
554f62e9
RD
14270SWIGINTERN PyObject *TextUrlEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14271 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14272}
14273
554f62e9
RD
14274SWIGINTERN int ScrollBarNameStr_set(PyObject *) {
14275 SWIG_Error(SWIG_AttributeError,"Variable ScrollBarNameStr is read-only.");
14276 return 1;
d55e5bfc
RD
14277}
14278
14279
554f62e9
RD
14280SWIGINTERN PyObject *ScrollBarNameStr_get(void) {
14281 PyObject *pyobj = 0;
14282
14283 {
14284#if wxUSE_UNICODE
14285 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14286#else
14287 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
14288#endif
14289 }
14290 return pyobj;
14291}
14292
14293
14294SWIGINTERN PyObject *_wrap_new_ScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14295 PyObject *resultobj = 0;
14296 wxWindow *arg1 = (wxWindow *) 0 ;
14297 int arg2 = (int) -1 ;
14298 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14299 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14300 wxSize const &arg4_defvalue = wxDefaultSize ;
14301 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14302 long arg5 = (long) wxSB_HORIZONTAL ;
14303 wxValidator const &arg6_defvalue = wxDefaultValidator ;
14304 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
14305 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
14306 wxString *arg7 = (wxString *) &arg7_defvalue ;
14307 wxScrollBar *result = 0 ;
14308 void *argp1 = 0 ;
14309 int res1 = 0 ;
14310 int val2 ;
14311 int ecode2 = 0 ;
14312 wxPoint temp3 ;
14313 wxSize temp4 ;
14314 long val5 ;
14315 int ecode5 = 0 ;
14316 void *argp6 = 0 ;
14317 int res6 = 0 ;
14318 bool temp7 = false ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 PyObject * obj2 = 0 ;
14322 PyObject * obj3 = 0 ;
14323 PyObject * obj4 = 0 ;
14324 PyObject * obj5 = 0 ;
14325 PyObject * obj6 = 0 ;
14326 char * kwnames[] = {
14327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14328 };
14329
14330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14334 }
14335 arg1 = reinterpret_cast< wxWindow * >(argp1);
14336 if (obj1) {
14337 ecode2 = SWIG_AsVal_int(obj1, &val2);
14338 if (!SWIG_IsOK(ecode2)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14340 }
14341 arg2 = static_cast< int >(val2);
14342 }
14343 if (obj2) {
d55e5bfc 14344 {
554f62e9
RD
14345 arg3 = &temp3;
14346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14347 }
554f62e9
RD
14348 }
14349 if (obj3) {
d55e5bfc 14350 {
554f62e9
RD
14351 arg4 = &temp4;
14352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14353 }
554f62e9
RD
14354 }
14355 if (obj4) {
14356 ecode5 = SWIG_AsVal_long(obj4, &val5);
14357 if (!SWIG_IsOK(ecode5)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14359 }
14360 arg5 = static_cast< long >(val5);
14361 }
14362 if (obj5) {
14363 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
14364 if (!SWIG_IsOK(res6)) {
14365 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14366 }
14367 if (!argp6) {
14368 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 14369 }
554f62e9
RD
14370 arg6 = reinterpret_cast< wxValidator * >(argp6);
14371 }
14372 if (obj6) {
d55e5bfc 14373 {
554f62e9
RD
14374 arg7 = wxString_in_helper(obj6);
14375 if (arg7 == NULL) SWIG_fail;
14376 temp7 = true;
d55e5bfc 14377 }
554f62e9
RD
14378 }
14379 {
14380 if (!wxPyCheckForApp()) SWIG_fail;
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_NEW | 0 );
14387 {
14388 if (temp7)
14389 delete arg7;
14390 }
14391 return resultobj;
14392fail:
14393 {
14394 if (temp7)
14395 delete arg7;
14396 }
14397 return NULL;
d55e5bfc
RD
14398}
14399
14400
554f62e9
RD
14401SWIGINTERN PyObject *_wrap_new_PreScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14402 PyObject *resultobj = 0;
14403 wxScrollBar *result = 0 ;
14404
14405 if (!SWIG_Python_UnpackTuple(args,"new_PreScrollBar",0,0,0)) SWIG_fail;
14406 {
14407 if (!wxPyCheckForApp()) SWIG_fail;
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (wxScrollBar *)new wxScrollBar();
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, SWIG_POINTER_OWN | 0 );
14414 return resultobj;
14415fail:
14416 return NULL;
14417}
14418
14419
14420SWIGINTERN PyObject *_wrap_ScrollBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj = 0;
14422 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14423 wxWindow *arg2 = (wxWindow *) 0 ;
14424 int arg3 = (int) -1 ;
14425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14427 wxSize const &arg5_defvalue = wxDefaultSize ;
14428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14429 long arg6 = (long) wxSB_HORIZONTAL ;
14430 wxValidator const &arg7_defvalue = wxDefaultValidator ;
14431 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
14432 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
14433 wxString *arg8 = (wxString *) &arg8_defvalue ;
14434 bool result;
14435 void *argp1 = 0 ;
14436 int res1 = 0 ;
14437 void *argp2 = 0 ;
14438 int res2 = 0 ;
14439 int val3 ;
14440 int ecode3 = 0 ;
14441 wxPoint temp4 ;
14442 wxSize temp5 ;
14443 long val6 ;
14444 int ecode6 = 0 ;
14445 void *argp7 = 0 ;
14446 int res7 = 0 ;
14447 bool temp8 = false ;
14448 PyObject * obj0 = 0 ;
14449 PyObject * obj1 = 0 ;
14450 PyObject * obj2 = 0 ;
14451 PyObject * obj3 = 0 ;
14452 PyObject * obj4 = 0 ;
14453 PyObject * obj5 = 0 ;
14454 PyObject * obj6 = 0 ;
14455 PyObject * obj7 = 0 ;
14456 char * kwnames[] = {
14457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14458 };
14459
14460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
14461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14462 if (!SWIG_IsOK(res1)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14464 }
14465 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14466 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14467 if (!SWIG_IsOK(res2)) {
14468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14469 }
14470 arg2 = reinterpret_cast< wxWindow * >(argp2);
14471 if (obj2) {
14472 ecode3 = SWIG_AsVal_int(obj2, &val3);
14473 if (!SWIG_IsOK(ecode3)) {
14474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14475 }
14476 arg3 = static_cast< int >(val3);
14477 }
14478 if (obj3) {
d55e5bfc 14479 {
554f62e9
RD
14480 arg4 = &temp4;
14481 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14482 }
554f62e9
RD
14483 }
14484 if (obj4) {
093d3ff1 14485 {
554f62e9
RD
14486 arg5 = &temp5;
14487 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 14488 }
554f62e9
RD
14489 }
14490 if (obj5) {
14491 ecode6 = SWIG_AsVal_long(obj5, &val6);
14492 if (!SWIG_IsOK(ecode6)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14494 }
14495 arg6 = static_cast< long >(val6);
14496 }
14497 if (obj6) {
14498 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
14499 if (!SWIG_IsOK(res7)) {
14500 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
a07a67e6 14501 }
554f62e9
RD
14502 if (!argp7) {
14503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14504 }
14505 arg7 = reinterpret_cast< wxValidator * >(argp7);
14506 }
14507 if (obj7) {
093d3ff1 14508 {
554f62e9
RD
14509 arg8 = wxString_in_helper(obj7);
14510 if (arg8 == NULL) SWIG_fail;
14511 temp8 = true;
093d3ff1 14512 }
554f62e9
RD
14513 }
14514 {
14515 PyThreadState* __tstate = wxPyBeginAllowThreads();
14516 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 {
14521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14522 }
14523 {
14524 if (temp8)
14525 delete arg8;
14526 }
14527 return resultobj;
14528fail:
14529 {
14530 if (temp8)
14531 delete arg8;
14532 }
14533 return NULL;
a07a67e6
RD
14534}
14535
14536
554f62e9
RD
14537SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14538 PyObject *resultobj = 0;
14539 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14540 int result;
14541 void *argp1 = 0 ;
14542 int res1 = 0 ;
14543 PyObject *swig_obj[1] ;
14544
14545 if (!args) SWIG_fail;
14546 swig_obj[0] = args;
14547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14548 if (!SWIG_IsOK(res1)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14550 }
14551 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14552 {
14553 PyThreadState* __tstate = wxPyBeginAllowThreads();
14554 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 resultobj = SWIG_From_int(static_cast< int >(result));
14559 return resultobj;
14560fail:
14561 return NULL;
d55e5bfc
RD
14562}
14563
14564
554f62e9
RD
14565SWIGINTERN PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14566 PyObject *resultobj = 0;
14567 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14568 int result;
14569 void *argp1 = 0 ;
14570 int res1 = 0 ;
14571 PyObject *swig_obj[1] ;
14572
14573 if (!args) SWIG_fail;
14574 swig_obj[0] = args;
14575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14576 if (!SWIG_IsOK(res1)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14578 }
14579 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14580 {
14581 PyThreadState* __tstate = wxPyBeginAllowThreads();
14582 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 resultobj = SWIG_From_int(static_cast< int >(result));
14587 return resultobj;
14588fail:
14589 return NULL;
d55e5bfc
RD
14590}
14591
14592
554f62e9
RD
14593SWIGINTERN PyObject *_wrap_ScrollBar_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14594 PyObject *resultobj = 0;
14595 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14596 int result;
14597 void *argp1 = 0 ;
14598 int res1 = 0 ;
14599 PyObject *swig_obj[1] ;
14600
14601 if (!args) SWIG_fail;
14602 swig_obj[0] = args;
14603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14604 if (!SWIG_IsOK(res1)) {
14605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14606 }
14607 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14608 {
14609 PyThreadState* __tstate = wxPyBeginAllowThreads();
14610 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 resultobj = SWIG_From_int(static_cast< int >(result));
14615 return resultobj;
14616fail:
14617 return NULL;
d55e5bfc
RD
14618}
14619
14620
554f62e9
RD
14621SWIGINTERN PyObject *_wrap_ScrollBar_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14622 PyObject *resultobj = 0;
14623 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14624 int result;
14625 void *argp1 = 0 ;
14626 int res1 = 0 ;
14627 PyObject *swig_obj[1] ;
14628
14629 if (!args) SWIG_fail;
14630 swig_obj[0] = args;
14631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14632 if (!SWIG_IsOK(res1)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14634 }
14635 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 result = (int)((wxScrollBar const *)arg1)->GetRange();
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 resultobj = SWIG_From_int(static_cast< int >(result));
14643 return resultobj;
14644fail:
14645 return NULL;
d55e5bfc
RD
14646}
14647
14648
554f62e9
RD
14649SWIGINTERN PyObject *_wrap_ScrollBar_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14650 PyObject *resultobj = 0;
14651 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14652 bool result;
14653 void *argp1 = 0 ;
14654 int res1 = 0 ;
14655 PyObject *swig_obj[1] ;
14656
14657 if (!args) SWIG_fail;
14658 swig_obj[0] = args;
14659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14660 if (!SWIG_IsOK(res1)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14662 }
14663 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14664 {
14665 PyThreadState* __tstate = wxPyBeginAllowThreads();
14666 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 {
14671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14672 }
14673 return resultobj;
14674fail:
14675 return NULL;
14676}
14677
14678
14679SWIGINTERN PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj = 0;
14681 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
14682 int arg2 ;
14683 void *argp1 = 0 ;
14684 int res1 = 0 ;
14685 int val2 ;
14686 int ecode2 = 0 ;
14687 PyObject * obj0 = 0 ;
14688 PyObject * obj1 = 0 ;
14689 char * kwnames[] = {
14690 (char *) "self",(char *) "viewStart", NULL
14691 };
14692
14693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) SWIG_fail;
14694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrollBar, 0 | 0 );
14695 if (!SWIG_IsOK(res1)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14697 }
14698 arg1 = reinterpret_cast< wxScrollBar * >(argp1);
14699 ecode2 = SWIG_AsVal_int(obj1, &val2);
14700 if (!SWIG_IsOK(ecode2)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14702 }
14703 arg2 = static_cast< int >(val2);
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 (arg1)->SetThumbPosition(arg2);
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 resultobj = SWIG_Py_Void();
14711 return resultobj;
14712fail:
14713 return NULL;
14714}
14715
14716
14717SWIGINTERN PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj = 0;
14719 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
14720 SwigValueWrapper<wxVisualAttributes > result;
14721 int val1 ;
14722 int ecode1 = 0 ;
14723 PyObject * obj0 = 0 ;
14724 char * kwnames[] = {
14725 (char *) "variant", NULL
14726 };
14727
14728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
14729 if (obj0) {
14730 ecode1 = SWIG_AsVal_int(obj0, &val1);
14731 if (!SWIG_IsOK(ecode1)) {
14732 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14733 }
14734 arg1 = static_cast< wxWindowVariant >(val1);
14735 }
14736 {
14737 if (!wxPyCheckForApp()) SWIG_fail;
14738 PyThreadState* __tstate = wxPyBeginAllowThreads();
14739 result = wxScrollBar::GetClassDefaultAttributes(arg1);
14740 wxPyEndAllowThreads(__tstate);
14741 if (PyErr_Occurred()) SWIG_fail;
14742 }
14743 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
14744 return resultobj;
14745fail:
14746 return NULL;
d55e5bfc
RD
14747}
14748
14749
554f62e9
RD
14750SWIGINTERN PyObject *ScrollBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14751 PyObject *obj;
14752 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14753 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar, SWIG_NewClientData(obj));
14754 return SWIG_Py_Void();
d55e5bfc
RD
14755}
14756
554f62e9
RD
14757SWIGINTERN PyObject *ScrollBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14758 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14759}
14760
554f62e9
RD
14761SWIGINTERN int SPIN_BUTTON_NAME_set(PyObject *) {
14762 SWIG_Error(SWIG_AttributeError,"Variable SPIN_BUTTON_NAME is read-only.");
14763 return 1;
d55e5bfc
RD
14764}
14765
14766
554f62e9
RD
14767SWIGINTERN PyObject *SPIN_BUTTON_NAME_get(void) {
14768 PyObject *pyobj = 0;
14769
14770 {
d55e5bfc 14771#if wxUSE_UNICODE
554f62e9 14772 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14773#else
554f62e9 14774 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
d55e5bfc 14775#endif
554f62e9
RD
14776 }
14777 return pyobj;
d55e5bfc
RD
14778}
14779
14780
554f62e9
RD
14781SWIGINTERN int SpinCtrlNameStr_set(PyObject *) {
14782 SWIG_Error(SWIG_AttributeError,"Variable SpinCtrlNameStr is read-only.");
14783 return 1;
d55e5bfc
RD
14784}
14785
14786
554f62e9
RD
14787SWIGINTERN PyObject *SpinCtrlNameStr_get(void) {
14788 PyObject *pyobj = 0;
14789
14790 {
d55e5bfc 14791#if wxUSE_UNICODE
554f62e9 14792 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14793#else
554f62e9 14794 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
d55e5bfc 14795#endif
554f62e9
RD
14796 }
14797 return pyobj;
14798}
14799
14800
14801SWIGINTERN PyObject *_wrap_new_SpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14802 PyObject *resultobj = 0;
14803 wxWindow *arg1 = (wxWindow *) 0 ;
14804 int arg2 = (int) -1 ;
14805 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14806 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14807 wxSize const &arg4_defvalue = wxDefaultSize ;
14808 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14809 long arg5 = (long) wxSP_HORIZONTAL ;
14810 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
14811 wxString *arg6 = (wxString *) &arg6_defvalue ;
14812 wxSpinButton *result = 0 ;
14813 void *argp1 = 0 ;
14814 int res1 = 0 ;
14815 int val2 ;
14816 int ecode2 = 0 ;
14817 wxPoint temp3 ;
14818 wxSize temp4 ;
14819 long val5 ;
14820 int ecode5 = 0 ;
14821 bool temp6 = false ;
14822 PyObject * obj0 = 0 ;
14823 PyObject * obj1 = 0 ;
14824 PyObject * obj2 = 0 ;
14825 PyObject * obj3 = 0 ;
14826 PyObject * obj4 = 0 ;
14827 PyObject * obj5 = 0 ;
14828 char * kwnames[] = {
14829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14830 };
14831
14832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14834 if (!SWIG_IsOK(res1)) {
14835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14836 }
14837 arg1 = reinterpret_cast< wxWindow * >(argp1);
14838 if (obj1) {
14839 ecode2 = SWIG_AsVal_int(obj1, &val2);
14840 if (!SWIG_IsOK(ecode2)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14842 }
14843 arg2 = static_cast< int >(val2);
14844 }
14845 if (obj2) {
14846 {
14847 arg3 = &temp3;
14848 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14849 }
554f62e9
RD
14850 }
14851 if (obj3) {
d55e5bfc 14852 {
554f62e9
RD
14853 arg4 = &temp4;
14854 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14855 }
554f62e9
RD
14856 }
14857 if (obj4) {
14858 ecode5 = SWIG_AsVal_long(obj4, &val5);
14859 if (!SWIG_IsOK(ecode5)) {
14860 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14861 }
14862 arg5 = static_cast< long >(val5);
14863 }
14864 if (obj5) {
093d3ff1 14865 {
554f62e9
RD
14866 arg6 = wxString_in_helper(obj5);
14867 if (arg6 == NULL) SWIG_fail;
14868 temp6 = true;
093d3ff1 14869 }
554f62e9
RD
14870 }
14871 {
14872 if (!wxPyCheckForApp()) SWIG_fail;
14873 PyThreadState* __tstate = wxPyBeginAllowThreads();
14874 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14875 wxPyEndAllowThreads(__tstate);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_NEW | 0 );
14879 {
14880 if (temp6)
14881 delete arg6;
14882 }
14883 return resultobj;
14884fail:
14885 {
14886 if (temp6)
14887 delete arg6;
14888 }
14889 return NULL;
d55e5bfc
RD
14890}
14891
14892
554f62e9
RD
14893SWIGINTERN PyObject *_wrap_new_PreSpinButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14894 PyObject *resultobj = 0;
14895 wxSpinButton *result = 0 ;
14896
14897 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinButton",0,0,0)) SWIG_fail;
14898 {
14899 if (!wxPyCheckForApp()) SWIG_fail;
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 result = (wxSpinButton *)new wxSpinButton();
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinButton, SWIG_POINTER_OWN | 0 );
14906 return resultobj;
14907fail:
14908 return NULL;
14909}
14910
14911
14912SWIGINTERN PyObject *_wrap_SpinButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj = 0;
14914 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
14915 wxWindow *arg2 = (wxWindow *) 0 ;
14916 int arg3 = (int) -1 ;
14917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14919 wxSize const &arg5_defvalue = wxDefaultSize ;
14920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14921 long arg6 = (long) wxSP_HORIZONTAL ;
14922 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
14923 wxString *arg7 = (wxString *) &arg7_defvalue ;
14924 bool result;
14925 void *argp1 = 0 ;
14926 int res1 = 0 ;
14927 void *argp2 = 0 ;
14928 int res2 = 0 ;
14929 int val3 ;
14930 int ecode3 = 0 ;
14931 wxPoint temp4 ;
14932 wxSize temp5 ;
14933 long val6 ;
14934 int ecode6 = 0 ;
14935 bool temp7 = false ;
14936 PyObject * obj0 = 0 ;
14937 PyObject * obj1 = 0 ;
14938 PyObject * obj2 = 0 ;
14939 PyObject * obj3 = 0 ;
14940 PyObject * obj4 = 0 ;
14941 PyObject * obj5 = 0 ;
14942 PyObject * obj6 = 0 ;
14943 char * kwnames[] = {
14944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14945 };
14946
14947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
14949 if (!SWIG_IsOK(res1)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14951 }
14952 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
14953 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14954 if (!SWIG_IsOK(res2)) {
14955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14956 }
14957 arg2 = reinterpret_cast< wxWindow * >(argp2);
14958 if (obj2) {
14959 ecode3 = SWIG_AsVal_int(obj2, &val3);
14960 if (!SWIG_IsOK(ecode3)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14962 }
14963 arg3 = static_cast< int >(val3);
14964 }
14965 if (obj3) {
d55e5bfc 14966 {
554f62e9
RD
14967 arg4 = &temp4;
14968 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14969 }
554f62e9
RD
14970 }
14971 if (obj4) {
d55e5bfc 14972 {
554f62e9
RD
14973 arg5 = &temp5;
14974 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14975 }
554f62e9
RD
14976 }
14977 if (obj5) {
14978 ecode6 = SWIG_AsVal_long(obj5, &val6);
14979 if (!SWIG_IsOK(ecode6)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14981 }
14982 arg6 = static_cast< long >(val6);
14983 }
14984 if (obj6) {
d55e5bfc 14985 {
554f62e9
RD
14986 arg7 = wxString_in_helper(obj6);
14987 if (arg7 == NULL) SWIG_fail;
14988 temp7 = true;
d55e5bfc 14989 }
554f62e9
RD
14990 }
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 {
14998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14999 }
15000 {
15001 if (temp7)
15002 delete arg7;
15003 }
15004 return resultobj;
15005fail:
15006 {
15007 if (temp7)
15008 delete arg7;
15009 }
15010 return NULL;
d55e5bfc
RD
15011}
15012
15013
554f62e9
RD
15014SWIGINTERN PyObject *_wrap_SpinButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15015 PyObject *resultobj = 0;
15016 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15017 int result;
15018 void *argp1 = 0 ;
15019 int res1 = 0 ;
15020 PyObject *swig_obj[1] ;
15021
15022 if (!args) SWIG_fail;
15023 swig_obj[0] = args;
15024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15025 if (!SWIG_IsOK(res1)) {
15026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15027 }
15028 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 result = (int)((wxSpinButton const *)arg1)->GetValue();
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 resultobj = SWIG_From_int(static_cast< int >(result));
15036 return resultobj;
15037fail:
15038 return NULL;
d55e5bfc
RD
15039}
15040
15041
554f62e9
RD
15042SWIGINTERN PyObject *_wrap_SpinButton_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15043 PyObject *resultobj = 0;
15044 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15045 int result;
15046 void *argp1 = 0 ;
15047 int res1 = 0 ;
15048 PyObject *swig_obj[1] ;
15049
15050 if (!args) SWIG_fail;
15051 swig_obj[0] = args;
15052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15053 if (!SWIG_IsOK(res1)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15055 }
15056 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (int)((wxSpinButton const *)arg1)->GetMin();
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = SWIG_From_int(static_cast< int >(result));
15064 return resultobj;
15065fail:
15066 return NULL;
d55e5bfc
RD
15067}
15068
15069
554f62e9
RD
15070SWIGINTERN PyObject *_wrap_SpinButton_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15071 PyObject *resultobj = 0;
15072 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15073 int result;
15074 void *argp1 = 0 ;
15075 int res1 = 0 ;
15076 PyObject *swig_obj[1] ;
15077
15078 if (!args) SWIG_fail;
15079 swig_obj[0] = args;
15080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15081 if (!SWIG_IsOK(res1)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15083 }
15084 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 result = (int)((wxSpinButton const *)arg1)->GetMax();
15088 wxPyEndAllowThreads(__tstate);
15089 if (PyErr_Occurred()) SWIG_fail;
15090 }
15091 resultobj = SWIG_From_int(static_cast< int >(result));
15092 return resultobj;
15093fail:
15094 return NULL;
15095}
15096
15097
15098SWIGINTERN PyObject *_wrap_SpinButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj = 0;
15100 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15101 int arg2 ;
15102 void *argp1 = 0 ;
15103 int res1 = 0 ;
15104 int val2 ;
15105 int ecode2 = 0 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "val", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15116 }
15117 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15118 ecode2 = SWIG_AsVal_int(obj1, &val2);
15119 if (!SWIG_IsOK(ecode2)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15121 }
15122 arg2 = static_cast< int >(val2);
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 (arg1)->SetValue(arg2);
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 resultobj = SWIG_Py_Void();
15130 return resultobj;
15131fail:
15132 return NULL;
15133}
15134
15135
15136SWIGINTERN PyObject *_wrap_SpinButton_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15137 PyObject *resultobj = 0;
15138 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15139 int arg2 ;
15140 void *argp1 = 0 ;
15141 int res1 = 0 ;
15142 int val2 ;
15143 int ecode2 = 0 ;
15144 PyObject * obj0 = 0 ;
15145 PyObject * obj1 = 0 ;
15146 char * kwnames[] = {
15147 (char *) "self",(char *) "minVal", NULL
15148 };
15149
15150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
15151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15152 if (!SWIG_IsOK(res1)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15154 }
15155 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15156 ecode2 = SWIG_AsVal_int(obj1, &val2);
15157 if (!SWIG_IsOK(ecode2)) {
15158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15159 }
15160 arg2 = static_cast< int >(val2);
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->SetMin(arg2);
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 resultobj = SWIG_Py_Void();
15168 return resultobj;
15169fail:
15170 return NULL;
15171}
15172
15173
15174SWIGINTERN PyObject *_wrap_SpinButton_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj = 0;
15176 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15177 int arg2 ;
15178 void *argp1 = 0 ;
15179 int res1 = 0 ;
15180 int val2 ;
15181 int ecode2 = 0 ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 char * kwnames[] = {
15185 (char *) "self",(char *) "maxVal", NULL
15186 };
15187
15188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
15189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15190 if (!SWIG_IsOK(res1)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15192 }
15193 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15194 ecode2 = SWIG_AsVal_int(obj1, &val2);
15195 if (!SWIG_IsOK(ecode2)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15197 }
15198 arg2 = static_cast< int >(val2);
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 (arg1)->SetMax(arg2);
15202 wxPyEndAllowThreads(__tstate);
15203 if (PyErr_Occurred()) SWIG_fail;
15204 }
15205 resultobj = SWIG_Py_Void();
15206 return resultobj;
15207fail:
15208 return NULL;
15209}
15210
15211
15212SWIGINTERN PyObject *_wrap_SpinButton_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj = 0;
15214 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15215 int arg2 ;
15216 int arg3 ;
15217 void *argp1 = 0 ;
15218 int res1 = 0 ;
15219 int val2 ;
15220 int ecode2 = 0 ;
15221 int val3 ;
15222 int ecode3 = 0 ;
15223 PyObject * obj0 = 0 ;
15224 PyObject * obj1 = 0 ;
15225 PyObject * obj2 = 0 ;
15226 char * kwnames[] = {
15227 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15228 };
15229
15230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15232 if (!SWIG_IsOK(res1)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15234 }
15235 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15236 ecode2 = SWIG_AsVal_int(obj1, &val2);
15237 if (!SWIG_IsOK(ecode2)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15239 }
15240 arg2 = static_cast< int >(val2);
15241 ecode3 = SWIG_AsVal_int(obj2, &val3);
15242 if (!SWIG_IsOK(ecode3)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15244 }
15245 arg3 = static_cast< int >(val3);
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 (arg1)->SetRange(arg2,arg3);
15249 wxPyEndAllowThreads(__tstate);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 resultobj = SWIG_Py_Void();
15253 return resultobj;
15254fail:
15255 return NULL;
d55e5bfc
RD
15256}
15257
15258
554f62e9
RD
15259SWIGINTERN PyObject *_wrap_SpinButton_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15260 PyObject *resultobj = 0;
15261 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
15262 bool result;
15263 void *argp1 = 0 ;
15264 int res1 = 0 ;
15265 PyObject *swig_obj[1] ;
15266
15267 if (!args) SWIG_fail;
15268 swig_obj[0] = args;
15269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinButton, 0 | 0 );
15270 if (!SWIG_IsOK(res1)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15272 }
15273 arg1 = reinterpret_cast< wxSpinButton * >(argp1);
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 {
15281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15282 }
15283 return resultobj;
15284fail:
15285 return NULL;
d55e5bfc
RD
15286}
15287
15288
554f62e9
RD
15289SWIGINTERN PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj = 0;
15291 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15292 SwigValueWrapper<wxVisualAttributes > result;
15293 int val1 ;
15294 int ecode1 = 0 ;
15295 PyObject * obj0 = 0 ;
15296 char * kwnames[] = {
15297 (char *) "variant", NULL
15298 };
15299
15300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15301 if (obj0) {
15302 ecode1 = SWIG_AsVal_int(obj0, &val1);
15303 if (!SWIG_IsOK(ecode1)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15305 }
15306 arg1 = static_cast< wxWindowVariant >(val1);
15307 }
15308 {
15309 if (!wxPyCheckForApp()) SWIG_fail;
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = wxSpinButton::GetClassDefaultAttributes(arg1);
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15316 return resultobj;
15317fail:
15318 return NULL;
15319}
15320
15321
15322SWIGINTERN PyObject *SpinButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15323 PyObject *obj;
15324 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15325 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton, SWIG_NewClientData(obj));
15326 return SWIG_Py_Void();
15327}
15328
15329SWIGINTERN PyObject *SpinButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15330 return SWIG_Python_InitShadowInstance(args);
15331}
15332
15333SWIGINTERN PyObject *_wrap_new_SpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj = 0;
15335 wxWindow *arg1 = (wxWindow *) 0 ;
15336 int arg2 = (int) -1 ;
15337 wxString const &arg3_defvalue = wxPyEmptyString ;
15338 wxString *arg3 = (wxString *) &arg3_defvalue ;
15339 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15340 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15341 wxSize const &arg5_defvalue = wxDefaultSize ;
15342 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15343 long arg6 = (long) wxSP_ARROW_KEYS ;
15344 int arg7 = (int) 0 ;
15345 int arg8 = (int) 100 ;
15346 int arg9 = (int) 0 ;
15347 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
15348 wxString *arg10 = (wxString *) &arg10_defvalue ;
15349 wxSpinCtrl *result = 0 ;
15350 void *argp1 = 0 ;
15351 int res1 = 0 ;
15352 int val2 ;
15353 int ecode2 = 0 ;
15354 bool temp3 = false ;
15355 wxPoint temp4 ;
15356 wxSize temp5 ;
15357 long val6 ;
15358 int ecode6 = 0 ;
15359 int val7 ;
15360 int ecode7 = 0 ;
15361 int val8 ;
15362 int ecode8 = 0 ;
15363 int val9 ;
15364 int ecode9 = 0 ;
15365 bool temp10 = false ;
15366 PyObject * obj0 = 0 ;
15367 PyObject * obj1 = 0 ;
15368 PyObject * obj2 = 0 ;
15369 PyObject * obj3 = 0 ;
15370 PyObject * obj4 = 0 ;
15371 PyObject * obj5 = 0 ;
15372 PyObject * obj6 = 0 ;
15373 PyObject * obj7 = 0 ;
15374 PyObject * obj8 = 0 ;
15375 PyObject * obj9 = 0 ;
15376 char * kwnames[] = {
15377 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15378 };
15379
15380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
15381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15382 if (!SWIG_IsOK(res1)) {
15383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15384 }
15385 arg1 = reinterpret_cast< wxWindow * >(argp1);
15386 if (obj1) {
15387 ecode2 = SWIG_AsVal_int(obj1, &val2);
15388 if (!SWIG_IsOK(ecode2)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15390 }
15391 arg2 = static_cast< int >(val2);
15392 }
15393 if (obj2) {
d55e5bfc 15394 {
554f62e9
RD
15395 arg3 = wxString_in_helper(obj2);
15396 if (arg3 == NULL) SWIG_fail;
15397 temp3 = true;
d55e5bfc 15398 }
554f62e9
RD
15399 }
15400 if (obj3) {
d55e5bfc 15401 {
554f62e9
RD
15402 arg4 = &temp4;
15403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 15404 }
554f62e9
RD
15405 }
15406 if (obj4) {
d55e5bfc 15407 {
554f62e9
RD
15408 arg5 = &temp5;
15409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15410 }
554f62e9
RD
15411 }
15412 if (obj5) {
15413 ecode6 = SWIG_AsVal_long(obj5, &val6);
15414 if (!SWIG_IsOK(ecode6)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15416 }
15417 arg6 = static_cast< long >(val6);
15418 }
15419 if (obj6) {
15420 ecode7 = SWIG_AsVal_int(obj6, &val7);
15421 if (!SWIG_IsOK(ecode7)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15423 }
15424 arg7 = static_cast< int >(val7);
15425 }
15426 if (obj7) {
15427 ecode8 = SWIG_AsVal_int(obj7, &val8);
15428 if (!SWIG_IsOK(ecode8)) {
15429 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15430 }
15431 arg8 = static_cast< int >(val8);
15432 }
15433 if (obj8) {
15434 ecode9 = SWIG_AsVal_int(obj8, &val9);
15435 if (!SWIG_IsOK(ecode9)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15437 }
15438 arg9 = static_cast< int >(val9);
15439 }
15440 if (obj9) {
d55e5bfc 15441 {
554f62e9
RD
15442 arg10 = wxString_in_helper(obj9);
15443 if (arg10 == NULL) SWIG_fail;
15444 temp10 = true;
d55e5bfc 15445 }
554f62e9
RD
15446 }
15447 {
15448 if (!wxPyCheckForApp()) SWIG_fail;
15449 PyThreadState* __tstate = wxPyBeginAllowThreads();
15450 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
15451 wxPyEndAllowThreads(__tstate);
15452 if (PyErr_Occurred()) SWIG_fail;
15453 }
15454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_NEW | 0 );
15455 {
15456 if (temp3)
15457 delete arg3;
15458 }
15459 {
15460 if (temp10)
15461 delete arg10;
15462 }
15463 return resultobj;
15464fail:
15465 {
15466 if (temp3)
15467 delete arg3;
15468 }
15469 {
15470 if (temp10)
15471 delete arg10;
15472 }
15473 return NULL;
d55e5bfc
RD
15474}
15475
15476
554f62e9
RD
15477SWIGINTERN PyObject *_wrap_new_PreSpinCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15478 PyObject *resultobj = 0;
15479 wxSpinCtrl *result = 0 ;
15480
15481 if (!SWIG_Python_UnpackTuple(args,"new_PreSpinCtrl",0,0,0)) SWIG_fail;
15482 {
15483 if (!wxPyCheckForApp()) SWIG_fail;
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 result = (wxSpinCtrl *)new wxSpinCtrl();
15486 wxPyEndAllowThreads(__tstate);
15487 if (PyErr_Occurred()) SWIG_fail;
15488 }
15489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinCtrl, SWIG_POINTER_OWN | 0 );
15490 return resultobj;
15491fail:
15492 return NULL;
15493}
15494
15495
15496SWIGINTERN PyObject *_wrap_SpinCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15497 PyObject *resultobj = 0;
15498 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15499 wxWindow *arg2 = (wxWindow *) 0 ;
15500 int arg3 = (int) -1 ;
15501 wxString const &arg4_defvalue = wxPyEmptyString ;
15502 wxString *arg4 = (wxString *) &arg4_defvalue ;
15503 wxPoint const &arg5_defvalue = wxDefaultPosition ;
15504 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
15505 wxSize const &arg6_defvalue = wxDefaultSize ;
15506 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
15507 long arg7 = (long) wxSP_ARROW_KEYS ;
15508 int arg8 = (int) 0 ;
15509 int arg9 = (int) 100 ;
15510 int arg10 = (int) 0 ;
15511 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
15512 wxString *arg11 = (wxString *) &arg11_defvalue ;
15513 bool result;
15514 void *argp1 = 0 ;
15515 int res1 = 0 ;
15516 void *argp2 = 0 ;
15517 int res2 = 0 ;
15518 int val3 ;
15519 int ecode3 = 0 ;
15520 bool temp4 = false ;
15521 wxPoint temp5 ;
15522 wxSize temp6 ;
15523 long val7 ;
15524 int ecode7 = 0 ;
15525 int val8 ;
15526 int ecode8 = 0 ;
15527 int val9 ;
15528 int ecode9 = 0 ;
15529 int val10 ;
15530 int ecode10 = 0 ;
15531 bool temp11 = false ;
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 PyObject * obj2 = 0 ;
15535 PyObject * obj3 = 0 ;
15536 PyObject * obj4 = 0 ;
15537 PyObject * obj5 = 0 ;
15538 PyObject * obj6 = 0 ;
15539 PyObject * obj7 = 0 ;
15540 PyObject * obj8 = 0 ;
15541 PyObject * obj9 = 0 ;
15542 PyObject * obj10 = 0 ;
15543 char * kwnames[] = {
15544 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15545 };
15546
15547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
15548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15549 if (!SWIG_IsOK(res1)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15551 }
15552 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15554 if (!SWIG_IsOK(res2)) {
15555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15556 }
15557 arg2 = reinterpret_cast< wxWindow * >(argp2);
15558 if (obj2) {
15559 ecode3 = SWIG_AsVal_int(obj2, &val3);
15560 if (!SWIG_IsOK(ecode3)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15562 }
15563 arg3 = static_cast< int >(val3);
15564 }
15565 if (obj3) {
093d3ff1 15566 {
554f62e9
RD
15567 arg4 = wxString_in_helper(obj3);
15568 if (arg4 == NULL) SWIG_fail;
15569 temp4 = true;
093d3ff1 15570 }
554f62e9
RD
15571 }
15572 if (obj4) {
093d3ff1 15573 {
554f62e9
RD
15574 arg5 = &temp5;
15575 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 15576 }
554f62e9
RD
15577 }
15578 if (obj5) {
d55e5bfc 15579 {
554f62e9
RD
15580 arg6 = &temp6;
15581 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 15582 }
554f62e9
RD
15583 }
15584 if (obj6) {
15585 ecode7 = SWIG_AsVal_long(obj6, &val7);
15586 if (!SWIG_IsOK(ecode7)) {
15587 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15588 }
15589 arg7 = static_cast< long >(val7);
15590 }
15591 if (obj7) {
15592 ecode8 = SWIG_AsVal_int(obj7, &val8);
15593 if (!SWIG_IsOK(ecode8)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15595 }
15596 arg8 = static_cast< int >(val8);
15597 }
15598 if (obj8) {
15599 ecode9 = SWIG_AsVal_int(obj8, &val9);
15600 if (!SWIG_IsOK(ecode9)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15602 }
15603 arg9 = static_cast< int >(val9);
15604 }
15605 if (obj9) {
15606 ecode10 = SWIG_AsVal_int(obj9, &val10);
15607 if (!SWIG_IsOK(ecode10)) {
15608 SWIG_exception_fail(SWIG_ArgError(ecode10), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15609 }
15610 arg10 = static_cast< int >(val10);
15611 }
15612 if (obj10) {
15613 {
15614 arg11 = wxString_in_helper(obj10);
15615 if (arg11 == NULL) SWIG_fail;
15616 temp11 = true;
15617 }
15618 }
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 {
15626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15627 }
15628 {
15629 if (temp4)
15630 delete arg4;
15631 }
15632 {
15633 if (temp11)
15634 delete arg11;
15635 }
15636 return resultobj;
15637fail:
15638 {
15639 if (temp4)
15640 delete arg4;
15641 }
15642 {
15643 if (temp11)
15644 delete arg11;
15645 }
15646 return NULL;
d55e5bfc
RD
15647}
15648
15649
554f62e9
RD
15650SWIGINTERN PyObject *_wrap_SpinCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15651 PyObject *resultobj = 0;
15652 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15653 int result;
15654 void *argp1 = 0 ;
15655 int res1 = 0 ;
15656 PyObject *swig_obj[1] ;
15657
15658 if (!args) SWIG_fail;
15659 swig_obj[0] = args;
15660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15661 if (!SWIG_IsOK(res1)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15663 }
15664 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15665 {
15666 PyThreadState* __tstate = wxPyBeginAllowThreads();
15667 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 resultobj = SWIG_From_int(static_cast< int >(result));
15672 return resultobj;
15673fail:
15674 return NULL;
15675}
15676
15677
15678SWIGINTERN PyObject *_wrap_SpinCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj = 0;
15680 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15681 int arg2 ;
15682 void *argp1 = 0 ;
15683 int res1 = 0 ;
15684 int val2 ;
15685 int ecode2 = 0 ;
15686 PyObject * obj0 = 0 ;
15687 PyObject * obj1 = 0 ;
15688 char * kwnames[] = {
15689 (char *) "self",(char *) "value", NULL
15690 };
15691
15692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
15693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15694 if (!SWIG_IsOK(res1)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15696 }
15697 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15698 ecode2 = SWIG_AsVal_int(obj1, &val2);
15699 if (!SWIG_IsOK(ecode2)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15701 }
15702 arg2 = static_cast< int >(val2);
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 (arg1)->SetValue(arg2);
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 resultobj = SWIG_Py_Void();
15710 return resultobj;
15711fail:
15712 return NULL;
15713}
15714
15715
15716SWIGINTERN PyObject *_wrap_SpinCtrl_SetValueString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj = 0;
15718 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15719 wxString *arg2 = 0 ;
15720 void *argp1 = 0 ;
15721 int res1 = 0 ;
15722 bool temp2 = false ;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 char * kwnames[] = {
15726 (char *) "self",(char *) "text", NULL
15727 };
15728
15729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) SWIG_fail;
15730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15731 if (!SWIG_IsOK(res1)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15733 }
15734 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15735 {
15736 arg2 = wxString_in_helper(obj1);
15737 if (arg2 == NULL) SWIG_fail;
15738 temp2 = true;
15739 }
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 (arg1)->SetValue((wxString const &)*arg2);
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = SWIG_Py_Void();
15747 {
15748 if (temp2)
15749 delete arg2;
15750 }
15751 return resultobj;
15752fail:
15753 {
15754 if (temp2)
15755 delete arg2;
15756 }
15757 return NULL;
15758}
15759
15760
15761SWIGINTERN PyObject *_wrap_SpinCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj = 0;
15763 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15764 int arg2 ;
15765 int arg3 ;
15766 void *argp1 = 0 ;
15767 int res1 = 0 ;
15768 int val2 ;
15769 int ecode2 = 0 ;
15770 int val3 ;
15771 int ecode3 = 0 ;
15772 PyObject * obj0 = 0 ;
15773 PyObject * obj1 = 0 ;
15774 PyObject * obj2 = 0 ;
15775 char * kwnames[] = {
15776 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15777 };
15778
15779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15781 if (!SWIG_IsOK(res1)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15783 }
15784 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15785 ecode2 = SWIG_AsVal_int(obj1, &val2);
15786 if (!SWIG_IsOK(ecode2)) {
15787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15788 }
15789 arg2 = static_cast< int >(val2);
15790 ecode3 = SWIG_AsVal_int(obj2, &val3);
15791 if (!SWIG_IsOK(ecode3)) {
15792 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15793 }
15794 arg3 = static_cast< int >(val3);
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetRange(arg2,arg3);
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 resultobj = SWIG_Py_Void();
15802 return resultobj;
15803fail:
15804 return NULL;
d55e5bfc
RD
15805}
15806
15807
554f62e9
RD
15808SWIGINTERN PyObject *_wrap_SpinCtrl_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15809 PyObject *resultobj = 0;
15810 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15811 int result;
15812 void *argp1 = 0 ;
15813 int res1 = 0 ;
15814 PyObject *swig_obj[1] ;
15815
15816 if (!args) SWIG_fail;
15817 swig_obj[0] = args;
15818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15819 if (!SWIG_IsOK(res1)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15821 }
15822 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15823 {
15824 PyThreadState* __tstate = wxPyBeginAllowThreads();
15825 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 resultobj = SWIG_From_int(static_cast< int >(result));
15830 return resultobj;
15831fail:
15832 return NULL;
d55e5bfc
RD
15833}
15834
15835
554f62e9
RD
15836SWIGINTERN PyObject *_wrap_SpinCtrl_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15837 PyObject *resultobj = 0;
15838 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15839 int result;
15840 void *argp1 = 0 ;
15841 int res1 = 0 ;
15842 PyObject *swig_obj[1] ;
15843
15844 if (!args) SWIG_fail;
15845 swig_obj[0] = args;
15846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15847 if (!SWIG_IsOK(res1)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15849 }
15850 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 resultobj = SWIG_From_int(static_cast< int >(result));
15858 return resultobj;
15859fail:
15860 return NULL;
15861}
15862
15863
15864SWIGINTERN PyObject *_wrap_SpinCtrl_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15865 PyObject *resultobj = 0;
15866 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
15867 long arg2 ;
15868 long arg3 ;
15869 void *argp1 = 0 ;
15870 int res1 = 0 ;
15871 long val2 ;
15872 int ecode2 = 0 ;
15873 long val3 ;
15874 int ecode3 = 0 ;
15875 PyObject * obj0 = 0 ;
15876 PyObject * obj1 = 0 ;
15877 PyObject * obj2 = 0 ;
15878 char * kwnames[] = {
f460c29d 15879 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15880 };
15881
15882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinCtrl, 0 | 0 );
15884 if (!SWIG_IsOK(res1)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15886 }
15887 arg1 = reinterpret_cast< wxSpinCtrl * >(argp1);
15888 ecode2 = SWIG_AsVal_long(obj1, &val2);
15889 if (!SWIG_IsOK(ecode2)) {
15890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15891 }
15892 arg2 = static_cast< long >(val2);
15893 ecode3 = SWIG_AsVal_long(obj2, &val3);
15894 if (!SWIG_IsOK(ecode3)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15896 }
15897 arg3 = static_cast< long >(val3);
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 (arg1)->SetSelection(arg2,arg3);
15901 wxPyEndAllowThreads(__tstate);
15902 if (PyErr_Occurred()) SWIG_fail;
15903 }
15904 resultobj = SWIG_Py_Void();
15905 return resultobj;
15906fail:
15907 return NULL;
15908}
15909
15910
15911SWIGINTERN PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15912 PyObject *resultobj = 0;
15913 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
15914 SwigValueWrapper<wxVisualAttributes > result;
15915 int val1 ;
15916 int ecode1 = 0 ;
15917 PyObject * obj0 = 0 ;
15918 char * kwnames[] = {
15919 (char *) "variant", NULL
15920 };
15921
15922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
15923 if (obj0) {
15924 ecode1 = SWIG_AsVal_int(obj0, &val1);
15925 if (!SWIG_IsOK(ecode1)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15927 }
15928 arg1 = static_cast< wxWindowVariant >(val1);
15929 }
15930 {
15931 if (!wxPyCheckForApp()) SWIG_fail;
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = wxSpinCtrl::GetClassDefaultAttributes(arg1);
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
15938 return resultobj;
15939fail:
15940 return NULL;
d55e5bfc
RD
15941}
15942
15943
554f62e9
RD
15944SWIGINTERN PyObject *SpinCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15945 PyObject *obj;
15946 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15947 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl, SWIG_NewClientData(obj));
15948 return SWIG_Py_Void();
d55e5bfc
RD
15949}
15950
554f62e9
RD
15951SWIGINTERN PyObject *SpinCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15952 return SWIG_Python_InitShadowInstance(args);
15953}
d55e5bfc 15954
554f62e9
RD
15955SWIGINTERN PyObject *_wrap_new_SpinEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj = 0;
15957 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15958 int arg2 = (int) 0 ;
15959 wxSpinEvent *result = 0 ;
15960 int val1 ;
15961 int ecode1 = 0 ;
15962 int val2 ;
15963 int ecode2 = 0 ;
15964 PyObject * obj0 = 0 ;
15965 PyObject * obj1 = 0 ;
15966 char * kwnames[] = {
15967 (char *) "commandType",(char *) "winid", NULL
15968 };
15969
15970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15971 if (obj0) {
15972 ecode1 = SWIG_AsVal_int(obj0, &val1);
15973 if (!SWIG_IsOK(ecode1)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15975 }
15976 arg1 = static_cast< wxEventType >(val1);
15977 }
15978 if (obj1) {
15979 ecode2 = SWIG_AsVal_int(obj1, &val2);
15980 if (!SWIG_IsOK(ecode2)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15982 }
15983 arg2 = static_cast< int >(val2);
15984 }
15985 {
15986 PyThreadState* __tstate = wxPyBeginAllowThreads();
15987 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSpinEvent, SWIG_POINTER_NEW | 0 );
15992 return resultobj;
15993fail:
15994 return NULL;
d55e5bfc
RD
15995}
15996
15997
554f62e9
RD
15998SWIGINTERN PyObject *_wrap_SpinEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15999 PyObject *resultobj = 0;
16000 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16001 int result;
16002 void *argp1 = 0 ;
16003 int res1 = 0 ;
16004 PyObject *swig_obj[1] ;
16005
16006 if (!args) SWIG_fail;
16007 swig_obj[0] = args;
16008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16009 if (!SWIG_IsOK(res1)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16011 }
16012 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
16016 wxPyEndAllowThreads(__tstate);
16017 if (PyErr_Occurred()) SWIG_fail;
16018 }
16019 resultobj = SWIG_From_int(static_cast< int >(result));
16020 return resultobj;
16021fail:
16022 return NULL;
16023}
16024
16025
16026SWIGINTERN PyObject *_wrap_SpinEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16027 PyObject *resultobj = 0;
16028 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
16029 int arg2 ;
16030 void *argp1 = 0 ;
16031 int res1 = 0 ;
16032 int val2 ;
16033 int ecode2 = 0 ;
16034 PyObject * obj0 = 0 ;
16035 PyObject * obj1 = 0 ;
16036 char * kwnames[] = {
16037 (char *) "self",(char *) "pos", NULL
16038 };
16039
16040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
16041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSpinEvent, 0 | 0 );
16042 if (!SWIG_IsOK(res1)) {
16043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16044 }
16045 arg1 = reinterpret_cast< wxSpinEvent * >(argp1);
16046 ecode2 = SWIG_AsVal_int(obj1, &val2);
16047 if (!SWIG_IsOK(ecode2)) {
16048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16049 }
16050 arg2 = static_cast< int >(val2);
16051 {
16052 PyThreadState* __tstate = wxPyBeginAllowThreads();
16053 (arg1)->SetPosition(arg2);
16054 wxPyEndAllowThreads(__tstate);
16055 if (PyErr_Occurred()) SWIG_fail;
16056 }
16057 resultobj = SWIG_Py_Void();
16058 return resultobj;
16059fail:
16060 return NULL;
d55e5bfc
RD
16061}
16062
16063
554f62e9
RD
16064SWIGINTERN PyObject *SpinEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16065 PyObject *obj;
16066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16067 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent, SWIG_NewClientData(obj));
16068 return SWIG_Py_Void();
d55e5bfc
RD
16069}
16070
554f62e9
RD
16071SWIGINTERN PyObject *SpinEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16072 return SWIG_Python_InitShadowInstance(args);
16073}
d55e5bfc 16074
554f62e9
RD
16075SWIGINTERN int RadioBoxNameStr_set(PyObject *) {
16076 SWIG_Error(SWIG_AttributeError,"Variable RadioBoxNameStr is read-only.");
16077 return 1;
d55e5bfc
RD
16078}
16079
16080
554f62e9
RD
16081SWIGINTERN PyObject *RadioBoxNameStr_get(void) {
16082 PyObject *pyobj = 0;
16083
16084 {
16085#if wxUSE_UNICODE
16086 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16087#else
16088 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
16089#endif
16090 }
16091 return pyobj;
d55e5bfc
RD
16092}
16093
16094
554f62e9
RD
16095SWIGINTERN int RadioButtonNameStr_set(PyObject *) {
16096 SWIG_Error(SWIG_AttributeError,"Variable RadioButtonNameStr is read-only.");
16097 return 1;
16098}
16099
16100
16101SWIGINTERN PyObject *RadioButtonNameStr_get(void) {
16102 PyObject *pyobj = 0;
16103
16104 {
16105#if wxUSE_UNICODE
16106 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16107#else
16108 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
16109#endif
16110 }
16111 return pyobj;
16112}
16113
16114
16115SWIGINTERN PyObject *_wrap_new_RadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj = 0;
16117 wxWindow *arg1 = (wxWindow *) 0 ;
16118 int arg2 = (int) -1 ;
16119 wxString const &arg3_defvalue = wxPyEmptyString ;
16120 wxString *arg3 = (wxString *) &arg3_defvalue ;
16121 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16122 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16123 wxSize const &arg5_defvalue = wxDefaultSize ;
16124 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16125 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16126 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16127 int arg7 = (int) 0 ;
16128 long arg8 = (long) wxRA_HORIZONTAL ;
16129 wxValidator const &arg9_defvalue = wxDefaultValidator ;
16130 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
16131 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
16132 wxString *arg10 = (wxString *) &arg10_defvalue ;
16133 wxRadioBox *result = 0 ;
16134 void *argp1 = 0 ;
16135 int res1 = 0 ;
16136 int val2 ;
16137 int ecode2 = 0 ;
16138 bool temp3 = false ;
16139 wxPoint temp4 ;
16140 wxSize temp5 ;
16141 bool temp6 = false ;
16142 int val7 ;
16143 int ecode7 = 0 ;
16144 long val8 ;
16145 int ecode8 = 0 ;
16146 void *argp9 = 0 ;
16147 int res9 = 0 ;
16148 bool temp10 = false ;
16149 PyObject * obj0 = 0 ;
16150 PyObject * obj1 = 0 ;
16151 PyObject * obj2 = 0 ;
16152 PyObject * obj3 = 0 ;
16153 PyObject * obj4 = 0 ;
16154 PyObject * obj5 = 0 ;
16155 PyObject * obj6 = 0 ;
16156 PyObject * obj7 = 0 ;
16157 PyObject * obj8 = 0 ;
16158 PyObject * obj9 = 0 ;
16159 char * kwnames[] = {
16160 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16161 };
16162
16163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
16164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16165 if (!SWIG_IsOK(res1)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16167 }
16168 arg1 = reinterpret_cast< wxWindow * >(argp1);
16169 if (obj1) {
16170 ecode2 = SWIG_AsVal_int(obj1, &val2);
16171 if (!SWIG_IsOK(ecode2)) {
16172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16173 }
16174 arg2 = static_cast< int >(val2);
16175 }
16176 if (obj2) {
093d3ff1 16177 {
554f62e9
RD
16178 arg3 = wxString_in_helper(obj2);
16179 if (arg3 == NULL) SWIG_fail;
16180 temp3 = true;
093d3ff1 16181 }
554f62e9
RD
16182 }
16183 if (obj3) {
093d3ff1 16184 {
554f62e9
RD
16185 arg4 = &temp4;
16186 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 16187 }
554f62e9
RD
16188 }
16189 if (obj4) {
d55e5bfc 16190 {
554f62e9
RD
16191 arg5 = &temp5;
16192 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16193 }
554f62e9
RD
16194 }
16195 if (obj5) {
d55e5bfc 16196 {
554f62e9
RD
16197 if (! PySequence_Check(obj5)) {
16198 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16199 SWIG_fail;
16200 }
16201 arg6 = new wxArrayString;
16202 temp6 = true;
16203 int i, len=PySequence_Length(obj5);
16204 for (i=0; i<len; i++) {
16205 PyObject* item = PySequence_GetItem(obj5, i);
16206 wxString* s = wxString_in_helper(item);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 arg6->Add(*s);
16209 delete s;
16210 Py_DECREF(item);
16211 }
d55e5bfc 16212 }
554f62e9
RD
16213 }
16214 if (obj6) {
16215 ecode7 = SWIG_AsVal_int(obj6, &val7);
16216 if (!SWIG_IsOK(ecode7)) {
16217 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16218 }
16219 arg7 = static_cast< int >(val7);
16220 }
16221 if (obj7) {
16222 ecode8 = SWIG_AsVal_long(obj7, &val8);
16223 if (!SWIG_IsOK(ecode8)) {
16224 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16225 }
16226 arg8 = static_cast< long >(val8);
16227 }
16228 if (obj8) {
16229 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
16230 if (!SWIG_IsOK(res9)) {
16231 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16232 }
554f62e9
RD
16233 if (!argp9) {
16234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
d55e5bfc 16235 }
554f62e9
RD
16236 arg9 = reinterpret_cast< wxValidator * >(argp9);
16237 }
16238 if (obj9) {
d55e5bfc 16239 {
554f62e9
RD
16240 arg10 = wxString_in_helper(obj9);
16241 if (arg10 == NULL) SWIG_fail;
16242 temp10 = true;
d55e5bfc 16243 }
554f62e9
RD
16244 }
16245 {
16246 if (!wxPyCheckForApp()) SWIG_fail;
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 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);
16249 wxPyEndAllowThreads(__tstate);
16250 if (PyErr_Occurred()) SWIG_fail;
16251 }
16252 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_NEW | 0 );
16253 {
16254 if (temp3)
16255 delete arg3;
16256 }
16257 {
16258 if (temp6) delete arg6;
16259 }
16260 {
16261 if (temp10)
16262 delete arg10;
16263 }
16264 return resultobj;
16265fail:
16266 {
16267 if (temp3)
16268 delete arg3;
16269 }
16270 {
16271 if (temp6) delete arg6;
16272 }
16273 {
16274 if (temp10)
16275 delete arg10;
16276 }
16277 return NULL;
d55e5bfc
RD
16278}
16279
16280
554f62e9
RD
16281SWIGINTERN PyObject *_wrap_new_PreRadioBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16282 PyObject *resultobj = 0;
16283 wxRadioBox *result = 0 ;
16284
16285 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioBox",0,0,0)) SWIG_fail;
16286 {
16287 if (!wxPyCheckForApp()) SWIG_fail;
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 result = (wxRadioBox *)new wxRadioBox();
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioBox, SWIG_POINTER_OWN | 0 );
16294 return resultobj;
16295fail:
16296 return NULL;
16297}
16298
16299
16300SWIGINTERN PyObject *_wrap_RadioBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj = 0;
16302 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16303 wxWindow *arg2 = (wxWindow *) 0 ;
16304 int arg3 = (int) -1 ;
16305 wxString const &arg4_defvalue = wxPyEmptyString ;
16306 wxString *arg4 = (wxString *) &arg4_defvalue ;
16307 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16308 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16309 wxSize const &arg6_defvalue = wxDefaultSize ;
16310 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16311 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
16312 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
16313 int arg8 = (int) 0 ;
16314 long arg9 = (long) wxRA_HORIZONTAL ;
16315 wxValidator const &arg10_defvalue = wxDefaultValidator ;
16316 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
16317 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
16318 wxString *arg11 = (wxString *) &arg11_defvalue ;
16319 bool result;
16320 void *argp1 = 0 ;
16321 int res1 = 0 ;
16322 void *argp2 = 0 ;
16323 int res2 = 0 ;
16324 int val3 ;
16325 int ecode3 = 0 ;
16326 bool temp4 = false ;
16327 wxPoint temp5 ;
16328 wxSize temp6 ;
16329 bool temp7 = false ;
16330 int val8 ;
16331 int ecode8 = 0 ;
16332 long val9 ;
16333 int ecode9 = 0 ;
16334 void *argp10 = 0 ;
16335 int res10 = 0 ;
16336 bool temp11 = false ;
16337 PyObject * obj0 = 0 ;
16338 PyObject * obj1 = 0 ;
16339 PyObject * obj2 = 0 ;
16340 PyObject * obj3 = 0 ;
16341 PyObject * obj4 = 0 ;
16342 PyObject * obj5 = 0 ;
16343 PyObject * obj6 = 0 ;
16344 PyObject * obj7 = 0 ;
16345 PyObject * obj8 = 0 ;
16346 PyObject * obj9 = 0 ;
16347 PyObject * obj10 = 0 ;
16348 char * kwnames[] = {
16349 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16350 };
16351
16352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
16353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16354 if (!SWIG_IsOK(res1)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16356 }
16357 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16358 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16359 if (!SWIG_IsOK(res2)) {
16360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16361 }
16362 arg2 = reinterpret_cast< wxWindow * >(argp2);
16363 if (obj2) {
16364 ecode3 = SWIG_AsVal_int(obj2, &val3);
16365 if (!SWIG_IsOK(ecode3)) {
16366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16367 }
16368 arg3 = static_cast< int >(val3);
16369 }
16370 if (obj3) {
093d3ff1 16371 {
554f62e9
RD
16372 arg4 = wxString_in_helper(obj3);
16373 if (arg4 == NULL) SWIG_fail;
16374 temp4 = true;
093d3ff1 16375 }
554f62e9
RD
16376 }
16377 if (obj4) {
d55e5bfc 16378 {
554f62e9
RD
16379 arg5 = &temp5;
16380 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16381 }
554f62e9
RD
16382 }
16383 if (obj5) {
093d3ff1 16384 {
554f62e9
RD
16385 arg6 = &temp6;
16386 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 16387 }
554f62e9
RD
16388 }
16389 if (obj6) {
093d3ff1 16390 {
554f62e9
RD
16391 if (! PySequence_Check(obj6)) {
16392 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16393 SWIG_fail;
16394 }
16395 arg7 = new wxArrayString;
16396 temp7 = true;
16397 int i, len=PySequence_Length(obj6);
16398 for (i=0; i<len; i++) {
16399 PyObject* item = PySequence_GetItem(obj6, i);
16400 wxString* s = wxString_in_helper(item);
16401 if (PyErr_Occurred()) SWIG_fail;
16402 arg7->Add(*s);
16403 delete s;
16404 Py_DECREF(item);
16405 }
093d3ff1 16406 }
554f62e9
RD
16407 }
16408 if (obj7) {
16409 ecode8 = SWIG_AsVal_int(obj7, &val8);
16410 if (!SWIG_IsOK(ecode8)) {
16411 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16412 }
16413 arg8 = static_cast< int >(val8);
16414 }
16415 if (obj8) {
16416 ecode9 = SWIG_AsVal_long(obj8, &val9);
16417 if (!SWIG_IsOK(ecode9)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16419 }
16420 arg9 = static_cast< long >(val9);
16421 }
16422 if (obj9) {
16423 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
16424 if (!SWIG_IsOK(res10)) {
16425 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 16426 }
554f62e9
RD
16427 if (!argp10) {
16428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
d55e5bfc 16429 }
554f62e9
RD
16430 arg10 = reinterpret_cast< wxValidator * >(argp10);
16431 }
16432 if (obj10) {
d55e5bfc 16433 {
554f62e9
RD
16434 arg11 = wxString_in_helper(obj10);
16435 if (arg11 == NULL) SWIG_fail;
16436 temp11 = true;
d55e5bfc 16437 }
554f62e9
RD
16438 }
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 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);
16442 wxPyEndAllowThreads(__tstate);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 {
16446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16447 }
16448 {
16449 if (temp4)
16450 delete arg4;
16451 }
16452 {
16453 if (temp7) delete arg7;
16454 }
16455 {
16456 if (temp11)
16457 delete arg11;
16458 }
16459 return resultobj;
16460fail:
16461 {
16462 if (temp4)
16463 delete arg4;
16464 }
16465 {
16466 if (temp7) delete arg7;
16467 }
16468 {
16469 if (temp11)
16470 delete arg11;
16471 }
16472 return NULL;
16473}
16474
16475
16476SWIGINTERN PyObject *_wrap_RadioBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj = 0;
16478 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16479 int arg2 ;
16480 void *argp1 = 0 ;
16481 int res1 = 0 ;
16482 int val2 ;
16483 int ecode2 = 0 ;
16484 PyObject * obj0 = 0 ;
16485 PyObject * obj1 = 0 ;
16486 char * kwnames[] = {
16487 (char *) "self",(char *) "n", NULL
16488 };
16489
16490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16492 if (!SWIG_IsOK(res1)) {
16493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16494 }
16495 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16496 ecode2 = SWIG_AsVal_int(obj1, &val2);
16497 if (!SWIG_IsOK(ecode2)) {
16498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16499 }
16500 arg2 = static_cast< int >(val2);
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 (arg1)->SetSelection(arg2);
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 resultobj = SWIG_Py_Void();
16508 return resultobj;
16509fail:
16510 return NULL;
d55e5bfc
RD
16511}
16512
16513
554f62e9
RD
16514SWIGINTERN PyObject *_wrap_RadioBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16515 PyObject *resultobj = 0;
16516 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16517 int result;
16518 void *argp1 = 0 ;
16519 int res1 = 0 ;
16520 PyObject *swig_obj[1] ;
16521
16522 if (!args) SWIG_fail;
16523 swig_obj[0] = args;
16524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16525 if (!SWIG_IsOK(res1)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16527 }
16528 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 result = (int)((wxRadioBox const *)arg1)->GetSelection();
16532 wxPyEndAllowThreads(__tstate);
16533 if (PyErr_Occurred()) SWIG_fail;
16534 }
16535 resultobj = SWIG_From_int(static_cast< int >(result));
16536 return resultobj;
16537fail:
16538 return NULL;
4896ac9e
RD
16539}
16540
16541
554f62e9
RD
16542SWIGINTERN PyObject *_wrap_RadioBox_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16543 PyObject *resultobj = 0;
16544 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16545 wxString result;
16546 void *argp1 = 0 ;
16547 int res1 = 0 ;
16548 PyObject *swig_obj[1] ;
16549
16550 if (!args) SWIG_fail;
16551 swig_obj[0] = args;
16552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16553 if (!SWIG_IsOK(res1)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16555 }
16556 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 result = ((wxRadioBox const *)arg1)->GetStringSelection();
16560 wxPyEndAllowThreads(__tstate);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 }
16563 {
16564#if wxUSE_UNICODE
16565 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16566#else
16567 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16568#endif
16569 }
16570 return resultobj;
16571fail:
16572 return NULL;
16573}
16574
16575
16576SWIGINTERN PyObject *_wrap_RadioBox_SetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj = 0;
16578 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16579 wxString *arg2 = 0 ;
16580 bool result;
16581 void *argp1 = 0 ;
16582 int res1 = 0 ;
16583 bool temp2 = false ;
16584 PyObject * obj0 = 0 ;
16585 PyObject * obj1 = 0 ;
16586 char * kwnames[] = {
16587 (char *) "self",(char *) "s", NULL
16588 };
16589
16590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) SWIG_fail;
16591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16592 if (!SWIG_IsOK(res1)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16594 }
16595 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16596 {
16597 arg2 = wxString_in_helper(obj1);
16598 if (arg2 == NULL) SWIG_fail;
16599 temp2 = true;
16600 }
16601 {
16602 PyThreadState* __tstate = wxPyBeginAllowThreads();
16603 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16609 }
16610 {
16611 if (temp2)
16612 delete arg2;
16613 }
16614 return resultobj;
16615fail:
16616 {
16617 if (temp2)
16618 delete arg2;
16619 }
16620 return NULL;
d55e5bfc
RD
16621}
16622
16623
554f62e9
RD
16624SWIGINTERN PyObject *_wrap_RadioBox_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16625 PyObject *resultobj = 0;
16626 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
1c71765a 16627 size_t result;
554f62e9
RD
16628 void *argp1 = 0 ;
16629 int res1 = 0 ;
16630 PyObject *swig_obj[1] ;
16631
16632 if (!args) SWIG_fail;
16633 swig_obj[0] = args;
16634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16635 if (!SWIG_IsOK(res1)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16637 }
16638 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1c71765a 16641 result = (size_t)((wxRadioBox const *)arg1)->GetCount();
554f62e9
RD
16642 wxPyEndAllowThreads(__tstate);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
1c71765a 16645 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
554f62e9
RD
16646 return resultobj;
16647fail:
16648 return NULL;
16649}
16650
16651
16652SWIGINTERN PyObject *_wrap_RadioBox_FindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj = 0;
16654 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16655 wxString *arg2 = 0 ;
16656 int result;
16657 void *argp1 = 0 ;
16658 int res1 = 0 ;
16659 bool temp2 = false ;
16660 PyObject * obj0 = 0 ;
16661 PyObject * obj1 = 0 ;
16662 char * kwnames[] = {
16663 (char *) "self",(char *) "s", NULL
16664 };
16665
16666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) SWIG_fail;
16667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16668 if (!SWIG_IsOK(res1)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16670 }
16671 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16672 {
16673 arg2 = wxString_in_helper(obj1);
16674 if (arg2 == NULL) SWIG_fail;
16675 temp2 = true;
16676 }
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
16680 wxPyEndAllowThreads(__tstate);
16681 if (PyErr_Occurred()) SWIG_fail;
16682 }
16683 resultobj = SWIG_From_int(static_cast< int >(result));
16684 {
16685 if (temp2)
16686 delete arg2;
16687 }
16688 return resultobj;
16689fail:
16690 {
16691 if (temp2)
16692 delete arg2;
16693 }
16694 return NULL;
16695}
16696
16697
16698SWIGINTERN PyObject *_wrap_RadioBox_GetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj = 0;
16700 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16701 int arg2 ;
16702 wxString result;
16703 void *argp1 = 0 ;
16704 int res1 = 0 ;
16705 int val2 ;
16706 int ecode2 = 0 ;
16707 PyObject * obj0 = 0 ;
16708 PyObject * obj1 = 0 ;
16709 char * kwnames[] = {
16710 (char *) "self",(char *) "n", NULL
16711 };
16712
16713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) SWIG_fail;
16714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16715 if (!SWIG_IsOK(res1)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16717 }
16718 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16719 ecode2 = SWIG_AsVal_int(obj1, &val2);
16720 if (!SWIG_IsOK(ecode2)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16722 }
16723 arg2 = static_cast< int >(val2);
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 result = ((wxRadioBox const *)arg1)->GetString(arg2);
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 {
16731#if wxUSE_UNICODE
16732 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16733#else
16734 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16735#endif
16736 }
16737 return resultobj;
16738fail:
16739 return NULL;
16740}
16741
16742
16743SWIGINTERN PyObject *_wrap_RadioBox_SetString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16744 PyObject *resultobj = 0;
16745 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16746 int arg2 ;
16747 wxString *arg3 = 0 ;
16748 void *argp1 = 0 ;
16749 int res1 = 0 ;
16750 int val2 ;
16751 int ecode2 = 0 ;
16752 bool temp3 = false ;
16753 PyObject * obj0 = 0 ;
16754 PyObject * obj1 = 0 ;
16755 PyObject * obj2 = 0 ;
16756 char * kwnames[] = {
16757 (char *) "self",(char *) "n",(char *) "label", NULL
16758 };
16759
16760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16762 if (!SWIG_IsOK(res1)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16764 }
16765 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16766 ecode2 = SWIG_AsVal_int(obj1, &val2);
16767 if (!SWIG_IsOK(ecode2)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16769 }
16770 arg2 = static_cast< int >(val2);
16771 {
16772 arg3 = wxString_in_helper(obj2);
16773 if (arg3 == NULL) SWIG_fail;
16774 temp3 = true;
16775 }
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 (arg1)->SetString(arg2,(wxString const &)*arg3);
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 resultobj = SWIG_Py_Void();
16783 {
16784 if (temp3)
16785 delete arg3;
16786 }
16787 return resultobj;
16788fail:
16789 {
16790 if (temp3)
16791 delete arg3;
16792 }
16793 return NULL;
16794}
16795
16796
16797SWIGINTERN PyObject *_wrap_RadioBox_EnableItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj = 0;
16799 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16800 unsigned int arg2 ;
554f62e9
RD
16801 bool arg3 = (bool) true ;
16802 void *argp1 = 0 ;
16803 int res1 = 0 ;
50f151d7 16804 unsigned int val2 ;
554f62e9
RD
16805 int ecode2 = 0 ;
16806 bool val3 ;
16807 int ecode3 = 0 ;
16808 PyObject * obj0 = 0 ;
16809 PyObject * obj1 = 0 ;
16810 PyObject * obj2 = 0 ;
16811 char * kwnames[] = {
16812 (char *) "self",(char *) "n",(char *) "enable", NULL
16813 };
16814
16815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16817 if (!SWIG_IsOK(res1)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16819 }
16820 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16821 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16822 if (!SWIG_IsOK(ecode2)) {
50f151d7 16823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16824 }
50f151d7 16825 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16826 if (obj2) {
16827 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16828 if (!SWIG_IsOK(ecode3)) {
16829 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16830 }
16831 arg3 = static_cast< bool >(val3);
16832 }
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 (arg1)->Enable(arg2,arg3);
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 resultobj = SWIG_Py_Void();
16840 return resultobj;
16841fail:
16842 return NULL;
16843}
16844
16845
16846SWIGINTERN PyObject *_wrap_RadioBox_ShowItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj = 0;
16848 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16849 unsigned int arg2 ;
554f62e9
RD
16850 bool arg3 = (bool) true ;
16851 void *argp1 = 0 ;
16852 int res1 = 0 ;
50f151d7 16853 unsigned int val2 ;
554f62e9
RD
16854 int ecode2 = 0 ;
16855 bool val3 ;
16856 int ecode3 = 0 ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 PyObject * obj2 = 0 ;
16860 char * kwnames[] = {
16861 (char *) "self",(char *) "n",(char *) "show", NULL
16862 };
16863
16864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16866 if (!SWIG_IsOK(res1)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16868 }
16869 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
50f151d7 16870 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 16871 if (!SWIG_IsOK(ecode2)) {
50f151d7 16872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 16873 }
50f151d7 16874 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
16875 if (obj2) {
16876 ecode3 = SWIG_AsVal_bool(obj2, &val3);
16877 if (!SWIG_IsOK(ecode3)) {
16878 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16879 }
16880 arg3 = static_cast< bool >(val3);
16881 }
16882 {
16883 PyThreadState* __tstate = wxPyBeginAllowThreads();
16884 (arg1)->Show(arg2,arg3);
16885 wxPyEndAllowThreads(__tstate);
16886 if (PyErr_Occurred()) SWIG_fail;
16887 }
16888 resultobj = SWIG_Py_Void();
16889 return resultobj;
16890fail:
16891 return NULL;
d55e5bfc
RD
16892}
16893
16894
50f151d7
RD
16895SWIGINTERN PyObject *_wrap_RadioBox_IsItemEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16896 PyObject *resultobj = 0;
16897 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16898 unsigned int arg2 ;
16899 bool result;
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 *) "n", NULL
16908 };
16909
16910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemEnabled",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_IsItemEnabled" "', 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_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16919 }
16920 arg2 = static_cast< unsigned int >(val2);
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (bool)((wxRadioBox const *)arg1)->IsItemEnabled(arg2);
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 {
16928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16929 }
16930 return resultobj;
16931fail:
16932 return NULL;
16933}
16934
16935
16936SWIGINTERN PyObject *_wrap_RadioBox_IsItemShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj = 0;
16938 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
16939 unsigned int arg2 ;
16940 bool result;
16941 void *argp1 = 0 ;
16942 int res1 = 0 ;
16943 unsigned int val2 ;
16944 int ecode2 = 0 ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj1 = 0 ;
16947 char * kwnames[] = {
16948 (char *) "self",(char *) "n", NULL
16949 };
16950
16951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_IsItemShown",kwnames,&obj0,&obj1)) SWIG_fail;
16952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16953 if (!SWIG_IsOK(res1)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16955 }
16956 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16957 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
16958 if (!SWIG_IsOK(ecode2)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16960 }
16961 arg2 = static_cast< unsigned int >(val2);
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (bool)((wxRadioBox const *)arg1)->IsItemShown(arg2);
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16970 }
16971 return resultobj;
16972fail:
16973 return NULL;
16974}
16975
16976
554f62e9
RD
16977SWIGINTERN PyObject *_wrap_RadioBox_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16978 PyObject *resultobj = 0;
16979 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 16980 unsigned int result;
554f62e9
RD
16981 void *argp1 = 0 ;
16982 int res1 = 0 ;
16983 PyObject *swig_obj[1] ;
16984
16985 if (!args) SWIG_fail;
16986 swig_obj[0] = args;
16987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
16988 if (!SWIG_IsOK(res1)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16990 }
16991 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
16992 {
16993 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 16994 result = (unsigned int)((wxRadioBox const *)arg1)->GetColumnCount();
554f62e9
RD
16995 wxPyEndAllowThreads(__tstate);
16996 if (PyErr_Occurred()) SWIG_fail;
16997 }
50f151d7 16998 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
16999 return resultobj;
17000fail:
17001 return NULL;
d55e5bfc
RD
17002}
17003
17004
554f62e9
RD
17005SWIGINTERN PyObject *_wrap_RadioBox_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17006 PyObject *resultobj = 0;
17007 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
50f151d7 17008 unsigned int result;
554f62e9
RD
17009 void *argp1 = 0 ;
17010 int res1 = 0 ;
17011 PyObject *swig_obj[1] ;
17012
17013 if (!args) SWIG_fail;
17014 swig_obj[0] = args;
17015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17016 if (!SWIG_IsOK(res1)) {
17017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17018 }
17019 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17020 {
17021 PyThreadState* __tstate = wxPyBeginAllowThreads();
50f151d7 17022 result = (unsigned int)((wxRadioBox const *)arg1)->GetRowCount();
554f62e9
RD
17023 wxPyEndAllowThreads(__tstate);
17024 if (PyErr_Occurred()) SWIG_fail;
17025 }
50f151d7 17026 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
17027 return resultobj;
17028fail:
17029 return NULL;
17030}
17031
17032
17033SWIGINTERN PyObject *_wrap_RadioBox_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj = 0;
17035 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17036 int arg2 ;
17037 wxDirection arg3 ;
17038 long arg4 ;
17039 int result;
17040 void *argp1 = 0 ;
17041 int res1 = 0 ;
17042 int val2 ;
17043 int ecode2 = 0 ;
17044 int val3 ;
17045 int ecode3 = 0 ;
17046 long val4 ;
17047 int ecode4 = 0 ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 PyObject * obj2 = 0 ;
17051 PyObject * obj3 = 0 ;
17052 char * kwnames[] = {
17053 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17054 };
17055
17056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17058 if (!SWIG_IsOK(res1)) {
17059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17060 }
17061 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17062 ecode2 = SWIG_AsVal_int(obj1, &val2);
17063 if (!SWIG_IsOK(ecode2)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17065 }
17066 arg2 = static_cast< int >(val2);
17067 ecode3 = SWIG_AsVal_int(obj2, &val3);
17068 if (!SWIG_IsOK(ecode3)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17070 }
17071 arg3 = static_cast< wxDirection >(val3);
17072 ecode4 = SWIG_AsVal_long(obj3, &val4);
17073 if (!SWIG_IsOK(ecode4)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17075 }
17076 arg4 = static_cast< long >(val4);
17077 {
17078 PyThreadState* __tstate = wxPyBeginAllowThreads();
17079 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,arg3,arg4);
17080 wxPyEndAllowThreads(__tstate);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 resultobj = SWIG_From_int(static_cast< int >(result));
17084 return resultobj;
17085fail:
17086 return NULL;
17087}
17088
17089
f460c29d
RD
17090SWIGINTERN PyObject *_wrap_RadioBox_SetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17091 PyObject *resultobj = 0;
17092 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17093 unsigned int arg2 ;
17094 wxString *arg3 = 0 ;
17095 void *argp1 = 0 ;
17096 int res1 = 0 ;
17097 unsigned int val2 ;
17098 int ecode2 = 0 ;
17099 bool temp3 = false ;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 PyObject * obj2 = 0 ;
17103 char * kwnames[] = {
17104 (char *) "self",(char *) "item",(char *) "text", NULL
17105 };
17106
17107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemToolTip",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17109 if (!SWIG_IsOK(res1)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17111 }
17112 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17113 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17114 if (!SWIG_IsOK(ecode2)) {
17115 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17116 }
17117 arg2 = static_cast< unsigned int >(val2);
17118 {
17119 arg3 = wxString_in_helper(obj2);
17120 if (arg3 == NULL) SWIG_fail;
17121 temp3 = true;
17122 }
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 (arg1)->SetItemToolTip(arg2,(wxString const &)*arg3);
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 resultobj = SWIG_Py_Void();
17130 {
17131 if (temp3)
17132 delete arg3;
17133 }
17134 return resultobj;
17135fail:
17136 {
17137 if (temp3)
17138 delete arg3;
17139 }
17140 return NULL;
17141}
17142
17143
17144SWIGINTERN PyObject *_wrap_RadioBox_GetItemToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj = 0;
17146 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17147 unsigned int arg2 ;
17148 wxToolTip *result = 0 ;
17149 void *argp1 = 0 ;
17150 int res1 = 0 ;
17151 unsigned int val2 ;
17152 int ecode2 = 0 ;
17153 PyObject * obj0 = 0 ;
17154 PyObject * obj1 = 0 ;
17155 char * kwnames[] = {
17156 (char *) "self",(char *) "item", NULL
17157 };
17158
17159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
17160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17161 if (!SWIG_IsOK(res1)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17163 }
17164 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17165 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17166 if (!SWIG_IsOK(ecode2)) {
17167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17168 }
17169 arg2 = static_cast< unsigned int >(val2);
17170 {
17171 PyThreadState* __tstate = wxPyBeginAllowThreads();
17172 result = (wxToolTip *)((wxRadioBox const *)arg1)->GetItemToolTip(arg2);
17173 wxPyEndAllowThreads(__tstate);
17174 if (PyErr_Occurred()) SWIG_fail;
17175 }
17176 {
17177 resultobj = wxPyMake_wxObject(result, (bool)0);
17178 }
17179 return resultobj;
17180fail:
17181 return NULL;
17182}
17183
17184
b850e7f3
RD
17185SWIGINTERN PyObject *_wrap_RadioBox_SetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj = 0;
17187 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17188 unsigned int arg2 ;
17189 wxString *arg3 = 0 ;
17190 void *argp1 = 0 ;
17191 int res1 = 0 ;
17192 unsigned int val2 ;
17193 int ecode2 = 0 ;
17194 bool temp3 = false ;
17195 PyObject * obj0 = 0 ;
17196 PyObject * obj1 = 0 ;
17197 PyObject * obj2 = 0 ;
17198 char * kwnames[] = {
17199 (char *) "self",(char *) "n",(char *) "helpText", NULL
17200 };
17201
17202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetItemHelpText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17204 if (!SWIG_IsOK(res1)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17206 }
17207 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17208 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17209 if (!SWIG_IsOK(ecode2)) {
17210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17211 }
17212 arg2 = static_cast< unsigned int >(val2);
17213 {
17214 arg3 = wxString_in_helper(obj2);
17215 if (arg3 == NULL) SWIG_fail;
17216 temp3 = true;
17217 }
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 (arg1)->SetItemHelpText(arg2,(wxString const &)*arg3);
17221 wxPyEndAllowThreads(__tstate);
17222 if (PyErr_Occurred()) SWIG_fail;
17223 }
17224 resultobj = SWIG_Py_Void();
17225 {
17226 if (temp3)
17227 delete arg3;
17228 }
17229 return resultobj;
17230fail:
17231 {
17232 if (temp3)
17233 delete arg3;
17234 }
17235 return NULL;
17236}
17237
17238
17239SWIGINTERN PyObject *_wrap_RadioBox_GetItemHelpText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17240 PyObject *resultobj = 0;
17241 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
17242 unsigned int arg2 ;
17243 wxString result;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 unsigned int val2 ;
17247 int ecode2 = 0 ;
17248 PyObject * obj0 = 0 ;
17249 PyObject * obj1 = 0 ;
17250 char * kwnames[] = {
17251 (char *) "self",(char *) "n", NULL
17252 };
17253
17254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetItemHelpText",kwnames,&obj0,&obj1)) SWIG_fail;
17255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioBox, 0 | 0 );
17256 if (!SWIG_IsOK(res1)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17258 }
17259 arg1 = reinterpret_cast< wxRadioBox * >(argp1);
17260 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
17261 if (!SWIG_IsOK(ecode2)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17263 }
17264 arg2 = static_cast< unsigned int >(val2);
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = ((wxRadioBox const *)arg1)->GetItemHelpText(arg2);
17268 wxPyEndAllowThreads(__tstate);
17269 if (PyErr_Occurred()) SWIG_fail;
17270 }
17271 {
17272#if wxUSE_UNICODE
17273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17274#else
17275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17276#endif
17277 }
17278 return resultobj;
17279fail:
17280 return NULL;
17281}
17282
17283
554f62e9
RD
17284SWIGINTERN PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17285 PyObject *resultobj = 0;
17286 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17287 SwigValueWrapper<wxVisualAttributes > result;
17288 int val1 ;
17289 int ecode1 = 0 ;
17290 PyObject * obj0 = 0 ;
17291 char * kwnames[] = {
17292 (char *) "variant", NULL
17293 };
17294
17295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17296 if (obj0) {
17297 ecode1 = SWIG_AsVal_int(obj0, &val1);
17298 if (!SWIG_IsOK(ecode1)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17300 }
17301 arg1 = static_cast< wxWindowVariant >(val1);
17302 }
17303 {
17304 if (!wxPyCheckForApp()) SWIG_fail;
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 result = wxRadioBox::GetClassDefaultAttributes(arg1);
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17311 return resultobj;
17312fail:
17313 return NULL;
17314}
17315
17316
17317SWIGINTERN PyObject *RadioBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17318 PyObject *obj;
17319 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17320 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox, SWIG_NewClientData(obj));
17321 return SWIG_Py_Void();
17322}
17323
17324SWIGINTERN PyObject *RadioBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17325 return SWIG_Python_InitShadowInstance(args);
17326}
17327
17328SWIGINTERN PyObject *_wrap_new_RadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj = 0;
17330 wxWindow *arg1 = (wxWindow *) 0 ;
17331 int arg2 = (int) -1 ;
17332 wxString const &arg3_defvalue = wxPyEmptyString ;
17333 wxString *arg3 = (wxString *) &arg3_defvalue ;
17334 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17335 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17336 wxSize const &arg5_defvalue = wxDefaultSize ;
17337 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17338 long arg6 = (long) 0 ;
17339 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17340 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17341 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
17342 wxString *arg8 = (wxString *) &arg8_defvalue ;
17343 wxRadioButton *result = 0 ;
17344 void *argp1 = 0 ;
17345 int res1 = 0 ;
17346 int val2 ;
17347 int ecode2 = 0 ;
17348 bool temp3 = false ;
17349 wxPoint temp4 ;
17350 wxSize temp5 ;
17351 long val6 ;
17352 int ecode6 = 0 ;
17353 void *argp7 = 0 ;
17354 int res7 = 0 ;
17355 bool temp8 = false ;
17356 PyObject * obj0 = 0 ;
17357 PyObject * obj1 = 0 ;
17358 PyObject * obj2 = 0 ;
17359 PyObject * obj3 = 0 ;
17360 PyObject * obj4 = 0 ;
17361 PyObject * obj5 = 0 ;
17362 PyObject * obj6 = 0 ;
17363 PyObject * obj7 = 0 ;
17364 char * kwnames[] = {
17365 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17366 };
17367
17368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
17369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17370 if (!SWIG_IsOK(res1)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17372 }
17373 arg1 = reinterpret_cast< wxWindow * >(argp1);
17374 if (obj1) {
17375 ecode2 = SWIG_AsVal_int(obj1, &val2);
17376 if (!SWIG_IsOK(ecode2)) {
17377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17378 }
17379 arg2 = static_cast< int >(val2);
17380 }
17381 if (obj2) {
d55e5bfc 17382 {
554f62e9
RD
17383 arg3 = wxString_in_helper(obj2);
17384 if (arg3 == NULL) SWIG_fail;
17385 temp3 = true;
d55e5bfc 17386 }
554f62e9
RD
17387 }
17388 if (obj3) {
d55e5bfc 17389 {
554f62e9
RD
17390 arg4 = &temp4;
17391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 17392 }
554f62e9
RD
17393 }
17394 if (obj4) {
d55e5bfc 17395 {
554f62e9
RD
17396 arg5 = &temp5;
17397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17398 }
554f62e9
RD
17399 }
17400 if (obj5) {
17401 ecode6 = SWIG_AsVal_long(obj5, &val6);
17402 if (!SWIG_IsOK(ecode6)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17404 }
17405 arg6 = static_cast< long >(val6);
17406 }
17407 if (obj6) {
17408 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
17409 if (!SWIG_IsOK(res7)) {
17410 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17411 }
554f62e9
RD
17412 if (!argp7) {
17413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 17414 }
554f62e9
RD
17415 arg7 = reinterpret_cast< wxValidator * >(argp7);
17416 }
17417 if (obj7) {
d55e5bfc 17418 {
554f62e9
RD
17419 arg8 = wxString_in_helper(obj7);
17420 if (arg8 == NULL) SWIG_fail;
17421 temp8 = true;
d55e5bfc 17422 }
554f62e9
RD
17423 }
17424 {
17425 if (!wxPyCheckForApp()) SWIG_fail;
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_NEW | 0 );
17432 {
17433 if (temp3)
17434 delete arg3;
17435 }
17436 {
17437 if (temp8)
17438 delete arg8;
17439 }
17440 return resultobj;
17441fail:
17442 {
17443 if (temp3)
17444 delete arg3;
17445 }
17446 {
17447 if (temp8)
17448 delete arg8;
17449 }
17450 return NULL;
d55e5bfc
RD
17451}
17452
17453
554f62e9
RD
17454SWIGINTERN PyObject *_wrap_new_PreRadioButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17455 PyObject *resultobj = 0;
17456 wxRadioButton *result = 0 ;
17457
17458 if (!SWIG_Python_UnpackTuple(args,"new_PreRadioButton",0,0,0)) SWIG_fail;
17459 {
17460 if (!wxPyCheckForApp()) SWIG_fail;
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 result = (wxRadioButton *)new wxRadioButton();
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRadioButton, SWIG_POINTER_OWN | 0 );
17467 return resultobj;
17468fail:
17469 return NULL;
17470}
17471
17472
17473SWIGINTERN PyObject *_wrap_RadioButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj = 0;
17475 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17476 wxWindow *arg2 = (wxWindow *) 0 ;
17477 int arg3 = (int) -1 ;
17478 wxString const &arg4_defvalue = wxPyEmptyString ;
17479 wxString *arg4 = (wxString *) &arg4_defvalue ;
17480 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17481 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17482 wxSize const &arg6_defvalue = wxDefaultSize ;
17483 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17484 long arg7 = (long) 0 ;
17485 wxValidator const &arg8_defvalue = wxDefaultValidator ;
17486 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
17487 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
17488 wxString *arg9 = (wxString *) &arg9_defvalue ;
17489 bool result;
17490 void *argp1 = 0 ;
17491 int res1 = 0 ;
17492 void *argp2 = 0 ;
17493 int res2 = 0 ;
17494 int val3 ;
17495 int ecode3 = 0 ;
17496 bool temp4 = false ;
17497 wxPoint temp5 ;
17498 wxSize temp6 ;
17499 long val7 ;
17500 int ecode7 = 0 ;
17501 void *argp8 = 0 ;
17502 int res8 = 0 ;
17503 bool temp9 = false ;
17504 PyObject * obj0 = 0 ;
17505 PyObject * obj1 = 0 ;
17506 PyObject * obj2 = 0 ;
17507 PyObject * obj3 = 0 ;
17508 PyObject * obj4 = 0 ;
17509 PyObject * obj5 = 0 ;
17510 PyObject * obj6 = 0 ;
17511 PyObject * obj7 = 0 ;
17512 PyObject * obj8 = 0 ;
17513 char * kwnames[] = {
17514 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17515 };
17516
17517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
17518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17519 if (!SWIG_IsOK(res1)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17521 }
17522 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17523 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17524 if (!SWIG_IsOK(res2)) {
17525 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17526 }
17527 arg2 = reinterpret_cast< wxWindow * >(argp2);
17528 if (obj2) {
17529 ecode3 = SWIG_AsVal_int(obj2, &val3);
17530 if (!SWIG_IsOK(ecode3)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17532 }
17533 arg3 = static_cast< int >(val3);
17534 }
17535 if (obj3) {
d55e5bfc 17536 {
554f62e9
RD
17537 arg4 = wxString_in_helper(obj3);
17538 if (arg4 == NULL) SWIG_fail;
17539 temp4 = true;
d55e5bfc 17540 }
554f62e9
RD
17541 }
17542 if (obj4) {
d55e5bfc 17543 {
554f62e9
RD
17544 arg5 = &temp5;
17545 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17546 }
554f62e9
RD
17547 }
17548 if (obj5) {
d55e5bfc 17549 {
554f62e9
RD
17550 arg6 = &temp6;
17551 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17552 }
554f62e9
RD
17553 }
17554 if (obj6) {
17555 ecode7 = SWIG_AsVal_long(obj6, &val7);
17556 if (!SWIG_IsOK(ecode7)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17558 }
17559 arg7 = static_cast< long >(val7);
17560 }
17561 if (obj7) {
17562 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
17563 if (!SWIG_IsOK(res8)) {
17564 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17565 }
17566 if (!argp8) {
17567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 17568 }
554f62e9
RD
17569 arg8 = reinterpret_cast< wxValidator * >(argp8);
17570 }
17571 if (obj8) {
d55e5bfc 17572 {
554f62e9
RD
17573 arg9 = wxString_in_helper(obj8);
17574 if (arg9 == NULL) SWIG_fail;
17575 temp9 = true;
d55e5bfc 17576 }
554f62e9
RD
17577 }
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 {
17585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17586 }
17587 {
17588 if (temp4)
17589 delete arg4;
17590 }
17591 {
17592 if (temp9)
17593 delete arg9;
17594 }
17595 return resultobj;
17596fail:
17597 {
17598 if (temp4)
17599 delete arg4;
17600 }
17601 {
17602 if (temp9)
17603 delete arg9;
17604 }
17605 return NULL;
d55e5bfc
RD
17606}
17607
17608
554f62e9
RD
17609SWIGINTERN PyObject *_wrap_RadioButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17610 PyObject *resultobj = 0;
17611 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17612 bool result;
17613 void *argp1 = 0 ;
17614 int res1 = 0 ;
17615 PyObject *swig_obj[1] ;
17616
17617 if (!args) SWIG_fail;
17618 swig_obj[0] = args;
17619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17620 if (!SWIG_IsOK(res1)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17622 }
17623 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17624 {
17625 PyThreadState* __tstate = wxPyBeginAllowThreads();
17626 result = (bool)(arg1)->GetValue();
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 {
17631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17632 }
17633 return resultobj;
17634fail:
17635 return NULL;
17636}
17637
17638
17639SWIGINTERN PyObject *_wrap_RadioButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17640 PyObject *resultobj = 0;
17641 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
17642 bool arg2 ;
17643 void *argp1 = 0 ;
17644 int res1 = 0 ;
17645 bool val2 ;
17646 int ecode2 = 0 ;
17647 PyObject * obj0 = 0 ;
17648 PyObject * obj1 = 0 ;
17649 char * kwnames[] = {
17650 (char *) "self",(char *) "value", NULL
17651 };
17652
17653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
17654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRadioButton, 0 | 0 );
17655 if (!SWIG_IsOK(res1)) {
17656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17657 }
17658 arg1 = reinterpret_cast< wxRadioButton * >(argp1);
17659 ecode2 = SWIG_AsVal_bool(obj1, &val2);
17660 if (!SWIG_IsOK(ecode2)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17662 }
17663 arg2 = static_cast< bool >(val2);
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 (arg1)->SetValue(arg2);
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = SWIG_Py_Void();
17671 return resultobj;
17672fail:
17673 return NULL;
17674}
17675
17676
17677SWIGINTERN PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj = 0;
17679 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
17680 SwigValueWrapper<wxVisualAttributes > result;
17681 int val1 ;
17682 int ecode1 = 0 ;
17683 PyObject * obj0 = 0 ;
17684 char * kwnames[] = {
17685 (char *) "variant", NULL
17686 };
17687
17688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
17689 if (obj0) {
17690 ecode1 = SWIG_AsVal_int(obj0, &val1);
17691 if (!SWIG_IsOK(ecode1)) {
17692 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17693 }
17694 arg1 = static_cast< wxWindowVariant >(val1);
17695 }
17696 {
17697 if (!wxPyCheckForApp()) SWIG_fail;
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 result = wxRadioButton::GetClassDefaultAttributes(arg1);
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
17704 return resultobj;
17705fail:
17706 return NULL;
d55e5bfc
RD
17707}
17708
17709
554f62e9
RD
17710SWIGINTERN PyObject *RadioButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17711 PyObject *obj;
17712 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17713 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton, SWIG_NewClientData(obj));
17714 return SWIG_Py_Void();
d55e5bfc
RD
17715}
17716
554f62e9
RD
17717SWIGINTERN PyObject *RadioButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17718 return SWIG_Python_InitShadowInstance(args);
17719}
d55e5bfc 17720
554f62e9
RD
17721SWIGINTERN int SliderNameStr_set(PyObject *) {
17722 SWIG_Error(SWIG_AttributeError,"Variable SliderNameStr is read-only.");
17723 return 1;
d55e5bfc
RD
17724}
17725
17726
554f62e9
RD
17727SWIGINTERN PyObject *SliderNameStr_get(void) {
17728 PyObject *pyobj = 0;
17729
17730 {
17731#if wxUSE_UNICODE
17732 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17733#else
17734 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
17735#endif
17736 }
17737 return pyobj;
17738}
17739
17740
17741SWIGINTERN PyObject *_wrap_new_Slider(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17742 PyObject *resultobj = 0;
17743 wxWindow *arg1 = (wxWindow *) 0 ;
17744 int arg2 = (int) -1 ;
17745 int arg3 = (int) 0 ;
17746 int arg4 = (int) 0 ;
17747 int arg5 = (int) 100 ;
17748 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17749 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17750 wxSize const &arg7_defvalue = wxDefaultSize ;
17751 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
17752 long arg8 = (long) wxSL_HORIZONTAL ;
17753 wxValidator const &arg9_defvalue = wxDefaultValidator ;
17754 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
17755 wxString const &arg10_defvalue = wxPySliderNameStr ;
17756 wxString *arg10 = (wxString *) &arg10_defvalue ;
17757 wxSlider *result = 0 ;
17758 void *argp1 = 0 ;
17759 int res1 = 0 ;
17760 int val2 ;
17761 int ecode2 = 0 ;
17762 int val3 ;
17763 int ecode3 = 0 ;
17764 int val4 ;
17765 int ecode4 = 0 ;
17766 int val5 ;
17767 int ecode5 = 0 ;
17768 wxPoint temp6 ;
17769 wxSize temp7 ;
17770 long val8 ;
17771 int ecode8 = 0 ;
17772 void *argp9 = 0 ;
17773 int res9 = 0 ;
17774 bool temp10 = false ;
17775 PyObject * obj0 = 0 ;
17776 PyObject * obj1 = 0 ;
17777 PyObject * obj2 = 0 ;
17778 PyObject * obj3 = 0 ;
17779 PyObject * obj4 = 0 ;
17780 PyObject * obj5 = 0 ;
17781 PyObject * obj6 = 0 ;
17782 PyObject * obj7 = 0 ;
17783 PyObject * obj8 = 0 ;
17784 PyObject * obj9 = 0 ;
17785 char * kwnames[] = {
17786 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17787 };
17788
17789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
17790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17791 if (!SWIG_IsOK(res1)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17793 }
17794 arg1 = reinterpret_cast< wxWindow * >(argp1);
17795 if (obj1) {
17796 ecode2 = SWIG_AsVal_int(obj1, &val2);
17797 if (!SWIG_IsOK(ecode2)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17799 }
17800 arg2 = static_cast< int >(val2);
17801 }
17802 if (obj2) {
17803 ecode3 = SWIG_AsVal_int(obj2, &val3);
17804 if (!SWIG_IsOK(ecode3)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17806 }
17807 arg3 = static_cast< int >(val3);
17808 }
17809 if (obj3) {
17810 ecode4 = SWIG_AsVal_int(obj3, &val4);
17811 if (!SWIG_IsOK(ecode4)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17813 }
17814 arg4 = static_cast< int >(val4);
17815 }
17816 if (obj4) {
17817 ecode5 = SWIG_AsVal_int(obj4, &val5);
17818 if (!SWIG_IsOK(ecode5)) {
17819 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17820 }
17821 arg5 = static_cast< int >(val5);
17822 }
17823 if (obj5) {
d55e5bfc 17824 {
554f62e9
RD
17825 arg6 = &temp6;
17826 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17827 }
554f62e9
RD
17828 }
17829 if (obj6) {
093d3ff1 17830 {
554f62e9
RD
17831 arg7 = &temp7;
17832 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
093d3ff1 17833 }
554f62e9
RD
17834 }
17835 if (obj7) {
17836 ecode8 = SWIG_AsVal_long(obj7, &val8);
17837 if (!SWIG_IsOK(ecode8)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17839 }
17840 arg8 = static_cast< long >(val8);
17841 }
17842 if (obj8) {
17843 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
17844 if (!SWIG_IsOK(res9)) {
17845 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17846 }
554f62e9
RD
17847 if (!argp9) {
17848 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
093d3ff1 17849 }
554f62e9
RD
17850 arg9 = reinterpret_cast< wxValidator * >(argp9);
17851 }
17852 if (obj9) {
d55e5bfc 17853 {
554f62e9
RD
17854 arg10 = wxString_in_helper(obj9);
17855 if (arg10 == NULL) SWIG_fail;
17856 temp10 = true;
d55e5bfc 17857 }
554f62e9
RD
17858 }
17859 {
17860 if (!wxPyCheckForApp()) SWIG_fail;
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_NEW | 0 );
17867 {
17868 if (temp10)
17869 delete arg10;
17870 }
17871 return resultobj;
17872fail:
17873 {
17874 if (temp10)
17875 delete arg10;
17876 }
17877 return NULL;
d55e5bfc
RD
17878}
17879
17880
554f62e9
RD
17881SWIGINTERN PyObject *_wrap_new_PreSlider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17882 PyObject *resultobj = 0;
17883 wxSlider *result = 0 ;
17884
17885 if (!SWIG_Python_UnpackTuple(args,"new_PreSlider",0,0,0)) SWIG_fail;
17886 {
17887 if (!wxPyCheckForApp()) SWIG_fail;
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (wxSlider *)new wxSlider();
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSlider, SWIG_POINTER_OWN | 0 );
17894 return resultobj;
17895fail:
17896 return NULL;
17897}
17898
17899
17900SWIGINTERN PyObject *_wrap_Slider_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj = 0;
17902 wxSlider *arg1 = (wxSlider *) 0 ;
17903 wxWindow *arg2 = (wxWindow *) 0 ;
17904 int arg3 = (int) -1 ;
17905 int arg4 = (int) 0 ;
17906 int arg5 = (int) 0 ;
17907 int arg6 = (int) 100 ;
17908 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17909 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17910 wxSize const &arg8_defvalue = wxDefaultSize ;
17911 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
17912 long arg9 = (long) wxSL_HORIZONTAL ;
17913 wxValidator const &arg10_defvalue = wxDefaultValidator ;
17914 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
17915 wxString const &arg11_defvalue = wxPySliderNameStr ;
17916 wxString *arg11 = (wxString *) &arg11_defvalue ;
17917 bool result;
17918 void *argp1 = 0 ;
17919 int res1 = 0 ;
17920 void *argp2 = 0 ;
17921 int res2 = 0 ;
17922 int val3 ;
17923 int ecode3 = 0 ;
17924 int val4 ;
17925 int ecode4 = 0 ;
17926 int val5 ;
17927 int ecode5 = 0 ;
17928 int val6 ;
17929 int ecode6 = 0 ;
17930 wxPoint temp7 ;
17931 wxSize temp8 ;
17932 long val9 ;
17933 int ecode9 = 0 ;
17934 void *argp10 = 0 ;
17935 int res10 = 0 ;
17936 bool temp11 = false ;
17937 PyObject * obj0 = 0 ;
17938 PyObject * obj1 = 0 ;
17939 PyObject * obj2 = 0 ;
17940 PyObject * obj3 = 0 ;
17941 PyObject * obj4 = 0 ;
17942 PyObject * obj5 = 0 ;
17943 PyObject * obj6 = 0 ;
17944 PyObject * obj7 = 0 ;
17945 PyObject * obj8 = 0 ;
17946 PyObject * obj9 = 0 ;
17947 PyObject * obj10 = 0 ;
17948 char * kwnames[] = {
17949 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17950 };
17951
17952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
17953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
17954 if (!SWIG_IsOK(res1)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17956 }
17957 arg1 = reinterpret_cast< wxSlider * >(argp1);
17958 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17959 if (!SWIG_IsOK(res2)) {
17960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17961 }
17962 arg2 = reinterpret_cast< wxWindow * >(argp2);
17963 if (obj2) {
17964 ecode3 = SWIG_AsVal_int(obj2, &val3);
17965 if (!SWIG_IsOK(ecode3)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17967 }
17968 arg3 = static_cast< int >(val3);
17969 }
17970 if (obj3) {
17971 ecode4 = SWIG_AsVal_int(obj3, &val4);
17972 if (!SWIG_IsOK(ecode4)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17974 }
17975 arg4 = static_cast< int >(val4);
17976 }
17977 if (obj4) {
17978 ecode5 = SWIG_AsVal_int(obj4, &val5);
17979 if (!SWIG_IsOK(ecode5)) {
17980 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17981 }
17982 arg5 = static_cast< int >(val5);
17983 }
17984 if (obj5) {
17985 ecode6 = SWIG_AsVal_int(obj5, &val6);
17986 if (!SWIG_IsOK(ecode6)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17988 }
17989 arg6 = static_cast< int >(val6);
17990 }
17991 if (obj6) {
d55e5bfc 17992 {
554f62e9
RD
17993 arg7 = &temp7;
17994 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17995 }
554f62e9
RD
17996 }
17997 if (obj7) {
093d3ff1 17998 {
554f62e9
RD
17999 arg8 = &temp8;
18000 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
18001 }
18002 }
18003 if (obj8) {
18004 ecode9 = SWIG_AsVal_long(obj8, &val9);
18005 if (!SWIG_IsOK(ecode9)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18007 }
18008 arg9 = static_cast< long >(val9);
18009 }
18010 if (obj9) {
18011 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
18012 if (!SWIG_IsOK(res10)) {
18013 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
093d3ff1 18014 }
554f62e9
RD
18015 if (!argp10) {
18016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18017 }
18018 arg10 = reinterpret_cast< wxValidator * >(argp10);
18019 }
18020 if (obj10) {
d55e5bfc 18021 {
554f62e9
RD
18022 arg11 = wxString_in_helper(obj10);
18023 if (arg11 == NULL) SWIG_fail;
18024 temp11 = true;
d55e5bfc 18025 }
554f62e9
RD
18026 }
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
18030 wxPyEndAllowThreads(__tstate);
18031 if (PyErr_Occurred()) SWIG_fail;
18032 }
18033 {
18034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18035 }
18036 {
18037 if (temp11)
18038 delete arg11;
18039 }
18040 return resultobj;
18041fail:
18042 {
18043 if (temp11)
18044 delete arg11;
18045 }
18046 return NULL;
d55e5bfc
RD
18047}
18048
18049
554f62e9
RD
18050SWIGINTERN PyObject *_wrap_Slider_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18051 PyObject *resultobj = 0;
18052 wxSlider *arg1 = (wxSlider *) 0 ;
18053 int result;
18054 void *argp1 = 0 ;
18055 int res1 = 0 ;
18056 PyObject *swig_obj[1] ;
18057
18058 if (!args) SWIG_fail;
18059 swig_obj[0] = args;
18060 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18061 if (!SWIG_IsOK(res1)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18063 }
18064 arg1 = reinterpret_cast< wxSlider * >(argp1);
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = (int)((wxSlider const *)arg1)->GetValue();
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 resultobj = SWIG_From_int(static_cast< int >(result));
18072 return resultobj;
18073fail:
18074 return NULL;
18075}
18076
18077
18078SWIGINTERN PyObject *_wrap_Slider_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj = 0;
18080 wxSlider *arg1 = (wxSlider *) 0 ;
18081 int arg2 ;
18082 void *argp1 = 0 ;
18083 int res1 = 0 ;
18084 int val2 ;
18085 int ecode2 = 0 ;
18086 PyObject * obj0 = 0 ;
18087 PyObject * obj1 = 0 ;
18088 char * kwnames[] = {
18089 (char *) "self",(char *) "value", NULL
18090 };
18091
18092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18094 if (!SWIG_IsOK(res1)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18096 }
18097 arg1 = reinterpret_cast< wxSlider * >(argp1);
18098 ecode2 = SWIG_AsVal_int(obj1, &val2);
18099 if (!SWIG_IsOK(ecode2)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18101 }
18102 arg2 = static_cast< int >(val2);
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 (arg1)->SetValue(arg2);
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = SWIG_Py_Void();
18110 return resultobj;
18111fail:
18112 return NULL;
18113}
18114
18115
18116SWIGINTERN PyObject *_wrap_Slider_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj = 0;
18118 wxSlider *arg1 = (wxSlider *) 0 ;
18119 int arg2 ;
18120 int arg3 ;
18121 void *argp1 = 0 ;
18122 int res1 = 0 ;
18123 int val2 ;
18124 int ecode2 = 0 ;
18125 int val3 ;
18126 int ecode3 = 0 ;
18127 PyObject * obj0 = 0 ;
18128 PyObject * obj1 = 0 ;
18129 PyObject * obj2 = 0 ;
18130 char * kwnames[] = {
18131 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18132 };
18133
18134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18136 if (!SWIG_IsOK(res1)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18138 }
18139 arg1 = reinterpret_cast< wxSlider * >(argp1);
18140 ecode2 = SWIG_AsVal_int(obj1, &val2);
18141 if (!SWIG_IsOK(ecode2)) {
18142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18143 }
18144 arg2 = static_cast< int >(val2);
18145 ecode3 = SWIG_AsVal_int(obj2, &val3);
18146 if (!SWIG_IsOK(ecode3)) {
18147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18148 }
18149 arg3 = static_cast< int >(val3);
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 (arg1)->SetRange(arg2,arg3);
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 resultobj = SWIG_Py_Void();
18157 return resultobj;
18158fail:
18159 return NULL;
d55e5bfc
RD
18160}
18161
18162
554f62e9
RD
18163SWIGINTERN PyObject *_wrap_Slider_GetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18164 PyObject *resultobj = 0;
18165 wxSlider *arg1 = (wxSlider *) 0 ;
18166 int result;
18167 void *argp1 = 0 ;
18168 int res1 = 0 ;
18169 PyObject *swig_obj[1] ;
18170
18171 if (!args) SWIG_fail;
18172 swig_obj[0] = args;
18173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18174 if (!SWIG_IsOK(res1)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18176 }
18177 arg1 = reinterpret_cast< wxSlider * >(argp1);
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 result = (int)((wxSlider const *)arg1)->GetMin();
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 resultobj = SWIG_From_int(static_cast< int >(result));
18185 return resultobj;
18186fail:
18187 return NULL;
d55e5bfc
RD
18188}
18189
18190
554f62e9
RD
18191SWIGINTERN PyObject *_wrap_Slider_GetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18192 PyObject *resultobj = 0;
18193 wxSlider *arg1 = (wxSlider *) 0 ;
18194 int result;
18195 void *argp1 = 0 ;
18196 int res1 = 0 ;
18197 PyObject *swig_obj[1] ;
18198
18199 if (!args) SWIG_fail;
18200 swig_obj[0] = args;
18201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18202 if (!SWIG_IsOK(res1)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18204 }
18205 arg1 = reinterpret_cast< wxSlider * >(argp1);
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 result = (int)((wxSlider const *)arg1)->GetMax();
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 resultobj = SWIG_From_int(static_cast< int >(result));
18213 return resultobj;
18214fail:
18215 return NULL;
18216}
18217
18218
18219SWIGINTERN PyObject *_wrap_Slider_SetMin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18220 PyObject *resultobj = 0;
18221 wxSlider *arg1 = (wxSlider *) 0 ;
18222 int arg2 ;
18223 void *argp1 = 0 ;
18224 int res1 = 0 ;
18225 int val2 ;
18226 int ecode2 = 0 ;
18227 PyObject * obj0 = 0 ;
18228 PyObject * obj1 = 0 ;
18229 char * kwnames[] = {
18230 (char *) "self",(char *) "minValue", NULL
18231 };
18232
18233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) SWIG_fail;
18234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18235 if (!SWIG_IsOK(res1)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18237 }
18238 arg1 = reinterpret_cast< wxSlider * >(argp1);
18239 ecode2 = SWIG_AsVal_int(obj1, &val2);
18240 if (!SWIG_IsOK(ecode2)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18242 }
18243 arg2 = static_cast< int >(val2);
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 (arg1)->SetMin(arg2);
18247 wxPyEndAllowThreads(__tstate);
18248 if (PyErr_Occurred()) SWIG_fail;
18249 }
18250 resultobj = SWIG_Py_Void();
18251 return resultobj;
18252fail:
18253 return NULL;
18254}
18255
18256
18257SWIGINTERN PyObject *_wrap_Slider_SetMax(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18258 PyObject *resultobj = 0;
18259 wxSlider *arg1 = (wxSlider *) 0 ;
18260 int arg2 ;
18261 void *argp1 = 0 ;
18262 int res1 = 0 ;
18263 int val2 ;
18264 int ecode2 = 0 ;
18265 PyObject * obj0 = 0 ;
18266 PyObject * obj1 = 0 ;
18267 char * kwnames[] = {
18268 (char *) "self",(char *) "maxValue", NULL
18269 };
18270
18271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) SWIG_fail;
18272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18273 if (!SWIG_IsOK(res1)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18275 }
18276 arg1 = reinterpret_cast< wxSlider * >(argp1);
18277 ecode2 = SWIG_AsVal_int(obj1, &val2);
18278 if (!SWIG_IsOK(ecode2)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18280 }
18281 arg2 = static_cast< int >(val2);
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->SetMax(arg2);
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 resultobj = SWIG_Py_Void();
18289 return resultobj;
18290fail:
18291 return NULL;
18292}
18293
18294
18295SWIGINTERN PyObject *_wrap_Slider_SetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj = 0;
18297 wxSlider *arg1 = (wxSlider *) 0 ;
18298 int arg2 ;
18299 void *argp1 = 0 ;
18300 int res1 = 0 ;
18301 int val2 ;
18302 int ecode2 = 0 ;
18303 PyObject * obj0 = 0 ;
18304 PyObject * obj1 = 0 ;
18305 char * kwnames[] = {
18306 (char *) "self",(char *) "lineSize", NULL
18307 };
18308
18309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) SWIG_fail;
18310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18311 if (!SWIG_IsOK(res1)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18313 }
18314 arg1 = reinterpret_cast< wxSlider * >(argp1);
18315 ecode2 = SWIG_AsVal_int(obj1, &val2);
18316 if (!SWIG_IsOK(ecode2)) {
18317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18318 }
18319 arg2 = static_cast< int >(val2);
18320 {
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 (arg1)->SetLineSize(arg2);
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 resultobj = SWIG_Py_Void();
18327 return resultobj;
18328fail:
18329 return NULL;
18330}
18331
18332
18333SWIGINTERN PyObject *_wrap_Slider_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18334 PyObject *resultobj = 0;
18335 wxSlider *arg1 = (wxSlider *) 0 ;
18336 int arg2 ;
18337 void *argp1 = 0 ;
18338 int res1 = 0 ;
18339 int val2 ;
18340 int ecode2 = 0 ;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343 char * kwnames[] = {
18344 (char *) "self",(char *) "pageSize", NULL
18345 };
18346
18347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
18348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18349 if (!SWIG_IsOK(res1)) {
18350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18351 }
18352 arg1 = reinterpret_cast< wxSlider * >(argp1);
18353 ecode2 = SWIG_AsVal_int(obj1, &val2);
18354 if (!SWIG_IsOK(ecode2)) {
18355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18356 }
18357 arg2 = static_cast< int >(val2);
18358 {
18359 PyThreadState* __tstate = wxPyBeginAllowThreads();
18360 (arg1)->SetPageSize(arg2);
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 resultobj = SWIG_Py_Void();
18365 return resultobj;
18366fail:
18367 return NULL;
d55e5bfc
RD
18368}
18369
18370
554f62e9
RD
18371SWIGINTERN PyObject *_wrap_Slider_GetLineSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18372 PyObject *resultobj = 0;
18373 wxSlider *arg1 = (wxSlider *) 0 ;
18374 int result;
18375 void *argp1 = 0 ;
18376 int res1 = 0 ;
18377 PyObject *swig_obj[1] ;
18378
18379 if (!args) SWIG_fail;
18380 swig_obj[0] = args;
18381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18382 if (!SWIG_IsOK(res1)) {
18383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18384 }
18385 arg1 = reinterpret_cast< wxSlider * >(argp1);
18386 {
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (int)((wxSlider const *)arg1)->GetLineSize();
18389 wxPyEndAllowThreads(__tstate);
18390 if (PyErr_Occurred()) SWIG_fail;
18391 }
18392 resultobj = SWIG_From_int(static_cast< int >(result));
18393 return resultobj;
18394fail:
18395 return NULL;
d55e5bfc
RD
18396}
18397
18398
554f62e9
RD
18399SWIGINTERN PyObject *_wrap_Slider_GetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18400 PyObject *resultobj = 0;
18401 wxSlider *arg1 = (wxSlider *) 0 ;
18402 int result;
18403 void *argp1 = 0 ;
18404 int res1 = 0 ;
18405 PyObject *swig_obj[1] ;
18406
18407 if (!args) SWIG_fail;
18408 swig_obj[0] = args;
18409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18410 if (!SWIG_IsOK(res1)) {
18411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18412 }
18413 arg1 = reinterpret_cast< wxSlider * >(argp1);
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 result = (int)((wxSlider const *)arg1)->GetPageSize();
18417 wxPyEndAllowThreads(__tstate);
18418 if (PyErr_Occurred()) SWIG_fail;
18419 }
18420 resultobj = SWIG_From_int(static_cast< int >(result));
18421 return resultobj;
18422fail:
18423 return NULL;
18424}
18425
18426
18427SWIGINTERN PyObject *_wrap_Slider_SetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18428 PyObject *resultobj = 0;
18429 wxSlider *arg1 = (wxSlider *) 0 ;
18430 int arg2 ;
18431 void *argp1 = 0 ;
18432 int res1 = 0 ;
18433 int val2 ;
18434 int ecode2 = 0 ;
18435 PyObject * obj0 = 0 ;
18436 PyObject * obj1 = 0 ;
18437 char * kwnames[] = {
18438 (char *) "self",(char *) "lenPixels", NULL
18439 };
18440
18441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) SWIG_fail;
18442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18443 if (!SWIG_IsOK(res1)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18445 }
18446 arg1 = reinterpret_cast< wxSlider * >(argp1);
18447 ecode2 = SWIG_AsVal_int(obj1, &val2);
18448 if (!SWIG_IsOK(ecode2)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18450 }
18451 arg2 = static_cast< int >(val2);
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->SetThumbLength(arg2);
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
18458 resultobj = SWIG_Py_Void();
18459 return resultobj;
18460fail:
18461 return NULL;
f20a2e1f
RD
18462}
18463
18464
554f62e9
RD
18465SWIGINTERN PyObject *_wrap_Slider_GetThumbLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18466 PyObject *resultobj = 0;
18467 wxSlider *arg1 = (wxSlider *) 0 ;
18468 int result;
18469 void *argp1 = 0 ;
18470 int res1 = 0 ;
18471 PyObject *swig_obj[1] ;
18472
18473 if (!args) SWIG_fail;
18474 swig_obj[0] = args;
18475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18476 if (!SWIG_IsOK(res1)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18478 }
18479 arg1 = reinterpret_cast< wxSlider * >(argp1);
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 result = (int)((wxSlider const *)arg1)->GetThumbLength();
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 resultobj = SWIG_From_int(static_cast< int >(result));
18487 return resultobj;
18488fail:
18489 return NULL;
18490}
18491
18492
18493SWIGINTERN PyObject *_wrap_Slider_SetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj = 0;
18495 wxSlider *arg1 = (wxSlider *) 0 ;
18496 int arg2 ;
18497 int arg3 = (int) 1 ;
18498 void *argp1 = 0 ;
18499 int res1 = 0 ;
18500 int val2 ;
18501 int ecode2 = 0 ;
18502 int val3 ;
18503 int ecode3 = 0 ;
18504 PyObject * obj0 = 0 ;
18505 PyObject * obj1 = 0 ;
18506 PyObject * obj2 = 0 ;
18507 char * kwnames[] = {
18508 (char *) "self",(char *) "n",(char *) "pos", NULL
18509 };
18510
18511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18513 if (!SWIG_IsOK(res1)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18515 }
18516 arg1 = reinterpret_cast< wxSlider * >(argp1);
18517 ecode2 = SWIG_AsVal_int(obj1, &val2);
18518 if (!SWIG_IsOK(ecode2)) {
18519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18520 }
18521 arg2 = static_cast< int >(val2);
18522 if (obj2) {
18523 ecode3 = SWIG_AsVal_int(obj2, &val3);
18524 if (!SWIG_IsOK(ecode3)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18526 }
18527 arg3 = static_cast< int >(val3);
18528 }
18529 {
18530 PyThreadState* __tstate = wxPyBeginAllowThreads();
18531 (arg1)->SetTickFreq(arg2,arg3);
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = SWIG_Py_Void();
18536 return resultobj;
18537fail:
18538 return NULL;
d55e5bfc
RD
18539}
18540
18541
554f62e9
RD
18542SWIGINTERN PyObject *_wrap_Slider_GetTickFreq(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18543 PyObject *resultobj = 0;
18544 wxSlider *arg1 = (wxSlider *) 0 ;
18545 int result;
18546 void *argp1 = 0 ;
18547 int res1 = 0 ;
18548 PyObject *swig_obj[1] ;
18549
18550 if (!args) SWIG_fail;
18551 swig_obj[0] = args;
18552 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18553 if (!SWIG_IsOK(res1)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18555 }
18556 arg1 = reinterpret_cast< wxSlider * >(argp1);
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = (int)((wxSlider const *)arg1)->GetTickFreq();
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 resultobj = SWIG_From_int(static_cast< int >(result));
18564 return resultobj;
18565fail:
18566 return NULL;
d55e5bfc
RD
18567}
18568
18569
554f62e9
RD
18570SWIGINTERN PyObject *_wrap_Slider_ClearTicks(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18571 PyObject *resultobj = 0;
18572 wxSlider *arg1 = (wxSlider *) 0 ;
18573 void *argp1 = 0 ;
18574 int res1 = 0 ;
18575 PyObject *swig_obj[1] ;
18576
18577 if (!args) SWIG_fail;
18578 swig_obj[0] = args;
18579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18580 if (!SWIG_IsOK(res1)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18582 }
18583 arg1 = reinterpret_cast< wxSlider * >(argp1);
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 (arg1)->ClearTicks();
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 resultobj = SWIG_Py_Void();
18591 return resultobj;
18592fail:
18593 return NULL;
18594}
18595
18596
18597SWIGINTERN PyObject *_wrap_Slider_SetTick(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj = 0;
18599 wxSlider *arg1 = (wxSlider *) 0 ;
18600 int arg2 ;
18601 void *argp1 = 0 ;
18602 int res1 = 0 ;
18603 int val2 ;
18604 int ecode2 = 0 ;
18605 PyObject * obj0 = 0 ;
18606 PyObject * obj1 = 0 ;
18607 char * kwnames[] = {
18608 (char *) "self",(char *) "tickPos", NULL
18609 };
18610
18611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) SWIG_fail;
18612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18613 if (!SWIG_IsOK(res1)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18615 }
18616 arg1 = reinterpret_cast< wxSlider * >(argp1);
18617 ecode2 = SWIG_AsVal_int(obj1, &val2);
18618 if (!SWIG_IsOK(ecode2)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18620 }
18621 arg2 = static_cast< int >(val2);
18622 {
18623 PyThreadState* __tstate = wxPyBeginAllowThreads();
18624 (arg1)->SetTick(arg2);
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 resultobj = SWIG_Py_Void();
18629 return resultobj;
18630fail:
18631 return NULL;
d55e5bfc
RD
18632}
18633
18634
554f62e9
RD
18635SWIGINTERN PyObject *_wrap_Slider_ClearSel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18636 PyObject *resultobj = 0;
18637 wxSlider *arg1 = (wxSlider *) 0 ;
18638 void *argp1 = 0 ;
18639 int res1 = 0 ;
18640 PyObject *swig_obj[1] ;
18641
18642 if (!args) SWIG_fail;
18643 swig_obj[0] = args;
18644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18645 if (!SWIG_IsOK(res1)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18647 }
18648 arg1 = reinterpret_cast< wxSlider * >(argp1);
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 (arg1)->ClearSel();
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 resultobj = SWIG_Py_Void();
18656 return resultobj;
18657fail:
18658 return NULL;
d55e5bfc
RD
18659}
18660
18661
554f62e9
RD
18662SWIGINTERN PyObject *_wrap_Slider_GetSelEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18663 PyObject *resultobj = 0;
18664 wxSlider *arg1 = (wxSlider *) 0 ;
18665 int result;
18666 void *argp1 = 0 ;
18667 int res1 = 0 ;
18668 PyObject *swig_obj[1] ;
18669
18670 if (!args) SWIG_fail;
18671 swig_obj[0] = args;
18672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18673 if (!SWIG_IsOK(res1)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18675 }
18676 arg1 = reinterpret_cast< wxSlider * >(argp1);
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (int)((wxSlider const *)arg1)->GetSelEnd();
18680 wxPyEndAllowThreads(__tstate);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
18683 resultobj = SWIG_From_int(static_cast< int >(result));
18684 return resultobj;
18685fail:
18686 return NULL;
d55e5bfc 18687}
554f62e9
RD
18688
18689
18690SWIGINTERN PyObject *_wrap_Slider_GetSelStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18691 PyObject *resultobj = 0;
18692 wxSlider *arg1 = (wxSlider *) 0 ;
18693 int result;
18694 void *argp1 = 0 ;
18695 int res1 = 0 ;
18696 PyObject *swig_obj[1] ;
18697
18698 if (!args) SWIG_fail;
18699 swig_obj[0] = args;
18700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18701 if (!SWIG_IsOK(res1)) {
18702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18703 }
18704 arg1 = reinterpret_cast< wxSlider * >(argp1);
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 result = (int)((wxSlider const *)arg1)->GetSelStart();
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 resultobj = SWIG_From_int(static_cast< int >(result));
18712 return resultobj;
18713fail:
18714 return NULL;
18715}
18716
18717
18718SWIGINTERN PyObject *_wrap_Slider_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj = 0;
18720 wxSlider *arg1 = (wxSlider *) 0 ;
18721 int arg2 ;
18722 int arg3 ;
18723 void *argp1 = 0 ;
18724 int res1 = 0 ;
18725 int val2 ;
18726 int ecode2 = 0 ;
18727 int val3 ;
18728 int ecode3 = 0 ;
18729 PyObject * obj0 = 0 ;
18730 PyObject * obj1 = 0 ;
18731 PyObject * obj2 = 0 ;
18732 char * kwnames[] = {
18733 (char *) "self",(char *) "min",(char *) "max", NULL
18734 };
18735
18736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSlider, 0 | 0 );
18738 if (!SWIG_IsOK(res1)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18740 }
18741 arg1 = reinterpret_cast< wxSlider * >(argp1);
18742 ecode2 = SWIG_AsVal_int(obj1, &val2);
18743 if (!SWIG_IsOK(ecode2)) {
18744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18745 }
18746 arg2 = static_cast< int >(val2);
18747 ecode3 = SWIG_AsVal_int(obj2, &val3);
18748 if (!SWIG_IsOK(ecode3)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18750 }
18751 arg3 = static_cast< int >(val3);
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 (arg1)->SetSelection(arg2,arg3);
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 resultobj = SWIG_Py_Void();
18759 return resultobj;
18760fail:
18761 return NULL;
18762}
18763
18764
18765SWIGINTERN PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj = 0;
18767 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
18768 SwigValueWrapper<wxVisualAttributes > result;
18769 int val1 ;
18770 int ecode1 = 0 ;
18771 PyObject * obj0 = 0 ;
18772 char * kwnames[] = {
18773 (char *) "variant", NULL
18774 };
18775
18776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
18777 if (obj0) {
18778 ecode1 = SWIG_AsVal_int(obj0, &val1);
18779 if (!SWIG_IsOK(ecode1)) {
18780 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18781 }
18782 arg1 = static_cast< wxWindowVariant >(val1);
18783 }
18784 {
18785 if (!wxPyCheckForApp()) SWIG_fail;
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = wxSlider::GetClassDefaultAttributes(arg1);
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
18792 return resultobj;
18793fail:
18794 return NULL;
d55e5bfc
RD
18795}
18796
18797
554f62e9
RD
18798SWIGINTERN PyObject *Slider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18799 PyObject *obj;
18800 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18801 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider, SWIG_NewClientData(obj));
18802 return SWIG_Py_Void();
d55e5bfc
RD
18803}
18804
554f62e9
RD
18805SWIGINTERN PyObject *Slider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18806 return SWIG_Python_InitShadowInstance(args);
18807}
d55e5bfc 18808
554f62e9
RD
18809SWIGINTERN int ToggleButtonNameStr_set(PyObject *) {
18810 SWIG_Error(SWIG_AttributeError,"Variable ToggleButtonNameStr is read-only.");
18811 return 1;
d55e5bfc
RD
18812}
18813
18814
554f62e9
RD
18815SWIGINTERN PyObject *ToggleButtonNameStr_get(void) {
18816 PyObject *pyobj = 0;
18817
18818 {
18819#if wxUSE_UNICODE
18820 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18821#else
18822 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
18823#endif
18824 }
18825 return pyobj;
18826}
18827
18828
18829SWIGINTERN PyObject *_wrap_new_ToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj = 0;
18831 wxWindow *arg1 = (wxWindow *) 0 ;
18832 int arg2 = (int) -1 ;
18833 wxString const &arg3_defvalue = wxPyEmptyString ;
18834 wxString *arg3 = (wxString *) &arg3_defvalue ;
18835 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18836 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18837 wxSize const &arg5_defvalue = wxDefaultSize ;
18838 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18839 long arg6 = (long) 0 ;
18840 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18841 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18842 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
18843 wxString *arg8 = (wxString *) &arg8_defvalue ;
18844 wxToggleButton *result = 0 ;
18845 void *argp1 = 0 ;
18846 int res1 = 0 ;
18847 int val2 ;
18848 int ecode2 = 0 ;
18849 bool temp3 = false ;
18850 wxPoint temp4 ;
18851 wxSize temp5 ;
18852 long val6 ;
18853 int ecode6 = 0 ;
18854 void *argp7 = 0 ;
18855 int res7 = 0 ;
18856 bool temp8 = false ;
18857 PyObject * obj0 = 0 ;
18858 PyObject * obj1 = 0 ;
18859 PyObject * obj2 = 0 ;
18860 PyObject * obj3 = 0 ;
18861 PyObject * obj4 = 0 ;
18862 PyObject * obj5 = 0 ;
18863 PyObject * obj6 = 0 ;
18864 PyObject * obj7 = 0 ;
18865 char * kwnames[] = {
18866 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18867 };
18868
18869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18871 if (!SWIG_IsOK(res1)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18873 }
18874 arg1 = reinterpret_cast< wxWindow * >(argp1);
18875 if (obj1) {
18876 ecode2 = SWIG_AsVal_int(obj1, &val2);
18877 if (!SWIG_IsOK(ecode2)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18879 }
18880 arg2 = static_cast< int >(val2);
18881 }
18882 if (obj2) {
d55e5bfc 18883 {
554f62e9
RD
18884 arg3 = wxString_in_helper(obj2);
18885 if (arg3 == NULL) SWIG_fail;
18886 temp3 = true;
d55e5bfc 18887 }
554f62e9
RD
18888 }
18889 if (obj3) {
d55e5bfc 18890 {
554f62e9
RD
18891 arg4 = &temp4;
18892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 18893 }
554f62e9
RD
18894 }
18895 if (obj4) {
d55e5bfc 18896 {
554f62e9
RD
18897 arg5 = &temp5;
18898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 18899 }
554f62e9
RD
18900 }
18901 if (obj5) {
18902 ecode6 = SWIG_AsVal_long(obj5, &val6);
18903 if (!SWIG_IsOK(ecode6)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18905 }
18906 arg6 = static_cast< long >(val6);
18907 }
18908 if (obj6) {
18909 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18910 if (!SWIG_IsOK(res7)) {
18911 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18912 }
554f62e9
RD
18913 if (!argp7) {
18914 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 18915 }
554f62e9
RD
18916 arg7 = reinterpret_cast< wxValidator * >(argp7);
18917 }
18918 if (obj7) {
093d3ff1 18919 {
554f62e9
RD
18920 arg8 = wxString_in_helper(obj7);
18921 if (arg8 == NULL) SWIG_fail;
18922 temp8 = true;
093d3ff1 18923 }
554f62e9
RD
18924 }
18925 {
18926 if (!wxPyCheckForApp()) SWIG_fail;
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_NEW | 0 );
18933 {
18934 if (temp3)
18935 delete arg3;
18936 }
18937 {
18938 if (temp8)
18939 delete arg8;
18940 }
18941 return resultobj;
18942fail:
18943 {
18944 if (temp3)
18945 delete arg3;
18946 }
18947 {
18948 if (temp8)
18949 delete arg8;
18950 }
18951 return NULL;
d55e5bfc
RD
18952}
18953
18954
554f62e9
RD
18955SWIGINTERN PyObject *_wrap_new_PreToggleButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18956 PyObject *resultobj = 0;
18957 wxToggleButton *result = 0 ;
18958
18959 if (!SWIG_Python_UnpackTuple(args,"new_PreToggleButton",0,0,0)) SWIG_fail;
18960 {
18961 if (!wxPyCheckForApp()) SWIG_fail;
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 result = (wxToggleButton *)new wxToggleButton();
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToggleButton, SWIG_POINTER_OWN | 0 );
18968 return resultobj;
18969fail:
18970 return NULL;
18971}
18972
18973
18974SWIGINTERN PyObject *_wrap_ToggleButton_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj = 0;
18976 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
18977 wxWindow *arg2 = (wxWindow *) 0 ;
18978 int arg3 = (int) -1 ;
18979 wxString const &arg4_defvalue = wxPyEmptyString ;
18980 wxString *arg4 = (wxString *) &arg4_defvalue ;
18981 wxPoint const &arg5_defvalue = wxDefaultPosition ;
18982 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
18983 wxSize const &arg6_defvalue = wxDefaultSize ;
18984 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
18985 long arg7 = (long) 0 ;
18986 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18987 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18988 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
18989 wxString *arg9 = (wxString *) &arg9_defvalue ;
18990 bool result;
18991 void *argp1 = 0 ;
18992 int res1 = 0 ;
18993 void *argp2 = 0 ;
18994 int res2 = 0 ;
18995 int val3 ;
18996 int ecode3 = 0 ;
18997 bool temp4 = false ;
18998 wxPoint temp5 ;
18999 wxSize temp6 ;
19000 long val7 ;
19001 int ecode7 = 0 ;
19002 void *argp8 = 0 ;
19003 int res8 = 0 ;
19004 bool temp9 = false ;
19005 PyObject * obj0 = 0 ;
19006 PyObject * obj1 = 0 ;
19007 PyObject * obj2 = 0 ;
19008 PyObject * obj3 = 0 ;
19009 PyObject * obj4 = 0 ;
19010 PyObject * obj5 = 0 ;
19011 PyObject * obj6 = 0 ;
19012 PyObject * obj7 = 0 ;
19013 PyObject * obj8 = 0 ;
19014 char * kwnames[] = {
19015 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19016 };
19017
19018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
19019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19020 if (!SWIG_IsOK(res1)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19022 }
19023 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19024 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
19025 if (!SWIG_IsOK(res2)) {
19026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19027 }
19028 arg2 = reinterpret_cast< wxWindow * >(argp2);
19029 if (obj2) {
19030 ecode3 = SWIG_AsVal_int(obj2, &val3);
19031 if (!SWIG_IsOK(ecode3)) {
19032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19033 }
19034 arg3 = static_cast< int >(val3);
19035 }
19036 if (obj3) {
d55e5bfc 19037 {
554f62e9
RD
19038 arg4 = wxString_in_helper(obj3);
19039 if (arg4 == NULL) SWIG_fail;
19040 temp4 = true;
d55e5bfc 19041 }
554f62e9
RD
19042 }
19043 if (obj4) {
093d3ff1 19044 {
554f62e9
RD
19045 arg5 = &temp5;
19046 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 19047 }
554f62e9
RD
19048 }
19049 if (obj5) {
d55e5bfc 19050 {
554f62e9
RD
19051 arg6 = &temp6;
19052 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 19053 }
554f62e9
RD
19054 }
19055 if (obj6) {
19056 ecode7 = SWIG_AsVal_long(obj6, &val7);
19057 if (!SWIG_IsOK(ecode7)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19059 }
19060 arg7 = static_cast< long >(val7);
19061 }
19062 if (obj7) {
19063 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
19064 if (!SWIG_IsOK(res8)) {
19065 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
093d3ff1 19066 }
554f62e9
RD
19067 if (!argp8) {
19068 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 19069 }
554f62e9
RD
19070 arg8 = reinterpret_cast< wxValidator * >(argp8);
19071 }
19072 if (obj8) {
093d3ff1 19073 {
554f62e9
RD
19074 arg9 = wxString_in_helper(obj8);
19075 if (arg9 == NULL) SWIG_fail;
19076 temp9 = true;
093d3ff1 19077 }
554f62e9
RD
19078 }
19079 {
19080 PyThreadState* __tstate = wxPyBeginAllowThreads();
19081 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 {
19086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19087 }
19088 {
19089 if (temp4)
19090 delete arg4;
19091 }
19092 {
19093 if (temp9)
19094 delete arg9;
19095 }
19096 return resultobj;
19097fail:
19098 {
19099 if (temp4)
19100 delete arg4;
19101 }
19102 {
19103 if (temp9)
19104 delete arg9;
19105 }
19106 return NULL;
19107}
19108
19109
19110SWIGINTERN PyObject *_wrap_ToggleButton_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19111 PyObject *resultobj = 0;
19112 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19113 bool arg2 ;
19114 void *argp1 = 0 ;
19115 int res1 = 0 ;
19116 bool val2 ;
19117 int ecode2 = 0 ;
19118 PyObject * obj0 = 0 ;
19119 PyObject * obj1 = 0 ;
19120 char * kwnames[] = {
19121 (char *) "self",(char *) "value", NULL
19122 };
19123
19124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
19125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19126 if (!SWIG_IsOK(res1)) {
19127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19128 }
19129 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19130 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19131 if (!SWIG_IsOK(ecode2)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19133 }
19134 arg2 = static_cast< bool >(val2);
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 (arg1)->SetValue(arg2);
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = SWIG_Py_Void();
19142 return resultobj;
19143fail:
19144 return NULL;
d55e5bfc
RD
19145}
19146
19147
554f62e9
RD
19148SWIGINTERN PyObject *_wrap_ToggleButton_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19149 PyObject *resultobj = 0;
19150 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
19151 bool result;
19152 void *argp1 = 0 ;
19153 int res1 = 0 ;
19154 PyObject *swig_obj[1] ;
19155
19156 if (!args) SWIG_fail;
19157 swig_obj[0] = args;
19158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToggleButton, 0 | 0 );
19159 if (!SWIG_IsOK(res1)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19161 }
19162 arg1 = reinterpret_cast< wxToggleButton * >(argp1);
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (bool)((wxToggleButton const *)arg1)->GetValue();
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 {
19170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19171 }
19172 return resultobj;
19173fail:
19174 return NULL;
d55e5bfc
RD
19175}
19176
19177
554f62e9
RD
19178SWIGINTERN PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj = 0;
19180 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
19181 SwigValueWrapper<wxVisualAttributes > result;
19182 int val1 ;
19183 int ecode1 = 0 ;
19184 PyObject * obj0 = 0 ;
19185 char * kwnames[] = {
19186 (char *) "variant", NULL
19187 };
19188
19189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
19190 if (obj0) {
19191 ecode1 = SWIG_AsVal_int(obj0, &val1);
19192 if (!SWIG_IsOK(ecode1)) {
19193 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19194 }
19195 arg1 = static_cast< wxWindowVariant >(val1);
19196 }
19197 {
19198 if (!wxPyCheckForApp()) SWIG_fail;
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = wxToggleButton::GetClassDefaultAttributes(arg1);
19201 wxPyEndAllowThreads(__tstate);
19202 if (PyErr_Occurred()) SWIG_fail;
19203 }
19204 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
19205 return resultobj;
19206fail:
19207 return NULL;
d55e5bfc
RD
19208}
19209
19210
554f62e9
RD
19211SWIGINTERN PyObject *ToggleButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19212 PyObject *obj;
19213 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19214 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton, SWIG_NewClientData(obj));
19215 return SWIG_Py_Void();
d55e5bfc
RD
19216}
19217
554f62e9
RD
19218SWIGINTERN PyObject *ToggleButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19219 return SWIG_Python_InitShadowInstance(args);
f20a2e1f
RD
19220}
19221
554f62e9
RD
19222SWIGINTERN int NotebookNameStr_set(PyObject *) {
19223 SWIG_Error(SWIG_AttributeError,"Variable NotebookNameStr is read-only.");
19224 return 1;
d55e5bfc
RD
19225}
19226
19227
554f62e9
RD
19228SWIGINTERN PyObject *NotebookNameStr_get(void) {
19229 PyObject *pyobj = 0;
19230
19231 {
d55e5bfc 19232#if wxUSE_UNICODE
554f62e9 19233 pyobj = PyUnicode_FromWideChar((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19234#else
554f62e9 19235 pyobj = PyString_FromStringAndSize((&wxPyNotebookNameStr)->c_str(), (&wxPyNotebookNameStr)->Len());
d55e5bfc 19236#endif
554f62e9
RD
19237 }
19238 return pyobj;
d55e5bfc
RD
19239}
19240
19241
554f62e9
RD
19242SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19243 PyObject *resultobj = 0;
19244 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19245 size_t result;
19246 void *argp1 = 0 ;
19247 int res1 = 0 ;
19248 PyObject *swig_obj[1] ;
19249
19250 if (!args) SWIG_fail;
19251 swig_obj[0] = args;
19252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19253 if (!SWIG_IsOK(res1)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19255 }
19256 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (size_t)((wxBookCtrlBase const *)arg1)->GetPageCount();
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
19264 return resultobj;
19265fail:
19266 return NULL;
19267}
19268
19269
19270SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj = 0;
19272 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19273 size_t arg2 ;
19274 wxWindow *result = 0 ;
19275 void *argp1 = 0 ;
19276 int res1 = 0 ;
19277 size_t val2 ;
19278 int ecode2 = 0 ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char * kwnames[] = {
19282 (char *) "self",(char *) "n", NULL
19283 };
19284
19285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPage",kwnames,&obj0,&obj1)) SWIG_fail;
19286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19287 if (!SWIG_IsOK(res1)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19289 }
19290 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19291 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19292 if (!SWIG_IsOK(ecode2)) {
19293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19294 }
19295 arg2 = static_cast< size_t >(val2);
19296 {
19297 PyThreadState* __tstate = wxPyBeginAllowThreads();
19298 result = (wxWindow *)(arg1)->GetPage(arg2);
19299 wxPyEndAllowThreads(__tstate);
19300 if (PyErr_Occurred()) SWIG_fail;
19301 }
19302 {
19303 resultobj = wxPyMake_wxObject(result, 0);
19304 }
19305 return resultobj;
19306fail:
19307 return NULL;
d55e5bfc
RD
19308}
19309
19310
554f62e9
RD
19311SWIGINTERN PyObject *_wrap_BookCtrlBase_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19312 PyObject *resultobj = 0;
19313 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19314 wxWindow *result = 0 ;
19315 void *argp1 = 0 ;
19316 int res1 = 0 ;
19317 PyObject *swig_obj[1] ;
19318
19319 if (!args) SWIG_fail;
19320 swig_obj[0] = args;
19321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19322 if (!SWIG_IsOK(res1)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19324 }
19325 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (wxWindow *)((wxBookCtrlBase const *)arg1)->GetCurrentPage();
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
19332 {
19333 resultobj = wxPyMake_wxObject(result, 0);
19334 }
19335 return resultobj;
19336fail:
19337 return NULL;
d55e5bfc
RD
19338}
19339
19340
554f62e9
RD
19341SWIGINTERN PyObject *_wrap_BookCtrlBase_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19342 PyObject *resultobj = 0;
19343 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19344 int result;
19345 void *argp1 = 0 ;
19346 int res1 = 0 ;
19347 PyObject *swig_obj[1] ;
19348
19349 if (!args) SWIG_fail;
19350 swig_obj[0] = args;
19351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19352 if (!SWIG_IsOK(res1)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19354 }
19355 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 result = (int)((wxBookCtrlBase const *)arg1)->GetSelection();
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 resultobj = SWIG_From_int(static_cast< int >(result));
19363 return resultobj;
19364fail:
19365 return NULL;
19366}
19367
19368
19369SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj = 0;
19371 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19372 size_t arg2 ;
19373 wxString *arg3 = 0 ;
19374 bool result;
19375 void *argp1 = 0 ;
19376 int res1 = 0 ;
19377 size_t val2 ;
19378 int ecode2 = 0 ;
19379 bool temp3 = false ;
19380 PyObject * obj0 = 0 ;
19381 PyObject * obj1 = 0 ;
19382 PyObject * obj2 = 0 ;
19383 char * kwnames[] = {
19384 (char *) "self",(char *) "n",(char *) "strText", NULL
19385 };
19386
19387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19389 if (!SWIG_IsOK(res1)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19391 }
19392 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19393 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19394 if (!SWIG_IsOK(ecode2)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19396 }
19397 arg2 = static_cast< size_t >(val2);
19398 {
19399 arg3 = wxString_in_helper(obj2);
19400 if (arg3 == NULL) SWIG_fail;
19401 temp3 = true;
19402 }
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
19406 wxPyEndAllowThreads(__tstate);
19407 if (PyErr_Occurred()) SWIG_fail;
19408 }
19409 {
19410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19411 }
19412 {
19413 if (temp3)
19414 delete arg3;
19415 }
19416 return resultobj;
19417fail:
19418 {
19419 if (temp3)
19420 delete arg3;
19421 }
19422 return NULL;
19423}
19424
19425
19426SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19427 PyObject *resultobj = 0;
19428 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19429 size_t arg2 ;
19430 wxString result;
19431 void *argp1 = 0 ;
19432 int res1 = 0 ;
19433 size_t val2 ;
19434 int ecode2 = 0 ;
19435 PyObject * obj0 = 0 ;
19436 PyObject * obj1 = 0 ;
19437 char * kwnames[] = {
19438 (char *) "self",(char *) "n", NULL
19439 };
19440
19441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageText",kwnames,&obj0,&obj1)) SWIG_fail;
19442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19443 if (!SWIG_IsOK(res1)) {
19444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19445 }
19446 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19447 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19448 if (!SWIG_IsOK(ecode2)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19450 }
19451 arg2 = static_cast< size_t >(val2);
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 result = ((wxBookCtrlBase const *)arg1)->GetPageText(arg2);
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 {
19459#if wxUSE_UNICODE
19460 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19461#else
19462 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19463#endif
19464 }
19465 return resultobj;
19466fail:
19467 return NULL;
19468}
19469
19470
19471SWIGINTERN PyObject *_wrap_BookCtrlBase_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19472 PyObject *resultobj = 0;
19473 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19474 wxImageList *arg2 = (wxImageList *) 0 ;
19475 void *argp1 = 0 ;
19476 int res1 = 0 ;
19477 void *argp2 = 0 ;
19478 int res2 = 0 ;
19479 PyObject * obj0 = 0 ;
19480 PyObject * obj1 = 0 ;
19481 char * kwnames[] = {
19482 (char *) "self",(char *) "imageList", NULL
19483 };
19484
19485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19487 if (!SWIG_IsOK(res1)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19489 }
19490 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19491 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
19492 if (!SWIG_IsOK(res2)) {
19493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19494 }
19495 arg2 = reinterpret_cast< wxImageList * >(argp2);
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 (arg1)->SetImageList(arg2);
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 resultobj = SWIG_Py_Void();
19503 return resultobj;
19504fail:
19505 return NULL;
19506}
19507
19508
19509SWIGINTERN PyObject *_wrap_BookCtrlBase_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj = 0;
19511 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19512 wxImageList *arg2 = (wxImageList *) 0 ;
19513 void *argp1 = 0 ;
19514 int res1 = 0 ;
19515 int res2 = 0 ;
19516 PyObject * obj0 = 0 ;
19517 PyObject * obj1 = 0 ;
19518 char * kwnames[] = {
19519 (char *) "self",(char *) "imageList", NULL
19520 };
19521
19522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
19523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19524 if (!SWIG_IsOK(res1)) {
19525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19526 }
19527 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19528 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
19529 if (!SWIG_IsOK(res2)) {
19530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19531 }
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 (arg1)->AssignImageList(arg2);
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 resultobj = SWIG_Py_Void();
19539 return resultobj;
19540fail:
19541 return NULL;
d55e5bfc
RD
19542}
19543
19544
554f62e9
RD
19545SWIGINTERN PyObject *_wrap_BookCtrlBase_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19546 PyObject *resultobj = 0;
19547 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19548 wxImageList *result = 0 ;
19549 void *argp1 = 0 ;
19550 int res1 = 0 ;
19551 PyObject *swig_obj[1] ;
19552
19553 if (!args) SWIG_fail;
19554 swig_obj[0] = args;
19555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19556 if (!SWIG_IsOK(res1)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19558 }
19559 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (wxImageList *)((wxBookCtrlBase const *)arg1)->GetImageList();
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
3ecece7e
RD
19566 {
19567 resultobj = wxPyMake_wxObject(result, (bool)0);
19568 }
554f62e9
RD
19569 return resultobj;
19570fail:
19571 return NULL;
19572}
19573
19574
19575SWIGINTERN PyObject *_wrap_BookCtrlBase_GetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj = 0;
19577 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19578 size_t arg2 ;
19579 int result;
19580 void *argp1 = 0 ;
19581 int res1 = 0 ;
19582 size_t val2 ;
19583 int ecode2 = 0 ;
19584 PyObject * obj0 = 0 ;
19585 PyObject * obj1 = 0 ;
19586 char * kwnames[] = {
19587 (char *) "self",(char *) "n", NULL
19588 };
19589
19590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_GetPageImage",kwnames,&obj0,&obj1)) SWIG_fail;
19591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19592 if (!SWIG_IsOK(res1)) {
19593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19594 }
19595 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19596 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19597 if (!SWIG_IsOK(ecode2)) {
19598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19599 }
19600 arg2 = static_cast< size_t >(val2);
19601 {
19602 PyThreadState* __tstate = wxPyBeginAllowThreads();
19603 result = (int)((wxBookCtrlBase const *)arg1)->GetPageImage(arg2);
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
19607 resultobj = SWIG_From_int(static_cast< int >(result));
19608 return resultobj;
19609fail:
19610 return NULL;
19611}
19612
19613
19614SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19615 PyObject *resultobj = 0;
19616 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19617 size_t arg2 ;
19618 int arg3 ;
19619 bool result;
19620 void *argp1 = 0 ;
19621 int res1 = 0 ;
19622 size_t val2 ;
19623 int ecode2 = 0 ;
19624 int val3 ;
19625 int ecode3 = 0 ;
19626 PyObject * obj0 = 0 ;
19627 PyObject * obj1 = 0 ;
19628 PyObject * obj2 = 0 ;
19629 char * kwnames[] = {
19630 (char *) "self",(char *) "n",(char *) "imageId", NULL
19631 };
19632
19633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19635 if (!SWIG_IsOK(res1)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19637 }
19638 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19639 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
19640 if (!SWIG_IsOK(ecode2)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19642 }
19643 arg2 = static_cast< size_t >(val2);
19644 ecode3 = SWIG_AsVal_int(obj2, &val3);
19645 if (!SWIG_IsOK(ecode3)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19647 }
19648 arg3 = static_cast< int >(val3);
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (bool)(arg1)->SetPageImage(arg2,arg3);
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 {
19656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19657 }
19658 return resultobj;
19659fail:
19660 return NULL;
19661}
19662
19663
19664SWIGINTERN PyObject *_wrap_BookCtrlBase_SetPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj = 0;
19666 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19667 wxSize *arg2 = 0 ;
19668 void *argp1 = 0 ;
19669 int res1 = 0 ;
19670 wxSize temp2 ;
19671 PyObject * obj0 = 0 ;
19672 PyObject * obj1 = 0 ;
19673 char * kwnames[] = {
19674 (char *) "self",(char *) "size", NULL
19675 };
19676
19677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
19678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19679 if (!SWIG_IsOK(res1)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19681 }
19682 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19683 {
19684 arg2 = &temp2;
19685 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19686 }
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 (arg1)->SetPageSize((wxSize const &)*arg2);
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 resultobj = SWIG_Py_Void();
19694 return resultobj;
19695fail:
19696 return NULL;
19697}
19698
19699
19700SWIGINTERN PyObject *_wrap_BookCtrlBase_CalcSizeFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj = 0;
19702 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19703 wxSize *arg2 = 0 ;
19704 wxSize result;
19705 void *argp1 = 0 ;
19706 int res1 = 0 ;
19707 wxSize temp2 ;
19708 PyObject * obj0 = 0 ;
19709 PyObject * obj1 = 0 ;
19710 char * kwnames[] = {
19711 (char *) "self",(char *) "sizePage", NULL
19712 };
19713
19714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
19715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19716 if (!SWIG_IsOK(res1)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19718 }
19719 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19720 {
19721 arg2 = &temp2;
19722 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
19723 }
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 result = ((wxBookCtrlBase const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
19731 return resultobj;
19732fail:
19733 return NULL;
d55e5bfc
RD
19734}
19735
19736
554f62e9
RD
19737SWIGINTERN PyObject *_wrap_BookCtrlBase_GetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19738 PyObject *resultobj = 0;
19739 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19740 unsigned int result;
554f62e9
RD
19741 void *argp1 = 0 ;
19742 int res1 = 0 ;
19743 PyObject *swig_obj[1] ;
19744
19745 if (!args) SWIG_fail;
19746 swig_obj[0] = args;
19747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19748 if (!SWIG_IsOK(res1)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19750 }
19751 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 19754 result = (unsigned int)((wxBookCtrlBase const *)arg1)->GetInternalBorder();
554f62e9
RD
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
e9d6f3a4 19758 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
19759 return resultobj;
19760fail:
19761 return NULL;
19762}
19763
19764
19765SWIGINTERN PyObject *_wrap_BookCtrlBase_SetInternalBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj = 0;
19767 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
e9d6f3a4 19768 unsigned int arg2 ;
554f62e9
RD
19769 void *argp1 = 0 ;
19770 int res1 = 0 ;
e9d6f3a4 19771 unsigned int val2 ;
554f62e9
RD
19772 int ecode2 = 0 ;
19773 PyObject * obj0 = 0 ;
19774 PyObject * obj1 = 0 ;
19775 char * kwnames[] = {
19776 (char *) "self",(char *) "internalBorder", NULL
19777 };
19778
19779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames,&obj0,&obj1)) SWIG_fail;
19780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19781 if (!SWIG_IsOK(res1)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19783 }
19784 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
e9d6f3a4 19785 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
554f62e9 19786 if (!SWIG_IsOK(ecode2)) {
e9d6f3a4 19787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
554f62e9 19788 }
e9d6f3a4 19789 arg2 = static_cast< unsigned int >(val2);
554f62e9
RD
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 (arg1)->SetInternalBorder(arg2);
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 resultobj = SWIG_Py_Void();
19797 return resultobj;
19798fail:
19799 return NULL;
d55e5bfc
RD
19800}
19801
19802
554f62e9
RD
19803SWIGINTERN PyObject *_wrap_BookCtrlBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19804 PyObject *resultobj = 0;
19805 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19806 bool result;
19807 void *argp1 = 0 ;
19808 int res1 = 0 ;
19809 PyObject *swig_obj[1] ;
19810
19811 if (!args) SWIG_fail;
19812 swig_obj[0] = args;
19813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19814 if (!SWIG_IsOK(res1)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19816 }
19817 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
19820 result = (bool)((wxBookCtrlBase const *)arg1)->IsVertical();
19821 wxPyEndAllowThreads(__tstate);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 }
19824 {
19825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19826 }
19827 return resultobj;
19828fail:
19829 return NULL;
19830}
19831
19832
e9d6f3a4
RD
19833SWIGINTERN PyObject *_wrap_BookCtrlBase_SetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj = 0;
19835 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19836 int arg2 ;
19837 void *argp1 = 0 ;
19838 int res1 = 0 ;
19839 int val2 ;
19840 int ecode2 = 0 ;
19841 PyObject * obj0 = 0 ;
19842 PyObject * obj1 = 0 ;
19843 char * kwnames[] = {
19844 (char *) "self",(char *) "margin", NULL
19845 };
19846
19847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames,&obj0,&obj1)) SWIG_fail;
19848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19849 if (!SWIG_IsOK(res1)) {
19850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19851 }
19852 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19853 ecode2 = SWIG_AsVal_int(obj1, &val2);
19854 if (!SWIG_IsOK(ecode2)) {
19855 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19856 }
19857 arg2 = static_cast< int >(val2);
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 (arg1)->SetControlMargin(arg2);
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 resultobj = SWIG_Py_Void();
19865 return resultobj;
19866fail:
19867 return NULL;
19868}
19869
19870
19871SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19872 PyObject *resultobj = 0;
19873 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19874 int result;
19875 void *argp1 = 0 ;
19876 int res1 = 0 ;
19877 PyObject *swig_obj[1] ;
19878
19879 if (!args) SWIG_fail;
19880 swig_obj[0] = args;
19881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19882 if (!SWIG_IsOK(res1)) {
19883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19884 }
19885 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (int)((wxBookCtrlBase const *)arg1)->GetControlMargin();
19889 wxPyEndAllowThreads(__tstate);
19890 if (PyErr_Occurred()) SWIG_fail;
19891 }
19892 resultobj = SWIG_From_int(static_cast< int >(result));
19893 return resultobj;
19894fail:
19895 return NULL;
19896}
19897
19898
554f62e9
RD
19899SWIGINTERN PyObject *_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj = 0;
19901 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19902 bool arg2 ;
19903 void *argp1 = 0 ;
19904 int res1 = 0 ;
19905 bool val2 ;
19906 int ecode2 = 0 ;
19907 PyObject * obj0 = 0 ;
19908 PyObject * obj1 = 0 ;
19909 char * kwnames[] = {
19910 (char *) "self",(char *) "fit", NULL
19911 };
19912
19913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
19914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19915 if (!SWIG_IsOK(res1)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19917 }
19918 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19919 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19920 if (!SWIG_IsOK(ecode2)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19922 }
19923 arg2 = static_cast< bool >(val2);
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 (arg1)->SetFitToCurrentPage(arg2);
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 resultobj = SWIG_Py_Void();
19931 return resultobj;
19932fail:
19933 return NULL;
d55e5bfc
RD
19934}
19935
19936
554f62e9
RD
19937SWIGINTERN PyObject *_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19938 PyObject *resultobj = 0;
19939 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19940 bool result;
19941 void *argp1 = 0 ;
19942 int res1 = 0 ;
19943 PyObject *swig_obj[1] ;
19944
19945 if (!args) SWIG_fail;
19946 swig_obj[0] = args;
19947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19948 if (!SWIG_IsOK(res1)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19950 }
19951 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19952 {
19953 PyThreadState* __tstate = wxPyBeginAllowThreads();
19954 result = (bool)((wxBookCtrlBase const *)arg1)->GetFitToCurrentPage();
19955 wxPyEndAllowThreads(__tstate);
19956 if (PyErr_Occurred()) SWIG_fail;
19957 }
19958 {
19959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19960 }
19961 return resultobj;
19962fail:
19963 return NULL;
19964}
19965
19966
e9d6f3a4
RD
19967SWIGINTERN PyObject *_wrap_BookCtrlBase_GetControlSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19968 PyObject *resultobj = 0;
19969 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
19970 wxSizer *result = 0 ;
19971 void *argp1 = 0 ;
19972 int res1 = 0 ;
19973 PyObject *swig_obj[1] ;
19974
19975 if (!args) SWIG_fail;
19976 swig_obj[0] = args;
19977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
19978 if (!SWIG_IsOK(res1)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19980 }
19981 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
19982 {
19983 PyThreadState* __tstate = wxPyBeginAllowThreads();
19984 result = (wxSizer *)((wxBookCtrlBase const *)arg1)->GetControlSizer();
19985 wxPyEndAllowThreads(__tstate);
19986 if (PyErr_Occurred()) SWIG_fail;
19987 }
19988 {
19989 resultobj = wxPyMake_wxObject(result, (bool)0);
19990 }
19991 return resultobj;
19992fail:
19993 return NULL;
19994}
19995
19996
554f62e9
RD
19997SWIGINTERN PyObject *_wrap_BookCtrlBase_DeletePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19998 PyObject *resultobj = 0;
19999 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20000 size_t arg2 ;
20001 bool result;
20002 void *argp1 = 0 ;
20003 int res1 = 0 ;
20004 size_t val2 ;
20005 int ecode2 = 0 ;
20006 PyObject * obj0 = 0 ;
20007 PyObject * obj1 = 0 ;
20008 char * kwnames[] = {
20009 (char *) "self",(char *) "n", NULL
20010 };
20011
20012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_DeletePage",kwnames,&obj0,&obj1)) SWIG_fail;
20013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20014 if (!SWIG_IsOK(res1)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20016 }
20017 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20018 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20019 if (!SWIG_IsOK(ecode2)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20021 }
20022 arg2 = static_cast< size_t >(val2);
20023 {
20024 PyThreadState* __tstate = wxPyBeginAllowThreads();
20025 result = (bool)(arg1)->DeletePage(arg2);
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 {
20030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20031 }
20032 return resultobj;
20033fail:
20034 return NULL;
20035}
20036
20037
20038SWIGINTERN PyObject *_wrap_BookCtrlBase_RemovePage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20039 PyObject *resultobj = 0;
20040 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20041 size_t arg2 ;
20042 bool result;
20043 void *argp1 = 0 ;
20044 int res1 = 0 ;
20045 size_t val2 ;
20046 int ecode2 = 0 ;
20047 PyObject * obj0 = 0 ;
20048 PyObject * obj1 = 0 ;
20049 char * kwnames[] = {
20050 (char *) "self",(char *) "n", NULL
20051 };
20052
20053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_RemovePage",kwnames,&obj0,&obj1)) SWIG_fail;
20054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20055 if (!SWIG_IsOK(res1)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20057 }
20058 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20059 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20060 if (!SWIG_IsOK(ecode2)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20062 }
20063 arg2 = static_cast< size_t >(val2);
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = (bool)(arg1)->RemovePage(arg2);
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 {
20071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20072 }
20073 return resultobj;
20074fail:
20075 return NULL;
d55e5bfc
RD
20076}
20077
20078
554f62e9
RD
20079SWIGINTERN PyObject *_wrap_BookCtrlBase_DeleteAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20080 PyObject *resultobj = 0;
20081 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20082 bool result;
20083 void *argp1 = 0 ;
20084 int res1 = 0 ;
20085 PyObject *swig_obj[1] ;
20086
20087 if (!args) SWIG_fail;
20088 swig_obj[0] = args;
20089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20090 if (!SWIG_IsOK(res1)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20092 }
20093 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (bool)(arg1)->DeleteAllPages();
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 {
20101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20102 }
20103 return resultobj;
20104fail:
20105 return NULL;
20106}
20107
20108
20109SWIGINTERN PyObject *_wrap_BookCtrlBase_AddPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20110 PyObject *resultobj = 0;
20111 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20112 wxWindow *arg2 = (wxWindow *) 0 ;
20113 wxString *arg3 = 0 ;
20114 bool arg4 = (bool) false ;
20115 int arg5 = (int) -1 ;
20116 bool result;
20117 void *argp1 = 0 ;
20118 int res1 = 0 ;
20119 void *argp2 = 0 ;
20120 int res2 = 0 ;
20121 bool temp3 = false ;
20122 bool val4 ;
20123 int ecode4 = 0 ;
20124 int val5 ;
20125 int ecode5 = 0 ;
20126 PyObject * obj0 = 0 ;
20127 PyObject * obj1 = 0 ;
20128 PyObject * obj2 = 0 ;
20129 PyObject * obj3 = 0 ;
20130 PyObject * obj4 = 0 ;
20131 char * kwnames[] = {
20132 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20133 };
20134
20135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20137 if (!SWIG_IsOK(res1)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20139 }
20140 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20142 if (!SWIG_IsOK(res2)) {
20143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20144 }
20145 arg2 = reinterpret_cast< wxWindow * >(argp2);
20146 {
20147 arg3 = wxString_in_helper(obj2);
20148 if (arg3 == NULL) SWIG_fail;
20149 temp3 = true;
20150 }
20151 if (obj3) {
20152 ecode4 = SWIG_AsVal_bool(obj3, &val4);
20153 if (!SWIG_IsOK(ecode4)) {
20154 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20155 }
20156 arg4 = static_cast< bool >(val4);
20157 }
20158 if (obj4) {
20159 ecode5 = SWIG_AsVal_int(obj4, &val5);
20160 if (!SWIG_IsOK(ecode5)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20162 }
20163 arg5 = static_cast< int >(val5);
20164 }
20165 {
20166 PyThreadState* __tstate = wxPyBeginAllowThreads();
20167 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
20168 wxPyEndAllowThreads(__tstate);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 {
20172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20173 }
20174 {
20175 if (temp3)
20176 delete arg3;
20177 }
20178 return resultobj;
20179fail:
20180 {
20181 if (temp3)
20182 delete arg3;
20183 }
20184 return NULL;
20185}
20186
20187
20188SWIGINTERN PyObject *_wrap_BookCtrlBase_InsertPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj = 0;
20190 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20191 size_t arg2 ;
20192 wxWindow *arg3 = (wxWindow *) 0 ;
20193 wxString *arg4 = 0 ;
20194 bool arg5 = (bool) false ;
20195 int arg6 = (int) -1 ;
20196 bool result;
20197 void *argp1 = 0 ;
20198 int res1 = 0 ;
20199 size_t val2 ;
20200 int ecode2 = 0 ;
20201 void *argp3 = 0 ;
20202 int res3 = 0 ;
20203 bool temp4 = false ;
20204 bool val5 ;
20205 int ecode5 = 0 ;
20206 int val6 ;
20207 int ecode6 = 0 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 PyObject * obj2 = 0 ;
20211 PyObject * obj3 = 0 ;
20212 PyObject * obj4 = 0 ;
20213 PyObject * obj5 = 0 ;
20214 char * kwnames[] = {
20215 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20216 };
20217
20218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20220 if (!SWIG_IsOK(res1)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20222 }
20223 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20224 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20225 if (!SWIG_IsOK(ecode2)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20227 }
20228 arg2 = static_cast< size_t >(val2);
20229 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
20230 if (!SWIG_IsOK(res3)) {
20231 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20232 }
20233 arg3 = reinterpret_cast< wxWindow * >(argp3);
20234 {
20235 arg4 = wxString_in_helper(obj3);
20236 if (arg4 == NULL) SWIG_fail;
20237 temp4 = true;
20238 }
20239 if (obj4) {
20240 ecode5 = SWIG_AsVal_bool(obj4, &val5);
20241 if (!SWIG_IsOK(ecode5)) {
20242 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20243 }
20244 arg5 = static_cast< bool >(val5);
20245 }
20246 if (obj5) {
20247 ecode6 = SWIG_AsVal_int(obj5, &val6);
20248 if (!SWIG_IsOK(ecode6)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20250 }
20251 arg6 = static_cast< int >(val6);
20252 }
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 {
20260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20261 }
20262 {
20263 if (temp4)
20264 delete arg4;
20265 }
20266 return resultobj;
20267fail:
20268 {
20269 if (temp4)
20270 delete arg4;
20271 }
20272 return NULL;
20273}
20274
20275
20276SWIGINTERN PyObject *_wrap_BookCtrlBase_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj = 0;
20278 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20279 size_t arg2 ;
20280 int result;
20281 void *argp1 = 0 ;
20282 int res1 = 0 ;
20283 size_t val2 ;
20284 int ecode2 = 0 ;
20285 PyObject * obj0 = 0 ;
20286 PyObject * obj1 = 0 ;
20287 char * kwnames[] = {
20288 (char *) "self",(char *) "n", NULL
20289 };
20290
20291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20293 if (!SWIG_IsOK(res1)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20295 }
20296 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20297 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20298 if (!SWIG_IsOK(ecode2)) {
20299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20300 }
20301 arg2 = static_cast< size_t >(val2);
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (int)(arg1)->SetSelection(arg2);
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 resultobj = SWIG_From_int(static_cast< int >(result));
20309 return resultobj;
20310fail:
20311 return NULL;
20312}
20313
20314
b39fe951
RD
20315SWIGINTERN PyObject *_wrap_BookCtrlBase_ChangeSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj = 0;
20317 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20318 size_t arg2 ;
20319 int result;
20320 void *argp1 = 0 ;
20321 int res1 = 0 ;
20322 size_t val2 ;
20323 int ecode2 = 0 ;
20324 PyObject * obj0 = 0 ;
20325 PyObject * obj1 = 0 ;
20326 char * kwnames[] = {
20327 (char *) "self",(char *) "n", NULL
20328 };
20329
20330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20332 if (!SWIG_IsOK(res1)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20334 }
20335 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20336 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
20337 if (!SWIG_IsOK(ecode2)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20339 }
20340 arg2 = static_cast< size_t >(val2);
20341 {
20342 PyThreadState* __tstate = wxPyBeginAllowThreads();
20343 result = (int)(arg1)->ChangeSelection(arg2);
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = SWIG_From_int(static_cast< int >(result));
20348 return resultobj;
20349fail:
20350 return NULL;
20351}
20352
20353
554f62e9
RD
20354SWIGINTERN PyObject *_wrap_BookCtrlBase_AdvanceSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj = 0;
20356 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20357 bool arg2 = (bool) true ;
20358 void *argp1 = 0 ;
20359 int res1 = 0 ;
20360 bool val2 ;
20361 int ecode2 = 0 ;
20362 PyObject * obj0 = 0 ;
20363 PyObject * obj1 = 0 ;
20364 char * kwnames[] = {
20365 (char *) "self",(char *) "forward", NULL
20366 };
20367
20368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20370 if (!SWIG_IsOK(res1)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20372 }
20373 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20374 if (obj1) {
20375 ecode2 = SWIG_AsVal_bool(obj1, &val2);
20376 if (!SWIG_IsOK(ecode2)) {
20377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20378 }
20379 arg2 = static_cast< bool >(val2);
20380 }
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 (arg1)->AdvanceSelection(arg2);
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 resultobj = SWIG_Py_Void();
20388 return resultobj;
20389fail:
20390 return NULL;
20391}
20392
20393
704eda0c
RD
20394SWIGINTERN PyObject *_wrap_BookCtrlBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj = 0;
20396 wxBookCtrlBase *arg1 = (wxBookCtrlBase *) 0 ;
20397 wxPoint *arg2 = 0 ;
20398 long *arg3 = (long *) 0 ;
20399 int result;
20400 void *argp1 = 0 ;
20401 int res1 = 0 ;
20402 wxPoint temp2 ;
20403 long temp3 ;
20404 int res3 = SWIG_TMPOBJ ;
20405 PyObject * obj0 = 0 ;
20406 PyObject * obj1 = 0 ;
20407 char * kwnames[] = {
20408 (char *) "self",(char *) "pt", NULL
20409 };
20410
20411 arg3 = &temp3;
20412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
20413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBase, 0 | 0 );
20414 if (!SWIG_IsOK(res1)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20416 }
20417 arg1 = reinterpret_cast< wxBookCtrlBase * >(argp1);
20418 {
20419 arg2 = &temp2;
20420 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20421 }
20422 {
20423 PyThreadState* __tstate = wxPyBeginAllowThreads();
20424 result = (int)((wxBookCtrlBase const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 resultobj = SWIG_From_int(static_cast< int >(result));
20429 if (SWIG_IsTmpObj(res3)) {
20430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
20431 } else {
20432 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
20433 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
20434 }
20435 return resultobj;
20436fail:
20437 return NULL;
20438}
20439
20440
554f62e9
RD
20441SWIGINTERN PyObject *_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj = 0;
20443 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
20444 SwigValueWrapper<wxVisualAttributes > result;
20445 int val1 ;
20446 int ecode1 = 0 ;
20447 PyObject * obj0 = 0 ;
20448 char * kwnames[] = {
20449 (char *) "variant", NULL
20450 };
20451
20452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
20453 if (obj0) {
20454 ecode1 = SWIG_AsVal_int(obj0, &val1);
20455 if (!SWIG_IsOK(ecode1)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20457 }
20458 arg1 = static_cast< wxWindowVariant >(val1);
20459 }
20460 {
20461 if (!wxPyCheckForApp()) SWIG_fail;
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 result = wxBookCtrlBase::GetClassDefaultAttributes(arg1);
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
20468 return resultobj;
20469fail:
20470 return NULL;
20471}
20472
20473
20474SWIGINTERN PyObject *BookCtrlBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20475 PyObject *obj;
20476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20477 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase, SWIG_NewClientData(obj));
20478 return SWIG_Py_Void();
20479}
20480
20481SWIGINTERN PyObject *_wrap_new_BookCtrlBaseEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20482 PyObject *resultobj = 0;
20483 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20484 int arg2 = (int) 0 ;
20485 int arg3 = (int) -1 ;
20486 int arg4 = (int) -1 ;
20487 wxBookCtrlBaseEvent *result = 0 ;
20488 int val1 ;
20489 int ecode1 = 0 ;
20490 int val2 ;
20491 int ecode2 = 0 ;
20492 int val3 ;
20493 int ecode3 = 0 ;
20494 int val4 ;
20495 int ecode4 = 0 ;
20496 PyObject * obj0 = 0 ;
20497 PyObject * obj1 = 0 ;
20498 PyObject * obj2 = 0 ;
20499 PyObject * obj3 = 0 ;
20500 char * kwnames[] = {
20501 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20502 };
20503
20504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20505 if (obj0) {
20506 ecode1 = SWIG_AsVal_int(obj0, &val1);
20507 if (!SWIG_IsOK(ecode1)) {
20508 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20509 }
20510 arg1 = static_cast< wxEventType >(val1);
20511 }
20512 if (obj1) {
20513 ecode2 = SWIG_AsVal_int(obj1, &val2);
20514 if (!SWIG_IsOK(ecode2)) {
20515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20516 }
20517 arg2 = static_cast< int >(val2);
20518 }
20519 if (obj2) {
20520 ecode3 = SWIG_AsVal_int(obj2, &val3);
20521 if (!SWIG_IsOK(ecode3)) {
20522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20523 }
20524 arg3 = static_cast< int >(val3);
20525 }
20526 if (obj3) {
20527 ecode4 = SWIG_AsVal_int(obj3, &val4);
20528 if (!SWIG_IsOK(ecode4)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20530 }
20531 arg4 = static_cast< int >(val4);
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 result = (wxBookCtrlBaseEvent *)new wxBookCtrlBaseEvent(arg1,arg2,arg3,arg4);
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_POINTER_NEW | 0 );
20540 return resultobj;
20541fail:
20542 return NULL;
d55e5bfc
RD
20543}
20544
20545
554f62e9
RD
20546SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20547 PyObject *resultobj = 0;
20548 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20549 int result;
20550 void *argp1 = 0 ;
20551 int res1 = 0 ;
20552 PyObject *swig_obj[1] ;
20553
20554 if (!args) SWIG_fail;
20555 swig_obj[0] = args;
20556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20557 if (!SWIG_IsOK(res1)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20559 }
20560 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetSelection();
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 resultobj = SWIG_From_int(static_cast< int >(result));
20568 return resultobj;
20569fail:
20570 return NULL;
20571}
20572
20573
20574SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj = 0;
20576 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20577 int arg2 ;
20578 void *argp1 = 0 ;
20579 int res1 = 0 ;
20580 int val2 ;
20581 int ecode2 = 0 ;
20582 PyObject * obj0 = 0 ;
20583 PyObject * obj1 = 0 ;
20584 char * kwnames[] = {
20585 (char *) "self",(char *) "nSel", NULL
20586 };
20587
20588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20590 if (!SWIG_IsOK(res1)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20592 }
20593 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20594 ecode2 = SWIG_AsVal_int(obj1, &val2);
20595 if (!SWIG_IsOK(ecode2)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20597 }
20598 arg2 = static_cast< int >(val2);
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->SetSelection(arg2);
20602 wxPyEndAllowThreads(__tstate);
20603 if (PyErr_Occurred()) SWIG_fail;
20604 }
20605 resultobj = SWIG_Py_Void();
20606 return resultobj;
20607fail:
20608 return NULL;
d55e5bfc
RD
20609}
20610
20611
554f62e9
RD
20612SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20613 PyObject *resultobj = 0;
20614 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20615 int result;
20616 void *argp1 = 0 ;
20617 int res1 = 0 ;
20618 PyObject *swig_obj[1] ;
20619
20620 if (!args) SWIG_fail;
20621 swig_obj[0] = args;
20622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20623 if (!SWIG_IsOK(res1)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20625 }
20626 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20627 {
20628 PyThreadState* __tstate = wxPyBeginAllowThreads();
20629 result = (int)((wxBookCtrlBaseEvent const *)arg1)->GetOldSelection();
20630 wxPyEndAllowThreads(__tstate);
20631 if (PyErr_Occurred()) SWIG_fail;
20632 }
20633 resultobj = SWIG_From_int(static_cast< int >(result));
20634 return resultobj;
20635fail:
20636 return NULL;
20637}
20638
20639
20640SWIGINTERN PyObject *_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20641 PyObject *resultobj = 0;
20642 wxBookCtrlBaseEvent *arg1 = (wxBookCtrlBaseEvent *) 0 ;
20643 int arg2 ;
20644 void *argp1 = 0 ;
20645 int res1 = 0 ;
20646 int val2 ;
20647 int ecode2 = 0 ;
20648 PyObject * obj0 = 0 ;
20649 PyObject * obj1 = 0 ;
20650 char * kwnames[] = {
20651 (char *) "self",(char *) "nOldSel", NULL
20652 };
20653
20654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxBookCtrlBaseEvent, 0 | 0 );
20656 if (!SWIG_IsOK(res1)) {
20657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20658 }
20659 arg1 = reinterpret_cast< wxBookCtrlBaseEvent * >(argp1);
20660 ecode2 = SWIG_AsVal_int(obj1, &val2);
20661 if (!SWIG_IsOK(ecode2)) {
20662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20663 }
20664 arg2 = static_cast< int >(val2);
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 (arg1)->SetOldSelection(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 *BookCtrlBaseEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20679 PyObject *obj;
20680 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20681 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent, SWIG_NewClientData(obj));
20682 return SWIG_Py_Void();
20683}
20684
20685SWIGINTERN PyObject *BookCtrlBaseEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20686 return SWIG_Python_InitShadowInstance(args);
20687}
20688
20689SWIGINTERN PyObject *_wrap_new_Notebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj = 0;
20691 wxWindow *arg1 = (wxWindow *) 0 ;
20692 int arg2 = (int) -1 ;
20693 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20694 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20695 wxSize const &arg4_defvalue = wxDefaultSize ;
20696 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20697 long arg5 = (long) 0 ;
20698 wxString const &arg6_defvalue = wxPyNotebookNameStr ;
20699 wxString *arg6 = (wxString *) &arg6_defvalue ;
20700 wxNotebook *result = 0 ;
20701 void *argp1 = 0 ;
20702 int res1 = 0 ;
20703 int val2 ;
20704 int ecode2 = 0 ;
20705 wxPoint temp3 ;
20706 wxSize temp4 ;
20707 long val5 ;
20708 int ecode5 = 0 ;
20709 bool temp6 = false ;
20710 PyObject * obj0 = 0 ;
20711 PyObject * obj1 = 0 ;
20712 PyObject * obj2 = 0 ;
20713 PyObject * obj3 = 0 ;
20714 PyObject * obj4 = 0 ;
20715 PyObject * obj5 = 0 ;
20716 char * kwnames[] = {
20717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20718 };
20719
20720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20722 if (!SWIG_IsOK(res1)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20724 }
20725 arg1 = reinterpret_cast< wxWindow * >(argp1);
20726 if (obj1) {
20727 ecode2 = SWIG_AsVal_int(obj1, &val2);
20728 if (!SWIG_IsOK(ecode2)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20730 }
20731 arg2 = static_cast< int >(val2);
20732 }
20733 if (obj2) {
093d3ff1 20734 {
554f62e9
RD
20735 arg3 = &temp3;
20736 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 20737 }
554f62e9
RD
20738 }
20739 if (obj3) {
d55e5bfc 20740 {
554f62e9
RD
20741 arg4 = &temp4;
20742 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20743 }
554f62e9
RD
20744 }
20745 if (obj4) {
20746 ecode5 = SWIG_AsVal_long(obj4, &val5);
20747 if (!SWIG_IsOK(ecode5)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20749 }
20750 arg5 = static_cast< long >(val5);
20751 }
20752 if (obj5) {
20753 {
20754 arg6 = wxString_in_helper(obj5);
20755 if (arg6 == NULL) SWIG_fail;
20756 temp6 = true;
20757 }
20758 }
20759 {
20760 if (!wxPyCheckForApp()) SWIG_fail;
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_NEW | 0 );
20767 {
20768 if (temp6)
20769 delete arg6;
20770 }
20771 return resultobj;
20772fail:
20773 {
20774 if (temp6)
20775 delete arg6;
20776 }
20777 return NULL;
d55e5bfc
RD
20778}
20779
20780
554f62e9
RD
20781SWIGINTERN PyObject *_wrap_new_PreNotebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20782 PyObject *resultobj = 0;
20783 wxNotebook *result = 0 ;
20784
20785 if (!SWIG_Python_UnpackTuple(args,"new_PreNotebook",0,0,0)) SWIG_fail;
20786 {
20787 if (!wxPyCheckForApp()) SWIG_fail;
20788 PyThreadState* __tstate = wxPyBeginAllowThreads();
20789 result = (wxNotebook *)new wxNotebook();
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
20793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebook, SWIG_POINTER_OWN | 0 );
20794 return resultobj;
20795fail:
20796 return NULL;
20797}
20798
20799
20800SWIGINTERN PyObject *_wrap_Notebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20801 PyObject *resultobj = 0;
20802 wxNotebook *arg1 = (wxNotebook *) 0 ;
20803 wxWindow *arg2 = (wxWindow *) 0 ;
20804 int arg3 = (int) -1 ;
20805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20807 wxSize const &arg5_defvalue = wxDefaultSize ;
20808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20809 long arg6 = (long) 0 ;
20810 wxString const &arg7_defvalue = wxPyNotebookNameStr ;
20811 wxString *arg7 = (wxString *) &arg7_defvalue ;
20812 bool result;
20813 void *argp1 = 0 ;
20814 int res1 = 0 ;
20815 void *argp2 = 0 ;
20816 int res2 = 0 ;
20817 int val3 ;
20818 int ecode3 = 0 ;
20819 wxPoint temp4 ;
20820 wxSize temp5 ;
20821 long val6 ;
20822 int ecode6 = 0 ;
20823 bool temp7 = false ;
20824 PyObject * obj0 = 0 ;
20825 PyObject * obj1 = 0 ;
20826 PyObject * obj2 = 0 ;
20827 PyObject * obj3 = 0 ;
20828 PyObject * obj4 = 0 ;
20829 PyObject * obj5 = 0 ;
20830 PyObject * obj6 = 0 ;
20831 char * kwnames[] = {
20832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20833 };
20834
20835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20837 if (!SWIG_IsOK(res1)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20839 }
20840 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20841 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20842 if (!SWIG_IsOK(res2)) {
20843 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20844 }
20845 arg2 = reinterpret_cast< wxWindow * >(argp2);
20846 if (obj2) {
20847 ecode3 = SWIG_AsVal_int(obj2, &val3);
20848 if (!SWIG_IsOK(ecode3)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20850 }
20851 arg3 = static_cast< int >(val3);
20852 }
20853 if (obj3) {
093d3ff1 20854 {
554f62e9
RD
20855 arg4 = &temp4;
20856 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 20857 }
554f62e9
RD
20858 }
20859 if (obj4) {
093d3ff1 20860 {
554f62e9
RD
20861 arg5 = &temp5;
20862 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 20863 }
554f62e9
RD
20864 }
20865 if (obj5) {
20866 ecode6 = SWIG_AsVal_long(obj5, &val6);
20867 if (!SWIG_IsOK(ecode6)) {
20868 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20869 }
20870 arg6 = static_cast< long >(val6);
20871 }
20872 if (obj6) {
d55e5bfc 20873 {
554f62e9
RD
20874 arg7 = wxString_in_helper(obj6);
20875 if (arg7 == NULL) SWIG_fail;
20876 temp7 = true;
d55e5bfc 20877 }
554f62e9
RD
20878 }
20879 {
20880 PyThreadState* __tstate = wxPyBeginAllowThreads();
20881 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 {
20886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20887 }
20888 {
20889 if (temp7)
20890 delete arg7;
20891 }
20892 return resultobj;
20893fail:
20894 {
20895 if (temp7)
20896 delete arg7;
20897 }
20898 return NULL;
f20a2e1f
RD
20899}
20900
20901
554f62e9
RD
20902SWIGINTERN PyObject *_wrap_Notebook_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20903 PyObject *resultobj = 0;
20904 wxNotebook *arg1 = (wxNotebook *) 0 ;
20905 int result;
20906 void *argp1 = 0 ;
20907 int res1 = 0 ;
20908 PyObject *swig_obj[1] ;
20909
20910 if (!args) SWIG_fail;
20911 swig_obj[0] = args;
20912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20913 if (!SWIG_IsOK(res1)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20915 }
20916 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (int)((wxNotebook const *)arg1)->GetRowCount();
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 resultobj = SWIG_From_int(static_cast< int >(result));
20924 return resultobj;
20925fail:
20926 return NULL;
20927}
20928
20929
20930SWIGINTERN PyObject *_wrap_Notebook_SetPadding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj = 0;
20932 wxNotebook *arg1 = (wxNotebook *) 0 ;
20933 wxSize *arg2 = 0 ;
20934 void *argp1 = 0 ;
20935 int res1 = 0 ;
20936 wxSize temp2 ;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 char * kwnames[] = {
20940 (char *) "self",(char *) "padding", NULL
20941 };
20942
20943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) SWIG_fail;
20944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20945 if (!SWIG_IsOK(res1)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20947 }
20948 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20949 {
20950 arg2 = &temp2;
20951 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20952 }
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 (arg1)->SetPadding((wxSize const &)*arg2);
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 resultobj = SWIG_Py_Void();
20960 return resultobj;
20961fail:
20962 return NULL;
20963}
20964
20965
20966SWIGINTERN PyObject *_wrap_Notebook_SetTabSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj = 0;
20968 wxNotebook *arg1 = (wxNotebook *) 0 ;
20969 wxSize *arg2 = 0 ;
20970 void *argp1 = 0 ;
20971 int res1 = 0 ;
20972 wxSize temp2 ;
20973 PyObject * obj0 = 0 ;
20974 PyObject * obj1 = 0 ;
20975 char * kwnames[] = {
20976 (char *) "self",(char *) "sz", NULL
20977 };
20978
20979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) SWIG_fail;
20980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
20981 if (!SWIG_IsOK(res1)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20983 }
20984 arg1 = reinterpret_cast< wxNotebook * >(argp1);
20985 {
20986 arg2 = &temp2;
20987 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
20988 }
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 (arg1)->SetTabSize((wxSize const &)*arg2);
20992 wxPyEndAllowThreads(__tstate);
20993 if (PyErr_Occurred()) SWIG_fail;
20994 }
20995 resultobj = SWIG_Py_Void();
20996 return resultobj;
20997fail:
20998 return NULL;
20999}
21000
21001
554f62e9
RD
21002SWIGINTERN PyObject *_wrap_Notebook_GetThemeBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21003 PyObject *resultobj = 0;
21004 wxNotebook *arg1 = (wxNotebook *) 0 ;
21005 wxColour result;
21006 void *argp1 = 0 ;
21007 int res1 = 0 ;
21008 PyObject *swig_obj[1] ;
21009
21010 if (!args) SWIG_fail;
21011 swig_obj[0] = args;
21012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21013 if (!SWIG_IsOK(res1)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21015 }
21016 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 result = ((wxNotebook const *)arg1)->GetThemeBackgroundColour();
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21024 return resultobj;
21025fail:
21026 return NULL;
21027}
21028
21029
21030SWIGINTERN PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj = 0;
21032 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
21033 SwigValueWrapper<wxVisualAttributes > result;
21034 int val1 ;
21035 int ecode1 = 0 ;
21036 PyObject * obj0 = 0 ;
21037 char * kwnames[] = {
21038 (char *) "variant", NULL
21039 };
21040
21041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
21042 if (obj0) {
21043 ecode1 = SWIG_AsVal_int(obj0, &val1);
21044 if (!SWIG_IsOK(ecode1)) {
21045 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21046 }
21047 arg1 = static_cast< wxWindowVariant >(val1);
21048 }
21049 {
21050 if (!wxPyCheckForApp()) SWIG_fail;
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = wxNotebook::GetClassDefaultAttributes(arg1);
21053 wxPyEndAllowThreads(__tstate);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 }
21056 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21057 return resultobj;
21058fail:
21059 return NULL;
21060}
21061
21062
b39fe951
RD
21063SWIGINTERN PyObject *_wrap_Notebook_SendPageChangingEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21064 PyObject *resultobj = 0;
21065 wxNotebook *arg1 = (wxNotebook *) 0 ;
21066 int arg2 ;
21067 bool result;
21068 void *argp1 = 0 ;
21069 int res1 = 0 ;
21070 int val2 ;
21071 int ecode2 = 0 ;
21072 PyObject * obj0 = 0 ;
21073 PyObject * obj1 = 0 ;
21074 char * kwnames[] = {
21075 (char *) "self",(char *) "nPage", NULL
21076 };
21077
21078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SendPageChangingEvent",kwnames,&obj0,&obj1)) SWIG_fail;
21079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21080 if (!SWIG_IsOK(res1)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21082 }
21083 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21084 ecode2 = SWIG_AsVal_int(obj1, &val2);
21085 if (!SWIG_IsOK(ecode2)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21087 }
21088 arg2 = static_cast< int >(val2);
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = (bool)(arg1)->SendPageChangingEvent(arg2);
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 {
21096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21097 }
21098 return resultobj;
21099fail:
21100 return NULL;
21101}
21102
21103
21104SWIGINTERN PyObject *_wrap_Notebook_SendPageChangedEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj = 0;
21106 wxNotebook *arg1 = (wxNotebook *) 0 ;
21107 int arg2 ;
21108 int arg3 = (int) -1 ;
21109 void *argp1 = 0 ;
21110 int res1 = 0 ;
21111 int val2 ;
21112 int ecode2 = 0 ;
21113 int val3 ;
21114 int ecode3 = 0 ;
21115 PyObject * obj0 = 0 ;
21116 PyObject * obj1 = 0 ;
21117 PyObject * obj2 = 0 ;
21118 char * kwnames[] = {
21119 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21120 };
21121
21122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxNotebook, 0 | 0 );
21124 if (!SWIG_IsOK(res1)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21126 }
21127 arg1 = reinterpret_cast< wxNotebook * >(argp1);
21128 ecode2 = SWIG_AsVal_int(obj1, &val2);
21129 if (!SWIG_IsOK(ecode2)) {
21130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21131 }
21132 arg2 = static_cast< int >(val2);
21133 if (obj2) {
21134 ecode3 = SWIG_AsVal_int(obj2, &val3);
21135 if (!SWIG_IsOK(ecode3)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21137 }
21138 arg3 = static_cast< int >(val3);
21139 }
21140 {
21141 PyThreadState* __tstate = wxPyBeginAllowThreads();
21142 (arg1)->SendPageChangedEvent(arg2,arg3);
21143 wxPyEndAllowThreads(__tstate);
21144 if (PyErr_Occurred()) SWIG_fail;
21145 }
21146 resultobj = SWIG_Py_Void();
21147 return resultobj;
21148fail:
21149 return NULL;
21150}
21151
21152
554f62e9
RD
21153SWIGINTERN PyObject *Notebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21154 PyObject *obj;
21155 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21156 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook, SWIG_NewClientData(obj));
21157 return SWIG_Py_Void();
21158}
21159
21160SWIGINTERN PyObject *Notebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21161 return SWIG_Python_InitShadowInstance(args);
21162}
21163
21164SWIGINTERN PyObject *_wrap_new_NotebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj = 0;
21166 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21167 int arg2 = (int) 0 ;
21168 int arg3 = (int) -1 ;
21169 int arg4 = (int) -1 ;
21170 wxNotebookEvent *result = 0 ;
21171 int val1 ;
21172 int ecode1 = 0 ;
21173 int val2 ;
21174 int ecode2 = 0 ;
21175 int val3 ;
21176 int ecode3 = 0 ;
21177 int val4 ;
21178 int ecode4 = 0 ;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 PyObject * obj2 = 0 ;
21182 PyObject * obj3 = 0 ;
21183 char * kwnames[] = {
21184 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21185 };
21186
21187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21188 if (obj0) {
21189 ecode1 = SWIG_AsVal_int(obj0, &val1);
21190 if (!SWIG_IsOK(ecode1)) {
21191 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21192 }
21193 arg1 = static_cast< wxEventType >(val1);
21194 }
21195 if (obj1) {
21196 ecode2 = SWIG_AsVal_int(obj1, &val2);
21197 if (!SWIG_IsOK(ecode2)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21199 }
21200 arg2 = static_cast< int >(val2);
21201 }
21202 if (obj2) {
21203 ecode3 = SWIG_AsVal_int(obj2, &val3);
21204 if (!SWIG_IsOK(ecode3)) {
21205 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21206 }
21207 arg3 = static_cast< int >(val3);
21208 }
21209 if (obj3) {
21210 ecode4 = SWIG_AsVal_int(obj3, &val4);
21211 if (!SWIG_IsOK(ecode4)) {
21212 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21213 }
21214 arg4 = static_cast< int >(val4);
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
21219 wxPyEndAllowThreads(__tstate);
21220 if (PyErr_Occurred()) SWIG_fail;
21221 }
21222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNotebookEvent, SWIG_POINTER_NEW | 0 );
21223 return resultobj;
21224fail:
21225 return NULL;
21226}
21227
21228
21229SWIGINTERN PyObject *NotebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21230 PyObject *obj;
21231 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21232 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent, SWIG_NewClientData(obj));
21233 return SWIG_Py_Void();
21234}
21235
21236SWIGINTERN PyObject *NotebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21237 return SWIG_Python_InitShadowInstance(args);
21238}
21239
21240SWIGINTERN PyObject *_wrap_new_Listbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj = 0;
21242 wxWindow *arg1 = (wxWindow *) 0 ;
21243 int arg2 = (int) -1 ;
21244 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21245 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21246 wxSize const &arg4_defvalue = wxDefaultSize ;
21247 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21248 long arg5 = (long) 0 ;
21249 wxString const &arg6_defvalue = wxPyEmptyString ;
21250 wxString *arg6 = (wxString *) &arg6_defvalue ;
21251 wxListbook *result = 0 ;
21252 void *argp1 = 0 ;
21253 int res1 = 0 ;
21254 int val2 ;
21255 int ecode2 = 0 ;
21256 wxPoint temp3 ;
21257 wxSize temp4 ;
21258 long val5 ;
21259 int ecode5 = 0 ;
21260 bool temp6 = false ;
21261 PyObject * obj0 = 0 ;
21262 PyObject * obj1 = 0 ;
21263 PyObject * obj2 = 0 ;
21264 PyObject * obj3 = 0 ;
21265 PyObject * obj4 = 0 ;
21266 PyObject * obj5 = 0 ;
21267 char * kwnames[] = {
21268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21269 };
21270
21271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21273 if (!SWIG_IsOK(res1)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21275 }
21276 arg1 = reinterpret_cast< wxWindow * >(argp1);
21277 if (obj1) {
21278 ecode2 = SWIG_AsVal_int(obj1, &val2);
21279 if (!SWIG_IsOK(ecode2)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21281 }
21282 arg2 = static_cast< int >(val2);
21283 }
21284 if (obj2) {
21285 {
21286 arg3 = &temp3;
21287 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 21288 }
554f62e9
RD
21289 }
21290 if (obj3) {
d55e5bfc 21291 {
554f62e9
RD
21292 arg4 = &temp4;
21293 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21294 }
554f62e9
RD
21295 }
21296 if (obj4) {
21297 ecode5 = SWIG_AsVal_long(obj4, &val5);
21298 if (!SWIG_IsOK(ecode5)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21300 }
21301 arg5 = static_cast< long >(val5);
21302 }
21303 if (obj5) {
d55e5bfc 21304 {
554f62e9
RD
21305 arg6 = wxString_in_helper(obj5);
21306 if (arg6 == NULL) SWIG_fail;
21307 temp6 = true;
d55e5bfc 21308 }
554f62e9
RD
21309 }
21310 {
21311 if (!wxPyCheckForApp()) SWIG_fail;
21312 PyThreadState* __tstate = wxPyBeginAllowThreads();
21313 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_NEW | 0 );
21318 {
21319 if (temp6)
21320 delete arg6;
21321 }
21322 return resultobj;
21323fail:
21324 {
21325 if (temp6)
21326 delete arg6;
21327 }
21328 return NULL;
d55e5bfc
RD
21329}
21330
21331
554f62e9
RD
21332SWIGINTERN PyObject *_wrap_new_PreListbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21333 PyObject *resultobj = 0;
21334 wxListbook *result = 0 ;
21335
21336 if (!SWIG_Python_UnpackTuple(args,"new_PreListbook",0,0,0)) SWIG_fail;
21337 {
21338 if (!wxPyCheckForApp()) SWIG_fail;
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 result = (wxListbook *)new wxListbook();
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbook, SWIG_POINTER_OWN | 0 );
21345 return resultobj;
21346fail:
21347 return NULL;
21348}
21349
21350
21351SWIGINTERN PyObject *_wrap_Listbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21352 PyObject *resultobj = 0;
21353 wxListbook *arg1 = (wxListbook *) 0 ;
21354 wxWindow *arg2 = (wxWindow *) 0 ;
21355 int arg3 = (int) -1 ;
21356 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21357 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21358 wxSize const &arg5_defvalue = wxDefaultSize ;
21359 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21360 long arg6 = (long) 0 ;
21361 wxString const &arg7_defvalue = wxPyEmptyString ;
21362 wxString *arg7 = (wxString *) &arg7_defvalue ;
21363 bool result;
21364 void *argp1 = 0 ;
21365 int res1 = 0 ;
21366 void *argp2 = 0 ;
21367 int res2 = 0 ;
21368 int val3 ;
21369 int ecode3 = 0 ;
21370 wxPoint temp4 ;
21371 wxSize temp5 ;
21372 long val6 ;
21373 int ecode6 = 0 ;
21374 bool temp7 = false ;
21375 PyObject * obj0 = 0 ;
21376 PyObject * obj1 = 0 ;
21377 PyObject * obj2 = 0 ;
21378 PyObject * obj3 = 0 ;
21379 PyObject * obj4 = 0 ;
21380 PyObject * obj5 = 0 ;
21381 PyObject * obj6 = 0 ;
21382 char * kwnames[] = {
21383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21384 };
21385
21386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21388 if (!SWIG_IsOK(res1)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21390 }
21391 arg1 = reinterpret_cast< wxListbook * >(argp1);
21392 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21393 if (!SWIG_IsOK(res2)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21395 }
21396 arg2 = reinterpret_cast< wxWindow * >(argp2);
21397 if (obj2) {
21398 ecode3 = SWIG_AsVal_int(obj2, &val3);
21399 if (!SWIG_IsOK(ecode3)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21401 }
21402 arg3 = static_cast< int >(val3);
21403 }
21404 if (obj3) {
d55e5bfc 21405 {
554f62e9
RD
21406 arg4 = &temp4;
21407 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21408 }
554f62e9
RD
21409 }
21410 if (obj4) {
d55e5bfc 21411 {
554f62e9
RD
21412 arg5 = &temp5;
21413 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21414 }
554f62e9
RD
21415 }
21416 if (obj5) {
21417 ecode6 = SWIG_AsVal_long(obj5, &val6);
21418 if (!SWIG_IsOK(ecode6)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21420 }
21421 arg6 = static_cast< long >(val6);
21422 }
21423 if (obj6) {
d55e5bfc 21424 {
554f62e9
RD
21425 arg7 = wxString_in_helper(obj6);
21426 if (arg7 == NULL) SWIG_fail;
21427 temp7 = true;
d55e5bfc 21428 }
554f62e9
RD
21429 }
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 {
21437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21438 }
21439 {
21440 if (temp7)
21441 delete arg7;
21442 }
21443 return resultobj;
21444fail:
21445 {
21446 if (temp7)
21447 delete arg7;
21448 }
21449 return NULL;
d55e5bfc
RD
21450}
21451
21452
554f62e9
RD
21453SWIGINTERN PyObject *_wrap_Listbook_GetListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21454 PyObject *resultobj = 0;
21455 wxListbook *arg1 = (wxListbook *) 0 ;
21456 wxListView *result = 0 ;
21457 void *argp1 = 0 ;
21458 int res1 = 0 ;
21459 PyObject *swig_obj[1] ;
21460
21461 if (!args) SWIG_fail;
21462 swig_obj[0] = args;
21463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListbook, 0 | 0 );
21464 if (!SWIG_IsOK(res1)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21466 }
21467 arg1 = reinterpret_cast< wxListbook * >(argp1);
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 result = (wxListView *)(arg1)->GetListView();
21471 wxPyEndAllowThreads(__tstate);
21472 if (PyErr_Occurred()) SWIG_fail;
21473 }
21474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, 0 | 0 );
21475 return resultobj;
21476fail:
21477 return NULL;
21478}
21479
21480
21481SWIGINTERN PyObject *Listbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21482 PyObject *obj;
21483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21484 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook, SWIG_NewClientData(obj));
21485 return SWIG_Py_Void();
21486}
21487
21488SWIGINTERN PyObject *Listbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21489 return SWIG_Python_InitShadowInstance(args);
21490}
21491
21492SWIGINTERN PyObject *_wrap_new_ListbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj = 0;
21494 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21495 int arg2 = (int) 0 ;
21496 int arg3 = (int) -1 ;
21497 int arg4 = (int) -1 ;
21498 wxListbookEvent *result = 0 ;
21499 int val1 ;
21500 int ecode1 = 0 ;
21501 int val2 ;
21502 int ecode2 = 0 ;
21503 int val3 ;
21504 int ecode3 = 0 ;
21505 int val4 ;
21506 int ecode4 = 0 ;
21507 PyObject * obj0 = 0 ;
21508 PyObject * obj1 = 0 ;
21509 PyObject * obj2 = 0 ;
21510 PyObject * obj3 = 0 ;
21511 char * kwnames[] = {
21512 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21513 };
21514
21515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21516 if (obj0) {
21517 ecode1 = SWIG_AsVal_int(obj0, &val1);
21518 if (!SWIG_IsOK(ecode1)) {
21519 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21520 }
21521 arg1 = static_cast< wxEventType >(val1);
21522 }
21523 if (obj1) {
21524 ecode2 = SWIG_AsVal_int(obj1, &val2);
21525 if (!SWIG_IsOK(ecode2)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21527 }
21528 arg2 = static_cast< int >(val2);
21529 }
21530 if (obj2) {
21531 ecode3 = SWIG_AsVal_int(obj2, &val3);
21532 if (!SWIG_IsOK(ecode3)) {
21533 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21534 }
21535 arg3 = static_cast< int >(val3);
21536 }
21537 if (obj3) {
21538 ecode4 = SWIG_AsVal_int(obj3, &val4);
21539 if (!SWIG_IsOK(ecode4)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21541 }
21542 arg4 = static_cast< int >(val4);
21543 }
21544 {
21545 PyThreadState* __tstate = wxPyBeginAllowThreads();
21546 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListbookEvent, SWIG_POINTER_NEW | 0 );
21551 return resultobj;
21552fail:
21553 return NULL;
21554}
21555
21556
21557SWIGINTERN PyObject *ListbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21558 PyObject *obj;
21559 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21560 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent, SWIG_NewClientData(obj));
21561 return SWIG_Py_Void();
21562}
21563
21564SWIGINTERN PyObject *ListbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21565 return SWIG_Python_InitShadowInstance(args);
21566}
21567
21568SWIGINTERN PyObject *_wrap_new_Choicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj = 0;
21570 wxWindow *arg1 = (wxWindow *) 0 ;
21571 int arg2 ;
21572 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21573 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21574 wxSize const &arg4_defvalue = wxDefaultSize ;
21575 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21576 long arg5 = (long) 0 ;
21577 wxString const &arg6_defvalue = wxPyEmptyString ;
21578 wxString *arg6 = (wxString *) &arg6_defvalue ;
21579 wxChoicebook *result = 0 ;
21580 void *argp1 = 0 ;
21581 int res1 = 0 ;
21582 int val2 ;
21583 int ecode2 = 0 ;
21584 wxPoint temp3 ;
21585 wxSize temp4 ;
21586 long val5 ;
21587 int ecode5 = 0 ;
21588 bool temp6 = false ;
21589 PyObject * obj0 = 0 ;
21590 PyObject * obj1 = 0 ;
21591 PyObject * obj2 = 0 ;
21592 PyObject * obj3 = 0 ;
21593 PyObject * obj4 = 0 ;
21594 PyObject * obj5 = 0 ;
21595 char * kwnames[] = {
21596 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21597 };
21598
21599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Choicebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21601 if (!SWIG_IsOK(res1)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21603 }
21604 arg1 = reinterpret_cast< wxWindow * >(argp1);
21605 ecode2 = SWIG_AsVal_int(obj1, &val2);
21606 if (!SWIG_IsOK(ecode2)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21608 }
21609 arg2 = static_cast< int >(val2);
21610 if (obj2) {
d55e5bfc 21611 {
554f62e9
RD
21612 arg3 = &temp3;
21613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21614 }
554f62e9
RD
21615 }
21616 if (obj3) {
d55e5bfc 21617 {
554f62e9
RD
21618 arg4 = &temp4;
21619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21620 }
554f62e9
RD
21621 }
21622 if (obj4) {
21623 ecode5 = SWIG_AsVal_long(obj4, &val5);
21624 if (!SWIG_IsOK(ecode5)) {
21625 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21626 }
21627 arg5 = static_cast< long >(val5);
21628 }
21629 if (obj5) {
d55e5bfc 21630 {
554f62e9
RD
21631 arg6 = wxString_in_helper(obj5);
21632 if (arg6 == NULL) SWIG_fail;
21633 temp6 = true;
d55e5bfc 21634 }
554f62e9
RD
21635 }
21636 {
21637 if (!wxPyCheckForApp()) SWIG_fail;
21638 PyThreadState* __tstate = wxPyBeginAllowThreads();
21639 result = (wxChoicebook *)new wxChoicebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_NEW | 0 );
21644 {
21645 if (temp6)
21646 delete arg6;
21647 }
21648 return resultobj;
21649fail:
21650 {
21651 if (temp6)
21652 delete arg6;
21653 }
21654 return NULL;
d55e5bfc
RD
21655}
21656
21657
554f62e9
RD
21658SWIGINTERN PyObject *_wrap_new_PreChoicebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21659 PyObject *resultobj = 0;
21660 wxChoicebook *result = 0 ;
21661
21662 if (!SWIG_Python_UnpackTuple(args,"new_PreChoicebook",0,0,0)) SWIG_fail;
21663 {
21664 if (!wxPyCheckForApp()) SWIG_fail;
21665 PyThreadState* __tstate = wxPyBeginAllowThreads();
21666 result = (wxChoicebook *)new wxChoicebook();
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebook, SWIG_POINTER_OWN | 0 );
21671 return resultobj;
21672fail:
21673 return NULL;
21674}
21675
21676
21677SWIGINTERN PyObject *_wrap_Choicebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj = 0;
21679 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21680 wxWindow *arg2 = (wxWindow *) 0 ;
21681 int arg3 ;
21682 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21683 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21684 wxSize const &arg5_defvalue = wxDefaultSize ;
21685 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21686 long arg6 = (long) 0 ;
21687 wxString const &arg7_defvalue = wxPyEmptyString ;
21688 wxString *arg7 = (wxString *) &arg7_defvalue ;
21689 bool result;
21690 void *argp1 = 0 ;
21691 int res1 = 0 ;
21692 void *argp2 = 0 ;
21693 int res2 = 0 ;
21694 int val3 ;
21695 int ecode3 = 0 ;
21696 wxPoint temp4 ;
21697 wxSize temp5 ;
21698 long val6 ;
21699 int ecode6 = 0 ;
21700 bool temp7 = false ;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 PyObject * obj2 = 0 ;
21704 PyObject * obj3 = 0 ;
21705 PyObject * obj4 = 0 ;
21706 PyObject * obj5 = 0 ;
21707 PyObject * obj6 = 0 ;
21708 char * kwnames[] = {
21709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21710 };
21711
21712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Choicebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21714 if (!SWIG_IsOK(res1)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21716 }
21717 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21719 if (!SWIG_IsOK(res2)) {
21720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21721 }
21722 arg2 = reinterpret_cast< wxWindow * >(argp2);
21723 ecode3 = SWIG_AsVal_int(obj2, &val3);
21724 if (!SWIG_IsOK(ecode3)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21726 }
21727 arg3 = static_cast< int >(val3);
21728 if (obj3) {
093d3ff1 21729 {
554f62e9
RD
21730 arg4 = &temp4;
21731 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 21732 }
554f62e9
RD
21733 }
21734 if (obj4) {
093d3ff1 21735 {
554f62e9
RD
21736 arg5 = &temp5;
21737 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 21738 }
554f62e9
RD
21739 }
21740 if (obj5) {
21741 ecode6 = SWIG_AsVal_long(obj5, &val6);
21742 if (!SWIG_IsOK(ecode6)) {
21743 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21744 }
21745 arg6 = static_cast< long >(val6);
21746 }
21747 if (obj6) {
d55e5bfc 21748 {
554f62e9
RD
21749 arg7 = wxString_in_helper(obj6);
21750 if (arg7 == NULL) SWIG_fail;
21751 temp7 = true;
d55e5bfc 21752 }
554f62e9
RD
21753 }
21754 {
21755 PyThreadState* __tstate = wxPyBeginAllowThreads();
21756 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21757 wxPyEndAllowThreads(__tstate);
21758 if (PyErr_Occurred()) SWIG_fail;
21759 }
21760 {
21761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21762 }
21763 {
21764 if (temp7)
21765 delete arg7;
21766 }
21767 return resultobj;
21768fail:
21769 {
21770 if (temp7)
21771 delete arg7;
21772 }
21773 return NULL;
d55e5bfc
RD
21774}
21775
21776
554f62e9
RD
21777SWIGINTERN PyObject *_wrap_Choicebook_GetChoiceCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21778 PyObject *resultobj = 0;
21779 wxChoicebook *arg1 = (wxChoicebook *) 0 ;
21780 wxChoice *result = 0 ;
21781 void *argp1 = 0 ;
21782 int res1 = 0 ;
21783 PyObject *swig_obj[1] ;
21784
21785 if (!args) SWIG_fail;
21786 swig_obj[0] = args;
21787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxChoicebook, 0 | 0 );
21788 if (!SWIG_IsOK(res1)) {
21789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21790 }
21791 arg1 = reinterpret_cast< wxChoicebook * >(argp1);
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = (wxChoice *)((wxChoicebook const *)arg1)->GetChoiceCtrl();
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoice, 0 | 0 );
21799 return resultobj;
21800fail:
21801 return NULL;
21802}
21803
21804
21805SWIGINTERN PyObject *Choicebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21806 PyObject *obj;
21807 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21808 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook, SWIG_NewClientData(obj));
21809 return SWIG_Py_Void();
21810}
21811
21812SWIGINTERN PyObject *Choicebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21813 return SWIG_Python_InitShadowInstance(args);
21814}
21815
21816SWIGINTERN PyObject *_wrap_new_ChoicebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21817 PyObject *resultobj = 0;
21818 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21819 int arg2 = (int) 0 ;
21820 int arg3 = (int) -1 ;
21821 int arg4 = (int) -1 ;
21822 wxChoicebookEvent *result = 0 ;
21823 int val1 ;
21824 int ecode1 = 0 ;
21825 int val2 ;
21826 int ecode2 = 0 ;
21827 int val3 ;
21828 int ecode3 = 0 ;
21829 int val4 ;
21830 int ecode4 = 0 ;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 PyObject * obj2 = 0 ;
21834 PyObject * obj3 = 0 ;
21835 char * kwnames[] = {
21836 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21837 };
21838
21839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ChoicebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
21840 if (obj0) {
21841 ecode1 = SWIG_AsVal_int(obj0, &val1);
21842 if (!SWIG_IsOK(ecode1)) {
21843 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21844 }
21845 arg1 = static_cast< wxEventType >(val1);
21846 }
21847 if (obj1) {
21848 ecode2 = SWIG_AsVal_int(obj1, &val2);
21849 if (!SWIG_IsOK(ecode2)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21851 }
21852 arg2 = static_cast< int >(val2);
21853 }
21854 if (obj2) {
21855 ecode3 = SWIG_AsVal_int(obj2, &val3);
21856 if (!SWIG_IsOK(ecode3)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21858 }
21859 arg3 = static_cast< int >(val3);
21860 }
21861 if (obj3) {
21862 ecode4 = SWIG_AsVal_int(obj3, &val4);
21863 if (!SWIG_IsOK(ecode4)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21865 }
21866 arg4 = static_cast< int >(val4);
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 result = (wxChoicebookEvent *)new wxChoicebookEvent(arg1,arg2,arg3,arg4);
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxChoicebookEvent, SWIG_POINTER_NEW | 0 );
21875 return resultobj;
21876fail:
21877 return NULL;
21878}
21879
21880
21881SWIGINTERN PyObject *ChoicebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21882 PyObject *obj;
21883 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21884 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent, SWIG_NewClientData(obj));
21885 return SWIG_Py_Void();
21886}
21887
21888SWIGINTERN PyObject *ChoicebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21889 return SWIG_Python_InitShadowInstance(args);
21890}
21891
21892SWIGINTERN PyObject *_wrap_new_Treebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj = 0;
21894 wxWindow *arg1 = (wxWindow *) 0 ;
21895 int arg2 ;
21896 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21897 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21898 wxSize const &arg4_defvalue = wxDefaultSize ;
21899 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21900 long arg5 = (long) wxBK_DEFAULT ;
21901 wxString const &arg6_defvalue = wxPyEmptyString ;
21902 wxString *arg6 = (wxString *) &arg6_defvalue ;
21903 wxTreebook *result = 0 ;
21904 void *argp1 = 0 ;
21905 int res1 = 0 ;
21906 int val2 ;
21907 int ecode2 = 0 ;
21908 wxPoint temp3 ;
21909 wxSize temp4 ;
21910 long val5 ;
21911 int ecode5 = 0 ;
21912 bool temp6 = false ;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 PyObject * obj2 = 0 ;
21916 PyObject * obj3 = 0 ;
21917 PyObject * obj4 = 0 ;
21918 PyObject * obj5 = 0 ;
21919 char * kwnames[] = {
21920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21921 };
21922
21923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Treebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21925 if (!SWIG_IsOK(res1)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21927 }
21928 arg1 = reinterpret_cast< wxWindow * >(argp1);
21929 ecode2 = SWIG_AsVal_int(obj1, &val2);
21930 if (!SWIG_IsOK(ecode2)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21932 }
21933 arg2 = static_cast< int >(val2);
21934 if (obj2) {
d55e5bfc 21935 {
554f62e9
RD
21936 arg3 = &temp3;
21937 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21938 }
554f62e9
RD
21939 }
21940 if (obj3) {
d55e5bfc 21941 {
554f62e9
RD
21942 arg4 = &temp4;
21943 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21944 }
554f62e9
RD
21945 }
21946 if (obj4) {
21947 ecode5 = SWIG_AsVal_long(obj4, &val5);
21948 if (!SWIG_IsOK(ecode5)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21950 }
21951 arg5 = static_cast< long >(val5);
21952 }
21953 if (obj5) {
d55e5bfc 21954 {
554f62e9
RD
21955 arg6 = wxString_in_helper(obj5);
21956 if (arg6 == NULL) SWIG_fail;
21957 temp6 = true;
d55e5bfc 21958 }
554f62e9
RD
21959 }
21960 {
21961 if (!wxPyCheckForApp()) SWIG_fail;
21962 PyThreadState* __tstate = wxPyBeginAllowThreads();
21963 result = (wxTreebook *)new wxTreebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21964 wxPyEndAllowThreads(__tstate);
21965 if (PyErr_Occurred()) SWIG_fail;
21966 }
21967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_NEW | 0 );
21968 {
21969 if (temp6)
21970 delete arg6;
21971 }
21972 return resultobj;
21973fail:
21974 {
21975 if (temp6)
21976 delete arg6;
21977 }
21978 return NULL;
d55e5bfc
RD
21979}
21980
21981
554f62e9
RD
21982SWIGINTERN PyObject *_wrap_new_PreTreebook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21983 PyObject *resultobj = 0;
21984 wxTreebook *result = 0 ;
21985
21986 if (!SWIG_Python_UnpackTuple(args,"new_PreTreebook",0,0,0)) SWIG_fail;
21987 {
21988 if (!wxPyCheckForApp()) SWIG_fail;
21989 PyThreadState* __tstate = wxPyBeginAllowThreads();
21990 result = (wxTreebook *)new wxTreebook();
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebook, SWIG_POINTER_OWN | 0 );
21995 return resultobj;
21996fail:
21997 return NULL;
21998}
21999
22000
22001SWIGINTERN PyObject *_wrap_Treebook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj = 0;
22003 wxTreebook *arg1 = (wxTreebook *) 0 ;
22004 wxWindow *arg2 = (wxWindow *) 0 ;
22005 int arg3 ;
22006 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22007 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22008 wxSize const &arg5_defvalue = wxDefaultSize ;
22009 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22010 long arg6 = (long) wxBK_DEFAULT ;
22011 wxString const &arg7_defvalue = wxPyEmptyString ;
22012 wxString *arg7 = (wxString *) &arg7_defvalue ;
22013 bool result;
22014 void *argp1 = 0 ;
22015 int res1 = 0 ;
22016 void *argp2 = 0 ;
22017 int res2 = 0 ;
22018 int val3 ;
22019 int ecode3 = 0 ;
22020 wxPoint temp4 ;
22021 wxSize temp5 ;
22022 long val6 ;
22023 int ecode6 = 0 ;
22024 bool temp7 = false ;
22025 PyObject * obj0 = 0 ;
22026 PyObject * obj1 = 0 ;
22027 PyObject * obj2 = 0 ;
22028 PyObject * obj3 = 0 ;
22029 PyObject * obj4 = 0 ;
22030 PyObject * obj5 = 0 ;
22031 PyObject * obj6 = 0 ;
22032 char * kwnames[] = {
22033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22034 };
22035
22036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Treebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22038 if (!SWIG_IsOK(res1)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22040 }
22041 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22042 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22043 if (!SWIG_IsOK(res2)) {
22044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22045 }
22046 arg2 = reinterpret_cast< wxWindow * >(argp2);
22047 ecode3 = SWIG_AsVal_int(obj2, &val3);
22048 if (!SWIG_IsOK(ecode3)) {
22049 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22050 }
22051 arg3 = static_cast< int >(val3);
22052 if (obj3) {
093d3ff1 22053 {
554f62e9
RD
22054 arg4 = &temp4;
22055 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22056 }
554f62e9
RD
22057 }
22058 if (obj4) {
093d3ff1 22059 {
554f62e9
RD
22060 arg5 = &temp5;
22061 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22062 }
554f62e9
RD
22063 }
22064 if (obj5) {
22065 ecode6 = SWIG_AsVal_long(obj5, &val6);
22066 if (!SWIG_IsOK(ecode6)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22068 }
22069 arg6 = static_cast< long >(val6);
22070 }
22071 if (obj6) {
d55e5bfc 22072 {
554f62e9
RD
22073 arg7 = wxString_in_helper(obj6);
22074 if (arg7 == NULL) SWIG_fail;
22075 temp7 = true;
d55e5bfc 22076 }
554f62e9
RD
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22081 wxPyEndAllowThreads(__tstate);
22082 if (PyErr_Occurred()) SWIG_fail;
22083 }
22084 {
22085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22086 }
22087 {
22088 if (temp7)
22089 delete arg7;
22090 }
22091 return resultobj;
22092fail:
22093 {
22094 if (temp7)
22095 delete arg7;
22096 }
22097 return NULL;
22098}
22099
22100
22101SWIGINTERN PyObject *_wrap_Treebook_InsertSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj = 0;
22103 wxTreebook *arg1 = (wxTreebook *) 0 ;
22104 size_t arg2 ;
22105 wxWindow *arg3 = (wxWindow *) 0 ;
22106 wxString *arg4 = 0 ;
22107 bool arg5 = (bool) false ;
22108 int arg6 = (int) wxNOT_FOUND ;
22109 bool result;
22110 void *argp1 = 0 ;
22111 int res1 = 0 ;
22112 size_t val2 ;
22113 int ecode2 = 0 ;
22114 void *argp3 = 0 ;
22115 int res3 = 0 ;
22116 bool temp4 = false ;
22117 bool val5 ;
22118 int ecode5 = 0 ;
22119 int val6 ;
22120 int ecode6 = 0 ;
22121 PyObject * obj0 = 0 ;
22122 PyObject * obj1 = 0 ;
22123 PyObject * obj2 = 0 ;
22124 PyObject * obj3 = 0 ;
22125 PyObject * obj4 = 0 ;
22126 PyObject * obj5 = 0 ;
22127 char * kwnames[] = {
22128 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22129 };
22130
22131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22133 if (!SWIG_IsOK(res1)) {
22134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22135 }
22136 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22137 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22138 if (!SWIG_IsOK(ecode2)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22140 }
22141 arg2 = static_cast< size_t >(val2);
22142 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
22143 if (!SWIG_IsOK(res3)) {
22144 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22145 }
22146 arg3 = reinterpret_cast< wxWindow * >(argp3);
22147 {
22148 arg4 = wxString_in_helper(obj3);
22149 if (arg4 == NULL) SWIG_fail;
22150 temp4 = true;
22151 }
22152 if (obj4) {
22153 ecode5 = SWIG_AsVal_bool(obj4, &val5);
22154 if (!SWIG_IsOK(ecode5)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22156 }
22157 arg5 = static_cast< bool >(val5);
22158 }
22159 if (obj5) {
22160 ecode6 = SWIG_AsVal_int(obj5, &val6);
22161 if (!SWIG_IsOK(ecode6)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22163 }
22164 arg6 = static_cast< int >(val6);
22165 }
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 result = (bool)(arg1)->InsertSubPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
22169 wxPyEndAllowThreads(__tstate);
22170 if (PyErr_Occurred()) SWIG_fail;
22171 }
22172 {
22173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22174 }
22175 {
22176 if (temp4)
22177 delete arg4;
22178 }
22179 return resultobj;
22180fail:
22181 {
22182 if (temp4)
22183 delete arg4;
22184 }
22185 return NULL;
22186}
22187
22188
22189SWIGINTERN PyObject *_wrap_Treebook_AddSubPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj = 0;
22191 wxTreebook *arg1 = (wxTreebook *) 0 ;
22192 wxWindow *arg2 = (wxWindow *) 0 ;
22193 wxString *arg3 = 0 ;
22194 bool arg4 = (bool) false ;
22195 int arg5 = (int) wxNOT_FOUND ;
22196 bool result;
22197 void *argp1 = 0 ;
22198 int res1 = 0 ;
22199 void *argp2 = 0 ;
22200 int res2 = 0 ;
22201 bool temp3 = false ;
22202 bool val4 ;
22203 int ecode4 = 0 ;
22204 int val5 ;
22205 int ecode5 = 0 ;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 PyObject * obj2 = 0 ;
22209 PyObject * obj3 = 0 ;
22210 PyObject * obj4 = 0 ;
22211 char * kwnames[] = {
22212 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22213 };
22214
22215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Treebook_AddSubPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22217 if (!SWIG_IsOK(res1)) {
22218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22219 }
22220 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22221 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22222 if (!SWIG_IsOK(res2)) {
22223 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22224 }
22225 arg2 = reinterpret_cast< wxWindow * >(argp2);
22226 {
22227 arg3 = wxString_in_helper(obj2);
22228 if (arg3 == NULL) SWIG_fail;
22229 temp3 = true;
22230 }
22231 if (obj3) {
22232 ecode4 = SWIG_AsVal_bool(obj3, &val4);
22233 if (!SWIG_IsOK(ecode4)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22235 }
22236 arg4 = static_cast< bool >(val4);
22237 }
22238 if (obj4) {
22239 ecode5 = SWIG_AsVal_int(obj4, &val5);
22240 if (!SWIG_IsOK(ecode5)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22242 }
22243 arg5 = static_cast< int >(val5);
22244 }
22245 {
22246 PyThreadState* __tstate = wxPyBeginAllowThreads();
22247 result = (bool)(arg1)->AddSubPage(arg2,(wxString const &)*arg3,arg4,arg5);
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 {
22252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22253 }
22254 {
22255 if (temp3)
22256 delete arg3;
22257 }
22258 return resultobj;
22259fail:
22260 {
22261 if (temp3)
22262 delete arg3;
22263 }
22264 return NULL;
22265}
22266
22267
22268SWIGINTERN PyObject *_wrap_Treebook_IsNodeExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22269 PyObject *resultobj = 0;
22270 wxTreebook *arg1 = (wxTreebook *) 0 ;
22271 size_t arg2 ;
22272 bool result;
22273 void *argp1 = 0 ;
22274 int res1 = 0 ;
22275 size_t val2 ;
22276 int ecode2 = 0 ;
22277 PyObject * obj0 = 0 ;
22278 PyObject * obj1 = 0 ;
22279 char * kwnames[] = {
22280 (char *) "self",(char *) "pos", NULL
22281 };
22282
22283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_IsNodeExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
22284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22285 if (!SWIG_IsOK(res1)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22287 }
22288 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22289 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22290 if (!SWIG_IsOK(ecode2)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22292 }
22293 arg2 = static_cast< size_t >(val2);
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 result = (bool)((wxTreebook const *)arg1)->IsNodeExpanded(arg2);
22297 wxPyEndAllowThreads(__tstate);
22298 if (PyErr_Occurred()) SWIG_fail;
22299 }
22300 {
22301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22302 }
22303 return resultobj;
22304fail:
22305 return NULL;
22306}
22307
22308
22309SWIGINTERN PyObject *_wrap_Treebook_ExpandNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj = 0;
22311 wxTreebook *arg1 = (wxTreebook *) 0 ;
22312 size_t arg2 ;
22313 bool arg3 = (bool) true ;
22314 bool result;
22315 void *argp1 = 0 ;
22316 int res1 = 0 ;
22317 size_t val2 ;
22318 int ecode2 = 0 ;
22319 bool val3 ;
22320 int ecode3 = 0 ;
22321 PyObject * obj0 = 0 ;
22322 PyObject * obj1 = 0 ;
22323 PyObject * obj2 = 0 ;
22324 char * kwnames[] = {
22325 (char *) "self",(char *) "pos",(char *) "expand", NULL
22326 };
22327
22328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Treebook_ExpandNode",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22330 if (!SWIG_IsOK(res1)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22332 }
22333 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22334 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22335 if (!SWIG_IsOK(ecode2)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22337 }
22338 arg2 = static_cast< size_t >(val2);
22339 if (obj2) {
22340 ecode3 = SWIG_AsVal_bool(obj2, &val3);
22341 if (!SWIG_IsOK(ecode3)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22343 }
22344 arg3 = static_cast< bool >(val3);
22345 }
22346 {
22347 PyThreadState* __tstate = wxPyBeginAllowThreads();
22348 result = (bool)(arg1)->ExpandNode(arg2,arg3);
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 {
22353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22354 }
22355 return resultobj;
22356fail:
22357 return NULL;
22358}
22359
22360
22361SWIGINTERN PyObject *_wrap_Treebook_CollapseNode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22362 PyObject *resultobj = 0;
22363 wxTreebook *arg1 = (wxTreebook *) 0 ;
22364 size_t arg2 ;
22365 bool result;
22366 void *argp1 = 0 ;
22367 int res1 = 0 ;
22368 size_t val2 ;
22369 int ecode2 = 0 ;
22370 PyObject * obj0 = 0 ;
22371 PyObject * obj1 = 0 ;
22372 char * kwnames[] = {
22373 (char *) "self",(char *) "pos", NULL
22374 };
22375
22376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_CollapseNode",kwnames,&obj0,&obj1)) SWIG_fail;
22377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22378 if (!SWIG_IsOK(res1)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22380 }
22381 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22382 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22383 if (!SWIG_IsOK(ecode2)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22385 }
22386 arg2 = static_cast< size_t >(val2);
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 result = (bool)(arg1)->CollapseNode(arg2);
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
22393 {
22394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22395 }
22396 return resultobj;
22397fail:
22398 return NULL;
22399}
22400
22401
22402SWIGINTERN PyObject *_wrap_Treebook_GetPageParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22403 PyObject *resultobj = 0;
22404 wxTreebook *arg1 = (wxTreebook *) 0 ;
22405 size_t arg2 ;
22406 int result;
22407 void *argp1 = 0 ;
22408 int res1 = 0 ;
22409 size_t val2 ;
22410 int ecode2 = 0 ;
22411 PyObject * obj0 = 0 ;
22412 PyObject * obj1 = 0 ;
22413 char * kwnames[] = {
22414 (char *) "self",(char *) "pos", NULL
22415 };
22416
22417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Treebook_GetPageParent",kwnames,&obj0,&obj1)) SWIG_fail;
22418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22419 if (!SWIG_IsOK(res1)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22421 }
22422 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22423 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
22424 if (!SWIG_IsOK(ecode2)) {
22425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22426 }
22427 arg2 = static_cast< size_t >(val2);
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 result = (int)((wxTreebook const *)arg1)->GetPageParent(arg2);
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 resultobj = SWIG_From_int(static_cast< int >(result));
22435 return resultobj;
22436fail:
22437 return NULL;
d55e5bfc
RD
22438}
22439
22440
554f62e9
RD
22441SWIGINTERN PyObject *_wrap_Treebook_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22442 PyObject *resultobj = 0;
22443 wxTreebook *arg1 = (wxTreebook *) 0 ;
10044bf1 22444 wxPyTreeCtrl *result = 0 ;
554f62e9
RD
22445 void *argp1 = 0 ;
22446 int res1 = 0 ;
22447 PyObject *swig_obj[1] ;
22448
22449 if (!args) SWIG_fail;
22450 swig_obj[0] = args;
22451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreebook, 0 | 0 );
22452 if (!SWIG_IsOK(res1)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22454 }
22455 arg1 = reinterpret_cast< wxTreebook * >(argp1);
22456 {
22457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044bf1 22458 result = (wxPyTreeCtrl *)((wxTreebook const *)arg1)->GetTreeCtrl();
554f62e9
RD
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
10044bf1
RD
22462 {
22463 resultobj = wxPyMake_wxObject(result, (bool)0);
22464 }
554f62e9
RD
22465 return resultobj;
22466fail:
22467 return NULL;
22468}
22469
22470
22471SWIGINTERN PyObject *Treebook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22472 PyObject *obj;
22473 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22474 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook, SWIG_NewClientData(obj));
22475 return SWIG_Py_Void();
22476}
22477
22478SWIGINTERN PyObject *Treebook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22479 return SWIG_Python_InitShadowInstance(args);
22480}
22481
22482SWIGINTERN PyObject *_wrap_new_TreebookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj = 0;
22484 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22485 int arg2 = (int) 0 ;
22486 int arg3 = (int) wxNOT_FOUND ;
22487 int arg4 = (int) wxNOT_FOUND ;
22488 wxTreebookEvent *result = 0 ;
22489 int val1 ;
22490 int ecode1 = 0 ;
22491 int val2 ;
22492 int ecode2 = 0 ;
22493 int val3 ;
22494 int ecode3 = 0 ;
22495 int val4 ;
22496 int ecode4 = 0 ;
22497 PyObject * obj0 = 0 ;
22498 PyObject * obj1 = 0 ;
22499 PyObject * obj2 = 0 ;
22500 PyObject * obj3 = 0 ;
22501 char * kwnames[] = {
22502 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22503 };
22504
22505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_TreebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22506 if (obj0) {
22507 ecode1 = SWIG_AsVal_int(obj0, &val1);
22508 if (!SWIG_IsOK(ecode1)) {
22509 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22510 }
22511 arg1 = static_cast< wxEventType >(val1);
22512 }
22513 if (obj1) {
22514 ecode2 = SWIG_AsVal_int(obj1, &val2);
22515 if (!SWIG_IsOK(ecode2)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22517 }
22518 arg2 = static_cast< int >(val2);
22519 }
22520 if (obj2) {
22521 ecode3 = SWIG_AsVal_int(obj2, &val3);
22522 if (!SWIG_IsOK(ecode3)) {
22523 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22524 }
22525 arg3 = static_cast< int >(val3);
22526 }
22527 if (obj3) {
22528 ecode4 = SWIG_AsVal_int(obj3, &val4);
22529 if (!SWIG_IsOK(ecode4)) {
22530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22531 }
22532 arg4 = static_cast< int >(val4);
22533 }
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 result = (wxTreebookEvent *)new wxTreebookEvent(arg1,arg2,arg3,arg4);
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreebookEvent, SWIG_POINTER_NEW | 0 );
22541 return resultobj;
22542fail:
22543 return NULL;
22544}
22545
22546
22547SWIGINTERN PyObject *TreebookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22548 PyObject *obj;
22549 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22550 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent, SWIG_NewClientData(obj));
22551 return SWIG_Py_Void();
22552}
22553
22554SWIGINTERN PyObject *TreebookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22555 return SWIG_Python_InitShadowInstance(args);
22556}
22557
22558SWIGINTERN PyObject *_wrap_new_Toolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj = 0;
22560 wxWindow *arg1 = (wxWindow *) 0 ;
22561 int arg2 ;
22562 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22563 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22564 wxSize const &arg4_defvalue = wxDefaultSize ;
22565 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22566 long arg5 = (long) wxBK_DEFAULT ;
22567 wxString const &arg6_defvalue = wxPyEmptyString ;
22568 wxString *arg6 = (wxString *) &arg6_defvalue ;
22569 wxToolbook *result = 0 ;
22570 void *argp1 = 0 ;
22571 int res1 = 0 ;
22572 int val2 ;
22573 int ecode2 = 0 ;
22574 wxPoint temp3 ;
22575 wxSize temp4 ;
22576 long val5 ;
22577 int ecode5 = 0 ;
22578 bool temp6 = false ;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 PyObject * obj2 = 0 ;
22582 PyObject * obj3 = 0 ;
22583 PyObject * obj4 = 0 ;
22584 PyObject * obj5 = 0 ;
22585 char * kwnames[] = {
22586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22587 };
22588
22589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Toolbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22591 if (!SWIG_IsOK(res1)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22593 }
22594 arg1 = reinterpret_cast< wxWindow * >(argp1);
22595 ecode2 = SWIG_AsVal_int(obj1, &val2);
22596 if (!SWIG_IsOK(ecode2)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22598 }
22599 arg2 = static_cast< int >(val2);
22600 if (obj2) {
093d3ff1 22601 {
554f62e9
RD
22602 arg3 = &temp3;
22603 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 22604 }
554f62e9
RD
22605 }
22606 if (obj3) {
d55e5bfc 22607 {
554f62e9
RD
22608 arg4 = &temp4;
22609 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22610 }
554f62e9
RD
22611 }
22612 if (obj4) {
22613 ecode5 = SWIG_AsVal_long(obj4, &val5);
22614 if (!SWIG_IsOK(ecode5)) {
22615 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22616 }
22617 arg5 = static_cast< long >(val5);
22618 }
22619 if (obj5) {
093d3ff1 22620 {
554f62e9
RD
22621 arg6 = wxString_in_helper(obj5);
22622 if (arg6 == NULL) SWIG_fail;
22623 temp6 = true;
093d3ff1 22624 }
554f62e9
RD
22625 }
22626 {
22627 PyThreadState* __tstate = wxPyBeginAllowThreads();
22628 result = (wxToolbook *)new wxToolbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_NEW | 0 );
22633 {
22634 if (temp6)
22635 delete arg6;
22636 }
22637 return resultobj;
22638fail:
22639 {
22640 if (temp6)
22641 delete arg6;
22642 }
22643 return NULL;
d55e5bfc
RD
22644}
22645
22646
554f62e9
RD
22647SWIGINTERN PyObject *_wrap_new_PreToolbook(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22648 PyObject *resultobj = 0;
22649 wxToolbook *result = 0 ;
22650
22651 if (!SWIG_Python_UnpackTuple(args,"new_PreToolbook",0,0,0)) SWIG_fail;
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 result = (wxToolbook *)new wxToolbook();
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbook, SWIG_POINTER_OWN | 0 );
22659 return resultobj;
22660fail:
22661 return NULL;
22662}
22663
22664
22665SWIGINTERN PyObject *_wrap_Toolbook_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22666 PyObject *resultobj = 0;
22667 wxToolbook *arg1 = (wxToolbook *) 0 ;
22668 wxWindow *arg2 = (wxWindow *) 0 ;
22669 int arg3 ;
22670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22672 wxSize const &arg5_defvalue = wxDefaultSize ;
22673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22674 long arg6 = (long) 0 ;
22675 wxString const &arg7_defvalue = wxEmptyString ;
22676 wxString *arg7 = (wxString *) &arg7_defvalue ;
22677 bool result;
22678 void *argp1 = 0 ;
22679 int res1 = 0 ;
22680 void *argp2 = 0 ;
22681 int res2 = 0 ;
22682 int val3 ;
22683 int ecode3 = 0 ;
22684 wxPoint temp4 ;
22685 wxSize temp5 ;
22686 long val6 ;
22687 int ecode6 = 0 ;
22688 bool temp7 = false ;
22689 PyObject * obj0 = 0 ;
22690 PyObject * obj1 = 0 ;
22691 PyObject * obj2 = 0 ;
22692 PyObject * obj3 = 0 ;
22693 PyObject * obj4 = 0 ;
22694 PyObject * obj5 = 0 ;
22695 PyObject * obj6 = 0 ;
22696 char * kwnames[] = {
22697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22698 };
22699
22700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Toolbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
22701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22702 if (!SWIG_IsOK(res1)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22704 }
22705 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22707 if (!SWIG_IsOK(res2)) {
22708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22709 }
22710 arg2 = reinterpret_cast< wxWindow * >(argp2);
22711 ecode3 = SWIG_AsVal_int(obj2, &val3);
22712 if (!SWIG_IsOK(ecode3)) {
22713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22714 }
22715 arg3 = static_cast< int >(val3);
22716 if (obj3) {
093d3ff1 22717 {
554f62e9
RD
22718 arg4 = &temp4;
22719 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 22720 }
554f62e9
RD
22721 }
22722 if (obj4) {
093d3ff1 22723 {
554f62e9
RD
22724 arg5 = &temp5;
22725 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 22726 }
554f62e9
RD
22727 }
22728 if (obj5) {
22729 ecode6 = SWIG_AsVal_long(obj5, &val6);
22730 if (!SWIG_IsOK(ecode6)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22732 }
22733 arg6 = static_cast< long >(val6);
22734 }
22735 if (obj6) {
d55e5bfc 22736 {
554f62e9
RD
22737 arg7 = wxString_in_helper(obj6);
22738 if (arg7 == NULL) SWIG_fail;
22739 temp7 = true;
d55e5bfc 22740 }
554f62e9
RD
22741 }
22742 {
22743 PyThreadState* __tstate = wxPyBeginAllowThreads();
22744 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22745 wxPyEndAllowThreads(__tstate);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 {
22749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22750 }
22751 {
22752 if (temp7)
22753 delete arg7;
22754 }
22755 return resultobj;
22756fail:
22757 {
22758 if (temp7)
22759 delete arg7;
22760 }
22761 return NULL;
d55e5bfc
RD
22762}
22763
22764
554f62e9
RD
22765SWIGINTERN PyObject *_wrap_Toolbook_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22766 PyObject *resultobj = 0;
22767 wxToolbook *arg1 = (wxToolbook *) 0 ;
22768 wxToolBarBase *result = 0 ;
22769 void *argp1 = 0 ;
22770 int res1 = 0 ;
22771 PyObject *swig_obj[1] ;
22772
22773 if (!args) SWIG_fail;
22774 swig_obj[0] = args;
22775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22776 if (!SWIG_IsOK(res1)) {
22777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22778 }
22779 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22780 {
22781 PyThreadState* __tstate = wxPyBeginAllowThreads();
22782 result = (wxToolBarBase *)((wxToolbook const *)arg1)->GetToolBar();
22783 wxPyEndAllowThreads(__tstate);
22784 if (PyErr_Occurred()) SWIG_fail;
22785 }
22786 {
22787 resultobj = wxPyMake_wxObject(result, (bool)0);
22788 }
22789 return resultobj;
22790fail:
22791 return NULL;
f20a2e1f
RD
22792}
22793
22794
554f62e9
RD
22795SWIGINTERN PyObject *_wrap_Toolbook_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22796 PyObject *resultobj = 0;
22797 wxToolbook *arg1 = (wxToolbook *) 0 ;
22798 void *argp1 = 0 ;
22799 int res1 = 0 ;
22800 PyObject *swig_obj[1] ;
22801
22802 if (!args) SWIG_fail;
22803 swig_obj[0] = args;
22804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolbook, 0 | 0 );
22805 if (!SWIG_IsOK(res1)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22807 }
22808 arg1 = reinterpret_cast< wxToolbook * >(argp1);
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->Realize();
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 resultobj = SWIG_Py_Void();
22816 return resultobj;
22817fail:
22818 return NULL;
22819}
22820
22821
22822SWIGINTERN PyObject *Toolbook_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22823 PyObject *obj;
22824 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22825 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook, SWIG_NewClientData(obj));
22826 return SWIG_Py_Void();
22827}
22828
22829SWIGINTERN PyObject *Toolbook_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22830 return SWIG_Python_InitShadowInstance(args);
22831}
22832
22833SWIGINTERN PyObject *_wrap_new_ToolbookEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22834 PyObject *resultobj = 0;
22835 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22836 int arg2 = (int) 0 ;
22837 int arg3 = (int) wxNOT_FOUND ;
22838 int arg4 = (int) wxNOT_FOUND ;
22839 wxToolbookEvent *result = 0 ;
22840 int val1 ;
22841 int ecode1 = 0 ;
22842 int val2 ;
22843 int ecode2 = 0 ;
22844 int val3 ;
22845 int ecode3 = 0 ;
22846 int val4 ;
22847 int ecode4 = 0 ;
22848 PyObject * obj0 = 0 ;
22849 PyObject * obj1 = 0 ;
22850 PyObject * obj2 = 0 ;
22851 PyObject * obj3 = 0 ;
22852 char * kwnames[] = {
22853 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22854 };
22855
22856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ToolbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22857 if (obj0) {
22858 ecode1 = SWIG_AsVal_int(obj0, &val1);
22859 if (!SWIG_IsOK(ecode1)) {
22860 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22861 }
22862 arg1 = static_cast< wxEventType >(val1);
22863 }
22864 if (obj1) {
22865 ecode2 = SWIG_AsVal_int(obj1, &val2);
22866 if (!SWIG_IsOK(ecode2)) {
22867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22868 }
22869 arg2 = static_cast< int >(val2);
22870 }
22871 if (obj2) {
22872 ecode3 = SWIG_AsVal_int(obj2, &val3);
22873 if (!SWIG_IsOK(ecode3)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22875 }
22876 arg3 = static_cast< int >(val3);
22877 }
22878 if (obj3) {
22879 ecode4 = SWIG_AsVal_int(obj3, &val4);
22880 if (!SWIG_IsOK(ecode4)) {
22881 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22882 }
22883 arg4 = static_cast< int >(val4);
22884 }
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 result = (wxToolbookEvent *)new wxToolbookEvent(arg1,arg2,arg3,arg4);
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolbookEvent, SWIG_POINTER_NEW | 0 );
22892 return resultobj;
22893fail:
22894 return NULL;
d55e5bfc
RD
22895}
22896
22897
554f62e9
RD
22898SWIGINTERN PyObject *ToolbookEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22899 PyObject *obj;
22900 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22901 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent, SWIG_NewClientData(obj));
22902 return SWIG_Py_Void();
d55e5bfc
RD
22903}
22904
554f62e9
RD
22905SWIGINTERN PyObject *ToolbookEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22906 return SWIG_Python_InitShadowInstance(args);
22907}
d55e5bfc 22908
554f62e9
RD
22909SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22910 PyObject *resultobj = 0;
22911 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22912 int result;
22913 void *argp1 = 0 ;
22914 int res1 = 0 ;
22915 PyObject *swig_obj[1] ;
22916
22917 if (!args) SWIG_fail;
22918 swig_obj[0] = args;
22919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22920 if (!SWIG_IsOK(res1)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22922 }
22923 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 result = (int)(arg1)->GetId();
22927 wxPyEndAllowThreads(__tstate);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 }
22930 resultobj = SWIG_From_int(static_cast< int >(result));
22931 return resultobj;
22932fail:
22933 return NULL;
d55e5bfc
RD
22934}
22935
22936
554f62e9
RD
22937SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22938 PyObject *resultobj = 0;
22939 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22940 wxControl *result = 0 ;
22941 void *argp1 = 0 ;
22942 int res1 = 0 ;
22943 PyObject *swig_obj[1] ;
22944
22945 if (!args) SWIG_fail;
22946 swig_obj[0] = args;
22947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22948 if (!SWIG_IsOK(res1)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22950 }
22951 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22952 {
22953 PyThreadState* __tstate = wxPyBeginAllowThreads();
22954 result = (wxControl *)(arg1)->GetControl();
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
22958 {
22959 resultobj = wxPyMake_wxObject(result, 0);
22960 }
22961 return resultobj;
22962fail:
22963 return NULL;
d55e5bfc
RD
22964}
22965
22966
554f62e9
RD
22967SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22968 PyObject *resultobj = 0;
22969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
22970 wxToolBarBase *result = 0 ;
22971 void *argp1 = 0 ;
22972 int res1 = 0 ;
22973 PyObject *swig_obj[1] ;
22974
22975 if (!args) SWIG_fail;
22976 swig_obj[0] = args;
22977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
22978 if (!SWIG_IsOK(res1)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22980 }
22981 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
22982 {
22983 PyThreadState* __tstate = wxPyBeginAllowThreads();
22984 result = (wxToolBarBase *)(arg1)->GetToolBar();
22985 wxPyEndAllowThreads(__tstate);
22986 if (PyErr_Occurred()) SWIG_fail;
22987 }
22988 {
22989 resultobj = wxPyMake_wxObject(result, (bool)0);
22990 }
22991 return resultobj;
22992fail:
22993 return NULL;
d55e5bfc
RD
22994}
22995
22996
554f62e9
RD
22997SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22998 PyObject *resultobj = 0;
22999 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23000 int result;
23001 void *argp1 = 0 ;
23002 int res1 = 0 ;
23003 PyObject *swig_obj[1] ;
23004
23005 if (!args) SWIG_fail;
23006 swig_obj[0] = args;
23007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23008 if (!SWIG_IsOK(res1)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23010 }
23011 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 result = (int)(arg1)->IsButton();
23015 wxPyEndAllowThreads(__tstate);
23016 if (PyErr_Occurred()) SWIG_fail;
23017 }
23018 resultobj = SWIG_From_int(static_cast< int >(result));
23019 return resultobj;
23020fail:
23021 return NULL;
d55e5bfc
RD
23022}
23023
23024
554f62e9
RD
23025SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23026 PyObject *resultobj = 0;
23027 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23028 int result;
23029 void *argp1 = 0 ;
23030 int res1 = 0 ;
23031 PyObject *swig_obj[1] ;
23032
23033 if (!args) SWIG_fail;
23034 swig_obj[0] = args;
23035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23036 if (!SWIG_IsOK(res1)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23038 }
23039 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23040 {
23041 PyThreadState* __tstate = wxPyBeginAllowThreads();
23042 result = (int)(arg1)->IsControl();
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 resultobj = SWIG_From_int(static_cast< int >(result));
23047 return resultobj;
23048fail:
23049 return NULL;
d55e5bfc
RD
23050}
23051
23052
554f62e9
RD
23053SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23054 PyObject *resultobj = 0;
23055 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23056 int result;
23057 void *argp1 = 0 ;
23058 int res1 = 0 ;
23059 PyObject *swig_obj[1] ;
23060
23061 if (!args) SWIG_fail;
23062 swig_obj[0] = args;
23063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23064 if (!SWIG_IsOK(res1)) {
23065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23066 }
23067 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 result = (int)(arg1)->IsSeparator();
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 resultobj = SWIG_From_int(static_cast< int >(result));
23075 return resultobj;
23076fail:
23077 return NULL;
d55e5bfc
RD
23078}
23079
23080
554f62e9
RD
23081SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23082 PyObject *resultobj = 0;
23083 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23084 int result;
23085 void *argp1 = 0 ;
23086 int res1 = 0 ;
23087 PyObject *swig_obj[1] ;
23088
23089 if (!args) SWIG_fail;
23090 swig_obj[0] = args;
23091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23092 if (!SWIG_IsOK(res1)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23094 }
23095 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23096 {
23097 PyThreadState* __tstate = wxPyBeginAllowThreads();
23098 result = (int)(arg1)->GetStyle();
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 resultobj = SWIG_From_int(static_cast< int >(result));
23103 return resultobj;
23104fail:
23105 return NULL;
d55e5bfc
RD
23106}
23107
23108
554f62e9
RD
23109SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23110 PyObject *resultobj = 0;
23111 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23112 wxItemKind result;
23113 void *argp1 = 0 ;
23114 int res1 = 0 ;
23115 PyObject *swig_obj[1] ;
23116
23117 if (!args) SWIG_fail;
23118 swig_obj[0] = args;
23119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23120 if (!SWIG_IsOK(res1)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23122 }
23123 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (wxItemKind)(arg1)->GetKind();
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 resultobj = SWIG_From_int(static_cast< int >(result));
23131 return resultobj;
23132fail:
23133 return NULL;
d55e5bfc
RD
23134}
23135
23136
554f62e9
RD
23137SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23138 PyObject *resultobj = 0;
23139 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23140 bool result;
23141 void *argp1 = 0 ;
23142 int res1 = 0 ;
23143 PyObject *swig_obj[1] ;
23144
23145 if (!args) SWIG_fail;
23146 swig_obj[0] = args;
23147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23148 if (!SWIG_IsOK(res1)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23150 }
23151 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23152 {
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = (bool)(arg1)->IsEnabled();
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 {
23159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23160 }
23161 return resultobj;
23162fail:
23163 return NULL;
d55e5bfc
RD
23164}
23165
23166
554f62e9
RD
23167SWIGINTERN PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23168 PyObject *resultobj = 0;
23169 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23170 bool result;
23171 void *argp1 = 0 ;
23172 int res1 = 0 ;
23173 PyObject *swig_obj[1] ;
23174
23175 if (!args) SWIG_fail;
23176 swig_obj[0] = args;
23177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23178 if (!SWIG_IsOK(res1)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23180 }
23181 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23182 {
23183 PyThreadState* __tstate = wxPyBeginAllowThreads();
23184 result = (bool)(arg1)->IsToggled();
23185 wxPyEndAllowThreads(__tstate);
23186 if (PyErr_Occurred()) SWIG_fail;
23187 }
23188 {
23189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23190 }
23191 return resultobj;
23192fail:
23193 return NULL;
d55e5bfc
RD
23194}
23195
23196
554f62e9
RD
23197SWIGINTERN PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23198 PyObject *resultobj = 0;
23199 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23200 bool result;
23201 void *argp1 = 0 ;
23202 int res1 = 0 ;
23203 PyObject *swig_obj[1] ;
23204
23205 if (!args) SWIG_fail;
23206 swig_obj[0] = args;
23207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23208 if (!SWIG_IsOK(res1)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23210 }
23211 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = (bool)(arg1)->CanBeToggled();
23215 wxPyEndAllowThreads(__tstate);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 {
23219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23220 }
23221 return resultobj;
23222fail:
23223 return NULL;
d55e5bfc
RD
23224}
23225
23226
554f62e9
RD
23227SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23228 PyObject *resultobj = 0;
23229 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23230 wxBitmap *result = 0 ;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 PyObject *swig_obj[1] ;
23234
23235 if (!args) SWIG_fail;
23236 swig_obj[0] = args;
23237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23238 if (!SWIG_IsOK(res1)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23240 }
23241 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23242 {
23243 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 23244 {
554f62e9
RD
23245 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
23246 result = (wxBitmap *) &_result_ref;
093d3ff1 23247 }
554f62e9
RD
23248 wxPyEndAllowThreads(__tstate);
23249 if (PyErr_Occurred()) SWIG_fail;
23250 }
23251 {
23252 wxBitmap* resultptr = new wxBitmap(*result);
23253 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23254 }
23255 return resultobj;
23256fail:
23257 return NULL;
d55e5bfc
RD
23258}
23259
23260
554f62e9
RD
23261SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23262 PyObject *resultobj = 0;
23263 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23264 wxBitmap *result = 0 ;
23265 void *argp1 = 0 ;
23266 int res1 = 0 ;
23267 PyObject *swig_obj[1] ;
23268
23269 if (!args) SWIG_fail;
23270 swig_obj[0] = args;
23271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23272 if (!SWIG_IsOK(res1)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23274 }
23275 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23278 {
554f62e9
RD
23279 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
23280 result = (wxBitmap *) &_result_ref;
d55e5bfc 23281 }
554f62e9
RD
23282 wxPyEndAllowThreads(__tstate);
23283 if (PyErr_Occurred()) SWIG_fail;
23284 }
23285 {
23286 wxBitmap* resultptr = new wxBitmap(*result);
23287 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
23288 }
23289 return resultobj;
23290fail:
23291 return NULL;
d55e5bfc
RD
23292}
23293
23294
554f62e9
RD
23295SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23296 PyObject *resultobj = 0;
23297 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23298 wxBitmap result;
23299 void *argp1 = 0 ;
23300 int res1 = 0 ;
23301 PyObject *swig_obj[1] ;
23302
23303 if (!args) SWIG_fail;
23304 swig_obj[0] = args;
23305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23306 if (!SWIG_IsOK(res1)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23308 }
23309 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23310 {
23311 PyThreadState* __tstate = wxPyBeginAllowThreads();
23312 result = (arg1)->GetBitmap();
23313 wxPyEndAllowThreads(__tstate);
23314 if (PyErr_Occurred()) SWIG_fail;
23315 }
23316 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
23317 return resultobj;
23318fail:
23319 return NULL;
23320}
23321
23322
23323SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23324 PyObject *resultobj = 0;
23325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23326 wxString result;
23327 void *argp1 = 0 ;
23328 int res1 = 0 ;
23329 PyObject *swig_obj[1] ;
23330
23331 if (!args) SWIG_fail;
23332 swig_obj[0] = args;
23333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23334 if (!SWIG_IsOK(res1)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23336 }
23337 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (arg1)->GetLabel();
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 {
d55e5bfc 23345#if wxUSE_UNICODE
554f62e9 23346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 23347#else
554f62e9 23348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 23349#endif
554f62e9
RD
23350 }
23351 return resultobj;
23352fail:
23353 return NULL;
d55e5bfc
RD
23354}
23355
23356
554f62e9
RD
23357SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23358 PyObject *resultobj = 0;
23359 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23360 wxString result;
23361 void *argp1 = 0 ;
23362 int res1 = 0 ;
23363 PyObject *swig_obj[1] ;
23364
23365 if (!args) SWIG_fail;
23366 swig_obj[0] = args;
23367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23368 if (!SWIG_IsOK(res1)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23370 }
23371 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23372 {
23373 PyThreadState* __tstate = wxPyBeginAllowThreads();
23374 result = (arg1)->GetShortHelp();
23375 wxPyEndAllowThreads(__tstate);
23376 if (PyErr_Occurred()) SWIG_fail;
23377 }
23378 {
23379#if wxUSE_UNICODE
23380 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23381#else
23382 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23383#endif
23384 }
23385 return resultobj;
23386fail:
23387 return NULL;
d55e5bfc
RD
23388}
23389
23390
554f62e9
RD
23391SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23392 PyObject *resultobj = 0;
23393 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23394 wxString result;
23395 void *argp1 = 0 ;
23396 int res1 = 0 ;
23397 PyObject *swig_obj[1] ;
23398
23399 if (!args) SWIG_fail;
23400 swig_obj[0] = args;
23401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23402 if (!SWIG_IsOK(res1)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23404 }
23405 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = (arg1)->GetLongHelp();
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 {
23413#if wxUSE_UNICODE
23414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23415#else
23416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23417#endif
23418 }
23419 return resultobj;
23420fail:
23421 return NULL;
23422}
23423
23424
23425SWIGINTERN PyObject *_wrap_ToolBarToolBase_Enable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23426 PyObject *resultobj = 0;
23427 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23428 bool arg2 ;
23429 bool result;
23430 void *argp1 = 0 ;
23431 int res1 = 0 ;
23432 bool val2 ;
23433 int ecode2 = 0 ;
23434 PyObject * obj0 = 0 ;
23435 PyObject * obj1 = 0 ;
23436 char * kwnames[] = {
23437 (char *) "self",(char *) "enable", NULL
23438 };
23439
23440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) SWIG_fail;
23441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23442 if (!SWIG_IsOK(res1)) {
23443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23444 }
23445 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23447 if (!SWIG_IsOK(ecode2)) {
23448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23449 }
23450 arg2 = static_cast< bool >(val2);
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 result = (bool)(arg1)->Enable(arg2);
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 {
23458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23459 }
23460 return resultobj;
23461fail:
23462 return NULL;
d55e5bfc
RD
23463}
23464
23465
554f62e9
RD
23466SWIGINTERN PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23467 PyObject *resultobj = 0;
23468 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23469 void *argp1 = 0 ;
23470 int res1 = 0 ;
23471 PyObject *swig_obj[1] ;
23472
23473 if (!args) SWIG_fail;
23474 swig_obj[0] = args;
23475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23476 if (!SWIG_IsOK(res1)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23478 }
23479 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 (arg1)->Toggle();
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = SWIG_Py_Void();
23487 return resultobj;
23488fail:
23489 return NULL;
23490}
23491
23492
23493SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj = 0;
23495 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23496 bool arg2 ;
23497 bool result;
23498 void *argp1 = 0 ;
23499 int res1 = 0 ;
23500 bool val2 ;
23501 int ecode2 = 0 ;
23502 PyObject * obj0 = 0 ;
23503 PyObject * obj1 = 0 ;
23504 char * kwnames[] = {
23505 (char *) "self",(char *) "toggle", NULL
23506 };
23507
23508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) SWIG_fail;
23509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23510 if (!SWIG_IsOK(res1)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23512 }
23513 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23514 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23515 if (!SWIG_IsOK(ecode2)) {
23516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23517 }
23518 arg2 = static_cast< bool >(val2);
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 result = (bool)(arg1)->SetToggle(arg2);
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 {
23526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23527 }
23528 return resultobj;
23529fail:
23530 return NULL;
23531}
23532
23533
23534SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23535 PyObject *resultobj = 0;
23536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23537 wxString *arg2 = 0 ;
23538 bool result;
23539 void *argp1 = 0 ;
23540 int res1 = 0 ;
23541 bool temp2 = false ;
23542 PyObject * obj0 = 0 ;
23543 PyObject * obj1 = 0 ;
23544 char * kwnames[] = {
23545 (char *) "self",(char *) "help", NULL
23546 };
23547
23548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23550 if (!SWIG_IsOK(res1)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23552 }
23553 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23554 {
23555 arg2 = wxString_in_helper(obj1);
23556 if (arg2 == NULL) SWIG_fail;
23557 temp2 = true;
23558 }
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 {
23566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23567 }
23568 {
23569 if (temp2)
23570 delete arg2;
23571 }
23572 return resultobj;
23573fail:
23574 {
23575 if (temp2)
23576 delete arg2;
23577 }
23578 return NULL;
23579}
23580
23581
23582SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj = 0;
23584 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23585 wxString *arg2 = 0 ;
23586 bool result;
23587 void *argp1 = 0 ;
23588 int res1 = 0 ;
23589 bool temp2 = false ;
23590 PyObject * obj0 = 0 ;
23591 PyObject * obj1 = 0 ;
23592 char * kwnames[] = {
23593 (char *) "self",(char *) "help", NULL
23594 };
23595
23596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
23597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23598 if (!SWIG_IsOK(res1)) {
23599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23600 }
23601 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23602 {
23603 arg2 = wxString_in_helper(obj1);
23604 if (arg2 == NULL) SWIG_fail;
23605 temp2 = true;
23606 }
23607 {
23608 PyThreadState* __tstate = wxPyBeginAllowThreads();
23609 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
23610 wxPyEndAllowThreads(__tstate);
23611 if (PyErr_Occurred()) SWIG_fail;
23612 }
23613 {
23614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23615 }
23616 {
23617 if (temp2)
23618 delete arg2;
23619 }
23620 return resultobj;
23621fail:
23622 {
23623 if (temp2)
23624 delete arg2;
23625 }
23626 return NULL;
23627}
23628
23629
23630SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23631 PyObject *resultobj = 0;
23632 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23633 wxBitmap *arg2 = 0 ;
23634 void *argp1 = 0 ;
23635 int res1 = 0 ;
23636 void *argp2 = 0 ;
23637 int res2 = 0 ;
23638 PyObject * obj0 = 0 ;
23639 PyObject * obj1 = 0 ;
23640 char * kwnames[] = {
23641 (char *) "self",(char *) "bmp", NULL
23642 };
23643
23644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23646 if (!SWIG_IsOK(res1)) {
23647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23648 }
23649 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23650 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23651 if (!SWIG_IsOK(res2)) {
23652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23653 }
23654 if (!argp2) {
23655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23656 }
23657 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
23661 wxPyEndAllowThreads(__tstate);
23662 if (PyErr_Occurred()) SWIG_fail;
23663 }
23664 resultobj = SWIG_Py_Void();
23665 return resultobj;
23666fail:
23667 return NULL;
23668}
23669
23670
23671SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23672 PyObject *resultobj = 0;
23673 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23674 wxBitmap *arg2 = 0 ;
23675 void *argp1 = 0 ;
23676 int res1 = 0 ;
23677 void *argp2 = 0 ;
23678 int res2 = 0 ;
23679 PyObject * obj0 = 0 ;
23680 PyObject * obj1 = 0 ;
23681 char * kwnames[] = {
23682 (char *) "self",(char *) "bmp", NULL
23683 };
23684
23685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
23686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23687 if (!SWIG_IsOK(res1)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23689 }
23690 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23691 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
23692 if (!SWIG_IsOK(res2)) {
23693 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23694 }
23695 if (!argp2) {
23696 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23697 }
23698 arg2 = reinterpret_cast< wxBitmap * >(argp2);
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 resultobj = SWIG_Py_Void();
23706 return resultobj;
23707fail:
23708 return NULL;
23709}
23710
23711
23712SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj = 0;
23714 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23715 wxString *arg2 = 0 ;
23716 void *argp1 = 0 ;
23717 int res1 = 0 ;
23718 bool temp2 = false ;
23719 PyObject * obj0 = 0 ;
23720 PyObject * obj1 = 0 ;
23721 char * kwnames[] = {
23722 (char *) "self",(char *) "label", NULL
23723 };
23724
23725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
23726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23727 if (!SWIG_IsOK(res1)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23729 }
23730 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23731 {
23732 arg2 = wxString_in_helper(obj1);
23733 if (arg2 == NULL) SWIG_fail;
23734 temp2 = true;
23735 }
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->SetLabel((wxString const &)*arg2);
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 resultobj = SWIG_Py_Void();
23743 {
23744 if (temp2)
23745 delete arg2;
23746 }
23747 return resultobj;
23748fail:
23749 {
23750 if (temp2)
23751 delete arg2;
23752 }
23753 return NULL;
d55e5bfc
RD
23754}
23755
23756
554f62e9
RD
23757SWIGINTERN PyObject *_wrap_ToolBarToolBase_Detach(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23758 PyObject *resultobj = 0;
23759 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23760 void *argp1 = 0 ;
23761 int res1 = 0 ;
23762 PyObject *swig_obj[1] ;
23763
23764 if (!args) SWIG_fail;
23765 swig_obj[0] = args;
23766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23767 if (!SWIG_IsOK(res1)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23769 }
23770 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23771 {
23772 PyThreadState* __tstate = wxPyBeginAllowThreads();
23773 (arg1)->Detach();
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 resultobj = SWIG_Py_Void();
23778 return resultobj;
23779fail:
23780 return NULL;
23781}
23782
23783
23784SWIGINTERN PyObject *_wrap_ToolBarToolBase_Attach(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj = 0;
23786 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23787 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
23788 void *argp1 = 0 ;
23789 int res1 = 0 ;
23790 void *argp2 = 0 ;
23791 int res2 = 0 ;
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794 char * kwnames[] = {
23795 (char *) "self",(char *) "tbar", NULL
23796 };
23797
23798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) SWIG_fail;
23799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23800 if (!SWIG_IsOK(res1)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23802 }
23803 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23805 if (!SWIG_IsOK(res2)) {
23806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23807 }
23808 arg2 = reinterpret_cast< wxToolBarBase * >(argp2);
23809 {
23810 PyThreadState* __tstate = wxPyBeginAllowThreads();
23811 (arg1)->Attach(arg2);
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = SWIG_Py_Void();
23816 return resultobj;
23817fail:
23818 return NULL;
d55e5bfc
RD
23819}
23820
23821
554f62e9
RD
23822SWIGINTERN PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23823 PyObject *resultobj = 0;
23824 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23825 PyObject *result = 0 ;
23826 void *argp1 = 0 ;
23827 int res1 = 0 ;
23828 PyObject *swig_obj[1] ;
23829
23830 if (!args) SWIG_fail;
23831 swig_obj[0] = args;
23832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23835 }
23836 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 resultobj = result;
23844 return resultobj;
23845fail:
23846 return NULL;
23847}
23848
23849
23850SWIGINTERN PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj = 0;
23852 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
23853 PyObject *arg2 = (PyObject *) 0 ;
23854 void *argp1 = 0 ;
23855 int res1 = 0 ;
23856 PyObject * obj0 = 0 ;
23857 PyObject * obj1 = 0 ;
23858 char * kwnames[] = {
23859 (char *) "self",(char *) "clientData", NULL
23860 };
23861
23862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) SWIG_fail;
23863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
23864 if (!SWIG_IsOK(res1)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23866 }
23867 arg1 = reinterpret_cast< wxToolBarToolBase * >(argp1);
23868 arg2 = obj1;
23869 {
23870 PyThreadState* __tstate = wxPyBeginAllowThreads();
23871 wxToolBarToolBase_SetClientData(arg1,arg2);
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = SWIG_Py_Void();
23876 return resultobj;
23877fail:
23878 return NULL;
23879}
23880
23881
23882SWIGINTERN PyObject *ToolBarToolBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23883 PyObject *obj;
23884 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23885 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase, SWIG_NewClientData(obj));
23886 return SWIG_Py_Void();
23887}
23888
23889SWIGINTERN PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj = 0;
23891 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
23892 int arg2 ;
23893 wxString *arg3 = 0 ;
23894 wxBitmap *arg4 = 0 ;
23895 wxBitmap const &arg5_defvalue = wxNullBitmap ;
23896 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
23897 wxItemKind arg6 = (wxItemKind) wxITEM_NORMAL ;
23898 wxString const &arg7_defvalue = wxPyEmptyString ;
23899 wxString *arg7 = (wxString *) &arg7_defvalue ;
23900 wxString const &arg8_defvalue = wxPyEmptyString ;
23901 wxString *arg8 = (wxString *) &arg8_defvalue ;
23902 PyObject *arg9 = (PyObject *) NULL ;
23903 wxToolBarToolBase *result = 0 ;
23904 void *argp1 = 0 ;
23905 int res1 = 0 ;
23906 int val2 ;
23907 int ecode2 = 0 ;
23908 bool temp3 = false ;
23909 void *argp4 = 0 ;
23910 int res4 = 0 ;
23911 void *argp5 = 0 ;
23912 int res5 = 0 ;
23913 int val6 ;
23914 int ecode6 = 0 ;
23915 bool temp7 = false ;
23916 bool temp8 = false ;
23917 PyObject * obj0 = 0 ;
23918 PyObject * obj1 = 0 ;
23919 PyObject * obj2 = 0 ;
23920 PyObject * obj3 = 0 ;
23921 PyObject * obj4 = 0 ;
23922 PyObject * obj5 = 0 ;
23923 PyObject * obj6 = 0 ;
23924 PyObject * obj7 = 0 ;
23925 PyObject * obj8 = 0 ;
23926 char * kwnames[] = {
23927 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23928 };
23929
23930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
23931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
23932 if (!SWIG_IsOK(res1)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23934 }
23935 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
23936 ecode2 = SWIG_AsVal_int(obj1, &val2);
23937 if (!SWIG_IsOK(ecode2)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23939 }
23940 arg2 = static_cast< int >(val2);
23941 {
23942 arg3 = wxString_in_helper(obj2);
23943 if (arg3 == NULL) SWIG_fail;
23944 temp3 = true;
23945 }
23946 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
23947 if (!SWIG_IsOK(res4)) {
23948 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23949 }
23950 if (!argp4) {
23951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23952 }
23953 arg4 = reinterpret_cast< wxBitmap * >(argp4);
23954 if (obj4) {
23955 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
23956 if (!SWIG_IsOK(res5)) {
23957 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23958 }
23959 if (!argp5) {
23960 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23961 }
23962 arg5 = reinterpret_cast< wxBitmap * >(argp5);
23963 }
23964 if (obj5) {
23965 ecode6 = SWIG_AsVal_int(obj5, &val6);
23966 if (!SWIG_IsOK(ecode6)) {
23967 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23968 }
23969 arg6 = static_cast< wxItemKind >(val6);
23970 }
23971 if (obj6) {
d55e5bfc 23972 {
554f62e9
RD
23973 arg7 = wxString_in_helper(obj6);
23974 if (arg7 == NULL) SWIG_fail;
23975 temp7 = true;
d55e5bfc 23976 }
554f62e9
RD
23977 }
23978 if (obj7) {
093d3ff1 23979 {
554f62e9
RD
23980 arg8 = wxString_in_helper(obj7);
23981 if (arg8 == NULL) SWIG_fail;
23982 temp8 = true;
093d3ff1 23983 }
554f62e9
RD
23984 }
23985 if (obj8) {
23986 arg9 = obj8;
23987 }
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
23995 resultobj = wxPyMake_wxObject(result, (bool)0);
23996 }
23997 {
23998 if (temp3)
23999 delete arg3;
24000 }
24001 {
24002 if (temp7)
24003 delete arg7;
24004 }
24005 {
24006 if (temp8)
24007 delete arg8;
24008 }
24009 return resultobj;
24010fail:
24011 {
24012 if (temp3)
24013 delete arg3;
24014 }
24015 {
24016 if (temp7)
24017 delete arg7;
24018 }
24019 {
24020 if (temp8)
24021 delete arg8;
24022 }
24023 return NULL;
24024}
24025
24026
24027SWIGINTERN PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24028 PyObject *resultobj = 0;
24029 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24030 size_t arg2 ;
24031 int arg3 ;
24032 wxString *arg4 = 0 ;
24033 wxBitmap *arg5 = 0 ;
24034 wxBitmap const &arg6_defvalue = wxNullBitmap ;
24035 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
24036 wxItemKind arg7 = (wxItemKind) wxITEM_NORMAL ;
24037 wxString const &arg8_defvalue = wxPyEmptyString ;
24038 wxString *arg8 = (wxString *) &arg8_defvalue ;
24039 wxString const &arg9_defvalue = wxPyEmptyString ;
24040 wxString *arg9 = (wxString *) &arg9_defvalue ;
24041 PyObject *arg10 = (PyObject *) NULL ;
24042 wxToolBarToolBase *result = 0 ;
24043 void *argp1 = 0 ;
24044 int res1 = 0 ;
24045 size_t val2 ;
24046 int ecode2 = 0 ;
24047 int val3 ;
24048 int ecode3 = 0 ;
24049 bool temp4 = false ;
24050 void *argp5 = 0 ;
24051 int res5 = 0 ;
24052 void *argp6 = 0 ;
24053 int res6 = 0 ;
24054 int val7 ;
24055 int ecode7 = 0 ;
24056 bool temp8 = false ;
24057 bool temp9 = false ;
24058 PyObject * obj0 = 0 ;
24059 PyObject * obj1 = 0 ;
24060 PyObject * obj2 = 0 ;
24061 PyObject * obj3 = 0 ;
24062 PyObject * obj4 = 0 ;
24063 PyObject * obj5 = 0 ;
24064 PyObject * obj6 = 0 ;
24065 PyObject * obj7 = 0 ;
24066 PyObject * obj8 = 0 ;
24067 PyObject * obj9 = 0 ;
24068 char * kwnames[] = {
24069 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24070 };
24071
24072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
24073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24074 if (!SWIG_IsOK(res1)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24076 }
24077 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24078 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24079 if (!SWIG_IsOK(ecode2)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24081 }
24082 arg2 = static_cast< size_t >(val2);
24083 ecode3 = SWIG_AsVal_int(obj2, &val3);
24084 if (!SWIG_IsOK(ecode3)) {
24085 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24086 }
24087 arg3 = static_cast< int >(val3);
24088 {
24089 arg4 = wxString_in_helper(obj3);
24090 if (arg4 == NULL) SWIG_fail;
24091 temp4 = true;
24092 }
24093 res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_wxBitmap, 0 | 0);
24094 if (!SWIG_IsOK(res5)) {
24095 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24096 }
24097 if (!argp5) {
24098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24099 }
24100 arg5 = reinterpret_cast< wxBitmap * >(argp5);
24101 if (obj5) {
24102 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxBitmap, 0 | 0);
24103 if (!SWIG_IsOK(res6)) {
24104 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 24105 }
554f62e9
RD
24106 if (!argp6) {
24107 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
d55e5bfc 24108 }
554f62e9
RD
24109 arg6 = reinterpret_cast< wxBitmap * >(argp6);
24110 }
24111 if (obj6) {
24112 ecode7 = SWIG_AsVal_int(obj6, &val7);
24113 if (!SWIG_IsOK(ecode7)) {
24114 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24115 }
24116 arg7 = static_cast< wxItemKind >(val7);
24117 }
24118 if (obj7) {
d55e5bfc 24119 {
554f62e9
RD
24120 arg8 = wxString_in_helper(obj7);
24121 if (arg8 == NULL) SWIG_fail;
24122 temp8 = true;
d55e5bfc 24123 }
554f62e9
RD
24124 }
24125 if (obj8) {
d55e5bfc 24126 {
554f62e9
RD
24127 arg9 = wxString_in_helper(obj8);
24128 if (arg9 == NULL) SWIG_fail;
24129 temp9 = true;
d55e5bfc 24130 }
554f62e9
RD
24131 }
24132 if (obj9) {
24133 arg10 = obj9;
24134 }
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 {
24142 resultobj = wxPyMake_wxObject(result, (bool)0);
24143 }
24144 {
24145 if (temp4)
24146 delete arg4;
24147 }
24148 {
24149 if (temp8)
24150 delete arg8;
24151 }
24152 {
24153 if (temp9)
24154 delete arg9;
24155 }
24156 return resultobj;
24157fail:
24158 {
24159 if (temp4)
24160 delete arg4;
24161 }
24162 {
24163 if (temp8)
24164 delete arg8;
24165 }
24166 {
24167 if (temp9)
24168 delete arg9;
24169 }
24170 return NULL;
24171}
24172
24173
24174SWIGINTERN PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj = 0;
24176 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24177 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
24178 wxToolBarToolBase *result = 0 ;
24179 void *argp1 = 0 ;
24180 int res1 = 0 ;
24181 void *argp2 = 0 ;
24182 int res2 = 0 ;
24183 PyObject * obj0 = 0 ;
24184 PyObject * obj1 = 0 ;
24185 char * kwnames[] = {
24186 (char *) "self",(char *) "tool", NULL
24187 };
24188
24189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) SWIG_fail;
24190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24191 if (!SWIG_IsOK(res1)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24193 }
24194 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24196 if (!SWIG_IsOK(res2)) {
24197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24198 }
24199 arg2 = reinterpret_cast< wxToolBarToolBase * >(argp2);
24200 {
24201 PyThreadState* __tstate = wxPyBeginAllowThreads();
24202 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 {
24207 resultobj = wxPyMake_wxObject(result, (bool)0);
24208 }
24209 return resultobj;
24210fail:
24211 return NULL;
24212}
24213
24214
24215SWIGINTERN PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj = 0;
24217 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24218 size_t arg2 ;
24219 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
24220 wxToolBarToolBase *result = 0 ;
24221 void *argp1 = 0 ;
24222 int res1 = 0 ;
24223 size_t val2 ;
24224 int ecode2 = 0 ;
24225 void *argp3 = 0 ;
24226 int res3 = 0 ;
24227 PyObject * obj0 = 0 ;
24228 PyObject * obj1 = 0 ;
24229 PyObject * obj2 = 0 ;
24230 char * kwnames[] = {
24231 (char *) "self",(char *) "pos",(char *) "tool", NULL
24232 };
24233
24234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24236 if (!SWIG_IsOK(res1)) {
24237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24238 }
24239 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24240 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24241 if (!SWIG_IsOK(ecode2)) {
24242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24243 }
24244 arg2 = static_cast< size_t >(val2);
24245 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxToolBarToolBase, 0 | 0 );
24246 if (!SWIG_IsOK(res3)) {
24247 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24248 }
24249 arg3 = reinterpret_cast< wxToolBarToolBase * >(argp3);
24250 {
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 {
24257 resultobj = wxPyMake_wxObject(result, (bool)0);
24258 }
24259 return resultobj;
24260fail:
24261 return NULL;
24262}
24263
24264
24265SWIGINTERN PyObject *_wrap_ToolBarBase_AddControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24266 PyObject *resultobj = 0;
24267 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24268 wxControl *arg2 = (wxControl *) 0 ;
24269 wxToolBarToolBase *result = 0 ;
24270 void *argp1 = 0 ;
24271 int res1 = 0 ;
24272 void *argp2 = 0 ;
24273 int res2 = 0 ;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 char * kwnames[] = {
24277 (char *) "self",(char *) "control", NULL
24278 };
24279
24280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) SWIG_fail;
24281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24282 if (!SWIG_IsOK(res1)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24284 }
24285 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24286 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxControl, 0 | 0 );
24287 if (!SWIG_IsOK(res2)) {
24288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24289 }
24290 arg2 = reinterpret_cast< wxControl * >(argp2);
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 {
24298 resultobj = wxPyMake_wxObject(result, (bool)0);
24299 }
24300 return resultobj;
24301fail:
24302 return NULL;
24303}
24304
24305
24306SWIGINTERN PyObject *_wrap_ToolBarBase_InsertControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj = 0;
24308 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24309 size_t arg2 ;
24310 wxControl *arg3 = (wxControl *) 0 ;
24311 wxToolBarToolBase *result = 0 ;
24312 void *argp1 = 0 ;
24313 int res1 = 0 ;
24314 size_t val2 ;
24315 int ecode2 = 0 ;
24316 void *argp3 = 0 ;
24317 int res3 = 0 ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 PyObject * obj2 = 0 ;
24321 char * kwnames[] = {
24322 (char *) "self",(char *) "pos",(char *) "control", NULL
24323 };
24324
24325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24327 if (!SWIG_IsOK(res1)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24329 }
24330 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24331 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24332 if (!SWIG_IsOK(ecode2)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24334 }
24335 arg2 = static_cast< size_t >(val2);
24336 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxControl, 0 | 0 );
24337 if (!SWIG_IsOK(res3)) {
24338 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24339 }
24340 arg3 = reinterpret_cast< wxControl * >(argp3);
24341 {
24342 PyThreadState* __tstate = wxPyBeginAllowThreads();
24343 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
24344 wxPyEndAllowThreads(__tstate);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 }
24347 {
24348 resultobj = wxPyMake_wxObject(result, (bool)0);
24349 }
24350 return resultobj;
24351fail:
24352 return NULL;
24353}
24354
24355
24356SWIGINTERN PyObject *_wrap_ToolBarBase_FindControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj = 0;
24358 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24359 int arg2 ;
24360 wxControl *result = 0 ;
24361 void *argp1 = 0 ;
24362 int res1 = 0 ;
24363 int val2 ;
24364 int ecode2 = 0 ;
24365 PyObject * obj0 = 0 ;
24366 PyObject * obj1 = 0 ;
24367 char * kwnames[] = {
24368 (char *) "self",(char *) "id", NULL
24369 };
24370
24371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) SWIG_fail;
24372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24373 if (!SWIG_IsOK(res1)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24375 }
24376 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24377 ecode2 = SWIG_AsVal_int(obj1, &val2);
24378 if (!SWIG_IsOK(ecode2)) {
24379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24380 }
24381 arg2 = static_cast< int >(val2);
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 result = (wxControl *)(arg1)->FindControl(arg2);
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 {
24389 resultobj = wxPyMake_wxObject(result, 0);
24390 }
24391 return resultobj;
24392fail:
24393 return NULL;
d55e5bfc
RD
24394}
24395
24396
554f62e9
RD
24397SWIGINTERN PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24398 PyObject *resultobj = 0;
24399 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24400 wxToolBarToolBase *result = 0 ;
24401 void *argp1 = 0 ;
24402 int res1 = 0 ;
24403 PyObject *swig_obj[1] ;
24404
24405 if (!args) SWIG_fail;
24406 swig_obj[0] = args;
24407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24408 if (!SWIG_IsOK(res1)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24410 }
24411 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 {
24419 resultobj = wxPyMake_wxObject(result, (bool)0);
24420 }
24421 return resultobj;
24422fail:
24423 return NULL;
24424}
24425
24426
24427SWIGINTERN PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24428 PyObject *resultobj = 0;
24429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24430 size_t arg2 ;
24431 wxToolBarToolBase *result = 0 ;
24432 void *argp1 = 0 ;
24433 int res1 = 0 ;
24434 size_t val2 ;
24435 int ecode2 = 0 ;
24436 PyObject * obj0 = 0 ;
24437 PyObject * obj1 = 0 ;
24438 char * kwnames[] = {
24439 (char *) "self",(char *) "pos", NULL
24440 };
24441
24442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) SWIG_fail;
24443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24444 if (!SWIG_IsOK(res1)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24446 }
24447 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24448 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24449 if (!SWIG_IsOK(ecode2)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24451 }
24452 arg2 = static_cast< size_t >(val2);
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 resultobj = wxPyMake_wxObject(result, (bool)0);
24461 }
24462 return resultobj;
24463fail:
24464 return NULL;
24465}
24466
24467
24468SWIGINTERN PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj = 0;
24470 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24471 int arg2 ;
24472 wxToolBarToolBase *result = 0 ;
24473 void *argp1 = 0 ;
24474 int res1 = 0 ;
24475 int val2 ;
24476 int ecode2 = 0 ;
24477 PyObject * obj0 = 0 ;
24478 PyObject * obj1 = 0 ;
24479 char * kwnames[] = {
24480 (char *) "self",(char *) "id", NULL
24481 };
24482
24483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) SWIG_fail;
24484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24485 if (!SWIG_IsOK(res1)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24487 }
24488 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24489 ecode2 = SWIG_AsVal_int(obj1, &val2);
24490 if (!SWIG_IsOK(ecode2)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24492 }
24493 arg2 = static_cast< int >(val2);
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 {
24501 resultobj = wxPyMake_wxObject(result, (bool)0);
24502 }
24503 return resultobj;
24504fail:
24505 return NULL;
24506}
24507
24508
24509SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = 0;
24511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24512 size_t arg2 ;
24513 bool result;
24514 void *argp1 = 0 ;
24515 int res1 = 0 ;
24516 size_t val2 ;
24517 int ecode2 = 0 ;
24518 PyObject * obj0 = 0 ;
24519 PyObject * obj1 = 0 ;
24520 char * kwnames[] = {
24521 (char *) "self",(char *) "pos", NULL
24522 };
24523
24524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) SWIG_fail;
24525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24526 if (!SWIG_IsOK(res1)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24528 }
24529 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24530 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
24531 if (!SWIG_IsOK(ecode2)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24533 }
24534 arg2 = static_cast< size_t >(val2);
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (bool)(arg1)->DeleteToolByPos(arg2);
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 {
24542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24543 }
24544 return resultobj;
24545fail:
24546 return NULL;
24547}
24548
24549
24550SWIGINTERN PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24551 PyObject *resultobj = 0;
24552 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24553 int arg2 ;
24554 bool result;
24555 void *argp1 = 0 ;
24556 int res1 = 0 ;
24557 int val2 ;
24558 int ecode2 = 0 ;
24559 PyObject * obj0 = 0 ;
24560 PyObject * obj1 = 0 ;
24561 char * kwnames[] = {
24562 (char *) "self",(char *) "id", NULL
24563 };
24564
24565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) SWIG_fail;
24566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24567 if (!SWIG_IsOK(res1)) {
24568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24569 }
24570 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24571 ecode2 = SWIG_AsVal_int(obj1, &val2);
24572 if (!SWIG_IsOK(ecode2)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24574 }
24575 arg2 = static_cast< int >(val2);
24576 {
24577 PyThreadState* __tstate = wxPyBeginAllowThreads();
24578 result = (bool)(arg1)->DeleteTool(arg2);
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 {
24583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24584 }
24585 return resultobj;
24586fail:
24587 return NULL;
d55e5bfc
RD
24588}
24589
24590
554f62e9
RD
24591SWIGINTERN PyObject *_wrap_ToolBarBase_ClearTools(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24592 PyObject *resultobj = 0;
24593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24594 void *argp1 = 0 ;
24595 int res1 = 0 ;
24596 PyObject *swig_obj[1] ;
24597
24598 if (!args) SWIG_fail;
24599 swig_obj[0] = args;
24600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24601 if (!SWIG_IsOK(res1)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24603 }
24604 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 (arg1)->ClearTools();
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 resultobj = SWIG_Py_Void();
24612 return resultobj;
24613fail:
24614 return NULL;
f20a2e1f
RD
24615}
24616
24617
554f62e9
RD
24618SWIGINTERN PyObject *_wrap_ToolBarBase_Realize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24619 PyObject *resultobj = 0;
24620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24621 bool result;
24622 void *argp1 = 0 ;
24623 int res1 = 0 ;
24624 PyObject *swig_obj[1] ;
24625
24626 if (!args) SWIG_fail;
24627 swig_obj[0] = args;
24628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24629 if (!SWIG_IsOK(res1)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24631 }
24632 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 result = (bool)(arg1)->Realize();
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 {
24640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24641 }
24642 return resultobj;
24643fail:
24644 return NULL;
24645}
24646
24647
24648SWIGINTERN PyObject *_wrap_ToolBarBase_EnableTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj = 0;
24650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24651 int arg2 ;
24652 bool arg3 ;
24653 void *argp1 = 0 ;
24654 int res1 = 0 ;
24655 int val2 ;
24656 int ecode2 = 0 ;
24657 bool val3 ;
24658 int ecode3 = 0 ;
24659 PyObject * obj0 = 0 ;
24660 PyObject * obj1 = 0 ;
24661 PyObject * obj2 = 0 ;
24662 char * kwnames[] = {
24663 (char *) "self",(char *) "id",(char *) "enable", NULL
24664 };
24665
24666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24668 if (!SWIG_IsOK(res1)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24670 }
24671 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24672 ecode2 = SWIG_AsVal_int(obj1, &val2);
24673 if (!SWIG_IsOK(ecode2)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24675 }
24676 arg2 = static_cast< int >(val2);
24677 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24678 if (!SWIG_IsOK(ecode3)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24680 }
24681 arg3 = static_cast< bool >(val3);
24682 {
24683 PyThreadState* __tstate = wxPyBeginAllowThreads();
24684 (arg1)->EnableTool(arg2,arg3);
24685 wxPyEndAllowThreads(__tstate);
24686 if (PyErr_Occurred()) SWIG_fail;
24687 }
24688 resultobj = SWIG_Py_Void();
24689 return resultobj;
24690fail:
24691 return NULL;
24692}
24693
24694
24695SWIGINTERN PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24696 PyObject *resultobj = 0;
24697 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24698 int arg2 ;
24699 bool arg3 ;
24700 void *argp1 = 0 ;
24701 int res1 = 0 ;
24702 int val2 ;
24703 int ecode2 = 0 ;
24704 bool val3 ;
24705 int ecode3 = 0 ;
24706 PyObject * obj0 = 0 ;
24707 PyObject * obj1 = 0 ;
24708 PyObject * obj2 = 0 ;
24709 char * kwnames[] = {
24710 (char *) "self",(char *) "id",(char *) "toggle", NULL
24711 };
24712
24713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24715 if (!SWIG_IsOK(res1)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24717 }
24718 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24719 ecode2 = SWIG_AsVal_int(obj1, &val2);
24720 if (!SWIG_IsOK(ecode2)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24722 }
24723 arg2 = static_cast< int >(val2);
24724 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24725 if (!SWIG_IsOK(ecode3)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24727 }
24728 arg3 = static_cast< bool >(val3);
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 (arg1)->ToggleTool(arg2,arg3);
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 resultobj = SWIG_Py_Void();
24736 return resultobj;
24737fail:
24738 return NULL;
24739}
24740
24741
24742SWIGINTERN PyObject *_wrap_ToolBarBase_SetToggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj = 0;
24744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24745 int arg2 ;
24746 bool arg3 ;
24747 void *argp1 = 0 ;
24748 int res1 = 0 ;
24749 int val2 ;
24750 int ecode2 = 0 ;
24751 bool val3 ;
24752 int ecode3 = 0 ;
24753 PyObject * obj0 = 0 ;
24754 PyObject * obj1 = 0 ;
24755 PyObject * obj2 = 0 ;
24756 char * kwnames[] = {
24757 (char *) "self",(char *) "id",(char *) "toggle", NULL
24758 };
24759
24760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24762 if (!SWIG_IsOK(res1)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24764 }
24765 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24766 ecode2 = SWIG_AsVal_int(obj1, &val2);
24767 if (!SWIG_IsOK(ecode2)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24769 }
24770 arg2 = static_cast< int >(val2);
24771 ecode3 = SWIG_AsVal_bool(obj2, &val3);
24772 if (!SWIG_IsOK(ecode3)) {
24773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24774 }
24775 arg3 = static_cast< bool >(val3);
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 (arg1)->SetToggle(arg2,arg3);
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 resultobj = SWIG_Py_Void();
24783 return resultobj;
24784fail:
24785 return NULL;
24786}
24787
24788
24789SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24790 PyObject *resultobj = 0;
24791 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24792 int arg2 ;
24793 PyObject *result = 0 ;
24794 void *argp1 = 0 ;
24795 int res1 = 0 ;
24796 int val2 ;
24797 int ecode2 = 0 ;
24798 PyObject * obj0 = 0 ;
24799 PyObject * obj1 = 0 ;
24800 char * kwnames[] = {
24801 (char *) "self",(char *) "id", NULL
24802 };
24803
24804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) SWIG_fail;
24805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24806 if (!SWIG_IsOK(res1)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24808 }
24809 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24810 ecode2 = SWIG_AsVal_int(obj1, &val2);
24811 if (!SWIG_IsOK(ecode2)) {
24812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24813 }
24814 arg2 = static_cast< int >(val2);
24815 {
24816 PyThreadState* __tstate = wxPyBeginAllowThreads();
24817 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
24818 wxPyEndAllowThreads(__tstate);
24819 if (PyErr_Occurred()) SWIG_fail;
24820 }
24821 resultobj = result;
24822 return resultobj;
24823fail:
24824 return NULL;
24825}
24826
24827
24828SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24829 PyObject *resultobj = 0;
24830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24831 int arg2 ;
24832 PyObject *arg3 = (PyObject *) 0 ;
24833 void *argp1 = 0 ;
24834 int res1 = 0 ;
24835 int val2 ;
24836 int ecode2 = 0 ;
24837 PyObject * obj0 = 0 ;
24838 PyObject * obj1 = 0 ;
24839 PyObject * obj2 = 0 ;
24840 char * kwnames[] = {
24841 (char *) "self",(char *) "id",(char *) "clientData", NULL
24842 };
24843
24844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24846 if (!SWIG_IsOK(res1)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24848 }
24849 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24850 ecode2 = SWIG_AsVal_int(obj1, &val2);
24851 if (!SWIG_IsOK(ecode2)) {
24852 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24853 }
24854 arg2 = static_cast< int >(val2);
24855 arg3 = obj2;
24856 {
24857 PyThreadState* __tstate = wxPyBeginAllowThreads();
24858 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 resultobj = SWIG_Py_Void();
24863 return resultobj;
24864fail:
24865 return NULL;
24866}
24867
24868
24869SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24870 PyObject *resultobj = 0;
24871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24872 int arg2 ;
24873 int result;
24874 void *argp1 = 0 ;
24875 int res1 = 0 ;
24876 int val2 ;
24877 int ecode2 = 0 ;
24878 PyObject * obj0 = 0 ;
24879 PyObject * obj1 = 0 ;
24880 char * kwnames[] = {
24881 (char *) "self",(char *) "id", NULL
24882 };
24883
24884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) SWIG_fail;
24885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24886 if (!SWIG_IsOK(res1)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24888 }
24889 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24890 ecode2 = SWIG_AsVal_int(obj1, &val2);
24891 if (!SWIG_IsOK(ecode2)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24893 }
24894 arg2 = static_cast< int >(val2);
24895 {
24896 PyThreadState* __tstate = wxPyBeginAllowThreads();
24897 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
24898 wxPyEndAllowThreads(__tstate);
24899 if (PyErr_Occurred()) SWIG_fail;
24900 }
24901 resultobj = SWIG_From_int(static_cast< int >(result));
24902 return resultobj;
24903fail:
24904 return NULL;
24905}
24906
24907
24908SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24909 PyObject *resultobj = 0;
24910 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24911 int arg2 ;
24912 bool result;
24913 void *argp1 = 0 ;
24914 int res1 = 0 ;
24915 int val2 ;
24916 int ecode2 = 0 ;
24917 PyObject * obj0 = 0 ;
24918 PyObject * obj1 = 0 ;
24919 char * kwnames[] = {
24920 (char *) "self",(char *) "id", NULL
24921 };
24922
24923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) SWIG_fail;
24924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24925 if (!SWIG_IsOK(res1)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24927 }
24928 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24929 ecode2 = SWIG_AsVal_int(obj1, &val2);
24930 if (!SWIG_IsOK(ecode2)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24932 }
24933 arg2 = static_cast< int >(val2);
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 result = (bool)(arg1)->GetToolState(arg2);
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
24941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24942 }
24943 return resultobj;
24944fail:
24945 return NULL;
24946}
24947
24948
24949SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj = 0;
24951 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24952 int arg2 ;
24953 bool result;
24954 void *argp1 = 0 ;
24955 int res1 = 0 ;
24956 int val2 ;
24957 int ecode2 = 0 ;
24958 PyObject * obj0 = 0 ;
24959 PyObject * obj1 = 0 ;
24960 char * kwnames[] = {
24961 (char *) "self",(char *) "id", NULL
24962 };
24963
24964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) SWIG_fail;
24965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
24966 if (!SWIG_IsOK(res1)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24968 }
24969 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
24970 ecode2 = SWIG_AsVal_int(obj1, &val2);
24971 if (!SWIG_IsOK(ecode2)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24973 }
24974 arg2 = static_cast< int >(val2);
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 result = (bool)(arg1)->GetToolEnabled(arg2);
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
24981 {
24982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24983 }
24984 return resultobj;
24985fail:
24986 return NULL;
24987}
24988
24989
24990SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24991 PyObject *resultobj = 0;
24992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
24993 int arg2 ;
24994 wxString *arg3 = 0 ;
24995 void *argp1 = 0 ;
24996 int res1 = 0 ;
24997 int val2 ;
24998 int ecode2 = 0 ;
24999 bool temp3 = false ;
25000 PyObject * obj0 = 0 ;
25001 PyObject * obj1 = 0 ;
25002 PyObject * obj2 = 0 ;
25003 char * kwnames[] = {
25004 (char *) "self",(char *) "id",(char *) "helpString", NULL
25005 };
25006
25007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25009 if (!SWIG_IsOK(res1)) {
25010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25011 }
25012 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25013 ecode2 = SWIG_AsVal_int(obj1, &val2);
25014 if (!SWIG_IsOK(ecode2)) {
25015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25016 }
25017 arg2 = static_cast< int >(val2);
25018 {
25019 arg3 = wxString_in_helper(obj2);
25020 if (arg3 == NULL) SWIG_fail;
25021 temp3 = true;
25022 }
25023 {
25024 PyThreadState* __tstate = wxPyBeginAllowThreads();
25025 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 resultobj = SWIG_Py_Void();
25030 {
25031 if (temp3)
25032 delete arg3;
25033 }
25034 return resultobj;
25035fail:
25036 {
25037 if (temp3)
25038 delete arg3;
25039 }
25040 return NULL;
25041}
25042
25043
25044SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj = 0;
25046 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25047 int arg2 ;
25048 wxString result;
25049 void *argp1 = 0 ;
25050 int res1 = 0 ;
25051 int val2 ;
25052 int ecode2 = 0 ;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 char * kwnames[] = {
25056 (char *) "self",(char *) "id", NULL
25057 };
25058
25059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25061 if (!SWIG_IsOK(res1)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25063 }
25064 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25065 ecode2 = SWIG_AsVal_int(obj1, &val2);
25066 if (!SWIG_IsOK(ecode2)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25068 }
25069 arg2 = static_cast< int >(val2);
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 result = (arg1)->GetToolShortHelp(arg2);
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 {
d55e5bfc 25077#if wxUSE_UNICODE
554f62e9 25078 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 25079#else
554f62e9 25080 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 25081#endif
554f62e9
RD
25082 }
25083 return resultobj;
25084fail:
25085 return NULL;
25086}
25087
25088
25089SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25090 PyObject *resultobj = 0;
25091 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25092 int arg2 ;
25093 wxString *arg3 = 0 ;
25094 void *argp1 = 0 ;
25095 int res1 = 0 ;
25096 int val2 ;
25097 int ecode2 = 0 ;
25098 bool temp3 = false ;
25099 PyObject * obj0 = 0 ;
25100 PyObject * obj1 = 0 ;
25101 PyObject * obj2 = 0 ;
25102 char * kwnames[] = {
25103 (char *) "self",(char *) "id",(char *) "helpString", NULL
25104 };
25105
25106 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25107 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25108 if (!SWIG_IsOK(res1)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25110 }
25111 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25112 ecode2 = SWIG_AsVal_int(obj1, &val2);
25113 if (!SWIG_IsOK(ecode2)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25115 }
25116 arg2 = static_cast< int >(val2);
25117 {
25118 arg3 = wxString_in_helper(obj2);
25119 if (arg3 == NULL) SWIG_fail;
25120 temp3 = true;
25121 }
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 resultobj = SWIG_Py_Void();
25129 {
25130 if (temp3)
25131 delete arg3;
25132 }
25133 return resultobj;
25134fail:
25135 {
25136 if (temp3)
25137 delete arg3;
25138 }
25139 return NULL;
25140}
25141
25142
25143SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25144 PyObject *resultobj = 0;
25145 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25146 int arg2 ;
25147 wxString result;
25148 void *argp1 = 0 ;
25149 int res1 = 0 ;
25150 int val2 ;
25151 int ecode2 = 0 ;
25152 PyObject * obj0 = 0 ;
25153 PyObject * obj1 = 0 ;
25154 char * kwnames[] = {
25155 (char *) "self",(char *) "id", NULL
25156 };
25157
25158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25160 if (!SWIG_IsOK(res1)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25162 }
25163 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25164 ecode2 = SWIG_AsVal_int(obj1, &val2);
25165 if (!SWIG_IsOK(ecode2)) {
25166 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25167 }
25168 arg2 = static_cast< int >(val2);
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
25171 result = (arg1)->GetToolLongHelp(arg2);
25172 wxPyEndAllowThreads(__tstate);
25173 if (PyErr_Occurred()) SWIG_fail;
25174 }
25175 {
25176#if wxUSE_UNICODE
25177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25178#else
25179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25180#endif
25181 }
25182 return resultobj;
25183fail:
25184 return NULL;
25185}
25186
25187
25188SWIGINTERN PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25189 PyObject *resultobj = 0;
25190 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25191 int arg2 ;
25192 int arg3 ;
25193 void *argp1 = 0 ;
25194 int res1 = 0 ;
25195 int val2 ;
25196 int ecode2 = 0 ;
25197 int val3 ;
25198 int ecode3 = 0 ;
25199 PyObject * obj0 = 0 ;
25200 PyObject * obj1 = 0 ;
25201 PyObject * obj2 = 0 ;
25202 char * kwnames[] = {
25203 (char *) "self",(char *) "x",(char *) "y", NULL
25204 };
25205
25206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25208 if (!SWIG_IsOK(res1)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25210 }
25211 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25212 ecode2 = SWIG_AsVal_int(obj1, &val2);
25213 if (!SWIG_IsOK(ecode2)) {
25214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25215 }
25216 arg2 = static_cast< int >(val2);
25217 ecode3 = SWIG_AsVal_int(obj2, &val3);
25218 if (!SWIG_IsOK(ecode3)) {
25219 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25220 }
25221 arg3 = static_cast< int >(val3);
25222 {
25223 PyThreadState* __tstate = wxPyBeginAllowThreads();
25224 (arg1)->SetMargins(arg2,arg3);
25225 wxPyEndAllowThreads(__tstate);
25226 if (PyErr_Occurred()) SWIG_fail;
25227 }
25228 resultobj = SWIG_Py_Void();
25229 return resultobj;
25230fail:
25231 return NULL;
25232}
25233
25234
25235SWIGINTERN PyObject *_wrap_ToolBarBase_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25236 PyObject *resultobj = 0;
25237 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25238 wxSize *arg2 = 0 ;
25239 void *argp1 = 0 ;
25240 int res1 = 0 ;
25241 wxSize temp2 ;
25242 PyObject * obj0 = 0 ;
25243 PyObject * obj1 = 0 ;
25244 char * kwnames[] = {
25245 (char *) "self",(char *) "size", NULL
25246 };
25247
25248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25250 if (!SWIG_IsOK(res1)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25252 }
25253 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25254 {
25255 arg2 = &temp2;
25256 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25257 }
25258 {
25259 PyThreadState* __tstate = wxPyBeginAllowThreads();
25260 (arg1)->SetMargins((wxSize const &)*arg2);
25261 wxPyEndAllowThreads(__tstate);
25262 if (PyErr_Occurred()) SWIG_fail;
25263 }
25264 resultobj = SWIG_Py_Void();
25265 return resultobj;
25266fail:
25267 return NULL;
25268}
25269
25270
25271SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25272 PyObject *resultobj = 0;
25273 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25274 int arg2 ;
25275 void *argp1 = 0 ;
25276 int res1 = 0 ;
25277 int val2 ;
25278 int ecode2 = 0 ;
25279 PyObject * obj0 = 0 ;
25280 PyObject * obj1 = 0 ;
25281 char * kwnames[] = {
25282 (char *) "self",(char *) "packing", NULL
25283 };
25284
25285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) SWIG_fail;
25286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25287 if (!SWIG_IsOK(res1)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25289 }
25290 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25291 ecode2 = SWIG_AsVal_int(obj1, &val2);
25292 if (!SWIG_IsOK(ecode2)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25294 }
25295 arg2 = static_cast< int >(val2);
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 (arg1)->SetToolPacking(arg2);
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 resultobj = SWIG_Py_Void();
25303 return resultobj;
25304fail:
25305 return NULL;
25306}
25307
25308
25309SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25310 PyObject *resultobj = 0;
25311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25312 int arg2 ;
25313 void *argp1 = 0 ;
25314 int res1 = 0 ;
25315 int val2 ;
25316 int ecode2 = 0 ;
25317 PyObject * obj0 = 0 ;
25318 PyObject * obj1 = 0 ;
25319 char * kwnames[] = {
25320 (char *) "self",(char *) "separation", NULL
25321 };
25322
25323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) SWIG_fail;
25324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25325 if (!SWIG_IsOK(res1)) {
25326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25327 }
25328 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25329 ecode2 = SWIG_AsVal_int(obj1, &val2);
25330 if (!SWIG_IsOK(ecode2)) {
25331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25332 }
25333 arg2 = static_cast< int >(val2);
25334 {
25335 PyThreadState* __tstate = wxPyBeginAllowThreads();
25336 (arg1)->SetToolSeparation(arg2);
25337 wxPyEndAllowThreads(__tstate);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 }
25340 resultobj = SWIG_Py_Void();
25341 return resultobj;
25342fail:
25343 return NULL;
d55e5bfc
RD
25344}
25345
25346
554f62e9
RD
25347SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25348 PyObject *resultobj = 0;
25349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25350 wxSize result;
25351 void *argp1 = 0 ;
25352 int res1 = 0 ;
25353 PyObject *swig_obj[1] ;
25354
25355 if (!args) SWIG_fail;
25356 swig_obj[0] = args;
25357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25358 if (!SWIG_IsOK(res1)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25360 }
25361 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 result = (arg1)->GetToolMargins();
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25369 return resultobj;
25370fail:
25371 return NULL;
d55e5bfc
RD
25372}
25373
25374
554f62e9
RD
25375SWIGINTERN PyObject *_wrap_ToolBarBase_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25376 PyObject *resultobj = 0;
25377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25378 wxSize result;
25379 void *argp1 = 0 ;
25380 int res1 = 0 ;
25381 PyObject *swig_obj[1] ;
25382
25383 if (!args) SWIG_fail;
25384 swig_obj[0] = args;
25385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25386 if (!SWIG_IsOK(res1)) {
25387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25388 }
25389 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 result = (arg1)->GetMargins();
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25397 return resultobj;
25398fail:
25399 return NULL;
d55e5bfc
RD
25400}
25401
25402
554f62e9
RD
25403SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25404 PyObject *resultobj = 0;
25405 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25406 int 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_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25416 }
25417 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25418 {
25419 PyThreadState* __tstate = wxPyBeginAllowThreads();
25420 result = (int)(arg1)->GetToolPacking();
25421 wxPyEndAllowThreads(__tstate);
25422 if (PyErr_Occurred()) SWIG_fail;
25423 }
25424 resultobj = SWIG_From_int(static_cast< int >(result));
25425 return resultobj;
25426fail:
25427 return NULL;
d55e5bfc
RD
25428}
25429
25430
554f62e9
RD
25431SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25432 PyObject *resultobj = 0;
25433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25434 int result;
25435 void *argp1 = 0 ;
25436 int res1 = 0 ;
25437 PyObject *swig_obj[1] ;
25438
25439 if (!args) SWIG_fail;
25440 swig_obj[0] = args;
25441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25442 if (!SWIG_IsOK(res1)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25444 }
25445 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25446 {
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 result = (int)(arg1)->GetToolSeparation();
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 resultobj = SWIG_From_int(static_cast< int >(result));
25453 return resultobj;
25454fail:
25455 return NULL;
25456}
25457
25458
25459SWIGINTERN PyObject *_wrap_ToolBarBase_SetRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25460 PyObject *resultobj = 0;
25461 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25462 int arg2 ;
25463 void *argp1 = 0 ;
25464 int res1 = 0 ;
25465 int val2 ;
25466 int ecode2 = 0 ;
25467 PyObject * obj0 = 0 ;
25468 PyObject * obj1 = 0 ;
25469 char * kwnames[] = {
25470 (char *) "self",(char *) "nRows", NULL
25471 };
25472
25473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) SWIG_fail;
25474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25475 if (!SWIG_IsOK(res1)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25477 }
25478 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25479 ecode2 = SWIG_AsVal_int(obj1, &val2);
25480 if (!SWIG_IsOK(ecode2)) {
25481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25482 }
25483 arg2 = static_cast< int >(val2);
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 (arg1)->SetRows(arg2);
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 resultobj = SWIG_Py_Void();
25491 return resultobj;
25492fail:
25493 return NULL;
25494}
25495
25496
25497SWIGINTERN PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj = 0;
25499 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25500 int arg2 ;
25501 int arg3 ;
25502 void *argp1 = 0 ;
25503 int res1 = 0 ;
25504 int val2 ;
25505 int ecode2 = 0 ;
25506 int val3 ;
25507 int ecode3 = 0 ;
25508 PyObject * obj0 = 0 ;
25509 PyObject * obj1 = 0 ;
25510 PyObject * obj2 = 0 ;
25511 char * kwnames[] = {
25512 (char *) "self",(char *) "rows",(char *) "cols", NULL
25513 };
25514
25515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25517 if (!SWIG_IsOK(res1)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25519 }
25520 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25521 ecode2 = SWIG_AsVal_int(obj1, &val2);
25522 if (!SWIG_IsOK(ecode2)) {
25523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25524 }
25525 arg2 = static_cast< int >(val2);
25526 ecode3 = SWIG_AsVal_int(obj2, &val3);
25527 if (!SWIG_IsOK(ecode3)) {
25528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25529 }
25530 arg3 = static_cast< int >(val3);
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 (arg1)->SetMaxRowsCols(arg2,arg3);
25534 wxPyEndAllowThreads(__tstate);
25535 if (PyErr_Occurred()) SWIG_fail;
25536 }
25537 resultobj = SWIG_Py_Void();
25538 return resultobj;
25539fail:
25540 return NULL;
d55e5bfc
RD
25541}
25542
25543
554f62e9
RD
25544SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25545 PyObject *resultobj = 0;
25546 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25547 int result;
25548 void *argp1 = 0 ;
25549 int res1 = 0 ;
25550 PyObject *swig_obj[1] ;
25551
25552 if (!args) SWIG_fail;
25553 swig_obj[0] = args;
25554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25555 if (!SWIG_IsOK(res1)) {
25556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25557 }
25558 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (int)(arg1)->GetMaxRows();
25562 wxPyEndAllowThreads(__tstate);
25563 if (PyErr_Occurred()) SWIG_fail;
25564 }
25565 resultobj = SWIG_From_int(static_cast< int >(result));
25566 return resultobj;
25567fail:
25568 return NULL;
d55e5bfc
RD
25569}
25570
25571
554f62e9
RD
25572SWIGINTERN PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25573 PyObject *resultobj = 0;
25574 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25575 int result;
25576 void *argp1 = 0 ;
25577 int res1 = 0 ;
25578 PyObject *swig_obj[1] ;
25579
25580 if (!args) SWIG_fail;
25581 swig_obj[0] = args;
25582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25583 if (!SWIG_IsOK(res1)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25585 }
25586 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25587 {
25588 PyThreadState* __tstate = wxPyBeginAllowThreads();
25589 result = (int)(arg1)->GetMaxCols();
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 resultobj = SWIG_From_int(static_cast< int >(result));
25594 return resultobj;
25595fail:
25596 return NULL;
25597}
25598
25599
25600SWIGINTERN PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj = 0;
25602 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25603 wxSize *arg2 = 0 ;
25604 void *argp1 = 0 ;
25605 int res1 = 0 ;
25606 wxSize temp2 ;
25607 PyObject * obj0 = 0 ;
25608 PyObject * obj1 = 0 ;
25609 char * kwnames[] = {
25610 (char *) "self",(char *) "size", NULL
25611 };
25612
25613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) SWIG_fail;
25614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25615 if (!SWIG_IsOK(res1)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25617 }
25618 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25619 {
25620 arg2 = &temp2;
25621 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25622 }
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
25626 wxPyEndAllowThreads(__tstate);
25627 if (PyErr_Occurred()) SWIG_fail;
25628 }
25629 resultobj = SWIG_Py_Void();
25630 return resultobj;
25631fail:
25632 return NULL;
d55e5bfc
RD
25633}
25634
25635
554f62e9
RD
25636SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25637 PyObject *resultobj = 0;
25638 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25639 wxSize result;
25640 void *argp1 = 0 ;
25641 int res1 = 0 ;
25642 PyObject *swig_obj[1] ;
25643
25644 if (!args) SWIG_fail;
25645 swig_obj[0] = args;
25646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25647 if (!SWIG_IsOK(res1)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25649 }
25650 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25651 {
25652 PyThreadState* __tstate = wxPyBeginAllowThreads();
25653 result = (arg1)->GetToolBitmapSize();
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25658 return resultobj;
25659fail:
25660 return NULL;
d55e5bfc
RD
25661}
25662
25663
554f62e9
RD
25664SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25665 PyObject *resultobj = 0;
25666 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25667 wxSize result;
25668 void *argp1 = 0 ;
25669 int res1 = 0 ;
25670 PyObject *swig_obj[1] ;
25671
25672 if (!args) SWIG_fail;
25673 swig_obj[0] = args;
25674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25675 if (!SWIG_IsOK(res1)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25677 }
25678 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 result = (arg1)->GetToolSize();
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25686 return resultobj;
25687fail:
25688 return NULL;
25689}
25690
25691
25692SWIGINTERN PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25693 PyObject *resultobj = 0;
25694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25695 int arg2 ;
25696 int arg3 ;
25697 wxToolBarToolBase *result = 0 ;
25698 void *argp1 = 0 ;
25699 int res1 = 0 ;
25700 int val2 ;
25701 int ecode2 = 0 ;
25702 int val3 ;
25703 int ecode3 = 0 ;
25704 PyObject * obj0 = 0 ;
25705 PyObject * obj1 = 0 ;
25706 PyObject * obj2 = 0 ;
25707 char * kwnames[] = {
25708 (char *) "self",(char *) "x",(char *) "y", NULL
25709 };
25710
25711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25713 if (!SWIG_IsOK(res1)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25715 }
25716 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25717 ecode2 = SWIG_AsVal_int(obj1, &val2);
25718 if (!SWIG_IsOK(ecode2)) {
25719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25720 }
25721 arg2 = static_cast< int >(val2);
25722 ecode3 = SWIG_AsVal_int(obj2, &val3);
25723 if (!SWIG_IsOK(ecode3)) {
25724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25725 }
25726 arg3 = static_cast< int >(val3);
25727 {
25728 PyThreadState* __tstate = wxPyBeginAllowThreads();
25729 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 {
25734 resultobj = wxPyMake_wxObject(result, (bool)0);
25735 }
25736 return resultobj;
25737fail:
25738 return NULL;
25739}
25740
25741
25742SWIGINTERN PyObject *_wrap_ToolBarBase_FindById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj = 0;
25744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25745 int arg2 ;
25746 wxToolBarToolBase *result = 0 ;
25747 void *argp1 = 0 ;
25748 int res1 = 0 ;
25749 int val2 ;
25750 int ecode2 = 0 ;
25751 PyObject * obj0 = 0 ;
25752 PyObject * obj1 = 0 ;
25753 char * kwnames[] = {
25754 (char *) "self",(char *) "toolid", NULL
25755 };
25756
25757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) SWIG_fail;
25758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25759 if (!SWIG_IsOK(res1)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25761 }
25762 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25763 ecode2 = SWIG_AsVal_int(obj1, &val2);
25764 if (!SWIG_IsOK(ecode2)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25766 }
25767 arg2 = static_cast< int >(val2);
25768 {
25769 PyThreadState* __tstate = wxPyBeginAllowThreads();
25770 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
25771 wxPyEndAllowThreads(__tstate);
25772 if (PyErr_Occurred()) SWIG_fail;
25773 }
25774 {
25775 resultobj = wxPyMake_wxObject(result, (bool)0);
25776 }
25777 return resultobj;
25778fail:
25779 return NULL;
d55e5bfc
RD
25780}
25781
25782
554f62e9
RD
25783SWIGINTERN PyObject *_wrap_ToolBarBase_IsVertical(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25784 PyObject *resultobj = 0;
25785 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25786 bool result;
25787 void *argp1 = 0 ;
25788 int res1 = 0 ;
25789 PyObject *swig_obj[1] ;
25790
25791 if (!args) SWIG_fail;
25792 swig_obj[0] = args;
25793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25794 if (!SWIG_IsOK(res1)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25796 }
25797 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25798 {
25799 PyThreadState* __tstate = wxPyBeginAllowThreads();
25800 result = (bool)(arg1)->IsVertical();
25801 wxPyEndAllowThreads(__tstate);
25802 if (PyErr_Occurred()) SWIG_fail;
25803 }
25804 {
25805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25806 }
25807 return resultobj;
25808fail:
25809 return NULL;
d55e5bfc
RD
25810}
25811
25812
554f62e9
RD
25813SWIGINTERN PyObject *_wrap_ToolBarBase_GetToolsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25814 PyObject *resultobj = 0;
25815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
25816 size_t result;
25817 void *argp1 = 0 ;
25818 int res1 = 0 ;
25819 PyObject *swig_obj[1] ;
25820
25821 if (!args) SWIG_fail;
25822 swig_obj[0] = args;
25823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxToolBarBase, 0 | 0 );
25824 if (!SWIG_IsOK(res1)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25826 }
25827 arg1 = reinterpret_cast< wxToolBarBase * >(argp1);
25828 {
25829 PyThreadState* __tstate = wxPyBeginAllowThreads();
25830 result = (size_t)((wxToolBarBase const *)arg1)->GetToolsCount();
25831 wxPyEndAllowThreads(__tstate);
25832 if (PyErr_Occurred()) SWIG_fail;
25833 }
25834 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
25835 return resultobj;
25836fail:
25837 return NULL;
25838}
25839
25840
25841SWIGINTERN PyObject *ToolBarBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25842 PyObject *obj;
25843 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25844 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase, SWIG_NewClientData(obj));
25845 return SWIG_Py_Void();
25846}
25847
25848SWIGINTERN PyObject *_wrap_new_ToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25849 PyObject *resultobj = 0;
25850 wxWindow *arg1 = (wxWindow *) 0 ;
25851 int arg2 = (int) -1 ;
25852 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25853 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25854 wxSize const &arg4_defvalue = wxDefaultSize ;
25855 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25856 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25857 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
25858 wxString *arg6 = (wxString *) &arg6_defvalue ;
25859 wxToolBar *result = 0 ;
25860 void *argp1 = 0 ;
25861 int res1 = 0 ;
25862 int val2 ;
25863 int ecode2 = 0 ;
25864 wxPoint temp3 ;
25865 wxSize temp4 ;
25866 long val5 ;
25867 int ecode5 = 0 ;
25868 bool temp6 = false ;
25869 PyObject * obj0 = 0 ;
25870 PyObject * obj1 = 0 ;
25871 PyObject * obj2 = 0 ;
25872 PyObject * obj3 = 0 ;
25873 PyObject * obj4 = 0 ;
25874 PyObject * obj5 = 0 ;
25875 char * kwnames[] = {
25876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25877 };
25878
25879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25881 if (!SWIG_IsOK(res1)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25883 }
25884 arg1 = reinterpret_cast< wxWindow * >(argp1);
25885 if (obj1) {
25886 ecode2 = SWIG_AsVal_int(obj1, &val2);
25887 if (!SWIG_IsOK(ecode2)) {
25888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25889 }
25890 arg2 = static_cast< int >(val2);
25891 }
25892 if (obj2) {
d55e5bfc 25893 {
554f62e9
RD
25894 arg3 = &temp3;
25895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 25896 }
554f62e9
RD
25897 }
25898 if (obj3) {
093d3ff1 25899 {
554f62e9
RD
25900 arg4 = &temp4;
25901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 25902 }
554f62e9
RD
25903 }
25904 if (obj4) {
25905 ecode5 = SWIG_AsVal_long(obj4, &val5);
25906 if (!SWIG_IsOK(ecode5)) {
25907 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25908 }
25909 arg5 = static_cast< long >(val5);
25910 }
25911 if (obj5) {
d55e5bfc 25912 {
554f62e9
RD
25913 arg6 = wxString_in_helper(obj5);
25914 if (arg6 == NULL) SWIG_fail;
25915 temp6 = true;
d55e5bfc 25916 }
554f62e9
RD
25917 }
25918 {
25919 if (!wxPyCheckForApp()) SWIG_fail;
25920 PyThreadState* __tstate = wxPyBeginAllowThreads();
25921 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25922 wxPyEndAllowThreads(__tstate);
25923 if (PyErr_Occurred()) SWIG_fail;
25924 }
25925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_NEW | 0 );
25926 {
25927 if (temp6)
25928 delete arg6;
25929 }
25930 return resultobj;
25931fail:
25932 {
25933 if (temp6)
25934 delete arg6;
25935 }
25936 return NULL;
d55e5bfc
RD
25937}
25938
25939
554f62e9
RD
25940SWIGINTERN PyObject *_wrap_new_PreToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25941 PyObject *resultobj = 0;
25942 wxToolBar *result = 0 ;
25943
25944 if (!SWIG_Python_UnpackTuple(args,"new_PreToolBar",0,0,0)) SWIG_fail;
25945 {
25946 if (!wxPyCheckForApp()) SWIG_fail;
25947 PyThreadState* __tstate = wxPyBeginAllowThreads();
25948 result = (wxToolBar *)new wxToolBar();
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxToolBar, SWIG_POINTER_OWN | 0 );
25953 return resultobj;
25954fail:
25955 return NULL;
25956}
25957
25958
25959SWIGINTERN PyObject *_wrap_ToolBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25960 PyObject *resultobj = 0;
25961 wxToolBar *arg1 = (wxToolBar *) 0 ;
25962 wxWindow *arg2 = (wxWindow *) 0 ;
25963 int arg3 = (int) -1 ;
25964 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25965 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25966 wxSize const &arg5_defvalue = wxDefaultSize ;
25967 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25968 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
25969 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
25970 wxString *arg7 = (wxString *) &arg7_defvalue ;
25971 bool result;
25972 void *argp1 = 0 ;
25973 int res1 = 0 ;
25974 void *argp2 = 0 ;
25975 int res2 = 0 ;
25976 int val3 ;
25977 int ecode3 = 0 ;
25978 wxPoint temp4 ;
25979 wxSize temp5 ;
25980 long val6 ;
25981 int ecode6 = 0 ;
25982 bool temp7 = false ;
25983 PyObject * obj0 = 0 ;
25984 PyObject * obj1 = 0 ;
25985 PyObject * obj2 = 0 ;
25986 PyObject * obj3 = 0 ;
25987 PyObject * obj4 = 0 ;
25988 PyObject * obj5 = 0 ;
25989 PyObject * obj6 = 0 ;
25990 char * kwnames[] = {
25991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25992 };
25993
25994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
25995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxToolBar, 0 | 0 );
25996 if (!SWIG_IsOK(res1)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25998 }
25999 arg1 = reinterpret_cast< wxToolBar * >(argp1);
26000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
26001 if (!SWIG_IsOK(res2)) {
26002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26003 }
26004 arg2 = reinterpret_cast< wxWindow * >(argp2);
26005 if (obj2) {
26006 ecode3 = SWIG_AsVal_int(obj2, &val3);
26007 if (!SWIG_IsOK(ecode3)) {
26008 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26009 }
26010 arg3 = static_cast< int >(val3);
26011 }
26012 if (obj3) {
d55e5bfc 26013 {
554f62e9
RD
26014 arg4 = &temp4;
26015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 26016 }
554f62e9
RD
26017 }
26018 if (obj4) {
093d3ff1 26019 {
554f62e9
RD
26020 arg5 = &temp5;
26021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 26022 }
554f62e9
RD
26023 }
26024 if (obj5) {
26025 ecode6 = SWIG_AsVal_long(obj5, &val6);
26026 if (!SWIG_IsOK(ecode6)) {
26027 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26028 }
26029 arg6 = static_cast< long >(val6);
26030 }
26031 if (obj6) {
26032 {
26033 arg7 = wxString_in_helper(obj6);
26034 if (arg7 == NULL) SWIG_fail;
26035 temp7 = true;
26036 }
26037 }
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
26041 wxPyEndAllowThreads(__tstate);
26042 if (PyErr_Occurred()) SWIG_fail;
26043 }
26044 {
26045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26046 }
26047 {
26048 if (temp7)
26049 delete arg7;
26050 }
26051 return resultobj;
26052fail:
26053 {
26054 if (temp7)
26055 delete arg7;
26056 }
26057 return NULL;
26058}
26059
26060
554f62e9
RD
26061SWIGINTERN PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26062 PyObject *resultobj = 0;
26063 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
26064 SwigValueWrapper<wxVisualAttributes > result;
26065 int val1 ;
26066 int ecode1 = 0 ;
26067 PyObject * obj0 = 0 ;
26068 char * kwnames[] = {
26069 (char *) "variant", NULL
26070 };
26071
26072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
26073 if (obj0) {
26074 ecode1 = SWIG_AsVal_int(obj0, &val1);
26075 if (!SWIG_IsOK(ecode1)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26077 }
26078 arg1 = static_cast< wxWindowVariant >(val1);
26079 }
26080 {
26081 if (!wxPyCheckForApp()) SWIG_fail;
26082 PyThreadState* __tstate = wxPyBeginAllowThreads();
26083 result = wxToolBar::GetClassDefaultAttributes(arg1);
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26088 return resultobj;
26089fail:
26090 return NULL;
d55e5bfc
RD
26091}
26092
26093
554f62e9
RD
26094SWIGINTERN PyObject *ToolBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26095 PyObject *obj;
26096 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26097 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar, SWIG_NewClientData(obj));
26098 return SWIG_Py_Void();
d55e5bfc
RD
26099}
26100
554f62e9
RD
26101SWIGINTERN PyObject *ToolBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26102 return SWIG_Python_InitShadowInstance(args);
26103}
d55e5bfc 26104
554f62e9
RD
26105SWIGINTERN int ListCtrlNameStr_set(PyObject *) {
26106 SWIG_Error(SWIG_AttributeError,"Variable ListCtrlNameStr is read-only.");
26107 return 1;
d55e5bfc
RD
26108}
26109
26110
554f62e9
RD
26111SWIGINTERN PyObject *ListCtrlNameStr_get(void) {
26112 PyObject *pyobj = 0;
26113
26114 {
26115#if wxUSE_UNICODE
26116 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26117#else
26118 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
26119#endif
26120 }
26121 return pyobj;
26122}
26123
26124
26125SWIGINTERN PyObject *_wrap_new_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26126 PyObject *resultobj = 0;
26127 wxColour const &arg1_defvalue = wxNullColour ;
26128 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
26129 wxColour const &arg2_defvalue = wxNullColour ;
26130 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
26131 wxFont const &arg3_defvalue = wxNullFont ;
26132 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
26133 wxListItemAttr *result = 0 ;
26134 wxColour temp1 ;
26135 wxColour temp2 ;
26136 void *argp3 = 0 ;
26137 int res3 = 0 ;
26138 PyObject * obj0 = 0 ;
26139 PyObject * obj1 = 0 ;
26140 PyObject * obj2 = 0 ;
26141 char * kwnames[] = {
26142 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26143 };
26144
26145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
26146 if (obj0) {
093d3ff1 26147 {
554f62e9
RD
26148 arg1 = &temp1;
26149 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
d55e5bfc 26150 }
554f62e9
RD
26151 }
26152 if (obj1) {
d55e5bfc 26153 {
554f62e9
RD
26154 arg2 = &temp2;
26155 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 26156 }
554f62e9
RD
26157 }
26158 if (obj2) {
26159 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
26160 if (!SWIG_IsOK(res3)) {
26161 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26162 }
26163 if (!argp3) {
26164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26165 }
26166 arg3 = reinterpret_cast< wxFont * >(argp3);
26167 }
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_NEW | 0 );
26175 return resultobj;
26176fail:
26177 return NULL;
d55e5bfc
RD
26178}
26179
26180
554f62e9
RD
26181SWIGINTERN PyObject *_wrap_delete_ListItemAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26182 PyObject *resultobj = 0;
26183 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26184 void *argp1 = 0 ;
26185 int res1 = 0 ;
26186 PyObject *swig_obj[1] ;
26187
26188 if (!args) SWIG_fail;
26189 swig_obj[0] = args;
26190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, SWIG_POINTER_DISOWN | 0 );
26191 if (!SWIG_IsOK(res1)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26193 }
26194 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 delete arg1;
d55e5bfc 26198
554f62e9
RD
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 resultobj = SWIG_Py_Void();
26203 return resultobj;
26204fail:
26205 return NULL;
26206}
26207
26208
26209SWIGINTERN PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26210 PyObject *resultobj = 0;
26211 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26212 wxColour *arg2 = 0 ;
26213 void *argp1 = 0 ;
26214 int res1 = 0 ;
26215 wxColour temp2 ;
26216 PyObject * obj0 = 0 ;
26217 PyObject * obj1 = 0 ;
26218 char * kwnames[] = {
26219 (char *) "self",(char *) "colText", NULL
26220 };
26221
26222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
26223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26224 if (!SWIG_IsOK(res1)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26226 }
26227 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26228 {
26229 arg2 = &temp2;
26230 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26231 }
26232 {
26233 PyThreadState* __tstate = wxPyBeginAllowThreads();
26234 (arg1)->SetTextColour((wxColour const &)*arg2);
26235 wxPyEndAllowThreads(__tstate);
26236 if (PyErr_Occurred()) SWIG_fail;
26237 }
26238 resultobj = SWIG_Py_Void();
26239 return resultobj;
26240fail:
26241 return NULL;
26242}
26243
26244
26245SWIGINTERN PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26246 PyObject *resultobj = 0;
26247 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26248 wxColour *arg2 = 0 ;
26249 void *argp1 = 0 ;
26250 int res1 = 0 ;
26251 wxColour temp2 ;
26252 PyObject * obj0 = 0 ;
26253 PyObject * obj1 = 0 ;
26254 char * kwnames[] = {
26255 (char *) "self",(char *) "colBack", NULL
26256 };
26257
26258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
26259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26260 if (!SWIG_IsOK(res1)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26262 }
26263 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26264 {
26265 arg2 = &temp2;
26266 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26267 }
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
26271 wxPyEndAllowThreads(__tstate);
26272 if (PyErr_Occurred()) SWIG_fail;
26273 }
26274 resultobj = SWIG_Py_Void();
26275 return resultobj;
26276fail:
26277 return NULL;
26278}
26279
26280
26281SWIGINTERN PyObject *_wrap_ListItemAttr_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26282 PyObject *resultobj = 0;
26283 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26284 wxFont *arg2 = 0 ;
26285 void *argp1 = 0 ;
26286 int res1 = 0 ;
26287 void *argp2 = 0 ;
26288 int res2 = 0 ;
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char * kwnames[] = {
26292 (char *) "self",(char *) "font", NULL
26293 };
26294
26295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
26296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26297 if (!SWIG_IsOK(res1)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26299 }
26300 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
26302 if (!SWIG_IsOK(res2)) {
26303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26304 }
26305 if (!argp2) {
26306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26307 }
26308 arg2 = reinterpret_cast< wxFont * >(argp2);
26309 {
26310 PyThreadState* __tstate = wxPyBeginAllowThreads();
26311 (arg1)->SetFont((wxFont const &)*arg2);
26312 wxPyEndAllowThreads(__tstate);
26313 if (PyErr_Occurred()) SWIG_fail;
26314 }
26315 resultobj = SWIG_Py_Void();
26316 return resultobj;
26317fail:
26318 return NULL;
d55e5bfc
RD
26319}
26320
26321
554f62e9
RD
26322SWIGINTERN PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26323 PyObject *resultobj = 0;
26324 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26325 bool result;
26326 void *argp1 = 0 ;
26327 int res1 = 0 ;
26328 PyObject *swig_obj[1] ;
26329
26330 if (!args) SWIG_fail;
26331 swig_obj[0] = args;
26332 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26333 if (!SWIG_IsOK(res1)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26335 }
26336 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26337 {
26338 PyThreadState* __tstate = wxPyBeginAllowThreads();
26339 result = (bool)(arg1)->HasTextColour();
26340 wxPyEndAllowThreads(__tstate);
26341 if (PyErr_Occurred()) SWIG_fail;
26342 }
26343 {
26344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26345 }
26346 return resultobj;
26347fail:
26348 return NULL;
d55e5bfc
RD
26349}
26350
26351
554f62e9
RD
26352SWIGINTERN PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26353 PyObject *resultobj = 0;
26354 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26355 bool result;
26356 void *argp1 = 0 ;
26357 int res1 = 0 ;
26358 PyObject *swig_obj[1] ;
26359
26360 if (!args) SWIG_fail;
26361 swig_obj[0] = args;
26362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26363 if (!SWIG_IsOK(res1)) {
26364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26365 }
26366 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26367 {
26368 PyThreadState* __tstate = wxPyBeginAllowThreads();
26369 result = (bool)(arg1)->HasBackgroundColour();
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 {
26374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26375 }
26376 return resultobj;
26377fail:
26378 return NULL;
d55e5bfc
RD
26379}
26380
26381
554f62e9
RD
26382SWIGINTERN PyObject *_wrap_ListItemAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26383 PyObject *resultobj = 0;
26384 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26385 bool result;
26386 void *argp1 = 0 ;
26387 int res1 = 0 ;
26388 PyObject *swig_obj[1] ;
26389
26390 if (!args) SWIG_fail;
26391 swig_obj[0] = args;
26392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26393 if (!SWIG_IsOK(res1)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26395 }
26396 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26397 {
26398 PyThreadState* __tstate = wxPyBeginAllowThreads();
26399 result = (bool)(arg1)->HasFont();
26400 wxPyEndAllowThreads(__tstate);
26401 if (PyErr_Occurred()) SWIG_fail;
26402 }
26403 {
26404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26405 }
26406 return resultobj;
26407fail:
26408 return NULL;
d55e5bfc
RD
26409}
26410
26411
554f62e9
RD
26412SWIGINTERN PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26413 PyObject *resultobj = 0;
26414 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26415 wxColour result;
26416 void *argp1 = 0 ;
26417 int res1 = 0 ;
26418 PyObject *swig_obj[1] ;
26419
26420 if (!args) SWIG_fail;
26421 swig_obj[0] = args;
26422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26423 if (!SWIG_IsOK(res1)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26425 }
26426 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26427 {
26428 PyThreadState* __tstate = wxPyBeginAllowThreads();
26429 result = (arg1)->GetTextColour();
26430 wxPyEndAllowThreads(__tstate);
26431 if (PyErr_Occurred()) SWIG_fail;
26432 }
26433 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26434 return resultobj;
26435fail:
26436 return NULL;
d55e5bfc
RD
26437}
26438
26439
554f62e9
RD
26440SWIGINTERN PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26441 PyObject *resultobj = 0;
26442 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26443 wxColour result;
26444 void *argp1 = 0 ;
26445 int res1 = 0 ;
26446 PyObject *swig_obj[1] ;
26447
26448 if (!args) SWIG_fail;
26449 swig_obj[0] = args;
26450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26451 if (!SWIG_IsOK(res1)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26453 }
26454 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 result = (arg1)->GetBackgroundColour();
26458 wxPyEndAllowThreads(__tstate);
26459 if (PyErr_Occurred()) SWIG_fail;
26460 }
26461 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
26462 return resultobj;
26463fail:
26464 return NULL;
d55e5bfc
RD
26465}
26466
26467
554f62e9
RD
26468SWIGINTERN PyObject *_wrap_ListItemAttr_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26469 PyObject *resultobj = 0;
26470 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26471 wxFont result;
26472 void *argp1 = 0 ;
26473 int res1 = 0 ;
26474 PyObject *swig_obj[1] ;
26475
26476 if (!args) SWIG_fail;
26477 swig_obj[0] = args;
26478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26479 if (!SWIG_IsOK(res1)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26481 }
26482 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26483 {
26484 PyThreadState* __tstate = wxPyBeginAllowThreads();
26485 result = (arg1)->GetFont();
26486 wxPyEndAllowThreads(__tstate);
26487 if (PyErr_Occurred()) SWIG_fail;
26488 }
26489 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
26490 return resultobj;
26491fail:
26492 return NULL;
26493}
26494
26495
26496SWIGINTERN PyObject *_wrap_ListItemAttr_AssignFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26497 PyObject *resultobj = 0;
26498 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26499 wxListItemAttr *arg2 = 0 ;
26500 void *argp1 = 0 ;
26501 int res1 = 0 ;
26502 void *argp2 = 0 ;
26503 int res2 = 0 ;
26504 PyObject * obj0 = 0 ;
26505 PyObject * obj1 = 0 ;
26506 char * kwnames[] = {
26507 (char *) "self",(char *) "source", NULL
26508 };
26509
26510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_AssignFrom",kwnames,&obj0,&obj1)) SWIG_fail;
26511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26512 if (!SWIG_IsOK(res1)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26514 }
26515 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26516 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItemAttr, 0 | 0);
26517 if (!SWIG_IsOK(res2)) {
26518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26519 }
26520 if (!argp2) {
26521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26522 }
26523 arg2 = reinterpret_cast< wxListItemAttr * >(argp2);
26524 {
26525 PyThreadState* __tstate = wxPyBeginAllowThreads();
26526 (arg1)->AssignFrom((wxListItemAttr const &)*arg2);
26527 wxPyEndAllowThreads(__tstate);
26528 if (PyErr_Occurred()) SWIG_fail;
26529 }
26530 resultobj = SWIG_Py_Void();
26531 return resultobj;
26532fail:
26533 return NULL;
d55e5bfc
RD
26534}
26535
26536
554f62e9
RD
26537SWIGINTERN PyObject *_wrap_ListItemAttr_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26538 PyObject *resultobj = 0;
26539 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
26540 void *argp1 = 0 ;
26541 int res1 = 0 ;
26542 PyObject *swig_obj[1] ;
26543
26544 if (!args) SWIG_fail;
26545 swig_obj[0] = args;
26546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItemAttr, 0 | 0 );
26547 if (!SWIG_IsOK(res1)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26549 }
26550 arg1 = reinterpret_cast< wxListItemAttr * >(argp1);
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 wxListItemAttr_Destroy(arg1);
26554 wxPyEndAllowThreads(__tstate);
26555 if (PyErr_Occurred()) SWIG_fail;
26556 }
26557 resultobj = SWIG_Py_Void();
26558 return resultobj;
26559fail:
26560 return NULL;
f20a2e1f
RD
26561}
26562
26563
554f62e9
RD
26564SWIGINTERN PyObject *ListItemAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26565 PyObject *obj;
26566 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26567 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr, SWIG_NewClientData(obj));
26568 return SWIG_Py_Void();
d55e5bfc 26569}
554f62e9
RD
26570
26571SWIGINTERN PyObject *ListItemAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26572 return SWIG_Python_InitShadowInstance(args);
26573}
26574
26575SWIGINTERN PyObject *_wrap_new_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26576 PyObject *resultobj = 0;
26577 wxListItem *result = 0 ;
26578
26579 if (!SWIG_Python_UnpackTuple(args,"new_ListItem",0,0,0)) SWIG_fail;
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 result = (wxListItem *)new wxListItem();
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
3ecece7e 26586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, SWIG_POINTER_NEW | 0 );
554f62e9
RD
26587 return resultobj;
26588fail:
26589 return NULL;
d55e5bfc
RD
26590}
26591
26592
554f62e9
RD
26593SWIGINTERN PyObject *_wrap_delete_ListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26594 PyObject *resultobj = 0;
26595 wxListItem *arg1 = (wxListItem *) 0 ;
26596 void *argp1 = 0 ;
26597 int res1 = 0 ;
26598 PyObject *swig_obj[1] ;
26599
26600 if (!args) SWIG_fail;
26601 swig_obj[0] = args;
26602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, SWIG_POINTER_DISOWN | 0 );
26603 if (!SWIG_IsOK(res1)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26605 }
26606 arg1 = reinterpret_cast< wxListItem * >(argp1);
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 delete arg1;
d55e5bfc 26610
554f62e9
RD
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 resultobj = SWIG_Py_Void();
26615 return resultobj;
26616fail:
26617 return NULL;
d55e5bfc
RD
26618}
26619
26620
554f62e9
RD
26621SWIGINTERN PyObject *_wrap_ListItem_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26622 PyObject *resultobj = 0;
26623 wxListItem *arg1 = (wxListItem *) 0 ;
26624 void *argp1 = 0 ;
26625 int res1 = 0 ;
26626 PyObject *swig_obj[1] ;
26627
26628 if (!args) SWIG_fail;
26629 swig_obj[0] = args;
26630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26631 if (!SWIG_IsOK(res1)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26633 }
26634 arg1 = reinterpret_cast< wxListItem * >(argp1);
26635 {
26636 PyThreadState* __tstate = wxPyBeginAllowThreads();
26637 (arg1)->Clear();
26638 wxPyEndAllowThreads(__tstate);
26639 if (PyErr_Occurred()) SWIG_fail;
26640 }
26641 resultobj = SWIG_Py_Void();
26642 return resultobj;
26643fail:
26644 return NULL;
d55e5bfc
RD
26645}
26646
26647
554f62e9
RD
26648SWIGINTERN PyObject *_wrap_ListItem_ClearAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26649 PyObject *resultobj = 0;
26650 wxListItem *arg1 = (wxListItem *) 0 ;
26651 void *argp1 = 0 ;
26652 int res1 = 0 ;
26653 PyObject *swig_obj[1] ;
26654
26655 if (!args) SWIG_fail;
26656 swig_obj[0] = args;
26657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26658 if (!SWIG_IsOK(res1)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26660 }
26661 arg1 = reinterpret_cast< wxListItem * >(argp1);
26662 {
26663 PyThreadState* __tstate = wxPyBeginAllowThreads();
26664 (arg1)->ClearAttributes();
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 resultobj = SWIG_Py_Void();
26669 return resultobj;
26670fail:
26671 return NULL;
26672}
26673
26674
26675SWIGINTERN PyObject *_wrap_ListItem_SetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26676 PyObject *resultobj = 0;
26677 wxListItem *arg1 = (wxListItem *) 0 ;
26678 long arg2 ;
26679 void *argp1 = 0 ;
26680 int res1 = 0 ;
26681 long val2 ;
26682 int ecode2 = 0 ;
26683 PyObject * obj0 = 0 ;
26684 PyObject * obj1 = 0 ;
26685 char * kwnames[] = {
26686 (char *) "self",(char *) "mask", NULL
26687 };
26688
26689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) SWIG_fail;
26690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26691 if (!SWIG_IsOK(res1)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26693 }
26694 arg1 = reinterpret_cast< wxListItem * >(argp1);
26695 ecode2 = SWIG_AsVal_long(obj1, &val2);
26696 if (!SWIG_IsOK(ecode2)) {
26697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26698 }
26699 arg2 = static_cast< long >(val2);
26700 {
26701 PyThreadState* __tstate = wxPyBeginAllowThreads();
26702 (arg1)->SetMask(arg2);
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 resultobj = SWIG_Py_Void();
26707 return resultobj;
26708fail:
26709 return NULL;
26710}
26711
26712
26713SWIGINTERN PyObject *_wrap_ListItem_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj = 0;
26715 wxListItem *arg1 = (wxListItem *) 0 ;
26716 long arg2 ;
26717 void *argp1 = 0 ;
26718 int res1 = 0 ;
26719 long val2 ;
26720 int ecode2 = 0 ;
26721 PyObject * obj0 = 0 ;
26722 PyObject * obj1 = 0 ;
26723 char * kwnames[] = {
26724 (char *) "self",(char *) "id", NULL
26725 };
26726
26727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
26728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26729 if (!SWIG_IsOK(res1)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26731 }
26732 arg1 = reinterpret_cast< wxListItem * >(argp1);
26733 ecode2 = SWIG_AsVal_long(obj1, &val2);
26734 if (!SWIG_IsOK(ecode2)) {
26735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26736 }
26737 arg2 = static_cast< long >(val2);
26738 {
26739 PyThreadState* __tstate = wxPyBeginAllowThreads();
26740 (arg1)->SetId(arg2);
26741 wxPyEndAllowThreads(__tstate);
26742 if (PyErr_Occurred()) SWIG_fail;
26743 }
26744 resultobj = SWIG_Py_Void();
26745 return resultobj;
26746fail:
26747 return NULL;
26748}
26749
26750
26751SWIGINTERN PyObject *_wrap_ListItem_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26752 PyObject *resultobj = 0;
26753 wxListItem *arg1 = (wxListItem *) 0 ;
26754 int arg2 ;
26755 void *argp1 = 0 ;
26756 int res1 = 0 ;
26757 int val2 ;
26758 int ecode2 = 0 ;
26759 PyObject * obj0 = 0 ;
26760 PyObject * obj1 = 0 ;
26761 char * kwnames[] = {
26762 (char *) "self",(char *) "col", NULL
26763 };
26764
26765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
26766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26767 if (!SWIG_IsOK(res1)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26769 }
26770 arg1 = reinterpret_cast< wxListItem * >(argp1);
26771 ecode2 = SWIG_AsVal_int(obj1, &val2);
26772 if (!SWIG_IsOK(ecode2)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26774 }
26775 arg2 = static_cast< int >(val2);
26776 {
26777 PyThreadState* __tstate = wxPyBeginAllowThreads();
26778 (arg1)->SetColumn(arg2);
26779 wxPyEndAllowThreads(__tstate);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 resultobj = SWIG_Py_Void();
26783 return resultobj;
26784fail:
26785 return NULL;
26786}
26787
26788
26789SWIGINTERN PyObject *_wrap_ListItem_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26790 PyObject *resultobj = 0;
26791 wxListItem *arg1 = (wxListItem *) 0 ;
26792 long arg2 ;
26793 void *argp1 = 0 ;
26794 int res1 = 0 ;
26795 long val2 ;
26796 int ecode2 = 0 ;
26797 PyObject * obj0 = 0 ;
26798 PyObject * obj1 = 0 ;
26799 char * kwnames[] = {
26800 (char *) "self",(char *) "state", NULL
26801 };
26802
26803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) SWIG_fail;
26804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26805 if (!SWIG_IsOK(res1)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26807 }
26808 arg1 = reinterpret_cast< wxListItem * >(argp1);
26809 ecode2 = SWIG_AsVal_long(obj1, &val2);
26810 if (!SWIG_IsOK(ecode2)) {
26811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26812 }
26813 arg2 = static_cast< long >(val2);
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 (arg1)->SetState(arg2);
26817 wxPyEndAllowThreads(__tstate);
26818 if (PyErr_Occurred()) SWIG_fail;
26819 }
26820 resultobj = SWIG_Py_Void();
26821 return resultobj;
26822fail:
26823 return NULL;
26824}
26825
26826
26827SWIGINTERN PyObject *_wrap_ListItem_SetStateMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26828 PyObject *resultobj = 0;
26829 wxListItem *arg1 = (wxListItem *) 0 ;
26830 long arg2 ;
26831 void *argp1 = 0 ;
26832 int res1 = 0 ;
26833 long val2 ;
26834 int ecode2 = 0 ;
26835 PyObject * obj0 = 0 ;
26836 PyObject * obj1 = 0 ;
26837 char * kwnames[] = {
26838 (char *) "self",(char *) "stateMask", NULL
26839 };
26840
26841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) SWIG_fail;
26842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26843 if (!SWIG_IsOK(res1)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26845 }
26846 arg1 = reinterpret_cast< wxListItem * >(argp1);
26847 ecode2 = SWIG_AsVal_long(obj1, &val2);
26848 if (!SWIG_IsOK(ecode2)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26850 }
26851 arg2 = static_cast< long >(val2);
26852 {
26853 PyThreadState* __tstate = wxPyBeginAllowThreads();
26854 (arg1)->SetStateMask(arg2);
26855 wxPyEndAllowThreads(__tstate);
26856 if (PyErr_Occurred()) SWIG_fail;
26857 }
26858 resultobj = SWIG_Py_Void();
26859 return resultobj;
26860fail:
26861 return NULL;
26862}
26863
26864
26865SWIGINTERN PyObject *_wrap_ListItem_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26866 PyObject *resultobj = 0;
26867 wxListItem *arg1 = (wxListItem *) 0 ;
26868 wxString *arg2 = 0 ;
26869 void *argp1 = 0 ;
26870 int res1 = 0 ;
26871 bool temp2 = false ;
26872 PyObject * obj0 = 0 ;
26873 PyObject * obj1 = 0 ;
26874 char * kwnames[] = {
26875 (char *) "self",(char *) "text", NULL
26876 };
26877
26878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
26879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26880 if (!SWIG_IsOK(res1)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26882 }
26883 arg1 = reinterpret_cast< wxListItem * >(argp1);
26884 {
26885 arg2 = wxString_in_helper(obj1);
26886 if (arg2 == NULL) SWIG_fail;
26887 temp2 = true;
26888 }
26889 {
26890 PyThreadState* __tstate = wxPyBeginAllowThreads();
26891 (arg1)->SetText((wxString const &)*arg2);
26892 wxPyEndAllowThreads(__tstate);
26893 if (PyErr_Occurred()) SWIG_fail;
26894 }
26895 resultobj = SWIG_Py_Void();
26896 {
26897 if (temp2)
26898 delete arg2;
26899 }
26900 return resultobj;
26901fail:
26902 {
26903 if (temp2)
26904 delete arg2;
26905 }
26906 return NULL;
26907}
26908
26909
26910SWIGINTERN PyObject *_wrap_ListItem_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26911 PyObject *resultobj = 0;
26912 wxListItem *arg1 = (wxListItem *) 0 ;
26913 int arg2 ;
26914 void *argp1 = 0 ;
26915 int res1 = 0 ;
26916 int val2 ;
26917 int ecode2 = 0 ;
26918 PyObject * obj0 = 0 ;
26919 PyObject * obj1 = 0 ;
26920 char * kwnames[] = {
26921 (char *) "self",(char *) "image", NULL
26922 };
26923
26924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
26925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26926 if (!SWIG_IsOK(res1)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26928 }
26929 arg1 = reinterpret_cast< wxListItem * >(argp1);
26930 ecode2 = SWIG_AsVal_int(obj1, &val2);
26931 if (!SWIG_IsOK(ecode2)) {
26932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26933 }
26934 arg2 = static_cast< int >(val2);
26935 {
26936 PyThreadState* __tstate = wxPyBeginAllowThreads();
26937 (arg1)->SetImage(arg2);
26938 wxPyEndAllowThreads(__tstate);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 resultobj = SWIG_Py_Void();
26942 return resultobj;
26943fail:
26944 return NULL;
26945}
26946
26947
26948SWIGINTERN PyObject *_wrap_ListItem_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26949 PyObject *resultobj = 0;
26950 wxListItem *arg1 = (wxListItem *) 0 ;
26951 long arg2 ;
26952 void *argp1 = 0 ;
26953 int res1 = 0 ;
26954 long val2 ;
26955 int ecode2 = 0 ;
26956 PyObject * obj0 = 0 ;
26957 PyObject * obj1 = 0 ;
26958 char * kwnames[] = {
26959 (char *) "self",(char *) "data", NULL
26960 };
26961
26962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
26963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
26964 if (!SWIG_IsOK(res1)) {
26965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26966 }
26967 arg1 = reinterpret_cast< wxListItem * >(argp1);
26968 ecode2 = SWIG_AsVal_long(obj1, &val2);
26969 if (!SWIG_IsOK(ecode2)) {
26970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26971 }
26972 arg2 = static_cast< long >(val2);
26973 {
26974 PyThreadState* __tstate = wxPyBeginAllowThreads();
26975 (arg1)->SetData(arg2);
26976 wxPyEndAllowThreads(__tstate);
26977 if (PyErr_Occurred()) SWIG_fail;
26978 }
26979 resultobj = SWIG_Py_Void();
26980 return resultobj;
26981fail:
26982 return NULL;
26983}
26984
26985
26986SWIGINTERN PyObject *_wrap_ListItem_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26987 PyObject *resultobj = 0;
26988 wxListItem *arg1 = (wxListItem *) 0 ;
26989 int arg2 ;
26990 void *argp1 = 0 ;
26991 int res1 = 0 ;
26992 int val2 ;
26993 int ecode2 = 0 ;
26994 PyObject * obj0 = 0 ;
26995 PyObject * obj1 = 0 ;
26996 char * kwnames[] = {
26997 (char *) "self",(char *) "width", NULL
26998 };
26999
27000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
27001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27002 if (!SWIG_IsOK(res1)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27004 }
27005 arg1 = reinterpret_cast< wxListItem * >(argp1);
27006 ecode2 = SWIG_AsVal_int(obj1, &val2);
27007 if (!SWIG_IsOK(ecode2)) {
27008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27009 }
27010 arg2 = static_cast< int >(val2);
27011 {
27012 PyThreadState* __tstate = wxPyBeginAllowThreads();
27013 (arg1)->SetWidth(arg2);
27014 wxPyEndAllowThreads(__tstate);
27015 if (PyErr_Occurred()) SWIG_fail;
27016 }
27017 resultobj = SWIG_Py_Void();
27018 return resultobj;
27019fail:
27020 return NULL;
27021}
27022
27023
27024SWIGINTERN PyObject *_wrap_ListItem_SetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27025 PyObject *resultobj = 0;
27026 wxListItem *arg1 = (wxListItem *) 0 ;
27027 wxListColumnFormat arg2 ;
27028 void *argp1 = 0 ;
27029 int res1 = 0 ;
27030 int val2 ;
27031 int ecode2 = 0 ;
27032 PyObject * obj0 = 0 ;
27033 PyObject * obj1 = 0 ;
27034 char * kwnames[] = {
27035 (char *) "self",(char *) "align", NULL
27036 };
27037
27038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) SWIG_fail;
27039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27040 if (!SWIG_IsOK(res1)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27042 }
27043 arg1 = reinterpret_cast< wxListItem * >(argp1);
27044 ecode2 = SWIG_AsVal_int(obj1, &val2);
27045 if (!SWIG_IsOK(ecode2)) {
27046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27047 }
27048 arg2 = static_cast< wxListColumnFormat >(val2);
27049 {
27050 PyThreadState* __tstate = wxPyBeginAllowThreads();
27051 (arg1)->SetAlign(arg2);
27052 wxPyEndAllowThreads(__tstate);
27053 if (PyErr_Occurred()) SWIG_fail;
27054 }
27055 resultobj = SWIG_Py_Void();
27056 return resultobj;
27057fail:
27058 return NULL;
27059}
27060
27061
27062SWIGINTERN PyObject *_wrap_ListItem_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27063 PyObject *resultobj = 0;
27064 wxListItem *arg1 = (wxListItem *) 0 ;
27065 wxColour *arg2 = 0 ;
27066 void *argp1 = 0 ;
27067 int res1 = 0 ;
27068 wxColour temp2 ;
27069 PyObject * obj0 = 0 ;
27070 PyObject * obj1 = 0 ;
27071 char * kwnames[] = {
27072 (char *) "self",(char *) "colText", NULL
27073 };
27074
27075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
27076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27077 if (!SWIG_IsOK(res1)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27079 }
27080 arg1 = reinterpret_cast< wxListItem * >(argp1);
27081 {
27082 arg2 = &temp2;
27083 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27084 }
27085 {
27086 PyThreadState* __tstate = wxPyBeginAllowThreads();
27087 (arg1)->SetTextColour((wxColour const &)*arg2);
27088 wxPyEndAllowThreads(__tstate);
27089 if (PyErr_Occurred()) SWIG_fail;
27090 }
27091 resultobj = SWIG_Py_Void();
27092 return resultobj;
27093fail:
27094 return NULL;
27095}
27096
27097
27098SWIGINTERN PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27099 PyObject *resultobj = 0;
27100 wxListItem *arg1 = (wxListItem *) 0 ;
27101 wxColour *arg2 = 0 ;
27102 void *argp1 = 0 ;
27103 int res1 = 0 ;
27104 wxColour temp2 ;
27105 PyObject * obj0 = 0 ;
27106 PyObject * obj1 = 0 ;
27107 char * kwnames[] = {
27108 (char *) "self",(char *) "colBack", NULL
27109 };
27110
27111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
27112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27113 if (!SWIG_IsOK(res1)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27115 }
27116 arg1 = reinterpret_cast< wxListItem * >(argp1);
27117 {
27118 arg2 = &temp2;
27119 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
27120 }
27121 {
27122 PyThreadState* __tstate = wxPyBeginAllowThreads();
27123 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
27124 wxPyEndAllowThreads(__tstate);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 }
27127 resultobj = SWIG_Py_Void();
27128 return resultobj;
27129fail:
27130 return NULL;
27131}
27132
27133
27134SWIGINTERN PyObject *_wrap_ListItem_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27135 PyObject *resultobj = 0;
27136 wxListItem *arg1 = (wxListItem *) 0 ;
27137 wxFont *arg2 = 0 ;
27138 void *argp1 = 0 ;
27139 int res1 = 0 ;
27140 void *argp2 = 0 ;
27141 int res2 = 0 ;
27142 PyObject * obj0 = 0 ;
27143 PyObject * obj1 = 0 ;
27144 char * kwnames[] = {
27145 (char *) "self",(char *) "font", NULL
27146 };
27147
27148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
27149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27150 if (!SWIG_IsOK(res1)) {
27151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27152 }
27153 arg1 = reinterpret_cast< wxListItem * >(argp1);
27154 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
27155 if (!SWIG_IsOK(res2)) {
27156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27157 }
27158 if (!argp2) {
27159 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27160 }
27161 arg2 = reinterpret_cast< wxFont * >(argp2);
27162 {
27163 PyThreadState* __tstate = wxPyBeginAllowThreads();
27164 (arg1)->SetFont((wxFont const &)*arg2);
27165 wxPyEndAllowThreads(__tstate);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
27168 resultobj = SWIG_Py_Void();
27169 return resultobj;
27170fail:
27171 return NULL;
d55e5bfc
RD
27172}
27173
27174
554f62e9
RD
27175SWIGINTERN PyObject *_wrap_ListItem_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27176 PyObject *resultobj = 0;
27177 wxListItem *arg1 = (wxListItem *) 0 ;
27178 long result;
27179 void *argp1 = 0 ;
27180 int res1 = 0 ;
27181 PyObject *swig_obj[1] ;
27182
27183 if (!args) SWIG_fail;
27184 swig_obj[0] = args;
27185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27186 if (!SWIG_IsOK(res1)) {
27187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27188 }
27189 arg1 = reinterpret_cast< wxListItem * >(argp1);
27190 {
27191 PyThreadState* __tstate = wxPyBeginAllowThreads();
27192 result = (long)(arg1)->GetMask();
27193 wxPyEndAllowThreads(__tstate);
27194 if (PyErr_Occurred()) SWIG_fail;
27195 }
27196 resultobj = SWIG_From_long(static_cast< long >(result));
27197 return resultobj;
27198fail:
27199 return NULL;
d55e5bfc
RD
27200}
27201
27202
554f62e9
RD
27203SWIGINTERN PyObject *_wrap_ListItem_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27204 PyObject *resultobj = 0;
27205 wxListItem *arg1 = (wxListItem *) 0 ;
27206 long result;
27207 void *argp1 = 0 ;
27208 int res1 = 0 ;
27209 PyObject *swig_obj[1] ;
27210
27211 if (!args) SWIG_fail;
27212 swig_obj[0] = args;
27213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27214 if (!SWIG_IsOK(res1)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27216 }
27217 arg1 = reinterpret_cast< wxListItem * >(argp1);
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 result = (long)(arg1)->GetId();
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 resultobj = SWIG_From_long(static_cast< long >(result));
27225 return resultobj;
27226fail:
27227 return NULL;
d55e5bfc
RD
27228}
27229
27230
554f62e9
RD
27231SWIGINTERN PyObject *_wrap_ListItem_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27232 PyObject *resultobj = 0;
27233 wxListItem *arg1 = (wxListItem *) 0 ;
27234 int result;
27235 void *argp1 = 0 ;
27236 int res1 = 0 ;
27237 PyObject *swig_obj[1] ;
27238
27239 if (!args) SWIG_fail;
27240 swig_obj[0] = args;
27241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27242 if (!SWIG_IsOK(res1)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27244 }
27245 arg1 = reinterpret_cast< wxListItem * >(argp1);
27246 {
27247 PyThreadState* __tstate = wxPyBeginAllowThreads();
27248 result = (int)(arg1)->GetColumn();
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 resultobj = SWIG_From_int(static_cast< int >(result));
27253 return resultobj;
27254fail:
27255 return NULL;
d55e5bfc
RD
27256}
27257
27258
554f62e9
RD
27259SWIGINTERN PyObject *_wrap_ListItem_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27260 PyObject *resultobj = 0;
27261 wxListItem *arg1 = (wxListItem *) 0 ;
27262 long result;
27263 void *argp1 = 0 ;
27264 int res1 = 0 ;
27265 PyObject *swig_obj[1] ;
27266
27267 if (!args) SWIG_fail;
27268 swig_obj[0] = args;
27269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27270 if (!SWIG_IsOK(res1)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27272 }
27273 arg1 = reinterpret_cast< wxListItem * >(argp1);
27274 {
27275 PyThreadState* __tstate = wxPyBeginAllowThreads();
27276 result = (long)(arg1)->GetState();
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 resultobj = SWIG_From_long(static_cast< long >(result));
27281 return resultobj;
27282fail:
27283 return NULL;
d55e5bfc
RD
27284}
27285
27286
554f62e9
RD
27287SWIGINTERN PyObject *_wrap_ListItem_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27288 PyObject *resultobj = 0;
27289 wxListItem *arg1 = (wxListItem *) 0 ;
27290 wxString *result = 0 ;
27291 void *argp1 = 0 ;
27292 int res1 = 0 ;
27293 PyObject *swig_obj[1] ;
27294
27295 if (!args) SWIG_fail;
27296 swig_obj[0] = args;
27297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27298 if (!SWIG_IsOK(res1)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27300 }
27301 arg1 = reinterpret_cast< wxListItem * >(argp1);
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27304 {
554f62e9
RD
27305 wxString const &_result_ref = (arg1)->GetText();
27306 result = (wxString *) &_result_ref;
27307 }
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 {
d55e5bfc 27312#if wxUSE_UNICODE
554f62e9 27313 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 27314#else
554f62e9 27315 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 27316#endif
554f62e9
RD
27317 }
27318 return resultobj;
27319fail:
27320 return NULL;
d55e5bfc
RD
27321}
27322
27323
554f62e9
RD
27324SWIGINTERN PyObject *_wrap_ListItem_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27325 PyObject *resultobj = 0;
27326 wxListItem *arg1 = (wxListItem *) 0 ;
27327 int result;
27328 void *argp1 = 0 ;
27329 int res1 = 0 ;
27330 PyObject *swig_obj[1] ;
27331
27332 if (!args) SWIG_fail;
27333 swig_obj[0] = args;
27334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27335 if (!SWIG_IsOK(res1)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27337 }
27338 arg1 = reinterpret_cast< wxListItem * >(argp1);
27339 {
27340 PyThreadState* __tstate = wxPyBeginAllowThreads();
27341 result = (int)(arg1)->GetImage();
27342 wxPyEndAllowThreads(__tstate);
27343 if (PyErr_Occurred()) SWIG_fail;
27344 }
27345 resultobj = SWIG_From_int(static_cast< int >(result));
27346 return resultobj;
27347fail:
27348 return NULL;
d55e5bfc
RD
27349}
27350
27351
554f62e9
RD
27352SWIGINTERN PyObject *_wrap_ListItem_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27353 PyObject *resultobj = 0;
27354 wxListItem *arg1 = (wxListItem *) 0 ;
27355 long result;
27356 void *argp1 = 0 ;
27357 int res1 = 0 ;
27358 PyObject *swig_obj[1] ;
27359
27360 if (!args) SWIG_fail;
27361 swig_obj[0] = args;
27362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27363 if (!SWIG_IsOK(res1)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27365 }
27366 arg1 = reinterpret_cast< wxListItem * >(argp1);
27367 {
27368 PyThreadState* __tstate = wxPyBeginAllowThreads();
27369 result = (long)(arg1)->GetData();
27370 wxPyEndAllowThreads(__tstate);
27371 if (PyErr_Occurred()) SWIG_fail;
27372 }
27373 resultobj = SWIG_From_long(static_cast< long >(result));
27374 return resultobj;
27375fail:
27376 return NULL;
8fb0e70a
RD
27377}
27378
27379
554f62e9
RD
27380SWIGINTERN PyObject *_wrap_ListItem_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27381 PyObject *resultobj = 0;
27382 wxListItem *arg1 = (wxListItem *) 0 ;
27383 int result;
27384 void *argp1 = 0 ;
27385 int res1 = 0 ;
27386 PyObject *swig_obj[1] ;
27387
27388 if (!args) SWIG_fail;
27389 swig_obj[0] = args;
27390 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27391 if (!SWIG_IsOK(res1)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27393 }
27394 arg1 = reinterpret_cast< wxListItem * >(argp1);
27395 {
27396 PyThreadState* __tstate = wxPyBeginAllowThreads();
27397 result = (int)(arg1)->GetWidth();
27398 wxPyEndAllowThreads(__tstate);
27399 if (PyErr_Occurred()) SWIG_fail;
27400 }
27401 resultobj = SWIG_From_int(static_cast< int >(result));
27402 return resultobj;
27403fail:
27404 return NULL;
d55e5bfc
RD
27405}
27406
27407
554f62e9
RD
27408SWIGINTERN PyObject *_wrap_ListItem_GetAlign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27409 PyObject *resultobj = 0;
27410 wxListItem *arg1 = (wxListItem *) 0 ;
27411 wxListColumnFormat result;
27412 void *argp1 = 0 ;
27413 int res1 = 0 ;
27414 PyObject *swig_obj[1] ;
27415
27416 if (!args) SWIG_fail;
27417 swig_obj[0] = args;
27418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27419 if (!SWIG_IsOK(res1)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27421 }
27422 arg1 = reinterpret_cast< wxListItem * >(argp1);
27423 {
27424 PyThreadState* __tstate = wxPyBeginAllowThreads();
27425 result = (wxListColumnFormat)(arg1)->GetAlign();
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 resultobj = SWIG_From_int(static_cast< int >(result));
27430 return resultobj;
27431fail:
27432 return NULL;
d55e5bfc
RD
27433}
27434
27435
554f62e9
RD
27436SWIGINTERN PyObject *_wrap_ListItem_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27437 PyObject *resultobj = 0;
27438 wxListItem *arg1 = (wxListItem *) 0 ;
27439 wxListItemAttr *result = 0 ;
27440 void *argp1 = 0 ;
27441 int res1 = 0 ;
27442 PyObject *swig_obj[1] ;
27443
27444 if (!args) SWIG_fail;
27445 swig_obj[0] = args;
27446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27447 if (!SWIG_IsOK(res1)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27449 }
27450 arg1 = reinterpret_cast< wxListItem * >(argp1);
27451 {
27452 PyThreadState* __tstate = wxPyBeginAllowThreads();
27453 result = (wxListItemAttr *)(arg1)->GetAttributes();
27454 wxPyEndAllowThreads(__tstate);
27455 if (PyErr_Occurred()) SWIG_fail;
27456 }
27457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItemAttr, 0 | 0 );
27458 return resultobj;
27459fail:
27460 return NULL;
d55e5bfc
RD
27461}
27462
27463
554f62e9
RD
27464SWIGINTERN PyObject *_wrap_ListItem_HasAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27465 PyObject *resultobj = 0;
27466 wxListItem *arg1 = (wxListItem *) 0 ;
27467 bool result;
27468 void *argp1 = 0 ;
27469 int res1 = 0 ;
27470 PyObject *swig_obj[1] ;
27471
27472 if (!args) SWIG_fail;
27473 swig_obj[0] = args;
27474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27475 if (!SWIG_IsOK(res1)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27477 }
27478 arg1 = reinterpret_cast< wxListItem * >(argp1);
27479 {
27480 PyThreadState* __tstate = wxPyBeginAllowThreads();
27481 result = (bool)(arg1)->HasAttributes();
27482 wxPyEndAllowThreads(__tstate);
27483 if (PyErr_Occurred()) SWIG_fail;
27484 }
27485 {
27486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27487 }
27488 return resultobj;
27489fail:
27490 return NULL;
d55e5bfc
RD
27491}
27492
27493
554f62e9
RD
27494SWIGINTERN PyObject *_wrap_ListItem_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27495 PyObject *resultobj = 0;
27496 wxListItem *arg1 = (wxListItem *) 0 ;
27497 wxColour result;
27498 void *argp1 = 0 ;
27499 int res1 = 0 ;
27500 PyObject *swig_obj[1] ;
27501
27502 if (!args) SWIG_fail;
27503 swig_obj[0] = args;
27504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27505 if (!SWIG_IsOK(res1)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27507 }
27508 arg1 = reinterpret_cast< wxListItem * >(argp1);
27509 {
27510 PyThreadState* __tstate = wxPyBeginAllowThreads();
27511 result = ((wxListItem const *)arg1)->GetTextColour();
27512 wxPyEndAllowThreads(__tstate);
27513 if (PyErr_Occurred()) SWIG_fail;
27514 }
27515 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27516 return resultobj;
27517fail:
27518 return NULL;
d55e5bfc
RD
27519}
27520
27521
554f62e9
RD
27522SWIGINTERN PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27523 PyObject *resultobj = 0;
27524 wxListItem *arg1 = (wxListItem *) 0 ;
27525 wxColour result;
27526 void *argp1 = 0 ;
27527 int res1 = 0 ;
27528 PyObject *swig_obj[1] ;
27529
27530 if (!args) SWIG_fail;
27531 swig_obj[0] = args;
27532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27533 if (!SWIG_IsOK(res1)) {
27534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27535 }
27536 arg1 = reinterpret_cast< wxListItem * >(argp1);
27537 {
27538 PyThreadState* __tstate = wxPyBeginAllowThreads();
27539 result = ((wxListItem const *)arg1)->GetBackgroundColour();
27540 wxPyEndAllowThreads(__tstate);
27541 if (PyErr_Occurred()) SWIG_fail;
27542 }
27543 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
27544 return resultobj;
27545fail:
27546 return NULL;
d55e5bfc
RD
27547}
27548
27549
554f62e9
RD
27550SWIGINTERN PyObject *_wrap_ListItem_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27551 PyObject *resultobj = 0;
27552 wxListItem *arg1 = (wxListItem *) 0 ;
27553 wxFont result;
27554 void *argp1 = 0 ;
27555 int res1 = 0 ;
27556 PyObject *swig_obj[1] ;
27557
27558 if (!args) SWIG_fail;
27559 swig_obj[0] = args;
27560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27561 if (!SWIG_IsOK(res1)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27563 }
27564 arg1 = reinterpret_cast< wxListItem * >(argp1);
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 result = ((wxListItem const *)arg1)->GetFont();
27568 wxPyEndAllowThreads(__tstate);
27569 if (PyErr_Occurred()) SWIG_fail;
27570 }
27571 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
27572 return resultobj;
27573fail:
27574 return NULL;
27575}
27576
27577
27578SWIGINTERN PyObject *_wrap_ListItem_m_mask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27579 PyObject *resultobj = 0;
27580 wxListItem *arg1 = (wxListItem *) 0 ;
27581 long arg2 ;
27582 void *argp1 = 0 ;
27583 int res1 = 0 ;
27584 long val2 ;
27585 int ecode2 = 0 ;
27586 PyObject *swig_obj[2] ;
27587
27588 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_mask_set",2,2,swig_obj)) SWIG_fail;
27589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27590 if (!SWIG_IsOK(res1)) {
27591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27592 }
27593 arg1 = reinterpret_cast< wxListItem * >(argp1);
27594 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27595 if (!SWIG_IsOK(ecode2)) {
27596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27597 }
27598 arg2 = static_cast< long >(val2);
27599 if (arg1) (arg1)->m_mask = arg2;
27600
27601 resultobj = SWIG_Py_Void();
27602 return resultobj;
27603fail:
27604 return NULL;
d55e5bfc
RD
27605}
27606
27607
554f62e9
RD
27608SWIGINTERN PyObject *_wrap_ListItem_m_mask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27609 PyObject *resultobj = 0;
27610 wxListItem *arg1 = (wxListItem *) 0 ;
27611 long result;
27612 void *argp1 = 0 ;
27613 int res1 = 0 ;
27614 PyObject *swig_obj[1] ;
27615
27616 if (!args) SWIG_fail;
27617 swig_obj[0] = args;
27618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27619 if (!SWIG_IsOK(res1)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27621 }
27622 arg1 = reinterpret_cast< wxListItem * >(argp1);
27623 result = (long) ((arg1)->m_mask);
27624 resultobj = SWIG_From_long(static_cast< long >(result));
27625 return resultobj;
27626fail:
27627 return NULL;
27628}
27629
27630
27631SWIGINTERN PyObject *_wrap_ListItem_m_itemId_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27632 PyObject *resultobj = 0;
27633 wxListItem *arg1 = (wxListItem *) 0 ;
27634 long arg2 ;
27635 void *argp1 = 0 ;
27636 int res1 = 0 ;
27637 long val2 ;
27638 int ecode2 = 0 ;
27639 PyObject *swig_obj[2] ;
27640
27641 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_itemId_set",2,2,swig_obj)) SWIG_fail;
27642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27643 if (!SWIG_IsOK(res1)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27645 }
27646 arg1 = reinterpret_cast< wxListItem * >(argp1);
27647 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27648 if (!SWIG_IsOK(ecode2)) {
27649 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27650 }
27651 arg2 = static_cast< long >(val2);
27652 if (arg1) (arg1)->m_itemId = arg2;
27653
27654 resultobj = SWIG_Py_Void();
27655 return resultobj;
27656fail:
27657 return NULL;
d55e5bfc
RD
27658}
27659
27660
554f62e9
RD
27661SWIGINTERN PyObject *_wrap_ListItem_m_itemId_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27662 PyObject *resultobj = 0;
27663 wxListItem *arg1 = (wxListItem *) 0 ;
27664 long result;
27665 void *argp1 = 0 ;
27666 int res1 = 0 ;
27667 PyObject *swig_obj[1] ;
27668
27669 if (!args) SWIG_fail;
27670 swig_obj[0] = args;
27671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27672 if (!SWIG_IsOK(res1)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27674 }
27675 arg1 = reinterpret_cast< wxListItem * >(argp1);
27676 result = (long) ((arg1)->m_itemId);
27677 resultobj = SWIG_From_long(static_cast< long >(result));
27678 return resultobj;
27679fail:
27680 return NULL;
27681}
27682
27683
27684SWIGINTERN PyObject *_wrap_ListItem_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27685 PyObject *resultobj = 0;
27686 wxListItem *arg1 = (wxListItem *) 0 ;
27687 int arg2 ;
27688 void *argp1 = 0 ;
27689 int res1 = 0 ;
27690 int val2 ;
27691 int ecode2 = 0 ;
27692 PyObject *swig_obj[2] ;
27693
27694 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_col_set",2,2,swig_obj)) SWIG_fail;
27695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27696 if (!SWIG_IsOK(res1)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27698 }
27699 arg1 = reinterpret_cast< wxListItem * >(argp1);
27700 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27701 if (!SWIG_IsOK(ecode2)) {
27702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27703 }
27704 arg2 = static_cast< int >(val2);
27705 if (arg1) (arg1)->m_col = arg2;
27706
27707 resultobj = SWIG_Py_Void();
27708 return resultobj;
27709fail:
27710 return NULL;
d55e5bfc
RD
27711}
27712
27713
554f62e9
RD
27714SWIGINTERN PyObject *_wrap_ListItem_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27715 PyObject *resultobj = 0;
27716 wxListItem *arg1 = (wxListItem *) 0 ;
27717 int result;
27718 void *argp1 = 0 ;
27719 int res1 = 0 ;
27720 PyObject *swig_obj[1] ;
27721
27722 if (!args) SWIG_fail;
27723 swig_obj[0] = args;
27724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27725 if (!SWIG_IsOK(res1)) {
27726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27727 }
27728 arg1 = reinterpret_cast< wxListItem * >(argp1);
27729 result = (int) ((arg1)->m_col);
27730 resultobj = SWIG_From_int(static_cast< int >(result));
27731 return resultobj;
27732fail:
27733 return NULL;
27734}
27735
27736
27737SWIGINTERN PyObject *_wrap_ListItem_m_state_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27738 PyObject *resultobj = 0;
27739 wxListItem *arg1 = (wxListItem *) 0 ;
27740 long arg2 ;
27741 void *argp1 = 0 ;
27742 int res1 = 0 ;
27743 long val2 ;
27744 int ecode2 = 0 ;
27745 PyObject *swig_obj[2] ;
27746
27747 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_state_set",2,2,swig_obj)) SWIG_fail;
27748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27749 if (!SWIG_IsOK(res1)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27751 }
27752 arg1 = reinterpret_cast< wxListItem * >(argp1);
27753 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27754 if (!SWIG_IsOK(ecode2)) {
27755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27756 }
27757 arg2 = static_cast< long >(val2);
27758 if (arg1) (arg1)->m_state = arg2;
27759
27760 resultobj = SWIG_Py_Void();
27761 return resultobj;
27762fail:
27763 return NULL;
d55e5bfc
RD
27764}
27765
27766
554f62e9
RD
27767SWIGINTERN PyObject *_wrap_ListItem_m_state_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27768 PyObject *resultobj = 0;
27769 wxListItem *arg1 = (wxListItem *) 0 ;
27770 long result;
27771 void *argp1 = 0 ;
27772 int res1 = 0 ;
27773 PyObject *swig_obj[1] ;
27774
27775 if (!args) SWIG_fail;
27776 swig_obj[0] = args;
27777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27778 if (!SWIG_IsOK(res1)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27780 }
27781 arg1 = reinterpret_cast< wxListItem * >(argp1);
27782 result = (long) ((arg1)->m_state);
27783 resultobj = SWIG_From_long(static_cast< long >(result));
27784 return resultobj;
27785fail:
27786 return NULL;
27787}
27788
27789
27790SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27791 PyObject *resultobj = 0;
27792 wxListItem *arg1 = (wxListItem *) 0 ;
27793 long arg2 ;
27794 void *argp1 = 0 ;
27795 int res1 = 0 ;
27796 long val2 ;
27797 int ecode2 = 0 ;
27798 PyObject *swig_obj[2] ;
27799
27800 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_stateMask_set",2,2,swig_obj)) SWIG_fail;
27801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27802 if (!SWIG_IsOK(res1)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27804 }
27805 arg1 = reinterpret_cast< wxListItem * >(argp1);
27806 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27807 if (!SWIG_IsOK(ecode2)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27809 }
27810 arg2 = static_cast< long >(val2);
27811 if (arg1) (arg1)->m_stateMask = arg2;
27812
27813 resultobj = SWIG_Py_Void();
27814 return resultobj;
27815fail:
27816 return NULL;
7e08d4ef
RD
27817}
27818
27819
554f62e9
RD
27820SWIGINTERN PyObject *_wrap_ListItem_m_stateMask_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27821 PyObject *resultobj = 0;
27822 wxListItem *arg1 = (wxListItem *) 0 ;
27823 long result;
27824 void *argp1 = 0 ;
27825 int res1 = 0 ;
27826 PyObject *swig_obj[1] ;
27827
27828 if (!args) SWIG_fail;
27829 swig_obj[0] = args;
27830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27831 if (!SWIG_IsOK(res1)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27833 }
27834 arg1 = reinterpret_cast< wxListItem * >(argp1);
27835 result = (long) ((arg1)->m_stateMask);
27836 resultobj = SWIG_From_long(static_cast< long >(result));
27837 return resultobj;
27838fail:
27839 return NULL;
27840}
27841
27842
27843SWIGINTERN PyObject *_wrap_ListItem_m_text_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27844 PyObject *resultobj = 0;
27845 wxListItem *arg1 = (wxListItem *) 0 ;
27846 wxString *arg2 = (wxString *) 0 ;
27847 void *argp1 = 0 ;
27848 int res1 = 0 ;
27849 bool temp2 = false ;
27850 PyObject *swig_obj[2] ;
27851
27852 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_text_set",2,2,swig_obj)) SWIG_fail;
27853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27854 if (!SWIG_IsOK(res1)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27856 }
27857 arg1 = reinterpret_cast< wxListItem * >(argp1);
27858 {
27859 arg2 = wxString_in_helper(swig_obj[1]);
27860 if (arg2 == NULL) SWIG_fail;
27861 temp2 = true;
27862 }
27863 if (arg1) (arg1)->m_text = *arg2;
27864
27865 resultobj = SWIG_Py_Void();
27866 {
27867 if (temp2)
27868 delete arg2;
27869 }
27870 return resultobj;
27871fail:
27872 {
27873 if (temp2)
27874 delete arg2;
27875 }
27876 return NULL;
7e08d4ef
RD
27877}
27878
27879
554f62e9
RD
27880SWIGINTERN PyObject *_wrap_ListItem_m_text_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27881 PyObject *resultobj = 0;
27882 wxListItem *arg1 = (wxListItem *) 0 ;
27883 wxString *result = 0 ;
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_wxListItem, 0 | 0 );
27891 if (!SWIG_IsOK(res1)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27893 }
27894 arg1 = reinterpret_cast< wxListItem * >(argp1);
27895 result = (wxString *)& ((arg1)->m_text);
27896 {
27897#if wxUSE_UNICODE
27898 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27899#else
27900 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27901#endif
27902 }
27903 return resultobj;
27904fail:
27905 return NULL;
7e08d4ef
RD
27906}
27907
27908
554f62e9
RD
27909SWIGINTERN PyObject *_wrap_ListItem_m_image_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27910 PyObject *resultobj = 0;
27911 wxListItem *arg1 = (wxListItem *) 0 ;
27912 int arg2 ;
27913 void *argp1 = 0 ;
27914 int res1 = 0 ;
27915 int val2 ;
27916 int ecode2 = 0 ;
27917 PyObject *swig_obj[2] ;
27918
27919 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_image_set",2,2,swig_obj)) SWIG_fail;
27920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27921 if (!SWIG_IsOK(res1)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27923 }
27924 arg1 = reinterpret_cast< wxListItem * >(argp1);
27925 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
27926 if (!SWIG_IsOK(ecode2)) {
27927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27928 }
27929 arg2 = static_cast< int >(val2);
27930 if (arg1) (arg1)->m_image = arg2;
27931
27932 resultobj = SWIG_Py_Void();
27933 return resultobj;
27934fail:
27935 return NULL;
7e08d4ef
RD
27936}
27937
27938
554f62e9
RD
27939SWIGINTERN PyObject *_wrap_ListItem_m_image_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27940 PyObject *resultobj = 0;
27941 wxListItem *arg1 = (wxListItem *) 0 ;
27942 int result;
27943 void *argp1 = 0 ;
27944 int res1 = 0 ;
27945 PyObject *swig_obj[1] ;
27946
27947 if (!args) SWIG_fail;
27948 swig_obj[0] = args;
27949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27950 if (!SWIG_IsOK(res1)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27952 }
27953 arg1 = reinterpret_cast< wxListItem * >(argp1);
27954 result = (int) ((arg1)->m_image);
27955 resultobj = SWIG_From_int(static_cast< int >(result));
27956 return resultobj;
27957fail:
27958 return NULL;
27959}
27960
27961
27962SWIGINTERN PyObject *_wrap_ListItem_m_data_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27963 PyObject *resultobj = 0;
27964 wxListItem *arg1 = (wxListItem *) 0 ;
27965 long arg2 ;
27966 void *argp1 = 0 ;
27967 int res1 = 0 ;
27968 long val2 ;
27969 int ecode2 = 0 ;
27970 PyObject *swig_obj[2] ;
27971
27972 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_data_set",2,2,swig_obj)) SWIG_fail;
27973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
27974 if (!SWIG_IsOK(res1)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27976 }
27977 arg1 = reinterpret_cast< wxListItem * >(argp1);
27978 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
27979 if (!SWIG_IsOK(ecode2)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27981 }
27982 arg2 = static_cast< long >(val2);
27983 if (arg1) (arg1)->m_data = arg2;
27984
27985 resultobj = SWIG_Py_Void();
27986 return resultobj;
27987fail:
27988 return NULL;
7e08d4ef
RD
27989}
27990
27991
554f62e9
RD
27992SWIGINTERN PyObject *_wrap_ListItem_m_data_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27993 PyObject *resultobj = 0;
27994 wxListItem *arg1 = (wxListItem *) 0 ;
27995 long result;
27996 void *argp1 = 0 ;
27997 int res1 = 0 ;
27998 PyObject *swig_obj[1] ;
27999
28000 if (!args) SWIG_fail;
28001 swig_obj[0] = args;
28002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28003 if (!SWIG_IsOK(res1)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28005 }
28006 arg1 = reinterpret_cast< wxListItem * >(argp1);
28007 result = (long) ((arg1)->m_data);
28008 resultobj = SWIG_From_long(static_cast< long >(result));
28009 return resultobj;
28010fail:
28011 return NULL;
28012}
28013
28014
28015SWIGINTERN PyObject *_wrap_ListItem_m_format_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28016 PyObject *resultobj = 0;
28017 wxListItem *arg1 = (wxListItem *) 0 ;
28018 int arg2 ;
28019 void *argp1 = 0 ;
28020 int res1 = 0 ;
28021 int val2 ;
28022 int ecode2 = 0 ;
28023 PyObject *swig_obj[2] ;
28024
28025 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_format_set",2,2,swig_obj)) SWIG_fail;
28026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28027 if (!SWIG_IsOK(res1)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28029 }
28030 arg1 = reinterpret_cast< wxListItem * >(argp1);
28031 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28032 if (!SWIG_IsOK(ecode2)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28034 }
28035 arg2 = static_cast< int >(val2);
28036 if (arg1) (arg1)->m_format = arg2;
28037
28038 resultobj = SWIG_Py_Void();
28039 return resultobj;
28040fail:
28041 return NULL;
d55e5bfc
RD
28042}
28043
28044
554f62e9
RD
28045SWIGINTERN PyObject *_wrap_ListItem_m_format_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28046 PyObject *resultobj = 0;
28047 wxListItem *arg1 = (wxListItem *) 0 ;
28048 int result;
28049 void *argp1 = 0 ;
28050 int res1 = 0 ;
28051 PyObject *swig_obj[1] ;
28052
28053 if (!args) SWIG_fail;
28054 swig_obj[0] = args;
28055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28056 if (!SWIG_IsOK(res1)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28058 }
28059 arg1 = reinterpret_cast< wxListItem * >(argp1);
28060 result = (int) ((arg1)->m_format);
28061 resultobj = SWIG_From_int(static_cast< int >(result));
28062 return resultobj;
28063fail:
28064 return NULL;
28065}
28066
28067
28068SWIGINTERN PyObject *_wrap_ListItem_m_width_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28069 PyObject *resultobj = 0;
28070 wxListItem *arg1 = (wxListItem *) 0 ;
28071 int arg2 ;
28072 void *argp1 = 0 ;
28073 int res1 = 0 ;
28074 int val2 ;
28075 int ecode2 = 0 ;
28076 PyObject *swig_obj[2] ;
28077
28078 if (!SWIG_Python_UnpackTuple(args,"ListItem_m_width_set",2,2,swig_obj)) SWIG_fail;
28079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28080 if (!SWIG_IsOK(res1)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28082 }
28083 arg1 = reinterpret_cast< wxListItem * >(argp1);
28084 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28085 if (!SWIG_IsOK(ecode2)) {
28086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28087 }
28088 arg2 = static_cast< int >(val2);
28089 if (arg1) (arg1)->m_width = arg2;
28090
28091 resultobj = SWIG_Py_Void();
28092 return resultobj;
28093fail:
28094 return NULL;
d55e5bfc
RD
28095}
28096
28097
554f62e9
RD
28098SWIGINTERN PyObject *_wrap_ListItem_m_width_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28099 PyObject *resultobj = 0;
28100 wxListItem *arg1 = (wxListItem *) 0 ;
28101 int result;
28102 void *argp1 = 0 ;
28103 int res1 = 0 ;
28104 PyObject *swig_obj[1] ;
28105
28106 if (!args) SWIG_fail;
28107 swig_obj[0] = args;
28108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListItem, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28111 }
28112 arg1 = reinterpret_cast< wxListItem * >(argp1);
28113 result = (int) ((arg1)->m_width);
28114 resultobj = SWIG_From_int(static_cast< int >(result));
28115 return resultobj;
28116fail:
28117 return NULL;
28118}
28119
28120
28121SWIGINTERN PyObject *ListItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28122 PyObject *obj;
28123 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28124 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem, SWIG_NewClientData(obj));
28125 return SWIG_Py_Void();
28126}
28127
28128SWIGINTERN PyObject *ListItem_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28129 return SWIG_Python_InitShadowInstance(args);
28130}
28131
28132SWIGINTERN PyObject *_wrap_new_ListEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28133 PyObject *resultobj = 0;
28134 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28135 int arg2 = (int) 0 ;
28136 wxListEvent *result = 0 ;
28137 int val1 ;
28138 int ecode1 = 0 ;
28139 int val2 ;
28140 int ecode2 = 0 ;
28141 PyObject * obj0 = 0 ;
28142 PyObject * obj1 = 0 ;
28143 char * kwnames[] = {
28144 (char *) "commandType",(char *) "id", NULL
28145 };
28146
28147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) SWIG_fail;
28148 if (obj0) {
28149 ecode1 = SWIG_AsVal_int(obj0, &val1);
28150 if (!SWIG_IsOK(ecode1)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28152 }
28153 arg1 = static_cast< wxEventType >(val1);
28154 }
28155 if (obj1) {
28156 ecode2 = SWIG_AsVal_int(obj1, &val2);
28157 if (!SWIG_IsOK(ecode2)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28159 }
28160 arg2 = static_cast< int >(val2);
28161 }
28162 {
28163 PyThreadState* __tstate = wxPyBeginAllowThreads();
28164 result = (wxListEvent *)new wxListEvent(arg1,arg2);
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
28168 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListEvent, SWIG_POINTER_NEW | 0 );
28169 return resultobj;
28170fail:
28171 return NULL;
28172}
28173
28174
28175SWIGINTERN PyObject *_wrap_ListEvent_m_code_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28176 PyObject *resultobj = 0;
28177 wxListEvent *arg1 = (wxListEvent *) 0 ;
28178 int arg2 ;
28179 void *argp1 = 0 ;
28180 int res1 = 0 ;
28181 int val2 ;
28182 int ecode2 = 0 ;
28183 PyObject *swig_obj[2] ;
28184
28185 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_code_set",2,2,swig_obj)) SWIG_fail;
28186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28187 if (!SWIG_IsOK(res1)) {
28188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28189 }
28190 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28191 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28192 if (!SWIG_IsOK(ecode2)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28194 }
28195 arg2 = static_cast< int >(val2);
28196 if (arg1) (arg1)->m_code = arg2;
28197
28198 resultobj = SWIG_Py_Void();
28199 return resultobj;
28200fail:
28201 return NULL;
d55e5bfc
RD
28202}
28203
28204
554f62e9
RD
28205SWIGINTERN PyObject *_wrap_ListEvent_m_code_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28206 PyObject *resultobj = 0;
28207 wxListEvent *arg1 = (wxListEvent *) 0 ;
28208 int result;
28209 void *argp1 = 0 ;
28210 int res1 = 0 ;
28211 PyObject *swig_obj[1] ;
28212
28213 if (!args) SWIG_fail;
28214 swig_obj[0] = args;
28215 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28216 if (!SWIG_IsOK(res1)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28218 }
28219 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28220 result = (int) ((arg1)->m_code);
28221 resultobj = SWIG_From_int(static_cast< int >(result));
28222 return resultobj;
28223fail:
28224 return NULL;
28225}
28226
28227
28228SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28229 PyObject *resultobj = 0;
28230 wxListEvent *arg1 = (wxListEvent *) 0 ;
28231 long arg2 ;
28232 void *argp1 = 0 ;
28233 int res1 = 0 ;
28234 long val2 ;
28235 int ecode2 = 0 ;
28236 PyObject *swig_obj[2] ;
28237
28238 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_oldItemIndex_set",2,2,swig_obj)) SWIG_fail;
28239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28240 if (!SWIG_IsOK(res1)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28242 }
28243 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28244 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28245 if (!SWIG_IsOK(ecode2)) {
28246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28247 }
28248 arg2 = static_cast< long >(val2);
28249 if (arg1) (arg1)->m_oldItemIndex = arg2;
28250
28251 resultobj = SWIG_Py_Void();
28252 return resultobj;
28253fail:
28254 return NULL;
d55e5bfc
RD
28255}
28256
28257
554f62e9
RD
28258SWIGINTERN PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28259 PyObject *resultobj = 0;
28260 wxListEvent *arg1 = (wxListEvent *) 0 ;
28261 long result;
28262 void *argp1 = 0 ;
28263 int res1 = 0 ;
28264 PyObject *swig_obj[1] ;
28265
28266 if (!args) SWIG_fail;
28267 swig_obj[0] = args;
28268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28269 if (!SWIG_IsOK(res1)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28271 }
28272 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28273 result = (long) ((arg1)->m_oldItemIndex);
28274 resultobj = SWIG_From_long(static_cast< long >(result));
28275 return resultobj;
28276fail:
28277 return NULL;
28278}
28279
28280
28281SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28282 PyObject *resultobj = 0;
28283 wxListEvent *arg1 = (wxListEvent *) 0 ;
28284 long arg2 ;
28285 void *argp1 = 0 ;
28286 int res1 = 0 ;
28287 long val2 ;
28288 int ecode2 = 0 ;
28289 PyObject *swig_obj[2] ;
28290
28291 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_itemIndex_set",2,2,swig_obj)) SWIG_fail;
28292 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28293 if (!SWIG_IsOK(res1)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28295 }
28296 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28297 ecode2 = SWIG_AsVal_long(swig_obj[1], &val2);
28298 if (!SWIG_IsOK(ecode2)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28300 }
28301 arg2 = static_cast< long >(val2);
28302 if (arg1) (arg1)->m_itemIndex = arg2;
28303
28304 resultobj = SWIG_Py_Void();
28305 return resultobj;
28306fail:
28307 return NULL;
d55e5bfc
RD
28308}
28309
28310
554f62e9
RD
28311SWIGINTERN PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28312 PyObject *resultobj = 0;
28313 wxListEvent *arg1 = (wxListEvent *) 0 ;
28314 long result;
28315 void *argp1 = 0 ;
28316 int res1 = 0 ;
28317 PyObject *swig_obj[1] ;
28318
28319 if (!args) SWIG_fail;
28320 swig_obj[0] = args;
28321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28322 if (!SWIG_IsOK(res1)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28324 }
28325 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28326 result = (long) ((arg1)->m_itemIndex);
28327 resultobj = SWIG_From_long(static_cast< long >(result));
28328 return resultobj;
28329fail:
28330 return NULL;
28331}
28332
28333
28334SWIGINTERN PyObject *_wrap_ListEvent_m_col_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28335 PyObject *resultobj = 0;
28336 wxListEvent *arg1 = (wxListEvent *) 0 ;
28337 int arg2 ;
28338 void *argp1 = 0 ;
28339 int res1 = 0 ;
28340 int val2 ;
28341 int ecode2 = 0 ;
28342 PyObject *swig_obj[2] ;
28343
28344 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_col_set",2,2,swig_obj)) SWIG_fail;
28345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28346 if (!SWIG_IsOK(res1)) {
28347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28348 }
28349 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28350 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
28351 if (!SWIG_IsOK(ecode2)) {
28352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28353 }
28354 arg2 = static_cast< int >(val2);
28355 if (arg1) (arg1)->m_col = arg2;
28356
28357 resultobj = SWIG_Py_Void();
28358 return resultobj;
28359fail:
28360 return NULL;
d55e5bfc
RD
28361}
28362
28363
554f62e9
RD
28364SWIGINTERN PyObject *_wrap_ListEvent_m_col_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28365 PyObject *resultobj = 0;
28366 wxListEvent *arg1 = (wxListEvent *) 0 ;
28367 int result;
28368 void *argp1 = 0 ;
28369 int res1 = 0 ;
28370 PyObject *swig_obj[1] ;
28371
28372 if (!args) SWIG_fail;
28373 swig_obj[0] = args;
28374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28375 if (!SWIG_IsOK(res1)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28377 }
28378 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28379 result = (int) ((arg1)->m_col);
28380 resultobj = SWIG_From_int(static_cast< int >(result));
28381 return resultobj;
28382fail:
28383 return NULL;
28384}
28385
28386
28387SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28388 PyObject *resultobj = 0;
28389 wxListEvent *arg1 = (wxListEvent *) 0 ;
28390 wxPoint *arg2 = (wxPoint *) 0 ;
28391 void *argp1 = 0 ;
28392 int res1 = 0 ;
28393 void *argp2 = 0 ;
28394 int res2 = 0 ;
28395 PyObject *swig_obj[2] ;
28396
28397 if (!SWIG_Python_UnpackTuple(args,"ListEvent_m_pointDrag_set",2,2,swig_obj)) SWIG_fail;
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_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28401 }
28402 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28403 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPoint, 0 | 0 );
28404 if (!SWIG_IsOK(res2)) {
28405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28406 }
28407 arg2 = reinterpret_cast< wxPoint * >(argp2);
28408 if (arg1) (arg1)->m_pointDrag = *arg2;
28409
28410 resultobj = SWIG_Py_Void();
28411 return resultobj;
28412fail:
28413 return NULL;
d55e5bfc
RD
28414}
28415
28416
554f62e9
RD
28417SWIGINTERN PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28418 PyObject *resultobj = 0;
28419 wxListEvent *arg1 = (wxListEvent *) 0 ;
28420 wxPoint *result = 0 ;
28421 void *argp1 = 0 ;
28422 int res1 = 0 ;
28423 PyObject *swig_obj[1] ;
28424
28425 if (!args) SWIG_fail;
28426 swig_obj[0] = args;
28427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28428 if (!SWIG_IsOK(res1)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28430 }
28431 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28432 result = (wxPoint *)& ((arg1)->m_pointDrag);
28433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPoint, 0 | 0 );
28434 return resultobj;
28435fail:
28436 return NULL;
28437}
28438
28439
28440SWIGINTERN PyObject *_wrap_ListEvent_m_item_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28441 PyObject *resultobj = 0;
28442 wxListEvent *arg1 = (wxListEvent *) 0 ;
28443 wxListItem *result = 0 ;
28444 void *argp1 = 0 ;
28445 int res1 = 0 ;
28446 PyObject *swig_obj[1] ;
28447
28448 if (!args) SWIG_fail;
28449 swig_obj[0] = args;
28450 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28451 if (!SWIG_IsOK(res1)) {
28452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28453 }
28454 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28455 result = (wxListItem *)& ((arg1)->m_item);
28456 {
3ecece7e 28457 resultobj = wxPyMake_wxObject(result, 0);
554f62e9
RD
28458 }
28459 return resultobj;
28460fail:
28461 return NULL;
f20a2e1f
RD
28462}
28463
28464
554f62e9
RD
28465SWIGINTERN PyObject *_wrap_ListEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28466 PyObject *resultobj = 0;
28467 wxListEvent *arg1 = (wxListEvent *) 0 ;
28468 int result;
28469 void *argp1 = 0 ;
28470 int res1 = 0 ;
28471 PyObject *swig_obj[1] ;
28472
28473 if (!args) SWIG_fail;
28474 swig_obj[0] = args;
28475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28476 if (!SWIG_IsOK(res1)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28478 }
28479 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 result = (int)(arg1)->GetKeyCode();
28483 wxPyEndAllowThreads(__tstate);
28484 if (PyErr_Occurred()) SWIG_fail;
28485 }
28486 resultobj = SWIG_From_int(static_cast< int >(result));
28487 return resultobj;
28488fail:
28489 return NULL;
d55e5bfc
RD
28490}
28491
28492
554f62e9
RD
28493SWIGINTERN PyObject *_wrap_ListEvent_GetIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28494 PyObject *resultobj = 0;
28495 wxListEvent *arg1 = (wxListEvent *) 0 ;
28496 long result;
28497 void *argp1 = 0 ;
28498 int res1 = 0 ;
28499 PyObject *swig_obj[1] ;
28500
28501 if (!args) SWIG_fail;
28502 swig_obj[0] = args;
28503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28504 if (!SWIG_IsOK(res1)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28506 }
28507 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28508 {
28509 PyThreadState* __tstate = wxPyBeginAllowThreads();
28510 result = (long)(arg1)->GetIndex();
28511 wxPyEndAllowThreads(__tstate);
28512 if (PyErr_Occurred()) SWIG_fail;
28513 }
28514 resultobj = SWIG_From_long(static_cast< long >(result));
28515 return resultobj;
28516fail:
28517 return NULL;
d55e5bfc
RD
28518}
28519
28520
554f62e9
RD
28521SWIGINTERN PyObject *_wrap_ListEvent_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28522 PyObject *resultobj = 0;
28523 wxListEvent *arg1 = (wxListEvent *) 0 ;
28524 int result;
28525 void *argp1 = 0 ;
28526 int res1 = 0 ;
28527 PyObject *swig_obj[1] ;
28528
28529 if (!args) SWIG_fail;
28530 swig_obj[0] = args;
28531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28532 if (!SWIG_IsOK(res1)) {
28533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28534 }
28535 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 result = (int)(arg1)->GetColumn();
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
28542 resultobj = SWIG_From_int(static_cast< int >(result));
28543 return resultobj;
28544fail:
28545 return NULL;
d55e5bfc
RD
28546}
28547
28548
554f62e9
RD
28549SWIGINTERN PyObject *_wrap_ListEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28550 PyObject *resultobj = 0;
28551 wxListEvent *arg1 = (wxListEvent *) 0 ;
28552 wxPoint result;
28553 void *argp1 = 0 ;
28554 int res1 = 0 ;
28555 PyObject *swig_obj[1] ;
28556
28557 if (!args) SWIG_fail;
28558 swig_obj[0] = args;
28559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28560 if (!SWIG_IsOK(res1)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28562 }
28563 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28564 {
28565 PyThreadState* __tstate = wxPyBeginAllowThreads();
28566 result = (arg1)->GetPoint();
28567 wxPyEndAllowThreads(__tstate);
28568 if (PyErr_Occurred()) SWIG_fail;
28569 }
28570 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
28571 return resultobj;
28572fail:
28573 return NULL;
d55e5bfc
RD
28574}
28575
28576
554f62e9
RD
28577SWIGINTERN PyObject *_wrap_ListEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28578 PyObject *resultobj = 0;
28579 wxListEvent *arg1 = (wxListEvent *) 0 ;
28580 wxString *result = 0 ;
28581 void *argp1 = 0 ;
28582 int res1 = 0 ;
28583 PyObject *swig_obj[1] ;
28584
28585 if (!args) SWIG_fail;
28586 swig_obj[0] = args;
28587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28588 if (!SWIG_IsOK(res1)) {
28589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28590 }
28591 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28592 {
28593 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28594 {
554f62e9
RD
28595 wxString const &_result_ref = (arg1)->GetLabel();
28596 result = (wxString *) &_result_ref;
d55e5bfc 28597 }
554f62e9
RD
28598 wxPyEndAllowThreads(__tstate);
28599 if (PyErr_Occurred()) SWIG_fail;
28600 }
28601 {
28602#if wxUSE_UNICODE
28603 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28604#else
28605 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28606#endif
28607 }
28608 return resultobj;
28609fail:
28610 return NULL;
d55e5bfc
RD
28611}
28612
28613
554f62e9
RD
28614SWIGINTERN PyObject *_wrap_ListEvent_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28615 PyObject *resultobj = 0;
28616 wxListEvent *arg1 = (wxListEvent *) 0 ;
28617 wxString *result = 0 ;
28618 void *argp1 = 0 ;
28619 int res1 = 0 ;
28620 PyObject *swig_obj[1] ;
28621
28622 if (!args) SWIG_fail;
28623 swig_obj[0] = args;
28624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28625 if (!SWIG_IsOK(res1)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28627 }
28628 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28629 {
28630 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 28631 {
554f62e9
RD
28632 wxString const &_result_ref = (arg1)->GetText();
28633 result = (wxString *) &_result_ref;
d55e5bfc 28634 }
554f62e9
RD
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 {
28639#if wxUSE_UNICODE
28640 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28641#else
28642 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28643#endif
28644 }
28645 return resultobj;
28646fail:
28647 return NULL;
d55e5bfc
RD
28648}
28649
28650
554f62e9
RD
28651SWIGINTERN PyObject *_wrap_ListEvent_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28652 PyObject *resultobj = 0;
28653 wxListEvent *arg1 = (wxListEvent *) 0 ;
28654 int result;
28655 void *argp1 = 0 ;
28656 int res1 = 0 ;
28657 PyObject *swig_obj[1] ;
28658
28659 if (!args) SWIG_fail;
28660 swig_obj[0] = args;
28661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28662 if (!SWIG_IsOK(res1)) {
28663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28664 }
28665 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28666 {
28667 PyThreadState* __tstate = wxPyBeginAllowThreads();
28668 result = (int)(arg1)->GetImage();
28669 wxPyEndAllowThreads(__tstate);
28670 if (PyErr_Occurred()) SWIG_fail;
28671 }
28672 resultobj = SWIG_From_int(static_cast< int >(result));
28673 return resultobj;
28674fail:
28675 return NULL;
d55e5bfc
RD
28676}
28677
28678
554f62e9
RD
28679SWIGINTERN PyObject *_wrap_ListEvent_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28680 PyObject *resultobj = 0;
28681 wxListEvent *arg1 = (wxListEvent *) 0 ;
28682 long result;
28683 void *argp1 = 0 ;
28684 int res1 = 0 ;
28685 PyObject *swig_obj[1] ;
28686
28687 if (!args) SWIG_fail;
28688 swig_obj[0] = args;
28689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28690 if (!SWIG_IsOK(res1)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28692 }
28693 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28694 {
28695 PyThreadState* __tstate = wxPyBeginAllowThreads();
28696 result = (long)(arg1)->GetData();
28697 wxPyEndAllowThreads(__tstate);
28698 if (PyErr_Occurred()) SWIG_fail;
28699 }
28700 resultobj = SWIG_From_long(static_cast< long >(result));
28701 return resultobj;
28702fail:
28703 return NULL;
d55e5bfc
RD
28704}
28705
28706
554f62e9
RD
28707SWIGINTERN PyObject *_wrap_ListEvent_GetMask(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28708 PyObject *resultobj = 0;
28709 wxListEvent *arg1 = (wxListEvent *) 0 ;
28710 long result;
28711 void *argp1 = 0 ;
28712 int res1 = 0 ;
28713 PyObject *swig_obj[1] ;
28714
28715 if (!args) SWIG_fail;
28716 swig_obj[0] = args;
28717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28718 if (!SWIG_IsOK(res1)) {
28719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28720 }
28721 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28722 {
28723 PyThreadState* __tstate = wxPyBeginAllowThreads();
28724 result = (long)(arg1)->GetMask();
28725 wxPyEndAllowThreads(__tstate);
28726 if (PyErr_Occurred()) SWIG_fail;
28727 }
28728 resultobj = SWIG_From_long(static_cast< long >(result));
28729 return resultobj;
28730fail:
28731 return NULL;
d55e5bfc
RD
28732}
28733
28734
554f62e9
RD
28735SWIGINTERN PyObject *_wrap_ListEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28736 PyObject *resultobj = 0;
28737 wxListEvent *arg1 = (wxListEvent *) 0 ;
28738 wxListItem *result = 0 ;
28739 void *argp1 = 0 ;
28740 int res1 = 0 ;
28741 PyObject *swig_obj[1] ;
28742
28743 if (!args) SWIG_fail;
28744 swig_obj[0] = args;
28745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28746 if (!SWIG_IsOK(res1)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28748 }
28749 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 28752 {
554f62e9
RD
28753 wxListItem const &_result_ref = (arg1)->GetItem();
28754 result = (wxListItem *) &_result_ref;
093d3ff1 28755 }
554f62e9
RD
28756 wxPyEndAllowThreads(__tstate);
28757 if (PyErr_Occurred()) SWIG_fail;
28758 }
28759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListItem, 0 | 0 );
28760 return resultobj;
28761fail:
28762 return NULL;
d55e5bfc
RD
28763}
28764
28765
554f62e9
RD
28766SWIGINTERN PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28767 PyObject *resultobj = 0;
28768 wxListEvent *arg1 = (wxListEvent *) 0 ;
28769 long result;
28770 void *argp1 = 0 ;
28771 int res1 = 0 ;
28772 PyObject *swig_obj[1] ;
28773
28774 if (!args) SWIG_fail;
28775 swig_obj[0] = args;
28776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28777 if (!SWIG_IsOK(res1)) {
28778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28779 }
28780 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 result = (long)(arg1)->GetCacheFrom();
28784 wxPyEndAllowThreads(__tstate);
28785 if (PyErr_Occurred()) SWIG_fail;
28786 }
28787 resultobj = SWIG_From_long(static_cast< long >(result));
28788 return resultobj;
28789fail:
28790 return NULL;
d55e5bfc
RD
28791}
28792
28793
554f62e9
RD
28794SWIGINTERN PyObject *_wrap_ListEvent_GetCacheTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28795 PyObject *resultobj = 0;
28796 wxListEvent *arg1 = (wxListEvent *) 0 ;
28797 long result;
28798 void *argp1 = 0 ;
28799 int res1 = 0 ;
28800 PyObject *swig_obj[1] ;
28801
28802 if (!args) SWIG_fail;
28803 swig_obj[0] = args;
28804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28805 if (!SWIG_IsOK(res1)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28807 }
28808 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28809 {
28810 PyThreadState* __tstate = wxPyBeginAllowThreads();
28811 result = (long)(arg1)->GetCacheTo();
28812 wxPyEndAllowThreads(__tstate);
28813 if (PyErr_Occurred()) SWIG_fail;
28814 }
28815 resultobj = SWIG_From_long(static_cast< long >(result));
28816 return resultobj;
28817fail:
28818 return NULL;
091fdbfa
RD
28819}
28820
28821
554f62e9
RD
28822SWIGINTERN PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28823 PyObject *resultobj = 0;
28824 wxListEvent *arg1 = (wxListEvent *) 0 ;
28825 bool result;
28826 void *argp1 = 0 ;
28827 int res1 = 0 ;
28828 PyObject *swig_obj[1] ;
28829
28830 if (!args) SWIG_fail;
28831 swig_obj[0] = args;
28832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28833 if (!SWIG_IsOK(res1)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28835 }
28836 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
28843 {
28844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28845 }
28846 return resultobj;
28847fail:
28848 return NULL;
28849}
28850
28851
28852SWIGINTERN PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28853 PyObject *resultobj = 0;
28854 wxListEvent *arg1 = (wxListEvent *) 0 ;
28855 bool arg2 ;
28856 void *argp1 = 0 ;
28857 int res1 = 0 ;
28858 bool val2 ;
28859 int ecode2 = 0 ;
28860 PyObject * obj0 = 0 ;
28861 PyObject * obj1 = 0 ;
28862 char * kwnames[] = {
28863 (char *) "self",(char *) "editCancelled", NULL
28864 };
28865
28866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
28867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListEvent, 0 | 0 );
28868 if (!SWIG_IsOK(res1)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28870 }
28871 arg1 = reinterpret_cast< wxListEvent * >(argp1);
28872 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28873 if (!SWIG_IsOK(ecode2)) {
28874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28875 }
28876 arg2 = static_cast< bool >(val2);
28877 {
28878 PyThreadState* __tstate = wxPyBeginAllowThreads();
28879 (arg1)->SetEditCanceled(arg2);
28880 wxPyEndAllowThreads(__tstate);
28881 if (PyErr_Occurred()) SWIG_fail;
28882 }
28883 resultobj = SWIG_Py_Void();
28884 return resultobj;
28885fail:
28886 return NULL;
28887}
28888
28889
28890SWIGINTERN PyObject *ListEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28891 PyObject *obj;
28892 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28893 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent, SWIG_NewClientData(obj));
28894 return SWIG_Py_Void();
28895}
28896
28897SWIGINTERN PyObject *ListEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28898 return SWIG_Python_InitShadowInstance(args);
28899}
28900
28901SWIGINTERN PyObject *_wrap_new_ListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28902 PyObject *resultobj = 0;
28903 wxWindow *arg1 = (wxWindow *) 0 ;
28904 int arg2 = (int) -1 ;
28905 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28906 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28907 wxSize const &arg4_defvalue = wxDefaultSize ;
28908 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28909 long arg5 = (long) wxLC_ICON ;
28910 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28911 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28912 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
28913 wxString *arg7 = (wxString *) &arg7_defvalue ;
28914 wxPyListCtrl *result = 0 ;
28915 void *argp1 = 0 ;
28916 int res1 = 0 ;
28917 int val2 ;
28918 int ecode2 = 0 ;
28919 wxPoint temp3 ;
28920 wxSize temp4 ;
28921 long val5 ;
28922 int ecode5 = 0 ;
28923 void *argp6 = 0 ;
28924 int res6 = 0 ;
28925 bool temp7 = false ;
28926 PyObject * obj0 = 0 ;
28927 PyObject * obj1 = 0 ;
28928 PyObject * obj2 = 0 ;
28929 PyObject * obj3 = 0 ;
28930 PyObject * obj4 = 0 ;
28931 PyObject * obj5 = 0 ;
28932 PyObject * obj6 = 0 ;
28933 char * kwnames[] = {
28934 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28935 };
28936
28937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28939 if (!SWIG_IsOK(res1)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28941 }
28942 arg1 = reinterpret_cast< wxWindow * >(argp1);
28943 if (obj1) {
28944 ecode2 = SWIG_AsVal_int(obj1, &val2);
28945 if (!SWIG_IsOK(ecode2)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28947 }
28948 arg2 = static_cast< int >(val2);
28949 }
28950 if (obj2) {
f20a2e1f 28951 {
554f62e9
RD
28952 arg3 = &temp3;
28953 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 28954 }
554f62e9
RD
28955 }
28956 if (obj3) {
d55e5bfc 28957 {
554f62e9
RD
28958 arg4 = &temp4;
28959 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28960 }
554f62e9
RD
28961 }
28962 if (obj4) {
28963 ecode5 = SWIG_AsVal_long(obj4, &val5);
28964 if (!SWIG_IsOK(ecode5)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28966 }
28967 arg5 = static_cast< long >(val5);
28968 }
28969 if (obj5) {
28970 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
28971 if (!SWIG_IsOK(res6)) {
28972 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28973 }
554f62e9
RD
28974 if (!argp6) {
28975 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 28976 }
554f62e9
RD
28977 arg6 = reinterpret_cast< wxValidator * >(argp6);
28978 }
28979 if (obj6) {
d55e5bfc 28980 {
554f62e9
RD
28981 arg7 = wxString_in_helper(obj6);
28982 if (arg7 == NULL) SWIG_fail;
28983 temp7 = true;
d55e5bfc 28984 }
554f62e9
RD
28985 }
28986 {
28987 if (!wxPyCheckForApp()) SWIG_fail;
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28990 wxPyEndAllowThreads(__tstate);
28991 if (PyErr_Occurred()) SWIG_fail;
28992 }
28993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_NEW | 0 );
28994 {
28995 if (temp7)
28996 delete arg7;
28997 }
28998 return resultobj;
28999fail:
29000 {
29001 if (temp7)
29002 delete arg7;
29003 }
29004 return NULL;
d55e5bfc
RD
29005}
29006
29007
554f62e9
RD
29008SWIGINTERN PyObject *_wrap_new_PreListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29009 PyObject *resultobj = 0;
29010 wxPyListCtrl *result = 0 ;
29011
29012 if (!SWIG_Python_UnpackTuple(args,"new_PreListCtrl",0,0,0)) SWIG_fail;
29013 {
29014 if (!wxPyCheckForApp()) SWIG_fail;
29015 PyThreadState* __tstate = wxPyBeginAllowThreads();
29016 result = (wxPyListCtrl *)new wxPyListCtrl();
29017 wxPyEndAllowThreads(__tstate);
29018 if (PyErr_Occurred()) SWIG_fail;
29019 }
29020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, SWIG_POINTER_OWN | 0 );
29021 return resultobj;
29022fail:
29023 return NULL;
29024}
29025
29026
29027SWIGINTERN PyObject *_wrap_ListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29028 PyObject *resultobj = 0;
29029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29030 wxWindow *arg2 = (wxWindow *) 0 ;
29031 int arg3 = (int) -1 ;
29032 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29033 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29034 wxSize const &arg5_defvalue = wxDefaultSize ;
29035 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29036 long arg6 = (long) wxLC_ICON ;
29037 wxValidator const &arg7_defvalue = wxDefaultValidator ;
29038 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
29039 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
29040 wxString *arg8 = (wxString *) &arg8_defvalue ;
29041 bool result;
29042 void *argp1 = 0 ;
29043 int res1 = 0 ;
29044 void *argp2 = 0 ;
29045 int res2 = 0 ;
29046 int val3 ;
29047 int ecode3 = 0 ;
29048 wxPoint temp4 ;
29049 wxSize temp5 ;
29050 long val6 ;
29051 int ecode6 = 0 ;
29052 void *argp7 = 0 ;
29053 int res7 = 0 ;
29054 bool temp8 = false ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 PyObject * obj2 = 0 ;
29058 PyObject * obj3 = 0 ;
29059 PyObject * obj4 = 0 ;
29060 PyObject * obj5 = 0 ;
29061 PyObject * obj6 = 0 ;
29062 PyObject * obj7 = 0 ;
29063 char * kwnames[] = {
29064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29065 };
29066
29067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
29068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29069 if (!SWIG_IsOK(res1)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29071 }
29072 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29073 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29074 if (!SWIG_IsOK(res2)) {
29075 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29076 }
29077 arg2 = reinterpret_cast< wxWindow * >(argp2);
29078 if (obj2) {
29079 ecode3 = SWIG_AsVal_int(obj2, &val3);
29080 if (!SWIG_IsOK(ecode3)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29082 }
29083 arg3 = static_cast< int >(val3);
29084 }
29085 if (obj3) {
d55e5bfc 29086 {
554f62e9
RD
29087 arg4 = &temp4;
29088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29089 }
554f62e9
RD
29090 }
29091 if (obj4) {
d55e5bfc 29092 {
554f62e9
RD
29093 arg5 = &temp5;
29094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29095 }
554f62e9
RD
29096 }
29097 if (obj5) {
29098 ecode6 = SWIG_AsVal_long(obj5, &val6);
29099 if (!SWIG_IsOK(ecode6)) {
29100 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29101 }
29102 arg6 = static_cast< long >(val6);
29103 }
29104 if (obj6) {
29105 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
29106 if (!SWIG_IsOK(res7)) {
29107 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 29108 }
554f62e9
RD
29109 if (!argp7) {
29110 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 29111 }
554f62e9
RD
29112 arg7 = reinterpret_cast< wxValidator * >(argp7);
29113 }
29114 if (obj7) {
d55e5bfc 29115 {
554f62e9
RD
29116 arg8 = wxString_in_helper(obj7);
29117 if (arg8 == NULL) SWIG_fail;
29118 temp8 = true;
d55e5bfc 29119 }
554f62e9
RD
29120 }
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
29124 wxPyEndAllowThreads(__tstate);
29125 if (PyErr_Occurred()) SWIG_fail;
29126 }
29127 {
29128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29129 }
29130 {
29131 if (temp8)
29132 delete arg8;
29133 }
29134 return resultobj;
29135fail:
29136 {
29137 if (temp8)
29138 delete arg8;
29139 }
29140 return NULL;
29141}
29142
29143
29144SWIGINTERN PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29145 PyObject *resultobj = 0;
29146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29147 PyObject *arg2 = (PyObject *) 0 ;
29148 PyObject *arg3 = (PyObject *) 0 ;
29149 void *argp1 = 0 ;
29150 int res1 = 0 ;
29151 PyObject * obj0 = 0 ;
29152 PyObject * obj1 = 0 ;
29153 PyObject * obj2 = 0 ;
29154 char * kwnames[] = {
29155 (char *) "self",(char *) "self",(char *) "_class", NULL
29156 };
29157
29158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29160 if (!SWIG_IsOK(res1)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29162 }
29163 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29164 arg2 = obj1;
29165 arg3 = obj2;
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 (arg1)->_setCallbackInfo(arg2,arg3);
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 resultobj = SWIG_Py_Void();
29173 return resultobj;
29174fail:
29175 return NULL;
29176}
29177
29178
29179SWIGINTERN PyObject *_wrap_ListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29180 PyObject *resultobj = 0;
29181 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29182 int arg2 ;
29183 wxListItem *result = 0 ;
29184 void *argp1 = 0 ;
29185 int res1 = 0 ;
29186 int val2 ;
29187 int ecode2 = 0 ;
29188 PyObject * obj0 = 0 ;
29189 PyObject * obj1 = 0 ;
29190 char * kwnames[] = {
29191 (char *) "self",(char *) "col", NULL
29192 };
29193
29194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
29195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29196 if (!SWIG_IsOK(res1)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29198 }
29199 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29200 ecode2 = SWIG_AsVal_int(obj1, &val2);
29201 if (!SWIG_IsOK(ecode2)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29203 }
29204 arg2 = static_cast< int >(val2);
29205 {
29206 PyThreadState* __tstate = wxPyBeginAllowThreads();
29207 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
29208 wxPyEndAllowThreads(__tstate);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 {
3ecece7e 29212 resultobj = wxPyMake_wxObject(result, 0);
554f62e9
RD
29213 }
29214 return resultobj;
29215fail:
29216 return NULL;
29217}
29218
29219
29220SWIGINTERN PyObject *_wrap_ListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29221 PyObject *resultobj = 0;
29222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29223 int arg2 ;
29224 wxListItem *arg3 = 0 ;
29225 bool result;
29226 void *argp1 = 0 ;
29227 int res1 = 0 ;
29228 int val2 ;
29229 int ecode2 = 0 ;
29230 void *argp3 = 0 ;
29231 int res3 = 0 ;
29232 PyObject * obj0 = 0 ;
29233 PyObject * obj1 = 0 ;
29234 PyObject * obj2 = 0 ;
29235 char * kwnames[] = {
29236 (char *) "self",(char *) "col",(char *) "item", NULL
29237 };
29238
29239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29241 if (!SWIG_IsOK(res1)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29243 }
29244 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29245 ecode2 = SWIG_AsVal_int(obj1, &val2);
29246 if (!SWIG_IsOK(ecode2)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29248 }
29249 arg2 = static_cast< int >(val2);
29250 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
29251 if (!SWIG_IsOK(res3)) {
29252 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29253 }
29254 if (!argp3) {
29255 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29256 }
29257 arg3 = reinterpret_cast< wxListItem * >(argp3);
29258 {
29259 PyThreadState* __tstate = wxPyBeginAllowThreads();
29260 result = (bool)(arg1)->SetColumn(arg2,*arg3);
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 {
29265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29266 }
29267 return resultobj;
29268fail:
29269 return NULL;
29270}
29271
29272
29273SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29274 PyObject *resultobj = 0;
29275 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29276 int arg2 ;
29277 int result;
29278 void *argp1 = 0 ;
29279 int res1 = 0 ;
29280 int val2 ;
29281 int ecode2 = 0 ;
29282 PyObject * obj0 = 0 ;
29283 PyObject * obj1 = 0 ;
29284 char * kwnames[] = {
29285 (char *) "self",(char *) "col", NULL
29286 };
29287
29288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
29289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29290 if (!SWIG_IsOK(res1)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29292 }
29293 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29294 ecode2 = SWIG_AsVal_int(obj1, &val2);
29295 if (!SWIG_IsOK(ecode2)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29297 }
29298 arg2 = static_cast< int >(val2);
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
29301 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
29302 wxPyEndAllowThreads(__tstate);
29303 if (PyErr_Occurred()) SWIG_fail;
29304 }
29305 resultobj = SWIG_From_int(static_cast< int >(result));
29306 return resultobj;
29307fail:
29308 return NULL;
29309}
29310
29311
29312SWIGINTERN PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29313 PyObject *resultobj = 0;
29314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29315 int arg2 ;
29316 int arg3 ;
29317 bool result;
29318 void *argp1 = 0 ;
29319 int res1 = 0 ;
29320 int val2 ;
29321 int ecode2 = 0 ;
29322 int val3 ;
29323 int ecode3 = 0 ;
29324 PyObject * obj0 = 0 ;
29325 PyObject * obj1 = 0 ;
29326 PyObject * obj2 = 0 ;
29327 char * kwnames[] = {
29328 (char *) "self",(char *) "col",(char *) "width", NULL
29329 };
29330
29331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29333 if (!SWIG_IsOK(res1)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29335 }
29336 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29337 ecode2 = SWIG_AsVal_int(obj1, &val2);
29338 if (!SWIG_IsOK(ecode2)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29340 }
29341 arg2 = static_cast< int >(val2);
29342 ecode3 = SWIG_AsVal_int(obj2, &val3);
29343 if (!SWIG_IsOK(ecode3)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29345 }
29346 arg3 = static_cast< int >(val3);
29347 {
29348 PyThreadState* __tstate = wxPyBeginAllowThreads();
29349 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
29350 wxPyEndAllowThreads(__tstate);
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
29353 {
29354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29355 }
29356 return resultobj;
29357fail:
29358 return NULL;
d55e5bfc
RD
29359}
29360
29361
554f62e9
RD
29362SWIGINTERN PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29363 PyObject *resultobj = 0;
29364 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29365 int result;
29366 void *argp1 = 0 ;
29367 int res1 = 0 ;
29368 PyObject *swig_obj[1] ;
29369
29370 if (!args) SWIG_fail;
29371 swig_obj[0] = args;
29372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29373 if (!SWIG_IsOK(res1)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29375 }
29376 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29377 {
29378 PyThreadState* __tstate = wxPyBeginAllowThreads();
29379 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
29380 wxPyEndAllowThreads(__tstate);
29381 if (PyErr_Occurred()) SWIG_fail;
29382 }
29383 resultobj = SWIG_From_int(static_cast< int >(result));
29384 return resultobj;
29385fail:
29386 return NULL;
7e08d4ef
RD
29387}
29388
29389
554f62e9
RD
29390SWIGINTERN PyObject *_wrap_ListCtrl_GetViewRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29391 PyObject *resultobj = 0;
29392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29393 wxRect result;
29394 void *argp1 = 0 ;
29395 int res1 = 0 ;
29396 PyObject *swig_obj[1] ;
29397
29398 if (!args) SWIG_fail;
29399 swig_obj[0] = args;
29400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29401 if (!SWIG_IsOK(res1)) {
29402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29403 }
29404 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29405 {
29406 PyThreadState* __tstate = wxPyBeginAllowThreads();
29407 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
29408 wxPyEndAllowThreads(__tstate);
29409 if (PyErr_Occurred()) SWIG_fail;
29410 }
29411 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29412 return resultobj;
29413fail:
29414 return NULL;
7e08d4ef
RD
29415}
29416
29417
554f62e9
RD
29418SWIGINTERN PyObject *_wrap_ListCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29419 PyObject *resultobj = 0;
29420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29421 wxTextCtrl *result = 0 ;
29422 void *argp1 = 0 ;
29423 int res1 = 0 ;
29424 PyObject *swig_obj[1] ;
29425
29426 if (!args) SWIG_fail;
29427 swig_obj[0] = args;
29428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29429 if (!SWIG_IsOK(res1)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29431 }
29432 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29433 {
29434 PyThreadState* __tstate = wxPyBeginAllowThreads();
29435 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
29436 wxPyEndAllowThreads(__tstate);
29437 if (PyErr_Occurred()) SWIG_fail;
29438 }
29439 {
29440 resultobj = wxPyMake_wxObject(result, 0);
29441 }
29442 return resultobj;
29443fail:
29444 return NULL;
29445}
29446
29447
29448SWIGINTERN PyObject *_wrap_ListCtrl_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29449 PyObject *resultobj = 0;
29450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29451 long arg2 ;
29452 int arg3 = (int) 0 ;
29453 wxListItem *result = 0 ;
29454 void *argp1 = 0 ;
29455 int res1 = 0 ;
29456 long val2 ;
29457 int ecode2 = 0 ;
29458 int val3 ;
29459 int ecode3 = 0 ;
29460 PyObject * obj0 = 0 ;
29461 PyObject * obj1 = 0 ;
29462 PyObject * obj2 = 0 ;
29463 char * kwnames[] = {
29464 (char *) "self",(char *) "itemId",(char *) "col", NULL
29465 };
29466
29467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29469 if (!SWIG_IsOK(res1)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29471 }
29472 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29473 ecode2 = SWIG_AsVal_long(obj1, &val2);
29474 if (!SWIG_IsOK(ecode2)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29476 }
29477 arg2 = static_cast< long >(val2);
29478 if (obj2) {
29479 ecode3 = SWIG_AsVal_int(obj2, &val3);
29480 if (!SWIG_IsOK(ecode3)) {
29481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29482 }
29483 arg3 = static_cast< int >(val3);
29484 }
29485 {
29486 PyThreadState* __tstate = wxPyBeginAllowThreads();
29487 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
29488 wxPyEndAllowThreads(__tstate);
29489 if (PyErr_Occurred()) SWIG_fail;
29490 }
29491 {
3ecece7e 29492 resultobj = wxPyMake_wxObject(result, 0);
554f62e9
RD
29493 }
29494 return resultobj;
29495fail:
29496 return NULL;
29497}
29498
29499
29500SWIGINTERN PyObject *_wrap_ListCtrl_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29501 PyObject *resultobj = 0;
29502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29503 wxListItem *arg2 = 0 ;
29504 bool result;
29505 void *argp1 = 0 ;
29506 int res1 = 0 ;
29507 void *argp2 = 0 ;
29508 int res2 = 0 ;
29509 PyObject * obj0 = 0 ;
29510 PyObject * obj1 = 0 ;
29511 char * kwnames[] = {
29512 (char *) "self",(char *) "info", NULL
29513 };
29514
29515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
29516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29517 if (!SWIG_IsOK(res1)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29519 }
29520 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29521 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
29522 if (!SWIG_IsOK(res2)) {
29523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29524 }
29525 if (!argp2) {
29526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29527 }
29528 arg2 = reinterpret_cast< wxListItem * >(argp2);
29529 {
29530 PyThreadState* __tstate = wxPyBeginAllowThreads();
29531 result = (bool)(arg1)->SetItem(*arg2);
29532 wxPyEndAllowThreads(__tstate);
29533 if (PyErr_Occurred()) SWIG_fail;
29534 }
29535 {
29536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29537 }
29538 return resultobj;
29539fail:
29540 return NULL;
29541}
29542
29543
29544SWIGINTERN PyObject *_wrap_ListCtrl_SetStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29545 PyObject *resultobj = 0;
29546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29547 long arg2 ;
29548 int arg3 ;
29549 wxString *arg4 = 0 ;
29550 int arg5 = (int) -1 ;
29551 long result;
29552 void *argp1 = 0 ;
29553 int res1 = 0 ;
29554 long val2 ;
29555 int ecode2 = 0 ;
29556 int val3 ;
29557 int ecode3 = 0 ;
29558 bool temp4 = false ;
29559 int val5 ;
29560 int ecode5 = 0 ;
29561 PyObject * obj0 = 0 ;
29562 PyObject * obj1 = 0 ;
29563 PyObject * obj2 = 0 ;
29564 PyObject * obj3 = 0 ;
29565 PyObject * obj4 = 0 ;
29566 char * kwnames[] = {
29567 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29568 };
29569
29570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
29571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29572 if (!SWIG_IsOK(res1)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29574 }
29575 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29576 ecode2 = SWIG_AsVal_long(obj1, &val2);
29577 if (!SWIG_IsOK(ecode2)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29579 }
29580 arg2 = static_cast< long >(val2);
29581 ecode3 = SWIG_AsVal_int(obj2, &val3);
29582 if (!SWIG_IsOK(ecode3)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29584 }
29585 arg3 = static_cast< int >(val3);
29586 {
29587 arg4 = wxString_in_helper(obj3);
29588 if (arg4 == NULL) SWIG_fail;
29589 temp4 = true;
29590 }
29591 if (obj4) {
29592 ecode5 = SWIG_AsVal_int(obj4, &val5);
29593 if (!SWIG_IsOK(ecode5)) {
29594 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29595 }
29596 arg5 = static_cast< int >(val5);
29597 }
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 resultobj = SWIG_From_long(static_cast< long >(result));
29605 {
29606 if (temp4)
29607 delete arg4;
29608 }
29609 return resultobj;
29610fail:
29611 {
29612 if (temp4)
29613 delete arg4;
29614 }
29615 return NULL;
29616}
29617
29618
29619SWIGINTERN PyObject *_wrap_ListCtrl_GetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29620 PyObject *resultobj = 0;
29621 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29622 long arg2 ;
29623 long arg3 ;
29624 int result;
29625 void *argp1 = 0 ;
29626 int res1 = 0 ;
29627 long val2 ;
29628 int ecode2 = 0 ;
29629 long val3 ;
29630 int ecode3 = 0 ;
29631 PyObject * obj0 = 0 ;
29632 PyObject * obj1 = 0 ;
29633 PyObject * obj2 = 0 ;
29634 char * kwnames[] = {
29635 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29636 };
29637
29638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29640 if (!SWIG_IsOK(res1)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29642 }
29643 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29644 ecode2 = SWIG_AsVal_long(obj1, &val2);
29645 if (!SWIG_IsOK(ecode2)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29647 }
29648 arg2 = static_cast< long >(val2);
29649 ecode3 = SWIG_AsVal_long(obj2, &val3);
29650 if (!SWIG_IsOK(ecode3)) {
29651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29652 }
29653 arg3 = static_cast< long >(val3);
29654 {
29655 PyThreadState* __tstate = wxPyBeginAllowThreads();
29656 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
29657 wxPyEndAllowThreads(__tstate);
29658 if (PyErr_Occurred()) SWIG_fail;
29659 }
29660 resultobj = SWIG_From_int(static_cast< int >(result));
29661 return resultobj;
29662fail:
29663 return NULL;
29664}
29665
29666
29667SWIGINTERN PyObject *_wrap_ListCtrl_SetItemState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29668 PyObject *resultobj = 0;
29669 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29670 long arg2 ;
29671 long arg3 ;
29672 long arg4 ;
29673 bool result;
29674 void *argp1 = 0 ;
29675 int res1 = 0 ;
29676 long val2 ;
29677 int ecode2 = 0 ;
29678 long val3 ;
29679 int ecode3 = 0 ;
29680 long val4 ;
29681 int ecode4 = 0 ;
29682 PyObject * obj0 = 0 ;
29683 PyObject * obj1 = 0 ;
29684 PyObject * obj2 = 0 ;
29685 PyObject * obj3 = 0 ;
29686 char * kwnames[] = {
29687 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29688 };
29689
29690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29692 if (!SWIG_IsOK(res1)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29694 }
29695 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29696 ecode2 = SWIG_AsVal_long(obj1, &val2);
29697 if (!SWIG_IsOK(ecode2)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29699 }
29700 arg2 = static_cast< long >(val2);
29701 ecode3 = SWIG_AsVal_long(obj2, &val3);
29702 if (!SWIG_IsOK(ecode3)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29704 }
29705 arg3 = static_cast< long >(val3);
29706 ecode4 = SWIG_AsVal_long(obj3, &val4);
29707 if (!SWIG_IsOK(ecode4)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29709 }
29710 arg4 = static_cast< long >(val4);
29711 {
29712 PyThreadState* __tstate = wxPyBeginAllowThreads();
29713 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 {
29718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29719 }
29720 return resultobj;
29721fail:
29722 return NULL;
29723}
29724
29725
29726SWIGINTERN PyObject *_wrap_ListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29727 PyObject *resultobj = 0;
29728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29729 long arg2 ;
29730 int arg3 ;
29731 int arg4 = (int) -1 ;
29732 bool result;
29733 void *argp1 = 0 ;
29734 int res1 = 0 ;
29735 long val2 ;
29736 int ecode2 = 0 ;
29737 int val3 ;
29738 int ecode3 = 0 ;
29739 int val4 ;
29740 int ecode4 = 0 ;
29741 PyObject * obj0 = 0 ;
29742 PyObject * obj1 = 0 ;
29743 PyObject * obj2 = 0 ;
29744 PyObject * obj3 = 0 ;
29745 char * kwnames[] = {
29746 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29747 };
29748
29749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29751 if (!SWIG_IsOK(res1)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29753 }
29754 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29755 ecode2 = SWIG_AsVal_long(obj1, &val2);
29756 if (!SWIG_IsOK(ecode2)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29758 }
29759 arg2 = static_cast< long >(val2);
29760 ecode3 = SWIG_AsVal_int(obj2, &val3);
29761 if (!SWIG_IsOK(ecode3)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29763 }
29764 arg3 = static_cast< int >(val3);
29765 if (obj3) {
29766 ecode4 = SWIG_AsVal_int(obj3, &val4);
29767 if (!SWIG_IsOK(ecode4)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29769 }
29770 arg4 = static_cast< int >(val4);
29771 }
29772 {
29773 PyThreadState* __tstate = wxPyBeginAllowThreads();
29774 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
29775 wxPyEndAllowThreads(__tstate);
29776 if (PyErr_Occurred()) SWIG_fail;
29777 }
29778 {
29779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29780 }
29781 return resultobj;
29782fail:
29783 return NULL;
29784}
29785
29786
29787SWIGINTERN PyObject *_wrap_ListCtrl_SetItemColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29788 PyObject *resultobj = 0;
29789 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29790 long arg2 ;
29791 long arg3 ;
29792 int arg4 ;
29793 bool result;
29794 void *argp1 = 0 ;
29795 int res1 = 0 ;
29796 long val2 ;
29797 int ecode2 = 0 ;
29798 long val3 ;
29799 int ecode3 = 0 ;
29800 int val4 ;
29801 int ecode4 = 0 ;
29802 PyObject * obj0 = 0 ;
29803 PyObject * obj1 = 0 ;
29804 PyObject * obj2 = 0 ;
29805 PyObject * obj3 = 0 ;
29806 char * kwnames[] = {
29807 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29808 };
29809
29810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
29811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29812 if (!SWIG_IsOK(res1)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29814 }
29815 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29816 ecode2 = SWIG_AsVal_long(obj1, &val2);
29817 if (!SWIG_IsOK(ecode2)) {
29818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29819 }
29820 arg2 = static_cast< long >(val2);
29821 ecode3 = SWIG_AsVal_long(obj2, &val3);
29822 if (!SWIG_IsOK(ecode3)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29824 }
29825 arg3 = static_cast< long >(val3);
29826 ecode4 = SWIG_AsVal_int(obj3, &val4);
29827 if (!SWIG_IsOK(ecode4)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29829 }
29830 arg4 = static_cast< int >(val4);
29831 {
29832 PyThreadState* __tstate = wxPyBeginAllowThreads();
29833 result = (bool)(arg1)->SetItemColumnImage(arg2,arg3,arg4);
29834 wxPyEndAllowThreads(__tstate);
29835 if (PyErr_Occurred()) SWIG_fail;
29836 }
29837 {
29838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29839 }
29840 return resultobj;
29841fail:
29842 return NULL;
29843}
29844
29845
29846SWIGINTERN PyObject *_wrap_ListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29847 PyObject *resultobj = 0;
29848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29849 long arg2 ;
29850 wxString result;
29851 void *argp1 = 0 ;
29852 int res1 = 0 ;
29853 long val2 ;
29854 int ecode2 = 0 ;
29855 PyObject * obj0 = 0 ;
29856 PyObject * obj1 = 0 ;
29857 char * kwnames[] = {
29858 (char *) "self",(char *) "item", NULL
29859 };
29860
29861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
29862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29863 if (!SWIG_IsOK(res1)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29865 }
29866 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29867 ecode2 = SWIG_AsVal_long(obj1, &val2);
29868 if (!SWIG_IsOK(ecode2)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29870 }
29871 arg2 = static_cast< long >(val2);
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
29874 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
29875 wxPyEndAllowThreads(__tstate);
29876 if (PyErr_Occurred()) SWIG_fail;
29877 }
29878 {
29879#if wxUSE_UNICODE
29880 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29881#else
29882 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29883#endif
29884 }
29885 return resultobj;
29886fail:
29887 return NULL;
29888}
29889
29890
29891SWIGINTERN PyObject *_wrap_ListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29892 PyObject *resultobj = 0;
29893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29894 long arg2 ;
29895 wxString *arg3 = 0 ;
29896 void *argp1 = 0 ;
29897 int res1 = 0 ;
29898 long val2 ;
29899 int ecode2 = 0 ;
29900 bool temp3 = false ;
29901 PyObject * obj0 = 0 ;
29902 PyObject * obj1 = 0 ;
29903 PyObject * obj2 = 0 ;
29904 char * kwnames[] = {
29905 (char *) "self",(char *) "item",(char *) "str", NULL
29906 };
29907
29908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29910 if (!SWIG_IsOK(res1)) {
29911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29912 }
29913 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29914 ecode2 = SWIG_AsVal_long(obj1, &val2);
29915 if (!SWIG_IsOK(ecode2)) {
29916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29917 }
29918 arg2 = static_cast< long >(val2);
29919 {
29920 arg3 = wxString_in_helper(obj2);
29921 if (arg3 == NULL) SWIG_fail;
29922 temp3 = true;
29923 }
29924 {
29925 PyThreadState* __tstate = wxPyBeginAllowThreads();
29926 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
29927 wxPyEndAllowThreads(__tstate);
29928 if (PyErr_Occurred()) SWIG_fail;
29929 }
29930 resultobj = SWIG_Py_Void();
29931 {
29932 if (temp3)
29933 delete arg3;
29934 }
29935 return resultobj;
29936fail:
29937 {
29938 if (temp3)
29939 delete arg3;
29940 }
29941 return NULL;
29942}
29943
29944
29945SWIGINTERN PyObject *_wrap_ListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29946 PyObject *resultobj = 0;
29947 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29948 long arg2 ;
29949 long result;
29950 void *argp1 = 0 ;
29951 int res1 = 0 ;
29952 long val2 ;
29953 int ecode2 = 0 ;
29954 PyObject * obj0 = 0 ;
29955 PyObject * obj1 = 0 ;
29956 char * kwnames[] = {
29957 (char *) "self",(char *) "item", NULL
29958 };
29959
29960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
29961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
29962 if (!SWIG_IsOK(res1)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29964 }
29965 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
29966 ecode2 = SWIG_AsVal_long(obj1, &val2);
29967 if (!SWIG_IsOK(ecode2)) {
29968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29969 }
29970 arg2 = static_cast< long >(val2);
29971 {
29972 PyThreadState* __tstate = wxPyBeginAllowThreads();
29973 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
29974 wxPyEndAllowThreads(__tstate);
29975 if (PyErr_Occurred()) SWIG_fail;
29976 }
29977 resultobj = SWIG_From_long(static_cast< long >(result));
29978 return resultobj;
29979fail:
29980 return NULL;
29981}
29982
29983
29984SWIGINTERN PyObject *_wrap_ListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29985 PyObject *resultobj = 0;
29986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
29987 long arg2 ;
29988 long arg3 ;
29989 bool result;
29990 void *argp1 = 0 ;
29991 int res1 = 0 ;
29992 long val2 ;
29993 int ecode2 = 0 ;
29994 long val3 ;
29995 int ecode3 = 0 ;
29996 PyObject * obj0 = 0 ;
29997 PyObject * obj1 = 0 ;
29998 PyObject * obj2 = 0 ;
29999 char * kwnames[] = {
30000 (char *) "self",(char *) "item",(char *) "data", NULL
30001 };
30002
30003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30005 if (!SWIG_IsOK(res1)) {
30006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30007 }
30008 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30009 ecode2 = SWIG_AsVal_long(obj1, &val2);
30010 if (!SWIG_IsOK(ecode2)) {
30011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30012 }
30013 arg2 = static_cast< long >(val2);
30014 ecode3 = SWIG_AsVal_long(obj2, &val3);
30015 if (!SWIG_IsOK(ecode3)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30017 }
30018 arg3 = static_cast< long >(val3);
30019 {
30020 PyThreadState* __tstate = wxPyBeginAllowThreads();
30021 result = (bool)(arg1)->SetItemData(arg2,arg3);
30022 wxPyEndAllowThreads(__tstate);
30023 if (PyErr_Occurred()) SWIG_fail;
30024 }
30025 {
30026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30027 }
30028 return resultobj;
30029fail:
30030 return NULL;
30031}
30032
30033
30034SWIGINTERN PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30035 PyObject *resultobj = 0;
30036 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30037 long arg2 ;
30038 wxPoint result;
30039 void *argp1 = 0 ;
30040 int res1 = 0 ;
30041 long val2 ;
30042 int ecode2 = 0 ;
30043 PyObject * obj0 = 0 ;
30044 PyObject * obj1 = 0 ;
30045 char * kwnames[] = {
30046 (char *) "self",(char *) "item", NULL
30047 };
30048
30049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) SWIG_fail;
30050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30051 if (!SWIG_IsOK(res1)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30053 }
30054 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30055 ecode2 = SWIG_AsVal_long(obj1, &val2);
30056 if (!SWIG_IsOK(ecode2)) {
30057 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30058 }
30059 arg2 = static_cast< long >(val2);
30060 {
30061 PyThreadState* __tstate = wxPyBeginAllowThreads();
30062 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
30063 wxPyEndAllowThreads(__tstate);
30064 if (PyErr_Occurred()) SWIG_fail;
30065 }
30066 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
30067 return resultobj;
30068fail:
30069 return NULL;
30070}
30071
30072
30073SWIGINTERN PyObject *_wrap_ListCtrl_GetItemRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30074 PyObject *resultobj = 0;
30075 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30076 long arg2 ;
30077 int arg3 = (int) wxLIST_RECT_BOUNDS ;
30078 wxRect result;
30079 void *argp1 = 0 ;
30080 int res1 = 0 ;
30081 long val2 ;
30082 int ecode2 = 0 ;
30083 int val3 ;
30084 int ecode3 = 0 ;
30085 PyObject * obj0 = 0 ;
30086 PyObject * obj1 = 0 ;
30087 PyObject * obj2 = 0 ;
30088 char * kwnames[] = {
30089 (char *) "self",(char *) "item",(char *) "code", NULL
30090 };
30091
30092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30094 if (!SWIG_IsOK(res1)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30096 }
30097 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30098 ecode2 = SWIG_AsVal_long(obj1, &val2);
30099 if (!SWIG_IsOK(ecode2)) {
30100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30101 }
30102 arg2 = static_cast< long >(val2);
30103 if (obj2) {
30104 ecode3 = SWIG_AsVal_int(obj2, &val3);
30105 if (!SWIG_IsOK(ecode3)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30107 }
30108 arg3 = static_cast< int >(val3);
30109 }
30110 {
30111 PyThreadState* __tstate = wxPyBeginAllowThreads();
30112 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
30113 wxPyEndAllowThreads(__tstate);
30114 if (PyErr_Occurred()) SWIG_fail;
30115 }
30116 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30117 return resultobj;
30118fail:
30119 return NULL;
30120}
30121
30122
30123SWIGINTERN PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30124 PyObject *resultobj = 0;
30125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30126 long arg2 ;
30127 wxPoint *arg3 = 0 ;
30128 bool result;
30129 void *argp1 = 0 ;
30130 int res1 = 0 ;
30131 long val2 ;
30132 int ecode2 = 0 ;
30133 wxPoint temp3 ;
30134 PyObject * obj0 = 0 ;
30135 PyObject * obj1 = 0 ;
30136 PyObject * obj2 = 0 ;
30137 char * kwnames[] = {
30138 (char *) "self",(char *) "item",(char *) "pos", NULL
30139 };
30140
30141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30143 if (!SWIG_IsOK(res1)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30145 }
30146 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30147 ecode2 = SWIG_AsVal_long(obj1, &val2);
30148 if (!SWIG_IsOK(ecode2)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30150 }
30151 arg2 = static_cast< long >(val2);
30152 {
30153 arg3 = &temp3;
30154 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30155 }
30156 {
30157 PyThreadState* __tstate = wxPyBeginAllowThreads();
30158 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 {
30163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30164 }
30165 return resultobj;
30166fail:
30167 return NULL;
7e08d4ef
RD
30168}
30169
30170
554f62e9
RD
30171SWIGINTERN PyObject *_wrap_ListCtrl_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30172 PyObject *resultobj = 0;
30173 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30174 int result;
30175 void *argp1 = 0 ;
30176 int res1 = 0 ;
30177 PyObject *swig_obj[1] ;
30178
30179 if (!args) SWIG_fail;
30180 swig_obj[0] = args;
30181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30182 if (!SWIG_IsOK(res1)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30184 }
30185 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30186 {
30187 PyThreadState* __tstate = wxPyBeginAllowThreads();
30188 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
30189 wxPyEndAllowThreads(__tstate);
30190 if (PyErr_Occurred()) SWIG_fail;
30191 }
30192 resultobj = SWIG_From_int(static_cast< int >(result));
30193 return resultobj;
30194fail:
30195 return NULL;
7e08d4ef
RD
30196}
30197
30198
554f62e9
RD
30199SWIGINTERN PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30200 PyObject *resultobj = 0;
30201 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30202 int result;
30203 void *argp1 = 0 ;
30204 int res1 = 0 ;
30205 PyObject *swig_obj[1] ;
30206
30207 if (!args) SWIG_fail;
30208 swig_obj[0] = args;
30209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30210 if (!SWIG_IsOK(res1)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30212 }
30213 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30214 {
30215 PyThreadState* __tstate = wxPyBeginAllowThreads();
30216 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
30217 wxPyEndAllowThreads(__tstate);
30218 if (PyErr_Occurred()) SWIG_fail;
30219 }
30220 resultobj = SWIG_From_int(static_cast< int >(result));
30221 return resultobj;
30222fail:
30223 return NULL;
7e08d4ef
RD
30224}
30225
30226
554f62e9
RD
30227SWIGINTERN PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30228 PyObject *resultobj = 0;
30229 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30230 wxSize result;
30231 void *argp1 = 0 ;
30232 int res1 = 0 ;
30233 PyObject *swig_obj[1] ;
30234
30235 if (!args) SWIG_fail;
30236 swig_obj[0] = args;
30237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30238 if (!SWIG_IsOK(res1)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30240 }
30241 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30242 {
30243 PyThreadState* __tstate = wxPyBeginAllowThreads();
30244 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
30245 wxPyEndAllowThreads(__tstate);
30246 if (PyErr_Occurred()) SWIG_fail;
30247 }
30248 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
30249 return resultobj;
30250fail:
30251 return NULL;
7e08d4ef
RD
30252}
30253
30254
554f62e9
RD
30255SWIGINTERN PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30256 PyObject *resultobj = 0;
30257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30258 int result;
30259 void *argp1 = 0 ;
30260 int res1 = 0 ;
30261 PyObject *swig_obj[1] ;
30262
30263 if (!args) SWIG_fail;
30264 swig_obj[0] = args;
30265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30266 if (!SWIG_IsOK(res1)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30268 }
30269 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30270 {
30271 PyThreadState* __tstate = wxPyBeginAllowThreads();
30272 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
30273 wxPyEndAllowThreads(__tstate);
30274 if (PyErr_Occurred()) SWIG_fail;
30275 }
30276 resultobj = SWIG_From_int(static_cast< int >(result));
30277 return resultobj;
30278fail:
30279 return NULL;
7e08d4ef
RD
30280}
30281
30282
554f62e9
RD
30283SWIGINTERN PyObject *_wrap_ListCtrl_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30284 PyObject *resultobj = 0;
30285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30286 wxColour result;
30287 void *argp1 = 0 ;
30288 int res1 = 0 ;
30289 PyObject *swig_obj[1] ;
30290
30291 if (!args) SWIG_fail;
30292 swig_obj[0] = args;
30293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30294 if (!SWIG_IsOK(res1)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30296 }
30297 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30298 {
30299 PyThreadState* __tstate = wxPyBeginAllowThreads();
30300 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
30301 wxPyEndAllowThreads(__tstate);
30302 if (PyErr_Occurred()) SWIG_fail;
30303 }
30304 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
30305 return resultobj;
30306fail:
30307 return NULL;
30308}
30309
30310
30311SWIGINTERN PyObject *_wrap_ListCtrl_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30312 PyObject *resultobj = 0;
30313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30314 wxColour *arg2 = 0 ;
30315 void *argp1 = 0 ;
30316 int res1 = 0 ;
30317 wxColour temp2 ;
30318 PyObject * obj0 = 0 ;
30319 PyObject * obj1 = 0 ;
30320 char * kwnames[] = {
30321 (char *) "self",(char *) "col", NULL
30322 };
30323
30324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
30325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30326 if (!SWIG_IsOK(res1)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30328 }
30329 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30330 {
30331 arg2 = &temp2;
30332 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
30333 }
30334 {
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 (arg1)->SetTextColour((wxColour const &)*arg2);
30337 wxPyEndAllowThreads(__tstate);
30338 if (PyErr_Occurred()) SWIG_fail;
30339 }
30340 resultobj = SWIG_Py_Void();
30341 return resultobj;
30342fail:
30343 return NULL;
7e08d4ef
RD
30344}
30345
30346
554f62e9
RD
30347SWIGINTERN PyObject *_wrap_ListCtrl_GetTopItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30348 PyObject *resultobj = 0;
30349 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30350 long result;
30351 void *argp1 = 0 ;
30352 int res1 = 0 ;
30353 PyObject *swig_obj[1] ;
30354
30355 if (!args) SWIG_fail;
30356 swig_obj[0] = args;
30357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30358 if (!SWIG_IsOK(res1)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30360 }
30361 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30362 {
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
30364 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
30365 wxPyEndAllowThreads(__tstate);
30366 if (PyErr_Occurred()) SWIG_fail;
30367 }
30368 resultobj = SWIG_From_long(static_cast< long >(result));
30369 return resultobj;
30370fail:
30371 return NULL;
30372}
30373
30374
30375SWIGINTERN PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30376 PyObject *resultobj = 0;
30377 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30378 long arg2 ;
30379 bool arg3 = (bool) true ;
30380 void *argp1 = 0 ;
30381 int res1 = 0 ;
30382 long val2 ;
30383 int ecode2 = 0 ;
30384 bool val3 ;
30385 int ecode3 = 0 ;
30386 PyObject * obj0 = 0 ;
30387 PyObject * obj1 = 0 ;
30388 PyObject * obj2 = 0 ;
30389 char * kwnames[] = {
30390 (char *) "self",(char *) "style",(char *) "add", NULL
30391 };
30392
30393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30395 if (!SWIG_IsOK(res1)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30397 }
30398 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30399 ecode2 = SWIG_AsVal_long(obj1, &val2);
30400 if (!SWIG_IsOK(ecode2)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30402 }
30403 arg2 = static_cast< long >(val2);
30404 if (obj2) {
30405 ecode3 = SWIG_AsVal_bool(obj2, &val3);
30406 if (!SWIG_IsOK(ecode3)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30408 }
30409 arg3 = static_cast< bool >(val3);
30410 }
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 (arg1)->SetSingleStyle(arg2,arg3);
30414 wxPyEndAllowThreads(__tstate);
30415 if (PyErr_Occurred()) SWIG_fail;
30416 }
30417 resultobj = SWIG_Py_Void();
30418 return resultobj;
30419fail:
30420 return NULL;
30421}
30422
30423
30424SWIGINTERN PyObject *_wrap_ListCtrl_GetNextItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30425 PyObject *resultobj = 0;
30426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30427 long arg2 ;
30428 int arg3 = (int) wxLIST_NEXT_ALL ;
30429 int arg4 = (int) wxLIST_STATE_DONTCARE ;
30430 long result;
30431 void *argp1 = 0 ;
30432 int res1 = 0 ;
30433 long val2 ;
30434 int ecode2 = 0 ;
30435 int val3 ;
30436 int ecode3 = 0 ;
30437 int val4 ;
30438 int ecode4 = 0 ;
30439 PyObject * obj0 = 0 ;
30440 PyObject * obj1 = 0 ;
30441 PyObject * obj2 = 0 ;
30442 PyObject * obj3 = 0 ;
30443 char * kwnames[] = {
30444 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30445 };
30446
30447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30449 if (!SWIG_IsOK(res1)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30451 }
30452 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30453 ecode2 = SWIG_AsVal_long(obj1, &val2);
30454 if (!SWIG_IsOK(ecode2)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30456 }
30457 arg2 = static_cast< long >(val2);
30458 if (obj2) {
30459 ecode3 = SWIG_AsVal_int(obj2, &val3);
30460 if (!SWIG_IsOK(ecode3)) {
30461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30462 }
30463 arg3 = static_cast< int >(val3);
30464 }
30465 if (obj3) {
30466 ecode4 = SWIG_AsVal_int(obj3, &val4);
30467 if (!SWIG_IsOK(ecode4)) {
30468 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30469 }
30470 arg4 = static_cast< int >(val4);
30471 }
30472 {
30473 PyThreadState* __tstate = wxPyBeginAllowThreads();
30474 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
30475 wxPyEndAllowThreads(__tstate);
30476 if (PyErr_Occurred()) SWIG_fail;
30477 }
30478 resultobj = SWIG_From_long(static_cast< long >(result));
30479 return resultobj;
30480fail:
30481 return NULL;
30482}
30483
30484
30485SWIGINTERN PyObject *_wrap_ListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30486 PyObject *resultobj = 0;
30487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30488 int arg2 ;
30489 wxImageList *result = 0 ;
30490 void *argp1 = 0 ;
30491 int res1 = 0 ;
30492 int val2 ;
30493 int ecode2 = 0 ;
30494 PyObject * obj0 = 0 ;
30495 PyObject * obj1 = 0 ;
30496 char * kwnames[] = {
30497 (char *) "self",(char *) "which", NULL
30498 };
30499
30500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
30501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30502 if (!SWIG_IsOK(res1)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30504 }
30505 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30506 ecode2 = SWIG_AsVal_int(obj1, &val2);
30507 if (!SWIG_IsOK(ecode2)) {
30508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30509 }
30510 arg2 = static_cast< int >(val2);
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
30514 wxPyEndAllowThreads(__tstate);
30515 if (PyErr_Occurred()) SWIG_fail;
30516 }
3ecece7e
RD
30517 {
30518 resultobj = wxPyMake_wxObject(result, (bool)0);
30519 }
554f62e9
RD
30520 return resultobj;
30521fail:
30522 return NULL;
30523}
30524
30525
30526SWIGINTERN PyObject *_wrap_ListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30527 PyObject *resultobj = 0;
30528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30529 wxImageList *arg2 = (wxImageList *) 0 ;
30530 int arg3 ;
30531 void *argp1 = 0 ;
30532 int res1 = 0 ;
30533 void *argp2 = 0 ;
30534 int res2 = 0 ;
30535 int val3 ;
30536 int ecode3 = 0 ;
30537 PyObject * obj0 = 0 ;
30538 PyObject * obj1 = 0 ;
30539 PyObject * obj2 = 0 ;
30540 char * kwnames[] = {
30541 (char *) "self",(char *) "imageList",(char *) "which", NULL
30542 };
30543
30544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30546 if (!SWIG_IsOK(res1)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30548 }
30549 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30550 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
30551 if (!SWIG_IsOK(res2)) {
30552 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30553 }
30554 arg2 = reinterpret_cast< wxImageList * >(argp2);
30555 ecode3 = SWIG_AsVal_int(obj2, &val3);
30556 if (!SWIG_IsOK(ecode3)) {
30557 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30558 }
30559 arg3 = static_cast< int >(val3);
30560 {
30561 PyThreadState* __tstate = wxPyBeginAllowThreads();
30562 (arg1)->SetImageList(arg2,arg3);
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 resultobj = SWIG_Py_Void();
30567 return resultobj;
30568fail:
30569 return NULL;
30570}
30571
30572
30573SWIGINTERN PyObject *_wrap_ListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30574 PyObject *resultobj = 0;
30575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30576 wxImageList *arg2 = (wxImageList *) 0 ;
30577 int arg3 ;
30578 void *argp1 = 0 ;
30579 int res1 = 0 ;
30580 int res2 = 0 ;
30581 int val3 ;
30582 int ecode3 = 0 ;
30583 PyObject * obj0 = 0 ;
30584 PyObject * obj1 = 0 ;
30585 PyObject * obj2 = 0 ;
30586 char * kwnames[] = {
30587 (char *) "self",(char *) "imageList",(char *) "which", NULL
30588 };
30589
30590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30592 if (!SWIG_IsOK(res1)) {
30593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30594 }
30595 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30596 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
30597 if (!SWIG_IsOK(res2)) {
30598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30599 }
30600 ecode3 = SWIG_AsVal_int(obj2, &val3);
30601 if (!SWIG_IsOK(ecode3)) {
30602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30603 }
30604 arg3 = static_cast< int >(val3);
30605 {
30606 PyThreadState* __tstate = wxPyBeginAllowThreads();
30607 (arg1)->AssignImageList(arg2,arg3);
30608 wxPyEndAllowThreads(__tstate);
30609 if (PyErr_Occurred()) SWIG_fail;
30610 }
30611 resultobj = SWIG_Py_Void();
30612 return resultobj;
30613fail:
30614 return NULL;
7e08d4ef
RD
30615}
30616
30617
554f62e9
RD
30618SWIGINTERN PyObject *_wrap_ListCtrl_InReportView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30619 PyObject *resultobj = 0;
30620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30621 bool result;
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_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30631 }
30632 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
30636 wxPyEndAllowThreads(__tstate);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 {
30640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30641 }
30642 return resultobj;
30643fail:
30644 return NULL;
7e08d4ef
RD
30645}
30646
30647
554f62e9
RD
30648SWIGINTERN PyObject *_wrap_ListCtrl_IsVirtual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30649 PyObject *resultobj = 0;
30650 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30651 bool result;
30652 void *argp1 = 0 ;
30653 int res1 = 0 ;
30654 PyObject *swig_obj[1] ;
30655
30656 if (!args) SWIG_fail;
30657 swig_obj[0] = args;
30658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30659 if (!SWIG_IsOK(res1)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30661 }
30662 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30663 {
30664 PyThreadState* __tstate = wxPyBeginAllowThreads();
30665 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
30666 wxPyEndAllowThreads(__tstate);
30667 if (PyErr_Occurred()) SWIG_fail;
30668 }
30669 {
30670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30671 }
30672 return resultobj;
30673fail:
30674 return NULL;
30675}
30676
30677
30678SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30679 PyObject *resultobj = 0;
30680 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30681 long arg2 ;
30682 void *argp1 = 0 ;
30683 int res1 = 0 ;
30684 long val2 ;
30685 int ecode2 = 0 ;
30686 PyObject * obj0 = 0 ;
30687 PyObject * obj1 = 0 ;
30688 char * kwnames[] = {
30689 (char *) "self",(char *) "item", NULL
30690 };
30691
30692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) SWIG_fail;
30693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30694 if (!SWIG_IsOK(res1)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30696 }
30697 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30698 ecode2 = SWIG_AsVal_long(obj1, &val2);
30699 if (!SWIG_IsOK(ecode2)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30701 }
30702 arg2 = static_cast< long >(val2);
30703 {
30704 PyThreadState* __tstate = wxPyBeginAllowThreads();
30705 (arg1)->RefreshItem(arg2);
30706 wxPyEndAllowThreads(__tstate);
30707 if (PyErr_Occurred()) SWIG_fail;
30708 }
30709 resultobj = SWIG_Py_Void();
30710 return resultobj;
30711fail:
30712 return NULL;
30713}
30714
30715
30716SWIGINTERN PyObject *_wrap_ListCtrl_RefreshItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30717 PyObject *resultobj = 0;
30718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30719 long arg2 ;
30720 long arg3 ;
30721 void *argp1 = 0 ;
30722 int res1 = 0 ;
30723 long val2 ;
30724 int ecode2 = 0 ;
30725 long val3 ;
30726 int ecode3 = 0 ;
30727 PyObject * obj0 = 0 ;
30728 PyObject * obj1 = 0 ;
30729 PyObject * obj2 = 0 ;
30730 char * kwnames[] = {
30731 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30732 };
30733
30734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30736 if (!SWIG_IsOK(res1)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30738 }
30739 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30740 ecode2 = SWIG_AsVal_long(obj1, &val2);
30741 if (!SWIG_IsOK(ecode2)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30743 }
30744 arg2 = static_cast< long >(val2);
30745 ecode3 = SWIG_AsVal_long(obj2, &val3);
30746 if (!SWIG_IsOK(ecode3)) {
30747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30748 }
30749 arg3 = static_cast< long >(val3);
30750 {
30751 PyThreadState* __tstate = wxPyBeginAllowThreads();
30752 (arg1)->RefreshItems(arg2,arg3);
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
30756 resultobj = SWIG_Py_Void();
30757 return resultobj;
30758fail:
30759 return NULL;
30760}
30761
30762
30763SWIGINTERN PyObject *_wrap_ListCtrl_Arrange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30764 PyObject *resultobj = 0;
30765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30766 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
30767 bool result;
30768 void *argp1 = 0 ;
30769 int res1 = 0 ;
30770 int val2 ;
30771 int ecode2 = 0 ;
30772 PyObject * obj0 = 0 ;
30773 PyObject * obj1 = 0 ;
30774 char * kwnames[] = {
30775 (char *) "self",(char *) "flag", NULL
30776 };
30777
30778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) SWIG_fail;
30779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30780 if (!SWIG_IsOK(res1)) {
30781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30782 }
30783 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30784 if (obj1) {
30785 ecode2 = SWIG_AsVal_int(obj1, &val2);
30786 if (!SWIG_IsOK(ecode2)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30788 }
30789 arg2 = static_cast< int >(val2);
30790 }
30791 {
30792 PyThreadState* __tstate = wxPyBeginAllowThreads();
30793 result = (bool)(arg1)->Arrange(arg2);
30794 wxPyEndAllowThreads(__tstate);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 {
30798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30799 }
30800 return resultobj;
30801fail:
30802 return NULL;
30803}
30804
30805
30806SWIGINTERN PyObject *_wrap_ListCtrl_DeleteItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30807 PyObject *resultobj = 0;
30808 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30809 long arg2 ;
30810 bool result;
30811 void *argp1 = 0 ;
30812 int res1 = 0 ;
30813 long val2 ;
30814 int ecode2 = 0 ;
30815 PyObject * obj0 = 0 ;
30816 PyObject * obj1 = 0 ;
30817 char * kwnames[] = {
30818 (char *) "self",(char *) "item", NULL
30819 };
30820
30821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) SWIG_fail;
30822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30823 if (!SWIG_IsOK(res1)) {
30824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30825 }
30826 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30827 ecode2 = SWIG_AsVal_long(obj1, &val2);
30828 if (!SWIG_IsOK(ecode2)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30830 }
30831 arg2 = static_cast< long >(val2);
30832 {
30833 PyThreadState* __tstate = wxPyBeginAllowThreads();
30834 result = (bool)(arg1)->DeleteItem(arg2);
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
30838 {
30839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30840 }
30841 return resultobj;
30842fail:
30843 return NULL;
7e08d4ef
RD
30844}
30845
30846
554f62e9
RD
30847SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30848 PyObject *resultobj = 0;
30849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30850 bool result;
30851 void *argp1 = 0 ;
30852 int res1 = 0 ;
30853 PyObject *swig_obj[1] ;
30854
30855 if (!args) SWIG_fail;
30856 swig_obj[0] = args;
30857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30858 if (!SWIG_IsOK(res1)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30860 }
30861 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30862 {
30863 PyThreadState* __tstate = wxPyBeginAllowThreads();
30864 result = (bool)(arg1)->DeleteAllItems();
30865 wxPyEndAllowThreads(__tstate);
30866 if (PyErr_Occurred()) SWIG_fail;
30867 }
30868 {
30869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30870 }
30871 return resultobj;
30872fail:
30873 return NULL;
30874}
30875
30876
30877SWIGINTERN PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30878 PyObject *resultobj = 0;
30879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30880 int arg2 ;
30881 bool result;
30882 void *argp1 = 0 ;
30883 int res1 = 0 ;
30884 int val2 ;
30885 int ecode2 = 0 ;
30886 PyObject * obj0 = 0 ;
30887 PyObject * obj1 = 0 ;
30888 char * kwnames[] = {
30889 (char *) "self",(char *) "col", NULL
30890 };
30891
30892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) SWIG_fail;
30893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30894 if (!SWIG_IsOK(res1)) {
30895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30896 }
30897 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30898 ecode2 = SWIG_AsVal_int(obj1, &val2);
30899 if (!SWIG_IsOK(ecode2)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30901 }
30902 arg2 = static_cast< int >(val2);
30903 {
30904 PyThreadState* __tstate = wxPyBeginAllowThreads();
30905 result = (bool)(arg1)->DeleteColumn(arg2);
30906 wxPyEndAllowThreads(__tstate);
30907 if (PyErr_Occurred()) SWIG_fail;
30908 }
30909 {
30910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30911 }
30912 return resultobj;
30913fail:
30914 return NULL;
7e08d4ef
RD
30915}
30916
30917
554f62e9
RD
30918SWIGINTERN PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30919 PyObject *resultobj = 0;
30920 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30921 bool result;
30922 void *argp1 = 0 ;
30923 int res1 = 0 ;
30924 PyObject *swig_obj[1] ;
30925
30926 if (!args) SWIG_fail;
30927 swig_obj[0] = args;
30928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30929 if (!SWIG_IsOK(res1)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30931 }
30932 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30933 {
30934 PyThreadState* __tstate = wxPyBeginAllowThreads();
30935 result = (bool)(arg1)->DeleteAllColumns();
30936 wxPyEndAllowThreads(__tstate);
30937 if (PyErr_Occurred()) SWIG_fail;
30938 }
30939 {
30940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30941 }
30942 return resultobj;
30943fail:
30944 return NULL;
7e08d4ef
RD
30945}
30946
30947
554f62e9
RD
30948SWIGINTERN PyObject *_wrap_ListCtrl_ClearAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30949 PyObject *resultobj = 0;
30950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30951 void *argp1 = 0 ;
30952 int res1 = 0 ;
30953 PyObject *swig_obj[1] ;
30954
30955 if (!args) SWIG_fail;
30956 swig_obj[0] = args;
30957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30958 if (!SWIG_IsOK(res1)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30960 }
30961 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30962 {
30963 PyThreadState* __tstate = wxPyBeginAllowThreads();
30964 (arg1)->ClearAll();
30965 wxPyEndAllowThreads(__tstate);
30966 if (PyErr_Occurred()) SWIG_fail;
30967 }
30968 resultobj = SWIG_Py_Void();
30969 return resultobj;
30970fail:
30971 return NULL;
30972}
30973
30974
30975SWIGINTERN PyObject *_wrap_ListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30976 PyObject *resultobj = 0;
30977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
30978 long arg2 ;
30979 wxTextCtrl *result = 0 ;
30980 void *argp1 = 0 ;
30981 int res1 = 0 ;
30982 long val2 ;
30983 int ecode2 = 0 ;
30984 PyObject * obj0 = 0 ;
30985 PyObject * obj1 = 0 ;
30986 char * kwnames[] = {
30987 (char *) "self",(char *) "item", NULL
30988 };
30989
30990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
30991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
30992 if (!SWIG_IsOK(res1)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30994 }
30995 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
30996 ecode2 = SWIG_AsVal_long(obj1, &val2);
30997 if (!SWIG_IsOK(ecode2)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30999 }
31000 arg2 = static_cast< long >(val2);
31001 {
31002 PyThreadState* __tstate = wxPyBeginAllowThreads();
31003 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 {
31008 resultobj = wxPyMake_wxObject(result, 0);
31009 }
31010 return resultobj;
31011fail:
31012 return NULL;
31013}
31014
31015
31016SWIGINTERN PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31017 PyObject *resultobj = 0;
31018 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31019 bool arg2 ;
31020 bool result;
31021 void *argp1 = 0 ;
31022 int res1 = 0 ;
31023 bool val2 ;
31024 int ecode2 = 0 ;
31025 PyObject * obj0 = 0 ;
31026 PyObject * obj1 = 0 ;
31027 char * kwnames[] = {
31028 (char *) "self",(char *) "cancel", NULL
31029 };
31030
31031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
31032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31033 if (!SWIG_IsOK(res1)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31035 }
31036 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31037 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31038 if (!SWIG_IsOK(ecode2)) {
31039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31040 }
31041 arg2 = static_cast< bool >(val2);
31042 {
31043 PyThreadState* __tstate = wxPyBeginAllowThreads();
31044 result = (bool)(arg1)->EndEditLabel(arg2);
31045 wxPyEndAllowThreads(__tstate);
31046 if (PyErr_Occurred()) SWIG_fail;
31047 }
31048 {
31049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31050 }
31051 return resultobj;
31052fail:
31053 return NULL;
31054}
31055
31056
31057SWIGINTERN PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31058 PyObject *resultobj = 0;
31059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31060 long arg2 ;
31061 bool result;
31062 void *argp1 = 0 ;
31063 int res1 = 0 ;
31064 long val2 ;
31065 int ecode2 = 0 ;
31066 PyObject * obj0 = 0 ;
31067 PyObject * obj1 = 0 ;
31068 char * kwnames[] = {
31069 (char *) "self",(char *) "item", NULL
31070 };
31071
31072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
31073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31074 if (!SWIG_IsOK(res1)) {
31075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31076 }
31077 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31078 ecode2 = SWIG_AsVal_long(obj1, &val2);
31079 if (!SWIG_IsOK(ecode2)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31081 }
31082 arg2 = static_cast< long >(val2);
31083 {
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 result = (bool)(arg1)->EnsureVisible(arg2);
31086 wxPyEndAllowThreads(__tstate);
31087 if (PyErr_Occurred()) SWIG_fail;
31088 }
31089 {
31090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31091 }
31092 return resultobj;
31093fail:
31094 return NULL;
31095}
31096
31097
31098SWIGINTERN PyObject *_wrap_ListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31099 PyObject *resultobj = 0;
31100 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31101 long arg2 ;
31102 wxString *arg3 = 0 ;
31103 bool arg4 = (bool) false ;
31104 long result;
31105 void *argp1 = 0 ;
31106 int res1 = 0 ;
31107 long val2 ;
31108 int ecode2 = 0 ;
31109 bool temp3 = false ;
31110 bool val4 ;
31111 int ecode4 = 0 ;
31112 PyObject * obj0 = 0 ;
31113 PyObject * obj1 = 0 ;
31114 PyObject * obj2 = 0 ;
31115 PyObject * obj3 = 0 ;
31116 char * kwnames[] = {
31117 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31118 };
31119
31120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31122 if (!SWIG_IsOK(res1)) {
31123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31124 }
31125 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31126 ecode2 = SWIG_AsVal_long(obj1, &val2);
31127 if (!SWIG_IsOK(ecode2)) {
31128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31129 }
31130 arg2 = static_cast< long >(val2);
31131 {
31132 arg3 = wxString_in_helper(obj2);
31133 if (arg3 == NULL) SWIG_fail;
31134 temp3 = true;
31135 }
31136 if (obj3) {
31137 ecode4 = SWIG_AsVal_bool(obj3, &val4);
31138 if (!SWIG_IsOK(ecode4)) {
31139 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31140 }
31141 arg4 = static_cast< bool >(val4);
31142 }
31143 {
31144 PyThreadState* __tstate = wxPyBeginAllowThreads();
31145 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
31149 resultobj = SWIG_From_long(static_cast< long >(result));
31150 {
31151 if (temp3)
31152 delete arg3;
31153 }
31154 return resultobj;
31155fail:
31156 {
31157 if (temp3)
31158 delete arg3;
31159 }
31160 return NULL;
31161}
31162
31163
31164SWIGINTERN PyObject *_wrap_ListCtrl_FindItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31165 PyObject *resultobj = 0;
31166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31167 long arg2 ;
31168 long arg3 ;
31169 long result;
31170 void *argp1 = 0 ;
31171 int res1 = 0 ;
31172 long val2 ;
31173 int ecode2 = 0 ;
31174 long val3 ;
31175 int ecode3 = 0 ;
31176 PyObject * obj0 = 0 ;
31177 PyObject * obj1 = 0 ;
31178 PyObject * obj2 = 0 ;
31179 char * kwnames[] = {
31180 (char *) "self",(char *) "start",(char *) "data", NULL
31181 };
31182
31183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31185 if (!SWIG_IsOK(res1)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31187 }
31188 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31189 ecode2 = SWIG_AsVal_long(obj1, &val2);
31190 if (!SWIG_IsOK(ecode2)) {
31191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31192 }
31193 arg2 = static_cast< long >(val2);
31194 ecode3 = SWIG_AsVal_long(obj2, &val3);
31195 if (!SWIG_IsOK(ecode3)) {
31196 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31197 }
31198 arg3 = static_cast< long >(val3);
31199 {
31200 PyThreadState* __tstate = wxPyBeginAllowThreads();
31201 result = (long)(arg1)->FindItem(arg2,arg3);
31202 wxPyEndAllowThreads(__tstate);
31203 if (PyErr_Occurred()) SWIG_fail;
31204 }
31205 resultobj = SWIG_From_long(static_cast< long >(result));
31206 return resultobj;
31207fail:
31208 return NULL;
31209}
31210
31211
31212SWIGINTERN PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31213 PyObject *resultobj = 0;
31214 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31215 long arg2 ;
31216 wxPoint *arg3 = 0 ;
31217 int arg4 ;
31218 long result;
31219 void *argp1 = 0 ;
31220 int res1 = 0 ;
31221 long val2 ;
31222 int ecode2 = 0 ;
31223 wxPoint temp3 ;
31224 int val4 ;
31225 int ecode4 = 0 ;
31226 PyObject * obj0 = 0 ;
31227 PyObject * obj1 = 0 ;
31228 PyObject * obj2 = 0 ;
31229 PyObject * obj3 = 0 ;
31230 char * kwnames[] = {
31231 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31232 };
31233
31234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31236 if (!SWIG_IsOK(res1)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31238 }
31239 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31240 ecode2 = SWIG_AsVal_long(obj1, &val2);
31241 if (!SWIG_IsOK(ecode2)) {
31242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31243 }
31244 arg2 = static_cast< long >(val2);
31245 {
31246 arg3 = &temp3;
31247 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31248 }
31249 ecode4 = SWIG_AsVal_int(obj3, &val4);
31250 if (!SWIG_IsOK(ecode4)) {
31251 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31252 }
31253 arg4 = static_cast< int >(val4);
31254 {
31255 PyThreadState* __tstate = wxPyBeginAllowThreads();
31256 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
31257 wxPyEndAllowThreads(__tstate);
31258 if (PyErr_Occurred()) SWIG_fail;
31259 }
31260 resultobj = SWIG_From_long(static_cast< long >(result));
31261 return resultobj;
31262fail:
31263 return NULL;
31264}
31265
31266
31267SWIGINTERN PyObject *_wrap_ListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31268 PyObject *resultobj = 0;
31269 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31270 wxPoint *arg2 = 0 ;
31271 int *arg3 = 0 ;
31272 long result;
31273 void *argp1 = 0 ;
31274 int res1 = 0 ;
31275 wxPoint temp2 ;
31276 int temp3 ;
31277 int res3 = SWIG_TMPOBJ ;
31278 PyObject * obj0 = 0 ;
31279 PyObject * obj1 = 0 ;
31280 char * kwnames[] = {
31281 (char *) "self",(char *) "point", NULL
31282 };
31283
31284 arg3 = &temp3;
31285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
31286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31287 if (!SWIG_IsOK(res1)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31289 }
31290 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31291 {
31292 arg2 = &temp2;
31293 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31294 }
31295 {
31296 PyThreadState* __tstate = wxPyBeginAllowThreads();
31297 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
31298 wxPyEndAllowThreads(__tstate);
31299 if (PyErr_Occurred()) SWIG_fail;
31300 }
31301 resultobj = SWIG_From_long(static_cast< long >(result));
31302 if (SWIG_IsTmpObj(res3)) {
31303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31304 } else {
31305 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31307 }
31308 return resultobj;
31309fail:
31310 return NULL;
31311}
31312
31313
704eda0c
RD
31314SWIGINTERN PyObject *_wrap_ListCtrl_HitTestSubItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31315 PyObject *resultobj = 0;
31316 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31317 wxPoint *arg2 = 0 ;
31318 int *arg3 = 0 ;
31319 long *arg4 = (long *) 0 ;
31320 long result;
31321 void *argp1 = 0 ;
31322 int res1 = 0 ;
31323 wxPoint temp2 ;
31324 int temp3 ;
31325 int res3 = SWIG_TMPOBJ ;
31326 long temp4 ;
31327 int res4 = SWIG_TMPOBJ ;
31328 PyObject * obj0 = 0 ;
31329 PyObject * obj1 = 0 ;
31330 char * kwnames[] = {
31331 (char *) "self",(char *) "point", NULL
31332 };
31333
31334 arg3 = &temp3;
31335 arg4 = &temp4;
31336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTestSubItem",kwnames,&obj0,&obj1)) SWIG_fail;
31337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31338 if (!SWIG_IsOK(res1)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31340 }
31341 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31342 {
31343 arg2 = &temp2;
31344 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31345 }
31346 {
31347 PyThreadState* __tstate = wxPyBeginAllowThreads();
31348 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3,arg4);
31349 wxPyEndAllowThreads(__tstate);
31350 if (PyErr_Occurred()) SWIG_fail;
31351 }
31352 resultobj = SWIG_From_long(static_cast< long >(result));
31353 if (SWIG_IsTmpObj(res3)) {
31354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31355 } else {
31356 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31357 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31358 }
31359 if (SWIG_IsTmpObj(res4)) {
31360 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
31361 } else {
31362 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31363 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
31364 }
31365 return resultobj;
31366fail:
31367 return NULL;
31368}
31369
31370
554f62e9
RD
31371SWIGINTERN PyObject *_wrap_ListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31372 PyObject *resultobj = 0;
31373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31374 wxListItem *arg2 = 0 ;
31375 long result;
31376 void *argp1 = 0 ;
31377 int res1 = 0 ;
31378 void *argp2 = 0 ;
31379 int res2 = 0 ;
31380 PyObject * obj0 = 0 ;
31381 PyObject * obj1 = 0 ;
31382 char * kwnames[] = {
31383 (char *) "self",(char *) "info", NULL
31384 };
31385
31386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) SWIG_fail;
31387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31388 if (!SWIG_IsOK(res1)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31390 }
31391 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxListItem, 0 );
31393 if (!SWIG_IsOK(res2)) {
31394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31395 }
31396 if (!argp2) {
31397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31398 }
31399 arg2 = reinterpret_cast< wxListItem * >(argp2);
31400 {
31401 PyThreadState* __tstate = wxPyBeginAllowThreads();
31402 result = (long)(arg1)->InsertItem(*arg2);
31403 wxPyEndAllowThreads(__tstate);
31404 if (PyErr_Occurred()) SWIG_fail;
31405 }
31406 resultobj = SWIG_From_long(static_cast< long >(result));
31407 return resultobj;
31408fail:
31409 return NULL;
31410}
31411
31412
31413SWIGINTERN PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31414 PyObject *resultobj = 0;
31415 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31416 long arg2 ;
31417 wxString *arg3 = 0 ;
31418 int arg4 = (int) -1 ;
31419 long result;
31420 void *argp1 = 0 ;
31421 int res1 = 0 ;
31422 long val2 ;
31423 int ecode2 = 0 ;
31424 bool temp3 = false ;
31425 int val4 ;
31426 int ecode4 = 0 ;
31427 PyObject * obj0 = 0 ;
31428 PyObject * obj1 = 0 ;
31429 PyObject * obj2 = 0 ;
31430 PyObject * obj3 = 0 ;
31431 char * kwnames[] = {
31432 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31433 };
31434
31435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31437 if (!SWIG_IsOK(res1)) {
31438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31439 }
31440 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31441 ecode2 = SWIG_AsVal_long(obj1, &val2);
31442 if (!SWIG_IsOK(ecode2)) {
31443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31444 }
31445 arg2 = static_cast< long >(val2);
31446 {
31447 arg3 = wxString_in_helper(obj2);
31448 if (arg3 == NULL) SWIG_fail;
31449 temp3 = true;
31450 }
31451 if (obj3) {
31452 ecode4 = SWIG_AsVal_int(obj3, &val4);
31453 if (!SWIG_IsOK(ecode4)) {
31454 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31455 }
31456 arg4 = static_cast< int >(val4);
31457 }
31458 {
31459 PyThreadState* __tstate = wxPyBeginAllowThreads();
31460 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31461 wxPyEndAllowThreads(__tstate);
31462 if (PyErr_Occurred()) SWIG_fail;
31463 }
31464 resultobj = SWIG_From_long(static_cast< long >(result));
31465 {
31466 if (temp3)
31467 delete arg3;
31468 }
31469 return resultobj;
31470fail:
31471 {
31472 if (temp3)
31473 delete arg3;
31474 }
31475 return NULL;
31476}
31477
31478
31479SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31480 PyObject *resultobj = 0;
31481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31482 long arg2 ;
31483 int arg3 ;
31484 long result;
31485 void *argp1 = 0 ;
31486 int res1 = 0 ;
31487 long val2 ;
31488 int ecode2 = 0 ;
31489 int val3 ;
31490 int ecode3 = 0 ;
31491 PyObject * obj0 = 0 ;
31492 PyObject * obj1 = 0 ;
31493 PyObject * obj2 = 0 ;
31494 char * kwnames[] = {
31495 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31496 };
31497
31498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31500 if (!SWIG_IsOK(res1)) {
31501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31502 }
31503 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31504 ecode2 = SWIG_AsVal_long(obj1, &val2);
31505 if (!SWIG_IsOK(ecode2)) {
31506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31507 }
31508 arg2 = static_cast< long >(val2);
31509 ecode3 = SWIG_AsVal_int(obj2, &val3);
31510 if (!SWIG_IsOK(ecode3)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31512 }
31513 arg3 = static_cast< int >(val3);
31514 {
31515 PyThreadState* __tstate = wxPyBeginAllowThreads();
31516 result = (long)(arg1)->InsertItem(arg2,arg3);
31517 wxPyEndAllowThreads(__tstate);
31518 if (PyErr_Occurred()) SWIG_fail;
31519 }
31520 resultobj = SWIG_From_long(static_cast< long >(result));
31521 return resultobj;
31522fail:
31523 return NULL;
31524}
31525
31526
31527SWIGINTERN PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31528 PyObject *resultobj = 0;
31529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31530 long arg2 ;
31531 wxString *arg3 = 0 ;
31532 int arg4 ;
31533 long result;
31534 void *argp1 = 0 ;
31535 int res1 = 0 ;
31536 long val2 ;
31537 int ecode2 = 0 ;
31538 bool temp3 = false ;
31539 int val4 ;
31540 int ecode4 = 0 ;
31541 PyObject * obj0 = 0 ;
31542 PyObject * obj1 = 0 ;
31543 PyObject * obj2 = 0 ;
31544 PyObject * obj3 = 0 ;
31545 char * kwnames[] = {
31546 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31547 };
31548
31549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
31550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31551 if (!SWIG_IsOK(res1)) {
31552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31553 }
31554 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31555 ecode2 = SWIG_AsVal_long(obj1, &val2);
31556 if (!SWIG_IsOK(ecode2)) {
31557 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31558 }
31559 arg2 = static_cast< long >(val2);
31560 {
31561 arg3 = wxString_in_helper(obj2);
31562 if (arg3 == NULL) SWIG_fail;
31563 temp3 = true;
31564 }
31565 ecode4 = SWIG_AsVal_int(obj3, &val4);
31566 if (!SWIG_IsOK(ecode4)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31568 }
31569 arg4 = static_cast< int >(val4);
31570 {
31571 PyThreadState* __tstate = wxPyBeginAllowThreads();
31572 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
31573 wxPyEndAllowThreads(__tstate);
31574 if (PyErr_Occurred()) SWIG_fail;
31575 }
31576 resultobj = SWIG_From_long(static_cast< long >(result));
31577 {
31578 if (temp3)
31579 delete arg3;
31580 }
31581 return resultobj;
31582fail:
31583 {
31584 if (temp3)
31585 delete arg3;
31586 }
31587 return NULL;
31588}
31589
31590
31591SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumnItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31592 PyObject *resultobj = 0;
31593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31594 long arg2 ;
31595 wxListItem *arg3 = 0 ;
31596 long result;
31597 void *argp1 = 0 ;
31598 int res1 = 0 ;
31599 long val2 ;
31600 int ecode2 = 0 ;
31601 void *argp3 = 0 ;
31602 int res3 = 0 ;
31603 PyObject * obj0 = 0 ;
31604 PyObject * obj1 = 0 ;
31605 PyObject * obj2 = 0 ;
31606 char * kwnames[] = {
31607 (char *) "self",(char *) "col",(char *) "info", NULL
31608 };
31609
31610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31612 if (!SWIG_IsOK(res1)) {
31613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31614 }
31615 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31616 ecode2 = SWIG_AsVal_long(obj1, &val2);
31617 if (!SWIG_IsOK(ecode2)) {
31618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31619 }
31620 arg2 = static_cast< long >(val2);
31621 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxListItem, 0 );
31622 if (!SWIG_IsOK(res3)) {
31623 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31624 }
31625 if (!argp3) {
31626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31627 }
31628 arg3 = reinterpret_cast< wxListItem * >(argp3);
31629 {
31630 PyThreadState* __tstate = wxPyBeginAllowThreads();
31631 result = (long)(arg1)->InsertColumn(arg2,*arg3);
31632 wxPyEndAllowThreads(__tstate);
31633 if (PyErr_Occurred()) SWIG_fail;
31634 }
31635 resultobj = SWIG_From_long(static_cast< long >(result));
31636 return resultobj;
31637fail:
31638 return NULL;
31639}
31640
31641
31642SWIGINTERN PyObject *_wrap_ListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31643 PyObject *resultobj = 0;
31644 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31645 long arg2 ;
31646 wxString *arg3 = 0 ;
31647 int arg4 = (int) wxLIST_FORMAT_LEFT ;
31648 int arg5 = (int) -1 ;
31649 long result;
31650 void *argp1 = 0 ;
31651 int res1 = 0 ;
31652 long val2 ;
31653 int ecode2 = 0 ;
31654 bool temp3 = false ;
31655 int val4 ;
31656 int ecode4 = 0 ;
31657 int val5 ;
31658 int ecode5 = 0 ;
31659 PyObject * obj0 = 0 ;
31660 PyObject * obj1 = 0 ;
31661 PyObject * obj2 = 0 ;
31662 PyObject * obj3 = 0 ;
31663 PyObject * obj4 = 0 ;
31664 char * kwnames[] = {
31665 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31666 };
31667
31668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
31669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31670 if (!SWIG_IsOK(res1)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31672 }
31673 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31674 ecode2 = SWIG_AsVal_long(obj1, &val2);
31675 if (!SWIG_IsOK(ecode2)) {
31676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31677 }
31678 arg2 = static_cast< long >(val2);
31679 {
31680 arg3 = wxString_in_helper(obj2);
31681 if (arg3 == NULL) SWIG_fail;
31682 temp3 = true;
31683 }
31684 if (obj3) {
31685 ecode4 = SWIG_AsVal_int(obj3, &val4);
31686 if (!SWIG_IsOK(ecode4)) {
31687 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31688 }
31689 arg4 = static_cast< int >(val4);
31690 }
31691 if (obj4) {
31692 ecode5 = SWIG_AsVal_int(obj4, &val5);
31693 if (!SWIG_IsOK(ecode5)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31695 }
31696 arg5 = static_cast< int >(val5);
31697 }
31698 {
31699 PyThreadState* __tstate = wxPyBeginAllowThreads();
31700 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
31701 wxPyEndAllowThreads(__tstate);
31702 if (PyErr_Occurred()) SWIG_fail;
31703 }
31704 resultobj = SWIG_From_long(static_cast< long >(result));
31705 {
31706 if (temp3)
31707 delete arg3;
31708 }
31709 return resultobj;
31710fail:
31711 {
31712 if (temp3)
31713 delete arg3;
31714 }
31715 return NULL;
31716}
31717
31718
31719SWIGINTERN PyObject *_wrap_ListCtrl_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31720 PyObject *resultobj = 0;
31721 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31722 long arg2 ;
31723 void *argp1 = 0 ;
31724 int res1 = 0 ;
31725 long val2 ;
31726 int ecode2 = 0 ;
31727 PyObject * obj0 = 0 ;
31728 PyObject * obj1 = 0 ;
31729 char * kwnames[] = {
31730 (char *) "self",(char *) "count", NULL
31731 };
31732
31733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
31734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31735 if (!SWIG_IsOK(res1)) {
31736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31737 }
31738 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31739 ecode2 = SWIG_AsVal_long(obj1, &val2);
31740 if (!SWIG_IsOK(ecode2)) {
31741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31742 }
31743 arg2 = static_cast< long >(val2);
31744 {
31745 PyThreadState* __tstate = wxPyBeginAllowThreads();
31746 (arg1)->SetItemCount(arg2);
31747 wxPyEndAllowThreads(__tstate);
31748 if (PyErr_Occurred()) SWIG_fail;
31749 }
31750 resultobj = SWIG_Py_Void();
31751 return resultobj;
31752fail:
31753 return NULL;
31754}
31755
31756
31757SWIGINTERN PyObject *_wrap_ListCtrl_ScrollList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31758 PyObject *resultobj = 0;
31759 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31760 int arg2 ;
31761 int arg3 ;
31762 bool result;
31763 void *argp1 = 0 ;
31764 int res1 = 0 ;
31765 int val2 ;
31766 int ecode2 = 0 ;
31767 int val3 ;
31768 int ecode3 = 0 ;
31769 PyObject * obj0 = 0 ;
31770 PyObject * obj1 = 0 ;
31771 PyObject * obj2 = 0 ;
31772 char * kwnames[] = {
31773 (char *) "self",(char *) "dx",(char *) "dy", NULL
31774 };
31775
31776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31778 if (!SWIG_IsOK(res1)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31780 }
31781 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31782 ecode2 = SWIG_AsVal_int(obj1, &val2);
31783 if (!SWIG_IsOK(ecode2)) {
31784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31785 }
31786 arg2 = static_cast< int >(val2);
31787 ecode3 = SWIG_AsVal_int(obj2, &val3);
31788 if (!SWIG_IsOK(ecode3)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31790 }
31791 arg3 = static_cast< int >(val3);
31792 {
31793 PyThreadState* __tstate = wxPyBeginAllowThreads();
31794 result = (bool)(arg1)->ScrollList(arg2,arg3);
31795 wxPyEndAllowThreads(__tstate);
31796 if (PyErr_Occurred()) SWIG_fail;
31797 }
31798 {
31799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31800 }
31801 return resultobj;
31802fail:
31803 return NULL;
31804}
31805
31806
31807SWIGINTERN PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31808 PyObject *resultobj = 0;
31809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31810 long arg2 ;
31811 wxColour *arg3 = 0 ;
31812 void *argp1 = 0 ;
31813 int res1 = 0 ;
31814 long val2 ;
31815 int ecode2 = 0 ;
31816 wxColour temp3 ;
31817 PyObject * obj0 = 0 ;
31818 PyObject * obj1 = 0 ;
31819 PyObject * obj2 = 0 ;
31820 char * kwnames[] = {
31821 (char *) "self",(char *) "item",(char *) "col", NULL
31822 };
31823
31824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31826 if (!SWIG_IsOK(res1)) {
31827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31828 }
31829 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31830 ecode2 = SWIG_AsVal_long(obj1, &val2);
31831 if (!SWIG_IsOK(ecode2)) {
31832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31833 }
31834 arg2 = static_cast< long >(val2);
31835 {
31836 arg3 = &temp3;
31837 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31838 }
31839 {
31840 PyThreadState* __tstate = wxPyBeginAllowThreads();
31841 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
31842 wxPyEndAllowThreads(__tstate);
31843 if (PyErr_Occurred()) SWIG_fail;
31844 }
31845 resultobj = SWIG_Py_Void();
31846 return resultobj;
31847fail:
31848 return NULL;
31849}
31850
31851
31852SWIGINTERN PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31853 PyObject *resultobj = 0;
31854 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31855 long arg2 ;
31856 wxColour result;
31857 void *argp1 = 0 ;
31858 int res1 = 0 ;
31859 long val2 ;
31860 int ecode2 = 0 ;
31861 PyObject * obj0 = 0 ;
31862 PyObject * obj1 = 0 ;
31863 char * kwnames[] = {
31864 (char *) "self",(char *) "item", NULL
31865 };
31866
31867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
31868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31869 if (!SWIG_IsOK(res1)) {
31870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31871 }
31872 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31873 ecode2 = SWIG_AsVal_long(obj1, &val2);
31874 if (!SWIG_IsOK(ecode2)) {
31875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31876 }
31877 arg2 = static_cast< long >(val2);
31878 {
31879 PyThreadState* __tstate = wxPyBeginAllowThreads();
31880 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
31881 wxPyEndAllowThreads(__tstate);
31882 if (PyErr_Occurred()) SWIG_fail;
31883 }
31884 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31885 return resultobj;
31886fail:
31887 return NULL;
31888}
31889
31890
31891SWIGINTERN PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31892 PyObject *resultobj = 0;
31893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31894 long arg2 ;
31895 wxColour *arg3 = 0 ;
31896 void *argp1 = 0 ;
31897 int res1 = 0 ;
31898 long val2 ;
31899 int ecode2 = 0 ;
31900 wxColour temp3 ;
31901 PyObject * obj0 = 0 ;
31902 PyObject * obj1 = 0 ;
31903 PyObject * obj2 = 0 ;
31904 char * kwnames[] = {
31905 (char *) "self",(char *) "item",(char *) "col", NULL
31906 };
31907
31908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31910 if (!SWIG_IsOK(res1)) {
31911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31912 }
31913 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31914 ecode2 = SWIG_AsVal_long(obj1, &val2);
31915 if (!SWIG_IsOK(ecode2)) {
31916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31917 }
31918 arg2 = static_cast< long >(val2);
31919 {
31920 arg3 = &temp3;
31921 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
31922 }
31923 {
31924 PyThreadState* __tstate = wxPyBeginAllowThreads();
31925 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
31926 wxPyEndAllowThreads(__tstate);
31927 if (PyErr_Occurred()) SWIG_fail;
31928 }
31929 resultobj = SWIG_Py_Void();
31930 return resultobj;
31931fail:
31932 return NULL;
31933}
31934
31935
31936SWIGINTERN PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31937 PyObject *resultobj = 0;
31938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31939 long arg2 ;
31940 wxColour result;
31941 void *argp1 = 0 ;
31942 int res1 = 0 ;
31943 long val2 ;
31944 int ecode2 = 0 ;
31945 PyObject * obj0 = 0 ;
31946 PyObject * obj1 = 0 ;
31947 char * kwnames[] = {
31948 (char *) "self",(char *) "item", NULL
31949 };
31950
31951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
31952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31953 if (!SWIG_IsOK(res1)) {
31954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31955 }
31956 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31957 ecode2 = SWIG_AsVal_long(obj1, &val2);
31958 if (!SWIG_IsOK(ecode2)) {
31959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31960 }
31961 arg2 = static_cast< long >(val2);
31962 {
31963 PyThreadState* __tstate = wxPyBeginAllowThreads();
31964 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
31965 wxPyEndAllowThreads(__tstate);
31966 if (PyErr_Occurred()) SWIG_fail;
31967 }
31968 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
31969 return resultobj;
31970fail:
31971 return NULL;
31972}
31973
31974
31975SWIGINTERN PyObject *_wrap_ListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31976 PyObject *resultobj = 0;
31977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
31978 long arg2 ;
31979 wxFont *arg3 = 0 ;
31980 void *argp1 = 0 ;
31981 int res1 = 0 ;
31982 long val2 ;
31983 int ecode2 = 0 ;
31984 void *argp3 = 0 ;
31985 int res3 = 0 ;
31986 PyObject * obj0 = 0 ;
31987 PyObject * obj1 = 0 ;
31988 PyObject * obj2 = 0 ;
31989 char * kwnames[] = {
31990 (char *) "self",(char *) "item",(char *) "f", NULL
31991 };
31992
31993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
31995 if (!SWIG_IsOK(res1)) {
31996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31997 }
31998 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
31999 ecode2 = SWIG_AsVal_long(obj1, &val2);
32000 if (!SWIG_IsOK(ecode2)) {
32001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32002 }
32003 arg2 = static_cast< long >(val2);
32004 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
32005 if (!SWIG_IsOK(res3)) {
32006 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32007 }
32008 if (!argp3) {
32009 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32010 }
32011 arg3 = reinterpret_cast< wxFont * >(argp3);
32012 {
32013 PyThreadState* __tstate = wxPyBeginAllowThreads();
32014 (arg1)->SetItemFont(arg2,(wxFont const &)*arg3);
32015 wxPyEndAllowThreads(__tstate);
32016 if (PyErr_Occurred()) SWIG_fail;
32017 }
32018 resultobj = SWIG_Py_Void();
32019 return resultobj;
32020fail:
32021 return NULL;
32022}
32023
32024
32025SWIGINTERN PyObject *_wrap_ListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32026 PyObject *resultobj = 0;
32027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32028 long arg2 ;
32029 wxFont result;
32030 void *argp1 = 0 ;
32031 int res1 = 0 ;
32032 long val2 ;
32033 int ecode2 = 0 ;
32034 PyObject * obj0 = 0 ;
32035 PyObject * obj1 = 0 ;
32036 char * kwnames[] = {
32037 (char *) "self",(char *) "item", NULL
32038 };
32039
32040 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
32041 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32042 if (!SWIG_IsOK(res1)) {
32043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32044 }
32045 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32046 ecode2 = SWIG_AsVal_long(obj1, &val2);
32047 if (!SWIG_IsOK(ecode2)) {
32048 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32049 }
32050 arg2 = static_cast< long >(val2);
32051 {
32052 PyThreadState* __tstate = wxPyBeginAllowThreads();
32053 result = ((wxPyListCtrl const *)arg1)->GetItemFont(arg2);
32054 wxPyEndAllowThreads(__tstate);
32055 if (PyErr_Occurred()) SWIG_fail;
32056 }
32057 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
32058 return resultobj;
32059fail:
32060 return NULL;
32061}
32062
32063
32064SWIGINTERN PyObject *_wrap_ListCtrl_SortItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32065 PyObject *resultobj = 0;
32066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32067 PyObject *arg2 = (PyObject *) 0 ;
32068 bool result;
32069 void *argp1 = 0 ;
32070 int res1 = 0 ;
32071 PyObject * obj0 = 0 ;
32072 PyObject * obj1 = 0 ;
32073 char * kwnames[] = {
32074 (char *) "self",(char *) "func", NULL
32075 };
32076
32077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) SWIG_fail;
32078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32079 if (!SWIG_IsOK(res1)) {
32080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32081 }
32082 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32083 arg2 = obj1;
32084 {
32085 PyThreadState* __tstate = wxPyBeginAllowThreads();
32086 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
32087 wxPyEndAllowThreads(__tstate);
32088 if (PyErr_Occurred()) SWIG_fail;
32089 }
32090 {
32091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32092 }
32093 return resultobj;
32094fail:
32095 return NULL;
1fbf26be
RD
32096}
32097
32098
554f62e9
RD
32099SWIGINTERN PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32100 PyObject *resultobj = 0;
32101 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
32102 wxWindow *result = 0 ;
32103 void *argp1 = 0 ;
32104 int res1 = 0 ;
32105 PyObject *swig_obj[1] ;
32106
32107 if (!args) SWIG_fail;
32108 swig_obj[0] = args;
32109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
32110 if (!SWIG_IsOK(res1)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32112 }
32113 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
32114 {
32115 PyThreadState* __tstate = wxPyBeginAllowThreads();
32116 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
32117 wxPyEndAllowThreads(__tstate);
32118 if (PyErr_Occurred()) SWIG_fail;
32119 }
32120 {
32121 resultobj = wxPyMake_wxObject(result, 0);
32122 }
32123 return resultobj;
32124fail:
32125 return NULL;
32126}
32127
32128
32129SWIGINTERN PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32130 PyObject *resultobj = 0;
32131 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
32132 SwigValueWrapper<wxVisualAttributes > result;
32133 int val1 ;
32134 int ecode1 = 0 ;
32135 PyObject * obj0 = 0 ;
32136 char * kwnames[] = {
32137 (char *) "variant", NULL
32138 };
32139
32140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
32141 if (obj0) {
32142 ecode1 = SWIG_AsVal_int(obj0, &val1);
32143 if (!SWIG_IsOK(ecode1)) {
32144 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32145 }
32146 arg1 = static_cast< wxWindowVariant >(val1);
32147 }
32148 {
32149 if (!wxPyCheckForApp()) SWIG_fail;
32150 PyThreadState* __tstate = wxPyBeginAllowThreads();
32151 result = wxPyListCtrl::GetClassDefaultAttributes(arg1);
32152 wxPyEndAllowThreads(__tstate);
32153 if (PyErr_Occurred()) SWIG_fail;
32154 }
32155 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
32156 return resultobj;
32157fail:
32158 return NULL;
32159}
32160
32161
32162SWIGINTERN PyObject *ListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32163 PyObject *obj;
32164 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl, SWIG_NewClientData(obj));
32166 return SWIG_Py_Void();
32167}
32168
32169SWIGINTERN PyObject *ListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32170 return SWIG_Python_InitShadowInstance(args);
32171}
32172
32173SWIGINTERN PyObject *_wrap_new_ListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32174 PyObject *resultobj = 0;
32175 wxWindow *arg1 = (wxWindow *) 0 ;
32176 int arg2 = (int) -1 ;
32177 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32178 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32179 wxSize const &arg4_defvalue = wxDefaultSize ;
32180 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32181 long arg5 = (long) wxLC_REPORT ;
32182 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32183 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32184 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
32185 wxString *arg7 = (wxString *) &arg7_defvalue ;
32186 wxListView *result = 0 ;
32187 void *argp1 = 0 ;
32188 int res1 = 0 ;
32189 int val2 ;
32190 int ecode2 = 0 ;
32191 wxPoint temp3 ;
32192 wxSize temp4 ;
32193 long val5 ;
32194 int ecode5 = 0 ;
32195 void *argp6 = 0 ;
32196 int res6 = 0 ;
32197 bool temp7 = false ;
32198 PyObject * obj0 = 0 ;
32199 PyObject * obj1 = 0 ;
32200 PyObject * obj2 = 0 ;
32201 PyObject * obj3 = 0 ;
32202 PyObject * obj4 = 0 ;
32203 PyObject * obj5 = 0 ;
32204 PyObject * obj6 = 0 ;
32205 char * kwnames[] = {
32206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32207 };
32208
32209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
32211 if (!SWIG_IsOK(res1)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32213 }
32214 arg1 = reinterpret_cast< wxWindow * >(argp1);
32215 if (obj1) {
32216 ecode2 = SWIG_AsVal_int(obj1, &val2);
32217 if (!SWIG_IsOK(ecode2)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32219 }
32220 arg2 = static_cast< int >(val2);
32221 }
32222 if (obj2) {
32223 {
32224 arg3 = &temp3;
32225 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 32226 }
554f62e9
RD
32227 }
32228 if (obj3) {
32229 {
32230 arg4 = &temp4;
32231 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 32232 }
554f62e9
RD
32233 }
32234 if (obj4) {
32235 ecode5 = SWIG_AsVal_long(obj4, &val5);
32236 if (!SWIG_IsOK(ecode5)) {
32237 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32238 }
32239 arg5 = static_cast< long >(val5);
32240 }
32241 if (obj5) {
32242 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
32243 if (!SWIG_IsOK(res6)) {
32244 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 32245 }
554f62e9
RD
32246 if (!argp6) {
32247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 32248 }
554f62e9
RD
32249 arg6 = reinterpret_cast< wxValidator * >(argp6);
32250 }
32251 if (obj6) {
d55e5bfc 32252 {
554f62e9
RD
32253 arg7 = wxString_in_helper(obj6);
32254 if (arg7 == NULL) SWIG_fail;
32255 temp7 = true;
d55e5bfc 32256 }
554f62e9
RD
32257 }
32258 {
32259 if (!wxPyCheckForApp()) SWIG_fail;
32260 PyThreadState* __tstate = wxPyBeginAllowThreads();
32261 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32262 wxPyEndAllowThreads(__tstate);
32263 if (PyErr_Occurred()) SWIG_fail;
32264 }
32265 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_NEW | 0 );
32266 {
32267 if (temp7)
32268 delete arg7;
32269 }
32270 return resultobj;
32271fail:
32272 {
32273 if (temp7)
32274 delete arg7;
32275 }
32276 return NULL;
d55e5bfc
RD
32277}
32278
32279
554f62e9
RD
32280SWIGINTERN PyObject *_wrap_new_PreListView(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32281 PyObject *resultobj = 0;
32282 wxListView *result = 0 ;
32283
32284 if (!SWIG_Python_UnpackTuple(args,"new_PreListView",0,0,0)) SWIG_fail;
32285 {
32286 if (!wxPyCheckForApp()) SWIG_fail;
32287 PyThreadState* __tstate = wxPyBeginAllowThreads();
32288 result = (wxListView *)new wxListView();
32289 wxPyEndAllowThreads(__tstate);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 }
32292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxListView, SWIG_POINTER_OWN | 0 );
32293 return resultobj;
32294fail:
32295 return NULL;
32296}
32297
32298
32299SWIGINTERN PyObject *_wrap_ListView_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32300 PyObject *resultobj = 0;
32301 wxListView *arg1 = (wxListView *) 0 ;
32302 wxWindow *arg2 = (wxWindow *) 0 ;
32303 int arg3 = (int) -1 ;
32304 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32305 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32306 wxSize const &arg5_defvalue = wxDefaultSize ;
32307 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32308 long arg6 = (long) wxLC_REPORT ;
32309 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32310 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32311 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
32312 wxString *arg8 = (wxString *) &arg8_defvalue ;
32313 bool result;
32314 void *argp1 = 0 ;
32315 int res1 = 0 ;
32316 void *argp2 = 0 ;
32317 int res2 = 0 ;
32318 int val3 ;
32319 int ecode3 = 0 ;
32320 wxPoint temp4 ;
32321 wxSize temp5 ;
32322 long val6 ;
32323 int ecode6 = 0 ;
32324 void *argp7 = 0 ;
32325 int res7 = 0 ;
32326 bool temp8 = false ;
32327 PyObject * obj0 = 0 ;
32328 PyObject * obj1 = 0 ;
32329 PyObject * obj2 = 0 ;
32330 PyObject * obj3 = 0 ;
32331 PyObject * obj4 = 0 ;
32332 PyObject * obj5 = 0 ;
32333 PyObject * obj6 = 0 ;
32334 PyObject * obj7 = 0 ;
32335 char * kwnames[] = {
32336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32337 };
32338
32339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
32340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32341 if (!SWIG_IsOK(res1)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32343 }
32344 arg1 = reinterpret_cast< wxListView * >(argp1);
32345 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
32346 if (!SWIG_IsOK(res2)) {
32347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32348 }
32349 arg2 = reinterpret_cast< wxWindow * >(argp2);
32350 if (obj2) {
32351 ecode3 = SWIG_AsVal_int(obj2, &val3);
32352 if (!SWIG_IsOK(ecode3)) {
32353 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32354 }
32355 arg3 = static_cast< int >(val3);
32356 }
32357 if (obj3) {
093d3ff1 32358 {
554f62e9
RD
32359 arg4 = &temp4;
32360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
ae8162c8 32361 }
554f62e9
RD
32362 }
32363 if (obj4) {
32364 {
32365 arg5 = &temp5;
32366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
ae8162c8 32367 }
554f62e9
RD
32368 }
32369 if (obj5) {
32370 ecode6 = SWIG_AsVal_long(obj5, &val6);
32371 if (!SWIG_IsOK(ecode6)) {
32372 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32373 }
32374 arg6 = static_cast< long >(val6);
32375 }
32376 if (obj6) {
32377 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
32378 if (!SWIG_IsOK(res7)) {
32379 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 32380 }
554f62e9
RD
32381 if (!argp7) {
32382 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
ae8162c8 32383 }
554f62e9
RD
32384 arg7 = reinterpret_cast< wxValidator * >(argp7);
32385 }
32386 if (obj7) {
ae8162c8 32387 {
554f62e9
RD
32388 arg8 = wxString_in_helper(obj7);
32389 if (arg8 == NULL) SWIG_fail;
32390 temp8 = true;
ae8162c8 32391 }
554f62e9
RD
32392 }
32393 {
32394 PyThreadState* __tstate = wxPyBeginAllowThreads();
32395 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32396 wxPyEndAllowThreads(__tstate);
32397 if (PyErr_Occurred()) SWIG_fail;
32398 }
32399 {
32400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32401 }
32402 {
32403 if (temp8)
32404 delete arg8;
32405 }
32406 return resultobj;
32407fail:
32408 {
32409 if (temp8)
32410 delete arg8;
32411 }
32412 return NULL;
32413}
32414
32415
32416SWIGINTERN PyObject *_wrap_ListView_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32417 PyObject *resultobj = 0;
32418 wxListView *arg1 = (wxListView *) 0 ;
32419 long arg2 ;
32420 bool arg3 = (bool) true ;
32421 void *argp1 = 0 ;
32422 int res1 = 0 ;
32423 long val2 ;
32424 int ecode2 = 0 ;
32425 bool val3 ;
32426 int ecode3 = 0 ;
32427 PyObject * obj0 = 0 ;
32428 PyObject * obj1 = 0 ;
32429 PyObject * obj2 = 0 ;
32430 char * kwnames[] = {
32431 (char *) "self",(char *) "n",(char *) "on", NULL
32432 };
32433
32434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32436 if (!SWIG_IsOK(res1)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32438 }
32439 arg1 = reinterpret_cast< wxListView * >(argp1);
32440 ecode2 = SWIG_AsVal_long(obj1, &val2);
32441 if (!SWIG_IsOK(ecode2)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32443 }
32444 arg2 = static_cast< long >(val2);
32445 if (obj2) {
32446 ecode3 = SWIG_AsVal_bool(obj2, &val3);
32447 if (!SWIG_IsOK(ecode3)) {
32448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32449 }
32450 arg3 = static_cast< bool >(val3);
32451 }
32452 {
32453 PyThreadState* __tstate = wxPyBeginAllowThreads();
32454 (arg1)->Select(arg2,arg3);
32455 wxPyEndAllowThreads(__tstate);
32456 if (PyErr_Occurred()) SWIG_fail;
32457 }
32458 resultobj = SWIG_Py_Void();
32459 return resultobj;
32460fail:
32461 return NULL;
32462}
32463
32464
32465SWIGINTERN PyObject *_wrap_ListView_Focus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32466 PyObject *resultobj = 0;
32467 wxListView *arg1 = (wxListView *) 0 ;
32468 long arg2 ;
32469 void *argp1 = 0 ;
32470 int res1 = 0 ;
32471 long val2 ;
32472 int ecode2 = 0 ;
32473 PyObject * obj0 = 0 ;
32474 PyObject * obj1 = 0 ;
32475 char * kwnames[] = {
32476 (char *) "self",(char *) "index", NULL
32477 };
32478
32479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) SWIG_fail;
32480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32481 if (!SWIG_IsOK(res1)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32483 }
32484 arg1 = reinterpret_cast< wxListView * >(argp1);
32485 ecode2 = SWIG_AsVal_long(obj1, &val2);
32486 if (!SWIG_IsOK(ecode2)) {
32487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32488 }
32489 arg2 = static_cast< long >(val2);
32490 {
32491 PyThreadState* __tstate = wxPyBeginAllowThreads();
32492 (arg1)->Focus(arg2);
32493 wxPyEndAllowThreads(__tstate);
32494 if (PyErr_Occurred()) SWIG_fail;
32495 }
32496 resultobj = SWIG_Py_Void();
32497 return resultobj;
32498fail:
32499 return NULL;
ae8162c8
RD
32500}
32501
32502
554f62e9
RD
32503SWIGINTERN PyObject *_wrap_ListView_GetFocusedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32504 PyObject *resultobj = 0;
32505 wxListView *arg1 = (wxListView *) 0 ;
32506 long result;
32507 void *argp1 = 0 ;
32508 int res1 = 0 ;
32509 PyObject *swig_obj[1] ;
32510
32511 if (!args) SWIG_fail;
32512 swig_obj[0] = args;
32513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32514 if (!SWIG_IsOK(res1)) {
32515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32516 }
32517 arg1 = reinterpret_cast< wxListView * >(argp1);
32518 {
32519 PyThreadState* __tstate = wxPyBeginAllowThreads();
32520 result = (long)((wxListView const *)arg1)->GetFocusedItem();
32521 wxPyEndAllowThreads(__tstate);
32522 if (PyErr_Occurred()) SWIG_fail;
32523 }
32524 resultobj = SWIG_From_long(static_cast< long >(result));
32525 return resultobj;
32526fail:
32527 return NULL;
32528}
32529
32530
32531SWIGINTERN PyObject *_wrap_ListView_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32532 PyObject *resultobj = 0;
32533 wxListView *arg1 = (wxListView *) 0 ;
32534 long arg2 ;
32535 long result;
32536 void *argp1 = 0 ;
32537 int res1 = 0 ;
32538 long val2 ;
32539 int ecode2 = 0 ;
32540 PyObject * obj0 = 0 ;
32541 PyObject * obj1 = 0 ;
32542 char * kwnames[] = {
32543 (char *) "self",(char *) "item", NULL
32544 };
32545
32546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32548 if (!SWIG_IsOK(res1)) {
32549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32550 }
32551 arg1 = reinterpret_cast< wxListView * >(argp1);
32552 ecode2 = SWIG_AsVal_long(obj1, &val2);
32553 if (!SWIG_IsOK(ecode2)) {
32554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32555 }
32556 arg2 = static_cast< long >(val2);
32557 {
32558 PyThreadState* __tstate = wxPyBeginAllowThreads();
32559 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
32560 wxPyEndAllowThreads(__tstate);
32561 if (PyErr_Occurred()) SWIG_fail;
32562 }
32563 resultobj = SWIG_From_long(static_cast< long >(result));
32564 return resultobj;
32565fail:
32566 return NULL;
ae8162c8
RD
32567}
32568
32569
554f62e9
RD
32570SWIGINTERN PyObject *_wrap_ListView_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32571 PyObject *resultobj = 0;
32572 wxListView *arg1 = (wxListView *) 0 ;
32573 long result;
32574 void *argp1 = 0 ;
32575 int res1 = 0 ;
32576 PyObject *swig_obj[1] ;
32577
32578 if (!args) SWIG_fail;
32579 swig_obj[0] = args;
32580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32581 if (!SWIG_IsOK(res1)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32583 }
32584 arg1 = reinterpret_cast< wxListView * >(argp1);
32585 {
32586 PyThreadState* __tstate = wxPyBeginAllowThreads();
32587 result = (long)((wxListView const *)arg1)->GetFirstSelected();
32588 wxPyEndAllowThreads(__tstate);
32589 if (PyErr_Occurred()) SWIG_fail;
32590 }
32591 resultobj = SWIG_From_long(static_cast< long >(result));
32592 return resultobj;
32593fail:
32594 return NULL;
32595}
32596
32597
32598SWIGINTERN PyObject *_wrap_ListView_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32599 PyObject *resultobj = 0;
32600 wxListView *arg1 = (wxListView *) 0 ;
32601 long arg2 ;
32602 bool result;
32603 void *argp1 = 0 ;
32604 int res1 = 0 ;
32605 long val2 ;
32606 int ecode2 = 0 ;
32607 PyObject * obj0 = 0 ;
32608 PyObject * obj1 = 0 ;
32609 char * kwnames[] = {
32610 (char *) "self",(char *) "index", NULL
32611 };
32612
32613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
32614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32615 if (!SWIG_IsOK(res1)) {
32616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32617 }
32618 arg1 = reinterpret_cast< wxListView * >(argp1);
32619 ecode2 = SWIG_AsVal_long(obj1, &val2);
32620 if (!SWIG_IsOK(ecode2)) {
32621 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32622 }
32623 arg2 = static_cast< long >(val2);
32624 {
32625 PyThreadState* __tstate = wxPyBeginAllowThreads();
32626 result = (bool)(arg1)->IsSelected(arg2);
32627 wxPyEndAllowThreads(__tstate);
32628 if (PyErr_Occurred()) SWIG_fail;
32629 }
32630 {
32631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32632 }
32633 return resultobj;
32634fail:
32635 return NULL;
32636}
32637
32638
32639SWIGINTERN PyObject *_wrap_ListView_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32640 PyObject *resultobj = 0;
32641 wxListView *arg1 = (wxListView *) 0 ;
32642 int arg2 ;
32643 int arg3 ;
32644 void *argp1 = 0 ;
32645 int res1 = 0 ;
32646 int val2 ;
32647 int ecode2 = 0 ;
32648 int val3 ;
32649 int ecode3 = 0 ;
32650 PyObject * obj0 = 0 ;
32651 PyObject * obj1 = 0 ;
32652 PyObject * obj2 = 0 ;
32653 char * kwnames[] = {
32654 (char *) "self",(char *) "col",(char *) "image", NULL
32655 };
32656
32657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32659 if (!SWIG_IsOK(res1)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32661 }
32662 arg1 = reinterpret_cast< wxListView * >(argp1);
32663 ecode2 = SWIG_AsVal_int(obj1, &val2);
32664 if (!SWIG_IsOK(ecode2)) {
32665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32666 }
32667 arg2 = static_cast< int >(val2);
32668 ecode3 = SWIG_AsVal_int(obj2, &val3);
32669 if (!SWIG_IsOK(ecode3)) {
32670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32671 }
32672 arg3 = static_cast< int >(val3);
32673 {
32674 PyThreadState* __tstate = wxPyBeginAllowThreads();
32675 (arg1)->SetColumnImage(arg2,arg3);
32676 wxPyEndAllowThreads(__tstate);
32677 if (PyErr_Occurred()) SWIG_fail;
32678 }
32679 resultobj = SWIG_Py_Void();
32680 return resultobj;
32681fail:
32682 return NULL;
32683}
32684
32685
32686SWIGINTERN PyObject *_wrap_ListView_ClearColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32687 PyObject *resultobj = 0;
32688 wxListView *arg1 = (wxListView *) 0 ;
32689 int arg2 ;
32690 void *argp1 = 0 ;
32691 int res1 = 0 ;
32692 int val2 ;
32693 int ecode2 = 0 ;
32694 PyObject * obj0 = 0 ;
32695 PyObject * obj1 = 0 ;
32696 char * kwnames[] = {
32697 (char *) "self",(char *) "col", NULL
32698 };
32699
32700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
32701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxListView, 0 | 0 );
32702 if (!SWIG_IsOK(res1)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32704 }
32705 arg1 = reinterpret_cast< wxListView * >(argp1);
32706 ecode2 = SWIG_AsVal_int(obj1, &val2);
32707 if (!SWIG_IsOK(ecode2)) {
32708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32709 }
32710 arg2 = static_cast< int >(val2);
32711 {
32712 PyThreadState* __tstate = wxPyBeginAllowThreads();
32713 (arg1)->ClearColumnImage(arg2);
32714 wxPyEndAllowThreads(__tstate);
32715 if (PyErr_Occurred()) SWIG_fail;
32716 }
32717 resultobj = SWIG_Py_Void();
32718 return resultobj;
32719fail:
32720 return NULL;
ae8162c8
RD
32721}
32722
32723
554f62e9
RD
32724SWIGINTERN PyObject *ListView_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32725 PyObject *obj;
32726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32727 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView, SWIG_NewClientData(obj));
32728 return SWIG_Py_Void();
70b7a5fe
RD
32729}
32730
554f62e9
RD
32731SWIGINTERN PyObject *ListView_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32732 return SWIG_Python_InitShadowInstance(args);
ae8162c8
RD
32733}
32734
554f62e9
RD
32735SWIGINTERN int TreeCtrlNameStr_set(PyObject *) {
32736 SWIG_Error(SWIG_AttributeError,"Variable TreeCtrlNameStr is read-only.");
32737 return 1;
ae8162c8
RD
32738}
32739
32740
554f62e9
RD
32741SWIGINTERN PyObject *TreeCtrlNameStr_get(void) {
32742 PyObject *pyobj = 0;
32743
32744 {
32745#if wxUSE_UNICODE
32746 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32747#else
32748 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
32749#endif
32750 }
32751 return pyobj;
d55e5bfc
RD
32752}
32753
32754
554f62e9
RD
32755SWIGINTERN PyObject *_wrap_new_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32756 PyObject *resultobj = 0;
32757 wxTreeItemId *result = 0 ;
32758
32759 if (!SWIG_Python_UnpackTuple(args,"new_TreeItemId",0,0,0)) SWIG_fail;
32760 {
32761 PyThreadState* __tstate = wxPyBeginAllowThreads();
32762 result = (wxTreeItemId *)new wxTreeItemId();
32763 wxPyEndAllowThreads(__tstate);
32764 if (PyErr_Occurred()) SWIG_fail;
32765 }
32766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_NEW | 0 );
32767 return resultobj;
32768fail:
32769 return NULL;
d55e5bfc
RD
32770}
32771
32772
554f62e9
RD
32773SWIGINTERN PyObject *_wrap_delete_TreeItemId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32774 PyObject *resultobj = 0;
32775 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32776 void *argp1 = 0 ;
32777 int res1 = 0 ;
32778 PyObject *swig_obj[1] ;
32779
32780 if (!args) SWIG_fail;
32781 swig_obj[0] = args;
32782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_DISOWN | 0 );
32783 if (!SWIG_IsOK(res1)) {
32784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32785 }
32786 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32787 {
32788 PyThreadState* __tstate = wxPyBeginAllowThreads();
32789 delete arg1;
d55e5bfc 32790
554f62e9
RD
32791 wxPyEndAllowThreads(__tstate);
32792 if (PyErr_Occurred()) SWIG_fail;
32793 }
32794 resultobj = SWIG_Py_Void();
32795 return resultobj;
32796fail:
32797 return NULL;
d55e5bfc
RD
32798}
32799
32800
554f62e9
RD
32801SWIGINTERN PyObject *_wrap_TreeItemId_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32802 PyObject *resultobj = 0;
32803 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32804 bool result;
32805 void *argp1 = 0 ;
32806 int res1 = 0 ;
32807 PyObject *swig_obj[1] ;
32808
32809 if (!args) SWIG_fail;
32810 swig_obj[0] = args;
32811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32812 if (!SWIG_IsOK(res1)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32814 }
32815 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32816 {
32817 PyThreadState* __tstate = wxPyBeginAllowThreads();
32818 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
32819 wxPyEndAllowThreads(__tstate);
32820 if (PyErr_Occurred()) SWIG_fail;
32821 }
32822 {
32823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32824 }
32825 return resultobj;
32826fail:
32827 return NULL;
32828}
32829
32830
32831SWIGINTERN PyObject *_wrap_TreeItemId___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32832 PyObject *resultobj = 0;
32833 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32834 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32835 bool result;
32836 void *argp1 = 0 ;
32837 int res1 = 0 ;
32838 void *argp2 = 0 ;
32839 int res2 = 0 ;
32840 PyObject * obj0 = 0 ;
32841 PyObject * obj1 = 0 ;
32842 char * kwnames[] = {
32843 (char *) "self",(char *) "other", NULL
32844 };
32845
32846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) SWIG_fail;
32847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32848 if (!SWIG_IsOK(res1)) {
32849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32850 }
32851 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32852 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32853 if (!SWIG_IsOK(res2)) {
32854 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32855 }
32856 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32857 {
32858 PyThreadState* __tstate = wxPyBeginAllowThreads();
32859 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
32860 wxPyEndAllowThreads(__tstate);
32861 if (PyErr_Occurred()) SWIG_fail;
32862 }
32863 {
32864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32865 }
32866 return resultobj;
32867fail:
32868 return NULL;
32869}
32870
32871
32872SWIGINTERN PyObject *_wrap_TreeItemId___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32873 PyObject *resultobj = 0;
32874 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32875 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
32876 bool result;
32877 void *argp1 = 0 ;
32878 int res1 = 0 ;
32879 void *argp2 = 0 ;
32880 int res2 = 0 ;
32881 PyObject * obj0 = 0 ;
32882 PyObject * obj1 = 0 ;
32883 char * kwnames[] = {
32884 (char *) "self",(char *) "other", NULL
32885 };
32886
32887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) SWIG_fail;
32888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32889 if (!SWIG_IsOK(res1)) {
32890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32891 }
32892 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32893 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32894 if (!SWIG_IsOK(res2)) {
32895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32896 }
32897 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
32898 {
32899 PyThreadState* __tstate = wxPyBeginAllowThreads();
32900 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
32901 wxPyEndAllowThreads(__tstate);
32902 if (PyErr_Occurred()) SWIG_fail;
32903 }
32904 {
32905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32906 }
32907 return resultobj;
32908fail:
32909 return NULL;
d55e5bfc
RD
32910}
32911
32912
554f62e9
RD
32913SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32914 PyObject *resultobj = 0;
32915 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32916 void *arg2 = (void *) 0 ;
32917 void *argp1 = 0 ;
32918 int res1 = 0 ;
32919 int res2 ;
32920 PyObject *swig_obj[2] ;
32921
32922 if (!SWIG_Python_UnpackTuple(args,"TreeItemId_m_pItem_set",2,2,swig_obj)) SWIG_fail;
32923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32924 if (!SWIG_IsOK(res1)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32926 }
32927 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32928 res2 = SWIG_ConvertPtr(swig_obj[1],SWIG_as_voidptrptr(&arg2), 0, SWIG_POINTER_DISOWN);
32929 if (!SWIG_IsOK(res2)) {
32930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32931 }
32932 if (arg1) (arg1)->m_pItem = arg2;
32933
32934 resultobj = SWIG_Py_Void();
32935 return resultobj;
32936fail:
32937 return NULL;
d55e5bfc
RD
32938}
32939
32940
554f62e9
RD
32941SWIGINTERN PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32942 PyObject *resultobj = 0;
32943 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
32944 void *result = 0 ;
32945 void *argp1 = 0 ;
32946 int res1 = 0 ;
32947 PyObject *swig_obj[1] ;
32948
32949 if (!args) SWIG_fail;
32950 swig_obj[0] = args;
32951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeItemId, 0 | 0 );
32952 if (!SWIG_IsOK(res1)) {
32953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32954 }
32955 arg1 = reinterpret_cast< wxTreeItemId * >(argp1);
32956 result = (void *) ((arg1)->m_pItem);
32957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 );
32958 return resultobj;
32959fail:
32960 return NULL;
d55e5bfc
RD
32961}
32962
32963
554f62e9
RD
32964SWIGINTERN PyObject *TreeItemId_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32965 PyObject *obj;
32966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32967 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId, SWIG_NewClientData(obj));
32968 return SWIG_Py_Void();
d55e5bfc
RD
32969}
32970
554f62e9
RD
32971SWIGINTERN PyObject *TreeItemId_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32972 return SWIG_Python_InitShadowInstance(args);
32973}
d55e5bfc 32974
554f62e9
RD
32975SWIGINTERN PyObject *_wrap_new_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32976 PyObject *resultobj = 0;
32977 PyObject *arg1 = (PyObject *) NULL ;
32978 wxPyTreeItemData *result = 0 ;
32979 PyObject * obj0 = 0 ;
32980 char * kwnames[] = {
32981 (char *) "obj", NULL
32982 };
32983
32984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) SWIG_fail;
32985 if (obj0) {
32986 arg1 = obj0;
32987 }
32988 {
32989 PyThreadState* __tstate = wxPyBeginAllowThreads();
32990 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
32991 wxPyEndAllowThreads(__tstate);
32992 if (PyErr_Occurred()) SWIG_fail;
32993 }
32994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_NEW | 0 );
32995 return resultobj;
32996fail:
32997 return NULL;
d55e5bfc
RD
32998}
32999
33000
554f62e9
RD
33001SWIGINTERN PyObject *_wrap_delete_TreeItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33002 PyObject *resultobj = 0;
33003 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33004 void *argp1 = 0 ;
33005 int res1 = 0 ;
33006 PyObject *swig_obj[1] ;
33007
33008 if (!args) SWIG_fail;
33009 swig_obj[0] = args;
33010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
33011 if (!SWIG_IsOK(res1)) {
33012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33013 }
33014 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33015 {
33016 PyThreadState* __tstate = wxPyBeginAllowThreads();
33017 delete arg1;
d55e5bfc 33018
554f62e9
RD
33019 wxPyEndAllowThreads(__tstate);
33020 if (PyErr_Occurred()) SWIG_fail;
33021 }
33022 resultobj = SWIG_Py_Void();
33023 return resultobj;
33024fail:
33025 return NULL;
d55e5bfc
RD
33026}
33027
33028
554f62e9
RD
33029SWIGINTERN PyObject *_wrap_TreeItemData_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33030 PyObject *resultobj = 0;
33031 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33032 PyObject *result = 0 ;
33033 void *argp1 = 0 ;
33034 int res1 = 0 ;
33035 PyObject *swig_obj[1] ;
33036
33037 if (!args) SWIG_fail;
33038 swig_obj[0] = args;
33039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33040 if (!SWIG_IsOK(res1)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33042 }
33043 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33044 {
33045 PyThreadState* __tstate = wxPyBeginAllowThreads();
33046 result = (PyObject *)(arg1)->GetData();
33047 wxPyEndAllowThreads(__tstate);
33048 if (PyErr_Occurred()) SWIG_fail;
33049 }
33050 resultobj = result;
33051 return resultobj;
33052fail:
33053 return NULL;
33054}
33055
33056
33057SWIGINTERN PyObject *_wrap_TreeItemData_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33058 PyObject *resultobj = 0;
33059 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33060 PyObject *arg2 = (PyObject *) 0 ;
33061 void *argp1 = 0 ;
33062 int res1 = 0 ;
33063 PyObject * obj0 = 0 ;
33064 PyObject * obj1 = 0 ;
33065 char * kwnames[] = {
33066 (char *) "self",(char *) "obj", NULL
33067 };
33068
33069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
33070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33071 if (!SWIG_IsOK(res1)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33073 }
33074 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33075 arg2 = obj1;
33076 {
33077 PyThreadState* __tstate = wxPyBeginAllowThreads();
33078 (arg1)->SetData(arg2);
33079 wxPyEndAllowThreads(__tstate);
33080 if (PyErr_Occurred()) SWIG_fail;
33081 }
33082 resultobj = SWIG_Py_Void();
33083 return resultobj;
33084fail:
33085 return NULL;
d55e5bfc
RD
33086}
33087
33088
554f62e9
RD
33089SWIGINTERN PyObject *_wrap_TreeItemData_GetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33090 PyObject *resultobj = 0;
33091 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33092 wxTreeItemId *result = 0 ;
33093 void *argp1 = 0 ;
33094 int res1 = 0 ;
33095 PyObject *swig_obj[1] ;
33096
33097 if (!args) SWIG_fail;
33098 swig_obj[0] = args;
33099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33100 if (!SWIG_IsOK(res1)) {
33101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33102 }
33103 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33104 {
33105 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33106 {
554f62e9
RD
33107 wxTreeItemId const &_result_ref = (arg1)->GetId();
33108 result = (wxTreeItemId *) &_result_ref;
d55e5bfc 33109 }
554f62e9
RD
33110 wxPyEndAllowThreads(__tstate);
33111 if (PyErr_Occurred()) SWIG_fail;
33112 }
33113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeItemId, 0 | 0 );
33114 return resultobj;
33115fail:
33116 return NULL;
33117}
33118
33119
33120SWIGINTERN PyObject *_wrap_TreeItemData_SetId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33121 PyObject *resultobj = 0;
33122 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33123 wxTreeItemId *arg2 = 0 ;
33124 void *argp1 = 0 ;
33125 int res1 = 0 ;
33126 void *argp2 = 0 ;
33127 int res2 = 0 ;
33128 PyObject * obj0 = 0 ;
33129 PyObject * obj1 = 0 ;
33130 char * kwnames[] = {
33131 (char *) "self",(char *) "id", NULL
33132 };
33133
33134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) SWIG_fail;
33135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33136 if (!SWIG_IsOK(res1)) {
33137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33138 }
33139 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33141 if (!SWIG_IsOK(res2)) {
33142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33143 }
33144 if (!argp2) {
33145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33146 }
33147 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33148 {
33149 PyThreadState* __tstate = wxPyBeginAllowThreads();
33150 (arg1)->SetId((wxTreeItemId const &)*arg2);
33151 wxPyEndAllowThreads(__tstate);
33152 if (PyErr_Occurred()) SWIG_fail;
33153 }
33154 resultobj = SWIG_Py_Void();
33155 return resultobj;
33156fail:
33157 return NULL;
d55e5bfc
RD
33158}
33159
33160
554f62e9
RD
33161SWIGINTERN PyObject *_wrap_TreeItemData_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33162 PyObject *resultobj = 0;
33163 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
33164 void *argp1 = 0 ;
33165 int res1 = 0 ;
33166 PyObject *swig_obj[1] ;
33167
33168 if (!args) SWIG_fail;
33169 swig_obj[0] = args;
33170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
33171 if (!SWIG_IsOK(res1)) {
33172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33173 }
33174 arg1 = reinterpret_cast< wxPyTreeItemData * >(argp1);
33175 {
33176 PyThreadState* __tstate = wxPyBeginAllowThreads();
33177 wxPyTreeItemData_Destroy(arg1);
33178 wxPyEndAllowThreads(__tstate);
33179 if (PyErr_Occurred()) SWIG_fail;
33180 }
33181 resultobj = SWIG_Py_Void();
33182 return resultobj;
33183fail:
33184 return NULL;
d55e5bfc
RD
33185}
33186
33187
554f62e9
RD
33188SWIGINTERN PyObject *TreeItemData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33189 PyObject *obj;
33190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData, SWIG_NewClientData(obj));
33192 return SWIG_Py_Void();
d55e5bfc
RD
33193}
33194
554f62e9
RD
33195SWIGINTERN PyObject *TreeItemData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33196 return SWIG_Python_InitShadowInstance(args);
33197}
d55e5bfc 33198
b02396e8
RD
33199SWIGINTERN int NullTreeItemId_set(PyObject *_val) {
33200 {
33201 void *argp = 0;
33202 int res = SWIG_ConvertPtr(_val, &argp, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33203 if (!SWIG_IsOK(res)) {
33204 SWIG_exception_fail(SWIG_ArgError(res), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33205 }
33206 if (!argp) {
33207 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33208 } else {
33209 wxTreeItemId * temp;
33210 temp = reinterpret_cast< wxTreeItemId * >(argp);
33211 wxNullTreeItemId = *temp;
33212 if (SWIG_IsNewObj(res)) delete temp;
33213 }
33214 }
33215 return 0;
33216fail:
33217 return 1;
33218}
33219
33220
33221SWIGINTERN PyObject *NullTreeItemId_get(void) {
33222 PyObject *pyobj = 0;
33223
33224 pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId), SWIGTYPE_p_wxTreeItemId, 0 );
33225 return pyobj;
33226}
33227
33228
33229SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
554f62e9
RD
33230 PyObject *resultobj = 0;
33231 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
33232 int arg2 = (int) 0 ;
33233 wxTreeEvent *result = 0 ;
33234 int val1 ;
33235 int ecode1 = 0 ;
33236 int val2 ;
33237 int ecode2 = 0 ;
554f62e9 33238
b02396e8
RD
33239 if ((nobjs < 0) || (nobjs > 2)) SWIG_fail;
33240 if (swig_obj[0]) {
33241 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
554f62e9
RD
33242 if (!SWIG_IsOK(ecode1)) {
33243 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33244 }
33245 arg1 = static_cast< wxEventType >(val1);
33246 }
b02396e8
RD
33247 if (swig_obj[1]) {
33248 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
554f62e9
RD
33249 if (!SWIG_IsOK(ecode2)) {
33250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33251 }
33252 arg2 = static_cast< int >(val2);
33253 }
33254 {
33255 PyThreadState* __tstate = wxPyBeginAllowThreads();
33256 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
33257 wxPyEndAllowThreads(__tstate);
33258 if (PyErr_Occurred()) SWIG_fail;
33259 }
33260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33261 return resultobj;
33262fail:
33263 return NULL;
d55e5bfc
RD
33264}
33265
33266
b02396e8
RD
33267SWIGINTERN PyObject *_wrap_new_TreeEvent__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33268 PyObject *resultobj = 0;
33269 wxEventType arg1 ;
33270 wxPyTreeCtrl *arg2 = (wxPyTreeCtrl *) 0 ;
33271 wxTreeItemId &arg3_defvalue = wxNullTreeItemId ;
33272 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
33273 wxTreeEvent *result = 0 ;
33274 int val1 ;
33275 int ecode1 = 0 ;
33276 void *argp2 = 0 ;
33277 int res2 = 0 ;
33278 void *argp3 = 0 ;
33279 int res3 = 0 ;
33280
33281 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33282 ecode1 = SWIG_AsVal_int(swig_obj[0], &val1);
33283 if (!SWIG_IsOK(ecode1)) {
33284 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33285 }
33286 arg1 = static_cast< wxEventType >(val1);
33287 res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
33288 if (!SWIG_IsOK(res2)) {
33289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33290 }
33291 arg2 = reinterpret_cast< wxPyTreeCtrl * >(argp2);
33292 if (swig_obj[2]) {
33293 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_wxTreeItemId, 0 );
33294 if (!SWIG_IsOK(res3)) {
33295 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33296 }
33297 if (!argp3) {
33298 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33299 }
33300 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
33301 }
33302 {
33303 PyThreadState* __tstate = wxPyBeginAllowThreads();
33304 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2,*arg3);
33305 wxPyEndAllowThreads(__tstate);
33306 if (PyErr_Occurred()) SWIG_fail;
33307 }
33308 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeEvent, SWIG_POINTER_NEW | 0 );
33309 return resultobj;
33310fail:
33311 return NULL;
33312}
33313
33314
33315SWIGINTERN PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args) {
33316 int argc;
33317 PyObject *argv[4];
33318
33319 if (!(argc = SWIG_Python_UnpackTuple(args,"new_TreeEvent",0,3,argv))) SWIG_fail;
33320 --argc;
33321 if ((argc >= 0) && (argc <= 2)) {
33322 int _v = 0;
33323 if (argc > 1) {
33324 {
33325 {
33326 int res = SWIG_AsVal_int(argv[1], NULL);
33327 _v = SWIG_CheckState(res);
33328 }
33329 }
33330 if (!_v) goto check_1;
33331 }
33332 return _wrap_new_TreeEvent__SWIG_0(self, argc, argv);
33333 }
33334check_1:
33335
33336 if ((argc >= 2) && (argc <= 3)) {
33337 return _wrap_new_TreeEvent__SWIG_1(self, argc, argv);
33338 }
33339
33340fail:
33341 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_TreeEvent'");
33342 return NULL;
33343}
33344
33345
554f62e9
RD
33346SWIGINTERN PyObject *_wrap_TreeEvent_GetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33347 PyObject *resultobj = 0;
33348 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33349 wxTreeItemId result;
33350 void *argp1 = 0 ;
33351 int res1 = 0 ;
33352 PyObject *swig_obj[1] ;
33353
33354 if (!args) SWIG_fail;
33355 swig_obj[0] = args;
33356 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33357 if (!SWIG_IsOK(res1)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33359 }
33360 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33361 {
33362 PyThreadState* __tstate = wxPyBeginAllowThreads();
33363 result = ((wxTreeEvent const *)arg1)->GetItem();
33364 wxPyEndAllowThreads(__tstate);
33365 if (PyErr_Occurred()) SWIG_fail;
33366 }
33367 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33368 return resultobj;
33369fail:
33370 return NULL;
33371}
33372
33373
33374SWIGINTERN PyObject *_wrap_TreeEvent_SetItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33375 PyObject *resultobj = 0;
33376 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33377 wxTreeItemId *arg2 = 0 ;
33378 void *argp1 = 0 ;
33379 int res1 = 0 ;
33380 void *argp2 = 0 ;
33381 int res2 = 0 ;
33382 PyObject * obj0 = 0 ;
33383 PyObject * obj1 = 0 ;
33384 char * kwnames[] = {
33385 (char *) "self",(char *) "item", NULL
33386 };
33387
33388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) SWIG_fail;
33389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33390 if (!SWIG_IsOK(res1)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33392 }
33393 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33394 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33395 if (!SWIG_IsOK(res2)) {
33396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33397 }
33398 if (!argp2) {
33399 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33400 }
33401 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33402 {
33403 PyThreadState* __tstate = wxPyBeginAllowThreads();
33404 (arg1)->SetItem((wxTreeItemId const &)*arg2);
33405 wxPyEndAllowThreads(__tstate);
33406 if (PyErr_Occurred()) SWIG_fail;
33407 }
33408 resultobj = SWIG_Py_Void();
33409 return resultobj;
33410fail:
33411 return NULL;
d55e5bfc
RD
33412}
33413
33414
554f62e9
RD
33415SWIGINTERN PyObject *_wrap_TreeEvent_GetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33416 PyObject *resultobj = 0;
33417 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33418 wxTreeItemId result;
33419 void *argp1 = 0 ;
33420 int res1 = 0 ;
33421 PyObject *swig_obj[1] ;
33422
33423 if (!args) SWIG_fail;
33424 swig_obj[0] = args;
33425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33426 if (!SWIG_IsOK(res1)) {
33427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33428 }
33429 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33430 {
33431 PyThreadState* __tstate = wxPyBeginAllowThreads();
33432 result = ((wxTreeEvent const *)arg1)->GetOldItem();
33433 wxPyEndAllowThreads(__tstate);
33434 if (PyErr_Occurred()) SWIG_fail;
33435 }
33436 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
33437 return resultobj;
33438fail:
33439 return NULL;
33440}
33441
33442
33443SWIGINTERN PyObject *_wrap_TreeEvent_SetOldItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33444 PyObject *resultobj = 0;
33445 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33446 wxTreeItemId *arg2 = 0 ;
33447 void *argp1 = 0 ;
33448 int res1 = 0 ;
33449 void *argp2 = 0 ;
33450 int res2 = 0 ;
33451 PyObject * obj0 = 0 ;
33452 PyObject * obj1 = 0 ;
33453 char * kwnames[] = {
33454 (char *) "self",(char *) "item", NULL
33455 };
33456
33457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) SWIG_fail;
33458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33459 if (!SWIG_IsOK(res1)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33461 }
33462 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33463 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
33464 if (!SWIG_IsOK(res2)) {
33465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33466 }
33467 if (!argp2) {
33468 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33469 }
33470 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33471 {
33472 PyThreadState* __tstate = wxPyBeginAllowThreads();
33473 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
33474 wxPyEndAllowThreads(__tstate);
33475 if (PyErr_Occurred()) SWIG_fail;
33476 }
33477 resultobj = SWIG_Py_Void();
33478 return resultobj;
33479fail:
33480 return NULL;
d55e5bfc
RD
33481}
33482
33483
554f62e9
RD
33484SWIGINTERN PyObject *_wrap_TreeEvent_GetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33485 PyObject *resultobj = 0;
33486 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33487 wxPoint result;
33488 void *argp1 = 0 ;
33489 int res1 = 0 ;
33490 PyObject *swig_obj[1] ;
33491
33492 if (!args) SWIG_fail;
33493 swig_obj[0] = args;
33494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33495 if (!SWIG_IsOK(res1)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33497 }
33498 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33499 {
33500 PyThreadState* __tstate = wxPyBeginAllowThreads();
33501 result = ((wxTreeEvent const *)arg1)->GetPoint();
33502 wxPyEndAllowThreads(__tstate);
33503 if (PyErr_Occurred()) SWIG_fail;
33504 }
33505 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
33506 return resultobj;
33507fail:
33508 return NULL;
33509}
33510
33511
33512SWIGINTERN PyObject *_wrap_TreeEvent_SetPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33513 PyObject *resultobj = 0;
33514 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33515 wxPoint *arg2 = 0 ;
33516 void *argp1 = 0 ;
33517 int res1 = 0 ;
33518 wxPoint temp2 ;
33519 PyObject * obj0 = 0 ;
33520 PyObject * obj1 = 0 ;
33521 char * kwnames[] = {
33522 (char *) "self",(char *) "pt", NULL
33523 };
33524
33525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) SWIG_fail;
33526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33527 if (!SWIG_IsOK(res1)) {
33528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33529 }
33530 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33531 {
33532 arg2 = &temp2;
33533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
33534 }
33535 {
33536 PyThreadState* __tstate = wxPyBeginAllowThreads();
33537 (arg1)->SetPoint((wxPoint const &)*arg2);
33538 wxPyEndAllowThreads(__tstate);
33539 if (PyErr_Occurred()) SWIG_fail;
33540 }
33541 resultobj = SWIG_Py_Void();
33542 return resultobj;
33543fail:
33544 return NULL;
d55e5bfc
RD
33545}
33546
33547
554f62e9
RD
33548SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33549 PyObject *resultobj = 0;
33550 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33551 wxKeyEvent *result = 0 ;
33552 void *argp1 = 0 ;
33553 int res1 = 0 ;
33554 PyObject *swig_obj[1] ;
33555
33556 if (!args) SWIG_fail;
33557 swig_obj[0] = args;
33558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33559 if (!SWIG_IsOK(res1)) {
33560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33561 }
33562 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33563 {
33564 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33565 {
554f62e9
RD
33566 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
33567 result = (wxKeyEvent *) &_result_ref;
d55e5bfc 33568 }
554f62e9
RD
33569 wxPyEndAllowThreads(__tstate);
33570 if (PyErr_Occurred()) SWIG_fail;
33571 }
33572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxKeyEvent, 0 | 0 );
33573 return resultobj;
33574fail:
33575 return NULL;
d55e5bfc
RD
33576}
33577
33578
554f62e9
RD
33579SWIGINTERN PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33580 PyObject *resultobj = 0;
33581 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33582 int result;
33583 void *argp1 = 0 ;
33584 int res1 = 0 ;
33585 PyObject *swig_obj[1] ;
33586
33587 if (!args) SWIG_fail;
33588 swig_obj[0] = args;
33589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33590 if (!SWIG_IsOK(res1)) {
33591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33592 }
33593 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33594 {
33595 PyThreadState* __tstate = wxPyBeginAllowThreads();
33596 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
33597 wxPyEndAllowThreads(__tstate);
33598 if (PyErr_Occurred()) SWIG_fail;
33599 }
33600 resultobj = SWIG_From_int(static_cast< int >(result));
33601 return resultobj;
33602fail:
33603 return NULL;
33604}
33605
33606
33607SWIGINTERN PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33608 PyObject *resultobj = 0;
33609 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33610 wxKeyEvent *arg2 = 0 ;
33611 void *argp1 = 0 ;
33612 int res1 = 0 ;
33613 void *argp2 = 0 ;
33614 int res2 = 0 ;
33615 PyObject * obj0 = 0 ;
33616 PyObject * obj1 = 0 ;
33617 char * kwnames[] = {
33618 (char *) "self",(char *) "evt", NULL
33619 };
33620
33621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) SWIG_fail;
33622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33623 if (!SWIG_IsOK(res1)) {
33624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33625 }
33626 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33627 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxKeyEvent, 0 | 0);
33628 if (!SWIG_IsOK(res2)) {
33629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33630 }
33631 if (!argp2) {
33632 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33633 }
33634 arg2 = reinterpret_cast< wxKeyEvent * >(argp2);
33635 {
33636 PyThreadState* __tstate = wxPyBeginAllowThreads();
33637 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
33638 wxPyEndAllowThreads(__tstate);
33639 if (PyErr_Occurred()) SWIG_fail;
33640 }
33641 resultobj = SWIG_Py_Void();
33642 return resultobj;
33643fail:
33644 return NULL;
d55e5bfc
RD
33645}
33646
33647
554f62e9
RD
33648SWIGINTERN PyObject *_wrap_TreeEvent_GetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33649 PyObject *resultobj = 0;
33650 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33651 wxString *result = 0 ;
33652 void *argp1 = 0 ;
33653 int res1 = 0 ;
33654 PyObject *swig_obj[1] ;
33655
33656 if (!args) SWIG_fail;
33657 swig_obj[0] = args;
33658 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33659 if (!SWIG_IsOK(res1)) {
33660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33661 }
33662 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33663 {
33664 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 33665 {
554f62e9
RD
33666 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
33667 result = (wxString *) &_result_ref;
d55e5bfc 33668 }
554f62e9
RD
33669 wxPyEndAllowThreads(__tstate);
33670 if (PyErr_Occurred()) SWIG_fail;
33671 }
33672 {
33673#if wxUSE_UNICODE
33674 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33675#else
33676 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33677#endif
33678 }
33679 return resultobj;
33680fail:
33681 return NULL;
33682}
33683
33684
33685SWIGINTERN PyObject *_wrap_TreeEvent_SetLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33686 PyObject *resultobj = 0;
33687 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33688 wxString *arg2 = 0 ;
33689 void *argp1 = 0 ;
33690 int res1 = 0 ;
33691 bool temp2 = false ;
33692 PyObject * obj0 = 0 ;
33693 PyObject * obj1 = 0 ;
33694 char * kwnames[] = {
33695 (char *) "self",(char *) "label", NULL
33696 };
33697
33698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) SWIG_fail;
33699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33700 if (!SWIG_IsOK(res1)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33702 }
33703 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33704 {
33705 arg2 = wxString_in_helper(obj1);
33706 if (arg2 == NULL) SWIG_fail;
33707 temp2 = true;
33708 }
33709 {
33710 PyThreadState* __tstate = wxPyBeginAllowThreads();
33711 (arg1)->SetLabel((wxString const &)*arg2);
33712 wxPyEndAllowThreads(__tstate);
33713 if (PyErr_Occurred()) SWIG_fail;
33714 }
33715 resultobj = SWIG_Py_Void();
33716 {
33717 if (temp2)
33718 delete arg2;
33719 }
33720 return resultobj;
33721fail:
33722 {
33723 if (temp2)
33724 delete arg2;
33725 }
33726 return NULL;
d55e5bfc
RD
33727}
33728
33729
554f62e9
RD
33730SWIGINTERN PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33731 PyObject *resultobj = 0;
33732 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33733 bool result;
33734 void *argp1 = 0 ;
33735 int res1 = 0 ;
33736 PyObject *swig_obj[1] ;
33737
33738 if (!args) SWIG_fail;
33739 swig_obj[0] = args;
33740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33741 if (!SWIG_IsOK(res1)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33743 }
33744 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33745 {
33746 PyThreadState* __tstate = wxPyBeginAllowThreads();
33747 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
33748 wxPyEndAllowThreads(__tstate);
33749 if (PyErr_Occurred()) SWIG_fail;
33750 }
33751 {
33752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33753 }
33754 return resultobj;
33755fail:
33756 return NULL;
33757}
33758
33759
33760SWIGINTERN PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33761 PyObject *resultobj = 0;
33762 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33763 bool arg2 ;
33764 void *argp1 = 0 ;
33765 int res1 = 0 ;
33766 bool val2 ;
33767 int ecode2 = 0 ;
33768 PyObject * obj0 = 0 ;
33769 PyObject * obj1 = 0 ;
33770 char * kwnames[] = {
33771 (char *) "self",(char *) "editCancelled", NULL
33772 };
33773
33774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) SWIG_fail;
33775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33776 if (!SWIG_IsOK(res1)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33778 }
33779 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33780 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33781 if (!SWIG_IsOK(ecode2)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33783 }
33784 arg2 = static_cast< bool >(val2);
33785 {
33786 PyThreadState* __tstate = wxPyBeginAllowThreads();
33787 (arg1)->SetEditCanceled(arg2);
33788 wxPyEndAllowThreads(__tstate);
33789 if (PyErr_Occurred()) SWIG_fail;
33790 }
33791 resultobj = SWIG_Py_Void();
33792 return resultobj;
33793fail:
33794 return NULL;
33795}
33796
33797
33798SWIGINTERN PyObject *_wrap_TreeEvent_SetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33799 PyObject *resultobj = 0;
33800 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33801 wxString *arg2 = 0 ;
33802 void *argp1 = 0 ;
33803 int res1 = 0 ;
33804 bool temp2 = false ;
33805 PyObject * obj0 = 0 ;
33806 PyObject * obj1 = 0 ;
33807 char * kwnames[] = {
33808 (char *) "self",(char *) "toolTip", NULL
33809 };
33810
33811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) SWIG_fail;
33812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33813 if (!SWIG_IsOK(res1)) {
33814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33815 }
33816 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33817 {
33818 arg2 = wxString_in_helper(obj1);
33819 if (arg2 == NULL) SWIG_fail;
33820 temp2 = true;
33821 }
33822 {
33823 PyThreadState* __tstate = wxPyBeginAllowThreads();
33824 (arg1)->SetToolTip((wxString const &)*arg2);
33825 wxPyEndAllowThreads(__tstate);
33826 if (PyErr_Occurred()) SWIG_fail;
33827 }
33828 resultobj = SWIG_Py_Void();
33829 {
33830 if (temp2)
33831 delete arg2;
33832 }
33833 return resultobj;
33834fail:
33835 {
33836 if (temp2)
33837 delete arg2;
33838 }
33839 return NULL;
33840}
33841
33842
33843SWIGINTERN PyObject *_wrap_TreeEvent_GetToolTip(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33844 PyObject *resultobj = 0;
33845 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
33846 wxString result;
33847 void *argp1 = 0 ;
33848 int res1 = 0 ;
33849 PyObject *swig_obj[1] ;
33850
33851 if (!args) SWIG_fail;
33852 swig_obj[0] = args;
33853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeEvent, 0 | 0 );
33854 if (!SWIG_IsOK(res1)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33856 }
33857 arg1 = reinterpret_cast< wxTreeEvent * >(argp1);
33858 {
33859 PyThreadState* __tstate = wxPyBeginAllowThreads();
33860 result = (arg1)->GetToolTip();
33861 wxPyEndAllowThreads(__tstate);
33862 if (PyErr_Occurred()) SWIG_fail;
33863 }
33864 {
33865#if wxUSE_UNICODE
33866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33867#else
33868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33869#endif
33870 }
33871 return resultobj;
33872fail:
33873 return NULL;
33874}
33875
33876
33877SWIGINTERN PyObject *TreeEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33878 PyObject *obj;
33879 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33880 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent, SWIG_NewClientData(obj));
33881 return SWIG_Py_Void();
33882}
33883
33884SWIGINTERN PyObject *TreeEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33885 return SWIG_Python_InitShadowInstance(args);
33886}
33887
33888SWIGINTERN PyObject *_wrap_new_TreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33889 PyObject *resultobj = 0;
33890 wxWindow *arg1 = (wxWindow *) 0 ;
33891 int arg2 = (int) -1 ;
33892 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33893 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33894 wxSize const &arg4_defvalue = wxDefaultSize ;
33895 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33896 long arg5 = (long) wxTR_DEFAULT_STYLE ;
33897 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33898 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33899 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
33900 wxString *arg7 = (wxString *) &arg7_defvalue ;
33901 wxPyTreeCtrl *result = 0 ;
33902 void *argp1 = 0 ;
33903 int res1 = 0 ;
33904 int val2 ;
33905 int ecode2 = 0 ;
33906 wxPoint temp3 ;
33907 wxSize temp4 ;
33908 long val5 ;
33909 int ecode5 = 0 ;
33910 void *argp6 = 0 ;
33911 int res6 = 0 ;
33912 bool temp7 = false ;
33913 PyObject * obj0 = 0 ;
33914 PyObject * obj1 = 0 ;
33915 PyObject * obj2 = 0 ;
33916 PyObject * obj3 = 0 ;
33917 PyObject * obj4 = 0 ;
33918 PyObject * obj5 = 0 ;
33919 PyObject * obj6 = 0 ;
33920 char * kwnames[] = {
33921 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33922 };
33923
33924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
33926 if (!SWIG_IsOK(res1)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33928 }
33929 arg1 = reinterpret_cast< wxWindow * >(argp1);
33930 if (obj1) {
33931 ecode2 = SWIG_AsVal_int(obj1, &val2);
33932 if (!SWIG_IsOK(ecode2)) {
33933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33934 }
33935 arg2 = static_cast< int >(val2);
33936 }
33937 if (obj2) {
d55e5bfc 33938 {
554f62e9
RD
33939 arg3 = &temp3;
33940 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 33941 }
554f62e9
RD
33942 }
33943 if (obj3) {
d55e5bfc 33944 {
554f62e9
RD
33945 arg4 = &temp4;
33946 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 33947 }
554f62e9
RD
33948 }
33949 if (obj4) {
33950 ecode5 = SWIG_AsVal_long(obj4, &val5);
33951 if (!SWIG_IsOK(ecode5)) {
33952 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33953 }
33954 arg5 = static_cast< long >(val5);
33955 }
33956 if (obj5) {
33957 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
33958 if (!SWIG_IsOK(res6)) {
33959 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33960 }
554f62e9
RD
33961 if (!argp6) {
33962 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 33963 }
554f62e9
RD
33964 arg6 = reinterpret_cast< wxValidator * >(argp6);
33965 }
33966 if (obj6) {
d55e5bfc 33967 {
554f62e9
RD
33968 arg7 = wxString_in_helper(obj6);
33969 if (arg7 == NULL) SWIG_fail;
33970 temp7 = true;
d55e5bfc 33971 }
554f62e9
RD
33972 }
33973 {
33974 if (!wxPyCheckForApp()) SWIG_fail;
33975 PyThreadState* __tstate = wxPyBeginAllowThreads();
33976 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33977 wxPyEndAllowThreads(__tstate);
33978 if (PyErr_Occurred()) SWIG_fail;
33979 }
33980 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_NEW | 0 );
33981 {
33982 if (temp7)
33983 delete arg7;
33984 }
33985 return resultobj;
33986fail:
33987 {
33988 if (temp7)
33989 delete arg7;
33990 }
33991 return NULL;
d55e5bfc
RD
33992}
33993
33994
554f62e9
RD
33995SWIGINTERN PyObject *_wrap_new_PreTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33996 PyObject *resultobj = 0;
33997 wxPyTreeCtrl *result = 0 ;
33998
33999 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeCtrl",0,0,0)) SWIG_fail;
34000 {
34001 if (!wxPyCheckForApp()) SWIG_fail;
34002 PyThreadState* __tstate = wxPyBeginAllowThreads();
34003 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
34004 wxPyEndAllowThreads(__tstate);
34005 if (PyErr_Occurred()) SWIG_fail;
34006 }
34007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCtrl, SWIG_POINTER_OWN | 0 );
34008 return resultobj;
34009fail:
34010 return NULL;
34011}
34012
34013
34014SWIGINTERN PyObject *_wrap_TreeCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34015 PyObject *resultobj = 0;
34016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34017 wxWindow *arg2 = (wxWindow *) 0 ;
34018 int arg3 = (int) -1 ;
34019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
34020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
34021 wxSize const &arg5_defvalue = wxDefaultSize ;
34022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
34023 long arg6 = (long) wxTR_DEFAULT_STYLE ;
34024 wxValidator const &arg7_defvalue = wxDefaultValidator ;
34025 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
34026 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
34027 wxString *arg8 = (wxString *) &arg8_defvalue ;
34028 bool result;
34029 void *argp1 = 0 ;
34030 int res1 = 0 ;
34031 void *argp2 = 0 ;
34032 int res2 = 0 ;
34033 int val3 ;
34034 int ecode3 = 0 ;
34035 wxPoint temp4 ;
34036 wxSize temp5 ;
34037 long val6 ;
34038 int ecode6 = 0 ;
34039 void *argp7 = 0 ;
34040 int res7 = 0 ;
34041 bool temp8 = false ;
34042 PyObject * obj0 = 0 ;
34043 PyObject * obj1 = 0 ;
34044 PyObject * obj2 = 0 ;
34045 PyObject * obj3 = 0 ;
34046 PyObject * obj4 = 0 ;
34047 PyObject * obj5 = 0 ;
34048 PyObject * obj6 = 0 ;
34049 PyObject * obj7 = 0 ;
34050 char * kwnames[] = {
34051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34052 };
34053
34054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
34055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34056 if (!SWIG_IsOK(res1)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34058 }
34059 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34060 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
34061 if (!SWIG_IsOK(res2)) {
34062 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34063 }
34064 arg2 = reinterpret_cast< wxWindow * >(argp2);
34065 if (obj2) {
34066 ecode3 = SWIG_AsVal_int(obj2, &val3);
34067 if (!SWIG_IsOK(ecode3)) {
34068 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34069 }
34070 arg3 = static_cast< int >(val3);
34071 }
34072 if (obj3) {
d55e5bfc 34073 {
554f62e9
RD
34074 arg4 = &temp4;
34075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 34076 }
554f62e9
RD
34077 }
34078 if (obj4) {
d55e5bfc 34079 {
554f62e9
RD
34080 arg5 = &temp5;
34081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 34082 }
554f62e9
RD
34083 }
34084 if (obj5) {
34085 ecode6 = SWIG_AsVal_long(obj5, &val6);
34086 if (!SWIG_IsOK(ecode6)) {
34087 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34088 }
34089 arg6 = static_cast< long >(val6);
34090 }
34091 if (obj6) {
34092 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
34093 if (!SWIG_IsOK(res7)) {
34094 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 34095 }
554f62e9
RD
34096 if (!argp7) {
34097 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 34098 }
554f62e9
RD
34099 arg7 = reinterpret_cast< wxValidator * >(argp7);
34100 }
34101 if (obj7) {
d55e5bfc 34102 {
554f62e9
RD
34103 arg8 = wxString_in_helper(obj7);
34104 if (arg8 == NULL) SWIG_fail;
34105 temp8 = true;
d55e5bfc 34106 }
554f62e9
RD
34107 }
34108 {
34109 PyThreadState* __tstate = wxPyBeginAllowThreads();
34110 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
34111 wxPyEndAllowThreads(__tstate);
34112 if (PyErr_Occurred()) SWIG_fail;
34113 }
34114 {
34115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34116 }
34117 {
34118 if (temp8)
34119 delete arg8;
34120 }
34121 return resultobj;
34122fail:
34123 {
34124 if (temp8)
34125 delete arg8;
34126 }
34127 return NULL;
34128}
34129
34130
34131SWIGINTERN PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34132 PyObject *resultobj = 0;
34133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34134 PyObject *arg2 = (PyObject *) 0 ;
34135 PyObject *arg3 = (PyObject *) 0 ;
34136 void *argp1 = 0 ;
34137 int res1 = 0 ;
34138 PyObject * obj0 = 0 ;
34139 PyObject * obj1 = 0 ;
34140 PyObject * obj2 = 0 ;
34141 char * kwnames[] = {
34142 (char *) "self",(char *) "self",(char *) "_class", NULL
34143 };
34144
34145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34147 if (!SWIG_IsOK(res1)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34149 }
34150 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34151 arg2 = obj1;
34152 arg3 = obj2;
34153 {
34154 PyThreadState* __tstate = wxPyBeginAllowThreads();
34155 (arg1)->_setCallbackInfo(arg2,arg3);
34156 wxPyEndAllowThreads(__tstate);
34157 if (PyErr_Occurred()) SWIG_fail;
34158 }
34159 resultobj = SWIG_Py_Void();
34160 return resultobj;
34161fail:
34162 return NULL;
d55e5bfc
RD
34163}
34164
34165
554f62e9
RD
34166SWIGINTERN PyObject *_wrap_TreeCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34167 PyObject *resultobj = 0;
34168 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
e9d6f3a4 34169 unsigned int result;
554f62e9
RD
34170 void *argp1 = 0 ;
34171 int res1 = 0 ;
34172 PyObject *swig_obj[1] ;
34173
34174 if (!args) SWIG_fail;
34175 swig_obj[0] = args;
34176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34177 if (!SWIG_IsOK(res1)) {
34178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34179 }
34180 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34181 {
34182 PyThreadState* __tstate = wxPyBeginAllowThreads();
e9d6f3a4 34183 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetCount();
554f62e9
RD
34184 wxPyEndAllowThreads(__tstate);
34185 if (PyErr_Occurred()) SWIG_fail;
34186 }
e9d6f3a4 34187 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
554f62e9
RD
34188 return resultobj;
34189fail:
34190 return NULL;
d55e5bfc
RD
34191}
34192
34193
554f62e9
RD
34194SWIGINTERN PyObject *_wrap_TreeCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34195 PyObject *resultobj = 0;
34196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34197 unsigned int result;
34198 void *argp1 = 0 ;
34199 int res1 = 0 ;
34200 PyObject *swig_obj[1] ;
34201
34202 if (!args) SWIG_fail;
34203 swig_obj[0] = args;
34204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34205 if (!SWIG_IsOK(res1)) {
34206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34207 }
34208 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34209 {
34210 PyThreadState* __tstate = wxPyBeginAllowThreads();
34211 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
34212 wxPyEndAllowThreads(__tstate);
34213 if (PyErr_Occurred()) SWIG_fail;
34214 }
34215 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34216 return resultobj;
34217fail:
34218 return NULL;
34219}
34220
34221
34222SWIGINTERN PyObject *_wrap_TreeCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34223 PyObject *resultobj = 0;
34224 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34225 unsigned int arg2 ;
34226 void *argp1 = 0 ;
34227 int res1 = 0 ;
34228 unsigned int val2 ;
34229 int ecode2 = 0 ;
34230 PyObject * obj0 = 0 ;
34231 PyObject * obj1 = 0 ;
34232 char * kwnames[] = {
34233 (char *) "self",(char *) "indent", NULL
34234 };
34235
34236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
34237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34238 if (!SWIG_IsOK(res1)) {
34239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34240 }
34241 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34242 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34243 if (!SWIG_IsOK(ecode2)) {
34244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34245 }
34246 arg2 = static_cast< unsigned int >(val2);
34247 {
34248 PyThreadState* __tstate = wxPyBeginAllowThreads();
34249 (arg1)->SetIndent(arg2);
34250 wxPyEndAllowThreads(__tstate);
34251 if (PyErr_Occurred()) SWIG_fail;
34252 }
34253 resultobj = SWIG_Py_Void();
34254 return resultobj;
34255fail:
34256 return NULL;
d55e5bfc
RD
34257}
34258
34259
554f62e9
RD
34260SWIGINTERN PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34261 PyObject *resultobj = 0;
34262 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34263 unsigned int result;
34264 void *argp1 = 0 ;
34265 int res1 = 0 ;
34266 PyObject *swig_obj[1] ;
34267
34268 if (!args) SWIG_fail;
34269 swig_obj[0] = args;
34270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34271 if (!SWIG_IsOK(res1)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34273 }
34274 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34275 {
34276 PyThreadState* __tstate = wxPyBeginAllowThreads();
34277 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
34278 wxPyEndAllowThreads(__tstate);
34279 if (PyErr_Occurred()) SWIG_fail;
34280 }
34281 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
34282 return resultobj;
34283fail:
34284 return NULL;
34285}
34286
34287
34288SWIGINTERN PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34289 PyObject *resultobj = 0;
34290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34291 unsigned int arg2 ;
34292 void *argp1 = 0 ;
34293 int res1 = 0 ;
34294 unsigned int val2 ;
34295 int ecode2 = 0 ;
34296 PyObject * obj0 = 0 ;
34297 PyObject * obj1 = 0 ;
34298 char * kwnames[] = {
34299 (char *) "self",(char *) "spacing", NULL
34300 };
34301
34302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
34303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34304 if (!SWIG_IsOK(res1)) {
34305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34306 }
34307 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34308 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
34309 if (!SWIG_IsOK(ecode2)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34311 }
34312 arg2 = static_cast< unsigned int >(val2);
34313 {
34314 PyThreadState* __tstate = wxPyBeginAllowThreads();
34315 (arg1)->SetSpacing(arg2);
34316 wxPyEndAllowThreads(__tstate);
34317 if (PyErr_Occurred()) SWIG_fail;
34318 }
34319 resultobj = SWIG_Py_Void();
34320 return resultobj;
34321fail:
34322 return NULL;
d55e5bfc
RD
34323}
34324
34325
554f62e9
RD
34326SWIGINTERN PyObject *_wrap_TreeCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34327 PyObject *resultobj = 0;
34328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34329 wxImageList *result = 0 ;
34330 void *argp1 = 0 ;
34331 int res1 = 0 ;
34332 PyObject *swig_obj[1] ;
34333
34334 if (!args) SWIG_fail;
34335 swig_obj[0] = args;
34336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34337 if (!SWIG_IsOK(res1)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34339 }
34340 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34341 {
34342 PyThreadState* __tstate = wxPyBeginAllowThreads();
34343 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
34344 wxPyEndAllowThreads(__tstate);
34345 if (PyErr_Occurred()) SWIG_fail;
34346 }
3ecece7e
RD
34347 {
34348 resultobj = wxPyMake_wxObject(result, (bool)0);
34349 }
554f62e9
RD
34350 return resultobj;
34351fail:
34352 return NULL;
d55e5bfc
RD
34353}
34354
34355
554f62e9
RD
34356SWIGINTERN PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34357 PyObject *resultobj = 0;
34358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34359 wxImageList *result = 0 ;
34360 void *argp1 = 0 ;
34361 int res1 = 0 ;
34362 PyObject *swig_obj[1] ;
34363
34364 if (!args) SWIG_fail;
34365 swig_obj[0] = args;
34366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34367 if (!SWIG_IsOK(res1)) {
34368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34369 }
34370 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34371 {
34372 PyThreadState* __tstate = wxPyBeginAllowThreads();
34373 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
34374 wxPyEndAllowThreads(__tstate);
34375 if (PyErr_Occurred()) SWIG_fail;
34376 }
3ecece7e
RD
34377 {
34378 resultobj = wxPyMake_wxObject(result, (bool)0);
34379 }
554f62e9
RD
34380 return resultobj;
34381fail:
34382 return NULL;
34383}
34384
34385
34386SWIGINTERN PyObject *_wrap_TreeCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34387 PyObject *resultobj = 0;
34388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34389 wxImageList *arg2 = (wxImageList *) 0 ;
34390 void *argp1 = 0 ;
34391 int res1 = 0 ;
34392 void *argp2 = 0 ;
34393 int res2 = 0 ;
34394 PyObject * obj0 = 0 ;
34395 PyObject * obj1 = 0 ;
34396 char * kwnames[] = {
34397 (char *) "self",(char *) "imageList", NULL
34398 };
34399
34400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34402 if (!SWIG_IsOK(res1)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34404 }
34405 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34406 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34407 if (!SWIG_IsOK(res2)) {
34408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34409 }
34410 arg2 = reinterpret_cast< wxImageList * >(argp2);
34411 {
34412 PyThreadState* __tstate = wxPyBeginAllowThreads();
34413 (arg1)->SetImageList(arg2);
34414 wxPyEndAllowThreads(__tstate);
34415 if (PyErr_Occurred()) SWIG_fail;
34416 }
34417 resultobj = SWIG_Py_Void();
34418 return resultobj;
34419fail:
34420 return NULL;
34421}
34422
34423
34424SWIGINTERN PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34425 PyObject *resultobj = 0;
34426 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34427 wxImageList *arg2 = (wxImageList *) 0 ;
34428 void *argp1 = 0 ;
34429 int res1 = 0 ;
34430 void *argp2 = 0 ;
34431 int res2 = 0 ;
34432 PyObject * obj0 = 0 ;
34433 PyObject * obj1 = 0 ;
34434 char * kwnames[] = {
34435 (char *) "self",(char *) "imageList", NULL
34436 };
34437
34438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34440 if (!SWIG_IsOK(res1)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34442 }
34443 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34444 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
34445 if (!SWIG_IsOK(res2)) {
34446 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34447 }
34448 arg2 = reinterpret_cast< wxImageList * >(argp2);
34449 {
34450 PyThreadState* __tstate = wxPyBeginAllowThreads();
34451 (arg1)->SetStateImageList(arg2);
34452 wxPyEndAllowThreads(__tstate);
34453 if (PyErr_Occurred()) SWIG_fail;
34454 }
34455 resultobj = SWIG_Py_Void();
34456 return resultobj;
34457fail:
34458 return NULL;
34459}
34460
34461
34462SWIGINTERN PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34463 PyObject *resultobj = 0;
34464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34465 wxImageList *arg2 = (wxImageList *) 0 ;
34466 void *argp1 = 0 ;
34467 int res1 = 0 ;
34468 int res2 = 0 ;
34469 PyObject * obj0 = 0 ;
34470 PyObject * obj1 = 0 ;
34471 char * kwnames[] = {
34472 (char *) "self",(char *) "imageList", NULL
34473 };
34474
34475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34477 if (!SWIG_IsOK(res1)) {
34478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34479 }
34480 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34481 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34482 if (!SWIG_IsOK(res2)) {
34483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34484 }
34485 {
34486 PyThreadState* __tstate = wxPyBeginAllowThreads();
34487 (arg1)->AssignImageList(arg2);
34488 wxPyEndAllowThreads(__tstate);
34489 if (PyErr_Occurred()) SWIG_fail;
34490 }
34491 resultobj = SWIG_Py_Void();
34492 return resultobj;
34493fail:
34494 return NULL;
34495}
34496
34497
34498SWIGINTERN PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34499 PyObject *resultobj = 0;
34500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34501 wxImageList *arg2 = (wxImageList *) 0 ;
34502 void *argp1 = 0 ;
34503 int res1 = 0 ;
34504 int res2 = 0 ;
34505 PyObject * obj0 = 0 ;
34506 PyObject * obj1 = 0 ;
34507 char * kwnames[] = {
34508 (char *) "self",(char *) "imageList", NULL
34509 };
34510
34511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
34512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34513 if (!SWIG_IsOK(res1)) {
34514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34515 }
34516 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34517 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
34518 if (!SWIG_IsOK(res2)) {
34519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34520 }
34521 {
34522 PyThreadState* __tstate = wxPyBeginAllowThreads();
34523 (arg1)->AssignStateImageList(arg2);
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_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34535 PyObject *resultobj = 0;
34536 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34537 wxTreeItemId *arg2 = 0 ;
34538 wxString result;
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 char * kwnames[] = {
34546 (char *) "self",(char *) "item", NULL
34547 };
34548
34549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) SWIG_fail;
34550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34551 if (!SWIG_IsOK(res1)) {
34552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34553 }
34554 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34555 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34556 if (!SWIG_IsOK(res2)) {
34557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34558 }
34559 if (!argp2) {
34560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34561 }
34562 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34563 {
34564 PyThreadState* __tstate = wxPyBeginAllowThreads();
34565 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
34566 wxPyEndAllowThreads(__tstate);
34567 if (PyErr_Occurred()) SWIG_fail;
34568 }
34569 {
34570#if wxUSE_UNICODE
34571 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34572#else
34573 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34574#endif
34575 }
34576 return resultobj;
34577fail:
34578 return NULL;
34579}
34580
34581
34582SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34583 PyObject *resultobj = 0;
34584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34585 wxTreeItemId *arg2 = 0 ;
34586 wxTreeItemIcon arg3 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34587 int result;
34588 void *argp1 = 0 ;
34589 int res1 = 0 ;
34590 void *argp2 = 0 ;
34591 int res2 = 0 ;
34592 int val3 ;
34593 int ecode3 = 0 ;
34594 PyObject * obj0 = 0 ;
34595 PyObject * obj1 = 0 ;
34596 PyObject * obj2 = 0 ;
34597 char * kwnames[] = {
34598 (char *) "self",(char *) "item",(char *) "which", NULL
34599 };
34600
34601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34603 if (!SWIG_IsOK(res1)) {
34604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34605 }
34606 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34607 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34608 if (!SWIG_IsOK(res2)) {
34609 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34610 }
34611 if (!argp2) {
34612 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34613 }
34614 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34615 if (obj2) {
34616 ecode3 = SWIG_AsVal_int(obj2, &val3);
34617 if (!SWIG_IsOK(ecode3)) {
34618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34619 }
34620 arg3 = static_cast< wxTreeItemIcon >(val3);
34621 }
34622 {
34623 PyThreadState* __tstate = wxPyBeginAllowThreads();
34624 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,arg3);
34625 wxPyEndAllowThreads(__tstate);
34626 if (PyErr_Occurred()) SWIG_fail;
34627 }
34628 resultobj = SWIG_From_int(static_cast< int >(result));
34629 return resultobj;
34630fail:
34631 return NULL;
34632}
34633
34634
34635SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34636 PyObject *resultobj = 0;
34637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34638 wxTreeItemId *arg2 = 0 ;
34639 wxPyTreeItemData *result = 0 ;
34640 void *argp1 = 0 ;
34641 int res1 = 0 ;
34642 void *argp2 = 0 ;
34643 int res2 = 0 ;
34644 PyObject * obj0 = 0 ;
34645 PyObject * obj1 = 0 ;
34646 char * kwnames[] = {
34647 (char *) "self",(char *) "item", NULL
34648 };
34649
34650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
34651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34652 if (!SWIG_IsOK(res1)) {
34653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34654 }
34655 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34657 if (!SWIG_IsOK(res2)) {
34658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34659 }
34660 if (!argp2) {
34661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34662 }
34663 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34664 {
34665 PyThreadState* __tstate = wxPyBeginAllowThreads();
34666 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
34667 wxPyEndAllowThreads(__tstate);
34668 if (PyErr_Occurred()) SWIG_fail;
34669 }
34670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
34671 return resultobj;
34672fail:
34673 return NULL;
34674}
34675
34676
34677SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34678 PyObject *resultobj = 0;
34679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34680 wxTreeItemId *arg2 = 0 ;
34681 PyObject *result = 0 ;
34682 void *argp1 = 0 ;
34683 int res1 = 0 ;
34684 void *argp2 = 0 ;
34685 int res2 = 0 ;
34686 PyObject * obj0 = 0 ;
34687 PyObject * obj1 = 0 ;
34688 char * kwnames[] = {
34689 (char *) "self",(char *) "item", NULL
34690 };
34691
34692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
34693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34694 if (!SWIG_IsOK(res1)) {
34695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34696 }
34697 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34699 if (!SWIG_IsOK(res2)) {
34700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34701 }
34702 if (!argp2) {
34703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34704 }
34705 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34706 {
34707 PyThreadState* __tstate = wxPyBeginAllowThreads();
34708 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
34709 wxPyEndAllowThreads(__tstate);
34710 if (PyErr_Occurred()) SWIG_fail;
34711 }
34712 resultobj = result;
34713 return resultobj;
34714fail:
34715 return NULL;
34716}
34717
34718
34719SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34720 PyObject *resultobj = 0;
34721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34722 wxTreeItemId *arg2 = 0 ;
34723 wxColour result;
34724 void *argp1 = 0 ;
34725 int res1 = 0 ;
34726 void *argp2 = 0 ;
34727 int res2 = 0 ;
34728 PyObject * obj0 = 0 ;
34729 PyObject * obj1 = 0 ;
34730 char * kwnames[] = {
34731 (char *) "self",(char *) "item", NULL
34732 };
34733
34734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
34735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34736 if (!SWIG_IsOK(res1)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34738 }
34739 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34740 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34741 if (!SWIG_IsOK(res2)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34743 }
34744 if (!argp2) {
34745 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34746 }
34747 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34748 {
34749 PyThreadState* __tstate = wxPyBeginAllowThreads();
34750 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
34751 wxPyEndAllowThreads(__tstate);
34752 if (PyErr_Occurred()) SWIG_fail;
34753 }
34754 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34755 return resultobj;
34756fail:
34757 return NULL;
34758}
34759
34760
34761SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34762 PyObject *resultobj = 0;
34763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34764 wxTreeItemId *arg2 = 0 ;
34765 wxColour result;
34766 void *argp1 = 0 ;
34767 int res1 = 0 ;
34768 void *argp2 = 0 ;
34769 int res2 = 0 ;
34770 PyObject * obj0 = 0 ;
34771 PyObject * obj1 = 0 ;
34772 char * kwnames[] = {
34773 (char *) "self",(char *) "item", NULL
34774 };
34775
34776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
34777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34778 if (!SWIG_IsOK(res1)) {
34779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34780 }
34781 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34782 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34783 if (!SWIG_IsOK(res2)) {
34784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34785 }
34786 if (!argp2) {
34787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34788 }
34789 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34790 {
34791 PyThreadState* __tstate = wxPyBeginAllowThreads();
34792 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
34793 wxPyEndAllowThreads(__tstate);
34794 if (PyErr_Occurred()) SWIG_fail;
34795 }
34796 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
34797 return resultobj;
34798fail:
34799 return NULL;
34800}
34801
34802
34803SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34804 PyObject *resultobj = 0;
34805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34806 wxTreeItemId *arg2 = 0 ;
34807 wxFont result;
34808 void *argp1 = 0 ;
34809 int res1 = 0 ;
34810 void *argp2 = 0 ;
34811 int res2 = 0 ;
34812 PyObject * obj0 = 0 ;
34813 PyObject * obj1 = 0 ;
34814 char * kwnames[] = {
34815 (char *) "self",(char *) "item", NULL
34816 };
34817
34818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
34819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34820 if (!SWIG_IsOK(res1)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34822 }
34823 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34824 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34825 if (!SWIG_IsOK(res2)) {
34826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34827 }
34828 if (!argp2) {
34829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34830 }
34831 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34832 {
34833 PyThreadState* __tstate = wxPyBeginAllowThreads();
34834 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
34835 wxPyEndAllowThreads(__tstate);
34836 if (PyErr_Occurred()) SWIG_fail;
34837 }
34838 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
34839 return resultobj;
34840fail:
34841 return NULL;
34842}
34843
34844
34845SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34846 PyObject *resultobj = 0;
34847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34848 wxTreeItemId *arg2 = 0 ;
34849 wxString *arg3 = 0 ;
34850 void *argp1 = 0 ;
34851 int res1 = 0 ;
34852 void *argp2 = 0 ;
34853 int res2 = 0 ;
34854 bool temp3 = false ;
34855 PyObject * obj0 = 0 ;
34856 PyObject * obj1 = 0 ;
34857 PyObject * obj2 = 0 ;
34858 char * kwnames[] = {
34859 (char *) "self",(char *) "item",(char *) "text", NULL
34860 };
34861
34862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34864 if (!SWIG_IsOK(res1)) {
34865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34866 }
34867 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34868 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34869 if (!SWIG_IsOK(res2)) {
34870 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34871 }
34872 if (!argp2) {
34873 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34874 }
34875 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34876 {
34877 arg3 = wxString_in_helper(obj2);
34878 if (arg3 == NULL) SWIG_fail;
34879 temp3 = true;
34880 }
34881 {
34882 PyThreadState* __tstate = wxPyBeginAllowThreads();
34883 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
34884 wxPyEndAllowThreads(__tstate);
34885 if (PyErr_Occurred()) SWIG_fail;
34886 }
34887 resultobj = SWIG_Py_Void();
34888 {
34889 if (temp3)
34890 delete arg3;
34891 }
34892 return resultobj;
34893fail:
34894 {
34895 if (temp3)
34896 delete arg3;
34897 }
34898 return NULL;
34899}
34900
34901
34902SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34903 PyObject *resultobj = 0;
34904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34905 wxTreeItemId *arg2 = 0 ;
34906 int arg3 ;
34907 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
34908 void *argp1 = 0 ;
34909 int res1 = 0 ;
34910 void *argp2 = 0 ;
34911 int res2 = 0 ;
34912 int val3 ;
34913 int ecode3 = 0 ;
34914 int val4 ;
34915 int ecode4 = 0 ;
34916 PyObject * obj0 = 0 ;
34917 PyObject * obj1 = 0 ;
34918 PyObject * obj2 = 0 ;
34919 PyObject * obj3 = 0 ;
34920 char * kwnames[] = {
34921 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34922 };
34923
34924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
34925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34926 if (!SWIG_IsOK(res1)) {
34927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34928 }
34929 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34930 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34931 if (!SWIG_IsOK(res2)) {
34932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34933 }
34934 if (!argp2) {
34935 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34936 }
34937 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34938 ecode3 = SWIG_AsVal_int(obj2, &val3);
34939 if (!SWIG_IsOK(ecode3)) {
34940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34941 }
34942 arg3 = static_cast< int >(val3);
34943 if (obj3) {
34944 ecode4 = SWIG_AsVal_int(obj3, &val4);
34945 if (!SWIG_IsOK(ecode4)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34947 }
34948 arg4 = static_cast< wxTreeItemIcon >(val4);
34949 }
34950 {
34951 PyThreadState* __tstate = wxPyBeginAllowThreads();
34952 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,arg4);
34953 wxPyEndAllowThreads(__tstate);
34954 if (PyErr_Occurred()) SWIG_fail;
34955 }
34956 resultobj = SWIG_Py_Void();
34957 return resultobj;
34958fail:
34959 return NULL;
34960}
34961
34962
34963SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
34964 PyObject *resultobj = 0;
34965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
34966 wxTreeItemId *arg2 = 0 ;
34967 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
34968 void *argp1 = 0 ;
34969 int res1 = 0 ;
34970 void *argp2 = 0 ;
34971 int res2 = 0 ;
34972 int res3 = 0 ;
34973 PyObject * obj0 = 0 ;
34974 PyObject * obj1 = 0 ;
34975 PyObject * obj2 = 0 ;
34976 char * kwnames[] = {
34977 (char *) "self",(char *) "item",(char *) "data", NULL
34978 };
34979
34980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
34981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
34982 if (!SWIG_IsOK(res1)) {
34983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34984 }
34985 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
34986 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
34987 if (!SWIG_IsOK(res2)) {
34988 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34989 }
34990 if (!argp2) {
34991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34992 }
34993 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
34994 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
34995 if (!SWIG_IsOK(res3)) {
34996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34997 }
34998 {
34999 PyThreadState* __tstate = wxPyBeginAllowThreads();
35000 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
35001 wxPyEndAllowThreads(__tstate);
35002 if (PyErr_Occurred()) SWIG_fail;
35003 }
35004 resultobj = SWIG_Py_Void();
35005 return resultobj;
35006fail:
35007 return NULL;
35008}
35009
35010
35011SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35012 PyObject *resultobj = 0;
35013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35014 wxTreeItemId *arg2 = 0 ;
35015 PyObject *arg3 = (PyObject *) 0 ;
35016 void *argp1 = 0 ;
35017 int res1 = 0 ;
35018 void *argp2 = 0 ;
35019 int res2 = 0 ;
35020 PyObject * obj0 = 0 ;
35021 PyObject * obj1 = 0 ;
35022 PyObject * obj2 = 0 ;
35023 char * kwnames[] = {
35024 (char *) "self",(char *) "item",(char *) "obj", NULL
35025 };
35026
35027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35028 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35029 if (!SWIG_IsOK(res1)) {
35030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35031 }
35032 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35033 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35034 if (!SWIG_IsOK(res2)) {
35035 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35036 }
35037 if (!argp2) {
35038 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35039 }
35040 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35041 arg3 = obj2;
35042 {
35043 PyThreadState* __tstate = wxPyBeginAllowThreads();
35044 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
35045 wxPyEndAllowThreads(__tstate);
35046 if (PyErr_Occurred()) SWIG_fail;
35047 }
35048 resultobj = SWIG_Py_Void();
35049 return resultobj;
35050fail:
35051 return NULL;
35052}
35053
35054
35055SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35056 PyObject *resultobj = 0;
35057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35058 wxTreeItemId *arg2 = 0 ;
35059 bool arg3 = (bool) true ;
35060 void *argp1 = 0 ;
35061 int res1 = 0 ;
35062 void *argp2 = 0 ;
35063 int res2 = 0 ;
35064 bool val3 ;
35065 int ecode3 = 0 ;
35066 PyObject * obj0 = 0 ;
35067 PyObject * obj1 = 0 ;
35068 PyObject * obj2 = 0 ;
35069 char * kwnames[] = {
35070 (char *) "self",(char *) "item",(char *) "has", NULL
35071 };
35072
35073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35075 if (!SWIG_IsOK(res1)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35077 }
35078 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35079 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35080 if (!SWIG_IsOK(res2)) {
35081 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35082 }
35083 if (!argp2) {
35084 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35085 }
35086 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35087 if (obj2) {
35088 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35089 if (!SWIG_IsOK(ecode3)) {
35090 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35091 }
35092 arg3 = static_cast< bool >(val3);
35093 }
35094 {
35095 PyThreadState* __tstate = wxPyBeginAllowThreads();
35096 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
35097 wxPyEndAllowThreads(__tstate);
35098 if (PyErr_Occurred()) SWIG_fail;
35099 }
35100 resultobj = SWIG_Py_Void();
35101 return resultobj;
35102fail:
35103 return NULL;
35104}
35105
35106
35107SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35108 PyObject *resultobj = 0;
35109 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35110 wxTreeItemId *arg2 = 0 ;
35111 bool arg3 = (bool) true ;
35112 void *argp1 = 0 ;
35113 int res1 = 0 ;
35114 void *argp2 = 0 ;
35115 int res2 = 0 ;
35116 bool val3 ;
35117 int ecode3 = 0 ;
35118 PyObject * obj0 = 0 ;
35119 PyObject * obj1 = 0 ;
35120 PyObject * obj2 = 0 ;
35121 char * kwnames[] = {
35122 (char *) "self",(char *) "item",(char *) "bold", NULL
35123 };
35124
35125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35127 if (!SWIG_IsOK(res1)) {
35128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35129 }
35130 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35132 if (!SWIG_IsOK(res2)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35134 }
35135 if (!argp2) {
35136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35137 }
35138 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35139 if (obj2) {
35140 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35141 if (!SWIG_IsOK(ecode3)) {
35142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35143 }
35144 arg3 = static_cast< bool >(val3);
35145 }
35146 {
35147 PyThreadState* __tstate = wxPyBeginAllowThreads();
35148 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
35149 wxPyEndAllowThreads(__tstate);
35150 if (PyErr_Occurred()) SWIG_fail;
35151 }
35152 resultobj = SWIG_Py_Void();
35153 return resultobj;
35154fail:
35155 return NULL;
35156}
35157
35158
35159SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35160 PyObject *resultobj = 0;
35161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35162 wxTreeItemId *arg2 = 0 ;
35163 bool arg3 = (bool) true ;
35164 void *argp1 = 0 ;
35165 int res1 = 0 ;
35166 void *argp2 = 0 ;
35167 int res2 = 0 ;
35168 bool val3 ;
35169 int ecode3 = 0 ;
35170 PyObject * obj0 = 0 ;
35171 PyObject * obj1 = 0 ;
35172 PyObject * obj2 = 0 ;
35173 char * kwnames[] = {
35174 (char *) "self",(char *) "item",(char *) "highlight", NULL
35175 };
35176
35177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35179 if (!SWIG_IsOK(res1)) {
35180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35181 }
35182 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35183 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35184 if (!SWIG_IsOK(res2)) {
35185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35186 }
35187 if (!argp2) {
35188 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35189 }
35190 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35191 if (obj2) {
35192 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35193 if (!SWIG_IsOK(ecode3)) {
35194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35195 }
35196 arg3 = static_cast< bool >(val3);
35197 }
35198 {
35199 PyThreadState* __tstate = wxPyBeginAllowThreads();
35200 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
35201 wxPyEndAllowThreads(__tstate);
35202 if (PyErr_Occurred()) SWIG_fail;
35203 }
35204 resultobj = SWIG_Py_Void();
35205 return resultobj;
35206fail:
35207 return NULL;
35208}
35209
35210
35211SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35212 PyObject *resultobj = 0;
35213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35214 wxTreeItemId *arg2 = 0 ;
35215 wxColour *arg3 = 0 ;
35216 void *argp1 = 0 ;
35217 int res1 = 0 ;
35218 void *argp2 = 0 ;
35219 int res2 = 0 ;
35220 wxColour temp3 ;
35221 PyObject * obj0 = 0 ;
35222 PyObject * obj1 = 0 ;
35223 PyObject * obj2 = 0 ;
35224 char * kwnames[] = {
35225 (char *) "self",(char *) "item",(char *) "col", NULL
35226 };
35227
35228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35230 if (!SWIG_IsOK(res1)) {
35231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35232 }
35233 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35234 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35235 if (!SWIG_IsOK(res2)) {
35236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35237 }
35238 if (!argp2) {
35239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35240 }
35241 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35242 {
35243 arg3 = &temp3;
35244 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35245 }
35246 {
35247 PyThreadState* __tstate = wxPyBeginAllowThreads();
35248 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35249 wxPyEndAllowThreads(__tstate);
35250 if (PyErr_Occurred()) SWIG_fail;
35251 }
35252 resultobj = SWIG_Py_Void();
35253 return resultobj;
35254fail:
35255 return NULL;
35256}
35257
35258
35259SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35260 PyObject *resultobj = 0;
35261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35262 wxTreeItemId *arg2 = 0 ;
35263 wxColour *arg3 = 0 ;
35264 void *argp1 = 0 ;
35265 int res1 = 0 ;
35266 void *argp2 = 0 ;
35267 int res2 = 0 ;
35268 wxColour temp3 ;
35269 PyObject * obj0 = 0 ;
35270 PyObject * obj1 = 0 ;
35271 PyObject * obj2 = 0 ;
35272 char * kwnames[] = {
35273 (char *) "self",(char *) "item",(char *) "col", NULL
35274 };
35275
35276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35278 if (!SWIG_IsOK(res1)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35280 }
35281 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35283 if (!SWIG_IsOK(res2)) {
35284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35285 }
35286 if (!argp2) {
35287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35288 }
35289 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35290 {
35291 arg3 = &temp3;
35292 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
35293 }
35294 {
35295 PyThreadState* __tstate = wxPyBeginAllowThreads();
35296 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
35297 wxPyEndAllowThreads(__tstate);
35298 if (PyErr_Occurred()) SWIG_fail;
35299 }
35300 resultobj = SWIG_Py_Void();
35301 return resultobj;
35302fail:
35303 return NULL;
35304}
35305
35306
35307SWIGINTERN PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35308 PyObject *resultobj = 0;
35309 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35310 wxTreeItemId *arg2 = 0 ;
35311 wxFont *arg3 = 0 ;
35312 void *argp1 = 0 ;
35313 int res1 = 0 ;
35314 void *argp2 = 0 ;
35315 int res2 = 0 ;
35316 void *argp3 = 0 ;
35317 int res3 = 0 ;
35318 PyObject * obj0 = 0 ;
35319 PyObject * obj1 = 0 ;
35320 PyObject * obj2 = 0 ;
35321 char * kwnames[] = {
35322 (char *) "self",(char *) "item",(char *) "font", NULL
35323 };
35324
35325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35327 if (!SWIG_IsOK(res1)) {
35328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35329 }
35330 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35331 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35332 if (!SWIG_IsOK(res2)) {
35333 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35334 }
35335 if (!argp2) {
35336 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35337 }
35338 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35339 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
35340 if (!SWIG_IsOK(res3)) {
35341 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35342 }
35343 if (!argp3) {
35344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35345 }
35346 arg3 = reinterpret_cast< wxFont * >(argp3);
35347 {
35348 PyThreadState* __tstate = wxPyBeginAllowThreads();
35349 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
35350 wxPyEndAllowThreads(__tstate);
35351 if (PyErr_Occurred()) SWIG_fail;
35352 }
35353 resultobj = SWIG_Py_Void();
35354 return resultobj;
35355fail:
35356 return NULL;
35357}
35358
35359
35360SWIGINTERN PyObject *_wrap_TreeCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35361 PyObject *resultobj = 0;
35362 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35363 wxTreeItemId *arg2 = 0 ;
35364 bool result;
35365 void *argp1 = 0 ;
35366 int res1 = 0 ;
35367 void *argp2 = 0 ;
35368 int res2 = 0 ;
35369 PyObject * obj0 = 0 ;
35370 PyObject * obj1 = 0 ;
35371 char * kwnames[] = {
35372 (char *) "self",(char *) "item", NULL
35373 };
35374
35375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
35376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35377 if (!SWIG_IsOK(res1)) {
35378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35379 }
35380 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35381 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35382 if (!SWIG_IsOK(res2)) {
35383 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35384 }
35385 if (!argp2) {
35386 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35387 }
35388 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35389 {
35390 PyThreadState* __tstate = wxPyBeginAllowThreads();
35391 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
35392 wxPyEndAllowThreads(__tstate);
35393 if (PyErr_Occurred()) SWIG_fail;
35394 }
35395 {
35396 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35397 }
35398 return resultobj;
35399fail:
35400 return NULL;
35401}
35402
35403
35404SWIGINTERN PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35405 PyObject *resultobj = 0;
35406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35407 wxTreeItemId *arg2 = 0 ;
35408 bool result;
35409 void *argp1 = 0 ;
35410 int res1 = 0 ;
35411 void *argp2 = 0 ;
35412 int res2 = 0 ;
35413 PyObject * obj0 = 0 ;
35414 PyObject * obj1 = 0 ;
35415 char * kwnames[] = {
35416 (char *) "self",(char *) "item", NULL
35417 };
35418
35419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
35420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35421 if (!SWIG_IsOK(res1)) {
35422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35423 }
35424 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35425 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35426 if (!SWIG_IsOK(res2)) {
35427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35428 }
35429 if (!argp2) {
35430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35431 }
35432 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35433 {
35434 PyThreadState* __tstate = wxPyBeginAllowThreads();
35435 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
35436 wxPyEndAllowThreads(__tstate);
35437 if (PyErr_Occurred()) SWIG_fail;
35438 }
35439 {
35440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35441 }
35442 return resultobj;
35443fail:
35444 return NULL;
35445}
35446
35447
35448SWIGINTERN PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35449 PyObject *resultobj = 0;
35450 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35451 wxTreeItemId *arg2 = 0 ;
35452 bool result;
35453 void *argp1 = 0 ;
35454 int res1 = 0 ;
35455 void *argp2 = 0 ;
35456 int res2 = 0 ;
35457 PyObject * obj0 = 0 ;
35458 PyObject * obj1 = 0 ;
35459 char * kwnames[] = {
35460 (char *) "self",(char *) "item", NULL
35461 };
35462
35463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
35464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35465 if (!SWIG_IsOK(res1)) {
35466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35467 }
35468 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35469 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35470 if (!SWIG_IsOK(res2)) {
35471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35472 }
35473 if (!argp2) {
35474 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35475 }
35476 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35477 {
35478 PyThreadState* __tstate = wxPyBeginAllowThreads();
35479 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
35480 wxPyEndAllowThreads(__tstate);
35481 if (PyErr_Occurred()) SWIG_fail;
35482 }
35483 {
35484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35485 }
35486 return resultobj;
35487fail:
35488 return NULL;
35489}
35490
35491
35492SWIGINTERN PyObject *_wrap_TreeCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35493 PyObject *resultobj = 0;
35494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35495 wxTreeItemId *arg2 = 0 ;
35496 bool result;
35497 void *argp1 = 0 ;
35498 int res1 = 0 ;
35499 void *argp2 = 0 ;
35500 int res2 = 0 ;
35501 PyObject * obj0 = 0 ;
35502 PyObject * obj1 = 0 ;
35503 char * kwnames[] = {
35504 (char *) "self",(char *) "item", NULL
35505 };
35506
35507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
35508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35509 if (!SWIG_IsOK(res1)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35511 }
35512 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35513 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35514 if (!SWIG_IsOK(res2)) {
35515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35516 }
35517 if (!argp2) {
35518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35519 }
35520 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35521 {
35522 PyThreadState* __tstate = wxPyBeginAllowThreads();
35523 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
35524 wxPyEndAllowThreads(__tstate);
35525 if (PyErr_Occurred()) SWIG_fail;
35526 }
35527 {
35528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35529 }
35530 return resultobj;
35531fail:
35532 return NULL;
35533}
35534
35535
35536SWIGINTERN PyObject *_wrap_TreeCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35537 PyObject *resultobj = 0;
35538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35539 wxTreeItemId *arg2 = 0 ;
35540 bool result;
35541 void *argp1 = 0 ;
35542 int res1 = 0 ;
35543 void *argp2 = 0 ;
35544 int res2 = 0 ;
35545 PyObject * obj0 = 0 ;
35546 PyObject * obj1 = 0 ;
35547 char * kwnames[] = {
35548 (char *) "self",(char *) "item", NULL
35549 };
35550
35551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
35552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35553 if (!SWIG_IsOK(res1)) {
35554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35555 }
35556 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35557 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35558 if (!SWIG_IsOK(res2)) {
35559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35560 }
35561 if (!argp2) {
35562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35563 }
35564 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35565 {
35566 PyThreadState* __tstate = wxPyBeginAllowThreads();
35567 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
35568 wxPyEndAllowThreads(__tstate);
35569 if (PyErr_Occurred()) SWIG_fail;
35570 }
35571 {
35572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35573 }
35574 return resultobj;
35575fail:
35576 return NULL;
35577}
35578
35579
35580SWIGINTERN PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35581 PyObject *resultobj = 0;
35582 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35583 wxTreeItemId *arg2 = 0 ;
35584 bool arg3 = (bool) true ;
35585 size_t result;
35586 void *argp1 = 0 ;
35587 int res1 = 0 ;
35588 void *argp2 = 0 ;
35589 int res2 = 0 ;
35590 bool val3 ;
35591 int ecode3 = 0 ;
35592 PyObject * obj0 = 0 ;
35593 PyObject * obj1 = 0 ;
35594 PyObject * obj2 = 0 ;
35595 char * kwnames[] = {
35596 (char *) "self",(char *) "item",(char *) "recursively", NULL
35597 };
35598
35599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35601 if (!SWIG_IsOK(res1)) {
35602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35603 }
35604 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35606 if (!SWIG_IsOK(res2)) {
35607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35608 }
35609 if (!argp2) {
35610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35611 }
35612 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35613 if (obj2) {
35614 ecode3 = SWIG_AsVal_bool(obj2, &val3);
35615 if (!SWIG_IsOK(ecode3)) {
35616 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35617 }
35618 arg3 = static_cast< bool >(val3);
35619 }
35620 {
35621 PyThreadState* __tstate = wxPyBeginAllowThreads();
35622 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
35623 wxPyEndAllowThreads(__tstate);
35624 if (PyErr_Occurred()) SWIG_fail;
35625 }
35626 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
35627 return resultobj;
35628fail:
35629 return NULL;
d55e5bfc
RD
35630}
35631
35632
554f62e9
RD
35633SWIGINTERN PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35634 PyObject *resultobj = 0;
35635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35636 wxTreeItemId result;
35637 void *argp1 = 0 ;
35638 int res1 = 0 ;
35639 PyObject *swig_obj[1] ;
35640
35641 if (!args) SWIG_fail;
35642 swig_obj[0] = args;
35643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35644 if (!SWIG_IsOK(res1)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35646 }
35647 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35648 {
35649 PyThreadState* __tstate = wxPyBeginAllowThreads();
35650 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
35651 wxPyEndAllowThreads(__tstate);
35652 if (PyErr_Occurred()) SWIG_fail;
35653 }
35654 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35655 return resultobj;
35656fail:
35657 return NULL;
d55e5bfc
RD
35658}
35659
35660
554f62e9
RD
35661SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35662 PyObject *resultobj = 0;
35663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35664 wxTreeItemId result;
35665 void *argp1 = 0 ;
35666 int res1 = 0 ;
35667 PyObject *swig_obj[1] ;
35668
35669 if (!args) SWIG_fail;
35670 swig_obj[0] = args;
35671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35672 if (!SWIG_IsOK(res1)) {
35673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35674 }
35675 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35676 {
35677 PyThreadState* __tstate = wxPyBeginAllowThreads();
35678 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
35679 wxPyEndAllowThreads(__tstate);
35680 if (PyErr_Occurred()) SWIG_fail;
35681 }
35682 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35683 return resultobj;
35684fail:
35685 return NULL;
d55e5bfc
RD
35686}
35687
35688
554f62e9
RD
35689SWIGINTERN PyObject *_wrap_TreeCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35690 PyObject *resultobj = 0;
35691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35692 PyObject *result = 0 ;
35693 void *argp1 = 0 ;
35694 int res1 = 0 ;
35695 PyObject *swig_obj[1] ;
35696
35697 if (!args) SWIG_fail;
35698 swig_obj[0] = args;
35699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35700 if (!SWIG_IsOK(res1)) {
35701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35702 }
35703 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35704 {
35705 PyThreadState* __tstate = wxPyBeginAllowThreads();
35706 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
35707 wxPyEndAllowThreads(__tstate);
35708 if (PyErr_Occurred()) SWIG_fail;
35709 }
35710 resultobj = result;
35711 return resultobj;
35712fail:
35713 return NULL;
35714}
35715
35716
35717SWIGINTERN PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35718 PyObject *resultobj = 0;
35719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35720 wxTreeItemId *arg2 = 0 ;
35721 wxTreeItemId result;
35722 void *argp1 = 0 ;
35723 int res1 = 0 ;
35724 void *argp2 = 0 ;
35725 int res2 = 0 ;
35726 PyObject * obj0 = 0 ;
35727 PyObject * obj1 = 0 ;
35728 char * kwnames[] = {
35729 (char *) "self",(char *) "item", NULL
35730 };
35731
35732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
35733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35734 if (!SWIG_IsOK(res1)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35736 }
35737 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35738 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35739 if (!SWIG_IsOK(res2)) {
35740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35741 }
35742 if (!argp2) {
35743 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35744 }
35745 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35746 {
35747 PyThreadState* __tstate = wxPyBeginAllowThreads();
35748 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
35749 wxPyEndAllowThreads(__tstate);
35750 if (PyErr_Occurred()) SWIG_fail;
35751 }
35752 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35753 return resultobj;
35754fail:
35755 return NULL;
35756}
35757
35758
35759SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35760 PyObject *resultobj = 0;
35761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35762 wxTreeItemId *arg2 = 0 ;
35763 PyObject *result = 0 ;
35764 void *argp1 = 0 ;
35765 int res1 = 0 ;
35766 void *argp2 = 0 ;
35767 int res2 = 0 ;
35768 PyObject * obj0 = 0 ;
35769 PyObject * obj1 = 0 ;
35770 char * kwnames[] = {
35771 (char *) "self",(char *) "item", NULL
35772 };
35773
35774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
35775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35776 if (!SWIG_IsOK(res1)) {
35777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35778 }
35779 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35780 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35781 if (!SWIG_IsOK(res2)) {
35782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35783 }
35784 if (!argp2) {
35785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35786 }
35787 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35788 {
35789 PyThreadState* __tstate = wxPyBeginAllowThreads();
35790 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
35791 wxPyEndAllowThreads(__tstate);
35792 if (PyErr_Occurred()) SWIG_fail;
35793 }
35794 resultobj = result;
35795 return resultobj;
35796fail:
35797 return NULL;
35798}
35799
35800
35801SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35802 PyObject *resultobj = 0;
35803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35804 wxTreeItemId *arg2 = 0 ;
35805 void *arg3 = (void *) 0 ;
35806 PyObject *result = 0 ;
35807 void *argp1 = 0 ;
35808 int res1 = 0 ;
35809 void *argp2 = 0 ;
35810 int res2 = 0 ;
35811 int res3 ;
35812 PyObject * obj0 = 0 ;
35813 PyObject * obj1 = 0 ;
35814 PyObject * obj2 = 0 ;
35815 char * kwnames[] = {
35816 (char *) "self",(char *) "item",(char *) "cookie", NULL
35817 };
35818
35819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
35820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35821 if (!SWIG_IsOK(res1)) {
35822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35823 }
35824 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35825 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35826 if (!SWIG_IsOK(res2)) {
35827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35828 }
35829 if (!argp2) {
35830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35831 }
35832 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35833 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
35834 if (!SWIG_IsOK(res3)) {
35835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35836 }
35837 {
35838 PyThreadState* __tstate = wxPyBeginAllowThreads();
35839 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
35840 wxPyEndAllowThreads(__tstate);
35841 if (PyErr_Occurred()) SWIG_fail;
35842 }
35843 resultobj = result;
35844 return resultobj;
35845fail:
35846 return NULL;
35847}
35848
35849
35850SWIGINTERN PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35851 PyObject *resultobj = 0;
35852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35853 wxTreeItemId *arg2 = 0 ;
35854 wxTreeItemId result;
35855 void *argp1 = 0 ;
35856 int res1 = 0 ;
35857 void *argp2 = 0 ;
35858 int res2 = 0 ;
35859 PyObject * obj0 = 0 ;
35860 PyObject * obj1 = 0 ;
35861 char * kwnames[] = {
35862 (char *) "self",(char *) "item", NULL
35863 };
35864
35865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
35866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35867 if (!SWIG_IsOK(res1)) {
35868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35869 }
35870 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35871 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35872 if (!SWIG_IsOK(res2)) {
35873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35874 }
35875 if (!argp2) {
35876 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35877 }
35878 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35879 {
35880 PyThreadState* __tstate = wxPyBeginAllowThreads();
35881 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
35882 wxPyEndAllowThreads(__tstate);
35883 if (PyErr_Occurred()) SWIG_fail;
35884 }
35885 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35886 return resultobj;
35887fail:
35888 return NULL;
35889}
35890
35891
35892SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35893 PyObject *resultobj = 0;
35894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35895 wxTreeItemId *arg2 = 0 ;
35896 wxTreeItemId result;
35897 void *argp1 = 0 ;
35898 int res1 = 0 ;
35899 void *argp2 = 0 ;
35900 int res2 = 0 ;
35901 PyObject * obj0 = 0 ;
35902 PyObject * obj1 = 0 ;
35903 char * kwnames[] = {
35904 (char *) "self",(char *) "item", NULL
35905 };
35906
35907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35909 if (!SWIG_IsOK(res1)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35911 }
35912 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35914 if (!SWIG_IsOK(res2)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35916 }
35917 if (!argp2) {
35918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35919 }
35920 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35921 {
35922 PyThreadState* __tstate = wxPyBeginAllowThreads();
35923 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
35924 wxPyEndAllowThreads(__tstate);
35925 if (PyErr_Occurred()) SWIG_fail;
35926 }
35927 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35928 return resultobj;
35929fail:
35930 return NULL;
35931}
35932
35933
35934SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
35935 PyObject *resultobj = 0;
35936 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35937 wxTreeItemId *arg2 = 0 ;
35938 wxTreeItemId result;
35939 void *argp1 = 0 ;
35940 int res1 = 0 ;
35941 void *argp2 = 0 ;
35942 int res2 = 0 ;
35943 PyObject * obj0 = 0 ;
35944 PyObject * obj1 = 0 ;
35945 char * kwnames[] = {
35946 (char *) "self",(char *) "item", NULL
35947 };
35948
35949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
35950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35951 if (!SWIG_IsOK(res1)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35953 }
35954 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35955 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
35956 if (!SWIG_IsOK(res2)) {
35957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35958 }
35959 if (!argp2) {
35960 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35961 }
35962 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
35963 {
35964 PyThreadState* __tstate = wxPyBeginAllowThreads();
35965 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
35966 wxPyEndAllowThreads(__tstate);
35967 if (PyErr_Occurred()) SWIG_fail;
35968 }
35969 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35970 return resultobj;
35971fail:
35972 return NULL;
d55e5bfc
RD
35973}
35974
35975
554f62e9
RD
35976SWIGINTERN PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
35977 PyObject *resultobj = 0;
35978 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
35979 wxTreeItemId result;
35980 void *argp1 = 0 ;
35981 int res1 = 0 ;
35982 PyObject *swig_obj[1] ;
35983
35984 if (!args) SWIG_fail;
35985 swig_obj[0] = args;
35986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
35987 if (!SWIG_IsOK(res1)) {
35988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35989 }
35990 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
35991 {
35992 PyThreadState* __tstate = wxPyBeginAllowThreads();
35993 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
35994 wxPyEndAllowThreads(__tstate);
35995 if (PyErr_Occurred()) SWIG_fail;
35996 }
35997 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
35998 return resultobj;
35999fail:
36000 return NULL;
36001}
36002
36003
36004SWIGINTERN PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36005 PyObject *resultobj = 0;
36006 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36007 wxTreeItemId *arg2 = 0 ;
36008 wxTreeItemId result;
36009 void *argp1 = 0 ;
36010 int res1 = 0 ;
36011 void *argp2 = 0 ;
36012 int res2 = 0 ;
36013 PyObject * obj0 = 0 ;
36014 PyObject * obj1 = 0 ;
36015 char * kwnames[] = {
36016 (char *) "self",(char *) "item", NULL
36017 };
36018
36019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36021 if (!SWIG_IsOK(res1)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36023 }
36024 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36026 if (!SWIG_IsOK(res2)) {
36027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36028 }
36029 if (!argp2) {
36030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36031 }
36032 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36033 {
36034 PyThreadState* __tstate = wxPyBeginAllowThreads();
36035 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
36036 wxPyEndAllowThreads(__tstate);
36037 if (PyErr_Occurred()) SWIG_fail;
36038 }
36039 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36040 return resultobj;
36041fail:
36042 return NULL;
36043}
36044
36045
36046SWIGINTERN PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36047 PyObject *resultobj = 0;
36048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36049 wxTreeItemId *arg2 = 0 ;
36050 wxTreeItemId result;
36051 void *argp1 = 0 ;
36052 int res1 = 0 ;
36053 void *argp2 = 0 ;
36054 int res2 = 0 ;
36055 PyObject * obj0 = 0 ;
36056 PyObject * obj1 = 0 ;
36057 char * kwnames[] = {
36058 (char *) "self",(char *) "item", NULL
36059 };
36060
36061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
36062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36063 if (!SWIG_IsOK(res1)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36065 }
36066 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36068 if (!SWIG_IsOK(res2)) {
36069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36070 }
36071 if (!argp2) {
36072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36073 }
36074 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36075 {
36076 PyThreadState* __tstate = wxPyBeginAllowThreads();
36077 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
36078 wxPyEndAllowThreads(__tstate);
36079 if (PyErr_Occurred()) SWIG_fail;
36080 }
36081 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36082 return resultobj;
36083fail:
36084 return NULL;
36085}
36086
36087
36088SWIGINTERN PyObject *_wrap_TreeCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36089 PyObject *resultobj = 0;
36090 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36091 wxString *arg2 = 0 ;
36092 int arg3 = (int) -1 ;
36093 int arg4 = (int) -1 ;
36094 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
36095 wxTreeItemId result;
36096 void *argp1 = 0 ;
36097 int res1 = 0 ;
36098 bool temp2 = false ;
36099 int val3 ;
36100 int ecode3 = 0 ;
36101 int val4 ;
36102 int ecode4 = 0 ;
36103 int res5 = 0 ;
36104 PyObject * obj0 = 0 ;
36105 PyObject * obj1 = 0 ;
36106 PyObject * obj2 = 0 ;
36107 PyObject * obj3 = 0 ;
36108 PyObject * obj4 = 0 ;
36109 char * kwnames[] = {
36110 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36111 };
36112
36113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
36114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36115 if (!SWIG_IsOK(res1)) {
36116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36117 }
36118 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36119 {
36120 arg2 = wxString_in_helper(obj1);
36121 if (arg2 == NULL) SWIG_fail;
36122 temp2 = true;
36123 }
36124 if (obj2) {
36125 ecode3 = SWIG_AsVal_int(obj2, &val3);
36126 if (!SWIG_IsOK(ecode3)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36128 }
36129 arg3 = static_cast< int >(val3);
36130 }
36131 if (obj3) {
36132 ecode4 = SWIG_AsVal_int(obj3, &val4);
36133 if (!SWIG_IsOK(ecode4)) {
36134 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36135 }
36136 arg4 = static_cast< int >(val4);
36137 }
36138 if (obj4) {
36139 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36140 if (!SWIG_IsOK(res5)) {
36141 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36142 }
554f62e9
RD
36143 }
36144 {
36145 PyThreadState* __tstate = wxPyBeginAllowThreads();
36146 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
36147 wxPyEndAllowThreads(__tstate);
36148 if (PyErr_Occurred()) SWIG_fail;
36149 }
36150 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36151 {
36152 if (temp2)
36153 delete arg2;
36154 }
36155 return resultobj;
36156fail:
36157 {
36158 if (temp2)
36159 delete arg2;
36160 }
36161 return NULL;
36162}
36163
36164
36165SWIGINTERN PyObject *_wrap_TreeCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36166 PyObject *resultobj = 0;
36167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36168 wxTreeItemId *arg2 = 0 ;
36169 wxString *arg3 = 0 ;
36170 int arg4 = (int) -1 ;
36171 int arg5 = (int) -1 ;
36172 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36173 wxTreeItemId result;
36174 void *argp1 = 0 ;
36175 int res1 = 0 ;
36176 void *argp2 = 0 ;
36177 int res2 = 0 ;
36178 bool temp3 = false ;
36179 int val4 ;
36180 int ecode4 = 0 ;
36181 int val5 ;
36182 int ecode5 = 0 ;
36183 int res6 = 0 ;
36184 PyObject * obj0 = 0 ;
36185 PyObject * obj1 = 0 ;
36186 PyObject * obj2 = 0 ;
36187 PyObject * obj3 = 0 ;
36188 PyObject * obj4 = 0 ;
36189 PyObject * obj5 = 0 ;
36190 char * kwnames[] = {
36191 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36192 };
36193
36194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36196 if (!SWIG_IsOK(res1)) {
36197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36198 }
36199 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36201 if (!SWIG_IsOK(res2)) {
36202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36203 }
36204 if (!argp2) {
36205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36206 }
36207 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36208 {
36209 arg3 = wxString_in_helper(obj2);
36210 if (arg3 == NULL) SWIG_fail;
36211 temp3 = true;
36212 }
36213 if (obj3) {
36214 ecode4 = SWIG_AsVal_int(obj3, &val4);
36215 if (!SWIG_IsOK(ecode4)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36217 }
36218 arg4 = static_cast< int >(val4);
36219 }
36220 if (obj4) {
36221 ecode5 = SWIG_AsVal_int(obj4, &val5);
36222 if (!SWIG_IsOK(ecode5)) {
36223 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36224 }
36225 arg5 = static_cast< int >(val5);
36226 }
36227 if (obj5) {
36228 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36229 if (!SWIG_IsOK(res6)) {
36230 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36231 }
554f62e9
RD
36232 }
36233 {
36234 PyThreadState* __tstate = wxPyBeginAllowThreads();
36235 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36236 wxPyEndAllowThreads(__tstate);
36237 if (PyErr_Occurred()) SWIG_fail;
36238 }
36239 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36240 {
36241 if (temp3)
36242 delete arg3;
36243 }
36244 return resultobj;
36245fail:
36246 {
36247 if (temp3)
36248 delete arg3;
36249 }
36250 return NULL;
36251}
36252
36253
36254SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36255 PyObject *resultobj = 0;
36256 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36257 wxTreeItemId *arg2 = 0 ;
36258 wxTreeItemId *arg3 = 0 ;
36259 wxString *arg4 = 0 ;
36260 int arg5 = (int) -1 ;
36261 int arg6 = (int) -1 ;
36262 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36263 wxTreeItemId result;
36264 void *argp1 = 0 ;
36265 int res1 = 0 ;
36266 void *argp2 = 0 ;
36267 int res2 = 0 ;
36268 void *argp3 = 0 ;
36269 int res3 = 0 ;
36270 bool temp4 = false ;
36271 int val5 ;
36272 int ecode5 = 0 ;
36273 int val6 ;
36274 int ecode6 = 0 ;
36275 int res7 = 0 ;
36276 PyObject * obj0 = 0 ;
36277 PyObject * obj1 = 0 ;
36278 PyObject * obj2 = 0 ;
36279 PyObject * obj3 = 0 ;
36280 PyObject * obj4 = 0 ;
36281 PyObject * obj5 = 0 ;
36282 PyObject * obj6 = 0 ;
36283 char * kwnames[] = {
36284 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36285 };
36286
36287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36289 if (!SWIG_IsOK(res1)) {
36290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36291 }
36292 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36293 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36294 if (!SWIG_IsOK(res2)) {
36295 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36296 }
36297 if (!argp2) {
36298 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36299 }
36300 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36301 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36302 if (!SWIG_IsOK(res3)) {
36303 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36304 }
36305 if (!argp3) {
36306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36307 }
36308 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
36309 {
36310 arg4 = wxString_in_helper(obj3);
36311 if (arg4 == NULL) SWIG_fail;
36312 temp4 = true;
36313 }
36314 if (obj4) {
36315 ecode5 = SWIG_AsVal_int(obj4, &val5);
36316 if (!SWIG_IsOK(ecode5)) {
36317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36318 }
36319 arg5 = static_cast< int >(val5);
36320 }
36321 if (obj5) {
36322 ecode6 = SWIG_AsVal_int(obj5, &val6);
36323 if (!SWIG_IsOK(ecode6)) {
36324 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36325 }
36326 arg6 = static_cast< int >(val6);
36327 }
36328 if (obj6) {
36329 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36330 if (!SWIG_IsOK(res7)) {
36331 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36332 }
554f62e9
RD
36333 }
36334 {
36335 PyThreadState* __tstate = wxPyBeginAllowThreads();
36336 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36337 wxPyEndAllowThreads(__tstate);
36338 if (PyErr_Occurred()) SWIG_fail;
36339 }
36340 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36341 {
36342 if (temp4)
36343 delete arg4;
36344 }
36345 return resultobj;
36346fail:
36347 {
36348 if (temp4)
36349 delete arg4;
36350 }
36351 return NULL;
36352}
36353
36354
36355SWIGINTERN PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36356 PyObject *resultobj = 0;
36357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36358 wxTreeItemId *arg2 = 0 ;
36359 size_t arg3 ;
36360 wxString *arg4 = 0 ;
36361 int arg5 = (int) -1 ;
36362 int arg6 = (int) -1 ;
36363 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
36364 wxTreeItemId result;
36365 void *argp1 = 0 ;
36366 int res1 = 0 ;
36367 void *argp2 = 0 ;
36368 int res2 = 0 ;
36369 size_t val3 ;
36370 int ecode3 = 0 ;
36371 bool temp4 = false ;
36372 int val5 ;
36373 int ecode5 = 0 ;
36374 int val6 ;
36375 int ecode6 = 0 ;
36376 int res7 = 0 ;
36377 PyObject * obj0 = 0 ;
36378 PyObject * obj1 = 0 ;
36379 PyObject * obj2 = 0 ;
36380 PyObject * obj3 = 0 ;
36381 PyObject * obj4 = 0 ;
36382 PyObject * obj5 = 0 ;
36383 PyObject * obj6 = 0 ;
36384 char * kwnames[] = {
36385 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36386 };
36387
36388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
36389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36390 if (!SWIG_IsOK(res1)) {
36391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36392 }
36393 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36394 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36395 if (!SWIG_IsOK(res2)) {
36396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36397 }
36398 if (!argp2) {
36399 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36400 }
36401 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36402 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
36403 if (!SWIG_IsOK(ecode3)) {
36404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36405 }
36406 arg3 = static_cast< size_t >(val3);
36407 {
36408 arg4 = wxString_in_helper(obj3);
36409 if (arg4 == NULL) SWIG_fail;
36410 temp4 = true;
36411 }
36412 if (obj4) {
36413 ecode5 = SWIG_AsVal_int(obj4, &val5);
36414 if (!SWIG_IsOK(ecode5)) {
36415 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36416 }
36417 arg5 = static_cast< int >(val5);
36418 }
36419 if (obj5) {
36420 ecode6 = SWIG_AsVal_int(obj5, &val6);
36421 if (!SWIG_IsOK(ecode6)) {
36422 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36423 }
36424 arg6 = static_cast< int >(val6);
36425 }
36426 if (obj6) {
36427 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36428 if (!SWIG_IsOK(res7)) {
36429 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
093d3ff1 36430 }
554f62e9
RD
36431 }
36432 {
36433 PyThreadState* __tstate = wxPyBeginAllowThreads();
36434 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
36435 wxPyEndAllowThreads(__tstate);
36436 if (PyErr_Occurred()) SWIG_fail;
36437 }
36438 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36439 {
36440 if (temp4)
36441 delete arg4;
36442 }
36443 return resultobj;
36444fail:
36445 {
36446 if (temp4)
36447 delete arg4;
36448 }
36449 return NULL;
36450}
36451
36452
36453SWIGINTERN PyObject *_wrap_TreeCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36454 PyObject *resultobj = 0;
36455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36456 wxTreeItemId *arg2 = 0 ;
36457 wxString *arg3 = 0 ;
36458 int arg4 = (int) -1 ;
36459 int arg5 = (int) -1 ;
36460 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
36461 wxTreeItemId result;
36462 void *argp1 = 0 ;
36463 int res1 = 0 ;
36464 void *argp2 = 0 ;
36465 int res2 = 0 ;
36466 bool temp3 = false ;
36467 int val4 ;
36468 int ecode4 = 0 ;
36469 int val5 ;
36470 int ecode5 = 0 ;
36471 int res6 = 0 ;
36472 PyObject * obj0 = 0 ;
36473 PyObject * obj1 = 0 ;
36474 PyObject * obj2 = 0 ;
36475 PyObject * obj3 = 0 ;
36476 PyObject * obj4 = 0 ;
36477 PyObject * obj5 = 0 ;
36478 char * kwnames[] = {
36479 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36480 };
36481
36482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
36483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36484 if (!SWIG_IsOK(res1)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36486 }
36487 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36488 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36489 if (!SWIG_IsOK(res2)) {
36490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36491 }
36492 if (!argp2) {
36493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36494 }
36495 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36496 {
36497 arg3 = wxString_in_helper(obj2);
36498 if (arg3 == NULL) SWIG_fail;
36499 temp3 = true;
36500 }
36501 if (obj3) {
36502 ecode4 = SWIG_AsVal_int(obj3, &val4);
36503 if (!SWIG_IsOK(ecode4)) {
36504 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36505 }
36506 arg4 = static_cast< int >(val4);
36507 }
36508 if (obj4) {
36509 ecode5 = SWIG_AsVal_int(obj4, &val5);
36510 if (!SWIG_IsOK(ecode5)) {
36511 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36512 }
36513 arg5 = static_cast< int >(val5);
36514 }
36515 if (obj5) {
36516 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
36517 if (!SWIG_IsOK(res6)) {
36518 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
d55e5bfc 36519 }
554f62e9
RD
36520 }
36521 {
36522 PyThreadState* __tstate = wxPyBeginAllowThreads();
36523 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
36524 wxPyEndAllowThreads(__tstate);
36525 if (PyErr_Occurred()) SWIG_fail;
36526 }
36527 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
36528 {
36529 if (temp3)
36530 delete arg3;
36531 }
36532 return resultobj;
36533fail:
36534 {
36535 if (temp3)
36536 delete arg3;
36537 }
36538 return NULL;
36539}
36540
36541
36542SWIGINTERN PyObject *_wrap_TreeCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36543 PyObject *resultobj = 0;
36544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36545 wxTreeItemId *arg2 = 0 ;
36546 void *argp1 = 0 ;
36547 int res1 = 0 ;
36548 void *argp2 = 0 ;
36549 int res2 = 0 ;
36550 PyObject * obj0 = 0 ;
36551 PyObject * obj1 = 0 ;
36552 char * kwnames[] = {
36553 (char *) "self",(char *) "item", NULL
36554 };
36555
36556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
36557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36558 if (!SWIG_IsOK(res1)) {
36559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36560 }
36561 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36562 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36563 if (!SWIG_IsOK(res2)) {
36564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36565 }
36566 if (!argp2) {
36567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36568 }
36569 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36570 {
36571 PyThreadState* __tstate = wxPyBeginAllowThreads();
36572 (arg1)->Delete((wxTreeItemId const &)*arg2);
36573 wxPyEndAllowThreads(__tstate);
36574 if (PyErr_Occurred()) SWIG_fail;
36575 }
36576 resultobj = SWIG_Py_Void();
36577 return resultobj;
36578fail:
36579 return NULL;
36580}
36581
36582
36583SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36584 PyObject *resultobj = 0;
36585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36586 wxTreeItemId *arg2 = 0 ;
36587 void *argp1 = 0 ;
36588 int res1 = 0 ;
36589 void *argp2 = 0 ;
36590 int res2 = 0 ;
36591 PyObject * obj0 = 0 ;
36592 PyObject * obj1 = 0 ;
36593 char * kwnames[] = {
36594 (char *) "self",(char *) "item", NULL
36595 };
36596
36597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36599 if (!SWIG_IsOK(res1)) {
36600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36601 }
36602 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36603 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36604 if (!SWIG_IsOK(res2)) {
36605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36606 }
36607 if (!argp2) {
36608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36609 }
36610 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36611 {
36612 PyThreadState* __tstate = wxPyBeginAllowThreads();
36613 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
36614 wxPyEndAllowThreads(__tstate);
36615 if (PyErr_Occurred()) SWIG_fail;
36616 }
36617 resultobj = SWIG_Py_Void();
36618 return resultobj;
36619fail:
36620 return NULL;
d55e5bfc
RD
36621}
36622
36623
554f62e9
RD
36624SWIGINTERN PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36625 PyObject *resultobj = 0;
36626 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36627 void *argp1 = 0 ;
36628 int res1 = 0 ;
36629 PyObject *swig_obj[1] ;
36630
36631 if (!args) SWIG_fail;
36632 swig_obj[0] = args;
36633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36634 if (!SWIG_IsOK(res1)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36636 }
36637 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36638 {
36639 PyThreadState* __tstate = wxPyBeginAllowThreads();
36640 (arg1)->DeleteAllItems();
36641 wxPyEndAllowThreads(__tstate);
36642 if (PyErr_Occurred()) SWIG_fail;
36643 }
36644 resultobj = SWIG_Py_Void();
36645 return resultobj;
36646fail:
36647 return NULL;
36648}
36649
36650
36651SWIGINTERN PyObject *_wrap_TreeCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36652 PyObject *resultobj = 0;
36653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36654 wxTreeItemId *arg2 = 0 ;
36655 void *argp1 = 0 ;
36656 int res1 = 0 ;
36657 void *argp2 = 0 ;
36658 int res2 = 0 ;
36659 PyObject * obj0 = 0 ;
36660 PyObject * obj1 = 0 ;
36661 char * kwnames[] = {
36662 (char *) "self",(char *) "item", NULL
36663 };
36664
36665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
36666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36667 if (!SWIG_IsOK(res1)) {
36668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36669 }
36670 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36671 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36672 if (!SWIG_IsOK(res2)) {
36673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36674 }
36675 if (!argp2) {
36676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36677 }
36678 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36679 {
36680 PyThreadState* __tstate = wxPyBeginAllowThreads();
36681 (arg1)->Expand((wxTreeItemId const &)*arg2);
36682 wxPyEndAllowThreads(__tstate);
36683 if (PyErr_Occurred()) SWIG_fail;
36684 }
36685 resultobj = SWIG_Py_Void();
36686 return resultobj;
36687fail:
36688 return NULL;
36689}
36690
36691
453fb36b
RD
36692SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAllChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36693 PyObject *resultobj = 0;
36694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36695 wxTreeItemId *arg2 = 0 ;
36696 void *argp1 = 0 ;
36697 int res1 = 0 ;
36698 void *argp2 = 0 ;
36699 int res2 = 0 ;
36700 PyObject * obj0 = 0 ;
36701 PyObject * obj1 = 0 ;
36702 char * kwnames[] = {
36703 (char *) "self",(char *) "item", NULL
36704 };
36705
36706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames,&obj0,&obj1)) SWIG_fail;
36707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36708 if (!SWIG_IsOK(res1)) {
36709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36710 }
36711 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36712 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36713 if (!SWIG_IsOK(res2)) {
36714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36715 }
36716 if (!argp2) {
36717 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36718 }
36719 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36720 {
36721 PyThreadState* __tstate = wxPyBeginAllowThreads();
36722 (arg1)->ExpandAllChildren((wxTreeItemId const &)*arg2);
36723 wxPyEndAllowThreads(__tstate);
36724 if (PyErr_Occurred()) SWIG_fail;
36725 }
36726 resultobj = SWIG_Py_Void();
36727 return resultobj;
36728fail:
36729 return NULL;
36730}
36731
36732
36733SWIGINTERN PyObject *_wrap_TreeCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36734 PyObject *resultobj = 0;
36735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36736 void *argp1 = 0 ;
36737 int res1 = 0 ;
36738 PyObject *swig_obj[1] ;
36739
36740 if (!args) SWIG_fail;
36741 swig_obj[0] = args;
36742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36743 if (!SWIG_IsOK(res1)) {
36744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36745 }
36746 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36747 {
36748 PyThreadState* __tstate = wxPyBeginAllowThreads();
36749 (arg1)->ExpandAll();
36750 wxPyEndAllowThreads(__tstate);
36751 if (PyErr_Occurred()) SWIG_fail;
36752 }
36753 resultobj = SWIG_Py_Void();
36754 return resultobj;
36755fail:
36756 return NULL;
36757}
36758
36759
554f62e9
RD
36760SWIGINTERN PyObject *_wrap_TreeCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36761 PyObject *resultobj = 0;
36762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36763 wxTreeItemId *arg2 = 0 ;
36764 void *argp1 = 0 ;
36765 int res1 = 0 ;
36766 void *argp2 = 0 ;
36767 int res2 = 0 ;
36768 PyObject * obj0 = 0 ;
36769 PyObject * obj1 = 0 ;
36770 char * kwnames[] = {
36771 (char *) "self",(char *) "item", NULL
36772 };
36773
36774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
36775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36776 if (!SWIG_IsOK(res1)) {
36777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36778 }
36779 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36780 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36781 if (!SWIG_IsOK(res2)) {
36782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36783 }
36784 if (!argp2) {
36785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36786 }
36787 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36788 {
36789 PyThreadState* __tstate = wxPyBeginAllowThreads();
36790 (arg1)->Collapse((wxTreeItemId const &)*arg2);
36791 wxPyEndAllowThreads(__tstate);
36792 if (PyErr_Occurred()) SWIG_fail;
36793 }
36794 resultobj = SWIG_Py_Void();
36795 return resultobj;
36796fail:
36797 return NULL;
36798}
36799
36800
36801SWIGINTERN PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36802 PyObject *resultobj = 0;
36803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36804 wxTreeItemId *arg2 = 0 ;
36805 void *argp1 = 0 ;
36806 int res1 = 0 ;
36807 void *argp2 = 0 ;
36808 int res2 = 0 ;
36809 PyObject * obj0 = 0 ;
36810 PyObject * obj1 = 0 ;
36811 char * kwnames[] = {
36812 (char *) "self",(char *) "item", NULL
36813 };
36814
36815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
36816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36817 if (!SWIG_IsOK(res1)) {
36818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36819 }
36820 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36822 if (!SWIG_IsOK(res2)) {
36823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36824 }
36825 if (!argp2) {
36826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36827 }
36828 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36829 {
36830 PyThreadState* __tstate = wxPyBeginAllowThreads();
36831 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
36832 wxPyEndAllowThreads(__tstate);
36833 if (PyErr_Occurred()) SWIG_fail;
36834 }
36835 resultobj = SWIG_Py_Void();
36836 return resultobj;
36837fail:
36838 return NULL;
36839}
36840
36841
36842SWIGINTERN PyObject *_wrap_TreeCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36843 PyObject *resultobj = 0;
36844 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36845 wxTreeItemId *arg2 = 0 ;
36846 void *argp1 = 0 ;
36847 int res1 = 0 ;
36848 void *argp2 = 0 ;
36849 int res2 = 0 ;
36850 PyObject * obj0 = 0 ;
36851 PyObject * obj1 = 0 ;
36852 char * kwnames[] = {
36853 (char *) "self",(char *) "item", NULL
36854 };
36855
36856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
36857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36858 if (!SWIG_IsOK(res1)) {
36859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36860 }
36861 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36862 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36863 if (!SWIG_IsOK(res2)) {
36864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36865 }
36866 if (!argp2) {
36867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36868 }
36869 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36870 {
36871 PyThreadState* __tstate = wxPyBeginAllowThreads();
36872 (arg1)->Toggle((wxTreeItemId const &)*arg2);
36873 wxPyEndAllowThreads(__tstate);
36874 if (PyErr_Occurred()) SWIG_fail;
36875 }
36876 resultobj = SWIG_Py_Void();
36877 return resultobj;
36878fail:
36879 return NULL;
d55e5bfc
RD
36880}
36881
36882
554f62e9
RD
36883SWIGINTERN PyObject *_wrap_TreeCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36884 PyObject *resultobj = 0;
36885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36886 void *argp1 = 0 ;
36887 int res1 = 0 ;
36888 PyObject *swig_obj[1] ;
36889
36890 if (!args) SWIG_fail;
36891 swig_obj[0] = args;
36892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36893 if (!SWIG_IsOK(res1)) {
36894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36895 }
36896 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36897 {
36898 PyThreadState* __tstate = wxPyBeginAllowThreads();
36899 (arg1)->Unselect();
36900 wxPyEndAllowThreads(__tstate);
36901 if (PyErr_Occurred()) SWIG_fail;
36902 }
36903 resultobj = SWIG_Py_Void();
36904 return resultobj;
36905fail:
36906 return NULL;
36907}
36908
36909
36910SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36911 PyObject *resultobj = 0;
36912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36913 wxTreeItemId *arg2 = 0 ;
36914 void *argp1 = 0 ;
36915 int res1 = 0 ;
36916 void *argp2 = 0 ;
36917 int res2 = 0 ;
36918 PyObject * obj0 = 0 ;
36919 PyObject * obj1 = 0 ;
36920 char * kwnames[] = {
36921 (char *) "self",(char *) "item", NULL
36922 };
36923
36924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) SWIG_fail;
36925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36926 if (!SWIG_IsOK(res1)) {
36927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36928 }
36929 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36930 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
36931 if (!SWIG_IsOK(res2)) {
36932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36933 }
36934 if (!argp2) {
36935 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36936 }
36937 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
36938 {
36939 PyThreadState* __tstate = wxPyBeginAllowThreads();
36940 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
36941 wxPyEndAllowThreads(__tstate);
36942 if (PyErr_Occurred()) SWIG_fail;
36943 }
36944 resultobj = SWIG_Py_Void();
36945 return resultobj;
36946fail:
36947 return NULL;
d55e5bfc
RD
36948}
36949
36950
554f62e9
RD
36951SWIGINTERN PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
36952 PyObject *resultobj = 0;
36953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36954 void *argp1 = 0 ;
36955 int res1 = 0 ;
36956 PyObject *swig_obj[1] ;
36957
36958 if (!args) SWIG_fail;
36959 swig_obj[0] = args;
36960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36961 if (!SWIG_IsOK(res1)) {
36962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36963 }
36964 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
36965 {
36966 PyThreadState* __tstate = wxPyBeginAllowThreads();
36967 (arg1)->UnselectAll();
36968 wxPyEndAllowThreads(__tstate);
36969 if (PyErr_Occurred()) SWIG_fail;
36970 }
36971 resultobj = SWIG_Py_Void();
36972 return resultobj;
36973fail:
36974 return NULL;
36975}
36976
36977
36978SWIGINTERN PyObject *_wrap_TreeCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
36979 PyObject *resultobj = 0;
36980 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
36981 wxTreeItemId *arg2 = 0 ;
36982 bool arg3 = (bool) true ;
36983 void *argp1 = 0 ;
36984 int res1 = 0 ;
36985 void *argp2 = 0 ;
36986 int res2 = 0 ;
36987 bool val3 ;
36988 int ecode3 = 0 ;
36989 PyObject * obj0 = 0 ;
36990 PyObject * obj1 = 0 ;
36991 PyObject * obj2 = 0 ;
36992 char * kwnames[] = {
36993 (char *) "self",(char *) "item",(char *) "select", NULL
36994 };
36995
36996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
36997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
36998 if (!SWIG_IsOK(res1)) {
36999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37000 }
37001 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37002 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37003 if (!SWIG_IsOK(res2)) {
37004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37005 }
37006 if (!argp2) {
37007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37008 }
37009 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37010 if (obj2) {
37011 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37012 if (!SWIG_IsOK(ecode3)) {
37013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37014 }
37015 arg3 = static_cast< bool >(val3);
37016 }
37017 {
37018 PyThreadState* __tstate = wxPyBeginAllowThreads();
37019 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
37020 wxPyEndAllowThreads(__tstate);
37021 if (PyErr_Occurred()) SWIG_fail;
37022 }
37023 resultobj = SWIG_Py_Void();
37024 return resultobj;
37025fail:
37026 return NULL;
37027}
37028
37029
37030SWIGINTERN PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37031 PyObject *resultobj = 0;
37032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37033 wxTreeItemId *arg2 = 0 ;
37034 void *argp1 = 0 ;
37035 int res1 = 0 ;
37036 void *argp2 = 0 ;
37037 int res2 = 0 ;
37038 PyObject * obj0 = 0 ;
37039 PyObject * obj1 = 0 ;
37040 char * kwnames[] = {
37041 (char *) "self",(char *) "item", NULL
37042 };
37043
37044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) SWIG_fail;
37045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37046 if (!SWIG_IsOK(res1)) {
37047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37048 }
37049 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37051 if (!SWIG_IsOK(res2)) {
37052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37053 }
37054 if (!argp2) {
37055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37056 }
37057 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37058 {
37059 PyThreadState* __tstate = wxPyBeginAllowThreads();
37060 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
37061 wxPyEndAllowThreads(__tstate);
37062 if (PyErr_Occurred()) SWIG_fail;
37063 }
37064 resultobj = SWIG_Py_Void();
37065 return resultobj;
37066fail:
37067 return NULL;
37068}
37069
37070
37071SWIGINTERN PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37072 PyObject *resultobj = 0;
37073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37074 wxTreeItemId *arg2 = 0 ;
37075 void *argp1 = 0 ;
37076 int res1 = 0 ;
37077 void *argp2 = 0 ;
37078 int res2 = 0 ;
37079 PyObject * obj0 = 0 ;
37080 PyObject * obj1 = 0 ;
37081 char * kwnames[] = {
37082 (char *) "self",(char *) "item", NULL
37083 };
37084
37085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
37086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37087 if (!SWIG_IsOK(res1)) {
37088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37089 }
37090 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37091 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37092 if (!SWIG_IsOK(res2)) {
37093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37094 }
37095 if (!argp2) {
37096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37097 }
37098 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37099 {
37100 PyThreadState* __tstate = wxPyBeginAllowThreads();
37101 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
37102 wxPyEndAllowThreads(__tstate);
37103 if (PyErr_Occurred()) SWIG_fail;
37104 }
37105 resultobj = SWIG_Py_Void();
37106 return resultobj;
37107fail:
37108 return NULL;
37109}
37110
37111
37112SWIGINTERN PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37113 PyObject *resultobj = 0;
37114 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37115 wxTreeItemId *arg2 = 0 ;
37116 void *argp1 = 0 ;
37117 int res1 = 0 ;
37118 void *argp2 = 0 ;
37119 int res2 = 0 ;
37120 PyObject * obj0 = 0 ;
37121 PyObject * obj1 = 0 ;
37122 char * kwnames[] = {
37123 (char *) "self",(char *) "item", NULL
37124 };
37125
37126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
37127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37128 if (!SWIG_IsOK(res1)) {
37129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37130 }
37131 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37132 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37133 if (!SWIG_IsOK(res2)) {
37134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37135 }
37136 if (!argp2) {
37137 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37138 }
37139 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37140 {
37141 PyThreadState* __tstate = wxPyBeginAllowThreads();
37142 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
37143 wxPyEndAllowThreads(__tstate);
37144 if (PyErr_Occurred()) SWIG_fail;
37145 }
37146 resultobj = SWIG_Py_Void();
37147 return resultobj;
37148fail:
37149 return NULL;
37150}
37151
37152
37153SWIGINTERN PyObject *_wrap_TreeCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37154 PyObject *resultobj = 0;
37155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37156 wxTreeItemId *arg2 = 0 ;
37157 void *argp1 = 0 ;
37158 int res1 = 0 ;
37159 void *argp2 = 0 ;
37160 int res2 = 0 ;
37161 PyObject * obj0 = 0 ;
37162 PyObject * obj1 = 0 ;
37163 char * kwnames[] = {
37164 (char *) "self",(char *) "item", NULL
37165 };
37166
37167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
37168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37169 if (!SWIG_IsOK(res1)) {
37170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37171 }
37172 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37173 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37174 if (!SWIG_IsOK(res2)) {
37175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37176 }
37177 if (!argp2) {
37178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37179 }
37180 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37181 {
37182 PyThreadState* __tstate = wxPyBeginAllowThreads();
37183 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
37184 wxPyEndAllowThreads(__tstate);
37185 if (PyErr_Occurred()) SWIG_fail;
37186 }
37187 resultobj = SWIG_Py_Void();
37188 return resultobj;
37189fail:
37190 return NULL;
d55e5bfc
RD
37191}
37192
37193
554f62e9
RD
37194SWIGINTERN PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37195 PyObject *resultobj = 0;
37196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37197 wxTextCtrl *result = 0 ;
37198 void *argp1 = 0 ;
37199 int res1 = 0 ;
37200 PyObject *swig_obj[1] ;
37201
37202 if (!args) SWIG_fail;
37203 swig_obj[0] = args;
37204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37205 if (!SWIG_IsOK(res1)) {
37206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37207 }
37208 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37209 {
37210 PyThreadState* __tstate = wxPyBeginAllowThreads();
37211 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
37212 wxPyEndAllowThreads(__tstate);
37213 if (PyErr_Occurred()) SWIG_fail;
37214 }
37215 {
37216 resultobj = wxPyMake_wxObject(result, 0);
37217 }
37218 return resultobj;
37219fail:
37220 return NULL;
37221}
37222
37223
37224SWIGINTERN PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37225 PyObject *resultobj = 0;
37226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37227 wxTreeItemId *arg2 = 0 ;
37228 bool arg3 = (bool) false ;
37229 void *argp1 = 0 ;
37230 int res1 = 0 ;
37231 void *argp2 = 0 ;
37232 int res2 = 0 ;
37233 bool val3 ;
37234 int ecode3 = 0 ;
37235 PyObject * obj0 = 0 ;
37236 PyObject * obj1 = 0 ;
37237 PyObject * obj2 = 0 ;
37238 char * kwnames[] = {
37239 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37240 };
37241
37242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37244 if (!SWIG_IsOK(res1)) {
37245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37246 }
37247 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37249 if (!SWIG_IsOK(res2)) {
37250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37251 }
37252 if (!argp2) {
37253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37254 }
37255 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37256 if (obj2) {
37257 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37258 if (!SWIG_IsOK(ecode3)) {
37259 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37260 }
37261 arg3 = static_cast< bool >(val3);
37262 }
37263 {
37264 PyThreadState* __tstate = wxPyBeginAllowThreads();
37265 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
37266 wxPyEndAllowThreads(__tstate);
37267 if (PyErr_Occurred()) SWIG_fail;
37268 }
37269 resultobj = SWIG_Py_Void();
37270 return resultobj;
37271fail:
37272 return NULL;
37273}
37274
37275
37276SWIGINTERN PyObject *_wrap_TreeCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37277 PyObject *resultobj = 0;
37278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37279 wxTreeItemId *arg2 = 0 ;
37280 void *argp1 = 0 ;
37281 int res1 = 0 ;
37282 void *argp2 = 0 ;
37283 int res2 = 0 ;
37284 PyObject * obj0 = 0 ;
37285 PyObject * obj1 = 0 ;
37286 char * kwnames[] = {
37287 (char *) "self",(char *) "item", NULL
37288 };
37289
37290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
37291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37292 if (!SWIG_IsOK(res1)) {
37293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37294 }
37295 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37296 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37297 if (!SWIG_IsOK(res2)) {
37298 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37299 }
37300 if (!argp2) {
37301 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37302 }
37303 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37304 {
37305 PyThreadState* __tstate = wxPyBeginAllowThreads();
37306 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
37307 wxPyEndAllowThreads(__tstate);
37308 if (PyErr_Occurred()) SWIG_fail;
37309 }
37310 resultobj = SWIG_Py_Void();
37311 return resultobj;
37312fail:
37313 return NULL;
37314}
37315
37316
37317SWIGINTERN PyObject *_wrap_TreeCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37318 PyObject *resultobj = 0;
37319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37320 wxPoint *arg2 = 0 ;
37321 int *arg3 = 0 ;
37322 wxTreeItemId result;
37323 void *argp1 = 0 ;
37324 int res1 = 0 ;
37325 wxPoint temp2 ;
37326 int temp3 ;
37327 int res3 = SWIG_TMPOBJ ;
37328 PyObject * obj0 = 0 ;
37329 PyObject * obj1 = 0 ;
37330 char * kwnames[] = {
37331 (char *) "self",(char *) "point", NULL
37332 };
37333
37334 arg3 = &temp3;
37335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
37336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37337 if (!SWIG_IsOK(res1)) {
37338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37339 }
37340 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37341 {
37342 arg2 = &temp2;
37343 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37344 }
37345 {
37346 PyThreadState* __tstate = wxPyBeginAllowThreads();
37347 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
37348 wxPyEndAllowThreads(__tstate);
37349 if (PyErr_Occurred()) SWIG_fail;
37350 }
37351 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
37352 if (SWIG_IsTmpObj(res3)) {
37353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
37354 } else {
37355 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
37356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
37357 }
37358 return resultobj;
37359fail:
37360 return NULL;
37361}
37362
37363
37364SWIGINTERN PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37365 PyObject *resultobj = 0;
37366 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37367 wxTreeItemId *arg2 = 0 ;
37368 bool arg3 = (bool) false ;
37369 PyObject *result = 0 ;
37370 void *argp1 = 0 ;
37371 int res1 = 0 ;
37372 void *argp2 = 0 ;
37373 int res2 = 0 ;
37374 bool val3 ;
37375 int ecode3 = 0 ;
37376 PyObject * obj0 = 0 ;
37377 PyObject * obj1 = 0 ;
37378 PyObject * obj2 = 0 ;
37379 char * kwnames[] = {
37380 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37381 };
37382
37383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37385 if (!SWIG_IsOK(res1)) {
37386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37387 }
37388 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37389 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37390 if (!SWIG_IsOK(res2)) {
37391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37392 }
37393 if (!argp2) {
37394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37395 }
37396 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37397 if (obj2) {
37398 ecode3 = SWIG_AsVal_bool(obj2, &val3);
37399 if (!SWIG_IsOK(ecode3)) {
37400 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37401 }
37402 arg3 = static_cast< bool >(val3);
37403 }
37404 {
37405 PyThreadState* __tstate = wxPyBeginAllowThreads();
37406 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
37407 wxPyEndAllowThreads(__tstate);
37408 if (PyErr_Occurred()) SWIG_fail;
37409 }
37410 resultobj = result;
37411 return resultobj;
37412fail:
37413 return NULL;
37414}
37415
37416
37417SWIGINTERN PyObject *_wrap_TreeCtrl_SetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37418 PyObject *resultobj = 0;
37419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37420 wxTreeItemId *arg2 = 0 ;
37421 int arg3 ;
37422 void *argp1 = 0 ;
37423 int res1 = 0 ;
37424 void *argp2 = 0 ;
37425 int res2 = 0 ;
37426 int val3 ;
37427 int ecode3 = 0 ;
37428 PyObject * obj0 = 0 ;
37429 PyObject * obj1 = 0 ;
37430 PyObject * obj2 = 0 ;
37431 char * kwnames[] = {
37432 (char *) "self",(char *) "node",(char *) "state", NULL
37433 };
37434
37435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetState",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
37436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37437 if (!SWIG_IsOK(res1)) {
37438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37439 }
37440 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37441 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37442 if (!SWIG_IsOK(res2)) {
37443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37444 }
37445 if (!argp2) {
37446 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37447 }
37448 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37449 ecode3 = SWIG_AsVal_int(obj2, &val3);
37450 if (!SWIG_IsOK(ecode3)) {
37451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37452 }
37453 arg3 = static_cast< int >(val3);
37454 {
37455 PyThreadState* __tstate = wxPyBeginAllowThreads();
37456 (arg1)->SetState((wxTreeItemId const &)*arg2,arg3);
37457 wxPyEndAllowThreads(__tstate);
37458 if (PyErr_Occurred()) SWIG_fail;
37459 }
37460 resultobj = SWIG_Py_Void();
37461 return resultobj;
37462fail:
37463 return NULL;
37464}
37465
37466
37467SWIGINTERN PyObject *_wrap_TreeCtrl_GetState(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37468 PyObject *resultobj = 0;
37469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37470 wxTreeItemId *arg2 = 0 ;
37471 int result;
37472 void *argp1 = 0 ;
37473 int res1 = 0 ;
37474 void *argp2 = 0 ;
37475 int res2 = 0 ;
37476 PyObject * obj0 = 0 ;
37477 PyObject * obj1 = 0 ;
37478 char * kwnames[] = {
37479 (char *) "self",(char *) "node", NULL
37480 };
37481
37482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetState",kwnames,&obj0,&obj1)) SWIG_fail;
37483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37484 if (!SWIG_IsOK(res1)) {
37485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37486 }
37487 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37488 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
37489 if (!SWIG_IsOK(res2)) {
37490 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37491 }
37492 if (!argp2) {
37493 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37494 }
37495 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
37496 {
37497 PyThreadState* __tstate = wxPyBeginAllowThreads();
37498 result = (int)(arg1)->GetState((wxTreeItemId const &)*arg2);
37499 wxPyEndAllowThreads(__tstate);
37500 if (PyErr_Occurred()) SWIG_fail;
37501 }
37502 resultobj = SWIG_From_int(static_cast< int >(result));
37503 return resultobj;
37504fail:
37505 return NULL;
37506}
37507
37508
37509SWIGINTERN PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37510 PyObject *resultobj = 0;
37511 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
37512 SwigValueWrapper<wxVisualAttributes > result;
37513 int val1 ;
37514 int ecode1 = 0 ;
37515 PyObject * obj0 = 0 ;
37516 char * kwnames[] = {
37517 (char *) "variant", NULL
37518 };
37519
37520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
37521 if (obj0) {
37522 ecode1 = SWIG_AsVal_int(obj0, &val1);
37523 if (!SWIG_IsOK(ecode1)) {
37524 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37525 }
37526 arg1 = static_cast< wxWindowVariant >(val1);
37527 }
37528 {
37529 if (!wxPyCheckForApp()) SWIG_fail;
37530 PyThreadState* __tstate = wxPyBeginAllowThreads();
37531 result = wxPyTreeCtrl::GetClassDefaultAttributes(arg1);
37532 wxPyEndAllowThreads(__tstate);
37533 if (PyErr_Occurred()) SWIG_fail;
37534 }
37535 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
37536 return resultobj;
37537fail:
37538 return NULL;
d55e5bfc
RD
37539}
37540
37541
2131d850
RD
37542SWIGINTERN PyObject *_wrap_TreeCtrl_SetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37543 PyObject *resultobj = 0;
37544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37545 bool arg2 ;
37546 void *argp1 = 0 ;
37547 int res1 = 0 ;
37548 bool val2 ;
37549 int ecode2 = 0 ;
37550 PyObject * obj0 = 0 ;
37551 PyObject * obj1 = 0 ;
37552 char * kwnames[] = {
37553 (char *) "self",(char *) "q", NULL
37554 };
37555
37556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
37557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37558 if (!SWIG_IsOK(res1)) {
37559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37560 }
37561 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37562 ecode2 = SWIG_AsVal_bool(obj1, &val2);
37563 if (!SWIG_IsOK(ecode2)) {
37564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37565 }
37566 arg2 = static_cast< bool >(val2);
37567 {
37568 PyThreadState* __tstate = wxPyBeginAllowThreads();
37569 (arg1)->SetQuickBestSize(arg2);
37570 wxPyEndAllowThreads(__tstate);
37571 if (PyErr_Occurred()) SWIG_fail;
37572 }
37573 resultobj = SWIG_Py_Void();
37574 return resultobj;
37575fail:
37576 return NULL;
37577}
37578
37579
37580SWIGINTERN PyObject *_wrap_TreeCtrl_GetQuickBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37581 PyObject *resultobj = 0;
37582 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
37583 bool result;
37584 void *argp1 = 0 ;
37585 int res1 = 0 ;
37586 PyObject *swig_obj[1] ;
37587
37588 if (!args) SWIG_fail;
37589 swig_obj[0] = args;
37590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCtrl, 0 | 0 );
37591 if (!SWIG_IsOK(res1)) {
37592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37593 }
37594 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
37595 {
37596 PyThreadState* __tstate = wxPyBeginAllowThreads();
37597 result = (bool)((wxPyTreeCtrl const *)arg1)->GetQuickBestSize();
37598 wxPyEndAllowThreads(__tstate);
37599 if (PyErr_Occurred()) SWIG_fail;
37600 }
37601 {
37602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37603 }
37604 return resultobj;
37605fail:
37606 return NULL;
37607}
37608
37609
554f62e9
RD
37610SWIGINTERN PyObject *TreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37611 PyObject *obj;
37612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
37613 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl, SWIG_NewClientData(obj));
37614 return SWIG_Py_Void();
d55e5bfc
RD
37615}
37616
554f62e9
RD
37617SWIGINTERN PyObject *TreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37618 return SWIG_Python_InitShadowInstance(args);
37619}
d55e5bfc 37620
554f62e9
RD
37621SWIGINTERN int DirDialogDefaultFolderStr_set(PyObject *) {
37622 SWIG_Error(SWIG_AttributeError,"Variable DirDialogDefaultFolderStr is read-only.");
37623 return 1;
d55e5bfc
RD
37624}
37625
37626
554f62e9
RD
37627SWIGINTERN PyObject *DirDialogDefaultFolderStr_get(void) {
37628 PyObject *pyobj = 0;
37629
37630 {
d55e5bfc 37631#if wxUSE_UNICODE
554f62e9 37632 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37633#else
554f62e9 37634 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
d55e5bfc 37635#endif
554f62e9
RD
37636 }
37637 return pyobj;
37638}
37639
37640
37641SWIGINTERN PyObject *_wrap_new_GenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37642 PyObject *resultobj = 0;
37643 wxWindow *arg1 = (wxWindow *) 0 ;
37644 int arg2 = (int) (int)-1 ;
37645 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
37646 wxString *arg3 = (wxString *) &arg3_defvalue ;
37647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
37648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
37649 wxSize const &arg5_defvalue = wxDefaultSize ;
37650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
37651 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37652 wxString const &arg7_defvalue = wxPyEmptyString ;
37653 wxString *arg7 = (wxString *) &arg7_defvalue ;
37654 int arg8 = (int) 0 ;
37655 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
37656 wxString *arg9 = (wxString *) &arg9_defvalue ;
37657 wxGenericDirCtrl *result = 0 ;
37658 void *argp1 = 0 ;
37659 int res1 = 0 ;
37660 int val2 ;
37661 int ecode2 = 0 ;
37662 bool temp3 = false ;
37663 wxPoint temp4 ;
37664 wxSize temp5 ;
37665 long val6 ;
37666 int ecode6 = 0 ;
37667 bool temp7 = false ;
37668 int val8 ;
37669 int ecode8 = 0 ;
37670 bool temp9 = false ;
37671 PyObject * obj0 = 0 ;
37672 PyObject * obj1 = 0 ;
37673 PyObject * obj2 = 0 ;
37674 PyObject * obj3 = 0 ;
37675 PyObject * obj4 = 0 ;
37676 PyObject * obj5 = 0 ;
37677 PyObject * obj6 = 0 ;
37678 PyObject * obj7 = 0 ;
37679 PyObject * obj8 = 0 ;
37680 char * kwnames[] = {
37681 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37682 };
37683
37684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
37685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
37686 if (!SWIG_IsOK(res1)) {
37687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37688 }
37689 arg1 = reinterpret_cast< wxWindow * >(argp1);
37690 if (obj1) {
37691 ecode2 = SWIG_AsVal_int(obj1, &val2);
37692 if (!SWIG_IsOK(ecode2)) {
37693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37694 }
37695 arg2 = static_cast< int >(val2);
37696 }
37697 if (obj2) {
093d3ff1 37698 {
554f62e9
RD
37699 arg3 = wxString_in_helper(obj2);
37700 if (arg3 == NULL) SWIG_fail;
37701 temp3 = true;
093d3ff1 37702 }
554f62e9
RD
37703 }
37704 if (obj3) {
093d3ff1 37705 {
554f62e9
RD
37706 arg4 = &temp4;
37707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 37708 }
554f62e9
RD
37709 }
37710 if (obj4) {
d55e5bfc 37711 {
554f62e9
RD
37712 arg5 = &temp5;
37713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 37714 }
554f62e9
RD
37715 }
37716 if (obj5) {
37717 ecode6 = SWIG_AsVal_long(obj5, &val6);
37718 if (!SWIG_IsOK(ecode6)) {
37719 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37720 }
37721 arg6 = static_cast< long >(val6);
37722 }
37723 if (obj6) {
d55e5bfc 37724 {
554f62e9
RD
37725 arg7 = wxString_in_helper(obj6);
37726 if (arg7 == NULL) SWIG_fail;
37727 temp7 = true;
d55e5bfc 37728 }
554f62e9
RD
37729 }
37730 if (obj7) {
37731 ecode8 = SWIG_AsVal_int(obj7, &val8);
37732 if (!SWIG_IsOK(ecode8)) {
37733 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37734 }
37735 arg8 = static_cast< int >(val8);
37736 }
37737 if (obj8) {
d55e5bfc 37738 {
554f62e9
RD
37739 arg9 = wxString_in_helper(obj8);
37740 if (arg9 == NULL) SWIG_fail;
37741 temp9 = true;
d55e5bfc 37742 }
554f62e9
RD
37743 }
37744 {
37745 if (!wxPyCheckForApp()) SWIG_fail;
37746 PyThreadState* __tstate = wxPyBeginAllowThreads();
37747 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
37748 wxPyEndAllowThreads(__tstate);
37749 if (PyErr_Occurred()) SWIG_fail;
37750 }
37751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_NEW | 0 );
37752 {
37753 if (temp3)
37754 delete arg3;
37755 }
37756 {
37757 if (temp7)
37758 delete arg7;
37759 }
37760 {
37761 if (temp9)
37762 delete arg9;
37763 }
37764 return resultobj;
37765fail:
37766 {
37767 if (temp3)
37768 delete arg3;
37769 }
37770 {
37771 if (temp7)
37772 delete arg7;
37773 }
37774 {
37775 if (temp9)
37776 delete arg9;
37777 }
37778 return NULL;
d55e5bfc
RD
37779}
37780
37781
554f62e9
RD
37782SWIGINTERN PyObject *_wrap_new_PreGenericDirCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
37783 PyObject *resultobj = 0;
37784 wxGenericDirCtrl *result = 0 ;
37785
37786 if (!SWIG_Python_UnpackTuple(args,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail;
37787 {
37788 if (!wxPyCheckForApp()) SWIG_fail;
37789 PyThreadState* __tstate = wxPyBeginAllowThreads();
37790 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
37791 wxPyEndAllowThreads(__tstate);
37792 if (PyErr_Occurred()) SWIG_fail;
37793 }
37794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDirCtrl, SWIG_POINTER_OWN | 0 );
37795 return resultobj;
37796fail:
37797 return NULL;
37798}
37799
37800
37801SWIGINTERN PyObject *_wrap_GenericDirCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37802 PyObject *resultobj = 0;
37803 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37804 wxWindow *arg2 = (wxWindow *) 0 ;
37805 int arg3 = (int) (int)-1 ;
37806 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
37807 wxString *arg4 = (wxString *) &arg4_defvalue ;
37808 wxPoint const &arg5_defvalue = wxDefaultPosition ;
37809 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
37810 wxSize const &arg6_defvalue = wxDefaultSize ;
37811 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
37812 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
37813 wxString const &arg8_defvalue = wxPyEmptyString ;
37814 wxString *arg8 = (wxString *) &arg8_defvalue ;
37815 int arg9 = (int) 0 ;
37816 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
37817 wxString *arg10 = (wxString *) &arg10_defvalue ;
37818 bool result;
37819 void *argp1 = 0 ;
37820 int res1 = 0 ;
37821 void *argp2 = 0 ;
37822 int res2 = 0 ;
37823 int val3 ;
37824 int ecode3 = 0 ;
37825 bool temp4 = false ;
37826 wxPoint temp5 ;
37827 wxSize temp6 ;
37828 long val7 ;
37829 int ecode7 = 0 ;
37830 bool temp8 = false ;
37831 int val9 ;
37832 int ecode9 = 0 ;
37833 bool temp10 = false ;
37834 PyObject * obj0 = 0 ;
37835 PyObject * obj1 = 0 ;
37836 PyObject * obj2 = 0 ;
37837 PyObject * obj3 = 0 ;
37838 PyObject * obj4 = 0 ;
37839 PyObject * obj5 = 0 ;
37840 PyObject * obj6 = 0 ;
37841 PyObject * obj7 = 0 ;
37842 PyObject * obj8 = 0 ;
37843 PyObject * obj9 = 0 ;
37844 char * kwnames[] = {
37845 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37846 };
37847
37848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
37849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37850 if (!SWIG_IsOK(res1)) {
37851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37852 }
37853 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37854 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
37855 if (!SWIG_IsOK(res2)) {
37856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37857 }
37858 arg2 = reinterpret_cast< wxWindow * >(argp2);
37859 if (obj2) {
37860 ecode3 = SWIG_AsVal_int(obj2, &val3);
37861 if (!SWIG_IsOK(ecode3)) {
37862 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37863 }
37864 arg3 = static_cast< int >(val3);
37865 }
37866 if (obj3) {
d55e5bfc 37867 {
554f62e9
RD
37868 arg4 = wxString_in_helper(obj3);
37869 if (arg4 == NULL) SWIG_fail;
37870 temp4 = true;
d55e5bfc 37871 }
554f62e9
RD
37872 }
37873 if (obj4) {
093d3ff1 37874 {
554f62e9
RD
37875 arg5 = &temp5;
37876 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 37877 }
554f62e9
RD
37878 }
37879 if (obj5) {
d55e5bfc 37880 {
554f62e9
RD
37881 arg6 = &temp6;
37882 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 37883 }
554f62e9
RD
37884 }
37885 if (obj6) {
37886 ecode7 = SWIG_AsVal_long(obj6, &val7);
37887 if (!SWIG_IsOK(ecode7)) {
37888 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37889 }
37890 arg7 = static_cast< long >(val7);
37891 }
37892 if (obj7) {
d55e5bfc 37893 {
554f62e9
RD
37894 arg8 = wxString_in_helper(obj7);
37895 if (arg8 == NULL) SWIG_fail;
37896 temp8 = true;
d55e5bfc 37897 }
554f62e9
RD
37898 }
37899 if (obj8) {
37900 ecode9 = SWIG_AsVal_int(obj8, &val9);
37901 if (!SWIG_IsOK(ecode9)) {
37902 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37903 }
37904 arg9 = static_cast< int >(val9);
37905 }
37906 if (obj9) {
d55e5bfc 37907 {
554f62e9
RD
37908 arg10 = wxString_in_helper(obj9);
37909 if (arg10 == NULL) SWIG_fail;
37910 temp10 = true;
d55e5bfc 37911 }
554f62e9
RD
37912 }
37913 {
37914 PyThreadState* __tstate = wxPyBeginAllowThreads();
37915 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
37916 wxPyEndAllowThreads(__tstate);
37917 if (PyErr_Occurred()) SWIG_fail;
37918 }
37919 {
37920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37921 }
37922 {
37923 if (temp4)
37924 delete arg4;
37925 }
37926 {
37927 if (temp8)
37928 delete arg8;
37929 }
37930 {
37931 if (temp10)
37932 delete arg10;
37933 }
37934 return resultobj;
37935fail:
37936 {
37937 if (temp4)
37938 delete arg4;
37939 }
37940 {
37941 if (temp8)
37942 delete arg8;
37943 }
37944 {
37945 if (temp10)
37946 delete arg10;
37947 }
37948 return NULL;
37949}
37950
37951
37952SWIGINTERN PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
37953 PyObject *resultobj = 0;
37954 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
37955 wxString *arg2 = 0 ;
37956 bool result;
37957 void *argp1 = 0 ;
37958 int res1 = 0 ;
37959 bool temp2 = false ;
37960 PyObject * obj0 = 0 ;
37961 PyObject * obj1 = 0 ;
37962 char * kwnames[] = {
37963 (char *) "self",(char *) "path", NULL
37964 };
37965
37966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) SWIG_fail;
37967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
37968 if (!SWIG_IsOK(res1)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37970 }
37971 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
37972 {
37973 arg2 = wxString_in_helper(obj1);
37974 if (arg2 == NULL) SWIG_fail;
37975 temp2 = true;
37976 }
37977 {
37978 PyThreadState* __tstate = wxPyBeginAllowThreads();
37979 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
37980 wxPyEndAllowThreads(__tstate);
37981 if (PyErr_Occurred()) SWIG_fail;
37982 }
37983 {
37984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37985 }
37986 {
37987 if (temp2)
37988 delete arg2;
37989 }
37990 return resultobj;
37991fail:
37992 {
37993 if (temp2)
37994 delete arg2;
37995 }
37996 return NULL;
d55e5bfc
RD
37997}
37998
37999
704eda0c
RD
38000SWIGINTERN PyObject *_wrap_GenericDirCtrl_CollapsePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38001 PyObject *resultobj = 0;
38002 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38003 wxString *arg2 = 0 ;
38004 bool result;
38005 void *argp1 = 0 ;
38006 int res1 = 0 ;
38007 bool temp2 = false ;
38008 PyObject * obj0 = 0 ;
38009 PyObject * obj1 = 0 ;
38010 char * kwnames[] = {
38011 (char *) "self",(char *) "path", NULL
38012 };
38013
38014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames,&obj0,&obj1)) SWIG_fail;
38015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38016 if (!SWIG_IsOK(res1)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38018 }
38019 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38020 {
38021 arg2 = wxString_in_helper(obj1);
38022 if (arg2 == NULL) SWIG_fail;
38023 temp2 = true;
38024 }
38025 {
38026 PyThreadState* __tstate = wxPyBeginAllowThreads();
38027 result = (bool)(arg1)->CollapsePath((wxString const &)*arg2);
38028 wxPyEndAllowThreads(__tstate);
38029 if (PyErr_Occurred()) SWIG_fail;
38030 }
38031 {
38032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38033 }
38034 {
38035 if (temp2)
38036 delete arg2;
38037 }
38038 return resultobj;
38039fail:
38040 {
38041 if (temp2)
38042 delete arg2;
38043 }
38044 return NULL;
38045}
38046
38047
554f62e9
RD
38048SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38049 PyObject *resultobj = 0;
38050 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38051 wxString result;
38052 void *argp1 = 0 ;
38053 int res1 = 0 ;
38054 PyObject *swig_obj[1] ;
38055
38056 if (!args) SWIG_fail;
38057 swig_obj[0] = args;
38058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38059 if (!SWIG_IsOK(res1)) {
38060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38061 }
38062 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38063 {
38064 PyThreadState* __tstate = wxPyBeginAllowThreads();
38065 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
38066 wxPyEndAllowThreads(__tstate);
38067 if (PyErr_Occurred()) SWIG_fail;
38068 }
38069 {
38070#if wxUSE_UNICODE
38071 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38072#else
38073 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38074#endif
38075 }
38076 return resultobj;
38077fail:
38078 return NULL;
38079}
38080
38081
38082SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38083 PyObject *resultobj = 0;
38084 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38085 wxString *arg2 = 0 ;
38086 void *argp1 = 0 ;
38087 int res1 = 0 ;
38088 bool temp2 = false ;
38089 PyObject * obj0 = 0 ;
38090 PyObject * obj1 = 0 ;
38091 char * kwnames[] = {
38092 (char *) "self",(char *) "path", NULL
38093 };
38094
38095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) SWIG_fail;
38096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38097 if (!SWIG_IsOK(res1)) {
38098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38099 }
38100 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38101 {
38102 arg2 = wxString_in_helper(obj1);
38103 if (arg2 == NULL) SWIG_fail;
38104 temp2 = true;
38105 }
38106 {
38107 PyThreadState* __tstate = wxPyBeginAllowThreads();
38108 (arg1)->SetDefaultPath((wxString const &)*arg2);
38109 wxPyEndAllowThreads(__tstate);
38110 if (PyErr_Occurred()) SWIG_fail;
38111 }
38112 resultobj = SWIG_Py_Void();
38113 {
38114 if (temp2)
38115 delete arg2;
38116 }
38117 return resultobj;
38118fail:
38119 {
38120 if (temp2)
38121 delete arg2;
38122 }
38123 return NULL;
d55e5bfc
RD
38124}
38125
38126
554f62e9
RD
38127SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38128 PyObject *resultobj = 0;
38129 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38130 wxString result;
38131 void *argp1 = 0 ;
38132 int res1 = 0 ;
38133 PyObject *swig_obj[1] ;
38134
38135 if (!args) SWIG_fail;
38136 swig_obj[0] = args;
38137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38138 if (!SWIG_IsOK(res1)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38140 }
38141 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38142 {
38143 PyThreadState* __tstate = wxPyBeginAllowThreads();
38144 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
38145 wxPyEndAllowThreads(__tstate);
38146 if (PyErr_Occurred()) SWIG_fail;
38147 }
38148 {
38149#if wxUSE_UNICODE
38150 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38151#else
38152 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38153#endif
38154 }
38155 return resultobj;
38156fail:
38157 return NULL;
d55e5bfc
RD
38158}
38159
38160
554f62e9
RD
38161SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38162 PyObject *resultobj = 0;
38163 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38164 wxString result;
38165 void *argp1 = 0 ;
38166 int res1 = 0 ;
38167 PyObject *swig_obj[1] ;
38168
38169 if (!args) SWIG_fail;
38170 swig_obj[0] = args;
38171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38172 if (!SWIG_IsOK(res1)) {
38173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38174 }
38175 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38176 {
38177 PyThreadState* __tstate = wxPyBeginAllowThreads();
38178 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
38179 wxPyEndAllowThreads(__tstate);
38180 if (PyErr_Occurred()) SWIG_fail;
38181 }
38182 {
38183#if wxUSE_UNICODE
38184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38185#else
38186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38187#endif
38188 }
38189 return resultobj;
38190fail:
38191 return NULL;
38192}
38193
38194
38195SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38196 PyObject *resultobj = 0;
38197 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38198 wxString *arg2 = 0 ;
38199 void *argp1 = 0 ;
38200 int res1 = 0 ;
38201 bool temp2 = false ;
38202 PyObject * obj0 = 0 ;
38203 PyObject * obj1 = 0 ;
38204 char * kwnames[] = {
38205 (char *) "self",(char *) "path", NULL
38206 };
38207
38208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
38209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38210 if (!SWIG_IsOK(res1)) {
38211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38212 }
38213 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38214 {
38215 arg2 = wxString_in_helper(obj1);
38216 if (arg2 == NULL) SWIG_fail;
38217 temp2 = true;
38218 }
38219 {
38220 PyThreadState* __tstate = wxPyBeginAllowThreads();
38221 (arg1)->SetPath((wxString const &)*arg2);
38222 wxPyEndAllowThreads(__tstate);
38223 if (PyErr_Occurred()) SWIG_fail;
38224 }
38225 resultobj = SWIG_Py_Void();
38226 {
38227 if (temp2)
38228 delete arg2;
38229 }
38230 return resultobj;
38231fail:
38232 {
38233 if (temp2)
38234 delete arg2;
38235 }
38236 return NULL;
38237}
38238
38239
38240SWIGINTERN PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38241 PyObject *resultobj = 0;
38242 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38243 bool arg2 ;
38244 void *argp1 = 0 ;
38245 int res1 = 0 ;
38246 bool val2 ;
38247 int ecode2 = 0 ;
38248 PyObject * obj0 = 0 ;
38249 PyObject * obj1 = 0 ;
38250 char * kwnames[] = {
38251 (char *) "self",(char *) "show", NULL
38252 };
38253
38254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) SWIG_fail;
38255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38256 if (!SWIG_IsOK(res1)) {
38257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38258 }
38259 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38260 ecode2 = SWIG_AsVal_bool(obj1, &val2);
38261 if (!SWIG_IsOK(ecode2)) {
38262 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38263 }
38264 arg2 = static_cast< bool >(val2);
38265 {
38266 PyThreadState* __tstate = wxPyBeginAllowThreads();
38267 (arg1)->ShowHidden(arg2);
38268 wxPyEndAllowThreads(__tstate);
38269 if (PyErr_Occurred()) SWIG_fail;
38270 }
38271 resultobj = SWIG_Py_Void();
38272 return resultobj;
38273fail:
38274 return NULL;
d55e5bfc
RD
38275}
38276
38277
554f62e9
RD
38278SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38279 PyObject *resultobj = 0;
38280 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38281 bool result;
38282 void *argp1 = 0 ;
38283 int res1 = 0 ;
38284 PyObject *swig_obj[1] ;
38285
38286 if (!args) SWIG_fail;
38287 swig_obj[0] = args;
38288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38289 if (!SWIG_IsOK(res1)) {
38290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38291 }
38292 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38293 {
38294 PyThreadState* __tstate = wxPyBeginAllowThreads();
38295 result = (bool)(arg1)->GetShowHidden();
38296 wxPyEndAllowThreads(__tstate);
38297 if (PyErr_Occurred()) SWIG_fail;
38298 }
38299 {
38300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38301 }
38302 return resultobj;
38303fail:
38304 return NULL;
d55e5bfc
RD
38305}
38306
38307
554f62e9
RD
38308SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38309 PyObject *resultobj = 0;
38310 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38311 wxString result;
38312 void *argp1 = 0 ;
38313 int res1 = 0 ;
38314 PyObject *swig_obj[1] ;
38315
38316 if (!args) SWIG_fail;
38317 swig_obj[0] = args;
38318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38319 if (!SWIG_IsOK(res1)) {
38320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38321 }
38322 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38323 {
38324 PyThreadState* __tstate = wxPyBeginAllowThreads();
38325 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
38326 wxPyEndAllowThreads(__tstate);
38327 if (PyErr_Occurred()) SWIG_fail;
38328 }
38329 {
38330#if wxUSE_UNICODE
38331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
38332#else
38333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
38334#endif
38335 }
38336 return resultobj;
38337fail:
38338 return NULL;
38339}
38340
38341
38342SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38343 PyObject *resultobj = 0;
38344 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38345 wxString *arg2 = 0 ;
38346 void *argp1 = 0 ;
38347 int res1 = 0 ;
38348 bool temp2 = false ;
38349 PyObject * obj0 = 0 ;
38350 PyObject * obj1 = 0 ;
38351 char * kwnames[] = {
38352 (char *) "self",(char *) "filter", NULL
38353 };
38354
38355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) SWIG_fail;
38356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38357 if (!SWIG_IsOK(res1)) {
38358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38359 }
38360 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38361 {
38362 arg2 = wxString_in_helper(obj1);
38363 if (arg2 == NULL) SWIG_fail;
38364 temp2 = true;
38365 }
38366 {
38367 PyThreadState* __tstate = wxPyBeginAllowThreads();
38368 (arg1)->SetFilter((wxString const &)*arg2);
38369 wxPyEndAllowThreads(__tstate);
38370 if (PyErr_Occurred()) SWIG_fail;
38371 }
38372 resultobj = SWIG_Py_Void();
38373 {
38374 if (temp2)
38375 delete arg2;
38376 }
38377 return resultobj;
38378fail:
38379 {
38380 if (temp2)
38381 delete arg2;
38382 }
38383 return NULL;
d55e5bfc
RD
38384}
38385
38386
554f62e9
RD
38387SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38388 PyObject *resultobj = 0;
38389 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38390 int result;
38391 void *argp1 = 0 ;
38392 int res1 = 0 ;
38393 PyObject *swig_obj[1] ;
38394
38395 if (!args) SWIG_fail;
38396 swig_obj[0] = args;
38397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38398 if (!SWIG_IsOK(res1)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38400 }
38401 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38402 {
38403 PyThreadState* __tstate = wxPyBeginAllowThreads();
38404 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
38405 wxPyEndAllowThreads(__tstate);
38406 if (PyErr_Occurred()) SWIG_fail;
38407 }
38408 resultobj = SWIG_From_int(static_cast< int >(result));
38409 return resultobj;
38410fail:
38411 return NULL;
38412}
38413
38414
38415SWIGINTERN PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38416 PyObject *resultobj = 0;
38417 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38418 int arg2 ;
38419 void *argp1 = 0 ;
38420 int res1 = 0 ;
38421 int val2 ;
38422 int ecode2 = 0 ;
38423 PyObject * obj0 = 0 ;
38424 PyObject * obj1 = 0 ;
38425 char * kwnames[] = {
38426 (char *) "self",(char *) "n", NULL
38427 };
38428
38429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
38430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38431 if (!SWIG_IsOK(res1)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38433 }
38434 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38435 ecode2 = SWIG_AsVal_int(obj1, &val2);
38436 if (!SWIG_IsOK(ecode2)) {
38437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38438 }
38439 arg2 = static_cast< int >(val2);
38440 {
38441 PyThreadState* __tstate = wxPyBeginAllowThreads();
38442 (arg1)->SetFilterIndex(arg2);
38443 wxPyEndAllowThreads(__tstate);
38444 if (PyErr_Occurred()) SWIG_fail;
38445 }
38446 resultobj = SWIG_Py_Void();
38447 return resultobj;
38448fail:
38449 return NULL;
d55e5bfc
RD
38450}
38451
38452
554f62e9
RD
38453SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38454 PyObject *resultobj = 0;
38455 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38456 wxTreeItemId result;
38457 void *argp1 = 0 ;
38458 int res1 = 0 ;
38459 PyObject *swig_obj[1] ;
38460
38461 if (!args) SWIG_fail;
38462 swig_obj[0] = args;
38463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38464 if (!SWIG_IsOK(res1)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38466 }
38467 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38468 {
38469 PyThreadState* __tstate = wxPyBeginAllowThreads();
38470 result = (arg1)->GetRootId();
38471 wxPyEndAllowThreads(__tstate);
38472 if (PyErr_Occurred()) SWIG_fail;
38473 }
38474 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38475 return resultobj;
38476fail:
38477 return NULL;
d55e5bfc
RD
38478}
38479
38480
554f62e9
RD
38481SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38482 PyObject *resultobj = 0;
38483 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38484 wxPyTreeCtrl *result = 0 ;
38485 void *argp1 = 0 ;
38486 int res1 = 0 ;
38487 PyObject *swig_obj[1] ;
38488
38489 if (!args) SWIG_fail;
38490 swig_obj[0] = args;
38491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38492 if (!SWIG_IsOK(res1)) {
38493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38494 }
38495 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38496 {
38497 PyThreadState* __tstate = wxPyBeginAllowThreads();
38498 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
38499 wxPyEndAllowThreads(__tstate);
38500 if (PyErr_Occurred()) SWIG_fail;
38501 }
38502 {
38503 resultobj = wxPyMake_wxObject(result, 0);
38504 }
38505 return resultobj;
38506fail:
38507 return NULL;
d55e5bfc
RD
38508}
38509
38510
554f62e9
RD
38511SWIGINTERN PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38512 PyObject *resultobj = 0;
38513 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38514 wxDirFilterListCtrl *result = 0 ;
38515 void *argp1 = 0 ;
38516 int res1 = 0 ;
38517 PyObject *swig_obj[1] ;
38518
38519 if (!args) SWIG_fail;
38520 swig_obj[0] = args;
38521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38522 if (!SWIG_IsOK(res1)) {
38523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38524 }
38525 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38526 {
38527 PyThreadState* __tstate = wxPyBeginAllowThreads();
38528 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
38529 wxPyEndAllowThreads(__tstate);
38530 if (PyErr_Occurred()) SWIG_fail;
38531 }
38532 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38533 return resultobj;
38534fail:
38535 return NULL;
38536}
38537
38538
38539SWIGINTERN PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38540 PyObject *resultobj = 0;
38541 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38542 wxTreeItemId arg2 ;
38543 wxString *arg3 = 0 ;
38544 bool *arg4 = 0 ;
38545 wxTreeItemId result;
38546 void *argp1 = 0 ;
38547 int res1 = 0 ;
38548 void *argp2 ;
38549 int res2 = 0 ;
38550 bool temp3 = false ;
38551 bool temp4 ;
38552 int res4 = SWIG_TMPOBJ ;
38553 PyObject * obj0 = 0 ;
38554 PyObject * obj1 = 0 ;
38555 PyObject * obj2 = 0 ;
38556 char * kwnames[] = {
38557 (char *) "self",(char *) "parentId",(char *) "path", NULL
38558 };
38559
38560 arg4 = &temp4;
38561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38563 if (!SWIG_IsOK(res1)) {
38564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38565 }
38566 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38567 {
38568 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
38569 if (!SWIG_IsOK(res2)) {
38570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38571 }
38572 if (!argp2) {
38573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38574 } else {
38575 wxTreeItemId * temp = reinterpret_cast< wxTreeItemId * >(argp2);
38576 arg2 = *temp;
38577 if (SWIG_IsNewObj(res2)) delete temp;
d55e5bfc 38578 }
554f62e9
RD
38579 }
38580 {
38581 arg3 = wxString_in_helper(obj2);
38582 if (arg3 == NULL) SWIG_fail;
38583 temp3 = true;
38584 }
38585 {
38586 PyThreadState* __tstate = wxPyBeginAllowThreads();
38587 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
38588 wxPyEndAllowThreads(__tstate);
38589 if (PyErr_Occurred()) SWIG_fail;
38590 }
38591 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
38592 if (SWIG_IsTmpObj(res4)) {
38593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
38594 } else {
38595 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
38596 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
38597 }
38598 {
38599 if (temp3)
38600 delete arg3;
38601 }
38602 return resultobj;
38603fail:
38604 {
38605 if (temp3)
38606 delete arg3;
38607 }
38608 return NULL;
d55e5bfc
RD
38609}
38610
38611
554f62e9
RD
38612SWIGINTERN PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38613 PyObject *resultobj = 0;
38614 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38615 void *argp1 = 0 ;
38616 int res1 = 0 ;
38617 PyObject *swig_obj[1] ;
38618
38619 if (!args) SWIG_fail;
38620 swig_obj[0] = args;
38621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38622 if (!SWIG_IsOK(res1)) {
38623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38624 }
38625 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38626 {
38627 PyThreadState* __tstate = wxPyBeginAllowThreads();
38628 (arg1)->DoResize();
38629 wxPyEndAllowThreads(__tstate);
38630 if (PyErr_Occurred()) SWIG_fail;
38631 }
38632 resultobj = SWIG_Py_Void();
38633 return resultobj;
38634fail:
38635 return NULL;
38636}
38637
38638
38639SWIGINTERN PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38640 PyObject *resultobj = 0;
38641 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38642 void *argp1 = 0 ;
38643 int res1 = 0 ;
38644 PyObject *swig_obj[1] ;
38645
38646 if (!args) SWIG_fail;
38647 swig_obj[0] = args;
38648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38649 if (!SWIG_IsOK(res1)) {
38650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38651 }
38652 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38653 {
38654 PyThreadState* __tstate = wxPyBeginAllowThreads();
38655 (arg1)->ReCreateTree();
38656 wxPyEndAllowThreads(__tstate);
38657 if (PyErr_Occurred()) SWIG_fail;
38658 }
38659 resultobj = SWIG_Py_Void();
38660 return resultobj;
38661fail:
38662 return NULL;
38663}
38664
38665
38666SWIGINTERN PyObject *GenericDirCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38667 PyObject *obj;
38668 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38669 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl, SWIG_NewClientData(obj));
38670 return SWIG_Py_Void();
38671}
38672
38673SWIGINTERN PyObject *GenericDirCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38674 return SWIG_Python_InitShadowInstance(args);
38675}
38676
38677SWIGINTERN PyObject *_wrap_new_DirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38678 PyObject *resultobj = 0;
38679 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
38680 int arg2 = (int) (int)-1 ;
38681 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38682 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38683 wxSize const &arg4_defvalue = wxDefaultSize ;
38684 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38685 long arg5 = (long) 0 ;
38686 wxDirFilterListCtrl *result = 0 ;
38687 void *argp1 = 0 ;
38688 int res1 = 0 ;
38689 int val2 ;
38690 int ecode2 = 0 ;
38691 wxPoint temp3 ;
38692 wxSize temp4 ;
38693 long val5 ;
38694 int ecode5 = 0 ;
38695 PyObject * obj0 = 0 ;
38696 PyObject * obj1 = 0 ;
38697 PyObject * obj2 = 0 ;
38698 PyObject * obj3 = 0 ;
38699 PyObject * obj4 = 0 ;
38700 char * kwnames[] = {
38701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38702 };
38703
38704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
38705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38706 if (!SWIG_IsOK(res1)) {
38707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38708 }
38709 arg1 = reinterpret_cast< wxGenericDirCtrl * >(argp1);
38710 if (obj1) {
38711 ecode2 = SWIG_AsVal_int(obj1, &val2);
38712 if (!SWIG_IsOK(ecode2)) {
38713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38714 }
38715 arg2 = static_cast< int >(val2);
38716 }
38717 if (obj2) {
d55e5bfc 38718 {
554f62e9
RD
38719 arg3 = &temp3;
38720 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38721 }
554f62e9
RD
38722 }
38723 if (obj3) {
d55e5bfc 38724 {
554f62e9
RD
38725 arg4 = &temp4;
38726 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38727 }
554f62e9
RD
38728 }
38729 if (obj4) {
38730 ecode5 = SWIG_AsVal_long(obj4, &val5);
38731 if (!SWIG_IsOK(ecode5)) {
38732 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38733 }
38734 arg5 = static_cast< long >(val5);
38735 }
38736 {
38737 if (!wxPyCheckForApp()) SWIG_fail;
38738 PyThreadState* __tstate = wxPyBeginAllowThreads();
38739 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
38740 wxPyEndAllowThreads(__tstate);
38741 if (PyErr_Occurred()) SWIG_fail;
38742 }
38743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_NEW | 0 );
38744 return resultobj;
38745fail:
38746 return NULL;
d55e5bfc
RD
38747}
38748
38749
554f62e9
RD
38750SWIGINTERN PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38751 PyObject *resultobj = 0;
38752 wxDirFilterListCtrl *result = 0 ;
38753
38754 if (!SWIG_Python_UnpackTuple(args,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail;
38755 {
38756 if (!wxPyCheckForApp()) SWIG_fail;
38757 PyThreadState* __tstate = wxPyBeginAllowThreads();
38758 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
38759 wxPyEndAllowThreads(__tstate);
38760 if (PyErr_Occurred()) SWIG_fail;
38761 }
38762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirFilterListCtrl, SWIG_POINTER_OWN | 0 );
38763 return resultobj;
38764fail:
38765 return NULL;
38766}
38767
38768
38769SWIGINTERN PyObject *_wrap_DirFilterListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38770 PyObject *resultobj = 0;
38771 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38772 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
38773 int arg3 = (int) (int)-1 ;
38774 wxPoint const &arg4_defvalue = wxDefaultPosition ;
38775 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
38776 wxSize const &arg5_defvalue = wxDefaultSize ;
38777 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
38778 long arg6 = (long) 0 ;
38779 bool result;
38780 void *argp1 = 0 ;
38781 int res1 = 0 ;
38782 void *argp2 = 0 ;
38783 int res2 = 0 ;
38784 int val3 ;
38785 int ecode3 = 0 ;
38786 wxPoint temp4 ;
38787 wxSize temp5 ;
38788 long val6 ;
38789 int ecode6 = 0 ;
38790 PyObject * obj0 = 0 ;
38791 PyObject * obj1 = 0 ;
38792 PyObject * obj2 = 0 ;
38793 PyObject * obj3 = 0 ;
38794 PyObject * obj4 = 0 ;
38795 PyObject * obj5 = 0 ;
38796 char * kwnames[] = {
38797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38798 };
38799
38800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
38801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38802 if (!SWIG_IsOK(res1)) {
38803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38804 }
38805 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38806 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxGenericDirCtrl, 0 | 0 );
38807 if (!SWIG_IsOK(res2)) {
38808 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38809 }
38810 arg2 = reinterpret_cast< wxGenericDirCtrl * >(argp2);
38811 if (obj2) {
38812 ecode3 = SWIG_AsVal_int(obj2, &val3);
38813 if (!SWIG_IsOK(ecode3)) {
38814 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38815 }
38816 arg3 = static_cast< int >(val3);
38817 }
38818 if (obj3) {
093d3ff1 38819 {
554f62e9
RD
38820 arg4 = &temp4;
38821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 38822 }
554f62e9
RD
38823 }
38824 if (obj4) {
093d3ff1 38825 {
554f62e9
RD
38826 arg5 = &temp5;
38827 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 38828 }
554f62e9
RD
38829 }
38830 if (obj5) {
38831 ecode6 = SWIG_AsVal_long(obj5, &val6);
38832 if (!SWIG_IsOK(ecode6)) {
38833 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38834 }
38835 arg6 = static_cast< long >(val6);
38836 }
38837 {
38838 PyThreadState* __tstate = wxPyBeginAllowThreads();
38839 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
38840 wxPyEndAllowThreads(__tstate);
38841 if (PyErr_Occurred()) SWIG_fail;
38842 }
38843 {
38844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38845 }
38846 return resultobj;
38847fail:
38848 return NULL;
38849}
38850
38851
38852SWIGINTERN PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38853 PyObject *resultobj = 0;
38854 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
38855 wxString *arg2 = 0 ;
38856 int arg3 ;
38857 void *argp1 = 0 ;
38858 int res1 = 0 ;
38859 bool temp2 = false ;
38860 int val3 ;
38861 int ecode3 = 0 ;
38862 PyObject * obj0 = 0 ;
38863 PyObject * obj1 = 0 ;
38864 PyObject * obj2 = 0 ;
38865 char * kwnames[] = {
38866 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38867 };
38868
38869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
38870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirFilterListCtrl, 0 | 0 );
38871 if (!SWIG_IsOK(res1)) {
38872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38873 }
38874 arg1 = reinterpret_cast< wxDirFilterListCtrl * >(argp1);
38875 {
38876 arg2 = wxString_in_helper(obj1);
38877 if (arg2 == NULL) SWIG_fail;
38878 temp2 = true;
38879 }
38880 ecode3 = SWIG_AsVal_int(obj2, &val3);
38881 if (!SWIG_IsOK(ecode3)) {
38882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38883 }
38884 arg3 = static_cast< int >(val3);
38885 {
38886 PyThreadState* __tstate = wxPyBeginAllowThreads();
38887 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
38888 wxPyEndAllowThreads(__tstate);
38889 if (PyErr_Occurred()) SWIG_fail;
38890 }
38891 resultobj = SWIG_Py_Void();
38892 {
38893 if (temp2)
38894 delete arg2;
38895 }
38896 return resultobj;
38897fail:
38898 {
38899 if (temp2)
38900 delete arg2;
38901 }
38902 return NULL;
38903}
38904
38905
38906SWIGINTERN PyObject *DirFilterListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38907 PyObject *obj;
38908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
38909 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl, SWIG_NewClientData(obj));
38910 return SWIG_Py_Void();
38911}
38912
38913SWIGINTERN PyObject *DirFilterListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
38914 return SWIG_Python_InitShadowInstance(args);
38915}
38916
38917SWIGINTERN PyObject *_wrap_new_PyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
38918 PyObject *resultobj = 0;
38919 wxWindow *arg1 = (wxWindow *) 0 ;
38920 int arg2 = (int) (int)-1 ;
38921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
38922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
38923 wxSize const &arg4_defvalue = wxDefaultSize ;
38924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
38925 long arg5 = (long) 0 ;
38926 wxValidator const &arg6_defvalue = wxDefaultValidator ;
38927 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
38928 wxString const &arg7_defvalue = wxPyControlNameStr ;
38929 wxString *arg7 = (wxString *) &arg7_defvalue ;
38930 wxPyControl *result = 0 ;
38931 void *argp1 = 0 ;
38932 int res1 = 0 ;
38933 int val2 ;
38934 int ecode2 = 0 ;
38935 wxPoint temp3 ;
38936 wxSize temp4 ;
38937 long val5 ;
38938 int ecode5 = 0 ;
38939 void *argp6 = 0 ;
38940 int res6 = 0 ;
38941 bool temp7 = false ;
38942 PyObject * obj0 = 0 ;
38943 PyObject * obj1 = 0 ;
38944 PyObject * obj2 = 0 ;
38945 PyObject * obj3 = 0 ;
38946 PyObject * obj4 = 0 ;
38947 PyObject * obj5 = 0 ;
38948 PyObject * obj6 = 0 ;
38949 char * kwnames[] = {
38950 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38951 };
38952
38953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
38954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
38955 if (!SWIG_IsOK(res1)) {
38956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38957 }
38958 arg1 = reinterpret_cast< wxWindow * >(argp1);
38959 if (obj1) {
38960 ecode2 = SWIG_AsVal_int(obj1, &val2);
38961 if (!SWIG_IsOK(ecode2)) {
38962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38963 }
38964 arg2 = static_cast< int >(val2);
38965 }
38966 if (obj2) {
d55e5bfc 38967 {
554f62e9
RD
38968 arg3 = &temp3;
38969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 38970 }
554f62e9
RD
38971 }
38972 if (obj3) {
d55e5bfc 38973 {
554f62e9
RD
38974 arg4 = &temp4;
38975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 38976 }
554f62e9
RD
38977 }
38978 if (obj4) {
38979 ecode5 = SWIG_AsVal_long(obj4, &val5);
38980 if (!SWIG_IsOK(ecode5)) {
38981 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38982 }
38983 arg5 = static_cast< long >(val5);
38984 }
38985 if (obj5) {
38986 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
38987 if (!SWIG_IsOK(res6)) {
38988 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
093d3ff1 38989 }
554f62e9
RD
38990 if (!argp6) {
38991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
d55e5bfc 38992 }
554f62e9
RD
38993 arg6 = reinterpret_cast< wxValidator * >(argp6);
38994 }
38995 if (obj6) {
d55e5bfc 38996 {
554f62e9
RD
38997 arg7 = wxString_in_helper(obj6);
38998 if (arg7 == NULL) SWIG_fail;
38999 temp7 = true;
d55e5bfc 39000 }
554f62e9
RD
39001 }
39002 {
39003 if (!wxPyCheckForApp()) SWIG_fail;
39004 PyThreadState* __tstate = wxPyBeginAllowThreads();
39005 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
39006 wxPyEndAllowThreads(__tstate);
39007 if (PyErr_Occurred()) SWIG_fail;
39008 }
39009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_NEW | 0 );
39010 {
39011 if (temp7)
39012 delete arg7;
39013 }
39014 return resultobj;
39015fail:
39016 {
39017 if (temp7)
39018 delete arg7;
39019 }
39020 return NULL;
d55e5bfc
RD
39021}
39022
39023
554f62e9
RD
39024SWIGINTERN PyObject *_wrap_new_PrePyControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39025 PyObject *resultobj = 0;
39026 wxPyControl *result = 0 ;
39027
39028 if (!SWIG_Python_UnpackTuple(args,"new_PrePyControl",0,0,0)) SWIG_fail;
39029 {
39030 if (!wxPyCheckForApp()) SWIG_fail;
39031 PyThreadState* __tstate = wxPyBeginAllowThreads();
39032 result = (wxPyControl *)new wxPyControl();
39033 wxPyEndAllowThreads(__tstate);
39034 if (PyErr_Occurred()) SWIG_fail;
39035 }
39036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyControl, SWIG_POINTER_OWN | 0 );
39037 return resultobj;
39038fail:
39039 return NULL;
39040}
39041
39042
39043SWIGINTERN PyObject *_wrap_PyControl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39044 PyObject *resultobj = 0;
39045 wxPyControl *arg1 = (wxPyControl *) 0 ;
39046 PyObject *arg2 = (PyObject *) 0 ;
39047 PyObject *arg3 = (PyObject *) 0 ;
39048 void *argp1 = 0 ;
39049 int res1 = 0 ;
39050 PyObject * obj0 = 0 ;
39051 PyObject * obj1 = 0 ;
39052 PyObject * obj2 = 0 ;
39053 char * kwnames[] = {
39054 (char *) "self",(char *) "self",(char *) "_class", NULL
39055 };
39056
39057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39059 if (!SWIG_IsOK(res1)) {
39060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39061 }
39062 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39063 arg2 = obj1;
39064 arg3 = obj2;
39065 {
39066 PyThreadState* __tstate = wxPyBeginAllowThreads();
39067 (arg1)->_setCallbackInfo(arg2,arg3);
39068 wxPyEndAllowThreads(__tstate);
39069 if (PyErr_Occurred()) SWIG_fail;
39070 }
39071 resultobj = SWIG_Py_Void();
39072 return resultobj;
39073fail:
39074 return NULL;
39075}
39076
39077
554f62e9
RD
39078SWIGINTERN PyObject *_wrap_PyControl_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39079 PyObject *resultobj = 0;
39080 wxPyControl *arg1 = (wxPyControl *) 0 ;
39081 wxDC *arg2 = (wxDC *) 0 ;
39082 bool result;
39083 void *argp1 = 0 ;
39084 int res1 = 0 ;
39085 void *argp2 = 0 ;
39086 int res2 = 0 ;
39087 PyObject * obj0 = 0 ;
39088 PyObject * obj1 = 0 ;
39089 char * kwnames[] = {
39090 (char *) "self",(char *) "dc", NULL
39091 };
39092
39093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
39094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39095 if (!SWIG_IsOK(res1)) {
39096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39097 }
39098 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39099 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
39100 if (!SWIG_IsOK(res2)) {
39101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39102 }
39103 arg2 = reinterpret_cast< wxDC * >(argp2);
39104 {
39105 PyThreadState* __tstate = wxPyBeginAllowThreads();
39106 result = (bool)(arg1)->DoEraseBackground(arg2);
39107 wxPyEndAllowThreads(__tstate);
39108 if (PyErr_Occurred()) SWIG_fail;
39109 }
39110 {
39111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39112 }
39113 return resultobj;
39114fail:
39115 return NULL;
39116}
39117
39118
39119SWIGINTERN PyObject *_wrap_PyControl_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39120 PyObject *resultobj = 0;
39121 wxPyControl *arg1 = (wxPyControl *) 0 ;
39122 int arg2 ;
39123 int arg3 ;
39124 int arg4 ;
39125 int arg5 ;
39126 void *argp1 = 0 ;
39127 int res1 = 0 ;
39128 int val2 ;
39129 int ecode2 = 0 ;
39130 int val3 ;
39131 int ecode3 = 0 ;
39132 int val4 ;
39133 int ecode4 = 0 ;
39134 int val5 ;
39135 int ecode5 = 0 ;
39136 PyObject * obj0 = 0 ;
39137 PyObject * obj1 = 0 ;
39138 PyObject * obj2 = 0 ;
39139 PyObject * obj3 = 0 ;
39140 PyObject * obj4 = 0 ;
39141 char * kwnames[] = {
39142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39143 };
39144
39145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
39146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39147 if (!SWIG_IsOK(res1)) {
39148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39149 }
39150 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39151 ecode2 = SWIG_AsVal_int(obj1, &val2);
39152 if (!SWIG_IsOK(ecode2)) {
39153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39154 }
39155 arg2 = static_cast< int >(val2);
39156 ecode3 = SWIG_AsVal_int(obj2, &val3);
39157 if (!SWIG_IsOK(ecode3)) {
39158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39159 }
39160 arg3 = static_cast< int >(val3);
39161 ecode4 = SWIG_AsVal_int(obj3, &val4);
39162 if (!SWIG_IsOK(ecode4)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39164 }
39165 arg4 = static_cast< int >(val4);
39166 ecode5 = SWIG_AsVal_int(obj4, &val5);
39167 if (!SWIG_IsOK(ecode5)) {
39168 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39169 }
39170 arg5 = static_cast< int >(val5);
39171 {
39172 PyThreadState* __tstate = wxPyBeginAllowThreads();
39173 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
39174 wxPyEndAllowThreads(__tstate);
39175 if (PyErr_Occurred()) SWIG_fail;
39176 }
39177 resultobj = SWIG_Py_Void();
39178 return resultobj;
39179fail:
39180 return NULL;
39181}
39182
39183
39184SWIGINTERN PyObject *_wrap_PyControl_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39185 PyObject *resultobj = 0;
39186 wxPyControl *arg1 = (wxPyControl *) 0 ;
39187 int arg2 ;
39188 int arg3 ;
39189 int arg4 ;
39190 int arg5 ;
39191 int arg6 = (int) wxSIZE_AUTO ;
39192 void *argp1 = 0 ;
39193 int res1 = 0 ;
39194 int val2 ;
39195 int ecode2 = 0 ;
39196 int val3 ;
39197 int ecode3 = 0 ;
39198 int val4 ;
39199 int ecode4 = 0 ;
39200 int val5 ;
39201 int ecode5 = 0 ;
39202 int val6 ;
39203 int ecode6 = 0 ;
39204 PyObject * obj0 = 0 ;
39205 PyObject * obj1 = 0 ;
39206 PyObject * obj2 = 0 ;
39207 PyObject * obj3 = 0 ;
39208 PyObject * obj4 = 0 ;
39209 PyObject * obj5 = 0 ;
39210 char * kwnames[] = {
39211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39212 };
39213
39214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
39215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39216 if (!SWIG_IsOK(res1)) {
39217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39218 }
39219 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39220 ecode2 = SWIG_AsVal_int(obj1, &val2);
39221 if (!SWIG_IsOK(ecode2)) {
39222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39223 }
39224 arg2 = static_cast< int >(val2);
39225 ecode3 = SWIG_AsVal_int(obj2, &val3);
39226 if (!SWIG_IsOK(ecode3)) {
39227 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39228 }
39229 arg3 = static_cast< int >(val3);
39230 ecode4 = SWIG_AsVal_int(obj3, &val4);
39231 if (!SWIG_IsOK(ecode4)) {
39232 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39233 }
39234 arg4 = static_cast< int >(val4);
39235 ecode5 = SWIG_AsVal_int(obj4, &val5);
39236 if (!SWIG_IsOK(ecode5)) {
39237 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39238 }
39239 arg5 = static_cast< int >(val5);
39240 if (obj5) {
39241 ecode6 = SWIG_AsVal_int(obj5, &val6);
39242 if (!SWIG_IsOK(ecode6)) {
39243 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39244 }
39245 arg6 = static_cast< int >(val6);
39246 }
39247 {
39248 PyThreadState* __tstate = wxPyBeginAllowThreads();
39249 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
39250 wxPyEndAllowThreads(__tstate);
39251 if (PyErr_Occurred()) SWIG_fail;
39252 }
39253 resultobj = SWIG_Py_Void();
39254 return resultobj;
39255fail:
39256 return NULL;
39257}
39258
39259
39260SWIGINTERN PyObject *_wrap_PyControl_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39261 PyObject *resultobj = 0;
39262 wxPyControl *arg1 = (wxPyControl *) 0 ;
39263 int arg2 ;
39264 int arg3 ;
39265 void *argp1 = 0 ;
39266 int res1 = 0 ;
39267 int val2 ;
39268 int ecode2 = 0 ;
39269 int val3 ;
39270 int ecode3 = 0 ;
39271 PyObject * obj0 = 0 ;
39272 PyObject * obj1 = 0 ;
39273 PyObject * obj2 = 0 ;
39274 char * kwnames[] = {
39275 (char *) "self",(char *) "width",(char *) "height", NULL
39276 };
39277
39278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39280 if (!SWIG_IsOK(res1)) {
39281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39282 }
39283 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39284 ecode2 = SWIG_AsVal_int(obj1, &val2);
39285 if (!SWIG_IsOK(ecode2)) {
39286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39287 }
39288 arg2 = static_cast< int >(val2);
39289 ecode3 = SWIG_AsVal_int(obj2, &val3);
39290 if (!SWIG_IsOK(ecode3)) {
39291 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39292 }
39293 arg3 = static_cast< int >(val3);
39294 {
39295 PyThreadState* __tstate = wxPyBeginAllowThreads();
39296 (arg1)->DoSetClientSize(arg2,arg3);
39297 wxPyEndAllowThreads(__tstate);
39298 if (PyErr_Occurred()) SWIG_fail;
39299 }
39300 resultobj = SWIG_Py_Void();
39301 return resultobj;
39302fail:
39303 return NULL;
39304}
39305
39306
39307SWIGINTERN PyObject *_wrap_PyControl_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39308 PyObject *resultobj = 0;
39309 wxPyControl *arg1 = (wxPyControl *) 0 ;
39310 int arg2 ;
39311 int arg3 ;
39312 void *argp1 = 0 ;
39313 int res1 = 0 ;
39314 int val2 ;
39315 int ecode2 = 0 ;
39316 int val3 ;
39317 int ecode3 = 0 ;
39318 PyObject * obj0 = 0 ;
39319 PyObject * obj1 = 0 ;
39320 PyObject * obj2 = 0 ;
39321 char * kwnames[] = {
39322 (char *) "self",(char *) "x",(char *) "y", NULL
39323 };
39324
39325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
39326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39327 if (!SWIG_IsOK(res1)) {
39328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39329 }
39330 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39331 ecode2 = SWIG_AsVal_int(obj1, &val2);
39332 if (!SWIG_IsOK(ecode2)) {
39333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39334 }
39335 arg2 = static_cast< int >(val2);
39336 ecode3 = SWIG_AsVal_int(obj2, &val3);
39337 if (!SWIG_IsOK(ecode3)) {
39338 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39339 }
39340 arg3 = static_cast< int >(val3);
39341 {
39342 PyThreadState* __tstate = wxPyBeginAllowThreads();
39343 (arg1)->DoSetVirtualSize(arg2,arg3);
39344 wxPyEndAllowThreads(__tstate);
39345 if (PyErr_Occurred()) SWIG_fail;
39346 }
39347 resultobj = SWIG_Py_Void();
39348 return resultobj;
39349fail:
39350 return NULL;
39351}
39352
39353
39354SWIGINTERN PyObject *_wrap_PyControl_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39355 PyObject *resultobj = 0;
39356 wxPyControl *arg1 = (wxPyControl *) 0 ;
39357 int *arg2 = (int *) 0 ;
39358 int *arg3 = (int *) 0 ;
39359 void *argp1 = 0 ;
39360 int res1 = 0 ;
39361 int temp2 ;
39362 int res2 = SWIG_TMPOBJ ;
39363 int temp3 ;
39364 int res3 = SWIG_TMPOBJ ;
39365 PyObject *swig_obj[1] ;
39366
39367 arg2 = &temp2;
39368 arg3 = &temp3;
39369 if (!args) SWIG_fail;
39370 swig_obj[0] = args;
39371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39372 if (!SWIG_IsOK(res1)) {
39373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39374 }
39375 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39376 {
39377 PyThreadState* __tstate = wxPyBeginAllowThreads();
39378 ((wxPyControl const *)arg1)->DoGetSize(arg2,arg3);
39379 wxPyEndAllowThreads(__tstate);
39380 if (PyErr_Occurred()) SWIG_fail;
39381 }
39382 resultobj = SWIG_Py_Void();
39383 if (SWIG_IsTmpObj(res2)) {
39384 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39385 } else {
39386 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39387 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39388 }
39389 if (SWIG_IsTmpObj(res3)) {
39390 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39391 } else {
39392 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39393 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39394 }
39395 return resultobj;
39396fail:
39397 return NULL;
39398}
39399
39400
39401SWIGINTERN PyObject *_wrap_PyControl_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39402 PyObject *resultobj = 0;
39403 wxPyControl *arg1 = (wxPyControl *) 0 ;
39404 int *arg2 = (int *) 0 ;
39405 int *arg3 = (int *) 0 ;
39406 void *argp1 = 0 ;
39407 int res1 = 0 ;
39408 int temp2 ;
39409 int res2 = SWIG_TMPOBJ ;
39410 int temp3 ;
39411 int res3 = SWIG_TMPOBJ ;
39412 PyObject *swig_obj[1] ;
39413
39414 arg2 = &temp2;
39415 arg3 = &temp3;
39416 if (!args) SWIG_fail;
39417 swig_obj[0] = args;
39418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39419 if (!SWIG_IsOK(res1)) {
39420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39421 }
39422 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39423 {
39424 PyThreadState* __tstate = wxPyBeginAllowThreads();
39425 ((wxPyControl const *)arg1)->DoGetClientSize(arg2,arg3);
39426 wxPyEndAllowThreads(__tstate);
39427 if (PyErr_Occurred()) SWIG_fail;
39428 }
39429 resultobj = SWIG_Py_Void();
39430 if (SWIG_IsTmpObj(res2)) {
39431 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39432 } else {
39433 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39434 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39435 }
39436 if (SWIG_IsTmpObj(res3)) {
39437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39438 } else {
39439 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39441 }
39442 return resultobj;
39443fail:
39444 return NULL;
39445}
39446
39447
39448SWIGINTERN PyObject *_wrap_PyControl_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39449 PyObject *resultobj = 0;
39450 wxPyControl *arg1 = (wxPyControl *) 0 ;
39451 int *arg2 = (int *) 0 ;
39452 int *arg3 = (int *) 0 ;
39453 void *argp1 = 0 ;
39454 int res1 = 0 ;
39455 int temp2 ;
39456 int res2 = SWIG_TMPOBJ ;
39457 int temp3 ;
39458 int res3 = SWIG_TMPOBJ ;
39459 PyObject *swig_obj[1] ;
39460
39461 arg2 = &temp2;
39462 arg3 = &temp3;
39463 if (!args) SWIG_fail;
39464 swig_obj[0] = args;
39465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39466 if (!SWIG_IsOK(res1)) {
39467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39468 }
39469 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39470 {
39471 PyThreadState* __tstate = wxPyBeginAllowThreads();
39472 ((wxPyControl const *)arg1)->DoGetPosition(arg2,arg3);
39473 wxPyEndAllowThreads(__tstate);
39474 if (PyErr_Occurred()) SWIG_fail;
39475 }
39476 resultobj = SWIG_Py_Void();
39477 if (SWIG_IsTmpObj(res2)) {
39478 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
39479 } else {
39480 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39481 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
39482 }
39483 if (SWIG_IsTmpObj(res3)) {
39484 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
39485 } else {
39486 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
39487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
39488 }
39489 return resultobj;
39490fail:
39491 return NULL;
d55e5bfc
RD
39492}
39493
39494
554f62e9
RD
39495SWIGINTERN PyObject *_wrap_PyControl_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39496 PyObject *resultobj = 0;
39497 wxPyControl *arg1 = (wxPyControl *) 0 ;
39498 wxSize result;
39499 void *argp1 = 0 ;
39500 int res1 = 0 ;
39501 PyObject *swig_obj[1] ;
39502
39503 if (!args) SWIG_fail;
39504 swig_obj[0] = args;
39505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39506 if (!SWIG_IsOK(res1)) {
39507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39508 }
39509 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39510 {
39511 PyThreadState* __tstate = wxPyBeginAllowThreads();
39512 result = ((wxPyControl const *)arg1)->DoGetVirtualSize();
39513 wxPyEndAllowThreads(__tstate);
39514 if (PyErr_Occurred()) SWIG_fail;
39515 }
39516 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39517 return resultobj;
39518fail:
39519 return NULL;
d55e5bfc
RD
39520}
39521
39522
554f62e9
RD
39523SWIGINTERN PyObject *_wrap_PyControl_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39524 PyObject *resultobj = 0;
39525 wxPyControl *arg1 = (wxPyControl *) 0 ;
39526 wxSize result;
39527 void *argp1 = 0 ;
39528 int res1 = 0 ;
39529 PyObject *swig_obj[1] ;
39530
39531 if (!args) SWIG_fail;
39532 swig_obj[0] = args;
39533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39534 if (!SWIG_IsOK(res1)) {
39535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39536 }
39537 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39538 {
39539 PyThreadState* __tstate = wxPyBeginAllowThreads();
39540 result = ((wxPyControl const *)arg1)->DoGetBestSize();
39541 wxPyEndAllowThreads(__tstate);
39542 if (PyErr_Occurred()) SWIG_fail;
39543 }
39544 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
39545 return resultobj;
39546fail:
39547 return NULL;
d55e5bfc
RD
39548}
39549
39550
554f62e9
RD
39551SWIGINTERN PyObject *_wrap_PyControl_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39552 PyObject *resultobj = 0;
39553 wxPyControl *arg1 = (wxPyControl *) 0 ;
39554 SwigValueWrapper<wxVisualAttributes > result;
39555 void *argp1 = 0 ;
39556 int res1 = 0 ;
39557 PyObject *swig_obj[1] ;
39558
39559 if (!args) SWIG_fail;
39560 swig_obj[0] = args;
39561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39562 if (!SWIG_IsOK(res1)) {
39563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39564 }
39565 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39566 {
39567 PyThreadState* __tstate = wxPyBeginAllowThreads();
39568 result = (arg1)->GetDefaultAttributes();
39569 wxPyEndAllowThreads(__tstate);
39570 if (PyErr_Occurred()) SWIG_fail;
39571 }
39572 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
39573 return resultobj;
39574fail:
39575 return NULL;
d55e5bfc
RD
39576}
39577
39578
554f62e9
RD
39579SWIGINTERN PyObject *_wrap_PyControl_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39580 PyObject *resultobj = 0;
39581 wxPyControl *arg1 = (wxPyControl *) 0 ;
39582 void *argp1 = 0 ;
39583 int res1 = 0 ;
39584 PyObject *swig_obj[1] ;
39585
39586 if (!args) SWIG_fail;
39587 swig_obj[0] = args;
39588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyControl, 0 | 0 );
39589 if (!SWIG_IsOK(res1)) {
39590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39591 }
39592 arg1 = reinterpret_cast< wxPyControl * >(argp1);
39593 {
39594 PyThreadState* __tstate = wxPyBeginAllowThreads();
39595 (arg1)->OnInternalIdle();
39596 wxPyEndAllowThreads(__tstate);
39597 if (PyErr_Occurred()) SWIG_fail;
39598 }
39599 resultobj = SWIG_Py_Void();
39600 return resultobj;
39601fail:
39602 return NULL;
39603}
39604
39605
39606SWIGINTERN PyObject *PyControl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39607 PyObject *obj;
39608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl, SWIG_NewClientData(obj));
39610 return SWIG_Py_Void();
39611}
39612
39613SWIGINTERN PyObject *PyControl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39614 return SWIG_Python_InitShadowInstance(args);
39615}
39616
39617SWIGINTERN PyObject *_wrap_new_HelpEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39618 PyObject *resultobj = 0;
39619 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
39620 int arg2 = (int) 0 ;
39621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
39622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
704eda0c 39623 wxHelpEvent::Origin arg4 = (wxHelpEvent::Origin) wxHelpEvent::Origin_Unknown ;
554f62e9
RD
39624 wxHelpEvent *result = 0 ;
39625 int val1 ;
39626 int ecode1 = 0 ;
39627 int val2 ;
39628 int ecode2 = 0 ;
39629 wxPoint temp3 ;
704eda0c
RD
39630 int val4 ;
39631 int ecode4 = 0 ;
554f62e9
RD
39632 PyObject * obj0 = 0 ;
39633 PyObject * obj1 = 0 ;
39634 PyObject * obj2 = 0 ;
704eda0c 39635 PyObject * obj3 = 0 ;
554f62e9 39636 char * kwnames[] = {
704eda0c 39637 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
554f62e9
RD
39638 };
39639
704eda0c 39640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
554f62e9
RD
39641 if (obj0) {
39642 ecode1 = SWIG_AsVal_int(obj0, &val1);
39643 if (!SWIG_IsOK(ecode1)) {
39644 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39645 }
39646 arg1 = static_cast< wxEventType >(val1);
39647 }
39648 if (obj1) {
39649 ecode2 = SWIG_AsVal_int(obj1, &val2);
39650 if (!SWIG_IsOK(ecode2)) {
39651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39652 }
39653 arg2 = static_cast< int >(val2);
39654 }
39655 if (obj2) {
d55e5bfc 39656 {
554f62e9
RD
39657 arg3 = &temp3;
39658 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 39659 }
554f62e9 39660 }
704eda0c
RD
39661 if (obj3) {
39662 ecode4 = SWIG_AsVal_int(obj3, &val4);
39663 if (!SWIG_IsOK(ecode4)) {
39664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39665 }
39666 arg4 = static_cast< wxHelpEvent::Origin >(val4);
39667 }
554f62e9
RD
39668 {
39669 PyThreadState* __tstate = wxPyBeginAllowThreads();
704eda0c 39670 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3,arg4);
554f62e9
RD
39671 wxPyEndAllowThreads(__tstate);
39672 if (PyErr_Occurred()) SWIG_fail;
39673 }
39674 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpEvent, SWIG_POINTER_NEW | 0 );
39675 return resultobj;
39676fail:
39677 return NULL;
d55e5bfc
RD
39678}
39679
39680
554f62e9
RD
39681SWIGINTERN PyObject *_wrap_HelpEvent_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39682 PyObject *resultobj = 0;
39683 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39684 wxPoint result;
39685 void *argp1 = 0 ;
39686 int res1 = 0 ;
39687 PyObject *swig_obj[1] ;
39688
39689 if (!args) SWIG_fail;
39690 swig_obj[0] = args;
39691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39692 if (!SWIG_IsOK(res1)) {
39693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39694 }
39695 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39696 {
39697 PyThreadState* __tstate = wxPyBeginAllowThreads();
39698 result = ((wxHelpEvent const *)arg1)->GetPosition();
39699 wxPyEndAllowThreads(__tstate);
39700 if (PyErr_Occurred()) SWIG_fail;
39701 }
39702 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
39703 return resultobj;
39704fail:
39705 return NULL;
39706}
39707
39708
39709SWIGINTERN PyObject *_wrap_HelpEvent_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39710 PyObject *resultobj = 0;
39711 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39712 wxPoint *arg2 = 0 ;
39713 void *argp1 = 0 ;
39714 int res1 = 0 ;
39715 wxPoint temp2 ;
39716 PyObject * obj0 = 0 ;
39717 PyObject * obj1 = 0 ;
39718 char * kwnames[] = {
39719 (char *) "self",(char *) "pos", NULL
39720 };
39721
39722 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
39723 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39724 if (!SWIG_IsOK(res1)) {
39725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39726 }
39727 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39728 {
39729 arg2 = &temp2;
39730 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39731 }
39732 {
39733 PyThreadState* __tstate = wxPyBeginAllowThreads();
39734 (arg1)->SetPosition((wxPoint const &)*arg2);
39735 wxPyEndAllowThreads(__tstate);
39736 if (PyErr_Occurred()) SWIG_fail;
39737 }
39738 resultobj = SWIG_Py_Void();
39739 return resultobj;
39740fail:
39741 return NULL;
f20a2e1f
RD
39742}
39743
39744
554f62e9
RD
39745SWIGINTERN PyObject *_wrap_HelpEvent_GetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39746 PyObject *resultobj = 0;
39747 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39748 wxString *result = 0 ;
39749 void *argp1 = 0 ;
39750 int res1 = 0 ;
39751 PyObject *swig_obj[1] ;
39752
39753 if (!args) SWIG_fail;
39754 swig_obj[0] = args;
39755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39756 if (!SWIG_IsOK(res1)) {
39757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39758 }
39759 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39760 {
39761 PyThreadState* __tstate = wxPyBeginAllowThreads();
39762 {
39763 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
39764 result = (wxString *) &_result_ref;
39765 }
39766 wxPyEndAllowThreads(__tstate);
39767 if (PyErr_Occurred()) SWIG_fail;
39768 }
39769 {
39770#if wxUSE_UNICODE
39771 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
39772#else
39773 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
39774#endif
39775 }
39776 return resultobj;
39777fail:
39778 return NULL;
39779}
39780
39781
39782SWIGINTERN PyObject *_wrap_HelpEvent_SetLink(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39783 PyObject *resultobj = 0;
39784 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39785 wxString *arg2 = 0 ;
39786 void *argp1 = 0 ;
39787 int res1 = 0 ;
39788 bool temp2 = false ;
39789 PyObject * obj0 = 0 ;
39790 PyObject * obj1 = 0 ;
39791 char * kwnames[] = {
39792 (char *) "self",(char *) "link", NULL
39793 };
39794
39795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) SWIG_fail;
39796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39797 if (!SWIG_IsOK(res1)) {
39798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39799 }
39800 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39801 {
39802 arg2 = wxString_in_helper(obj1);
39803 if (arg2 == NULL) SWIG_fail;
39804 temp2 = true;
39805 }
39806 {
39807 PyThreadState* __tstate = wxPyBeginAllowThreads();
39808 (arg1)->SetLink((wxString const &)*arg2);
39809 wxPyEndAllowThreads(__tstate);
39810 if (PyErr_Occurred()) SWIG_fail;
39811 }
39812 resultobj = SWIG_Py_Void();
39813 {
39814 if (temp2)
39815 delete arg2;
39816 }
39817 return resultobj;
39818fail:
39819 {
39820 if (temp2)
39821 delete arg2;
39822 }
39823 return NULL;
d55e5bfc
RD
39824}
39825
39826
554f62e9
RD
39827SWIGINTERN PyObject *_wrap_HelpEvent_GetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39828 PyObject *resultobj = 0;
39829 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39830 wxString *result = 0 ;
39831 void *argp1 = 0 ;
39832 int res1 = 0 ;
39833 PyObject *swig_obj[1] ;
39834
39835 if (!args) SWIG_fail;
39836 swig_obj[0] = args;
39837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39838 if (!SWIG_IsOK(res1)) {
39839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39840 }
39841 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39842 {
39843 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 39844 {
554f62e9
RD
39845 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
39846 result = (wxString *) &_result_ref;
39847 }
39848 wxPyEndAllowThreads(__tstate);
39849 if (PyErr_Occurred()) SWIG_fail;
39850 }
39851 {
d55e5bfc 39852#if wxUSE_UNICODE
554f62e9 39853 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 39854#else
554f62e9 39855 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 39856#endif
554f62e9
RD
39857 }
39858 return resultobj;
39859fail:
39860 return NULL;
39861}
39862
39863
39864SWIGINTERN PyObject *_wrap_HelpEvent_SetTarget(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39865 PyObject *resultobj = 0;
39866 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39867 wxString *arg2 = 0 ;
39868 void *argp1 = 0 ;
39869 int res1 = 0 ;
39870 bool temp2 = false ;
39871 PyObject * obj0 = 0 ;
39872 PyObject * obj1 = 0 ;
39873 char * kwnames[] = {
39874 (char *) "self",(char *) "target", NULL
39875 };
39876
39877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) SWIG_fail;
39878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39879 if (!SWIG_IsOK(res1)) {
39880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39881 }
39882 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39883 {
39884 arg2 = wxString_in_helper(obj1);
39885 if (arg2 == NULL) SWIG_fail;
39886 temp2 = true;
39887 }
39888 {
39889 PyThreadState* __tstate = wxPyBeginAllowThreads();
39890 (arg1)->SetTarget((wxString const &)*arg2);
39891 wxPyEndAllowThreads(__tstate);
39892 if (PyErr_Occurred()) SWIG_fail;
39893 }
39894 resultobj = SWIG_Py_Void();
39895 {
39896 if (temp2)
39897 delete arg2;
39898 }
39899 return resultobj;
39900fail:
39901 {
39902 if (temp2)
39903 delete arg2;
39904 }
39905 return NULL;
d55e5bfc
RD
39906}
39907
39908
704eda0c
RD
39909SWIGINTERN PyObject *_wrap_HelpEvent_GetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39910 PyObject *resultobj = 0;
39911 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39912 wxHelpEvent::Origin result;
39913 void *argp1 = 0 ;
39914 int res1 = 0 ;
39915 PyObject *swig_obj[1] ;
39916
39917 if (!args) SWIG_fail;
39918 swig_obj[0] = args;
39919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39920 if (!SWIG_IsOK(res1)) {
39921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39922 }
39923 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39924 {
39925 PyThreadState* __tstate = wxPyBeginAllowThreads();
39926 result = (wxHelpEvent::Origin)((wxHelpEvent const *)arg1)->GetOrigin();
39927 wxPyEndAllowThreads(__tstate);
39928 if (PyErr_Occurred()) SWIG_fail;
39929 }
39930 resultobj = SWIG_From_int(static_cast< int >(result));
39931 return resultobj;
39932fail:
39933 return NULL;
39934}
39935
39936
39937SWIGINTERN PyObject *_wrap_HelpEvent_SetOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39938 PyObject *resultobj = 0;
39939 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
39940 wxHelpEvent::Origin arg2 ;
39941 void *argp1 = 0 ;
39942 int res1 = 0 ;
39943 int val2 ;
39944 int ecode2 = 0 ;
39945 PyObject * obj0 = 0 ;
39946 PyObject * obj1 = 0 ;
39947 char * kwnames[] = {
39948 (char *) "self",(char *) "origin", NULL
39949 };
39950
39951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetOrigin",kwnames,&obj0,&obj1)) SWIG_fail;
39952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpEvent, 0 | 0 );
39953 if (!SWIG_IsOK(res1)) {
39954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39955 }
39956 arg1 = reinterpret_cast< wxHelpEvent * >(argp1);
39957 ecode2 = SWIG_AsVal_int(obj1, &val2);
39958 if (!SWIG_IsOK(ecode2)) {
39959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39960 }
39961 arg2 = static_cast< wxHelpEvent::Origin >(val2);
39962 {
39963 PyThreadState* __tstate = wxPyBeginAllowThreads();
39964 (arg1)->SetOrigin(arg2);
39965 wxPyEndAllowThreads(__tstate);
39966 if (PyErr_Occurred()) SWIG_fail;
39967 }
39968 resultobj = SWIG_Py_Void();
39969 return resultobj;
39970fail:
39971 return NULL;
39972}
39973
39974
554f62e9
RD
39975SWIGINTERN PyObject *HelpEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39976 PyObject *obj;
39977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
39978 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent, SWIG_NewClientData(obj));
39979 return SWIG_Py_Void();
7e08d4ef
RD
39980}
39981
554f62e9
RD
39982SWIGINTERN PyObject *HelpEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
39983 return SWIG_Python_InitShadowInstance(args);
39984}
7e08d4ef 39985
554f62e9
RD
39986SWIGINTERN PyObject *_wrap_new_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
39987 PyObject *resultobj = 0;
39988 wxWindow *arg1 = (wxWindow *) NULL ;
39989 bool arg2 = (bool) true ;
39990 wxContextHelp *result = 0 ;
39991 void *argp1 = 0 ;
39992 int res1 = 0 ;
39993 bool val2 ;
39994 int ecode2 = 0 ;
39995 PyObject * obj0 = 0 ;
39996 PyObject * obj1 = 0 ;
39997 char * kwnames[] = {
39998 (char *) "window",(char *) "doNow", NULL
39999 };
40000
40001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40002 if (obj0) {
40003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40004 if (!SWIG_IsOK(res1)) {
40005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 40006 }
554f62e9
RD
40007 arg1 = reinterpret_cast< wxWindow * >(argp1);
40008 }
40009 if (obj1) {
40010 ecode2 = SWIG_AsVal_bool(obj1, &val2);
40011 if (!SWIG_IsOK(ecode2)) {
40012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40013 }
40014 arg2 = static_cast< bool >(val2);
40015 }
40016 {
40017 if (!wxPyCheckForApp()) SWIG_fail;
40018 PyThreadState* __tstate = wxPyBeginAllowThreads();
40019 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
40020 wxPyEndAllowThreads(__tstate);
40021 if (PyErr_Occurred()) SWIG_fail;
40022 }
40023 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelp, SWIG_POINTER_NEW | 0 );
40024 return resultobj;
40025fail:
40026 return NULL;
d55e5bfc
RD
40027}
40028
40029
554f62e9
RD
40030SWIGINTERN PyObject *_wrap_delete_ContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40031 PyObject *resultobj = 0;
40032 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40033 void *argp1 = 0 ;
40034 int res1 = 0 ;
40035 PyObject *swig_obj[1] ;
40036
40037 if (!args) SWIG_fail;
40038 swig_obj[0] = args;
40039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, SWIG_POINTER_DISOWN | 0 );
40040 if (!SWIG_IsOK(res1)) {
40041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40042 }
40043 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40044 {
40045 PyThreadState* __tstate = wxPyBeginAllowThreads();
40046 delete arg1;
d55e5bfc 40047
554f62e9
RD
40048 wxPyEndAllowThreads(__tstate);
40049 if (PyErr_Occurred()) SWIG_fail;
40050 }
40051 resultobj = SWIG_Py_Void();
40052 return resultobj;
40053fail:
40054 return NULL;
40055}
40056
40057
40058SWIGINTERN PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40059 PyObject *resultobj = 0;
40060 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40061 wxWindow *arg2 = (wxWindow *) NULL ;
40062 bool result;
40063 void *argp1 = 0 ;
40064 int res1 = 0 ;
40065 void *argp2 = 0 ;
40066 int res2 = 0 ;
40067 PyObject * obj0 = 0 ;
40068 PyObject * obj1 = 0 ;
40069 char * kwnames[] = {
40070 (char *) "self",(char *) "window", NULL
40071 };
40072
40073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40075 if (!SWIG_IsOK(res1)) {
40076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40077 }
40078 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40079 if (obj1) {
40080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40081 if (!SWIG_IsOK(res2)) {
40082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 40083 }
554f62e9
RD
40084 arg2 = reinterpret_cast< wxWindow * >(argp2);
40085 }
40086 {
40087 PyThreadState* __tstate = wxPyBeginAllowThreads();
40088 result = (bool)(arg1)->BeginContextHelp(arg2);
40089 wxPyEndAllowThreads(__tstate);
40090 if (PyErr_Occurred()) SWIG_fail;
40091 }
40092 {
40093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40094 }
40095 return resultobj;
40096fail:
40097 return NULL;
d55e5bfc
RD
40098}
40099
40100
554f62e9
RD
40101SWIGINTERN PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40102 PyObject *resultobj = 0;
40103 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
40104 bool result;
40105 void *argp1 = 0 ;
40106 int res1 = 0 ;
40107 PyObject *swig_obj[1] ;
40108
40109 if (!args) SWIG_fail;
40110 swig_obj[0] = args;
40111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxContextHelp, 0 | 0 );
40112 if (!SWIG_IsOK(res1)) {
40113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40114 }
40115 arg1 = reinterpret_cast< wxContextHelp * >(argp1);
40116 {
40117 PyThreadState* __tstate = wxPyBeginAllowThreads();
40118 result = (bool)(arg1)->EndContextHelp();
40119 wxPyEndAllowThreads(__tstate);
40120 if (PyErr_Occurred()) SWIG_fail;
40121 }
40122 {
40123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40124 }
40125 return resultobj;
40126fail:
40127 return NULL;
40128}
40129
40130
40131SWIGINTERN PyObject *ContextHelp_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40132 PyObject *obj;
40133 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40134 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp, SWIG_NewClientData(obj));
40135 return SWIG_Py_Void();
40136}
40137
40138SWIGINTERN PyObject *ContextHelp_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40139 return SWIG_Python_InitShadowInstance(args);
40140}
40141
40142SWIGINTERN PyObject *_wrap_new_ContextHelpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40143 PyObject *resultobj = 0;
40144 wxWindow *arg1 = (wxWindow *) 0 ;
40145 int arg2 = (int) wxID_CONTEXT_HELP ;
40146 wxPoint const &arg3_defvalue = wxDefaultPosition ;
40147 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
40148 wxSize const &arg4_defvalue = wxDefaultSize ;
40149 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
40150 long arg5 = (long) wxBU_AUTODRAW ;
40151 wxContextHelpButton *result = 0 ;
40152 void *argp1 = 0 ;
40153 int res1 = 0 ;
40154 int val2 ;
40155 int ecode2 = 0 ;
40156 wxPoint temp3 ;
40157 wxSize temp4 ;
40158 long val5 ;
40159 int ecode5 = 0 ;
40160 PyObject * obj0 = 0 ;
40161 PyObject * obj1 = 0 ;
40162 PyObject * obj2 = 0 ;
40163 PyObject * obj3 = 0 ;
40164 PyObject * obj4 = 0 ;
40165 char * kwnames[] = {
40166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40167 };
40168
40169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
40171 if (!SWIG_IsOK(res1)) {
40172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40173 }
40174 arg1 = reinterpret_cast< wxWindow * >(argp1);
40175 if (obj1) {
40176 ecode2 = SWIG_AsVal_int(obj1, &val2);
40177 if (!SWIG_IsOK(ecode2)) {
40178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40179 }
40180 arg2 = static_cast< int >(val2);
40181 }
40182 if (obj2) {
d55e5bfc 40183 {
554f62e9
RD
40184 arg3 = &temp3;
40185 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 40186 }
554f62e9
RD
40187 }
40188 if (obj3) {
d55e5bfc 40189 {
554f62e9
RD
40190 arg4 = &temp4;
40191 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 40192 }
554f62e9
RD
40193 }
40194 if (obj4) {
40195 ecode5 = SWIG_AsVal_long(obj4, &val5);
40196 if (!SWIG_IsOK(ecode5)) {
40197 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40198 }
40199 arg5 = static_cast< long >(val5);
40200 }
40201 {
40202 if (!wxPyCheckForApp()) SWIG_fail;
40203 PyThreadState* __tstate = wxPyBeginAllowThreads();
40204 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
40205 wxPyEndAllowThreads(__tstate);
40206 if (PyErr_Occurred()) SWIG_fail;
40207 }
40208 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxContextHelpButton, SWIG_POINTER_NEW | 0 );
40209 return resultobj;
40210fail:
40211 return NULL;
d55e5bfc
RD
40212}
40213
40214
554f62e9
RD
40215SWIGINTERN PyObject *ContextHelpButton_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40216 PyObject *obj;
40217 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40218 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton, SWIG_NewClientData(obj));
40219 return SWIG_Py_Void();
d55e5bfc
RD
40220}
40221
554f62e9
RD
40222SWIGINTERN PyObject *ContextHelpButton_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40223 return SWIG_Python_InitShadowInstance(args);
40224}
d55e5bfc 40225
f52cbe90
RD
40226SWIGINTERN PyObject *_wrap_delete_HelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40227 PyObject *resultobj = 0;
40228 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40229 void *argp1 = 0 ;
40230 int res1 = 0 ;
40231 PyObject *swig_obj[1] ;
40232
40233 if (!args) SWIG_fail;
40234 swig_obj[0] = args;
40235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40236 if (!SWIG_IsOK(res1)) {
40237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40238 }
40239 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40240 {
40241 PyThreadState* __tstate = wxPyBeginAllowThreads();
40242 delete arg1;
40243
40244 wxPyEndAllowThreads(__tstate);
40245 if (PyErr_Occurred()) SWIG_fail;
40246 }
40247 resultobj = SWIG_Py_Void();
40248 return resultobj;
40249fail:
40250 return NULL;
40251}
40252
40253
554f62e9
RD
40254SWIGINTERN PyObject *_wrap_HelpProvider_Set(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40255 PyObject *resultobj = 0;
40256 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40257 wxHelpProvider *result = 0 ;
40258 int res1 = 0 ;
40259 PyObject * obj0 = 0 ;
40260 char * kwnames[] = {
40261 (char *) "helpProvider", NULL
40262 };
40263
40264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) SWIG_fail;
40265 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_DISOWN | 0 );
40266 if (!SWIG_IsOK(res1)) {
40267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40268 }
40269 {
40270 PyThreadState* __tstate = wxPyBeginAllowThreads();
40271 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
40272 wxPyEndAllowThreads(__tstate);
40273 if (PyErr_Occurred()) SWIG_fail;
40274 }
40275 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, SWIG_POINTER_OWN | 0 );
40276 return resultobj;
40277fail:
40278 return NULL;
d55e5bfc
RD
40279}
40280
40281
554f62e9
RD
40282SWIGINTERN PyObject *_wrap_HelpProvider_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40283 PyObject *resultobj = 0;
40284 wxHelpProvider *result = 0 ;
40285
40286 if (!SWIG_Python_UnpackTuple(args,"HelpProvider_Get",0,0,0)) SWIG_fail;
40287 {
40288 PyThreadState* __tstate = wxPyBeginAllowThreads();
40289 result = (wxHelpProvider *)wxHelpProvider::Get();
40290 wxPyEndAllowThreads(__tstate);
40291 if (PyErr_Occurred()) SWIG_fail;
40292 }
40293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40294 return resultobj;
40295fail:
40296 return NULL;
40297}
40298
40299
40300SWIGINTERN PyObject *_wrap_HelpProvider_GetHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40301 PyObject *resultobj = 0;
40302 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40303 wxWindow *arg2 = (wxWindow *) 0 ;
40304 wxString result;
40305 void *argp1 = 0 ;
40306 int res1 = 0 ;
40307 void *argp2 = 0 ;
40308 int res2 = 0 ;
40309 PyObject * obj0 = 0 ;
40310 PyObject * obj1 = 0 ;
40311 char * kwnames[] = {
40312 (char *) "self",(char *) "window", NULL
40313 };
40314
40315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40317 if (!SWIG_IsOK(res1)) {
40318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40319 }
40320 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40322 if (!SWIG_IsOK(res2)) {
40323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40324 }
40325 arg2 = reinterpret_cast< wxWindow * >(argp2);
40326 {
40327 PyThreadState* __tstate = wxPyBeginAllowThreads();
40328 result = (arg1)->GetHelp((wxWindow const *)arg2);
40329 wxPyEndAllowThreads(__tstate);
40330 if (PyErr_Occurred()) SWIG_fail;
40331 }
40332 {
40333#if wxUSE_UNICODE
40334 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
40335#else
40336 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
40337#endif
40338 }
40339 return resultobj;
40340fail:
40341 return NULL;
40342}
40343
40344
40345SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40346 PyObject *resultobj = 0;
40347 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40348 wxWindow *arg2 = (wxWindow *) 0 ;
40349 bool result;
40350 void *argp1 = 0 ;
40351 int res1 = 0 ;
40352 void *argp2 = 0 ;
40353 int res2 = 0 ;
40354 PyObject * obj0 = 0 ;
40355 PyObject * obj1 = 0 ;
40356 char * kwnames[] = {
40357 (char *) "self",(char *) "window", NULL
40358 };
40359
40360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40362 if (!SWIG_IsOK(res1)) {
40363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40364 }
40365 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40366 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40367 if (!SWIG_IsOK(res2)) {
40368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40369 }
40370 arg2 = reinterpret_cast< wxWindow * >(argp2);
40371 {
40372 PyThreadState* __tstate = wxPyBeginAllowThreads();
40373 result = (bool)(arg1)->ShowHelp(arg2);
40374 wxPyEndAllowThreads(__tstate);
40375 if (PyErr_Occurred()) SWIG_fail;
40376 }
40377 {
40378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40379 }
40380 return resultobj;
40381fail:
40382 return NULL;
40383}
40384
40385
b850e7f3
RD
40386SWIGINTERN PyObject *_wrap_HelpProvider_ShowHelpAtPoint(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40387 PyObject *resultobj = 0;
40388 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40389 wxWindowBase *arg2 = (wxWindowBase *) 0 ;
40390 wxPoint *arg3 = 0 ;
40391 wxHelpEvent::Origin arg4 ;
40392 bool result;
40393 void *argp1 = 0 ;
40394 int res1 = 0 ;
40395 void *argp2 = 0 ;
40396 int res2 = 0 ;
40397 wxPoint temp3 ;
40398 int val4 ;
40399 int ecode4 = 0 ;
40400 PyObject * obj0 = 0 ;
40401 PyObject * obj1 = 0 ;
40402 PyObject * obj2 = 0 ;
40403 PyObject * obj3 = 0 ;
40404 char * kwnames[] = {
40405 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40406 };
40407
40408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
40409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40410 if (!SWIG_IsOK(res1)) {
40411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40412 }
40413 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40414 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindowBase, 0 | 0 );
40415 if (!SWIG_IsOK(res2)) {
40416 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40417 }
40418 arg2 = reinterpret_cast< wxWindowBase * >(argp2);
40419 {
40420 arg3 = &temp3;
40421 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
40422 }
40423 ecode4 = SWIG_AsVal_int(obj3, &val4);
40424 if (!SWIG_IsOK(ecode4)) {
40425 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40426 }
40427 arg4 = static_cast< wxHelpEvent::Origin >(val4);
40428 {
40429 PyThreadState* __tstate = wxPyBeginAllowThreads();
40430 result = (bool)(arg1)->ShowHelpAtPoint(arg2,(wxPoint const &)*arg3,arg4);
40431 wxPyEndAllowThreads(__tstate);
40432 if (PyErr_Occurred()) SWIG_fail;
40433 }
40434 {
40435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40436 }
40437 return resultobj;
40438fail:
40439 return NULL;
40440}
40441
40442
554f62e9
RD
40443SWIGINTERN PyObject *_wrap_HelpProvider_AddHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40444 PyObject *resultobj = 0;
40445 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40446 wxWindow *arg2 = (wxWindow *) 0 ;
40447 wxString *arg3 = 0 ;
40448 void *argp1 = 0 ;
40449 int res1 = 0 ;
40450 void *argp2 = 0 ;
40451 int res2 = 0 ;
40452 bool temp3 = false ;
40453 PyObject * obj0 = 0 ;
40454 PyObject * obj1 = 0 ;
40455 PyObject * obj2 = 0 ;
40456 char * kwnames[] = {
40457 (char *) "self",(char *) "window",(char *) "text", NULL
40458 };
40459
40460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40462 if (!SWIG_IsOK(res1)) {
40463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40464 }
40465 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40466 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40467 if (!SWIG_IsOK(res2)) {
40468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40469 }
40470 arg2 = reinterpret_cast< wxWindow * >(argp2);
40471 {
40472 arg3 = wxString_in_helper(obj2);
40473 if (arg3 == NULL) SWIG_fail;
40474 temp3 = true;
40475 }
40476 {
40477 PyThreadState* __tstate = wxPyBeginAllowThreads();
40478 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40479 wxPyEndAllowThreads(__tstate);
40480 if (PyErr_Occurred()) SWIG_fail;
40481 }
40482 resultobj = SWIG_Py_Void();
40483 {
40484 if (temp3)
40485 delete arg3;
40486 }
40487 return resultobj;
40488fail:
40489 {
40490 if (temp3)
40491 delete arg3;
40492 }
40493 return NULL;
40494}
40495
40496
40497SWIGINTERN PyObject *_wrap_HelpProvider_AddHelpById(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40498 PyObject *resultobj = 0;
40499 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40500 int arg2 ;
40501 wxString *arg3 = 0 ;
40502 void *argp1 = 0 ;
40503 int res1 = 0 ;
40504 int val2 ;
40505 int ecode2 = 0 ;
40506 bool temp3 = false ;
40507 PyObject * obj0 = 0 ;
40508 PyObject * obj1 = 0 ;
40509 PyObject * obj2 = 0 ;
40510 char * kwnames[] = {
40511 (char *) "self",(char *) "id",(char *) "text", NULL
40512 };
40513
40514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
40515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40516 if (!SWIG_IsOK(res1)) {
40517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40518 }
40519 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40520 ecode2 = SWIG_AsVal_int(obj1, &val2);
40521 if (!SWIG_IsOK(ecode2)) {
40522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40523 }
40524 arg2 = static_cast< int >(val2);
40525 {
40526 arg3 = wxString_in_helper(obj2);
40527 if (arg3 == NULL) SWIG_fail;
40528 temp3 = true;
40529 }
40530 {
40531 PyThreadState* __tstate = wxPyBeginAllowThreads();
40532 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
40533 wxPyEndAllowThreads(__tstate);
40534 if (PyErr_Occurred()) SWIG_fail;
40535 }
40536 resultobj = SWIG_Py_Void();
40537 {
40538 if (temp3)
40539 delete arg3;
40540 }
40541 return resultobj;
40542fail:
40543 {
40544 if (temp3)
40545 delete arg3;
40546 }
40547 return NULL;
40548}
40549
40550
40551SWIGINTERN PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40552 PyObject *resultobj = 0;
40553 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40554 wxWindow *arg2 = (wxWindow *) 0 ;
40555 void *argp1 = 0 ;
40556 int res1 = 0 ;
40557 void *argp2 = 0 ;
40558 int res2 = 0 ;
40559 PyObject * obj0 = 0 ;
40560 PyObject * obj1 = 0 ;
40561 char * kwnames[] = {
40562 (char *) "self",(char *) "window", NULL
40563 };
40564
40565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) SWIG_fail;
40566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40567 if (!SWIG_IsOK(res1)) {
40568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40569 }
40570 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40571 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
40572 if (!SWIG_IsOK(res2)) {
40573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40574 }
40575 arg2 = reinterpret_cast< wxWindow * >(argp2);
40576 {
40577 PyThreadState* __tstate = wxPyBeginAllowThreads();
40578 (arg1)->RemoveHelp(arg2);
40579 wxPyEndAllowThreads(__tstate);
40580 if (PyErr_Occurred()) SWIG_fail;
40581 }
40582 resultobj = SWIG_Py_Void();
40583 return resultobj;
40584fail:
40585 return NULL;
d55e5bfc
RD
40586}
40587
40588
554f62e9
RD
40589SWIGINTERN PyObject *_wrap_HelpProvider_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40590 PyObject *resultobj = 0;
40591 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
40592 void *argp1 = 0 ;
40593 int res1 = 0 ;
40594 PyObject *swig_obj[1] ;
40595
40596 if (!args) SWIG_fail;
40597 swig_obj[0] = args;
40598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHelpProvider, 0 | 0 );
40599 if (!SWIG_IsOK(res1)) {
40600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40601 }
40602 arg1 = reinterpret_cast< wxHelpProvider * >(argp1);
40603 {
40604 PyThreadState* __tstate = wxPyBeginAllowThreads();
40605 wxHelpProvider_Destroy(arg1);
40606 wxPyEndAllowThreads(__tstate);
40607 if (PyErr_Occurred()) SWIG_fail;
40608 }
40609 resultobj = SWIG_Py_Void();
40610 return resultobj;
40611fail:
40612 return NULL;
d55e5bfc
RD
40613}
40614
40615
554f62e9
RD
40616SWIGINTERN PyObject *HelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40617 PyObject *obj;
40618 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40619 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider, SWIG_NewClientData(obj));
40620 return SWIG_Py_Void();
d55e5bfc
RD
40621}
40622
554f62e9
RD
40623SWIGINTERN PyObject *_wrap_new_SimpleHelpProvider(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40624 PyObject *resultobj = 0;
40625 wxSimpleHelpProvider *result = 0 ;
40626
40627 if (!SWIG_Python_UnpackTuple(args,"new_SimpleHelpProvider",0,0,0)) SWIG_fail;
40628 {
40629 PyThreadState* __tstate = wxPyBeginAllowThreads();
40630 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
40631 wxPyEndAllowThreads(__tstate);
40632 if (PyErr_Occurred()) SWIG_fail;
40633 }
40634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHelpProvider, SWIG_POINTER_NEW | 0 );
40635 return resultobj;
40636fail:
40637 return NULL;
40638}
40639
40640
40641SWIGINTERN PyObject *SimpleHelpProvider_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40642 PyObject *obj;
40643 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
40644 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider, SWIG_NewClientData(obj));
40645 return SWIG_Py_Void();
40646}
40647
40648SWIGINTERN PyObject *SimpleHelpProvider_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40649 return SWIG_Python_InitShadowInstance(args);
40650}
40651
40652SWIGINTERN PyObject *_wrap_new_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40653 PyObject *resultobj = 0;
40654 wxBitmap *arg1 = 0 ;
40655 wxCursor const &arg2_defvalue = wxNullCursor ;
40656 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40657 wxGenericDragImage *result = 0 ;
40658 void *argp1 = 0 ;
40659 int res1 = 0 ;
40660 void *argp2 = 0 ;
40661 int res2 = 0 ;
40662 PyObject * obj0 = 0 ;
40663 PyObject * obj1 = 0 ;
40664 char * kwnames[] = {
40665 (char *) "image",(char *) "cursor", NULL
40666 };
40667
40668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) SWIG_fail;
40669 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
40670 if (!SWIG_IsOK(res1)) {
40671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40672 }
40673 if (!argp1) {
40674 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40675 }
40676 arg1 = reinterpret_cast< wxBitmap * >(argp1);
40677 if (obj1) {
40678 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40679 if (!SWIG_IsOK(res2)) {
40680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40681 }
554f62e9
RD
40682 if (!argp2) {
40683 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
7e08d4ef 40684 }
554f62e9
RD
40685 arg2 = reinterpret_cast< wxCursor * >(argp2);
40686 }
40687 {
40688 if (!wxPyCheckForApp()) SWIG_fail;
40689 PyThreadState* __tstate = wxPyBeginAllowThreads();
40690 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
40691 wxPyEndAllowThreads(__tstate);
40692 if (PyErr_Occurred()) SWIG_fail;
40693 }
40694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_NEW | 0 );
40695 return resultobj;
40696fail:
40697 return NULL;
40698}
40699
40700
40701SWIGINTERN PyObject *_wrap_new_DragIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40702 PyObject *resultobj = 0;
40703 wxIcon *arg1 = 0 ;
40704 wxCursor const &arg2_defvalue = wxNullCursor ;
40705 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40706 wxGenericDragImage *result = 0 ;
40707 void *argp1 = 0 ;
40708 int res1 = 0 ;
40709 void *argp2 = 0 ;
40710 int res2 = 0 ;
40711 PyObject * obj0 = 0 ;
40712 PyObject * obj1 = 0 ;
40713 char * kwnames[] = {
40714 (char *) "image",(char *) "cursor", NULL
40715 };
40716
40717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) SWIG_fail;
40718 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxIcon, 0 | 0);
40719 if (!SWIG_IsOK(res1)) {
40720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40721 }
40722 if (!argp1) {
40723 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40724 }
40725 arg1 = reinterpret_cast< wxIcon * >(argp1);
40726 if (obj1) {
40727 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40728 if (!SWIG_IsOK(res2)) {
40729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40730 }
554f62e9
RD
40731 if (!argp2) {
40732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40733 }
554f62e9
RD
40734 arg2 = reinterpret_cast< wxCursor * >(argp2);
40735 }
40736 {
40737 if (!wxPyCheckForApp()) SWIG_fail;
40738 PyThreadState* __tstate = wxPyBeginAllowThreads();
40739 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
40740 wxPyEndAllowThreads(__tstate);
40741 if (PyErr_Occurred()) SWIG_fail;
40742 }
40743 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40744 return resultobj;
40745fail:
40746 return NULL;
40747}
40748
40749
40750SWIGINTERN PyObject *_wrap_new_DragString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40751 PyObject *resultobj = 0;
40752 wxString *arg1 = 0 ;
40753 wxCursor const &arg2_defvalue = wxNullCursor ;
40754 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
40755 wxGenericDragImage *result = 0 ;
40756 bool temp1 = false ;
40757 void *argp2 = 0 ;
40758 int res2 = 0 ;
40759 PyObject * obj0 = 0 ;
40760 PyObject * obj1 = 0 ;
40761 char * kwnames[] = {
40762 (char *) "str",(char *) "cursor", NULL
40763 };
40764
40765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) SWIG_fail;
40766 {
40767 arg1 = wxString_in_helper(obj0);
40768 if (arg1 == NULL) SWIG_fail;
40769 temp1 = true;
40770 }
40771 if (obj1) {
40772 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxCursor, 0 | 0);
40773 if (!SWIG_IsOK(res2)) {
40774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40775 }
554f62e9
RD
40776 if (!argp2) {
40777 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
d55e5bfc 40778 }
554f62e9
RD
40779 arg2 = reinterpret_cast< wxCursor * >(argp2);
40780 }
40781 {
40782 if (!wxPyCheckForApp()) SWIG_fail;
40783 PyThreadState* __tstate = wxPyBeginAllowThreads();
40784 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
40785 wxPyEndAllowThreads(__tstate);
40786 if (PyErr_Occurred()) SWIG_fail;
40787 }
40788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40789 {
40790 if (temp1)
40791 delete arg1;
40792 }
40793 return resultobj;
40794fail:
40795 {
40796 if (temp1)
40797 delete arg1;
40798 }
40799 return NULL;
40800}
40801
40802
40803SWIGINTERN PyObject *_wrap_new_DragTreeItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40804 PyObject *resultobj = 0;
40805 wxPyTreeCtrl *arg1 = 0 ;
40806 wxTreeItemId *arg2 = 0 ;
40807 wxGenericDragImage *result = 0 ;
40808 void *argp1 = 0 ;
40809 int res1 = 0 ;
40810 void *argp2 = 0 ;
40811 int res2 = 0 ;
40812 PyObject * obj0 = 0 ;
40813 PyObject * obj1 = 0 ;
40814 char * kwnames[] = {
40815 (char *) "treeCtrl",(char *) "id", NULL
40816 };
40817
40818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) SWIG_fail;
40819 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyTreeCtrl, 0 | 0);
40820 if (!SWIG_IsOK(res1)) {
40821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40822 }
40823 if (!argp1) {
40824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40825 }
40826 arg1 = reinterpret_cast< wxPyTreeCtrl * >(argp1);
40827 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 );
40828 if (!SWIG_IsOK(res2)) {
40829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40830 }
40831 if (!argp2) {
40832 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40833 }
40834 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
40835 {
40836 if (!wxPyCheckForApp()) SWIG_fail;
40837 PyThreadState* __tstate = wxPyBeginAllowThreads();
40838 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
40839 wxPyEndAllowThreads(__tstate);
40840 if (PyErr_Occurred()) SWIG_fail;
40841 }
40842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40843 return resultobj;
40844fail:
40845 return NULL;
40846}
40847
40848
40849SWIGINTERN PyObject *_wrap_new_DragListItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40850 PyObject *resultobj = 0;
40851 wxPyListCtrl *arg1 = 0 ;
40852 long arg2 ;
40853 wxGenericDragImage *result = 0 ;
40854 void *argp1 = 0 ;
40855 int res1 = 0 ;
40856 long val2 ;
40857 int ecode2 = 0 ;
40858 PyObject * obj0 = 0 ;
40859 PyObject * obj1 = 0 ;
40860 char * kwnames[] = {
40861 (char *) "listCtrl",(char *) "id", NULL
40862 };
40863
40864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) SWIG_fail;
40865 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxPyListCtrl, 0 | 0);
40866 if (!SWIG_IsOK(res1)) {
40867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40868 }
40869 if (!argp1) {
40870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40871 }
40872 arg1 = reinterpret_cast< wxPyListCtrl * >(argp1);
40873 ecode2 = SWIG_AsVal_long(obj1, &val2);
40874 if (!SWIG_IsOK(ecode2)) {
40875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40876 }
40877 arg2 = static_cast< long >(val2);
40878 {
40879 if (!wxPyCheckForApp()) SWIG_fail;
40880 PyThreadState* __tstate = wxPyBeginAllowThreads();
40881 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
40882 wxPyEndAllowThreads(__tstate);
40883 if (PyErr_Occurred()) SWIG_fail;
40884 }
40885 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_OWN | 0 );
40886 return resultobj;
40887fail:
40888 return NULL;
d55e5bfc
RD
40889}
40890
40891
554f62e9
RD
40892SWIGINTERN PyObject *_wrap_delete_DragImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
40893 PyObject *resultobj = 0;
40894 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40895 void *argp1 = 0 ;
40896 int res1 = 0 ;
40897 PyObject *swig_obj[1] ;
40898
40899 if (!args) SWIG_fail;
40900 swig_obj[0] = args;
40901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, SWIG_POINTER_DISOWN | 0 );
40902 if (!SWIG_IsOK(res1)) {
40903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40904 }
40905 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40906 {
40907 PyThreadState* __tstate = wxPyBeginAllowThreads();
40908 delete arg1;
d55e5bfc 40909
554f62e9
RD
40910 wxPyEndAllowThreads(__tstate);
40911 if (PyErr_Occurred()) SWIG_fail;
40912 }
40913 resultobj = SWIG_Py_Void();
40914 return resultobj;
40915fail:
40916 return NULL;
40917}
40918
40919
40920SWIGINTERN PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40921 PyObject *resultobj = 0;
40922 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40923 wxBitmap *arg2 = (wxBitmap *) 0 ;
40924 void *argp1 = 0 ;
40925 int res1 = 0 ;
40926 void *argp2 = 0 ;
40927 int res2 = 0 ;
40928 PyObject * obj0 = 0 ;
40929 PyObject * obj1 = 0 ;
40930 char * kwnames[] = {
40931 (char *) "self",(char *) "bitmap", NULL
40932 };
40933
40934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
40935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40936 if (!SWIG_IsOK(res1)) {
40937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40938 }
40939 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40940 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxBitmap, 0 | 0 );
40941 if (!SWIG_IsOK(res2)) {
40942 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40943 }
40944 arg2 = reinterpret_cast< wxBitmap * >(argp2);
40945 {
40946 PyThreadState* __tstate = wxPyBeginAllowThreads();
40947 (arg1)->SetBackingBitmap(arg2);
40948 wxPyEndAllowThreads(__tstate);
40949 if (PyErr_Occurred()) SWIG_fail;
40950 }
40951 resultobj = SWIG_Py_Void();
40952 return resultobj;
40953fail:
40954 return NULL;
40955}
40956
40957
40958SWIGINTERN PyObject *_wrap_DragImage_BeginDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
40959 PyObject *resultobj = 0;
40960 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
40961 wxPoint *arg2 = 0 ;
40962 wxWindow *arg3 = (wxWindow *) 0 ;
40963 bool arg4 = (bool) false ;
40964 wxRect *arg5 = (wxRect *) NULL ;
40965 bool result;
40966 void *argp1 = 0 ;
40967 int res1 = 0 ;
40968 wxPoint temp2 ;
40969 void *argp3 = 0 ;
40970 int res3 = 0 ;
40971 bool val4 ;
40972 int ecode4 = 0 ;
40973 void *argp5 = 0 ;
40974 int res5 = 0 ;
40975 PyObject * obj0 = 0 ;
40976 PyObject * obj1 = 0 ;
40977 PyObject * obj2 = 0 ;
40978 PyObject * obj3 = 0 ;
40979 PyObject * obj4 = 0 ;
40980 char * kwnames[] = {
40981 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40982 };
40983
40984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
40985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
40986 if (!SWIG_IsOK(res1)) {
40987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40988 }
40989 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
40990 {
40991 arg2 = &temp2;
40992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
40993 }
40994 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
40995 if (!SWIG_IsOK(res3)) {
40996 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40997 }
40998 arg3 = reinterpret_cast< wxWindow * >(argp3);
40999 if (obj3) {
41000 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41001 if (!SWIG_IsOK(ecode4)) {
41002 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41003 }
41004 arg4 = static_cast< bool >(val4);
41005 }
41006 if (obj4) {
41007 res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRect, 0 | 0 );
41008 if (!SWIG_IsOK(res5)) {
41009 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
d55e5bfc 41010 }
554f62e9
RD
41011 arg5 = reinterpret_cast< wxRect * >(argp5);
41012 }
41013 {
41014 PyThreadState* __tstate = wxPyBeginAllowThreads();
41015 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
41016 wxPyEndAllowThreads(__tstate);
41017 if (PyErr_Occurred()) SWIG_fail;
41018 }
41019 {
41020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41021 }
41022 return resultobj;
41023fail:
41024 return NULL;
41025}
41026
41027
41028SWIGINTERN PyObject *_wrap_DragImage_BeginDragBounded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41029 PyObject *resultobj = 0;
41030 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41031 wxPoint *arg2 = 0 ;
41032 wxWindow *arg3 = (wxWindow *) 0 ;
41033 wxWindow *arg4 = (wxWindow *) 0 ;
41034 bool result;
41035 void *argp1 = 0 ;
41036 int res1 = 0 ;
41037 wxPoint temp2 ;
41038 void *argp3 = 0 ;
41039 int res3 = 0 ;
41040 void *argp4 = 0 ;
41041 int res4 = 0 ;
41042 PyObject * obj0 = 0 ;
41043 PyObject * obj1 = 0 ;
41044 PyObject * obj2 = 0 ;
41045 PyObject * obj3 = 0 ;
41046 char * kwnames[] = {
41047 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41048 };
41049
41050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
41051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41052 if (!SWIG_IsOK(res1)) {
41053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41054 }
41055 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41056 {
41057 arg2 = &temp2;
41058 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41059 }
41060 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
41061 if (!SWIG_IsOK(res3)) {
41062 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41063 }
41064 arg3 = reinterpret_cast< wxWindow * >(argp3);
41065 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
41066 if (!SWIG_IsOK(res4)) {
41067 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41068 }
41069 arg4 = reinterpret_cast< wxWindow * >(argp4);
41070 {
41071 PyThreadState* __tstate = wxPyBeginAllowThreads();
41072 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
41073 wxPyEndAllowThreads(__tstate);
41074 if (PyErr_Occurred()) SWIG_fail;
41075 }
41076 {
41077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41078 }
41079 return resultobj;
41080fail:
41081 return NULL;
d55e5bfc
RD
41082}
41083
41084
554f62e9
RD
41085SWIGINTERN PyObject *_wrap_DragImage_EndDrag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41086 PyObject *resultobj = 0;
41087 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41088 bool result;
41089 void *argp1 = 0 ;
41090 int res1 = 0 ;
41091 PyObject *swig_obj[1] ;
41092
41093 if (!args) SWIG_fail;
41094 swig_obj[0] = args;
41095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41096 if (!SWIG_IsOK(res1)) {
41097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41098 }
41099 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41100 {
41101 PyThreadState* __tstate = wxPyBeginAllowThreads();
41102 result = (bool)(arg1)->EndDrag();
41103 wxPyEndAllowThreads(__tstate);
41104 if (PyErr_Occurred()) SWIG_fail;
41105 }
41106 {
41107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41108 }
41109 return resultobj;
41110fail:
41111 return NULL;
41112}
41113
41114
41115SWIGINTERN PyObject *_wrap_DragImage_Move(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41116 PyObject *resultobj = 0;
41117 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41118 wxPoint *arg2 = 0 ;
41119 bool result;
41120 void *argp1 = 0 ;
41121 int res1 = 0 ;
41122 wxPoint temp2 ;
41123 PyObject * obj0 = 0 ;
41124 PyObject * obj1 = 0 ;
41125 char * kwnames[] = {
41126 (char *) "self",(char *) "pt", NULL
41127 };
41128
41129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) SWIG_fail;
41130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41131 if (!SWIG_IsOK(res1)) {
41132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41133 }
41134 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41135 {
41136 arg2 = &temp2;
41137 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41138 }
41139 {
41140 PyThreadState* __tstate = wxPyBeginAllowThreads();
41141 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
41142 wxPyEndAllowThreads(__tstate);
41143 if (PyErr_Occurred()) SWIG_fail;
41144 }
41145 {
41146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41147 }
41148 return resultobj;
41149fail:
41150 return NULL;
d55e5bfc
RD
41151}
41152
41153
554f62e9
RD
41154SWIGINTERN PyObject *_wrap_DragImage_Show(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41155 PyObject *resultobj = 0;
41156 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41157 bool result;
41158 void *argp1 = 0 ;
41159 int res1 = 0 ;
41160 PyObject *swig_obj[1] ;
41161
41162 if (!args) SWIG_fail;
41163 swig_obj[0] = args;
41164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41165 if (!SWIG_IsOK(res1)) {
41166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41167 }
41168 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41169 {
41170 PyThreadState* __tstate = wxPyBeginAllowThreads();
41171 result = (bool)(arg1)->Show();
41172 wxPyEndAllowThreads(__tstate);
41173 if (PyErr_Occurred()) SWIG_fail;
41174 }
41175 {
41176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41177 }
41178 return resultobj;
41179fail:
41180 return NULL;
d55e5bfc
RD
41181}
41182
41183
554f62e9
RD
41184SWIGINTERN PyObject *_wrap_DragImage_Hide(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41185 PyObject *resultobj = 0;
41186 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41187 bool result;
41188 void *argp1 = 0 ;
41189 int res1 = 0 ;
41190 PyObject *swig_obj[1] ;
41191
41192 if (!args) SWIG_fail;
41193 swig_obj[0] = args;
41194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41195 if (!SWIG_IsOK(res1)) {
41196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41197 }
41198 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41199 {
41200 PyThreadState* __tstate = wxPyBeginAllowThreads();
41201 result = (bool)(arg1)->Hide();
41202 wxPyEndAllowThreads(__tstate);
41203 if (PyErr_Occurred()) SWIG_fail;
41204 }
41205 {
41206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41207 }
41208 return resultobj;
41209fail:
41210 return NULL;
41211}
41212
41213
41214SWIGINTERN PyObject *_wrap_DragImage_GetImageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41215 PyObject *resultobj = 0;
41216 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41217 wxPoint *arg2 = 0 ;
41218 wxRect result;
41219 void *argp1 = 0 ;
41220 int res1 = 0 ;
41221 wxPoint temp2 ;
41222 PyObject * obj0 = 0 ;
41223 PyObject * obj1 = 0 ;
41224 char * kwnames[] = {
41225 (char *) "self",(char *) "pos", NULL
41226 };
41227
41228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) SWIG_fail;
41229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41230 if (!SWIG_IsOK(res1)) {
41231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41232 }
41233 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41234 {
41235 arg2 = &temp2;
41236 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41237 }
41238 {
41239 PyThreadState* __tstate = wxPyBeginAllowThreads();
41240 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
41241 wxPyEndAllowThreads(__tstate);
41242 if (PyErr_Occurred()) SWIG_fail;
41243 }
41244 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
41245 return resultobj;
41246fail:
41247 return NULL;
41248}
41249
41250
41251SWIGINTERN PyObject *_wrap_DragImage_DoDrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41252 PyObject *resultobj = 0;
41253 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41254 wxDC *arg2 = 0 ;
41255 wxPoint *arg3 = 0 ;
41256 bool result;
41257 void *argp1 = 0 ;
41258 int res1 = 0 ;
41259 void *argp2 = 0 ;
41260 int res2 = 0 ;
41261 wxPoint temp3 ;
41262 PyObject * obj0 = 0 ;
41263 PyObject * obj1 = 0 ;
41264 PyObject * obj2 = 0 ;
41265 char * kwnames[] = {
41266 (char *) "self",(char *) "dc",(char *) "pos", NULL
41267 };
41268
41269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41271 if (!SWIG_IsOK(res1)) {
41272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41273 }
41274 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41275 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41276 if (!SWIG_IsOK(res2)) {
41277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41278 }
41279 if (!argp2) {
41280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41281 }
41282 arg2 = reinterpret_cast< wxDC * >(argp2);
41283 {
41284 arg3 = &temp3;
41285 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41286 }
41287 {
41288 PyThreadState* __tstate = wxPyBeginAllowThreads();
41289 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
41290 wxPyEndAllowThreads(__tstate);
41291 if (PyErr_Occurred()) SWIG_fail;
41292 }
41293 {
41294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41295 }
41296 return resultobj;
41297fail:
41298 return NULL;
41299}
41300
41301
41302SWIGINTERN PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41303 PyObject *resultobj = 0;
41304 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41305 wxDC *arg2 = 0 ;
41306 wxMemoryDC *arg3 = 0 ;
41307 wxRect *arg4 = 0 ;
41308 wxRect *arg5 = 0 ;
41309 bool result;
41310 void *argp1 = 0 ;
41311 int res1 = 0 ;
41312 void *argp2 = 0 ;
41313 int res2 = 0 ;
41314 void *argp3 = 0 ;
41315 int res3 = 0 ;
41316 wxRect temp4 ;
41317 wxRect temp5 ;
41318 PyObject * obj0 = 0 ;
41319 PyObject * obj1 = 0 ;
41320 PyObject * obj2 = 0 ;
41321 PyObject * obj3 = 0 ;
41322 PyObject * obj4 = 0 ;
41323 char * kwnames[] = {
41324 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41325 };
41326
41327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41329 if (!SWIG_IsOK(res1)) {
41330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41331 }
41332 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41333 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
41334 if (!SWIG_IsOK(res2)) {
41335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41336 }
41337 if (!argp2) {
41338 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41339 }
41340 arg2 = reinterpret_cast< wxDC * >(argp2);
41341 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxMemoryDC, 0 );
41342 if (!SWIG_IsOK(res3)) {
41343 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41344 }
41345 if (!argp3) {
41346 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41347 }
41348 arg3 = reinterpret_cast< wxMemoryDC * >(argp3);
41349 {
41350 arg4 = &temp4;
41351 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
41352 }
41353 {
41354 arg5 = &temp5;
41355 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
41356 }
41357 {
41358 PyThreadState* __tstate = wxPyBeginAllowThreads();
41359 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
41360 wxPyEndAllowThreads(__tstate);
41361 if (PyErr_Occurred()) SWIG_fail;
41362 }
41363 {
41364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41365 }
41366 return resultobj;
41367fail:
41368 return NULL;
41369}
41370
41371
41372SWIGINTERN PyObject *_wrap_DragImage_RedrawImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41373 PyObject *resultobj = 0;
41374 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
41375 wxPoint *arg2 = 0 ;
41376 wxPoint *arg3 = 0 ;
41377 bool arg4 ;
41378 bool arg5 ;
41379 bool result;
41380 void *argp1 = 0 ;
41381 int res1 = 0 ;
41382 wxPoint temp2 ;
41383 wxPoint temp3 ;
41384 bool val4 ;
41385 int ecode4 = 0 ;
41386 bool val5 ;
41387 int ecode5 = 0 ;
41388 PyObject * obj0 = 0 ;
41389 PyObject * obj1 = 0 ;
41390 PyObject * obj2 = 0 ;
41391 PyObject * obj3 = 0 ;
41392 PyObject * obj4 = 0 ;
41393 char * kwnames[] = {
41394 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41395 };
41396
41397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
41398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxGenericDragImage, 0 | 0 );
41399 if (!SWIG_IsOK(res1)) {
41400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41401 }
41402 arg1 = reinterpret_cast< wxGenericDragImage * >(argp1);
41403 {
41404 arg2 = &temp2;
41405 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
41406 }
41407 {
41408 arg3 = &temp3;
41409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
41410 }
41411 ecode4 = SWIG_AsVal_bool(obj3, &val4);
41412 if (!SWIG_IsOK(ecode4)) {
41413 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41414 }
41415 arg4 = static_cast< bool >(val4);
41416 ecode5 = SWIG_AsVal_bool(obj4, &val5);
41417 if (!SWIG_IsOK(ecode5)) {
41418 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41419 }
41420 arg5 = static_cast< bool >(val5);
41421 {
41422 PyThreadState* __tstate = wxPyBeginAllowThreads();
41423 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
41424 wxPyEndAllowThreads(__tstate);
41425 if (PyErr_Occurred()) SWIG_fail;
41426 }
41427 {
41428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41429 }
41430 return resultobj;
41431fail:
41432 return NULL;
d55e5bfc
RD
41433}
41434
41435
554f62e9
RD
41436SWIGINTERN PyObject *DragImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41437 PyObject *obj;
41438 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41439 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage, SWIG_NewClientData(obj));
41440 return SWIG_Py_Void();
d55e5bfc
RD
41441}
41442
554f62e9
RD
41443SWIGINTERN PyObject *DragImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41444 return SWIG_Python_InitShadowInstance(args);
41445}
d55e5bfc 41446
554f62e9
RD
41447SWIGINTERN int DatePickerCtrlNameStr_set(PyObject *) {
41448 SWIG_Error(SWIG_AttributeError,"Variable DatePickerCtrlNameStr is read-only.");
41449 return 1;
d55e5bfc
RD
41450}
41451
41452
554f62e9
RD
41453SWIGINTERN PyObject *DatePickerCtrlNameStr_get(void) {
41454 PyObject *pyobj = 0;
41455
41456 {
41457#if wxUSE_UNICODE
41458 pyobj = PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41459#else
41460 pyobj = PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr)->c_str(), (&wxPyDatePickerCtrlNameStr)->Len());
41461#endif
41462 }
41463 return pyobj;
41464}
41465
41466
41467SWIGINTERN PyObject *_wrap_new_DatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41468 PyObject *resultobj = 0;
41469 wxWindow *arg1 = (wxWindow *) 0 ;
41470 int arg2 = (int) -1 ;
41471 wxDateTime const &arg3_defvalue = wxDefaultDateTime ;
41472 wxDateTime *arg3 = (wxDateTime *) &arg3_defvalue ;
41473 wxPoint const &arg4_defvalue = wxDefaultPosition ;
41474 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
41475 wxSize const &arg5_defvalue = wxDefaultSize ;
41476 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
41477 long arg6 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41478 wxValidator const &arg7_defvalue = wxDefaultValidator ;
41479 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
41480 wxString const &arg8_defvalue = wxPyDatePickerCtrlNameStr ;
41481 wxString *arg8 = (wxString *) &arg8_defvalue ;
41482 wxDatePickerCtrl *result = 0 ;
41483 void *argp1 = 0 ;
41484 int res1 = 0 ;
41485 int val2 ;
41486 int ecode2 = 0 ;
41487 void *argp3 = 0 ;
41488 int res3 = 0 ;
41489 wxPoint temp4 ;
41490 wxSize temp5 ;
41491 long val6 ;
41492 int ecode6 = 0 ;
41493 void *argp7 = 0 ;
41494 int res7 = 0 ;
41495 bool temp8 = false ;
41496 PyObject * obj0 = 0 ;
41497 PyObject * obj1 = 0 ;
41498 PyObject * obj2 = 0 ;
41499 PyObject * obj3 = 0 ;
41500 PyObject * obj4 = 0 ;
41501 PyObject * obj5 = 0 ;
41502 PyObject * obj6 = 0 ;
41503 PyObject * obj7 = 0 ;
41504 char * kwnames[] = {
41505 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41506 };
41507
41508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41510 if (!SWIG_IsOK(res1)) {
41511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41512 }
41513 arg1 = reinterpret_cast< wxWindow * >(argp1);
41514 if (obj1) {
41515 ecode2 = SWIG_AsVal_int(obj1, &val2);
41516 if (!SWIG_IsOK(ecode2)) {
41517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41518 }
41519 arg2 = static_cast< int >(val2);
41520 }
41521 if (obj2) {
41522 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41523 if (!SWIG_IsOK(res3)) {
41524 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41525 }
554f62e9
RD
41526 if (!argp3) {
41527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
d55e5bfc 41528 }
554f62e9
RD
41529 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41530 }
41531 if (obj3) {
d55e5bfc 41532 {
554f62e9
RD
41533 arg4 = &temp4;
41534 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 41535 }
554f62e9
RD
41536 }
41537 if (obj4) {
093d3ff1 41538 {
554f62e9
RD
41539 arg5 = &temp5;
41540 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41541 }
554f62e9
RD
41542 }
41543 if (obj5) {
41544 ecode6 = SWIG_AsVal_long(obj5, &val6);
41545 if (!SWIG_IsOK(ecode6)) {
41546 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41547 }
41548 arg6 = static_cast< long >(val6);
41549 }
41550 if (obj6) {
41551 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
41552 if (!SWIG_IsOK(res7)) {
41553 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
d55e5bfc 41554 }
554f62e9
RD
41555 if (!argp7) {
41556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
093d3ff1 41557 }
554f62e9
RD
41558 arg7 = reinterpret_cast< wxValidator * >(argp7);
41559 }
41560 if (obj7) {
d55e5bfc 41561 {
554f62e9
RD
41562 arg8 = wxString_in_helper(obj7);
41563 if (arg8 == NULL) SWIG_fail;
41564 temp8 = true;
d55e5bfc 41565 }
554f62e9
RD
41566 }
41567 {
41568 if (!wxPyCheckForApp()) SWIG_fail;
41569 PyThreadState* __tstate = wxPyBeginAllowThreads();
41570 result = (wxDatePickerCtrl *)new wxDatePickerCtrl(arg1,arg2,(wxDateTime const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
41571 wxPyEndAllowThreads(__tstate);
41572 if (PyErr_Occurred()) SWIG_fail;
41573 }
41574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_NEW | 0 );
41575 {
41576 if (temp8)
41577 delete arg8;
41578 }
41579 return resultobj;
41580fail:
41581 {
41582 if (temp8)
41583 delete arg8;
41584 }
41585 return NULL;
d55e5bfc
RD
41586}
41587
41588
554f62e9
RD
41589SWIGINTERN PyObject *_wrap_new_PreDatePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41590 PyObject *resultobj = 0;
41591 wxDatePickerCtrl *result = 0 ;
41592
41593 if (!SWIG_Python_UnpackTuple(args,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail;
41594 {
41595 if (!wxPyCheckForApp()) SWIG_fail;
41596 PyThreadState* __tstate = wxPyBeginAllowThreads();
41597 result = (wxDatePickerCtrl *)new wxDatePickerCtrl();
41598 wxPyEndAllowThreads(__tstate);
41599 if (PyErr_Occurred()) SWIG_fail;
41600 }
41601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDatePickerCtrl, SWIG_POINTER_OWN | 0 );
41602 return resultobj;
41603fail:
41604 return NULL;
41605}
41606
41607
41608SWIGINTERN PyObject *_wrap_DatePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41609 PyObject *resultobj = 0;
41610 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41611 wxWindow *arg2 = (wxWindow *) 0 ;
41612 int arg3 = (int) -1 ;
41613 wxDateTime const &arg4_defvalue = wxDefaultDateTime ;
41614 wxDateTime *arg4 = (wxDateTime *) &arg4_defvalue ;
41615 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41616 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41617 wxSize const &arg6_defvalue = wxDefaultSize ;
41618 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41619 long arg7 = (long) wxDP_DEFAULT|wxDP_SHOWCENTURY ;
41620 wxValidator const &arg8_defvalue = wxDefaultValidator ;
41621 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
41622 wxString const &arg9_defvalue = wxPyDatePickerCtrlNameStr ;
41623 wxString *arg9 = (wxString *) &arg9_defvalue ;
41624 bool result;
41625 void *argp1 = 0 ;
41626 int res1 = 0 ;
41627 void *argp2 = 0 ;
41628 int res2 = 0 ;
41629 int val3 ;
41630 int ecode3 = 0 ;
41631 void *argp4 = 0 ;
41632 int res4 = 0 ;
41633 wxPoint temp5 ;
41634 wxSize temp6 ;
41635 long val7 ;
41636 int ecode7 = 0 ;
41637 void *argp8 = 0 ;
41638 int res8 = 0 ;
41639 bool temp9 = false ;
41640 PyObject * obj0 = 0 ;
41641 PyObject * obj1 = 0 ;
41642 PyObject * obj2 = 0 ;
41643 PyObject * obj3 = 0 ;
41644 PyObject * obj4 = 0 ;
41645 PyObject * obj5 = 0 ;
41646 PyObject * obj6 = 0 ;
41647 PyObject * obj7 = 0 ;
41648 PyObject * obj8 = 0 ;
41649 char * kwnames[] = {
41650 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41651 };
41652
41653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
41654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41655 if (!SWIG_IsOK(res1)) {
41656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41657 }
41658 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41659 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
41660 if (!SWIG_IsOK(res2)) {
41661 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41662 }
41663 arg2 = reinterpret_cast< wxWindow * >(argp2);
41664 if (obj2) {
41665 ecode3 = SWIG_AsVal_int(obj2, &val3);
41666 if (!SWIG_IsOK(ecode3)) {
41667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41668 }
41669 arg3 = static_cast< int >(val3);
41670 }
41671 if (obj3) {
41672 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxDateTime, 0 | 0);
41673 if (!SWIG_IsOK(res4)) {
41674 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
093d3ff1 41675 }
554f62e9
RD
41676 if (!argp4) {
41677 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
d55e5bfc 41678 }
554f62e9
RD
41679 arg4 = reinterpret_cast< wxDateTime * >(argp4);
41680 }
41681 if (obj4) {
093d3ff1 41682 {
554f62e9
RD
41683 arg5 = &temp5;
41684 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 41685 }
554f62e9
RD
41686 }
41687 if (obj5) {
d55e5bfc 41688 {
554f62e9
RD
41689 arg6 = &temp6;
41690 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 41691 }
554f62e9
RD
41692 }
41693 if (obj6) {
41694 ecode7 = SWIG_AsVal_long(obj6, &val7);
41695 if (!SWIG_IsOK(ecode7)) {
41696 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41697 }
41698 arg7 = static_cast< long >(val7);
41699 }
41700 if (obj7) {
41701 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
41702 if (!SWIG_IsOK(res8)) {
41703 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41704 }
41705 if (!argp8) {
41706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
d55e5bfc 41707 }
554f62e9
RD
41708 arg8 = reinterpret_cast< wxValidator * >(argp8);
41709 }
41710 if (obj8) {
d55e5bfc 41711 {
554f62e9
RD
41712 arg9 = wxString_in_helper(obj8);
41713 if (arg9 == NULL) SWIG_fail;
41714 temp9 = true;
d55e5bfc 41715 }
554f62e9
RD
41716 }
41717 {
41718 PyThreadState* __tstate = wxPyBeginAllowThreads();
41719 result = (bool)(arg1)->Create(arg2,arg3,(wxDateTime const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
41720 wxPyEndAllowThreads(__tstate);
41721 if (PyErr_Occurred()) SWIG_fail;
41722 }
41723 {
41724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41725 }
41726 {
41727 if (temp9)
41728 delete arg9;
41729 }
41730 return resultobj;
41731fail:
41732 {
41733 if (temp9)
41734 delete arg9;
41735 }
41736 return NULL;
41737}
41738
41739
41740SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41741 PyObject *resultobj = 0;
41742 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41743 wxDateTime *arg2 = 0 ;
41744 void *argp1 = 0 ;
41745 int res1 = 0 ;
41746 void *argp2 = 0 ;
41747 int res2 = 0 ;
41748 PyObject * obj0 = 0 ;
41749 PyObject * obj1 = 0 ;
41750 char * kwnames[] = {
41751 (char *) "self",(char *) "dt", NULL
41752 };
41753
41754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DatePickerCtrl_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
41755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41756 if (!SWIG_IsOK(res1)) {
41757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41758 }
41759 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41760 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41761 if (!SWIG_IsOK(res2)) {
41762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41763 }
41764 if (!argp2) {
41765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41766 }
41767 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41768 {
41769 PyThreadState* __tstate = wxPyBeginAllowThreads();
41770 (arg1)->SetValue((wxDateTime const &)*arg2);
41771 wxPyEndAllowThreads(__tstate);
41772 if (PyErr_Occurred()) SWIG_fail;
41773 }
41774 resultobj = SWIG_Py_Void();
41775 return resultobj;
41776fail:
41777 return NULL;
d55e5bfc
RD
41778}
41779
41780
554f62e9
RD
41781SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41782 PyObject *resultobj = 0;
41783 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41784 wxDateTime result;
41785 void *argp1 = 0 ;
41786 int res1 = 0 ;
41787 PyObject *swig_obj[1] ;
41788
41789 if (!args) SWIG_fail;
41790 swig_obj[0] = args;
41791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41792 if (!SWIG_IsOK(res1)) {
41793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41794 }
41795 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41796 {
41797 PyThreadState* __tstate = wxPyBeginAllowThreads();
41798 result = ((wxDatePickerCtrl const *)arg1)->GetValue();
41799 wxPyEndAllowThreads(__tstate);
41800 if (PyErr_Occurred()) SWIG_fail;
41801 }
41802 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41803 return resultobj;
41804fail:
41805 return NULL;
41806}
41807
41808
41809SWIGINTERN PyObject *_wrap_DatePickerCtrl_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41810 PyObject *resultobj = 0;
41811 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41812 wxDateTime *arg2 = 0 ;
41813 wxDateTime *arg3 = 0 ;
41814 void *argp1 = 0 ;
41815 int res1 = 0 ;
41816 void *argp2 = 0 ;
41817 int res2 = 0 ;
41818 void *argp3 = 0 ;
41819 int res3 = 0 ;
41820 PyObject * obj0 = 0 ;
41821 PyObject * obj1 = 0 ;
41822 PyObject * obj2 = 0 ;
41823 char * kwnames[] = {
41824 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41825 };
41826
41827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DatePickerCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
41828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41829 if (!SWIG_IsOK(res1)) {
41830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41831 }
41832 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDateTime, 0 | 0);
41834 if (!SWIG_IsOK(res2)) {
41835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41836 }
41837 if (!argp2) {
41838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41839 }
41840 arg2 = reinterpret_cast< wxDateTime * >(argp2);
41841 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDateTime, 0 | 0);
41842 if (!SWIG_IsOK(res3)) {
41843 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41844 }
41845 if (!argp3) {
41846 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41847 }
41848 arg3 = reinterpret_cast< wxDateTime * >(argp3);
41849 {
41850 PyThreadState* __tstate = wxPyBeginAllowThreads();
41851 (arg1)->SetRange((wxDateTime const &)*arg2,(wxDateTime const &)*arg3);
41852 wxPyEndAllowThreads(__tstate);
41853 if (PyErr_Occurred()) SWIG_fail;
41854 }
41855 resultobj = SWIG_Py_Void();
41856 return resultobj;
41857fail:
41858 return NULL;
d55e5bfc
RD
41859}
41860
41861
554f62e9
RD
41862SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetLowerLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41863 PyObject *resultobj = 0;
41864 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41865 wxDateTime result;
41866 void *argp1 = 0 ;
41867 int res1 = 0 ;
41868 PyObject *swig_obj[1] ;
41869
41870 if (!args) SWIG_fail;
41871 swig_obj[0] = args;
41872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41873 if (!SWIG_IsOK(res1)) {
41874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41875 }
41876 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41877 {
41878 PyThreadState* __tstate = wxPyBeginAllowThreads();
41879 result = wxDatePickerCtrl_GetLowerLimit(arg1);
41880 wxPyEndAllowThreads(__tstate);
41881 if (PyErr_Occurred()) SWIG_fail;
41882 }
41883 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41884 return resultobj;
41885fail:
41886 return NULL;
d55e5bfc
RD
41887}
41888
41889
554f62e9
RD
41890SWIGINTERN PyObject *_wrap_DatePickerCtrl_GetUpperLimit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41891 PyObject *resultobj = 0;
41892 wxDatePickerCtrl *arg1 = (wxDatePickerCtrl *) 0 ;
41893 wxDateTime result;
41894 void *argp1 = 0 ;
41895 int res1 = 0 ;
41896 PyObject *swig_obj[1] ;
41897
41898 if (!args) SWIG_fail;
41899 swig_obj[0] = args;
41900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDatePickerCtrl, 0 | 0 );
41901 if (!SWIG_IsOK(res1)) {
41902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41903 }
41904 arg1 = reinterpret_cast< wxDatePickerCtrl * >(argp1);
41905 {
41906 PyThreadState* __tstate = wxPyBeginAllowThreads();
41907 result = wxDatePickerCtrl_GetUpperLimit(arg1);
41908 wxPyEndAllowThreads(__tstate);
41909 if (PyErr_Occurred()) SWIG_fail;
41910 }
41911 resultobj = SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime& >(result))), SWIGTYPE_p_wxDateTime, SWIG_POINTER_OWN | 0 );
41912 return resultobj;
41913fail:
41914 return NULL;
d55e5bfc
RD
41915}
41916
41917
554f62e9
RD
41918SWIGINTERN PyObject *DatePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41919 PyObject *obj;
41920 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
41921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl, SWIG_NewClientData(obj));
41922 return SWIG_Py_Void();
d55e5bfc
RD
41923}
41924
554f62e9
RD
41925SWIGINTERN PyObject *DatePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
41926 return SWIG_Python_InitShadowInstance(args);
41927}
d55e5bfc 41928
704eda0c
RD
41929SWIGINTERN int HyperlinkCtrlNameStr_set(PyObject *) {
41930 SWIG_Error(SWIG_AttributeError,"Variable HyperlinkCtrlNameStr is read-only.");
41931 return 1;
41932}
41933
41934
41935SWIGINTERN PyObject *HyperlinkCtrlNameStr_get(void) {
41936 PyObject *pyobj = 0;
41937
41938 {
41939#if wxUSE_UNICODE
41940 pyobj = PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41941#else
41942 pyobj = PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr)->c_str(), (&wxPyHyperlinkCtrlNameStr)->Len());
41943#endif
41944 }
41945 return pyobj;
41946}
41947
41948
41949SWIGINTERN PyObject *_wrap_new_HyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
41950 PyObject *resultobj = 0;
41951 wxWindow *arg1 = (wxWindow *) 0 ;
41952 int arg2 ;
41953 wxString *arg3 = 0 ;
41954 wxString *arg4 = 0 ;
41955 wxPoint const &arg5_defvalue = wxDefaultPosition ;
41956 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
41957 wxSize const &arg6_defvalue = wxDefaultSize ;
41958 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
41959 long arg7 = (long) wxHL_DEFAULT_STYLE ;
41960 wxString const &arg8_defvalue = wxPyHyperlinkCtrlNameStr ;
41961 wxString *arg8 = (wxString *) &arg8_defvalue ;
41962 wxHyperlinkCtrl *result = 0 ;
41963 void *argp1 = 0 ;
41964 int res1 = 0 ;
41965 int val2 ;
41966 int ecode2 = 0 ;
41967 bool temp3 = false ;
41968 bool temp4 = false ;
41969 wxPoint temp5 ;
41970 wxSize temp6 ;
41971 long val7 ;
41972 int ecode7 = 0 ;
41973 bool temp8 = false ;
41974 PyObject * obj0 = 0 ;
41975 PyObject * obj1 = 0 ;
41976 PyObject * obj2 = 0 ;
41977 PyObject * obj3 = 0 ;
41978 PyObject * obj4 = 0 ;
41979 PyObject * obj5 = 0 ;
41980 PyObject * obj6 = 0 ;
41981 PyObject * obj7 = 0 ;
41982 char * kwnames[] = {
41983 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41984 };
41985
41986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
41987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
41988 if (!SWIG_IsOK(res1)) {
41989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41990 }
41991 arg1 = reinterpret_cast< wxWindow * >(argp1);
41992 ecode2 = SWIG_AsVal_int(obj1, &val2);
41993 if (!SWIG_IsOK(ecode2)) {
41994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41995 }
41996 arg2 = static_cast< int >(val2);
41997 {
41998 arg3 = wxString_in_helper(obj2);
41999 if (arg3 == NULL) SWIG_fail;
42000 temp3 = true;
42001 }
42002 {
42003 arg4 = wxString_in_helper(obj3);
42004 if (arg4 == NULL) SWIG_fail;
42005 temp4 = true;
42006 }
42007 if (obj4) {
42008 {
42009 arg5 = &temp5;
42010 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42011 }
42012 }
42013 if (obj5) {
42014 {
42015 arg6 = &temp6;
42016 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42017 }
42018 }
42019 if (obj6) {
42020 ecode7 = SWIG_AsVal_long(obj6, &val7);
42021 if (!SWIG_IsOK(ecode7)) {
42022 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42023 }
42024 arg7 = static_cast< long >(val7);
42025 }
42026 if (obj7) {
42027 {
42028 arg8 = wxString_in_helper(obj7);
42029 if (arg8 == NULL) SWIG_fail;
42030 temp8 = true;
42031 }
42032 }
42033 {
42034 if (!wxPyCheckForApp()) SWIG_fail;
42035 PyThreadState* __tstate = wxPyBeginAllowThreads();
42036 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
42037 wxPyEndAllowThreads(__tstate);
42038 if (PyErr_Occurred()) SWIG_fail;
42039 }
42040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_NEW | 0 );
42041 {
42042 if (temp3)
42043 delete arg3;
42044 }
42045 {
42046 if (temp4)
42047 delete arg4;
42048 }
42049 {
42050 if (temp8)
42051 delete arg8;
42052 }
42053 return resultobj;
42054fail:
42055 {
42056 if (temp3)
42057 delete arg3;
42058 }
42059 {
42060 if (temp4)
42061 delete arg4;
42062 }
42063 {
42064 if (temp8)
42065 delete arg8;
42066 }
42067 return NULL;
42068}
42069
42070
42071SWIGINTERN PyObject *_wrap_new_PreHyperlinkCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42072 PyObject *resultobj = 0;
42073 wxHyperlinkCtrl *result = 0 ;
42074
42075 if (!SWIG_Python_UnpackTuple(args,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail;
42076 {
42077 if (!wxPyCheckForApp()) SWIG_fail;
42078 PyThreadState* __tstate = wxPyBeginAllowThreads();
42079 result = (wxHyperlinkCtrl *)new wxHyperlinkCtrl();
42080 wxPyEndAllowThreads(__tstate);
42081 if (PyErr_Occurred()) SWIG_fail;
42082 }
42083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkCtrl, SWIG_POINTER_OWN | 0 );
42084 return resultobj;
42085fail:
42086 return NULL;
42087}
42088
42089
42090SWIGINTERN PyObject *_wrap_HyperlinkCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42091 PyObject *resultobj = 0;
42092 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42093 wxWindow *arg2 = (wxWindow *) 0 ;
42094 int arg3 ;
42095 wxString *arg4 = 0 ;
42096 wxString *arg5 = 0 ;
42097 wxPoint const &arg6_defvalue = wxDefaultPosition ;
42098 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
42099 wxSize const &arg7_defvalue = wxDefaultSize ;
42100 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
42101 long arg8 = (long) wxHL_DEFAULT_STYLE ;
42102 wxString const &arg9_defvalue = wxPyHyperlinkCtrlNameStr ;
42103 wxString *arg9 = (wxString *) &arg9_defvalue ;
42104 bool result;
42105 void *argp1 = 0 ;
42106 int res1 = 0 ;
42107 void *argp2 = 0 ;
42108 int res2 = 0 ;
42109 int val3 ;
42110 int ecode3 = 0 ;
42111 bool temp4 = false ;
42112 bool temp5 = false ;
42113 wxPoint temp6 ;
42114 wxSize temp7 ;
42115 long val8 ;
42116 int ecode8 = 0 ;
42117 bool temp9 = false ;
42118 PyObject * obj0 = 0 ;
42119 PyObject * obj1 = 0 ;
42120 PyObject * obj2 = 0 ;
42121 PyObject * obj3 = 0 ;
42122 PyObject * obj4 = 0 ;
42123 PyObject * obj5 = 0 ;
42124 PyObject * obj6 = 0 ;
42125 PyObject * obj7 = 0 ;
42126 PyObject * obj8 = 0 ;
42127 char * kwnames[] = {
42128 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42129 };
42130
42131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42133 if (!SWIG_IsOK(res1)) {
42134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42135 }
42136 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42138 if (!SWIG_IsOK(res2)) {
42139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42140 }
42141 arg2 = reinterpret_cast< wxWindow * >(argp2);
42142 ecode3 = SWIG_AsVal_int(obj2, &val3);
42143 if (!SWIG_IsOK(ecode3)) {
42144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42145 }
42146 arg3 = static_cast< int >(val3);
42147 {
42148 arg4 = wxString_in_helper(obj3);
42149 if (arg4 == NULL) SWIG_fail;
42150 temp4 = true;
42151 }
42152 {
42153 arg5 = wxString_in_helper(obj4);
42154 if (arg5 == NULL) SWIG_fail;
42155 temp5 = true;
42156 }
42157 if (obj5) {
42158 {
42159 arg6 = &temp6;
42160 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
42161 }
42162 }
42163 if (obj6) {
42164 {
42165 arg7 = &temp7;
42166 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
42167 }
42168 }
42169 if (obj7) {
42170 ecode8 = SWIG_AsVal_long(obj7, &val8);
42171 if (!SWIG_IsOK(ecode8)) {
42172 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42173 }
42174 arg8 = static_cast< long >(val8);
42175 }
42176 if (obj8) {
42177 {
42178 arg9 = wxString_in_helper(obj8);
42179 if (arg9 == NULL) SWIG_fail;
42180 temp9 = true;
42181 }
42182 }
42183 {
42184 PyThreadState* __tstate = wxPyBeginAllowThreads();
42185 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxString const &)*arg9);
42186 wxPyEndAllowThreads(__tstate);
42187 if (PyErr_Occurred()) SWIG_fail;
42188 }
42189 {
42190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42191 }
42192 {
42193 if (temp4)
42194 delete arg4;
42195 }
42196 {
42197 if (temp5)
42198 delete arg5;
42199 }
42200 {
42201 if (temp9)
42202 delete arg9;
42203 }
42204 return resultobj;
42205fail:
42206 {
42207 if (temp4)
42208 delete arg4;
42209 }
42210 {
42211 if (temp5)
42212 delete arg5;
42213 }
42214 {
42215 if (temp9)
42216 delete arg9;
42217 }
42218 return NULL;
42219}
42220
42221
42222SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42223 PyObject *resultobj = 0;
42224 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42225 wxColour result;
42226 void *argp1 = 0 ;
42227 int res1 = 0 ;
42228 PyObject *swig_obj[1] ;
42229
42230 if (!args) SWIG_fail;
42231 swig_obj[0] = args;
42232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42233 if (!SWIG_IsOK(res1)) {
42234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42235 }
42236 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42237 {
42238 PyThreadState* __tstate = wxPyBeginAllowThreads();
42239 result = ((wxHyperlinkCtrl const *)arg1)->GetHoverColour();
42240 wxPyEndAllowThreads(__tstate);
42241 if (PyErr_Occurred()) SWIG_fail;
42242 }
42243 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42244 return resultobj;
42245fail:
42246 return NULL;
42247}
42248
42249
42250SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetHoverColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42251 PyObject *resultobj = 0;
42252 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42253 wxColour *arg2 = 0 ;
42254 void *argp1 = 0 ;
42255 int res1 = 0 ;
42256 wxColour temp2 ;
42257 PyObject * obj0 = 0 ;
42258 PyObject * obj1 = 0 ;
42259 char * kwnames[] = {
42260 (char *) "self",(char *) "colour", NULL
42261 };
42262
42263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames,&obj0,&obj1)) SWIG_fail;
42264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42265 if (!SWIG_IsOK(res1)) {
42266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42267 }
42268 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42269 {
42270 arg2 = &temp2;
42271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42272 }
42273 {
42274 PyThreadState* __tstate = wxPyBeginAllowThreads();
42275 (arg1)->SetHoverColour((wxColour const &)*arg2);
42276 wxPyEndAllowThreads(__tstate);
42277 if (PyErr_Occurred()) SWIG_fail;
42278 }
42279 resultobj = SWIG_Py_Void();
42280 return resultobj;
42281fail:
42282 return NULL;
42283}
42284
42285
42286SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42287 PyObject *resultobj = 0;
42288 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42289 wxColour result;
42290 void *argp1 = 0 ;
42291 int res1 = 0 ;
42292 PyObject *swig_obj[1] ;
42293
42294 if (!args) SWIG_fail;
42295 swig_obj[0] = args;
42296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42297 if (!SWIG_IsOK(res1)) {
42298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42299 }
42300 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42301 {
42302 PyThreadState* __tstate = wxPyBeginAllowThreads();
42303 result = ((wxHyperlinkCtrl const *)arg1)->GetNormalColour();
42304 wxPyEndAllowThreads(__tstate);
42305 if (PyErr_Occurred()) SWIG_fail;
42306 }
42307 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42308 return resultobj;
42309fail:
42310 return NULL;
42311}
42312
42313
42314SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetNormalColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42315 PyObject *resultobj = 0;
42316 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42317 wxColour *arg2 = 0 ;
42318 void *argp1 = 0 ;
42319 int res1 = 0 ;
42320 wxColour temp2 ;
42321 PyObject * obj0 = 0 ;
42322 PyObject * obj1 = 0 ;
42323 char * kwnames[] = {
42324 (char *) "self",(char *) "colour", NULL
42325 };
42326
42327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames,&obj0,&obj1)) SWIG_fail;
42328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42329 if (!SWIG_IsOK(res1)) {
42330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42331 }
42332 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42333 {
42334 arg2 = &temp2;
42335 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42336 }
42337 {
42338 PyThreadState* __tstate = wxPyBeginAllowThreads();
42339 (arg1)->SetNormalColour((wxColour const &)*arg2);
42340 wxPyEndAllowThreads(__tstate);
42341 if (PyErr_Occurred()) SWIG_fail;
42342 }
42343 resultobj = SWIG_Py_Void();
42344 return resultobj;
42345fail:
42346 return NULL;
42347}
42348
42349
42350SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42351 PyObject *resultobj = 0;
42352 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42353 wxColour result;
42354 void *argp1 = 0 ;
42355 int res1 = 0 ;
42356 PyObject *swig_obj[1] ;
42357
42358 if (!args) SWIG_fail;
42359 swig_obj[0] = args;
42360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42361 if (!SWIG_IsOK(res1)) {
42362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42363 }
42364 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42365 {
42366 PyThreadState* __tstate = wxPyBeginAllowThreads();
42367 result = ((wxHyperlinkCtrl const *)arg1)->GetVisitedColour();
42368 wxPyEndAllowThreads(__tstate);
42369 if (PyErr_Occurred()) SWIG_fail;
42370 }
42371 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
42372 return resultobj;
42373fail:
42374 return NULL;
42375}
42376
42377
42378SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisitedColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42379 PyObject *resultobj = 0;
42380 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42381 wxColour *arg2 = 0 ;
42382 void *argp1 = 0 ;
42383 int res1 = 0 ;
42384 wxColour temp2 ;
42385 PyObject * obj0 = 0 ;
42386 PyObject * obj1 = 0 ;
42387 char * kwnames[] = {
42388 (char *) "self",(char *) "colour", NULL
42389 };
42390
42391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames,&obj0,&obj1)) SWIG_fail;
42392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42393 if (!SWIG_IsOK(res1)) {
42394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42395 }
42396 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42397 {
42398 arg2 = &temp2;
42399 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
42400 }
42401 {
42402 PyThreadState* __tstate = wxPyBeginAllowThreads();
42403 (arg1)->SetVisitedColour((wxColour const &)*arg2);
42404 wxPyEndAllowThreads(__tstate);
42405 if (PyErr_Occurred()) SWIG_fail;
42406 }
42407 resultobj = SWIG_Py_Void();
42408 return resultobj;
42409fail:
42410 return NULL;
42411}
42412
42413
42414SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42415 PyObject *resultobj = 0;
42416 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42417 wxString result;
42418 void *argp1 = 0 ;
42419 int res1 = 0 ;
42420 PyObject *swig_obj[1] ;
42421
42422 if (!args) SWIG_fail;
42423 swig_obj[0] = args;
42424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42425 if (!SWIG_IsOK(res1)) {
42426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42427 }
42428 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42429 {
42430 PyThreadState* __tstate = wxPyBeginAllowThreads();
42431 result = ((wxHyperlinkCtrl const *)arg1)->GetURL();
42432 wxPyEndAllowThreads(__tstate);
42433 if (PyErr_Occurred()) SWIG_fail;
42434 }
42435 {
42436#if wxUSE_UNICODE
42437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42438#else
42439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42440#endif
42441 }
42442 return resultobj;
42443fail:
42444 return NULL;
42445}
42446
42447
42448SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42449 PyObject *resultobj = 0;
42450 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42451 wxString *arg2 = 0 ;
42452 void *argp1 = 0 ;
42453 int res1 = 0 ;
42454 bool temp2 = false ;
42455 PyObject * obj0 = 0 ;
42456 PyObject * obj1 = 0 ;
42457 char * kwnames[] = {
42458 (char *) "self",(char *) "url", NULL
42459 };
42460
42461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkCtrl_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42463 if (!SWIG_IsOK(res1)) {
42464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42465 }
42466 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42467 {
42468 arg2 = wxString_in_helper(obj1);
42469 if (arg2 == NULL) SWIG_fail;
42470 temp2 = true;
42471 }
42472 {
42473 PyThreadState* __tstate = wxPyBeginAllowThreads();
42474 (arg1)->SetURL((wxString const &)*arg2);
42475 wxPyEndAllowThreads(__tstate);
42476 if (PyErr_Occurred()) SWIG_fail;
42477 }
42478 resultobj = SWIG_Py_Void();
42479 {
42480 if (temp2)
42481 delete arg2;
42482 }
42483 return resultobj;
42484fail:
42485 {
42486 if (temp2)
42487 delete arg2;
42488 }
42489 return NULL;
42490}
42491
42492
42493SWIGINTERN PyObject *_wrap_HyperlinkCtrl_SetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42494 PyObject *resultobj = 0;
42495 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42496 bool arg2 = (bool) true ;
42497 void *argp1 = 0 ;
42498 int res1 = 0 ;
42499 bool val2 ;
42500 int ecode2 = 0 ;
42501 PyObject * obj0 = 0 ;
42502 PyObject * obj1 = 0 ;
42503 char * kwnames[] = {
42504 (char *) "self",(char *) "visited", NULL
42505 };
42506
42507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames,&obj0,&obj1)) SWIG_fail;
42508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42509 if (!SWIG_IsOK(res1)) {
42510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42511 }
42512 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42513 if (obj1) {
42514 ecode2 = SWIG_AsVal_bool(obj1, &val2);
42515 if (!SWIG_IsOK(ecode2)) {
42516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42517 }
42518 arg2 = static_cast< bool >(val2);
42519 }
42520 {
42521 PyThreadState* __tstate = wxPyBeginAllowThreads();
42522 (arg1)->SetVisited(arg2);
42523 wxPyEndAllowThreads(__tstate);
42524 if (PyErr_Occurred()) SWIG_fail;
42525 }
42526 resultobj = SWIG_Py_Void();
42527 return resultobj;
42528fail:
42529 return NULL;
42530}
42531
42532
42533SWIGINTERN PyObject *_wrap_HyperlinkCtrl_GetVisited(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42534 PyObject *resultobj = 0;
42535 wxHyperlinkCtrl *arg1 = (wxHyperlinkCtrl *) 0 ;
42536 bool result;
42537 void *argp1 = 0 ;
42538 int res1 = 0 ;
42539 PyObject *swig_obj[1] ;
42540
42541 if (!args) SWIG_fail;
42542 swig_obj[0] = args;
42543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkCtrl, 0 | 0 );
42544 if (!SWIG_IsOK(res1)) {
42545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42546 }
42547 arg1 = reinterpret_cast< wxHyperlinkCtrl * >(argp1);
42548 {
42549 PyThreadState* __tstate = wxPyBeginAllowThreads();
42550 result = (bool)((wxHyperlinkCtrl const *)arg1)->GetVisited();
42551 wxPyEndAllowThreads(__tstate);
42552 if (PyErr_Occurred()) SWIG_fail;
42553 }
42554 {
42555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42556 }
42557 return resultobj;
42558fail:
42559 return NULL;
42560}
42561
42562
42563SWIGINTERN PyObject *HyperlinkCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42564 PyObject *obj;
42565 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42566 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl, SWIG_NewClientData(obj));
42567 return SWIG_Py_Void();
42568}
42569
42570SWIGINTERN PyObject *HyperlinkCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42571 return SWIG_Python_InitShadowInstance(args);
42572}
42573
42574SWIGINTERN PyObject *_wrap_new_HyperlinkEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42575 PyObject *resultobj = 0;
42576 wxObject *arg1 = (wxObject *) 0 ;
42577 int arg2 ;
42578 wxString *arg3 = 0 ;
42579 wxHyperlinkEvent *result = 0 ;
42580 void *argp1 = 0 ;
42581 int res1 = 0 ;
42582 int val2 ;
42583 int ecode2 = 0 ;
42584 bool temp3 = false ;
42585 PyObject * obj0 = 0 ;
42586 PyObject * obj1 = 0 ;
42587 PyObject * obj2 = 0 ;
42588 char * kwnames[] = {
42589 (char *) "generator",(char *) "id",(char *) "url", NULL
42590 };
42591
42592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_HyperlinkEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
42593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
42594 if (!SWIG_IsOK(res1)) {
42595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42596 }
42597 arg1 = reinterpret_cast< wxObject * >(argp1);
42598 ecode2 = SWIG_AsVal_int(obj1, &val2);
42599 if (!SWIG_IsOK(ecode2)) {
42600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42601 }
42602 arg2 = static_cast< int >(val2);
42603 {
42604 arg3 = wxString_in_helper(obj2);
42605 if (arg3 == NULL) SWIG_fail;
42606 temp3 = true;
42607 }
42608 {
42609 PyThreadState* __tstate = wxPyBeginAllowThreads();
42610 result = (wxHyperlinkEvent *)new wxHyperlinkEvent(arg1,arg2,(wxString const &)*arg3);
42611 wxPyEndAllowThreads(__tstate);
42612 if (PyErr_Occurred()) SWIG_fail;
42613 }
42614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxHyperlinkEvent, SWIG_POINTER_NEW | 0 );
42615 {
42616 if (temp3)
42617 delete arg3;
42618 }
42619 return resultobj;
42620fail:
42621 {
42622 if (temp3)
42623 delete arg3;
42624 }
42625 return NULL;
42626}
42627
42628
42629SWIGINTERN PyObject *_wrap_HyperlinkEvent_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42630 PyObject *resultobj = 0;
42631 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42632 wxString result;
42633 void *argp1 = 0 ;
42634 int res1 = 0 ;
42635 PyObject *swig_obj[1] ;
42636
42637 if (!args) SWIG_fail;
42638 swig_obj[0] = args;
42639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42640 if (!SWIG_IsOK(res1)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42642 }
42643 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42644 {
42645 PyThreadState* __tstate = wxPyBeginAllowThreads();
42646 result = ((wxHyperlinkEvent const *)arg1)->GetURL();
42647 wxPyEndAllowThreads(__tstate);
42648 if (PyErr_Occurred()) SWIG_fail;
42649 }
42650 {
42651#if wxUSE_UNICODE
42652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
42653#else
42654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
42655#endif
42656 }
42657 return resultobj;
42658fail:
42659 return NULL;
42660}
42661
42662
42663SWIGINTERN PyObject *_wrap_HyperlinkEvent_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42664 PyObject *resultobj = 0;
42665 wxHyperlinkEvent *arg1 = (wxHyperlinkEvent *) 0 ;
42666 wxString *arg2 = 0 ;
42667 void *argp1 = 0 ;
42668 int res1 = 0 ;
42669 bool temp2 = false ;
42670 PyObject * obj0 = 0 ;
42671 PyObject * obj1 = 0 ;
42672 char * kwnames[] = {
42673 (char *) "self",(char *) "url", NULL
42674 };
42675
42676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HyperlinkEvent_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
42677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxHyperlinkEvent, 0 | 0 );
42678 if (!SWIG_IsOK(res1)) {
42679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42680 }
42681 arg1 = reinterpret_cast< wxHyperlinkEvent * >(argp1);
42682 {
42683 arg2 = wxString_in_helper(obj1);
42684 if (arg2 == NULL) SWIG_fail;
42685 temp2 = true;
42686 }
42687 {
42688 PyThreadState* __tstate = wxPyBeginAllowThreads();
42689 (arg1)->SetURL((wxString const &)*arg2);
42690 wxPyEndAllowThreads(__tstate);
42691 if (PyErr_Occurred()) SWIG_fail;
42692 }
42693 resultobj = SWIG_Py_Void();
42694 {
42695 if (temp2)
42696 delete arg2;
42697 }
42698 return resultobj;
42699fail:
42700 {
42701 if (temp2)
42702 delete arg2;
42703 }
42704 return NULL;
42705}
42706
42707
42708SWIGINTERN PyObject *HyperlinkEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42709 PyObject *obj;
42710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
42711 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent, SWIG_NewClientData(obj));
42712 return SWIG_Py_Void();
42713}
42714
42715SWIGINTERN PyObject *HyperlinkEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42716 return SWIG_Python_InitShadowInstance(args);
42717}
42718
b850e7f3
RD
42719SWIGINTERN PyObject *_wrap_PickerBase_CreateBase(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42720 PyObject *resultobj = 0;
42721 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42722 wxWindow *arg2 = (wxWindow *) 0 ;
42723 int arg3 ;
42724 wxString const &arg4_defvalue = wxEmptyString ;
42725 wxString *arg4 = (wxString *) &arg4_defvalue ;
42726 wxPoint const &arg5_defvalue = wxDefaultPosition ;
42727 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
42728 wxSize const &arg6_defvalue = wxDefaultSize ;
42729 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
42730 long arg7 = (long) 0 ;
42731 wxValidator const &arg8_defvalue = wxDefaultValidator ;
42732 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
42733 wxString const &arg9_defvalue = wxButtonNameStr ;
42734 wxString *arg9 = (wxString *) &arg9_defvalue ;
42735 bool result;
42736 void *argp1 = 0 ;
42737 int res1 = 0 ;
42738 void *argp2 = 0 ;
42739 int res2 = 0 ;
42740 int val3 ;
42741 int ecode3 = 0 ;
42742 bool temp4 = false ;
42743 wxPoint temp5 ;
42744 wxSize temp6 ;
42745 long val7 ;
42746 int ecode7 = 0 ;
42747 void *argp8 = 0 ;
42748 int res8 = 0 ;
42749 bool temp9 = false ;
42750 PyObject * obj0 = 0 ;
42751 PyObject * obj1 = 0 ;
42752 PyObject * obj2 = 0 ;
42753 PyObject * obj3 = 0 ;
42754 PyObject * obj4 = 0 ;
42755 PyObject * obj5 = 0 ;
42756 PyObject * obj6 = 0 ;
42757 PyObject * obj7 = 0 ;
42758 PyObject * obj8 = 0 ;
42759 char * kwnames[] = {
42760 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42761 };
42762
42763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
42764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42765 if (!SWIG_IsOK(res1)) {
42766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42767 }
42768 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
42770 if (!SWIG_IsOK(res2)) {
42771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42772 }
42773 arg2 = reinterpret_cast< wxWindow * >(argp2);
42774 ecode3 = SWIG_AsVal_int(obj2, &val3);
42775 if (!SWIG_IsOK(ecode3)) {
42776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42777 }
42778 arg3 = static_cast< int >(val3);
42779 if (obj3) {
42780 {
42781 arg4 = wxString_in_helper(obj3);
42782 if (arg4 == NULL) SWIG_fail;
42783 temp4 = true;
42784 }
42785 }
42786 if (obj4) {
42787 {
42788 arg5 = &temp5;
42789 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
42790 }
42791 }
42792 if (obj5) {
42793 {
42794 arg6 = &temp6;
42795 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
42796 }
42797 }
42798 if (obj6) {
42799 ecode7 = SWIG_AsVal_long(obj6, &val7);
42800 if (!SWIG_IsOK(ecode7)) {
42801 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42802 }
42803 arg7 = static_cast< long >(val7);
42804 }
42805 if (obj7) {
42806 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
42807 if (!SWIG_IsOK(res8)) {
42808 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42809 }
42810 if (!argp8) {
42811 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42812 }
42813 arg8 = reinterpret_cast< wxValidator * >(argp8);
42814 }
42815 if (obj8) {
42816 {
42817 arg9 = wxString_in_helper(obj8);
42818 if (arg9 == NULL) SWIG_fail;
42819 temp9 = true;
42820 }
42821 }
42822 {
42823 PyThreadState* __tstate = wxPyBeginAllowThreads();
42824 result = (bool)(arg1)->CreateBase(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
42825 wxPyEndAllowThreads(__tstate);
42826 if (PyErr_Occurred()) SWIG_fail;
42827 }
42828 {
42829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
42830 }
42831 {
42832 if (temp4)
42833 delete arg4;
42834 }
42835 {
42836 if (temp9)
42837 delete arg9;
42838 }
42839 return resultobj;
42840fail:
42841 {
42842 if (temp4)
42843 delete arg4;
42844 }
42845 {
42846 if (temp9)
42847 delete arg9;
42848 }
42849 return NULL;
42850}
42851
42852
42853SWIGINTERN PyObject *_wrap_PickerBase_SetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42854 PyObject *resultobj = 0;
42855 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42856 int arg2 ;
42857 void *argp1 = 0 ;
42858 int res1 = 0 ;
42859 int val2 ;
42860 int ecode2 = 0 ;
42861 PyObject * obj0 = 0 ;
42862 PyObject * obj1 = 0 ;
42863 char * kwnames[] = {
42864 (char *) "self",(char *) "newmargin", NULL
42865 };
42866
42867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetInternalMargin",kwnames,&obj0,&obj1)) SWIG_fail;
42868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42869 if (!SWIG_IsOK(res1)) {
42870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42871 }
42872 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42873 ecode2 = SWIG_AsVal_int(obj1, &val2);
42874 if (!SWIG_IsOK(ecode2)) {
42875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42876 }
42877 arg2 = static_cast< int >(val2);
42878 {
42879 PyThreadState* __tstate = wxPyBeginAllowThreads();
42880 (arg1)->SetInternalMargin(arg2);
42881 wxPyEndAllowThreads(__tstate);
42882 if (PyErr_Occurred()) SWIG_fail;
42883 }
42884 resultobj = SWIG_Py_Void();
42885 return resultobj;
42886fail:
42887 return NULL;
42888}
42889
42890
42891SWIGINTERN PyObject *_wrap_PickerBase_GetInternalMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42892 PyObject *resultobj = 0;
42893 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42894 int result;
42895 void *argp1 = 0 ;
42896 int res1 = 0 ;
42897 PyObject *swig_obj[1] ;
42898
42899 if (!args) SWIG_fail;
42900 swig_obj[0] = args;
42901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42902 if (!SWIG_IsOK(res1)) {
42903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42904 }
42905 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42906 {
42907 PyThreadState* __tstate = wxPyBeginAllowThreads();
42908 result = (int)((wxPickerBase const *)arg1)->GetInternalMargin();
42909 wxPyEndAllowThreads(__tstate);
42910 if (PyErr_Occurred()) SWIG_fail;
42911 }
42912 resultobj = SWIG_From_int(static_cast< int >(result));
42913 return resultobj;
42914fail:
42915 return NULL;
42916}
42917
42918
42919SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42920 PyObject *resultobj = 0;
42921 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42922 int arg2 ;
42923 void *argp1 = 0 ;
42924 int res1 = 0 ;
42925 int val2 ;
42926 int ecode2 = 0 ;
42927 PyObject * obj0 = 0 ;
42928 PyObject * obj1 = 0 ;
42929 char * kwnames[] = {
42930 (char *) "self",(char *) "prop", NULL
42931 };
42932
42933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
42934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42935 if (!SWIG_IsOK(res1)) {
42936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42937 }
42938 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42939 ecode2 = SWIG_AsVal_int(obj1, &val2);
42940 if (!SWIG_IsOK(ecode2)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42942 }
42943 arg2 = static_cast< int >(val2);
42944 {
42945 PyThreadState* __tstate = wxPyBeginAllowThreads();
42946 (arg1)->SetTextCtrlProportion(arg2);
42947 wxPyEndAllowThreads(__tstate);
42948 if (PyErr_Occurred()) SWIG_fail;
42949 }
42950 resultobj = SWIG_Py_Void();
42951 return resultobj;
42952fail:
42953 return NULL;
42954}
42955
42956
42957SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
42958 PyObject *resultobj = 0;
42959 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42960 int result;
42961 void *argp1 = 0 ;
42962 int res1 = 0 ;
42963 PyObject *swig_obj[1] ;
42964
42965 if (!args) SWIG_fail;
42966 swig_obj[0] = args;
42967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
42968 if (!SWIG_IsOK(res1)) {
42969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42970 }
42971 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
42972 {
42973 PyThreadState* __tstate = wxPyBeginAllowThreads();
42974 result = (int)((wxPickerBase const *)arg1)->GetTextCtrlProportion();
42975 wxPyEndAllowThreads(__tstate);
42976 if (PyErr_Occurred()) SWIG_fail;
42977 }
42978 resultobj = SWIG_From_int(static_cast< int >(result));
42979 return resultobj;
42980fail:
42981 return NULL;
42982}
42983
42984
1eeb270e
RD
42985SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
42986 PyObject *resultobj = 0;
42987 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
42988 int arg2 ;
42989 void *argp1 = 0 ;
42990 int res1 = 0 ;
42991 int val2 ;
42992 int ecode2 = 0 ;
42993 PyObject * obj0 = 0 ;
42994 PyObject * obj1 = 0 ;
42995 char * kwnames[] = {
42996 (char *) "self",(char *) "prop", NULL
42997 };
42998
42999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames,&obj0,&obj1)) SWIG_fail;
43000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43001 if (!SWIG_IsOK(res1)) {
43002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43003 }
43004 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43005 ecode2 = SWIG_AsVal_int(obj1, &val2);
43006 if (!SWIG_IsOK(ecode2)) {
43007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43008 }
43009 arg2 = static_cast< int >(val2);
43010 {
43011 PyThreadState* __tstate = wxPyBeginAllowThreads();
43012 (arg1)->SetPickerCtrlProportion(arg2);
43013 wxPyEndAllowThreads(__tstate);
43014 if (PyErr_Occurred()) SWIG_fail;
43015 }
43016 resultobj = SWIG_Py_Void();
43017 return resultobj;
43018fail:
43019 return NULL;
43020}
43021
43022
43023SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrlProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43024 PyObject *resultobj = 0;
43025 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43026 int result;
43027 void *argp1 = 0 ;
43028 int res1 = 0 ;
43029 PyObject *swig_obj[1] ;
43030
43031 if (!args) SWIG_fail;
43032 swig_obj[0] = args;
43033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43034 if (!SWIG_IsOK(res1)) {
43035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43036 }
43037 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43038 {
43039 PyThreadState* __tstate = wxPyBeginAllowThreads();
43040 result = (int)((wxPickerBase const *)arg1)->GetPickerCtrlProportion();
43041 wxPyEndAllowThreads(__tstate);
43042 if (PyErr_Occurred()) SWIG_fail;
43043 }
43044 resultobj = SWIG_From_int(static_cast< int >(result));
43045 return resultobj;
43046fail:
43047 return NULL;
43048}
43049
43050
b02396e8
RD
43051SWIGINTERN PyObject *_wrap_PickerBase_IsTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43052 PyObject *resultobj = 0;
43053 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43054 bool result;
43055 void *argp1 = 0 ;
43056 int res1 = 0 ;
43057 PyObject *swig_obj[1] ;
43058
43059 if (!args) SWIG_fail;
43060 swig_obj[0] = args;
43061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43062 if (!SWIG_IsOK(res1)) {
43063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43064 }
43065 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43066 {
43067 PyThreadState* __tstate = wxPyBeginAllowThreads();
43068 result = (bool)((wxPickerBase const *)arg1)->IsTextCtrlGrowable();
43069 wxPyEndAllowThreads(__tstate);
43070 if (PyErr_Occurred()) SWIG_fail;
43071 }
43072 {
43073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43074 }
43075 return resultobj;
43076fail:
43077 return NULL;
43078}
43079
43080
43081SWIGINTERN PyObject *_wrap_PickerBase_SetTextCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43082 PyObject *resultobj = 0;
43083 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43084 bool arg2 = (bool) true ;
43085 void *argp1 = 0 ;
43086 int res1 = 0 ;
43087 bool val2 ;
43088 int ecode2 = 0 ;
43089 PyObject * obj0 = 0 ;
43090 PyObject * obj1 = 0 ;
43091 char * kwnames[] = {
43092 (char *) "self",(char *) "grow", NULL
43093 };
43094
43095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43097 if (!SWIG_IsOK(res1)) {
43098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43099 }
43100 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43101 if (obj1) {
43102 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43103 if (!SWIG_IsOK(ecode2)) {
43104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43105 }
43106 arg2 = static_cast< bool >(val2);
43107 }
43108 {
43109 PyThreadState* __tstate = wxPyBeginAllowThreads();
43110 (arg1)->SetTextCtrlGrowable(arg2);
43111 wxPyEndAllowThreads(__tstate);
43112 if (PyErr_Occurred()) SWIG_fail;
43113 }
43114 resultobj = SWIG_Py_Void();
43115 return resultobj;
43116fail:
43117 return NULL;
43118}
43119
43120
43121SWIGINTERN PyObject *_wrap_PickerBase_IsPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43122 PyObject *resultobj = 0;
43123 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43124 bool result;
43125 void *argp1 = 0 ;
43126 int res1 = 0 ;
43127 PyObject *swig_obj[1] ;
43128
43129 if (!args) SWIG_fail;
43130 swig_obj[0] = args;
43131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43132 if (!SWIG_IsOK(res1)) {
43133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43134 }
43135 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43136 {
43137 PyThreadState* __tstate = wxPyBeginAllowThreads();
43138 result = (bool)((wxPickerBase const *)arg1)->IsPickerCtrlGrowable();
43139 wxPyEndAllowThreads(__tstate);
43140 if (PyErr_Occurred()) SWIG_fail;
43141 }
43142 {
43143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43144 }
43145 return resultobj;
43146fail:
43147 return NULL;
43148}
43149
43150
43151SWIGINTERN PyObject *_wrap_PickerBase_SetPickerCtrlGrowable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43152 PyObject *resultobj = 0;
43153 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43154 bool arg2 = (bool) true ;
43155 void *argp1 = 0 ;
43156 int res1 = 0 ;
43157 bool val2 ;
43158 int ecode2 = 0 ;
43159 PyObject * obj0 = 0 ;
43160 PyObject * obj1 = 0 ;
43161 char * kwnames[] = {
43162 (char *) "self",(char *) "grow", NULL
43163 };
43164
43165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames,&obj0,&obj1)) SWIG_fail;
43166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43167 if (!SWIG_IsOK(res1)) {
43168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43169 }
43170 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43171 if (obj1) {
43172 ecode2 = SWIG_AsVal_bool(obj1, &val2);
43173 if (!SWIG_IsOK(ecode2)) {
43174 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43175 }
43176 arg2 = static_cast< bool >(val2);
43177 }
43178 {
43179 PyThreadState* __tstate = wxPyBeginAllowThreads();
43180 (arg1)->SetPickerCtrlGrowable(arg2);
43181 wxPyEndAllowThreads(__tstate);
43182 if (PyErr_Occurred()) SWIG_fail;
43183 }
43184 resultobj = SWIG_Py_Void();
43185 return resultobj;
43186fail:
43187 return NULL;
43188}
43189
43190
b850e7f3
RD
43191SWIGINTERN PyObject *_wrap_PickerBase_HasTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43192 PyObject *resultobj = 0;
43193 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43194 bool result;
43195 void *argp1 = 0 ;
43196 int res1 = 0 ;
43197 PyObject *swig_obj[1] ;
43198
43199 if (!args) SWIG_fail;
43200 swig_obj[0] = args;
43201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43202 if (!SWIG_IsOK(res1)) {
43203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43204 }
43205 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43206 {
43207 PyThreadState* __tstate = wxPyBeginAllowThreads();
43208 result = (bool)((wxPickerBase const *)arg1)->HasTextCtrl();
43209 wxPyEndAllowThreads(__tstate);
43210 if (PyErr_Occurred()) SWIG_fail;
43211 }
43212 {
43213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43214 }
43215 return resultobj;
43216fail:
43217 return NULL;
43218}
43219
43220
43221SWIGINTERN PyObject *_wrap_PickerBase_GetTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43222 PyObject *resultobj = 0;
43223 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43224 wxTextCtrl *result = 0 ;
43225 void *argp1 = 0 ;
43226 int res1 = 0 ;
43227 PyObject *swig_obj[1] ;
43228
43229 if (!args) SWIG_fail;
43230 swig_obj[0] = args;
43231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43232 if (!SWIG_IsOK(res1)) {
43233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43234 }
43235 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43236 {
43237 PyThreadState* __tstate = wxPyBeginAllowThreads();
43238 result = (wxTextCtrl *)(arg1)->GetTextCtrl();
43239 wxPyEndAllowThreads(__tstate);
43240 if (PyErr_Occurred()) SWIG_fail;
43241 }
43242 {
43243 resultobj = wxPyMake_wxObject(result, 0);
43244 }
43245 return resultobj;
43246fail:
43247 return NULL;
43248}
43249
43250
43251SWIGINTERN PyObject *_wrap_PickerBase_GetPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43252 PyObject *resultobj = 0;
43253 wxPickerBase *arg1 = (wxPickerBase *) 0 ;
43254 wxControl *result = 0 ;
43255 void *argp1 = 0 ;
43256 int res1 = 0 ;
43257 PyObject *swig_obj[1] ;
43258
43259 if (!args) SWIG_fail;
43260 swig_obj[0] = args;
43261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPickerBase, 0 | 0 );
43262 if (!SWIG_IsOK(res1)) {
43263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43264 }
43265 arg1 = reinterpret_cast< wxPickerBase * >(argp1);
43266 {
43267 PyThreadState* __tstate = wxPyBeginAllowThreads();
43268 result = (wxControl *)(arg1)->GetPickerCtrl();
43269 wxPyEndAllowThreads(__tstate);
43270 if (PyErr_Occurred()) SWIG_fail;
43271 }
43272 {
43273 resultobj = wxPyMake_wxObject(result, 0);
43274 }
43275 return resultobj;
43276fail:
43277 return NULL;
43278}
43279
43280
43281SWIGINTERN PyObject *PickerBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43282 PyObject *obj;
43283 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase, SWIG_NewClientData(obj));
43285 return SWIG_Py_Void();
43286}
43287
43288SWIGINTERN int ColourPickerCtrlNameStr_set(PyObject *) {
43289 SWIG_Error(SWIG_AttributeError,"Variable ColourPickerCtrlNameStr is read-only.");
43290 return 1;
43291}
43292
43293
43294SWIGINTERN PyObject *ColourPickerCtrlNameStr_get(void) {
43295 PyObject *pyobj = 0;
43296
43297 {
43298#if wxUSE_UNICODE
43299 pyobj = PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43300#else
43301 pyobj = PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr)->c_str(), (&wxPyColourPickerCtrlNameStr)->Len());
43302#endif
43303 }
43304 return pyobj;
43305}
43306
43307
43308SWIGINTERN PyObject *_wrap_new_ColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43309 PyObject *resultobj = 0;
43310 wxWindow *arg1 = (wxWindow *) 0 ;
43311 int arg2 = (int) -1 ;
43312 wxColour const &arg3_defvalue = *wxBLACK ;
43313 wxColour *arg3 = (wxColour *) &arg3_defvalue ;
43314 wxPoint const &arg4_defvalue = wxDefaultPosition ;
43315 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
43316 wxSize const &arg5_defvalue = wxDefaultSize ;
43317 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
43318 long arg6 = (long) wxCLRP_DEFAULT_STYLE ;
43319 wxValidator const &arg7_defvalue = wxDefaultValidator ;
43320 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
43321 wxString const &arg8_defvalue = wxPyColourPickerCtrlNameStr ;
43322 wxString *arg8 = (wxString *) &arg8_defvalue ;
43323 wxColourPickerCtrl *result = 0 ;
43324 void *argp1 = 0 ;
43325 int res1 = 0 ;
43326 int val2 ;
43327 int ecode2 = 0 ;
43328 wxColour temp3 ;
43329 wxPoint temp4 ;
43330 wxSize temp5 ;
43331 long val6 ;
43332 int ecode6 = 0 ;
43333 void *argp7 = 0 ;
43334 int res7 = 0 ;
43335 bool temp8 = false ;
43336 PyObject * obj0 = 0 ;
43337 PyObject * obj1 = 0 ;
43338 PyObject * obj2 = 0 ;
43339 PyObject * obj3 = 0 ;
43340 PyObject * obj4 = 0 ;
43341 PyObject * obj5 = 0 ;
43342 PyObject * obj6 = 0 ;
43343 PyObject * obj7 = 0 ;
43344 char * kwnames[] = {
43345 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43346 };
43347
43348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
43349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43350 if (!SWIG_IsOK(res1)) {
43351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43352 }
43353 arg1 = reinterpret_cast< wxWindow * >(argp1);
43354 if (obj1) {
43355 ecode2 = SWIG_AsVal_int(obj1, &val2);
43356 if (!SWIG_IsOK(ecode2)) {
43357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43358 }
43359 arg2 = static_cast< int >(val2);
43360 }
43361 if (obj2) {
43362 {
43363 arg3 = &temp3;
43364 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43365 }
43366 }
43367 if (obj3) {
43368 {
43369 arg4 = &temp4;
43370 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
43371 }
43372 }
43373 if (obj4) {
43374 {
43375 arg5 = &temp5;
43376 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
43377 }
43378 }
43379 if (obj5) {
43380 ecode6 = SWIG_AsVal_long(obj5, &val6);
43381 if (!SWIG_IsOK(ecode6)) {
43382 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43383 }
43384 arg6 = static_cast< long >(val6);
43385 }
43386 if (obj6) {
43387 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
43388 if (!SWIG_IsOK(res7)) {
43389 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43390 }
43391 if (!argp7) {
43392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43393 }
43394 arg7 = reinterpret_cast< wxValidator * >(argp7);
43395 }
43396 if (obj7) {
43397 {
43398 arg8 = wxString_in_helper(obj7);
43399 if (arg8 == NULL) SWIG_fail;
43400 temp8 = true;
43401 }
43402 }
43403 {
43404 if (!wxPyCheckForApp()) SWIG_fail;
43405 PyThreadState* __tstate = wxPyBeginAllowThreads();
43406 result = (wxColourPickerCtrl *)new wxColourPickerCtrl(arg1,arg2,(wxColour const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
43407 wxPyEndAllowThreads(__tstate);
43408 if (PyErr_Occurred()) SWIG_fail;
43409 }
43410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_NEW | 0 );
43411 {
43412 if (temp8)
43413 delete arg8;
43414 }
43415 return resultobj;
43416fail:
43417 {
43418 if (temp8)
43419 delete arg8;
43420 }
43421 return NULL;
43422}
43423
43424
43425SWIGINTERN PyObject *_wrap_new_PreColourPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43426 PyObject *resultobj = 0;
43427 wxColourPickerCtrl *result = 0 ;
43428
43429 if (!SWIG_Python_UnpackTuple(args,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail;
43430 {
43431 if (!wxPyCheckForApp()) SWIG_fail;
43432 PyThreadState* __tstate = wxPyBeginAllowThreads();
43433 result = (wxColourPickerCtrl *)new wxColourPickerCtrl();
43434 wxPyEndAllowThreads(__tstate);
43435 if (PyErr_Occurred()) SWIG_fail;
43436 }
43437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerCtrl, SWIG_POINTER_OWN | 0 );
43438 return resultobj;
43439fail:
43440 return NULL;
43441}
43442
43443
43444SWIGINTERN PyObject *_wrap_ColourPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43445 PyObject *resultobj = 0;
43446 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43447 wxWindow *arg2 = (wxWindow *) 0 ;
43448 int arg3 ;
43449 wxColour const &arg4_defvalue = *wxBLACK ;
43450 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
43451 wxPoint const &arg5_defvalue = wxDefaultPosition ;
43452 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
43453 wxSize const &arg6_defvalue = wxDefaultSize ;
43454 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
43455 long arg7 = (long) wxCLRP_DEFAULT_STYLE ;
43456 wxValidator const &arg8_defvalue = wxDefaultValidator ;
43457 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
43458 wxString const &arg9_defvalue = wxPyColourPickerCtrlNameStr ;
43459 wxString *arg9 = (wxString *) &arg9_defvalue ;
43460 bool result;
43461 void *argp1 = 0 ;
43462 int res1 = 0 ;
43463 void *argp2 = 0 ;
43464 int res2 = 0 ;
43465 int val3 ;
43466 int ecode3 = 0 ;
43467 wxColour temp4 ;
43468 wxPoint temp5 ;
43469 wxSize temp6 ;
43470 long val7 ;
43471 int ecode7 = 0 ;
43472 void *argp8 = 0 ;
43473 int res8 = 0 ;
43474 bool temp9 = false ;
43475 PyObject * obj0 = 0 ;
43476 PyObject * obj1 = 0 ;
43477 PyObject * obj2 = 0 ;
43478 PyObject * obj3 = 0 ;
43479 PyObject * obj4 = 0 ;
43480 PyObject * obj5 = 0 ;
43481 PyObject * obj6 = 0 ;
43482 PyObject * obj7 = 0 ;
43483 PyObject * obj8 = 0 ;
43484 char * kwnames[] = {
43485 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43486 };
43487
43488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
43489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43490 if (!SWIG_IsOK(res1)) {
43491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43492 }
43493 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
43495 if (!SWIG_IsOK(res2)) {
43496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43497 }
43498 arg2 = reinterpret_cast< wxWindow * >(argp2);
43499 ecode3 = SWIG_AsVal_int(obj2, &val3);
43500 if (!SWIG_IsOK(ecode3)) {
43501 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43502 }
43503 arg3 = static_cast< int >(val3);
43504 if (obj3) {
43505 {
43506 arg4 = &temp4;
43507 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
43508 }
43509 }
43510 if (obj4) {
43511 {
43512 arg5 = &temp5;
43513 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
43514 }
43515 }
43516 if (obj5) {
43517 {
43518 arg6 = &temp6;
43519 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
43520 }
43521 }
43522 if (obj6) {
43523 ecode7 = SWIG_AsVal_long(obj6, &val7);
43524 if (!SWIG_IsOK(ecode7)) {
43525 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43526 }
43527 arg7 = static_cast< long >(val7);
43528 }
43529 if (obj7) {
43530 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
43531 if (!SWIG_IsOK(res8)) {
43532 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43533 }
43534 if (!argp8) {
43535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43536 }
43537 arg8 = reinterpret_cast< wxValidator * >(argp8);
43538 }
43539 if (obj8) {
43540 {
43541 arg9 = wxString_in_helper(obj8);
43542 if (arg9 == NULL) SWIG_fail;
43543 temp9 = true;
43544 }
43545 }
43546 {
43547 PyThreadState* __tstate = wxPyBeginAllowThreads();
43548 result = (bool)(arg1)->Create(arg2,arg3,(wxColour const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
43549 wxPyEndAllowThreads(__tstate);
43550 if (PyErr_Occurred()) SWIG_fail;
43551 }
43552 {
43553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
43554 }
43555 {
43556 if (temp9)
43557 delete arg9;
43558 }
43559 return resultobj;
43560fail:
43561 {
43562 if (temp9)
43563 delete arg9;
43564 }
43565 return NULL;
43566}
43567
43568
43569SWIGINTERN PyObject *_wrap_ColourPickerCtrl_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43570 PyObject *resultobj = 0;
43571 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43572 wxColour result;
43573 void *argp1 = 0 ;
43574 int res1 = 0 ;
43575 PyObject *swig_obj[1] ;
43576
43577 if (!args) SWIG_fail;
43578 swig_obj[0] = args;
43579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43580 if (!SWIG_IsOK(res1)) {
43581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43582 }
43583 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43584 {
43585 PyThreadState* __tstate = wxPyBeginAllowThreads();
43586 result = ((wxColourPickerCtrl const *)arg1)->GetColour();
43587 wxPyEndAllowThreads(__tstate);
43588 if (PyErr_Occurred()) SWIG_fail;
43589 }
43590 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43591 return resultobj;
43592fail:
43593 return NULL;
43594}
43595
43596
43597SWIGINTERN PyObject *_wrap_ColourPickerCtrl_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43598 PyObject *resultobj = 0;
43599 wxColourPickerCtrl *arg1 = (wxColourPickerCtrl *) 0 ;
43600 wxColour *arg2 = 0 ;
43601 void *argp1 = 0 ;
43602 int res1 = 0 ;
43603 wxColour temp2 ;
43604 PyObject * obj0 = 0 ;
43605 PyObject * obj1 = 0 ;
43606 char * kwnames[] = {
43607 (char *) "self",(char *) "col", NULL
43608 };
43609
43610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerCtrl_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerCtrl, 0 | 0 );
43612 if (!SWIG_IsOK(res1)) {
43613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43614 }
43615 arg1 = reinterpret_cast< wxColourPickerCtrl * >(argp1);
43616 {
43617 arg2 = &temp2;
43618 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43619 }
43620 {
43621 PyThreadState* __tstate = wxPyBeginAllowThreads();
43622 (arg1)->SetColour((wxColour const &)*arg2);
43623 wxPyEndAllowThreads(__tstate);
43624 if (PyErr_Occurred()) SWIG_fail;
43625 }
43626 resultobj = SWIG_Py_Void();
43627 return resultobj;
43628fail:
43629 return NULL;
43630}
43631
43632
43633SWIGINTERN PyObject *ColourPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43634 PyObject *obj;
43635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43636 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl, SWIG_NewClientData(obj));
43637 return SWIG_Py_Void();
43638}
43639
43640SWIGINTERN PyObject *ColourPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43641 return SWIG_Python_InitShadowInstance(args);
43642}
43643
43644SWIGINTERN PyObject *_wrap_new_ColourPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43645 PyObject *resultobj = 0;
43646 wxObject *arg1 = (wxObject *) 0 ;
43647 int arg2 ;
43648 wxColour *arg3 = 0 ;
43649 wxColourPickerEvent *result = 0 ;
43650 void *argp1 = 0 ;
43651 int res1 = 0 ;
43652 int val2 ;
43653 int ecode2 = 0 ;
43654 wxColour temp3 ;
43655 PyObject * obj0 = 0 ;
43656 PyObject * obj1 = 0 ;
43657 PyObject * obj2 = 0 ;
43658 char * kwnames[] = {
43659 (char *) "generator",(char *) "id",(char *) "col", NULL
43660 };
43661
43662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ColourPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
43663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
43664 if (!SWIG_IsOK(res1)) {
43665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43666 }
43667 arg1 = reinterpret_cast< wxObject * >(argp1);
43668 ecode2 = SWIG_AsVal_int(obj1, &val2);
43669 if (!SWIG_IsOK(ecode2)) {
43670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43671 }
43672 arg2 = static_cast< int >(val2);
43673 {
43674 arg3 = &temp3;
43675 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
43676 }
43677 {
43678 PyThreadState* __tstate = wxPyBeginAllowThreads();
43679 result = (wxColourPickerEvent *)new wxColourPickerEvent(arg1,arg2,(wxColour const &)*arg3);
43680 wxPyEndAllowThreads(__tstate);
43681 if (PyErr_Occurred()) SWIG_fail;
43682 }
43683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourPickerEvent, SWIG_POINTER_NEW | 0 );
43684 return resultobj;
43685fail:
43686 return NULL;
43687}
43688
43689
43690SWIGINTERN PyObject *_wrap_ColourPickerEvent_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43691 PyObject *resultobj = 0;
43692 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43693 wxColour result;
43694 void *argp1 = 0 ;
43695 int res1 = 0 ;
43696 PyObject *swig_obj[1] ;
43697
43698 if (!args) SWIG_fail;
43699 swig_obj[0] = args;
43700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43701 if (!SWIG_IsOK(res1)) {
43702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43703 }
43704 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43705 {
43706 PyThreadState* __tstate = wxPyBeginAllowThreads();
43707 result = ((wxColourPickerEvent const *)arg1)->GetColour();
43708 wxPyEndAllowThreads(__tstate);
43709 if (PyErr_Occurred()) SWIG_fail;
43710 }
43711 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
43712 return resultobj;
43713fail:
43714 return NULL;
43715}
43716
43717
43718SWIGINTERN PyObject *_wrap_ColourPickerEvent_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43719 PyObject *resultobj = 0;
43720 wxColourPickerEvent *arg1 = (wxColourPickerEvent *) 0 ;
43721 wxColour *arg2 = 0 ;
43722 void *argp1 = 0 ;
43723 int res1 = 0 ;
43724 wxColour temp2 ;
43725 PyObject * obj0 = 0 ;
43726 PyObject * obj1 = 0 ;
43727 char * kwnames[] = {
43728 (char *) "self",(char *) "c", NULL
43729 };
43730
43731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourPickerEvent_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
43732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourPickerEvent, 0 | 0 );
43733 if (!SWIG_IsOK(res1)) {
43734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43735 }
43736 arg1 = reinterpret_cast< wxColourPickerEvent * >(argp1);
43737 {
43738 arg2 = &temp2;
43739 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
43740 }
43741 {
43742 PyThreadState* __tstate = wxPyBeginAllowThreads();
43743 (arg1)->SetColour((wxColour const &)*arg2);
43744 wxPyEndAllowThreads(__tstate);
43745 if (PyErr_Occurred()) SWIG_fail;
43746 }
43747 resultobj = SWIG_Py_Void();
43748 return resultobj;
43749fail:
43750 return NULL;
43751}
43752
43753
43754SWIGINTERN PyObject *ColourPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43755 PyObject *obj;
43756 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
43757 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent, SWIG_NewClientData(obj));
43758 return SWIG_Py_Void();
43759}
43760
43761SWIGINTERN PyObject *ColourPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
43762 return SWIG_Python_InitShadowInstance(args);
43763}
43764
43765SWIGINTERN int FilePickerCtrlNameStr_set(PyObject *) {
43766 SWIG_Error(SWIG_AttributeError,"Variable FilePickerCtrlNameStr is read-only.");
43767 return 1;
43768}
43769
43770
43771SWIGINTERN PyObject *FilePickerCtrlNameStr_get(void) {
43772 PyObject *pyobj = 0;
43773
43774 {
43775#if wxUSE_UNICODE
43776 pyobj = PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43777#else
43778 pyobj = PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr)->c_str(), (&wxPyFilePickerCtrlNameStr)->Len());
43779#endif
43780 }
43781 return pyobj;
43782}
43783
43784
43785SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
43786 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
43787 return 1;
43788}
43789
43790
43791SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
43792 PyObject *pyobj = 0;
43793
43794 {
43795#if wxUSE_UNICODE
43796 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43797#else
43798 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
43799#endif
43800 }
43801 return pyobj;
43802}
43803
43804
43805SWIGINTERN int DirPickerCtrlNameStr_set(PyObject *) {
43806 SWIG_Error(SWIG_AttributeError,"Variable DirPickerCtrlNameStr is read-only.");
43807 return 1;
43808}
43809
43810
43811SWIGINTERN PyObject *DirPickerCtrlNameStr_get(void) {
43812 PyObject *pyobj = 0;
43813
43814 {
43815#if wxUSE_UNICODE
43816 pyobj = PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43817#else
43818 pyobj = PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr)->c_str(), (&wxPyDirPickerCtrlNameStr)->Len());
43819#endif
43820 }
43821 return pyobj;
43822}
43823
43824
43825SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
43826 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
43827 return 1;
43828}
43829
43830
43831SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
43832 PyObject *pyobj = 0;
43833
43834 {
43835#if wxUSE_UNICODE
43836 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43837#else
43838 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
43839#endif
43840 }
43841 return pyobj;
43842}
43843
43844
43845SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
43846 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
43847 return 1;
43848}
43849
43850
43851SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
43852 PyObject *pyobj = 0;
43853
43854 {
43855#if wxUSE_UNICODE
43856 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43857#else
43858 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
43859#endif
43860 }
43861 return pyobj;
43862}
43863
43864
43865SWIGINTERN PyObject *_wrap_new_FilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
43866 PyObject *resultobj = 0;
43867 wxWindow *arg1 = (wxWindow *) 0 ;
43868 int arg2 = (int) -1 ;
43869 wxString const &arg3_defvalue = wxPyEmptyString ;
43870 wxString *arg3 = (wxString *) &arg3_defvalue ;
43871 wxString const &arg4_defvalue = wxPyFileSelectorPromptStr ;
43872 wxString *arg4 = (wxString *) &arg4_defvalue ;
43873 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
43874 wxString *arg5 = (wxString *) &arg5_defvalue ;
43875 wxPoint const &arg6_defvalue = wxDefaultPosition ;
43876 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
43877 wxSize const &arg7_defvalue = wxDefaultSize ;
43878 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
43879 long arg8 = (long) wxFLP_DEFAULT_STYLE ;
43880 wxValidator const &arg9_defvalue = wxDefaultValidator ;
43881 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
43882 wxString const &arg10_defvalue = wxPyFilePickerCtrlNameStr ;
43883 wxString *arg10 = (wxString *) &arg10_defvalue ;
43884 wxFilePickerCtrl *result = 0 ;
43885 void *argp1 = 0 ;
43886 int res1 = 0 ;
43887 int val2 ;
43888 int ecode2 = 0 ;
43889 bool temp3 = false ;
43890 bool temp4 = false ;
43891 bool temp5 = false ;
43892 wxPoint temp6 ;
43893 wxSize temp7 ;
43894 long val8 ;
43895 int ecode8 = 0 ;
43896 void *argp9 = 0 ;
43897 int res9 = 0 ;
43898 bool temp10 = false ;
43899 PyObject * obj0 = 0 ;
43900 PyObject * obj1 = 0 ;
43901 PyObject * obj2 = 0 ;
43902 PyObject * obj3 = 0 ;
43903 PyObject * obj4 = 0 ;
43904 PyObject * obj5 = 0 ;
43905 PyObject * obj6 = 0 ;
43906 PyObject * obj7 = 0 ;
43907 PyObject * obj8 = 0 ;
43908 PyObject * obj9 = 0 ;
43909 char * kwnames[] = {
43910 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43911 };
43912
43913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
43914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
43915 if (!SWIG_IsOK(res1)) {
43916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43917 }
43918 arg1 = reinterpret_cast< wxWindow * >(argp1);
43919 if (obj1) {
43920 ecode2 = SWIG_AsVal_int(obj1, &val2);
43921 if (!SWIG_IsOK(ecode2)) {
43922 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43923 }
43924 arg2 = static_cast< int >(val2);
43925 }
43926 if (obj2) {
43927 {
43928 arg3 = wxString_in_helper(obj2);
43929 if (arg3 == NULL) SWIG_fail;
43930 temp3 = true;
43931 }
43932 }
43933 if (obj3) {
43934 {
43935 arg4 = wxString_in_helper(obj3);
43936 if (arg4 == NULL) SWIG_fail;
43937 temp4 = true;
43938 }
43939 }
43940 if (obj4) {
43941 {
43942 arg5 = wxString_in_helper(obj4);
43943 if (arg5 == NULL) SWIG_fail;
43944 temp5 = true;
43945 }
43946 }
43947 if (obj5) {
43948 {
43949 arg6 = &temp6;
43950 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
43951 }
43952 }
43953 if (obj6) {
43954 {
43955 arg7 = &temp7;
43956 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
43957 }
43958 }
43959 if (obj7) {
43960 ecode8 = SWIG_AsVal_long(obj7, &val8);
43961 if (!SWIG_IsOK(ecode8)) {
43962 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43963 }
43964 arg8 = static_cast< long >(val8);
43965 }
43966 if (obj8) {
43967 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
43968 if (!SWIG_IsOK(res9)) {
43969 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43970 }
43971 if (!argp9) {
43972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43973 }
43974 arg9 = reinterpret_cast< wxValidator * >(argp9);
43975 }
43976 if (obj9) {
43977 {
43978 arg10 = wxString_in_helper(obj9);
43979 if (arg10 == NULL) SWIG_fail;
43980 temp10 = true;
43981 }
43982 }
43983 {
43984 if (!wxPyCheckForApp()) SWIG_fail;
43985 PyThreadState* __tstate = wxPyBeginAllowThreads();
43986 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);
43987 wxPyEndAllowThreads(__tstate);
43988 if (PyErr_Occurred()) SWIG_fail;
43989 }
43990 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_NEW | 0 );
43991 {
43992 if (temp3)
43993 delete arg3;
43994 }
43995 {
43996 if (temp4)
43997 delete arg4;
43998 }
43999 {
44000 if (temp5)
44001 delete arg5;
44002 }
44003 {
44004 if (temp10)
44005 delete arg10;
44006 }
44007 return resultobj;
44008fail:
44009 {
44010 if (temp3)
44011 delete arg3;
44012 }
44013 {
44014 if (temp4)
44015 delete arg4;
44016 }
44017 {
44018 if (temp5)
44019 delete arg5;
44020 }
44021 {
44022 if (temp10)
44023 delete arg10;
44024 }
44025 return NULL;
44026}
44027
44028
44029SWIGINTERN PyObject *_wrap_new_PreFilePickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44030 PyObject *resultobj = 0;
44031 wxFilePickerCtrl *result = 0 ;
44032
44033 if (!SWIG_Python_UnpackTuple(args,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail;
44034 {
44035 if (!wxPyCheckForApp()) SWIG_fail;
44036 PyThreadState* __tstate = wxPyBeginAllowThreads();
44037 result = (wxFilePickerCtrl *)new wxFilePickerCtrl();
44038 wxPyEndAllowThreads(__tstate);
44039 if (PyErr_Occurred()) SWIG_fail;
44040 }
44041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFilePickerCtrl, SWIG_POINTER_OWN | 0 );
44042 return resultobj;
44043fail:
44044 return NULL;
44045}
44046
44047
44048SWIGINTERN PyObject *_wrap_FilePickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44049 PyObject *resultobj = 0;
44050 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44051 wxWindow *arg2 = (wxWindow *) 0 ;
44052 int arg3 = (int) -1 ;
44053 wxString const &arg4_defvalue = wxPyEmptyString ;
44054 wxString *arg4 = (wxString *) &arg4_defvalue ;
44055 wxString const &arg5_defvalue = wxPyFileSelectorPromptStr ;
44056 wxString *arg5 = (wxString *) &arg5_defvalue ;
44057 wxString const &arg6_defvalue = wxPyFileSelectorDefaultWildcardStr ;
44058 wxString *arg6 = (wxString *) &arg6_defvalue ;
44059 wxPoint const &arg7_defvalue = wxDefaultPosition ;
44060 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
44061 wxSize const &arg8_defvalue = wxDefaultSize ;
44062 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
44063 long arg9 = (long) wxFLP_DEFAULT_STYLE ;
44064 wxValidator const &arg10_defvalue = wxDefaultValidator ;
44065 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
44066 wxString const &arg11_defvalue = wxPyFilePickerCtrlNameStr ;
44067 wxString *arg11 = (wxString *) &arg11_defvalue ;
44068 bool result;
44069 void *argp1 = 0 ;
44070 int res1 = 0 ;
44071 void *argp2 = 0 ;
44072 int res2 = 0 ;
44073 int val3 ;
44074 int ecode3 = 0 ;
44075 bool temp4 = false ;
44076 bool temp5 = false ;
44077 bool temp6 = false ;
44078 wxPoint temp7 ;
44079 wxSize temp8 ;
44080 long val9 ;
44081 int ecode9 = 0 ;
44082 void *argp10 = 0 ;
44083 int res10 = 0 ;
44084 bool temp11 = false ;
44085 PyObject * obj0 = 0 ;
44086 PyObject * obj1 = 0 ;
44087 PyObject * obj2 = 0 ;
44088 PyObject * obj3 = 0 ;
44089 PyObject * obj4 = 0 ;
44090 PyObject * obj5 = 0 ;
44091 PyObject * obj6 = 0 ;
44092 PyObject * obj7 = 0 ;
44093 PyObject * obj8 = 0 ;
44094 PyObject * obj9 = 0 ;
44095 PyObject * obj10 = 0 ;
44096 char * kwnames[] = {
44097 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44098 };
44099
44100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
44101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44102 if (!SWIG_IsOK(res1)) {
44103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44104 }
44105 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44106 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44107 if (!SWIG_IsOK(res2)) {
44108 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44109 }
44110 arg2 = reinterpret_cast< wxWindow * >(argp2);
44111 if (obj2) {
44112 ecode3 = SWIG_AsVal_int(obj2, &val3);
44113 if (!SWIG_IsOK(ecode3)) {
44114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44115 }
44116 arg3 = static_cast< int >(val3);
44117 }
44118 if (obj3) {
44119 {
44120 arg4 = wxString_in_helper(obj3);
44121 if (arg4 == NULL) SWIG_fail;
44122 temp4 = true;
44123 }
44124 }
44125 if (obj4) {
44126 {
44127 arg5 = wxString_in_helper(obj4);
44128 if (arg5 == NULL) SWIG_fail;
44129 temp5 = true;
44130 }
44131 }
44132 if (obj5) {
44133 {
44134 arg6 = wxString_in_helper(obj5);
44135 if (arg6 == NULL) SWIG_fail;
44136 temp6 = true;
44137 }
44138 }
44139 if (obj6) {
44140 {
44141 arg7 = &temp7;
44142 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
44143 }
44144 }
44145 if (obj7) {
44146 {
44147 arg8 = &temp8;
44148 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
44149 }
44150 }
44151 if (obj8) {
44152 ecode9 = SWIG_AsVal_long(obj8, &val9);
44153 if (!SWIG_IsOK(ecode9)) {
44154 SWIG_exception_fail(SWIG_ArgError(ecode9), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44155 }
44156 arg9 = static_cast< long >(val9);
44157 }
44158 if (obj9) {
44159 res10 = SWIG_ConvertPtr(obj9, &argp10, SWIGTYPE_p_wxValidator, 0 | 0);
44160 if (!SWIG_IsOK(res10)) {
44161 SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44162 }
44163 if (!argp10) {
44164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44165 }
44166 arg10 = reinterpret_cast< wxValidator * >(argp10);
44167 }
44168 if (obj10) {
44169 {
44170 arg11 = wxString_in_helper(obj10);
44171 if (arg11 == NULL) SWIG_fail;
44172 temp11 = true;
44173 }
44174 }
44175 {
44176 PyThreadState* __tstate = wxPyBeginAllowThreads();
44177 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);
44178 wxPyEndAllowThreads(__tstate);
44179 if (PyErr_Occurred()) SWIG_fail;
44180 }
44181 {
44182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44183 }
44184 {
44185 if (temp4)
44186 delete arg4;
44187 }
44188 {
44189 if (temp5)
44190 delete arg5;
44191 }
44192 {
44193 if (temp6)
44194 delete arg6;
44195 }
44196 {
44197 if (temp11)
44198 delete arg11;
44199 }
44200 return resultobj;
44201fail:
44202 {
44203 if (temp4)
44204 delete arg4;
44205 }
44206 {
44207 if (temp5)
44208 delete arg5;
44209 }
44210 {
44211 if (temp6)
44212 delete arg6;
44213 }
44214 {
44215 if (temp11)
44216 delete arg11;
44217 }
44218 return NULL;
44219}
44220
44221
44222SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44223 PyObject *resultobj = 0;
44224 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44225 wxString result;
44226 void *argp1 = 0 ;
44227 int res1 = 0 ;
44228 PyObject *swig_obj[1] ;
44229
44230 if (!args) SWIG_fail;
44231 swig_obj[0] = args;
44232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44233 if (!SWIG_IsOK(res1)) {
44234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44235 }
44236 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44237 {
44238 PyThreadState* __tstate = wxPyBeginAllowThreads();
44239 result = ((wxFilePickerCtrl const *)arg1)->GetPath();
44240 wxPyEndAllowThreads(__tstate);
44241 if (PyErr_Occurred()) SWIG_fail;
44242 }
44243 {
44244#if wxUSE_UNICODE
44245 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44246#else
44247 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44248#endif
44249 }
44250 return resultobj;
44251fail:
44252 return NULL;
44253}
44254
44255
44256SWIGINTERN PyObject *_wrap_FilePickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44257 PyObject *resultobj = 0;
44258 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44259 wxString *arg2 = 0 ;
44260 void *argp1 = 0 ;
44261 int res1 = 0 ;
44262 bool temp2 = false ;
44263 PyObject * obj0 = 0 ;
44264 PyObject * obj1 = 0 ;
44265 char * kwnames[] = {
44266 (char *) "self",(char *) "str", NULL
44267 };
44268
44269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44271 if (!SWIG_IsOK(res1)) {
44272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44273 }
44274 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44275 {
44276 arg2 = wxString_in_helper(obj1);
44277 if (arg2 == NULL) SWIG_fail;
44278 temp2 = true;
44279 }
44280 {
44281 PyThreadState* __tstate = wxPyBeginAllowThreads();
44282 (arg1)->SetPath((wxString const &)*arg2);
44283 wxPyEndAllowThreads(__tstate);
44284 if (PyErr_Occurred()) SWIG_fail;
44285 }
44286 resultobj = SWIG_Py_Void();
44287 {
44288 if (temp2)
44289 delete arg2;
44290 }
44291 return resultobj;
44292fail:
44293 {
44294 if (temp2)
44295 delete arg2;
44296 }
44297 return NULL;
44298}
44299
44300
b02396e8
RD
44301SWIGINTERN PyObject *_wrap_FilePickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44302 PyObject *resultobj = 0;
44303 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44304 wxString *arg2 = 0 ;
44305 bool result;
44306 void *argp1 = 0 ;
44307 int res1 = 0 ;
44308 bool temp2 = false ;
44309 PyObject * obj0 = 0 ;
44310 PyObject * obj1 = 0 ;
44311 char * kwnames[] = {
44312 (char *) "self",(char *) "path", NULL
44313 };
44314
44315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FilePickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44317 if (!SWIG_IsOK(res1)) {
44318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44319 }
44320 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44321 {
44322 arg2 = wxString_in_helper(obj1);
44323 if (arg2 == NULL) SWIG_fail;
44324 temp2 = true;
44325 }
44326 {
44327 PyThreadState* __tstate = wxPyBeginAllowThreads();
44328 result = (bool)((wxFilePickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44329 wxPyEndAllowThreads(__tstate);
44330 if (PyErr_Occurred()) SWIG_fail;
44331 }
44332 {
44333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44334 }
44335 {
44336 if (temp2)
44337 delete arg2;
44338 }
44339 return resultobj;
44340fail:
44341 {
44342 if (temp2)
44343 delete arg2;
44344 }
44345 return NULL;
44346}
44347
44348
44349SWIGINTERN PyObject *_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44350 PyObject *resultobj = 0;
44351 wxFilePickerCtrl *arg1 = (wxFilePickerCtrl *) 0 ;
44352 wxString result;
44353 void *argp1 = 0 ;
44354 int res1 = 0 ;
44355 PyObject *swig_obj[1] ;
44356
44357 if (!args) SWIG_fail;
44358 swig_obj[0] = args;
44359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFilePickerCtrl, 0 | 0 );
44360 if (!SWIG_IsOK(res1)) {
44361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44362 }
44363 arg1 = reinterpret_cast< wxFilePickerCtrl * >(argp1);
44364 {
44365 PyThreadState* __tstate = wxPyBeginAllowThreads();
44366 result = ((wxFilePickerCtrl const *)arg1)->GetTextCtrlValue();
44367 wxPyEndAllowThreads(__tstate);
44368 if (PyErr_Occurred()) SWIG_fail;
44369 }
44370 {
44371#if wxUSE_UNICODE
44372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44373#else
44374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44375#endif
44376 }
44377 return resultobj;
44378fail:
44379 return NULL;
44380}
44381
44382
b850e7f3
RD
44383SWIGINTERN PyObject *FilePickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44384 PyObject *obj;
44385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44386 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl, SWIG_NewClientData(obj));
44387 return SWIG_Py_Void();
44388}
44389
44390SWIGINTERN PyObject *FilePickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44391 return SWIG_Python_InitShadowInstance(args);
44392}
44393
44394SWIGINTERN PyObject *_wrap_new_DirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44395 PyObject *resultobj = 0;
44396 wxWindow *arg1 = (wxWindow *) 0 ;
44397 int arg2 = (int) -1 ;
44398 wxString const &arg3_defvalue = wxPyEmptyString ;
44399 wxString *arg3 = (wxString *) &arg3_defvalue ;
44400 wxString const &arg4_defvalue = wxPyDirSelectorPromptStr ;
44401 wxString *arg4 = (wxString *) &arg4_defvalue ;
44402 wxPoint const &arg5_defvalue = wxDefaultPosition ;
44403 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
44404 wxSize const &arg6_defvalue = wxDefaultSize ;
44405 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
44406 long arg7 = (long) wxDIRP_DEFAULT_STYLE ;
44407 wxValidator const &arg8_defvalue = wxDefaultValidator ;
44408 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
44409 wxString const &arg9_defvalue = wxPyDirPickerCtrlNameStr ;
44410 wxString *arg9 = (wxString *) &arg9_defvalue ;
44411 wxDirPickerCtrl *result = 0 ;
44412 void *argp1 = 0 ;
44413 int res1 = 0 ;
44414 int val2 ;
44415 int ecode2 = 0 ;
44416 bool temp3 = false ;
44417 bool temp4 = false ;
44418 wxPoint temp5 ;
44419 wxSize temp6 ;
44420 long val7 ;
44421 int ecode7 = 0 ;
44422 void *argp8 = 0 ;
44423 int res8 = 0 ;
44424 bool temp9 = false ;
44425 PyObject * obj0 = 0 ;
44426 PyObject * obj1 = 0 ;
44427 PyObject * obj2 = 0 ;
44428 PyObject * obj3 = 0 ;
44429 PyObject * obj4 = 0 ;
44430 PyObject * obj5 = 0 ;
44431 PyObject * obj6 = 0 ;
44432 PyObject * obj7 = 0 ;
44433 PyObject * obj8 = 0 ;
44434 char * kwnames[] = {
44435 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44436 };
44437
44438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
44439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
44440 if (!SWIG_IsOK(res1)) {
44441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44442 }
44443 arg1 = reinterpret_cast< wxWindow * >(argp1);
44444 if (obj1) {
44445 ecode2 = SWIG_AsVal_int(obj1, &val2);
44446 if (!SWIG_IsOK(ecode2)) {
44447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44448 }
44449 arg2 = static_cast< int >(val2);
44450 }
44451 if (obj2) {
44452 {
44453 arg3 = wxString_in_helper(obj2);
44454 if (arg3 == NULL) SWIG_fail;
44455 temp3 = true;
44456 }
44457 }
44458 if (obj3) {
44459 {
44460 arg4 = wxString_in_helper(obj3);
44461 if (arg4 == NULL) SWIG_fail;
44462 temp4 = true;
44463 }
44464 }
44465 if (obj4) {
44466 {
44467 arg5 = &temp5;
44468 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
44469 }
44470 }
44471 if (obj5) {
44472 {
44473 arg6 = &temp6;
44474 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
44475 }
44476 }
44477 if (obj6) {
44478 ecode7 = SWIG_AsVal_long(obj6, &val7);
44479 if (!SWIG_IsOK(ecode7)) {
44480 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44481 }
44482 arg7 = static_cast< long >(val7);
44483 }
44484 if (obj7) {
44485 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
44486 if (!SWIG_IsOK(res8)) {
44487 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44488 }
44489 if (!argp8) {
44490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44491 }
44492 arg8 = reinterpret_cast< wxValidator * >(argp8);
44493 }
44494 if (obj8) {
44495 {
44496 arg9 = wxString_in_helper(obj8);
44497 if (arg9 == NULL) SWIG_fail;
44498 temp9 = true;
44499 }
44500 }
44501 {
44502 if (!wxPyCheckForApp()) SWIG_fail;
44503 PyThreadState* __tstate = wxPyBeginAllowThreads();
44504 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);
44505 wxPyEndAllowThreads(__tstate);
44506 if (PyErr_Occurred()) SWIG_fail;
44507 }
44508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_NEW | 0 );
44509 {
44510 if (temp3)
44511 delete arg3;
44512 }
44513 {
44514 if (temp4)
44515 delete arg4;
44516 }
44517 {
44518 if (temp9)
44519 delete arg9;
44520 }
44521 return resultobj;
44522fail:
44523 {
44524 if (temp3)
44525 delete arg3;
44526 }
44527 {
44528 if (temp4)
44529 delete arg4;
44530 }
44531 {
44532 if (temp9)
44533 delete arg9;
44534 }
44535 return NULL;
44536}
44537
44538
44539SWIGINTERN PyObject *_wrap_new_PreDirPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44540 PyObject *resultobj = 0;
44541 wxDirPickerCtrl *result = 0 ;
44542
44543 if (!SWIG_Python_UnpackTuple(args,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail;
44544 {
44545 if (!wxPyCheckForApp()) SWIG_fail;
44546 PyThreadState* __tstate = wxPyBeginAllowThreads();
44547 result = (wxDirPickerCtrl *)new wxDirPickerCtrl();
44548 wxPyEndAllowThreads(__tstate);
44549 if (PyErr_Occurred()) SWIG_fail;
44550 }
44551 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirPickerCtrl, SWIG_POINTER_OWN | 0 );
44552 return resultobj;
44553fail:
44554 return NULL;
44555}
44556
44557
44558SWIGINTERN PyObject *_wrap_DirPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44559 PyObject *resultobj = 0;
44560 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44561 wxWindow *arg2 = (wxWindow *) 0 ;
44562 int arg3 = (int) -1 ;
44563 wxString const &arg4_defvalue = wxPyEmptyString ;
44564 wxString *arg4 = (wxString *) &arg4_defvalue ;
44565 wxString const &arg5_defvalue = wxPyDirSelectorPromptStr ;
44566 wxString *arg5 = (wxString *) &arg5_defvalue ;
44567 wxPoint const &arg6_defvalue = wxDefaultPosition ;
44568 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
44569 wxSize const &arg7_defvalue = wxDefaultSize ;
44570 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
44571 long arg8 = (long) wxDIRP_DEFAULT_STYLE ;
44572 wxValidator const &arg9_defvalue = wxDefaultValidator ;
44573 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
44574 wxString const &arg10_defvalue = wxPyDirPickerCtrlNameStr ;
44575 wxString *arg10 = (wxString *) &arg10_defvalue ;
44576 bool result;
44577 void *argp1 = 0 ;
44578 int res1 = 0 ;
44579 void *argp2 = 0 ;
44580 int res2 = 0 ;
44581 int val3 ;
44582 int ecode3 = 0 ;
44583 bool temp4 = false ;
44584 bool temp5 = false ;
44585 wxPoint temp6 ;
44586 wxSize temp7 ;
44587 long val8 ;
44588 int ecode8 = 0 ;
44589 void *argp9 = 0 ;
44590 int res9 = 0 ;
44591 bool temp10 = false ;
44592 PyObject * obj0 = 0 ;
44593 PyObject * obj1 = 0 ;
44594 PyObject * obj2 = 0 ;
44595 PyObject * obj3 = 0 ;
44596 PyObject * obj4 = 0 ;
44597 PyObject * obj5 = 0 ;
44598 PyObject * obj6 = 0 ;
44599 PyObject * obj7 = 0 ;
44600 PyObject * obj8 = 0 ;
44601 PyObject * obj9 = 0 ;
44602 char * kwnames[] = {
44603 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44604 };
44605
44606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
44607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44608 if (!SWIG_IsOK(res1)) {
44609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44610 }
44611 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44612 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
44613 if (!SWIG_IsOK(res2)) {
44614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44615 }
44616 arg2 = reinterpret_cast< wxWindow * >(argp2);
44617 if (obj2) {
44618 ecode3 = SWIG_AsVal_int(obj2, &val3);
44619 if (!SWIG_IsOK(ecode3)) {
44620 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44621 }
44622 arg3 = static_cast< int >(val3);
44623 }
44624 if (obj3) {
44625 {
44626 arg4 = wxString_in_helper(obj3);
44627 if (arg4 == NULL) SWIG_fail;
44628 temp4 = true;
44629 }
44630 }
44631 if (obj4) {
44632 {
44633 arg5 = wxString_in_helper(obj4);
44634 if (arg5 == NULL) SWIG_fail;
44635 temp5 = true;
44636 }
44637 }
44638 if (obj5) {
44639 {
44640 arg6 = &temp6;
44641 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
44642 }
44643 }
44644 if (obj6) {
44645 {
44646 arg7 = &temp7;
44647 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
44648 }
44649 }
44650 if (obj7) {
44651 ecode8 = SWIG_AsVal_long(obj7, &val8);
44652 if (!SWIG_IsOK(ecode8)) {
44653 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44654 }
44655 arg8 = static_cast< long >(val8);
44656 }
44657 if (obj8) {
44658 res9 = SWIG_ConvertPtr(obj8, &argp9, SWIGTYPE_p_wxValidator, 0 | 0);
44659 if (!SWIG_IsOK(res9)) {
44660 SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44661 }
44662 if (!argp9) {
44663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44664 }
44665 arg9 = reinterpret_cast< wxValidator * >(argp9);
44666 }
44667 if (obj9) {
44668 {
44669 arg10 = wxString_in_helper(obj9);
44670 if (arg10 == NULL) SWIG_fail;
44671 temp10 = true;
44672 }
44673 }
44674 {
44675 PyThreadState* __tstate = wxPyBeginAllowThreads();
44676 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);
44677 wxPyEndAllowThreads(__tstate);
44678 if (PyErr_Occurred()) SWIG_fail;
44679 }
44680 {
44681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44682 }
44683 {
44684 if (temp4)
44685 delete arg4;
44686 }
44687 {
44688 if (temp5)
44689 delete arg5;
44690 }
44691 {
44692 if (temp10)
44693 delete arg10;
44694 }
44695 return resultobj;
44696fail:
44697 {
44698 if (temp4)
44699 delete arg4;
44700 }
44701 {
44702 if (temp5)
44703 delete arg5;
44704 }
44705 {
44706 if (temp10)
44707 delete arg10;
44708 }
44709 return NULL;
44710}
44711
44712
44713SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44714 PyObject *resultobj = 0;
44715 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44716 wxString result;
44717 void *argp1 = 0 ;
44718 int res1 = 0 ;
44719 PyObject *swig_obj[1] ;
44720
44721 if (!args) SWIG_fail;
44722 swig_obj[0] = args;
44723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44724 if (!SWIG_IsOK(res1)) {
44725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44726 }
44727 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44728 {
44729 PyThreadState* __tstate = wxPyBeginAllowThreads();
44730 result = ((wxDirPickerCtrl const *)arg1)->GetPath();
44731 wxPyEndAllowThreads(__tstate);
44732 if (PyErr_Occurred()) SWIG_fail;
44733 }
44734 {
44735#if wxUSE_UNICODE
44736 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44737#else
44738 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44739#endif
44740 }
44741 return resultobj;
44742fail:
44743 return NULL;
44744}
44745
44746
44747SWIGINTERN PyObject *_wrap_DirPickerCtrl_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44748 PyObject *resultobj = 0;
44749 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44750 wxString *arg2 = 0 ;
44751 void *argp1 = 0 ;
44752 int res1 = 0 ;
44753 bool temp2 = false ;
44754 PyObject * obj0 = 0 ;
44755 PyObject * obj1 = 0 ;
44756 char * kwnames[] = {
44757 (char *) "self",(char *) "str", NULL
44758 };
44759
44760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44762 if (!SWIG_IsOK(res1)) {
44763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44764 }
44765 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44766 {
44767 arg2 = wxString_in_helper(obj1);
44768 if (arg2 == NULL) SWIG_fail;
44769 temp2 = true;
44770 }
44771 {
44772 PyThreadState* __tstate = wxPyBeginAllowThreads();
44773 (arg1)->SetPath((wxString const &)*arg2);
44774 wxPyEndAllowThreads(__tstate);
44775 if (PyErr_Occurred()) SWIG_fail;
44776 }
44777 resultobj = SWIG_Py_Void();
44778 {
44779 if (temp2)
44780 delete arg2;
44781 }
44782 return resultobj;
44783fail:
44784 {
44785 if (temp2)
44786 delete arg2;
44787 }
44788 return NULL;
44789}
44790
44791
b02396e8
RD
44792SWIGINTERN PyObject *_wrap_DirPickerCtrl_CheckPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44793 PyObject *resultobj = 0;
44794 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44795 wxString *arg2 = 0 ;
44796 bool result;
44797 void *argp1 = 0 ;
44798 int res1 = 0 ;
44799 bool temp2 = false ;
44800 PyObject * obj0 = 0 ;
44801 PyObject * obj1 = 0 ;
44802 char * kwnames[] = {
44803 (char *) "self",(char *) "path", NULL
44804 };
44805
44806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirPickerCtrl_CheckPath",kwnames,&obj0,&obj1)) SWIG_fail;
44807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44808 if (!SWIG_IsOK(res1)) {
44809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44810 }
44811 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44812 {
44813 arg2 = wxString_in_helper(obj1);
44814 if (arg2 == NULL) SWIG_fail;
44815 temp2 = true;
44816 }
44817 {
44818 PyThreadState* __tstate = wxPyBeginAllowThreads();
44819 result = (bool)((wxDirPickerCtrl const *)arg1)->CheckPath((wxString const &)*arg2);
44820 wxPyEndAllowThreads(__tstate);
44821 if (PyErr_Occurred()) SWIG_fail;
44822 }
44823 {
44824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44825 }
44826 {
44827 if (temp2)
44828 delete arg2;
44829 }
44830 return resultobj;
44831fail:
44832 {
44833 if (temp2)
44834 delete arg2;
44835 }
44836 return NULL;
44837}
44838
44839
44840SWIGINTERN PyObject *_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44841 PyObject *resultobj = 0;
44842 wxDirPickerCtrl *arg1 = (wxDirPickerCtrl *) 0 ;
44843 wxString result;
44844 void *argp1 = 0 ;
44845 int res1 = 0 ;
44846 PyObject *swig_obj[1] ;
44847
44848 if (!args) SWIG_fail;
44849 swig_obj[0] = args;
44850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirPickerCtrl, 0 | 0 );
44851 if (!SWIG_IsOK(res1)) {
44852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44853 }
44854 arg1 = reinterpret_cast< wxDirPickerCtrl * >(argp1);
44855 {
44856 PyThreadState* __tstate = wxPyBeginAllowThreads();
44857 result = ((wxDirPickerCtrl const *)arg1)->GetTextCtrlValue();
44858 wxPyEndAllowThreads(__tstate);
44859 if (PyErr_Occurred()) SWIG_fail;
44860 }
44861 {
44862#if wxUSE_UNICODE
44863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44864#else
44865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44866#endif
44867 }
44868 return resultobj;
44869fail:
44870 return NULL;
44871}
44872
44873
b850e7f3
RD
44874SWIGINTERN PyObject *DirPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44875 PyObject *obj;
44876 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
44877 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl, SWIG_NewClientData(obj));
44878 return SWIG_Py_Void();
44879}
44880
44881SWIGINTERN PyObject *DirPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44882 return SWIG_Python_InitShadowInstance(args);
44883}
44884
44885SWIGINTERN PyObject *_wrap_new_FileDirPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44886 PyObject *resultobj = 0;
44887 wxEventType arg1 ;
44888 wxObject *arg2 = (wxObject *) 0 ;
44889 int arg3 ;
44890 wxString *arg4 = 0 ;
44891 wxFileDirPickerEvent *result = 0 ;
44892 int val1 ;
44893 int ecode1 = 0 ;
44894 void *argp2 = 0 ;
44895 int res2 = 0 ;
44896 int val3 ;
44897 int ecode3 = 0 ;
44898 bool temp4 = false ;
44899 PyObject * obj0 = 0 ;
44900 PyObject * obj1 = 0 ;
44901 PyObject * obj2 = 0 ;
44902 PyObject * obj3 = 0 ;
44903 char * kwnames[] = {
44904 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44905 };
44906
44907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_FileDirPickerEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
44908 ecode1 = SWIG_AsVal_int(obj0, &val1);
44909 if (!SWIG_IsOK(ecode1)) {
44910 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44911 }
44912 arg1 = static_cast< wxEventType >(val1);
44913 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxObject, 0 | 0 );
44914 if (!SWIG_IsOK(res2)) {
44915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44916 }
44917 arg2 = reinterpret_cast< wxObject * >(argp2);
44918 ecode3 = SWIG_AsVal_int(obj2, &val3);
44919 if (!SWIG_IsOK(ecode3)) {
44920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44921 }
44922 arg3 = static_cast< int >(val3);
44923 {
44924 arg4 = wxString_in_helper(obj3);
44925 if (arg4 == NULL) SWIG_fail;
44926 temp4 = true;
44927 }
44928 {
44929 PyThreadState* __tstate = wxPyBeginAllowThreads();
44930 result = (wxFileDirPickerEvent *)new wxFileDirPickerEvent(arg1,arg2,arg3,(wxString const &)*arg4);
44931 wxPyEndAllowThreads(__tstate);
44932 if (PyErr_Occurred()) SWIG_fail;
44933 }
44934 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDirPickerEvent, SWIG_POINTER_NEW | 0 );
44935 {
44936 if (temp4)
44937 delete arg4;
44938 }
44939 return resultobj;
44940fail:
44941 {
44942 if (temp4)
44943 delete arg4;
44944 }
44945 return NULL;
44946}
44947
44948
44949SWIGINTERN PyObject *_wrap_FileDirPickerEvent_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
44950 PyObject *resultobj = 0;
44951 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44952 wxString result;
44953 void *argp1 = 0 ;
44954 int res1 = 0 ;
44955 PyObject *swig_obj[1] ;
44956
44957 if (!args) SWIG_fail;
44958 swig_obj[0] = args;
44959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44960 if (!SWIG_IsOK(res1)) {
44961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44962 }
44963 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
44964 {
44965 PyThreadState* __tstate = wxPyBeginAllowThreads();
44966 result = ((wxFileDirPickerEvent const *)arg1)->GetPath();
44967 wxPyEndAllowThreads(__tstate);
44968 if (PyErr_Occurred()) SWIG_fail;
44969 }
44970 {
44971#if wxUSE_UNICODE
44972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
44973#else
44974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
44975#endif
44976 }
44977 return resultobj;
44978fail:
44979 return NULL;
44980}
44981
44982
44983SWIGINTERN PyObject *_wrap_FileDirPickerEvent_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
44984 PyObject *resultobj = 0;
44985 wxFileDirPickerEvent *arg1 = (wxFileDirPickerEvent *) 0 ;
44986 wxString *arg2 = 0 ;
44987 void *argp1 = 0 ;
44988 int res1 = 0 ;
44989 bool temp2 = false ;
44990 PyObject * obj0 = 0 ;
44991 PyObject * obj1 = 0 ;
44992 char * kwnames[] = {
44993 (char *) "self",(char *) "p", NULL
44994 };
44995
44996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDirPickerEvent_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
44997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDirPickerEvent, 0 | 0 );
44998 if (!SWIG_IsOK(res1)) {
44999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45000 }
45001 arg1 = reinterpret_cast< wxFileDirPickerEvent * >(argp1);
45002 {
45003 arg2 = wxString_in_helper(obj1);
45004 if (arg2 == NULL) SWIG_fail;
45005 temp2 = true;
45006 }
45007 {
45008 PyThreadState* __tstate = wxPyBeginAllowThreads();
45009 (arg1)->SetPath((wxString const &)*arg2);
45010 wxPyEndAllowThreads(__tstate);
45011 if (PyErr_Occurred()) SWIG_fail;
45012 }
45013 resultobj = SWIG_Py_Void();
45014 {
45015 if (temp2)
45016 delete arg2;
45017 }
45018 return resultobj;
45019fail:
45020 {
45021 if (temp2)
45022 delete arg2;
45023 }
45024 return NULL;
45025}
45026
45027
45028SWIGINTERN PyObject *FileDirPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45029 PyObject *obj;
45030 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45031 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent, SWIG_NewClientData(obj));
45032 return SWIG_Py_Void();
45033}
45034
45035SWIGINTERN PyObject *FileDirPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45036 return SWIG_Python_InitShadowInstance(args);
45037}
45038
45039SWIGINTERN int FontPickerCtrlNameStr_set(PyObject *) {
45040 SWIG_Error(SWIG_AttributeError,"Variable FontPickerCtrlNameStr is read-only.");
45041 return 1;
45042}
45043
45044
45045SWIGINTERN PyObject *FontPickerCtrlNameStr_get(void) {
45046 PyObject *pyobj = 0;
45047
45048 {
45049#if wxUSE_UNICODE
45050 pyobj = PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45051#else
45052 pyobj = PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr)->c_str(), (&wxPyFontPickerCtrlNameStr)->Len());
45053#endif
45054 }
45055 return pyobj;
45056}
45057
45058
45059SWIGINTERN PyObject *_wrap_new_FontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45060 PyObject *resultobj = 0;
45061 wxWindow *arg1 = (wxWindow *) 0 ;
45062 int arg2 = (int) -1 ;
f89238b9 45063 wxFont const &arg3_defvalue = wxNullFont ;
b850e7f3
RD
45064 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
45065 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45066 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45067 wxSize const &arg5_defvalue = wxDefaultSize ;
45068 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45069 long arg6 = (long) wxFNTP_DEFAULT_STYLE ;
45070 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45071 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45072 wxString const &arg8_defvalue = wxPyFontPickerCtrlNameStr ;
45073 wxString *arg8 = (wxString *) &arg8_defvalue ;
45074 wxFontPickerCtrl *result = 0 ;
45075 void *argp1 = 0 ;
45076 int res1 = 0 ;
45077 int val2 ;
45078 int ecode2 = 0 ;
45079 void *argp3 = 0 ;
45080 int res3 = 0 ;
45081 wxPoint temp4 ;
45082 wxSize temp5 ;
45083 long val6 ;
45084 int ecode6 = 0 ;
45085 void *argp7 = 0 ;
45086 int res7 = 0 ;
45087 bool temp8 = false ;
45088 PyObject * obj0 = 0 ;
45089 PyObject * obj1 = 0 ;
45090 PyObject * obj2 = 0 ;
45091 PyObject * obj3 = 0 ;
45092 PyObject * obj4 = 0 ;
45093 PyObject * obj5 = 0 ;
45094 PyObject * obj6 = 0 ;
45095 PyObject * obj7 = 0 ;
45096 char * kwnames[] = {
45097 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45098 };
45099
45100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45102 if (!SWIG_IsOK(res1)) {
45103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45104 }
45105 arg1 = reinterpret_cast< wxWindow * >(argp1);
45106 if (obj1) {
45107 ecode2 = SWIG_AsVal_int(obj1, &val2);
45108 if (!SWIG_IsOK(ecode2)) {
45109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45110 }
45111 arg2 = static_cast< int >(val2);
45112 }
45113 if (obj2) {
45114 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45115 if (!SWIG_IsOK(res3)) {
45116 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45117 }
45118 if (!argp3) {
45119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45120 }
45121 arg3 = reinterpret_cast< wxFont * >(argp3);
45122 }
45123 if (obj3) {
45124 {
45125 arg4 = &temp4;
45126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45127 }
45128 }
45129 if (obj4) {
45130 {
45131 arg5 = &temp5;
45132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45133 }
45134 }
45135 if (obj5) {
45136 ecode6 = SWIG_AsVal_long(obj5, &val6);
45137 if (!SWIG_IsOK(ecode6)) {
45138 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45139 }
45140 arg6 = static_cast< long >(val6);
45141 }
45142 if (obj6) {
45143 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45144 if (!SWIG_IsOK(res7)) {
45145 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45146 }
45147 if (!argp7) {
45148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45149 }
45150 arg7 = reinterpret_cast< wxValidator * >(argp7);
45151 }
45152 if (obj7) {
45153 {
45154 arg8 = wxString_in_helper(obj7);
45155 if (arg8 == NULL) SWIG_fail;
45156 temp8 = true;
45157 }
45158 }
45159 {
45160 if (!wxPyCheckForApp()) SWIG_fail;
45161 PyThreadState* __tstate = wxPyBeginAllowThreads();
45162 result = (wxFontPickerCtrl *)new wxFontPickerCtrl(arg1,arg2,(wxFont const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45163 wxPyEndAllowThreads(__tstate);
45164 if (PyErr_Occurred()) SWIG_fail;
45165 }
45166 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_NEW | 0 );
45167 {
45168 if (temp8)
45169 delete arg8;
45170 }
45171 return resultobj;
45172fail:
45173 {
45174 if (temp8)
45175 delete arg8;
45176 }
45177 return NULL;
45178}
45179
45180
45181SWIGINTERN PyObject *_wrap_new_PreFontPickerCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45182 PyObject *resultobj = 0;
45183 wxFontPickerCtrl *result = 0 ;
45184
45185 if (!SWIG_Python_UnpackTuple(args,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail;
45186 {
45187 if (!wxPyCheckForApp()) SWIG_fail;
45188 PyThreadState* __tstate = wxPyBeginAllowThreads();
45189 result = (wxFontPickerCtrl *)new wxFontPickerCtrl();
45190 wxPyEndAllowThreads(__tstate);
45191 if (PyErr_Occurred()) SWIG_fail;
45192 }
45193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerCtrl, SWIG_POINTER_OWN | 0 );
45194 return resultobj;
45195fail:
45196 return NULL;
45197}
45198
45199
45200SWIGINTERN PyObject *_wrap_FontPickerCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45201 PyObject *resultobj = 0;
45202 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45203 wxWindow *arg2 = (wxWindow *) 0 ;
45204 int arg3 = (int) -1 ;
f89238b9 45205 wxFont const &arg4_defvalue = wxNullFont ;
b850e7f3
RD
45206 wxFont *arg4 = (wxFont *) &arg4_defvalue ;
45207 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45208 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45209 wxSize const &arg6_defvalue = wxDefaultSize ;
45210 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45211 long arg7 = (long) wxFNTP_DEFAULT_STYLE ;
45212 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45213 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45214 wxString const &arg9_defvalue = wxPyFontPickerCtrlNameStr ;
45215 wxString *arg9 = (wxString *) &arg9_defvalue ;
45216 bool result;
45217 void *argp1 = 0 ;
45218 int res1 = 0 ;
45219 void *argp2 = 0 ;
45220 int res2 = 0 ;
45221 int val3 ;
45222 int ecode3 = 0 ;
45223 void *argp4 = 0 ;
45224 int res4 = 0 ;
45225 wxPoint temp5 ;
45226 wxSize temp6 ;
45227 long val7 ;
45228 int ecode7 = 0 ;
45229 void *argp8 = 0 ;
45230 int res8 = 0 ;
45231 bool temp9 = false ;
45232 PyObject * obj0 = 0 ;
45233 PyObject * obj1 = 0 ;
45234 PyObject * obj2 = 0 ;
45235 PyObject * obj3 = 0 ;
45236 PyObject * obj4 = 0 ;
45237 PyObject * obj5 = 0 ;
45238 PyObject * obj6 = 0 ;
45239 PyObject * obj7 = 0 ;
45240 PyObject * obj8 = 0 ;
45241 char * kwnames[] = {
45242 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45243 };
45244
45245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45247 if (!SWIG_IsOK(res1)) {
45248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45249 }
45250 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45251 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45252 if (!SWIG_IsOK(res2)) {
45253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45254 }
45255 arg2 = reinterpret_cast< wxWindow * >(argp2);
45256 if (obj2) {
45257 ecode3 = SWIG_AsVal_int(obj2, &val3);
45258 if (!SWIG_IsOK(ecode3)) {
45259 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45260 }
45261 arg3 = static_cast< int >(val3);
45262 }
45263 if (obj3) {
45264 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxFont, 0 | 0);
45265 if (!SWIG_IsOK(res4)) {
45266 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45267 }
45268 if (!argp4) {
45269 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45270 }
45271 arg4 = reinterpret_cast< wxFont * >(argp4);
45272 }
45273 if (obj4) {
45274 {
45275 arg5 = &temp5;
45276 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45277 }
45278 }
45279 if (obj5) {
45280 {
45281 arg6 = &temp6;
45282 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45283 }
45284 }
45285 if (obj6) {
45286 ecode7 = SWIG_AsVal_long(obj6, &val7);
45287 if (!SWIG_IsOK(ecode7)) {
45288 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45289 }
45290 arg7 = static_cast< long >(val7);
45291 }
45292 if (obj7) {
45293 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45294 if (!SWIG_IsOK(res8)) {
45295 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45296 }
45297 if (!argp8) {
45298 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45299 }
45300 arg8 = reinterpret_cast< wxValidator * >(argp8);
45301 }
45302 if (obj8) {
45303 {
45304 arg9 = wxString_in_helper(obj8);
45305 if (arg9 == NULL) SWIG_fail;
45306 temp9 = true;
45307 }
45308 }
45309 {
45310 PyThreadState* __tstate = wxPyBeginAllowThreads();
45311 result = (bool)(arg1)->Create(arg2,arg3,(wxFont const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45312 wxPyEndAllowThreads(__tstate);
45313 if (PyErr_Occurred()) SWIG_fail;
45314 }
45315 {
45316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45317 }
45318 {
45319 if (temp9)
45320 delete arg9;
45321 }
45322 return resultobj;
45323fail:
45324 {
45325 if (temp9)
45326 delete arg9;
45327 }
45328 return NULL;
45329}
45330
45331
45332SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45333 PyObject *resultobj = 0;
45334 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45335 wxFont result;
45336 void *argp1 = 0 ;
45337 int res1 = 0 ;
45338 PyObject *swig_obj[1] ;
45339
45340 if (!args) SWIG_fail;
45341 swig_obj[0] = args;
45342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45343 if (!SWIG_IsOK(res1)) {
45344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45345 }
45346 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45347 {
45348 PyThreadState* __tstate = wxPyBeginAllowThreads();
45349 result = ((wxFontPickerCtrl const *)arg1)->GetSelectedFont();
45350 wxPyEndAllowThreads(__tstate);
45351 if (PyErr_Occurred()) SWIG_fail;
45352 }
45353 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45354 return resultobj;
45355fail:
45356 return NULL;
45357}
45358
45359
45360SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetSelectedFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45361 PyObject *resultobj = 0;
45362 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45363 wxFont *arg2 = 0 ;
45364 void *argp1 = 0 ;
45365 int res1 = 0 ;
45366 void *argp2 = 0 ;
45367 int res2 = 0 ;
45368 PyObject * obj0 = 0 ;
45369 PyObject * obj1 = 0 ;
45370 char * kwnames[] = {
45371 (char *) "self",(char *) "f", NULL
45372 };
45373
45374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames,&obj0,&obj1)) SWIG_fail;
45375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45376 if (!SWIG_IsOK(res1)) {
45377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45378 }
45379 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45380 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45381 if (!SWIG_IsOK(res2)) {
45382 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45383 }
45384 if (!argp2) {
45385 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45386 }
45387 arg2 = reinterpret_cast< wxFont * >(argp2);
45388 {
45389 PyThreadState* __tstate = wxPyBeginAllowThreads();
45390 (arg1)->SetSelectedFont((wxFont const &)*arg2);
45391 wxPyEndAllowThreads(__tstate);
45392 if (PyErr_Occurred()) SWIG_fail;
45393 }
45394 resultobj = SWIG_Py_Void();
45395 return resultobj;
45396fail:
45397 return NULL;
45398}
45399
45400
45401SWIGINTERN PyObject *_wrap_FontPickerCtrl_SetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45402 PyObject *resultobj = 0;
45403 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45404 unsigned int arg2 ;
45405 void *argp1 = 0 ;
45406 int res1 = 0 ;
45407 unsigned int val2 ;
45408 int ecode2 = 0 ;
45409 PyObject * obj0 = 0 ;
45410 PyObject * obj1 = 0 ;
45411 char * kwnames[] = {
45412 (char *) "self",(char *) "max", NULL
45413 };
45414
45415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames,&obj0,&obj1)) SWIG_fail;
45416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45417 if (!SWIG_IsOK(res1)) {
45418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45419 }
45420 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45421 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
45422 if (!SWIG_IsOK(ecode2)) {
45423 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45424 }
45425 arg2 = static_cast< unsigned int >(val2);
45426 {
45427 PyThreadState* __tstate = wxPyBeginAllowThreads();
45428 (arg1)->SetMaxPointSize(arg2);
45429 wxPyEndAllowThreads(__tstate);
45430 if (PyErr_Occurred()) SWIG_fail;
45431 }
45432 resultobj = SWIG_Py_Void();
45433 return resultobj;
45434fail:
45435 return NULL;
45436}
45437
45438
45439SWIGINTERN PyObject *_wrap_FontPickerCtrl_GetMaxPointSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45440 PyObject *resultobj = 0;
45441 wxFontPickerCtrl *arg1 = (wxFontPickerCtrl *) 0 ;
45442 unsigned int result;
45443 void *argp1 = 0 ;
45444 int res1 = 0 ;
45445 PyObject *swig_obj[1] ;
45446
45447 if (!args) SWIG_fail;
45448 swig_obj[0] = args;
45449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerCtrl, 0 | 0 );
45450 if (!SWIG_IsOK(res1)) {
45451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45452 }
45453 arg1 = reinterpret_cast< wxFontPickerCtrl * >(argp1);
45454 {
45455 PyThreadState* __tstate = wxPyBeginAllowThreads();
45456 result = (unsigned int)((wxFontPickerCtrl const *)arg1)->GetMaxPointSize();
45457 wxPyEndAllowThreads(__tstate);
45458 if (PyErr_Occurred()) SWIG_fail;
45459 }
45460 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
45461 return resultobj;
45462fail:
45463 return NULL;
45464}
45465
45466
45467SWIGINTERN PyObject *FontPickerCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45468 PyObject *obj;
45469 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45470 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl, SWIG_NewClientData(obj));
45471 return SWIG_Py_Void();
45472}
45473
45474SWIGINTERN PyObject *FontPickerCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45475 return SWIG_Python_InitShadowInstance(args);
45476}
45477
45478SWIGINTERN PyObject *_wrap_new_FontPickerEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45479 PyObject *resultobj = 0;
45480 wxObject *arg1 = (wxObject *) 0 ;
45481 int arg2 ;
45482 wxFont *arg3 = 0 ;
45483 wxFontPickerEvent *result = 0 ;
45484 void *argp1 = 0 ;
45485 int res1 = 0 ;
45486 int val2 ;
45487 int ecode2 = 0 ;
45488 void *argp3 = 0 ;
45489 int res3 = 0 ;
45490 PyObject * obj0 = 0 ;
45491 PyObject * obj1 = 0 ;
45492 PyObject * obj2 = 0 ;
45493 char * kwnames[] = {
45494 (char *) "generator",(char *) "id",(char *) "f", NULL
45495 };
45496
45497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_FontPickerEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
45498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
45499 if (!SWIG_IsOK(res1)) {
45500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45501 }
45502 arg1 = reinterpret_cast< wxObject * >(argp1);
45503 ecode2 = SWIG_AsVal_int(obj1, &val2);
45504 if (!SWIG_IsOK(ecode2)) {
45505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45506 }
45507 arg2 = static_cast< int >(val2);
45508 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
45509 if (!SWIG_IsOK(res3)) {
45510 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45511 }
45512 if (!argp3) {
45513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45514 }
45515 arg3 = reinterpret_cast< wxFont * >(argp3);
45516 {
45517 PyThreadState* __tstate = wxPyBeginAllowThreads();
45518 result = (wxFontPickerEvent *)new wxFontPickerEvent(arg1,arg2,(wxFont const &)*arg3);
45519 wxPyEndAllowThreads(__tstate);
45520 if (PyErr_Occurred()) SWIG_fail;
45521 }
45522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontPickerEvent, SWIG_POINTER_NEW | 0 );
45523 return resultobj;
45524fail:
45525 return NULL;
45526}
45527
45528
45529SWIGINTERN PyObject *_wrap_FontPickerEvent_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45530 PyObject *resultobj = 0;
45531 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45532 wxFont result;
45533 void *argp1 = 0 ;
45534 int res1 = 0 ;
45535 PyObject *swig_obj[1] ;
45536
45537 if (!args) SWIG_fail;
45538 swig_obj[0] = args;
45539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45540 if (!SWIG_IsOK(res1)) {
45541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45542 }
45543 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45544 {
45545 PyThreadState* __tstate = wxPyBeginAllowThreads();
45546 result = ((wxFontPickerEvent const *)arg1)->GetFont();
45547 wxPyEndAllowThreads(__tstate);
45548 if (PyErr_Occurred()) SWIG_fail;
45549 }
45550 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
45551 return resultobj;
45552fail:
45553 return NULL;
45554}
45555
45556
45557SWIGINTERN PyObject *_wrap_FontPickerEvent_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45558 PyObject *resultobj = 0;
45559 wxFontPickerEvent *arg1 = (wxFontPickerEvent *) 0 ;
45560 wxFont *arg2 = 0 ;
45561 void *argp1 = 0 ;
45562 int res1 = 0 ;
45563 void *argp2 = 0 ;
45564 int res2 = 0 ;
45565 PyObject * obj0 = 0 ;
45566 PyObject * obj1 = 0 ;
45567 char * kwnames[] = {
45568 (char *) "self",(char *) "c", NULL
45569 };
45570
45571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontPickerEvent_SetFont",kwnames,&obj0,&obj1)) SWIG_fail;
45572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontPickerEvent, 0 | 0 );
45573 if (!SWIG_IsOK(res1)) {
45574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45575 }
45576 arg1 = reinterpret_cast< wxFontPickerEvent * >(argp1);
45577 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
45578 if (!SWIG_IsOK(res2)) {
45579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45580 }
45581 if (!argp2) {
45582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45583 }
45584 arg2 = reinterpret_cast< wxFont * >(argp2);
45585 {
45586 PyThreadState* __tstate = wxPyBeginAllowThreads();
45587 (arg1)->SetFont((wxFont const &)*arg2);
45588 wxPyEndAllowThreads(__tstate);
45589 if (PyErr_Occurred()) SWIG_fail;
45590 }
45591 resultobj = SWIG_Py_Void();
45592 return resultobj;
45593fail:
45594 return NULL;
45595}
45596
45597
45598SWIGINTERN PyObject *FontPickerEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45599 PyObject *obj;
45600 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
45601 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent, SWIG_NewClientData(obj));
45602 return SWIG_Py_Void();
45603}
45604
45605SWIGINTERN PyObject *FontPickerEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45606 return SWIG_Python_InitShadowInstance(args);
45607}
45608
5172800e
RD
45609SWIGINTERN int CollapsiblePaneNameStr_set(PyObject *) {
45610 SWIG_Error(SWIG_AttributeError,"Variable CollapsiblePaneNameStr is read-only.");
45611 return 1;
45612}
45613
45614
45615SWIGINTERN PyObject *CollapsiblePaneNameStr_get(void) {
45616 PyObject *pyobj = 0;
45617
45618 {
45619#if wxUSE_UNICODE
45620 pyobj = PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45621#else
45622 pyobj = PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr)->c_str(), (&wxPyCollapsiblePaneNameStr)->Len());
45623#endif
45624 }
45625 return pyobj;
45626}
45627
45628
45629SWIGINTERN PyObject *_wrap_new_CollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45630 PyObject *resultobj = 0;
45631 wxWindow *arg1 = (wxWindow *) 0 ;
45632 int arg2 = (int) -1 ;
45633 wxString const &arg3_defvalue = wxPyEmptyString ;
45634 wxString *arg3 = (wxString *) &arg3_defvalue ;
45635 wxPoint const &arg4_defvalue = wxDefaultPosition ;
45636 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
45637 wxSize const &arg5_defvalue = wxDefaultSize ;
45638 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
45639 long arg6 = (long) wxCP_DEFAULT_STYLE ;
45640 wxValidator const &arg7_defvalue = wxDefaultValidator ;
45641 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
45642 wxString const &arg8_defvalue = wxPyCollapsiblePaneNameStr ;
45643 wxString *arg8 = (wxString *) &arg8_defvalue ;
45644 wxCollapsiblePane *result = 0 ;
45645 void *argp1 = 0 ;
45646 int res1 = 0 ;
45647 int val2 ;
45648 int ecode2 = 0 ;
45649 bool temp3 = false ;
45650 wxPoint temp4 ;
45651 wxSize temp5 ;
45652 long val6 ;
45653 int ecode6 = 0 ;
45654 void *argp7 = 0 ;
45655 int res7 = 0 ;
45656 bool temp8 = false ;
45657 PyObject * obj0 = 0 ;
45658 PyObject * obj1 = 0 ;
45659 PyObject * obj2 = 0 ;
45660 PyObject * obj3 = 0 ;
45661 PyObject * obj4 = 0 ;
45662 PyObject * obj5 = 0 ;
45663 PyObject * obj6 = 0 ;
45664 PyObject * obj7 = 0 ;
45665 char * kwnames[] = {
45666 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45667 };
45668
45669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
45670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
45671 if (!SWIG_IsOK(res1)) {
45672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45673 }
45674 arg1 = reinterpret_cast< wxWindow * >(argp1);
45675 if (obj1) {
45676 ecode2 = SWIG_AsVal_int(obj1, &val2);
45677 if (!SWIG_IsOK(ecode2)) {
45678 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45679 }
45680 arg2 = static_cast< int >(val2);
45681 }
45682 if (obj2) {
45683 {
45684 arg3 = wxString_in_helper(obj2);
45685 if (arg3 == NULL) SWIG_fail;
45686 temp3 = true;
45687 }
45688 }
45689 if (obj3) {
45690 {
45691 arg4 = &temp4;
45692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
45693 }
45694 }
45695 if (obj4) {
45696 {
45697 arg5 = &temp5;
45698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
45699 }
45700 }
45701 if (obj5) {
45702 ecode6 = SWIG_AsVal_long(obj5, &val6);
45703 if (!SWIG_IsOK(ecode6)) {
45704 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45705 }
45706 arg6 = static_cast< long >(val6);
45707 }
45708 if (obj6) {
45709 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
45710 if (!SWIG_IsOK(res7)) {
45711 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45712 }
45713 if (!argp7) {
45714 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45715 }
45716 arg7 = reinterpret_cast< wxValidator * >(argp7);
45717 }
45718 if (obj7) {
45719 {
45720 arg8 = wxString_in_helper(obj7);
45721 if (arg8 == NULL) SWIG_fail;
45722 temp8 = true;
45723 }
45724 }
45725 {
45726 if (!wxPyCheckForApp()) SWIG_fail;
45727 PyThreadState* __tstate = wxPyBeginAllowThreads();
45728 result = (wxCollapsiblePane *)new wxCollapsiblePane(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
45729 wxPyEndAllowThreads(__tstate);
45730 if (PyErr_Occurred()) SWIG_fail;
45731 }
45732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_NEW | 0 );
45733 {
45734 if (temp3)
45735 delete arg3;
45736 }
45737 {
45738 if (temp8)
45739 delete arg8;
45740 }
45741 return resultobj;
45742fail:
45743 {
45744 if (temp3)
45745 delete arg3;
45746 }
45747 {
45748 if (temp8)
45749 delete arg8;
45750 }
45751 return NULL;
45752}
45753
45754
45755SWIGINTERN PyObject *_wrap_new_PreCollapsiblePane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45756 PyObject *resultobj = 0;
45757 wxCollapsiblePane *result = 0 ;
45758
45759 if (!SWIG_Python_UnpackTuple(args,"new_PreCollapsiblePane",0,0,0)) SWIG_fail;
45760 {
45761 if (!wxPyCheckForApp()) SWIG_fail;
45762 PyThreadState* __tstate = wxPyBeginAllowThreads();
45763 result = (wxCollapsiblePane *)new wxCollapsiblePane();
45764 wxPyEndAllowThreads(__tstate);
45765 if (PyErr_Occurred()) SWIG_fail;
45766 }
45767 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePane, SWIG_POINTER_OWN | 0 );
45768 return resultobj;
45769fail:
45770 return NULL;
45771}
45772
45773
45774SWIGINTERN PyObject *_wrap_CollapsiblePane_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45775 PyObject *resultobj = 0;
45776 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45777 wxWindow *arg2 = (wxWindow *) 0 ;
45778 int arg3 = (int) -1 ;
45779 wxString const &arg4_defvalue = wxPyEmptyString ;
45780 wxString *arg4 = (wxString *) &arg4_defvalue ;
45781 wxPoint const &arg5_defvalue = wxDefaultPosition ;
45782 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
45783 wxSize const &arg6_defvalue = wxDefaultSize ;
45784 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
45785 long arg7 = (long) wxCP_DEFAULT_STYLE ;
45786 wxValidator const &arg8_defvalue = wxDefaultValidator ;
45787 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
45788 wxString const &arg9_defvalue = wxPyCollapsiblePaneNameStr ;
45789 wxString *arg9 = (wxString *) &arg9_defvalue ;
45790 bool result;
45791 void *argp1 = 0 ;
45792 int res1 = 0 ;
45793 void *argp2 = 0 ;
45794 int res2 = 0 ;
45795 int val3 ;
45796 int ecode3 = 0 ;
45797 bool temp4 = false ;
45798 wxPoint temp5 ;
45799 wxSize temp6 ;
45800 long val7 ;
45801 int ecode7 = 0 ;
45802 void *argp8 = 0 ;
45803 int res8 = 0 ;
45804 bool temp9 = false ;
45805 PyObject * obj0 = 0 ;
45806 PyObject * obj1 = 0 ;
45807 PyObject * obj2 = 0 ;
45808 PyObject * obj3 = 0 ;
45809 PyObject * obj4 = 0 ;
45810 PyObject * obj5 = 0 ;
45811 PyObject * obj6 = 0 ;
45812 PyObject * obj7 = 0 ;
45813 PyObject * obj8 = 0 ;
45814 char * kwnames[] = {
45815 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45816 };
45817
45818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
45819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45820 if (!SWIG_IsOK(res1)) {
45821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45822 }
45823 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45824 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
45825 if (!SWIG_IsOK(res2)) {
45826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45827 }
45828 arg2 = reinterpret_cast< wxWindow * >(argp2);
45829 if (obj2) {
45830 ecode3 = SWIG_AsVal_int(obj2, &val3);
45831 if (!SWIG_IsOK(ecode3)) {
45832 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45833 }
45834 arg3 = static_cast< int >(val3);
45835 }
45836 if (obj3) {
45837 {
45838 arg4 = wxString_in_helper(obj3);
45839 if (arg4 == NULL) SWIG_fail;
45840 temp4 = true;
45841 }
45842 }
45843 if (obj4) {
45844 {
45845 arg5 = &temp5;
45846 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
45847 }
45848 }
45849 if (obj5) {
45850 {
45851 arg6 = &temp6;
45852 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
45853 }
45854 }
45855 if (obj6) {
45856 ecode7 = SWIG_AsVal_long(obj6, &val7);
45857 if (!SWIG_IsOK(ecode7)) {
45858 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45859 }
45860 arg7 = static_cast< long >(val7);
45861 }
45862 if (obj7) {
45863 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
45864 if (!SWIG_IsOK(res8)) {
45865 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45866 }
45867 if (!argp8) {
45868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45869 }
45870 arg8 = reinterpret_cast< wxValidator * >(argp8);
45871 }
45872 if (obj8) {
45873 {
45874 arg9 = wxString_in_helper(obj8);
45875 if (arg9 == NULL) SWIG_fail;
45876 temp9 = true;
45877 }
45878 }
45879 {
45880 PyThreadState* __tstate = wxPyBeginAllowThreads();
45881 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
45882 wxPyEndAllowThreads(__tstate);
45883 if (PyErr_Occurred()) SWIG_fail;
45884 }
45885 {
45886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
45887 }
45888 {
45889 if (temp4)
45890 delete arg4;
45891 }
45892 {
45893 if (temp9)
45894 delete arg9;
45895 }
45896 return resultobj;
45897fail:
45898 {
45899 if (temp4)
45900 delete arg4;
45901 }
45902 {
45903 if (temp9)
45904 delete arg9;
45905 }
45906 return NULL;
45907}
45908
45909
45910SWIGINTERN PyObject *_wrap_CollapsiblePane_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
45911 PyObject *resultobj = 0;
45912 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45913 bool arg2 = (bool) true ;
45914 void *argp1 = 0 ;
45915 int res1 = 0 ;
45916 bool val2 ;
45917 int ecode2 = 0 ;
45918 PyObject * obj0 = 0 ;
45919 PyObject * obj1 = 0 ;
45920 char * kwnames[] = {
45921 (char *) "self",(char *) "collapse", NULL
45922 };
45923
45924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CollapsiblePane_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
45925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45926 if (!SWIG_IsOK(res1)) {
45927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45928 }
45929 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45930 if (obj1) {
45931 ecode2 = SWIG_AsVal_bool(obj1, &val2);
45932 if (!SWIG_IsOK(ecode2)) {
45933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45934 }
45935 arg2 = static_cast< bool >(val2);
45936 }
45937 {
45938 PyThreadState* __tstate = wxPyBeginAllowThreads();
45939 (arg1)->Collapse(arg2);
45940 wxPyEndAllowThreads(__tstate);
45941 if (PyErr_Occurred()) SWIG_fail;
45942 }
45943 resultobj = SWIG_Py_Void();
45944 return resultobj;
45945fail:
45946 return NULL;
45947}
45948
45949
45950SWIGINTERN PyObject *_wrap_CollapsiblePane_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45951 PyObject *resultobj = 0;
45952 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45953 void *argp1 = 0 ;
45954 int res1 = 0 ;
45955 PyObject *swig_obj[1] ;
45956
45957 if (!args) SWIG_fail;
45958 swig_obj[0] = args;
45959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45960 if (!SWIG_IsOK(res1)) {
45961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45962 }
45963 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45964 {
45965 PyThreadState* __tstate = wxPyBeginAllowThreads();
45966 (arg1)->Expand();
45967 wxPyEndAllowThreads(__tstate);
45968 if (PyErr_Occurred()) SWIG_fail;
45969 }
45970 resultobj = SWIG_Py_Void();
45971 return resultobj;
45972fail:
45973 return NULL;
45974}
45975
45976
45977SWIGINTERN PyObject *_wrap_CollapsiblePane_IsCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
45978 PyObject *resultobj = 0;
45979 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
45980 bool result;
45981 void *argp1 = 0 ;
45982 int res1 = 0 ;
45983 PyObject *swig_obj[1] ;
45984
45985 if (!args) SWIG_fail;
45986 swig_obj[0] = args;
45987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
45988 if (!SWIG_IsOK(res1)) {
45989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45990 }
45991 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
45992 {
45993 PyThreadState* __tstate = wxPyBeginAllowThreads();
45994 result = (bool)((wxCollapsiblePane const *)arg1)->IsCollapsed();
45995 wxPyEndAllowThreads(__tstate);
45996 if (PyErr_Occurred()) SWIG_fail;
45997 }
45998 {
45999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46000 }
46001 return resultobj;
46002fail:
46003 return NULL;
46004}
46005
46006
46007SWIGINTERN PyObject *_wrap_CollapsiblePane_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46008 PyObject *resultobj = 0;
46009 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46010 bool result;
46011 void *argp1 = 0 ;
46012 int res1 = 0 ;
46013 PyObject *swig_obj[1] ;
46014
46015 if (!args) SWIG_fail;
46016 swig_obj[0] = args;
46017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46018 if (!SWIG_IsOK(res1)) {
46019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46020 }
46021 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46022 {
46023 PyThreadState* __tstate = wxPyBeginAllowThreads();
46024 result = (bool)((wxCollapsiblePane const *)arg1)->IsExpanded();
46025 wxPyEndAllowThreads(__tstate);
46026 if (PyErr_Occurred()) SWIG_fail;
46027 }
46028 {
46029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46030 }
46031 return resultobj;
46032fail:
46033 return NULL;
46034}
46035
46036
46037SWIGINTERN PyObject *_wrap_CollapsiblePane_GetPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46038 PyObject *resultobj = 0;
46039 wxCollapsiblePane *arg1 = (wxCollapsiblePane *) 0 ;
46040 wxWindow *result = 0 ;
46041 void *argp1 = 0 ;
46042 int res1 = 0 ;
46043 PyObject *swig_obj[1] ;
46044
46045 if (!args) SWIG_fail;
46046 swig_obj[0] = args;
46047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePane, 0 | 0 );
46048 if (!SWIG_IsOK(res1)) {
46049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46050 }
46051 arg1 = reinterpret_cast< wxCollapsiblePane * >(argp1);
46052 {
46053 PyThreadState* __tstate = wxPyBeginAllowThreads();
46054 result = (wxWindow *)((wxCollapsiblePane const *)arg1)->GetPane();
46055 wxPyEndAllowThreads(__tstate);
46056 if (PyErr_Occurred()) SWIG_fail;
46057 }
46058 {
46059 resultobj = wxPyMake_wxObject(result, 0);
46060 }
46061 return resultobj;
46062fail:
46063 return NULL;
46064}
46065
46066
46067SWIGINTERN PyObject *CollapsiblePane_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46068 PyObject *obj;
46069 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46070 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane, SWIG_NewClientData(obj));
46071 return SWIG_Py_Void();
46072}
46073
46074SWIGINTERN PyObject *CollapsiblePane_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46075 return SWIG_Python_InitShadowInstance(args);
46076}
46077
46078SWIGINTERN PyObject *_wrap_new_CollapsiblePaneEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46079 PyObject *resultobj = 0;
46080 wxObject *arg1 = (wxObject *) 0 ;
46081 int arg2 ;
46082 bool arg3 ;
46083 wxCollapsiblePaneEvent *result = 0 ;
46084 void *argp1 = 0 ;
46085 int res1 = 0 ;
46086 int val2 ;
46087 int ecode2 = 0 ;
46088 bool val3 ;
46089 int ecode3 = 0 ;
46090 PyObject * obj0 = 0 ;
46091 PyObject * obj1 = 0 ;
46092 PyObject * obj2 = 0 ;
46093 char * kwnames[] = {
46094 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46095 };
46096
46097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_CollapsiblePaneEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
46098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
46099 if (!SWIG_IsOK(res1)) {
46100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46101 }
46102 arg1 = reinterpret_cast< wxObject * >(argp1);
46103 ecode2 = SWIG_AsVal_int(obj1, &val2);
46104 if (!SWIG_IsOK(ecode2)) {
46105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46106 }
46107 arg2 = static_cast< int >(val2);
46108 ecode3 = SWIG_AsVal_bool(obj2, &val3);
46109 if (!SWIG_IsOK(ecode3)) {
46110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46111 }
46112 arg3 = static_cast< bool >(val3);
46113 {
46114 PyThreadState* __tstate = wxPyBeginAllowThreads();
46115 result = (wxCollapsiblePaneEvent *)new wxCollapsiblePaneEvent(arg1,arg2,arg3);
46116 wxPyEndAllowThreads(__tstate);
46117 if (PyErr_Occurred()) SWIG_fail;
46118 }
46119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_POINTER_NEW | 0 );
46120 return resultobj;
46121fail:
46122 return NULL;
46123}
46124
46125
46126SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46127 PyObject *resultobj = 0;
46128 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46129 bool result;
46130 void *argp1 = 0 ;
46131 int res1 = 0 ;
46132 PyObject *swig_obj[1] ;
46133
46134 if (!args) SWIG_fail;
46135 swig_obj[0] = args;
46136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46137 if (!SWIG_IsOK(res1)) {
46138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46139 }
46140 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46141 {
46142 PyThreadState* __tstate = wxPyBeginAllowThreads();
46143 result = (bool)((wxCollapsiblePaneEvent const *)arg1)->GetCollapsed();
46144 wxPyEndAllowThreads(__tstate);
46145 if (PyErr_Occurred()) SWIG_fail;
46146 }
46147 {
46148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
46149 }
46150 return resultobj;
46151fail:
46152 return NULL;
46153}
46154
46155
46156SWIGINTERN PyObject *_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
46157 PyObject *resultobj = 0;
46158 wxCollapsiblePaneEvent *arg1 = (wxCollapsiblePaneEvent *) 0 ;
46159 bool arg2 ;
46160 void *argp1 = 0 ;
46161 int res1 = 0 ;
46162 bool val2 ;
46163 int ecode2 = 0 ;
46164 PyObject * obj0 = 0 ;
46165 PyObject * obj1 = 0 ;
46166 char * kwnames[] = {
46167 (char *) "self",(char *) "c", NULL
46168 };
46169
46170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames,&obj0,&obj1)) SWIG_fail;
46171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCollapsiblePaneEvent, 0 | 0 );
46172 if (!SWIG_IsOK(res1)) {
46173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46174 }
46175 arg1 = reinterpret_cast< wxCollapsiblePaneEvent * >(argp1);
46176 ecode2 = SWIG_AsVal_bool(obj1, &val2);
46177 if (!SWIG_IsOK(ecode2)) {
46178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46179 }
46180 arg2 = static_cast< bool >(val2);
46181 {
46182 PyThreadState* __tstate = wxPyBeginAllowThreads();
46183 (arg1)->SetCollapsed(arg2);
46184 wxPyEndAllowThreads(__tstate);
46185 if (PyErr_Occurred()) SWIG_fail;
46186 }
46187 resultobj = SWIG_Py_Void();
46188 return resultobj;
46189fail:
46190 return NULL;
46191}
46192
46193
46194SWIGINTERN PyObject *CollapsiblePaneEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46195 PyObject *obj;
46196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
46197 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent, SWIG_NewClientData(obj));
46198 return SWIG_Py_Void();
46199}
46200
46201SWIGINTERN PyObject *CollapsiblePaneEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
46202 return SWIG_Python_InitShadowInstance(args);
46203}
46204
b850e7f3
RD
46205static PyMethodDef SwigMethods[] = {
46206 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS, NULL},
46207 { (char *)"new_PreButton", (PyCFunction)_wrap_new_PreButton, METH_NOARGS, NULL},
46208 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46209 { (char *)"Button_SetDefault", (PyCFunction)_wrap_Button_SetDefault, METH_O, NULL},
46210 { (char *)"Button_GetDefaultSize", (PyCFunction)_wrap_Button_GetDefaultSize, METH_NOARGS, NULL},
46211 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46212 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS, NULL},
46213 { (char *)"Button_swiginit", Button_swiginit, METH_VARARGS, NULL},
46214 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS, NULL},
46215 { (char *)"new_PreBitmapButton", (PyCFunction)_wrap_new_PreBitmapButton, METH_NOARGS, NULL},
46216 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46217 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction)_wrap_BitmapButton_GetBitmapLabel, METH_O, NULL},
46218 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction)_wrap_BitmapButton_GetBitmapDisabled, METH_O, NULL},
46219 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction)_wrap_BitmapButton_GetBitmapFocus, METH_O, NULL},
46220 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction)_wrap_BitmapButton_GetBitmapSelected, METH_O, NULL},
46221 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction)_wrap_BitmapButton_GetBitmapHover, METH_O, NULL},
46222 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS, NULL},
46223 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS, NULL},
46224 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46225 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46226 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction) _wrap_BitmapButton_SetBitmapHover, METH_VARARGS | METH_KEYWORDS, NULL},
46227 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46228 { (char *)"BitmapButton_GetMarginX", (PyCFunction)_wrap_BitmapButton_GetMarginX, METH_O, NULL},
46229 { (char *)"BitmapButton_GetMarginY", (PyCFunction)_wrap_BitmapButton_GetMarginY, METH_O, NULL},
46230 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS, NULL},
46231 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit, METH_VARARGS, NULL},
46232 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS, NULL},
46233 { (char *)"new_PreCheckBox", (PyCFunction)_wrap_new_PreCheckBox, METH_NOARGS, NULL},
46234 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46235 { (char *)"CheckBox_GetValue", (PyCFunction)_wrap_CheckBox_GetValue, METH_O, NULL},
46236 { (char *)"CheckBox_IsChecked", (PyCFunction)_wrap_CheckBox_IsChecked, METH_O, NULL},
46237 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46238 { (char *)"CheckBox_Get3StateValue", (PyCFunction)_wrap_CheckBox_Get3StateValue, METH_O, NULL},
46239 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS, NULL},
46240 { (char *)"CheckBox_Is3State", (PyCFunction)_wrap_CheckBox_Is3State, METH_O, NULL},
46241 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction)_wrap_CheckBox_Is3rdStateAllowedForUser, METH_O, NULL},
46242 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46243 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS, NULL},
46244 { (char *)"CheckBox_swiginit", CheckBox_swiginit, METH_VARARGS, NULL},
46245 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS, NULL},
46246 { (char *)"new_PreChoice", (PyCFunction)_wrap_new_PreChoice, METH_NOARGS, NULL},
46247 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46248 { (char *)"Choice_GetCurrentSelection", (PyCFunction)_wrap_Choice_GetCurrentSelection, METH_O, NULL},
46249 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46250 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS, NULL},
46251 { (char *)"Choice_swiginit", Choice_swiginit, METH_VARARGS, NULL},
46252 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS, NULL},
46253 { (char *)"new_PreComboBox", (PyCFunction)_wrap_new_PreComboBox, METH_NOARGS, NULL},
46254 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46255 { (char *)"ComboBox_GetValue", (PyCFunction)_wrap_ComboBox_GetValue, METH_O, NULL},
46256 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46257 { (char *)"ComboBox_Copy", (PyCFunction)_wrap_ComboBox_Copy, METH_O, NULL},
46258 { (char *)"ComboBox_Cut", (PyCFunction)_wrap_ComboBox_Cut, METH_O, NULL},
46259 { (char *)"ComboBox_Paste", (PyCFunction)_wrap_ComboBox_Paste, METH_O, NULL},
46260 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46261 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction)_wrap_ComboBox_GetInsertionPoint, METH_O, NULL},
46262 { (char *)"ComboBox_GetLastPosition", (PyCFunction)_wrap_ComboBox_GetLastPosition, METH_O, NULL},
46263 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46264 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS, NULL},
46265 { (char *)"ComboBox_GetMark", (PyCFunction)_wrap_ComboBox_GetMark, METH_O, NULL},
46266 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction)_wrap_ComboBox_GetCurrentSelection, METH_O, NULL},
46267 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46268 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
46269 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction)_wrap_ComboBox_SetInsertionPointEnd, METH_O, NULL},
46270 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46271 { (char *)"ComboBox_IsEditable", (PyCFunction)_wrap_ComboBox_IsEditable, METH_O, NULL},
46272 { (char *)"ComboBox_Undo", (PyCFunction)_wrap_ComboBox_Undo, METH_O, NULL},
46273 { (char *)"ComboBox_Redo", (PyCFunction)_wrap_ComboBox_Redo, METH_O, NULL},
46274 { (char *)"ComboBox_SelectAll", (PyCFunction)_wrap_ComboBox_SelectAll, METH_O, NULL},
46275 { (char *)"ComboBox_CanCopy", (PyCFunction)_wrap_ComboBox_CanCopy, METH_O, NULL},
46276 { (char *)"ComboBox_CanCut", (PyCFunction)_wrap_ComboBox_CanCut, METH_O, NULL},
46277 { (char *)"ComboBox_CanPaste", (PyCFunction)_wrap_ComboBox_CanPaste, METH_O, NULL},
46278 { (char *)"ComboBox_CanUndo", (PyCFunction)_wrap_ComboBox_CanUndo, METH_O, NULL},
46279 { (char *)"ComboBox_CanRedo", (PyCFunction)_wrap_ComboBox_CanRedo, METH_O, NULL},
46280 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46281 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS, NULL},
46282 { (char *)"ComboBox_swiginit", ComboBox_swiginit, METH_VARARGS, NULL},
46283 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS, NULL},
46284 { (char *)"new_PreGauge", (PyCFunction)_wrap_new_PreGauge, METH_NOARGS, NULL},
46285 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46286 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46287 { (char *)"Gauge_GetRange", (PyCFunction)_wrap_Gauge_GetRange, METH_O, NULL},
46288 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46289 { (char *)"Gauge_GetValue", (PyCFunction)_wrap_Gauge_GetValue, METH_O, NULL},
0d2c9713 46290 { (char *)"Gauge_Pulse", (PyCFunction)_wrap_Gauge_Pulse, METH_O, NULL},
b850e7f3
RD
46291 { (char *)"Gauge_IsVertical", (PyCFunction)_wrap_Gauge_IsVertical, METH_O, NULL},
46292 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46293 { (char *)"Gauge_GetShadowWidth", (PyCFunction)_wrap_Gauge_GetShadowWidth, METH_O, NULL},
46294 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS, NULL},
46295 { (char *)"Gauge_GetBezelFace", (PyCFunction)_wrap_Gauge_GetBezelFace, METH_O, NULL},
46296 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46297 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS, NULL},
46298 { (char *)"Gauge_swiginit", Gauge_swiginit, METH_VARARGS, NULL},
46299 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS, NULL},
46300 { (char *)"new_PreStaticBox", (PyCFunction)_wrap_new_PreStaticBox, METH_NOARGS, NULL},
46301 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46302 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46303 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS, NULL},
46304 { (char *)"StaticBox_swiginit", StaticBox_swiginit, METH_VARARGS, NULL},
46305 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS, NULL},
46306 { (char *)"new_PreStaticLine", (PyCFunction)_wrap_new_PreStaticLine, METH_NOARGS, NULL},
46307 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46308 { (char *)"StaticLine_IsVertical", (PyCFunction)_wrap_StaticLine_IsVertical, METH_O, NULL},
46309 { (char *)"StaticLine_GetDefaultSize", (PyCFunction)_wrap_StaticLine_GetDefaultSize, METH_NOARGS, NULL},
46310 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46311 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS, NULL},
46312 { (char *)"StaticLine_swiginit", StaticLine_swiginit, METH_VARARGS, NULL},
46313 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS, NULL},
46314 { (char *)"new_PreStaticText", (PyCFunction)_wrap_new_PreStaticText, METH_NOARGS, NULL},
46315 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46316 { (char *)"StaticText_Wrap", (PyCFunction) _wrap_StaticText_Wrap, METH_VARARGS | METH_KEYWORDS, NULL},
46317 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46318 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS, NULL},
46319 { (char *)"StaticText_swiginit", StaticText_swiginit, METH_VARARGS, NULL},
46320 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46321 { (char *)"new_PreStaticBitmap", (PyCFunction)_wrap_new_PreStaticBitmap, METH_NOARGS, NULL},
46322 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46323 { (char *)"StaticBitmap_GetBitmap", (PyCFunction)_wrap_StaticBitmap_GetBitmap, METH_O, NULL},
46324 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46325 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
46326 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46327 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS, NULL},
46328 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit, METH_VARARGS, NULL},
46329 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46330 { (char *)"new_PreListBox", (PyCFunction)_wrap_new_PreListBox, METH_NOARGS, NULL},
46331 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46332 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS, NULL},
46333 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS, NULL},
46334 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS, NULL},
46335 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46336 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46337 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46338 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS, NULL},
46339 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
46340 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46341 { (char *)"ListBox_GetSelections", (PyCFunction)_wrap_ListBox_GetSelections, METH_O, NULL},
46342 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS, NULL},
46343 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS, NULL},
46344 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46345 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46346 { (char *)"ListBox_IsSorted", (PyCFunction)_wrap_ListBox_IsSorted, METH_O, NULL},
46347 { (char *)"ListBox_HitTest", (PyCFunction) _wrap_ListBox_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46348 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46349 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46350 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46351 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46352 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS, NULL},
46353 { (char *)"ListBox_swiginit", ListBox_swiginit, METH_VARARGS, NULL},
46354 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS, NULL},
46355 { (char *)"new_PreCheckListBox", (PyCFunction)_wrap_new_PreCheckListBox, METH_NOARGS, NULL},
46356 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46357 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL},
46358 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS, NULL},
46359 { (char *)"CheckListBox_GetItemHeight", (PyCFunction)_wrap_CheckListBox_GetItemHeight, METH_O, NULL},
46360 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS, NULL},
46361 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit, METH_VARARGS, NULL},
46362 { (char *)"new_TextAttr", (PyCFunction) _wrap_new_TextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46363 { (char *)"delete_TextAttr", (PyCFunction)_wrap_delete_TextAttr, METH_O, NULL},
46364 { (char *)"TextAttr_Init", (PyCFunction)_wrap_TextAttr_Init, METH_O, NULL},
46365 { (char *)"TextAttr_Merge", (PyCFunction) _wrap_TextAttr_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
46366 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46367 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46368 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46369 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
46370 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
46371 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46372 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46373 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
46374 { (char *)"TextAttr_HasTextColour", (PyCFunction)_wrap_TextAttr_HasTextColour, METH_O, NULL},
46375 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction)_wrap_TextAttr_HasBackgroundColour, METH_O, NULL},
46376 { (char *)"TextAttr_HasFont", (PyCFunction)_wrap_TextAttr_HasFont, METH_O, NULL},
46377 { (char *)"TextAttr_HasAlignment", (PyCFunction)_wrap_TextAttr_HasAlignment, METH_O, NULL},
46378 { (char *)"TextAttr_HasTabs", (PyCFunction)_wrap_TextAttr_HasTabs, METH_O, NULL},
46379 { (char *)"TextAttr_HasLeftIndent", (PyCFunction)_wrap_TextAttr_HasLeftIndent, METH_O, NULL},
46380 { (char *)"TextAttr_HasRightIndent", (PyCFunction)_wrap_TextAttr_HasRightIndent, METH_O, NULL},
46381 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
46382 { (char *)"TextAttr_GetTextColour", (PyCFunction)_wrap_TextAttr_GetTextColour, METH_O, NULL},
46383 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction)_wrap_TextAttr_GetBackgroundColour, METH_O, NULL},
46384 { (char *)"TextAttr_GetFont", (PyCFunction)_wrap_TextAttr_GetFont, METH_O, NULL},
46385 { (char *)"TextAttr_GetAlignment", (PyCFunction)_wrap_TextAttr_GetAlignment, METH_O, NULL},
46386 { (char *)"TextAttr_GetTabs", (PyCFunction)_wrap_TextAttr_GetTabs, METH_O, NULL},
46387 { (char *)"TextAttr_GetLeftIndent", (PyCFunction)_wrap_TextAttr_GetLeftIndent, METH_O, NULL},
46388 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction)_wrap_TextAttr_GetLeftSubIndent, METH_O, NULL},
46389 { (char *)"TextAttr_GetRightIndent", (PyCFunction)_wrap_TextAttr_GetRightIndent, METH_O, NULL},
46390 { (char *)"TextAttr_GetFlags", (PyCFunction)_wrap_TextAttr_GetFlags, METH_O, NULL},
46391 { (char *)"TextAttr_IsDefault", (PyCFunction)_wrap_TextAttr_IsDefault, METH_O, NULL},
46392 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS, NULL},
46393 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS, NULL},
46394 { (char *)"TextAttr_swiginit", TextAttr_swiginit, METH_VARARGS, NULL},
46395 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46396 { (char *)"new_PreTextCtrl", (PyCFunction)_wrap_new_PreTextCtrl, METH_NOARGS, NULL},
46397 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46398 { (char *)"TextCtrl_GetValue", (PyCFunction)_wrap_TextCtrl_GetValue, METH_O, NULL},
46399 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
46400 { (char *)"TextCtrl_IsEmpty", (PyCFunction)_wrap_TextCtrl_IsEmpty, METH_O, NULL},
46401 { (char *)"TextCtrl_ChangeValue", (PyCFunction) _wrap_TextCtrl_ChangeValue, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46402 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46403 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS, NULL},
46404 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS, NULL},
46405 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction)_wrap_TextCtrl_GetNumberOfLines, METH_O, NULL},
46406 { (char *)"TextCtrl_IsModified", (PyCFunction)_wrap_TextCtrl_IsModified, METH_O, NULL},
46407 { (char *)"TextCtrl_IsEditable", (PyCFunction)_wrap_TextCtrl_IsEditable, METH_O, NULL},
46408 { (char *)"TextCtrl_IsSingleLine", (PyCFunction)_wrap_TextCtrl_IsSingleLine, METH_O, NULL},
46409 { (char *)"TextCtrl_IsMultiLine", (PyCFunction)_wrap_TextCtrl_IsMultiLine, METH_O, NULL},
46410 { (char *)"TextCtrl_GetSelection", (PyCFunction)_wrap_TextCtrl_GetSelection, METH_O, NULL},
46411 { (char *)"TextCtrl_GetStringSelection", (PyCFunction)_wrap_TextCtrl_GetStringSelection, METH_O, NULL},
46412 { (char *)"TextCtrl_Clear", (PyCFunction)_wrap_TextCtrl_Clear, METH_O, NULL},
46413 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS, NULL},
46414 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS, NULL},
46415 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
46416 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
46417 { (char *)"TextCtrl_MarkDirty", (PyCFunction)_wrap_TextCtrl_MarkDirty, METH_O, NULL},
46418 { (char *)"TextCtrl_DiscardEdits", (PyCFunction)_wrap_TextCtrl_DiscardEdits, METH_O, NULL},
b02396e8 46419 { (char *)"TextCtrl_SetModified", (PyCFunction) _wrap_TextCtrl_SetModified, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
46420 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS, NULL},
46421 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
46422 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
46423 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS, NULL},
46424 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46425 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46426 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46427 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction)_wrap_TextCtrl_GetDefaultStyle, METH_O, NULL},
46428 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46429 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
46430 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46431 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
46432 { (char *)"TextCtrl_HitTestPos", (PyCFunction) _wrap_TextCtrl_HitTestPos, METH_VARARGS | METH_KEYWORDS, NULL},
46433 { (char *)"TextCtrl_Copy", (PyCFunction)_wrap_TextCtrl_Copy, METH_O, NULL},
46434 { (char *)"TextCtrl_Cut", (PyCFunction)_wrap_TextCtrl_Cut, METH_O, NULL},
46435 { (char *)"TextCtrl_Paste", (PyCFunction)_wrap_TextCtrl_Paste, METH_O, NULL},
46436 { (char *)"TextCtrl_CanCopy", (PyCFunction)_wrap_TextCtrl_CanCopy, METH_O, NULL},
46437 { (char *)"TextCtrl_CanCut", (PyCFunction)_wrap_TextCtrl_CanCut, METH_O, NULL},
46438 { (char *)"TextCtrl_CanPaste", (PyCFunction)_wrap_TextCtrl_CanPaste, METH_O, NULL},
46439 { (char *)"TextCtrl_Undo", (PyCFunction)_wrap_TextCtrl_Undo, METH_O, NULL},
46440 { (char *)"TextCtrl_Redo", (PyCFunction)_wrap_TextCtrl_Redo, METH_O, NULL},
46441 { (char *)"TextCtrl_CanUndo", (PyCFunction)_wrap_TextCtrl_CanUndo, METH_O, NULL},
46442 { (char *)"TextCtrl_CanRedo", (PyCFunction)_wrap_TextCtrl_CanRedo, METH_O, NULL},
46443 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46444 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction)_wrap_TextCtrl_SetInsertionPointEnd, METH_O, NULL},
46445 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction)_wrap_TextCtrl_GetInsertionPoint, METH_O, NULL},
46446 { (char *)"TextCtrl_GetLastPosition", (PyCFunction)_wrap_TextCtrl_GetLastPosition, METH_O, NULL},
46447 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46448 { (char *)"TextCtrl_SelectAll", (PyCFunction)_wrap_TextCtrl_SelectAll, METH_O, NULL},
46449 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
d7645bfd 46450 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction) _wrap_TextCtrl_MacCheckSpelling, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 46451 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction)_wrap_TextCtrl_SendTextUpdatedEvent, METH_O, NULL},
b850e7f3
RD
46452 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS, NULL},
46453 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction)_wrap_TextCtrl_HideNativeCaret, METH_O, NULL},
46454 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS, NULL},
46455 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46456 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46457 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS, NULL},
46458 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit, METH_VARARGS, NULL},
46459 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46460 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction)_wrap_TextUrlEvent_GetMouseEvent, METH_O, NULL},
46461 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction)_wrap_TextUrlEvent_GetURLStart, METH_O, NULL},
46462 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction)_wrap_TextUrlEvent_GetURLEnd, METH_O, NULL},
46463 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS, NULL},
46464 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit, METH_VARARGS, NULL},
46465 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
46466 { (char *)"new_PreScrollBar", (PyCFunction)_wrap_new_PreScrollBar, METH_NOARGS, NULL},
46467 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46468 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction)_wrap_ScrollBar_GetThumbPosition, METH_O, NULL},
46469 { (char *)"ScrollBar_GetThumbSize", (PyCFunction)_wrap_ScrollBar_GetThumbSize, METH_O, NULL},
46470 { (char *)"ScrollBar_GetPageSize", (PyCFunction)_wrap_ScrollBar_GetPageSize, METH_O, NULL},
46471 { (char *)"ScrollBar_GetRange", (PyCFunction)_wrap_ScrollBar_GetRange, METH_O, NULL},
46472 { (char *)"ScrollBar_IsVertical", (PyCFunction)_wrap_ScrollBar_IsVertical, METH_O, NULL},
46473 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46474 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46475 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS, NULL},
46476 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit, METH_VARARGS, NULL},
46477 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS, NULL},
46478 { (char *)"new_PreSpinButton", (PyCFunction)_wrap_new_PreSpinButton, METH_NOARGS, NULL},
46479 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46480 { (char *)"SpinButton_GetValue", (PyCFunction)_wrap_SpinButton_GetValue, METH_O, NULL},
46481 { (char *)"SpinButton_GetMin", (PyCFunction)_wrap_SpinButton_GetMin, METH_O, NULL},
46482 { (char *)"SpinButton_GetMax", (PyCFunction)_wrap_SpinButton_GetMax, METH_O, NULL},
46483 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46484 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46485 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46486 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46487 { (char *)"SpinButton_IsVertical", (PyCFunction)_wrap_SpinButton_IsVertical, METH_O, NULL},
46488 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46489 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS, NULL},
46490 { (char *)"SpinButton_swiginit", SpinButton_swiginit, METH_VARARGS, NULL},
46491 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46492 { (char *)"new_PreSpinCtrl", (PyCFunction)_wrap_new_PreSpinCtrl, METH_NOARGS, NULL},
46493 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46494 { (char *)"SpinCtrl_GetValue", (PyCFunction)_wrap_SpinCtrl_GetValue, METH_O, NULL},
46495 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46496 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS, NULL},
46497 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46498 { (char *)"SpinCtrl_GetMin", (PyCFunction)_wrap_SpinCtrl_GetMin, METH_O, NULL},
46499 { (char *)"SpinCtrl_GetMax", (PyCFunction)_wrap_SpinCtrl_GetMax, METH_O, NULL},
46500 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46501 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46502 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS, NULL},
46503 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit, METH_VARARGS, NULL},
46504 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46505 { (char *)"SpinEvent_GetPosition", (PyCFunction)_wrap_SpinEvent_GetPosition, METH_O, NULL},
46506 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46507 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS, NULL},
46508 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit, METH_VARARGS, NULL},
46509 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS, NULL},
46510 { (char *)"new_PreRadioBox", (PyCFunction)_wrap_new_PreRadioBox, METH_NOARGS, NULL},
46511 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46512 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46513 { (char *)"RadioBox_GetSelection", (PyCFunction)_wrap_RadioBox_GetSelection, METH_O, NULL},
46514 { (char *)"RadioBox_GetStringSelection", (PyCFunction)_wrap_RadioBox_GetStringSelection, METH_O, NULL},
46515 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46516 { (char *)"RadioBox_GetCount", (PyCFunction)_wrap_RadioBox_GetCount, METH_O, NULL},
46517 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS, NULL},
46518 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS, NULL},
46519 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS, NULL},
46520 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS, NULL},
46521 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS, NULL},
46522 { (char *)"RadioBox_IsItemEnabled", (PyCFunction) _wrap_RadioBox_IsItemEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46523 { (char *)"RadioBox_IsItemShown", (PyCFunction) _wrap_RadioBox_IsItemShown, METH_VARARGS | METH_KEYWORDS, NULL},
46524 { (char *)"RadioBox_GetColumnCount", (PyCFunction)_wrap_RadioBox_GetColumnCount, METH_O, NULL},
46525 { (char *)"RadioBox_GetRowCount", (PyCFunction)_wrap_RadioBox_GetRowCount, METH_O, NULL},
46526 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46527 { (char *)"RadioBox_SetItemToolTip", (PyCFunction) _wrap_RadioBox_SetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46528 { (char *)"RadioBox_GetItemToolTip", (PyCFunction) _wrap_RadioBox_GetItemToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46529 { (char *)"RadioBox_SetItemHelpText", (PyCFunction) _wrap_RadioBox_SetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46530 { (char *)"RadioBox_GetItemHelpText", (PyCFunction) _wrap_RadioBox_GetItemHelpText, METH_VARARGS | METH_KEYWORDS, NULL},
46531 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46532 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS, NULL},
46533 { (char *)"RadioBox_swiginit", RadioBox_swiginit, METH_VARARGS, NULL},
46534 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS, NULL},
46535 { (char *)"new_PreRadioButton", (PyCFunction)_wrap_new_PreRadioButton, METH_NOARGS, NULL},
46536 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46537 { (char *)"RadioButton_GetValue", (PyCFunction)_wrap_RadioButton_GetValue, METH_O, NULL},
46538 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46539 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46540 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS, NULL},
46541 { (char *)"RadioButton_swiginit", RadioButton_swiginit, METH_VARARGS, NULL},
46542 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS, NULL},
46543 { (char *)"new_PreSlider", (PyCFunction)_wrap_new_PreSlider, METH_NOARGS, NULL},
46544 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46545 { (char *)"Slider_GetValue", (PyCFunction)_wrap_Slider_GetValue, METH_O, NULL},
46546 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46547 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
46548 { (char *)"Slider_GetMin", (PyCFunction)_wrap_Slider_GetMin, METH_O, NULL},
46549 { (char *)"Slider_GetMax", (PyCFunction)_wrap_Slider_GetMax, METH_O, NULL},
46550 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS, NULL},
46551 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS, NULL},
46552 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS, NULL},
46553 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46554 { (char *)"Slider_GetLineSize", (PyCFunction)_wrap_Slider_GetLineSize, METH_O, NULL},
46555 { (char *)"Slider_GetPageSize", (PyCFunction)_wrap_Slider_GetPageSize, METH_O, NULL},
46556 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS, NULL},
46557 { (char *)"Slider_GetThumbLength", (PyCFunction)_wrap_Slider_GetThumbLength, METH_O, NULL},
46558 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS, NULL},
46559 { (char *)"Slider_GetTickFreq", (PyCFunction)_wrap_Slider_GetTickFreq, METH_O, NULL},
46560 { (char *)"Slider_ClearTicks", (PyCFunction)_wrap_Slider_ClearTicks, METH_O, NULL},
46561 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS, NULL},
46562 { (char *)"Slider_ClearSel", (PyCFunction)_wrap_Slider_ClearSel, METH_O, NULL},
46563 { (char *)"Slider_GetSelEnd", (PyCFunction)_wrap_Slider_GetSelEnd, METH_O, NULL},
46564 { (char *)"Slider_GetSelStart", (PyCFunction)_wrap_Slider_GetSelStart, METH_O, NULL},
46565 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46566 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46567 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS, NULL},
46568 { (char *)"Slider_swiginit", Slider_swiginit, METH_VARARGS, NULL},
46569 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS, NULL},
46570 { (char *)"new_PreToggleButton", (PyCFunction)_wrap_new_PreToggleButton, METH_NOARGS, NULL},
46571 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46572 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
46573 { (char *)"ToggleButton_GetValue", (PyCFunction)_wrap_ToggleButton_GetValue, METH_O, NULL},
46574 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46575 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS, NULL},
46576 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit, METH_VARARGS, NULL},
46577 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction)_wrap_BookCtrlBase_GetPageCount, METH_O, NULL},
46578 { (char *)"BookCtrlBase_GetPage", (PyCFunction) _wrap_BookCtrlBase_GetPage, METH_VARARGS | METH_KEYWORDS, NULL},
46579 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetCurrentPage, METH_O, NULL},
46580 { (char *)"BookCtrlBase_GetSelection", (PyCFunction)_wrap_BookCtrlBase_GetSelection, METH_O, NULL},
46581 { (char *)"BookCtrlBase_SetPageText", (PyCFunction) _wrap_BookCtrlBase_SetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46582 { (char *)"BookCtrlBase_GetPageText", (PyCFunction) _wrap_BookCtrlBase_GetPageText, METH_VARARGS | METH_KEYWORDS, NULL},
46583 { (char *)"BookCtrlBase_SetImageList", (PyCFunction) _wrap_BookCtrlBase_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46584 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction) _wrap_BookCtrlBase_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46585 { (char *)"BookCtrlBase_GetImageList", (PyCFunction)_wrap_BookCtrlBase_GetImageList, METH_O, NULL},
46586 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction) _wrap_BookCtrlBase_GetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46587 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction) _wrap_BookCtrlBase_SetPageImage, METH_VARARGS | METH_KEYWORDS, NULL},
46588 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction) _wrap_BookCtrlBase_SetPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
46589 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrlBase_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
46590 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction)_wrap_BookCtrlBase_GetInternalBorder, METH_O, NULL},
46591 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction) _wrap_BookCtrlBase_SetInternalBorder, METH_VARARGS | METH_KEYWORDS, NULL},
46592 { (char *)"BookCtrlBase_IsVertical", (PyCFunction)_wrap_BookCtrlBase_IsVertical, METH_O, NULL},
e9d6f3a4
RD
46593 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction) _wrap_BookCtrlBase_SetControlMargin, METH_VARARGS | METH_KEYWORDS, NULL},
46594 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction)_wrap_BookCtrlBase_GetControlMargin, METH_O, NULL},
554f62e9
RD
46595 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction) _wrap_BookCtrlBase_SetFitToCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
46596 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction)_wrap_BookCtrlBase_GetFitToCurrentPage, METH_O, NULL},
e9d6f3a4 46597 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction)_wrap_BookCtrlBase_GetControlSizer, METH_O, NULL},
554f62e9
RD
46598 { (char *)"BookCtrlBase_DeletePage", (PyCFunction) _wrap_BookCtrlBase_DeletePage, METH_VARARGS | METH_KEYWORDS, NULL},
46599 { (char *)"BookCtrlBase_RemovePage", (PyCFunction) _wrap_BookCtrlBase_RemovePage, METH_VARARGS | METH_KEYWORDS, NULL},
46600 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction)_wrap_BookCtrlBase_DeleteAllPages, METH_O, NULL},
46601 { (char *)"BookCtrlBase_AddPage", (PyCFunction) _wrap_BookCtrlBase_AddPage, METH_VARARGS | METH_KEYWORDS, NULL},
46602 { (char *)"BookCtrlBase_InsertPage", (PyCFunction) _wrap_BookCtrlBase_InsertPage, METH_VARARGS | METH_KEYWORDS, NULL},
46603 { (char *)"BookCtrlBase_SetSelection", (PyCFunction) _wrap_BookCtrlBase_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951 46604 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction) _wrap_BookCtrlBase_ChangeSelection, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 46605 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction) _wrap_BookCtrlBase_AdvanceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46606 { (char *)"BookCtrlBase_HitTest", (PyCFunction) _wrap_BookCtrlBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
46607 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrlBase_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46608 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister, METH_VARARGS, NULL},
46609 { (char *)"new_BookCtrlBaseEvent", (PyCFunction) _wrap_new_BookCtrlBaseEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46610 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetSelection, METH_O, NULL},
46611 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46612 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction)_wrap_BookCtrlBaseEvent_GetOldSelection, METH_O, NULL},
46613 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlBaseEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS, NULL},
46614 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister, METH_VARARGS, NULL},
46615 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit, METH_VARARGS, NULL},
46616 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS, NULL},
46617 { (char *)"new_PreNotebook", (PyCFunction)_wrap_new_PreNotebook, METH_NOARGS, NULL},
46618 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46619 { (char *)"Notebook_GetRowCount", (PyCFunction)_wrap_Notebook_GetRowCount, METH_O, NULL},
46620 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS, NULL},
46621 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
46622 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction)_wrap_Notebook_GetThemeBackgroundColour, METH_O, NULL},
46623 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
46624 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction) _wrap_Notebook_SendPageChangingEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46625 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction) _wrap_Notebook_SendPageChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
46626 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS, NULL},
46627 { (char *)"Notebook_swiginit", Notebook_swiginit, METH_VARARGS, NULL},
46628 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46629 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS, NULL},
46630 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit, METH_VARARGS, NULL},
46631 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS, NULL},
46632 { (char *)"new_PreListbook", (PyCFunction)_wrap_new_PreListbook, METH_NOARGS, NULL},
46633 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46634 { (char *)"Listbook_GetListView", (PyCFunction)_wrap_Listbook_GetListView, METH_O, NULL},
46635 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS, NULL},
46636 { (char *)"Listbook_swiginit", Listbook_swiginit, METH_VARARGS, NULL},
46637 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46638 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS, NULL},
46639 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit, METH_VARARGS, NULL},
46640 { (char *)"new_Choicebook", (PyCFunction) _wrap_new_Choicebook, METH_VARARGS | METH_KEYWORDS, NULL},
46641 { (char *)"new_PreChoicebook", (PyCFunction)_wrap_new_PreChoicebook, METH_NOARGS, NULL},
46642 { (char *)"Choicebook_Create", (PyCFunction) _wrap_Choicebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46643 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction)_wrap_Choicebook_GetChoiceCtrl, METH_O, NULL},
46644 { (char *)"Choicebook_swigregister", Choicebook_swigregister, METH_VARARGS, NULL},
46645 { (char *)"Choicebook_swiginit", Choicebook_swiginit, METH_VARARGS, NULL},
46646 { (char *)"new_ChoicebookEvent", (PyCFunction) _wrap_new_ChoicebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46647 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister, METH_VARARGS, NULL},
46648 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit, METH_VARARGS, NULL},
46649 { (char *)"new_Treebook", (PyCFunction) _wrap_new_Treebook, METH_VARARGS | METH_KEYWORDS, NULL},
46650 { (char *)"new_PreTreebook", (PyCFunction)_wrap_new_PreTreebook, METH_NOARGS, NULL},
46651 { (char *)"Treebook_Create", (PyCFunction) _wrap_Treebook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46652 { (char *)"Treebook_InsertSubPage", (PyCFunction) _wrap_Treebook_InsertSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46653 { (char *)"Treebook_AddSubPage", (PyCFunction) _wrap_Treebook_AddSubPage, METH_VARARGS | METH_KEYWORDS, NULL},
46654 { (char *)"Treebook_IsNodeExpanded", (PyCFunction) _wrap_Treebook_IsNodeExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
46655 { (char *)"Treebook_ExpandNode", (PyCFunction) _wrap_Treebook_ExpandNode, METH_VARARGS | METH_KEYWORDS, NULL},
46656 { (char *)"Treebook_CollapseNode", (PyCFunction) _wrap_Treebook_CollapseNode, METH_VARARGS | METH_KEYWORDS, NULL},
46657 { (char *)"Treebook_GetPageParent", (PyCFunction) _wrap_Treebook_GetPageParent, METH_VARARGS | METH_KEYWORDS, NULL},
46658 { (char *)"Treebook_GetTreeCtrl", (PyCFunction)_wrap_Treebook_GetTreeCtrl, METH_O, NULL},
46659 { (char *)"Treebook_swigregister", Treebook_swigregister, METH_VARARGS, NULL},
46660 { (char *)"Treebook_swiginit", Treebook_swiginit, METH_VARARGS, NULL},
46661 { (char *)"new_TreebookEvent", (PyCFunction) _wrap_new_TreebookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46662 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister, METH_VARARGS, NULL},
46663 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit, METH_VARARGS, NULL},
46664 { (char *)"new_Toolbook", (PyCFunction) _wrap_new_Toolbook, METH_VARARGS | METH_KEYWORDS, NULL},
46665 { (char *)"new_PreToolbook", (PyCFunction)_wrap_new_PreToolbook, METH_NOARGS, NULL},
46666 { (char *)"Toolbook_Create", (PyCFunction) _wrap_Toolbook_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46667 { (char *)"Toolbook_GetToolBar", (PyCFunction)_wrap_Toolbook_GetToolBar, METH_O, NULL},
46668 { (char *)"Toolbook_Realize", (PyCFunction)_wrap_Toolbook_Realize, METH_O, NULL},
46669 { (char *)"Toolbook_swigregister", Toolbook_swigregister, METH_VARARGS, NULL},
46670 { (char *)"Toolbook_swiginit", Toolbook_swiginit, METH_VARARGS, NULL},
46671 { (char *)"new_ToolbookEvent", (PyCFunction) _wrap_new_ToolbookEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46672 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister, METH_VARARGS, NULL},
46673 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit, METH_VARARGS, NULL},
46674 { (char *)"ToolBarToolBase_GetId", (PyCFunction)_wrap_ToolBarToolBase_GetId, METH_O, NULL},
46675 { (char *)"ToolBarToolBase_GetControl", (PyCFunction)_wrap_ToolBarToolBase_GetControl, METH_O, NULL},
46676 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction)_wrap_ToolBarToolBase_GetToolBar, METH_O, NULL},
46677 { (char *)"ToolBarToolBase_IsButton", (PyCFunction)_wrap_ToolBarToolBase_IsButton, METH_O, NULL},
46678 { (char *)"ToolBarToolBase_IsControl", (PyCFunction)_wrap_ToolBarToolBase_IsControl, METH_O, NULL},
46679 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction)_wrap_ToolBarToolBase_IsSeparator, METH_O, NULL},
46680 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction)_wrap_ToolBarToolBase_GetStyle, METH_O, NULL},
46681 { (char *)"ToolBarToolBase_GetKind", (PyCFunction)_wrap_ToolBarToolBase_GetKind, METH_O, NULL},
46682 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction)_wrap_ToolBarToolBase_IsEnabled, METH_O, NULL},
46683 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction)_wrap_ToolBarToolBase_IsToggled, METH_O, NULL},
46684 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction)_wrap_ToolBarToolBase_CanBeToggled, METH_O, NULL},
46685 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetNormalBitmap, METH_O, NULL},
46686 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetDisabledBitmap, METH_O, NULL},
46687 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction)_wrap_ToolBarToolBase_GetBitmap, METH_O, NULL},
46688 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction)_wrap_ToolBarToolBase_GetLabel, METH_O, NULL},
46689 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction)_wrap_ToolBarToolBase_GetShortHelp, METH_O, NULL},
46690 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction)_wrap_ToolBarToolBase_GetLongHelp, METH_O, NULL},
46691 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS, NULL},
46692 { (char *)"ToolBarToolBase_Toggle", (PyCFunction)_wrap_ToolBarToolBase_Toggle, METH_O, NULL},
46693 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46694 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46695 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46696 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46697 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
46698 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46699 { (char *)"ToolBarToolBase_Detach", (PyCFunction)_wrap_ToolBarToolBase_Detach, METH_O, NULL},
46700 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS, NULL},
46701 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction)_wrap_ToolBarToolBase_GetClientData, METH_O, NULL},
46702 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46703 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS, NULL},
46704 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS, NULL},
46705 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS, NULL},
46706 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46707 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS, NULL},
46708 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS, NULL},
46709 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS, NULL},
46710 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS, NULL},
46711 { (char *)"ToolBarBase_AddSeparator", (PyCFunction)_wrap_ToolBarBase_AddSeparator, METH_O, NULL},
46712 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
46713 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS, NULL},
46714 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS, NULL},
46715 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS, NULL},
46716 { (char *)"ToolBarBase_ClearTools", (PyCFunction)_wrap_ToolBarBase_ClearTools, METH_O, NULL},
46717 { (char *)"ToolBarBase_Realize", (PyCFunction)_wrap_ToolBarBase_Realize, METH_O, NULL},
46718 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS, NULL},
46719 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS, NULL},
46720 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS, NULL},
46721 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46722 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS, NULL},
46723 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS, NULL},
46724 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS, NULL},
46725 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS, NULL},
46726 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46727 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46728 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46729 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS, NULL},
46730 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
46731 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
46732 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS, NULL},
46733 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS, NULL},
46734 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction)_wrap_ToolBarBase_GetToolMargins, METH_O, NULL},
46735 { (char *)"ToolBarBase_GetMargins", (PyCFunction)_wrap_ToolBarBase_GetMargins, METH_O, NULL},
46736 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction)_wrap_ToolBarBase_GetToolPacking, METH_O, NULL},
46737 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction)_wrap_ToolBarBase_GetToolSeparation, METH_O, NULL},
46738 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS, NULL},
46739 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS, NULL},
46740 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction)_wrap_ToolBarBase_GetMaxRows, METH_O, NULL},
46741 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction)_wrap_ToolBarBase_GetMaxCols, METH_O, NULL},
46742 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS, NULL},
46743 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction)_wrap_ToolBarBase_GetToolBitmapSize, METH_O, NULL},
46744 { (char *)"ToolBarBase_GetToolSize", (PyCFunction)_wrap_ToolBarBase_GetToolSize, METH_O, NULL},
46745 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46746 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS, NULL},
46747 { (char *)"ToolBarBase_IsVertical", (PyCFunction)_wrap_ToolBarBase_IsVertical, METH_O, NULL},
46748 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction)_wrap_ToolBarBase_GetToolsCount, METH_O, NULL},
46749 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS, NULL},
46750 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
46751 { (char *)"new_PreToolBar", (PyCFunction)_wrap_new_PreToolBar, METH_NOARGS, NULL},
46752 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
46753 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46754 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS, NULL},
46755 { (char *)"ToolBar_swiginit", ToolBar_swiginit, METH_VARARGS, NULL},
46756 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS, NULL},
46757 { (char *)"delete_ListItemAttr", (PyCFunction)_wrap_delete_ListItemAttr, METH_O, NULL},
46758 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46759 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46760 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46761 { (char *)"ListItemAttr_HasTextColour", (PyCFunction)_wrap_ListItemAttr_HasTextColour, METH_O, NULL},
46762 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction)_wrap_ListItemAttr_HasBackgroundColour, METH_O, NULL},
46763 { (char *)"ListItemAttr_HasFont", (PyCFunction)_wrap_ListItemAttr_HasFont, METH_O, NULL},
46764 { (char *)"ListItemAttr_GetTextColour", (PyCFunction)_wrap_ListItemAttr_GetTextColour, METH_O, NULL},
46765 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction)_wrap_ListItemAttr_GetBackgroundColour, METH_O, NULL},
46766 { (char *)"ListItemAttr_GetFont", (PyCFunction)_wrap_ListItemAttr_GetFont, METH_O, NULL},
46767 { (char *)"ListItemAttr_AssignFrom", (PyCFunction) _wrap_ListItemAttr_AssignFrom, METH_VARARGS | METH_KEYWORDS, NULL},
46768 { (char *)"ListItemAttr_Destroy", (PyCFunction)_wrap_ListItemAttr_Destroy, METH_O, NULL},
46769 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS, NULL},
46770 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit, METH_VARARGS, NULL},
46771 { (char *)"new_ListItem", (PyCFunction)_wrap_new_ListItem, METH_NOARGS, NULL},
46772 { (char *)"delete_ListItem", (PyCFunction)_wrap_delete_ListItem, METH_O, NULL},
46773 { (char *)"ListItem_Clear", (PyCFunction)_wrap_ListItem_Clear, METH_O, NULL},
46774 { (char *)"ListItem_ClearAttributes", (PyCFunction)_wrap_ListItem_ClearAttributes, METH_O, NULL},
46775 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS, NULL},
46776 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46777 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46778 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
46779 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS, NULL},
46780 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
46781 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
46782 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46783 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46784 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS, NULL},
46785 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46786 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46787 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
46788 { (char *)"ListItem_GetMask", (PyCFunction)_wrap_ListItem_GetMask, METH_O, NULL},
46789 { (char *)"ListItem_GetId", (PyCFunction)_wrap_ListItem_GetId, METH_O, NULL},
46790 { (char *)"ListItem_GetColumn", (PyCFunction)_wrap_ListItem_GetColumn, METH_O, NULL},
46791 { (char *)"ListItem_GetState", (PyCFunction)_wrap_ListItem_GetState, METH_O, NULL},
46792 { (char *)"ListItem_GetText", (PyCFunction)_wrap_ListItem_GetText, METH_O, NULL},
46793 { (char *)"ListItem_GetImage", (PyCFunction)_wrap_ListItem_GetImage, METH_O, NULL},
46794 { (char *)"ListItem_GetData", (PyCFunction)_wrap_ListItem_GetData, METH_O, NULL},
46795 { (char *)"ListItem_GetWidth", (PyCFunction)_wrap_ListItem_GetWidth, METH_O, NULL},
46796 { (char *)"ListItem_GetAlign", (PyCFunction)_wrap_ListItem_GetAlign, METH_O, NULL},
46797 { (char *)"ListItem_GetAttributes", (PyCFunction)_wrap_ListItem_GetAttributes, METH_O, NULL},
46798 { (char *)"ListItem_HasAttributes", (PyCFunction)_wrap_ListItem_HasAttributes, METH_O, NULL},
46799 { (char *)"ListItem_GetTextColour", (PyCFunction)_wrap_ListItem_GetTextColour, METH_O, NULL},
46800 { (char *)"ListItem_GetBackgroundColour", (PyCFunction)_wrap_ListItem_GetBackgroundColour, METH_O, NULL},
46801 { (char *)"ListItem_GetFont", (PyCFunction)_wrap_ListItem_GetFont, METH_O, NULL},
46802 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set, METH_VARARGS, NULL},
46803 { (char *)"ListItem_m_mask_get", (PyCFunction)_wrap_ListItem_m_mask_get, METH_O, NULL},
46804 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set, METH_VARARGS, NULL},
46805 { (char *)"ListItem_m_itemId_get", (PyCFunction)_wrap_ListItem_m_itemId_get, METH_O, NULL},
46806 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set, METH_VARARGS, NULL},
46807 { (char *)"ListItem_m_col_get", (PyCFunction)_wrap_ListItem_m_col_get, METH_O, NULL},
46808 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set, METH_VARARGS, NULL},
46809 { (char *)"ListItem_m_state_get", (PyCFunction)_wrap_ListItem_m_state_get, METH_O, NULL},
46810 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set, METH_VARARGS, NULL},
46811 { (char *)"ListItem_m_stateMask_get", (PyCFunction)_wrap_ListItem_m_stateMask_get, METH_O, NULL},
46812 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set, METH_VARARGS, NULL},
46813 { (char *)"ListItem_m_text_get", (PyCFunction)_wrap_ListItem_m_text_get, METH_O, NULL},
46814 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set, METH_VARARGS, NULL},
46815 { (char *)"ListItem_m_image_get", (PyCFunction)_wrap_ListItem_m_image_get, METH_O, NULL},
46816 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set, METH_VARARGS, NULL},
46817 { (char *)"ListItem_m_data_get", (PyCFunction)_wrap_ListItem_m_data_get, METH_O, NULL},
46818 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set, METH_VARARGS, NULL},
46819 { (char *)"ListItem_m_format_get", (PyCFunction)_wrap_ListItem_m_format_get, METH_O, NULL},
46820 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set, METH_VARARGS, NULL},
46821 { (char *)"ListItem_m_width_get", (PyCFunction)_wrap_ListItem_m_width_get, METH_O, NULL},
46822 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS, NULL},
46823 { (char *)"ListItem_swiginit", ListItem_swiginit, METH_VARARGS, NULL},
46824 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46825 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set, METH_VARARGS, NULL},
46826 { (char *)"ListEvent_m_code_get", (PyCFunction)_wrap_ListEvent_m_code_get, METH_O, NULL},
46827 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS, NULL},
46828 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction)_wrap_ListEvent_m_oldItemIndex_get, METH_O, NULL},
46829 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set, METH_VARARGS, NULL},
46830 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction)_wrap_ListEvent_m_itemIndex_get, METH_O, NULL},
46831 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set, METH_VARARGS, NULL},
46832 { (char *)"ListEvent_m_col_get", (PyCFunction)_wrap_ListEvent_m_col_get, METH_O, NULL},
46833 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set, METH_VARARGS, NULL},
46834 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction)_wrap_ListEvent_m_pointDrag_get, METH_O, NULL},
46835 { (char *)"ListEvent_m_item_get", (PyCFunction)_wrap_ListEvent_m_item_get, METH_O, NULL},
46836 { (char *)"ListEvent_GetKeyCode", (PyCFunction)_wrap_ListEvent_GetKeyCode, METH_O, NULL},
46837 { (char *)"ListEvent_GetIndex", (PyCFunction)_wrap_ListEvent_GetIndex, METH_O, NULL},
46838 { (char *)"ListEvent_GetColumn", (PyCFunction)_wrap_ListEvent_GetColumn, METH_O, NULL},
46839 { (char *)"ListEvent_GetPoint", (PyCFunction)_wrap_ListEvent_GetPoint, METH_O, NULL},
46840 { (char *)"ListEvent_GetLabel", (PyCFunction)_wrap_ListEvent_GetLabel, METH_O, NULL},
46841 { (char *)"ListEvent_GetText", (PyCFunction)_wrap_ListEvent_GetText, METH_O, NULL},
46842 { (char *)"ListEvent_GetImage", (PyCFunction)_wrap_ListEvent_GetImage, METH_O, NULL},
46843 { (char *)"ListEvent_GetData", (PyCFunction)_wrap_ListEvent_GetData, METH_O, NULL},
46844 { (char *)"ListEvent_GetMask", (PyCFunction)_wrap_ListEvent_GetMask, METH_O, NULL},
46845 { (char *)"ListEvent_GetItem", (PyCFunction)_wrap_ListEvent_GetItem, METH_O, NULL},
46846 { (char *)"ListEvent_GetCacheFrom", (PyCFunction)_wrap_ListEvent_GetCacheFrom, METH_O, NULL},
46847 { (char *)"ListEvent_GetCacheTo", (PyCFunction)_wrap_ListEvent_GetCacheTo, METH_O, NULL},
46848 { (char *)"ListEvent_IsEditCancelled", (PyCFunction)_wrap_ListEvent_IsEditCancelled, METH_O, NULL},
46849 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46850 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS, NULL},
46851 { (char *)"ListEvent_swiginit", ListEvent_swiginit, METH_VARARGS, NULL},
46852 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46853 { (char *)"new_PreListCtrl", (PyCFunction)_wrap_new_PreListCtrl, METH_NOARGS, NULL},
46854 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46855 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46856 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46857 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46858 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46859 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
46860 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction)_wrap_ListCtrl_GetCountPerPage, METH_O, NULL},
46861 { (char *)"ListCtrl_GetViewRect", (PyCFunction)_wrap_ListCtrl_GetViewRect, METH_O, NULL},
46862 { (char *)"ListCtrl_GetEditControl", (PyCFunction)_wrap_ListCtrl_GetEditControl, METH_O, NULL},
46863 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46864 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46865 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46866 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46867 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS, NULL},
46868 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46869 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction) _wrap_ListCtrl_SetItemColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46870 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46871 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46872 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46873 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46874 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46875 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS, NULL},
46876 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS, NULL},
46877 { (char *)"ListCtrl_GetItemCount", (PyCFunction)_wrap_ListCtrl_GetItemCount, METH_O, NULL},
46878 { (char *)"ListCtrl_GetColumnCount", (PyCFunction)_wrap_ListCtrl_GetColumnCount, METH_O, NULL},
46879 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction)_wrap_ListCtrl_GetItemSpacing, METH_O, NULL},
46880 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction)_wrap_ListCtrl_GetSelectedItemCount, METH_O, NULL},
46881 { (char *)"ListCtrl_GetTextColour", (PyCFunction)_wrap_ListCtrl_GetTextColour, METH_O, NULL},
46882 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46883 { (char *)"ListCtrl_GetTopItem", (PyCFunction)_wrap_ListCtrl_GetTopItem, METH_O, NULL},
46884 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS, NULL},
46885 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS, NULL},
46886 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46887 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46888 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46889 { (char *)"ListCtrl_InReportView", (PyCFunction)_wrap_ListCtrl_InReportView, METH_O, NULL},
46890 { (char *)"ListCtrl_IsVirtual", (PyCFunction)_wrap_ListCtrl_IsVirtual, METH_O, NULL},
46891 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS, NULL},
46892 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS, NULL},
46893 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS, NULL},
46894 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL},
46895 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction)_wrap_ListCtrl_DeleteAllItems, METH_O, NULL},
46896 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46897 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction)_wrap_ListCtrl_DeleteAllColumns, METH_O, NULL},
46898 { (char *)"ListCtrl_ClearAll", (PyCFunction)_wrap_ListCtrl_ClearAll, METH_O, NULL},
46899 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46900 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46901 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
46902 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
46903 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46904 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS, NULL},
46905 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 46906 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction) _wrap_ListCtrl_HitTestSubItem, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
46907 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
46908 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46909 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS, NULL},
46910 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS, NULL},
46911 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction) _wrap_ListCtrl_InsertColumnItem, METH_VARARGS | METH_KEYWORDS, NULL},
46912 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
46913 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
46914 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS, NULL},
46915 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46916 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46917 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46918 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46919 { (char *)"ListCtrl_SetItemFont", (PyCFunction) _wrap_ListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46920 { (char *)"ListCtrl_GetItemFont", (PyCFunction) _wrap_ListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46921 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS, NULL},
46922 { (char *)"ListCtrl_GetMainWindow", (PyCFunction)_wrap_ListCtrl_GetMainWindow, METH_O, NULL},
46923 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
46924 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS, NULL},
46925 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit, METH_VARARGS, NULL},
46926 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS, NULL},
46927 { (char *)"new_PreListView", (PyCFunction)_wrap_new_PreListView, METH_NOARGS, NULL},
46928 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46929 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS, NULL},
46930 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS, NULL},
46931 { (char *)"ListView_GetFocusedItem", (PyCFunction)_wrap_ListView_GetFocusedItem, METH_O, NULL},
46932 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46933 { (char *)"ListView_GetFirstSelected", (PyCFunction)_wrap_ListView_GetFirstSelected, METH_O, NULL},
46934 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
46935 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46936 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
46937 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS, NULL},
46938 { (char *)"ListView_swiginit", ListView_swiginit, METH_VARARGS, NULL},
46939 { (char *)"new_TreeItemId", (PyCFunction)_wrap_new_TreeItemId, METH_NOARGS, NULL},
46940 { (char *)"delete_TreeItemId", (PyCFunction)_wrap_delete_TreeItemId, METH_O, NULL},
46941 { (char *)"TreeItemId_IsOk", (PyCFunction)_wrap_TreeItemId_IsOk, METH_O, NULL},
46942 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS, NULL},
46943 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS, NULL},
46944 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set, METH_VARARGS, NULL},
46945 { (char *)"TreeItemId_m_pItem_get", (PyCFunction)_wrap_TreeItemId_m_pItem_get, METH_O, NULL},
46946 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS, NULL},
46947 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit, METH_VARARGS, NULL},
46948 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46949 { (char *)"delete_TreeItemData", (PyCFunction)_wrap_delete_TreeItemData, METH_O, NULL},
46950 { (char *)"TreeItemData_GetData", (PyCFunction)_wrap_TreeItemData_GetData, METH_O, NULL},
46951 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
46952 { (char *)"TreeItemData_GetId", (PyCFunction)_wrap_TreeItemData_GetId, METH_O, NULL},
46953 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS, NULL},
46954 { (char *)"TreeItemData_Destroy", (PyCFunction)_wrap_TreeItemData_Destroy, METH_O, NULL},
46955 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS, NULL},
46956 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit, METH_VARARGS, NULL},
b02396e8 46957 { (char *)"new_TreeEvent", _wrap_new_TreeEvent, METH_VARARGS, NULL},
554f62e9
RD
46958 { (char *)"TreeEvent_GetItem", (PyCFunction)_wrap_TreeEvent_GetItem, METH_O, NULL},
46959 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS, NULL},
46960 { (char *)"TreeEvent_GetOldItem", (PyCFunction)_wrap_TreeEvent_GetOldItem, METH_O, NULL},
46961 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS, NULL},
46962 { (char *)"TreeEvent_GetPoint", (PyCFunction)_wrap_TreeEvent_GetPoint, METH_O, NULL},
46963 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS, NULL},
46964 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction)_wrap_TreeEvent_GetKeyEvent, METH_O, NULL},
46965 { (char *)"TreeEvent_GetKeyCode", (PyCFunction)_wrap_TreeEvent_GetKeyCode, METH_O, NULL},
46966 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
46967 { (char *)"TreeEvent_GetLabel", (PyCFunction)_wrap_TreeEvent_GetLabel, METH_O, NULL},
46968 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL},
46969 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction)_wrap_TreeEvent_IsEditCancelled, METH_O, NULL},
46970 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS, NULL},
46971 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL},
46972 { (char *)"TreeEvent_GetToolTip", (PyCFunction)_wrap_TreeEvent_GetToolTip, METH_O, NULL},
46973 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS, NULL},
46974 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit, METH_VARARGS, NULL},
46975 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
46976 { (char *)"new_PreTreeCtrl", (PyCFunction)_wrap_new_PreTreeCtrl, METH_NOARGS, NULL},
46977 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
46978 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
46979 { (char *)"TreeCtrl_GetCount", (PyCFunction)_wrap_TreeCtrl_GetCount, METH_O, NULL},
46980 { (char *)"TreeCtrl_GetIndent", (PyCFunction)_wrap_TreeCtrl_GetIndent, METH_O, NULL},
46981 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
46982 { (char *)"TreeCtrl_GetSpacing", (PyCFunction)_wrap_TreeCtrl_GetSpacing, METH_O, NULL},
46983 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
46984 { (char *)"TreeCtrl_GetImageList", (PyCFunction)_wrap_TreeCtrl_GetImageList, METH_O, NULL},
46985 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction)_wrap_TreeCtrl_GetStateImageList, METH_O, NULL},
46986 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46987 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46988 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46989 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
46990 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46991 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46992 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
46993 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
46994 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
46995 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
46996 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
46997 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
46998 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
46999 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
47000 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
47001 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47002 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
47003 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
47004 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
47005 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
47006 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
47007 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47008 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47009 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
47010 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
47011 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
47012 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
47013 { (char *)"TreeCtrl_GetRootItem", (PyCFunction)_wrap_TreeCtrl_GetRootItem, METH_O, NULL},
47014 { (char *)"TreeCtrl_GetSelection", (PyCFunction)_wrap_TreeCtrl_GetSelection, METH_O, NULL},
47015 { (char *)"TreeCtrl_GetSelections", (PyCFunction)_wrap_TreeCtrl_GetSelections, METH_O, NULL},
47016 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
47017 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
47018 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
47019 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
47020 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47021 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
47022 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeCtrl_GetFirstVisibleItem, METH_O, NULL},
47023 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47024 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47025 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
47026 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
47027 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
47028 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
47029 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
47030 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
47031 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47032 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeCtrl_DeleteAllItems, METH_O, NULL},
47033 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
453fb36b
RD
47034 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction) _wrap_TreeCtrl_ExpandAllChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47035 { (char *)"TreeCtrl_ExpandAll", (PyCFunction)_wrap_TreeCtrl_ExpandAll, METH_O, NULL},
554f62e9
RD
47036 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47037 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
47038 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
47039 { (char *)"TreeCtrl_Unselect", (PyCFunction)_wrap_TreeCtrl_Unselect, METH_O, NULL},
47040 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47041 { (char *)"TreeCtrl_UnselectAll", (PyCFunction)_wrap_TreeCtrl_UnselectAll, METH_O, NULL},
47042 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
47043 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS, NULL},
47044 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
47045 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
47046 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47047 { (char *)"TreeCtrl_GetEditControl", (PyCFunction)_wrap_TreeCtrl_GetEditControl, METH_O, NULL},
47048 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
47049 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
47050 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
47051 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
47052 { (char *)"TreeCtrl_SetState", (PyCFunction) _wrap_TreeCtrl_SetState, METH_VARARGS | METH_KEYWORDS, NULL},
47053 { (char *)"TreeCtrl_GetState", (PyCFunction) _wrap_TreeCtrl_GetState, METH_VARARGS | METH_KEYWORDS, NULL},
47054 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
2131d850
RD
47055 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction) _wrap_TreeCtrl_SetQuickBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
47056 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction)_wrap_TreeCtrl_GetQuickBestSize, METH_O, NULL},
554f62e9
RD
47057 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS, NULL},
47058 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit, METH_VARARGS, NULL},
47059 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47060 { (char *)"new_PreGenericDirCtrl", (PyCFunction)_wrap_new_PreGenericDirCtrl, METH_NOARGS, NULL},
47061 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47062 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c 47063 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction) _wrap_GenericDirCtrl_CollapsePath, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47064 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction)_wrap_GenericDirCtrl_GetDefaultPath, METH_O, NULL},
47065 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS, NULL},
47066 { (char *)"GenericDirCtrl_GetPath", (PyCFunction)_wrap_GenericDirCtrl_GetPath, METH_O, NULL},
47067 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction)_wrap_GenericDirCtrl_GetFilePath, METH_O, NULL},
47068 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47069 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS, NULL},
47070 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction)_wrap_GenericDirCtrl_GetShowHidden, METH_O, NULL},
47071 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction)_wrap_GenericDirCtrl_GetFilter, METH_O, NULL},
47072 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS, NULL},
47073 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction)_wrap_GenericDirCtrl_GetFilterIndex, METH_O, NULL},
47074 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
47075 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction)_wrap_GenericDirCtrl_GetRootId, METH_O, NULL},
47076 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetTreeCtrl, METH_O, NULL},
47077 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction)_wrap_GenericDirCtrl_GetFilterListCtrl, METH_O, NULL},
47078 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS, NULL},
47079 { (char *)"GenericDirCtrl_DoResize", (PyCFunction)_wrap_GenericDirCtrl_DoResize, METH_O, NULL},
47080 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction)_wrap_GenericDirCtrl_ReCreateTree, METH_O, NULL},
47081 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS, NULL},
47082 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit, METH_VARARGS, NULL},
47083 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47084 { (char *)"new_PreDirFilterListCtrl", (PyCFunction)_wrap_new_PreDirFilterListCtrl, METH_NOARGS, NULL},
47085 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47086 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS, NULL},
47087 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS, NULL},
47088 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit, METH_VARARGS, NULL},
47089 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS, NULL},
47090 { (char *)"new_PrePyControl", (PyCFunction)_wrap_new_PrePyControl, METH_NOARGS, NULL},
47091 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47092 { (char *)"PyControl_DoEraseBackground", (PyCFunction) _wrap_PyControl_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
47093 { (char *)"PyControl_DoMoveWindow", (PyCFunction) _wrap_PyControl_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47094 { (char *)"PyControl_DoSetSize", (PyCFunction) _wrap_PyControl_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
47095 { (char *)"PyControl_DoSetClientSize", (PyCFunction) _wrap_PyControl_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
47096 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
47097 { (char *)"PyControl_DoGetSize", (PyCFunction)_wrap_PyControl_DoGetSize, METH_O, NULL},
47098 { (char *)"PyControl_DoGetClientSize", (PyCFunction)_wrap_PyControl_DoGetClientSize, METH_O, NULL},
47099 { (char *)"PyControl_DoGetPosition", (PyCFunction)_wrap_PyControl_DoGetPosition, METH_O, NULL},
47100 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction)_wrap_PyControl_DoGetVirtualSize, METH_O, NULL},
47101 { (char *)"PyControl_DoGetBestSize", (PyCFunction)_wrap_PyControl_DoGetBestSize, METH_O, NULL},
47102 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction)_wrap_PyControl_GetDefaultAttributes, METH_O, NULL},
47103 { (char *)"PyControl_OnInternalIdle", (PyCFunction)_wrap_PyControl_OnInternalIdle, METH_O, NULL},
47104 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS, NULL},
47105 { (char *)"PyControl_swiginit", PyControl_swiginit, METH_VARARGS, NULL},
47106 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47107 { (char *)"HelpEvent_GetPosition", (PyCFunction)_wrap_HelpEvent_GetPosition, METH_O, NULL},
47108 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
47109 { (char *)"HelpEvent_GetLink", (PyCFunction)_wrap_HelpEvent_GetLink, METH_O, NULL},
47110 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS, NULL},
47111 { (char *)"HelpEvent_GetTarget", (PyCFunction)_wrap_HelpEvent_GetTarget, METH_O, NULL},
47112 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS, NULL},
704eda0c
RD
47113 { (char *)"HelpEvent_GetOrigin", (PyCFunction)_wrap_HelpEvent_GetOrigin, METH_O, NULL},
47114 { (char *)"HelpEvent_SetOrigin", (PyCFunction) _wrap_HelpEvent_SetOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47115 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS, NULL},
47116 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit, METH_VARARGS, NULL},
47117 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47118 { (char *)"delete_ContextHelp", (PyCFunction)_wrap_delete_ContextHelp, METH_O, NULL},
47119 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47120 { (char *)"ContextHelp_EndContextHelp", (PyCFunction)_wrap_ContextHelp_EndContextHelp, METH_O, NULL},
47121 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS, NULL},
47122 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit, METH_VARARGS, NULL},
47123 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS, NULL},
47124 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS, NULL},
47125 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit, METH_VARARGS, NULL},
f52cbe90 47126 { (char *)"delete_HelpProvider", (PyCFunction)_wrap_delete_HelpProvider, METH_O, NULL},
554f62e9
RD
47127 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS, NULL},
47128 { (char *)"HelpProvider_Get", (PyCFunction)_wrap_HelpProvider_Get, METH_NOARGS, NULL},
47129 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47130 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3 47131 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction) _wrap_HelpProvider_ShowHelpAtPoint, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
47132 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47133 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS, NULL},
47134 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
47135 { (char *)"HelpProvider_Destroy", (PyCFunction)_wrap_HelpProvider_Destroy, METH_O, NULL},
47136 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS, NULL},
47137 { (char *)"new_SimpleHelpProvider", (PyCFunction)_wrap_new_SimpleHelpProvider, METH_NOARGS, NULL},
47138 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS, NULL},
47139 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit, METH_VARARGS, NULL},
47140 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS, NULL},
47141 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS, NULL},
47142 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS, NULL},
47143 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS, NULL},
47144 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS, NULL},
47145 { (char *)"delete_DragImage", (PyCFunction)_wrap_delete_DragImage, METH_O, NULL},
47146 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
47147 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS, NULL},
47148 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS, NULL},
47149 { (char *)"DragImage_EndDrag", (PyCFunction)_wrap_DragImage_EndDrag, METH_O, NULL},
47150 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS, NULL},
47151 { (char *)"DragImage_Show", (PyCFunction)_wrap_DragImage_Show, METH_O, NULL},
47152 { (char *)"DragImage_Hide", (PyCFunction)_wrap_DragImage_Hide, METH_O, NULL},
47153 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS, NULL},
47154 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47155 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS, NULL},
47156 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS, NULL},
47157 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS, NULL},
47158 { (char *)"DragImage_swiginit", DragImage_swiginit, METH_VARARGS, NULL},
47159 { (char *)"new_DatePickerCtrl", (PyCFunction) _wrap_new_DatePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47160 { (char *)"new_PreDatePickerCtrl", (PyCFunction)_wrap_new_PreDatePickerCtrl, METH_NOARGS, NULL},
47161 { (char *)"DatePickerCtrl_Create", (PyCFunction) _wrap_DatePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47162 { (char *)"DatePickerCtrl_SetValue", (PyCFunction) _wrap_DatePickerCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
47163 { (char *)"DatePickerCtrl_GetValue", (PyCFunction)_wrap_DatePickerCtrl_GetValue, METH_O, NULL},
47164 { (char *)"DatePickerCtrl_SetRange", (PyCFunction) _wrap_DatePickerCtrl_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
47165 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction)_wrap_DatePickerCtrl_GetLowerLimit, METH_O, NULL},
47166 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction)_wrap_DatePickerCtrl_GetUpperLimit, METH_O, NULL},
47167 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister, METH_VARARGS, NULL},
47168 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit, METH_VARARGS, NULL},
704eda0c
RD
47169 { (char *)"new_HyperlinkCtrl", (PyCFunction) _wrap_new_HyperlinkCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47170 { (char *)"new_PreHyperlinkCtrl", (PyCFunction)_wrap_new_PreHyperlinkCtrl, METH_NOARGS, NULL},
47171 { (char *)"HyperlinkCtrl_Create", (PyCFunction) _wrap_HyperlinkCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47172 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction)_wrap_HyperlinkCtrl_GetHoverColour, METH_O, NULL},
47173 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction) _wrap_HyperlinkCtrl_SetHoverColour, METH_VARARGS | METH_KEYWORDS, NULL},
47174 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction)_wrap_HyperlinkCtrl_GetNormalColour, METH_O, NULL},
47175 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction) _wrap_HyperlinkCtrl_SetNormalColour, METH_VARARGS | METH_KEYWORDS, NULL},
47176 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction)_wrap_HyperlinkCtrl_GetVisitedColour, METH_O, NULL},
47177 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction) _wrap_HyperlinkCtrl_SetVisitedColour, METH_VARARGS | METH_KEYWORDS, NULL},
47178 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction)_wrap_HyperlinkCtrl_GetURL, METH_O, NULL},
47179 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction) _wrap_HyperlinkCtrl_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47180 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction) _wrap_HyperlinkCtrl_SetVisited, METH_VARARGS | METH_KEYWORDS, NULL},
47181 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction)_wrap_HyperlinkCtrl_GetVisited, METH_O, NULL},
47182 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister, METH_VARARGS, NULL},
47183 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit, METH_VARARGS, NULL},
47184 { (char *)"new_HyperlinkEvent", (PyCFunction) _wrap_new_HyperlinkEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47185 { (char *)"HyperlinkEvent_GetURL", (PyCFunction)_wrap_HyperlinkEvent_GetURL, METH_O, NULL},
47186 { (char *)"HyperlinkEvent_SetURL", (PyCFunction) _wrap_HyperlinkEvent_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
47187 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister, METH_VARARGS, NULL},
47188 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit, METH_VARARGS, NULL},
b850e7f3
RD
47189 { (char *)"PickerBase_CreateBase", (PyCFunction) _wrap_PickerBase_CreateBase, METH_VARARGS | METH_KEYWORDS, NULL},
47190 { (char *)"PickerBase_SetInternalMargin", (PyCFunction) _wrap_PickerBase_SetInternalMargin, METH_VARARGS | METH_KEYWORDS, NULL},
47191 { (char *)"PickerBase_GetInternalMargin", (PyCFunction)_wrap_PickerBase_GetInternalMargin, METH_O, NULL},
47192 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction) _wrap_PickerBase_SetTextCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47193 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction)_wrap_PickerBase_GetTextCtrlProportion, METH_O, NULL},
1eeb270e
RD
47194 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction) _wrap_PickerBase_SetPickerCtrlProportion, METH_VARARGS | METH_KEYWORDS, NULL},
47195 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction)_wrap_PickerBase_GetPickerCtrlProportion, METH_O, NULL},
b02396e8
RD
47196 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsTextCtrlGrowable, METH_O, NULL},
47197 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetTextCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
47198 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction)_wrap_PickerBase_IsPickerCtrlGrowable, METH_O, NULL},
47199 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction) _wrap_PickerBase_SetPickerCtrlGrowable, METH_VARARGS | METH_KEYWORDS, NULL},
b850e7f3
RD
47200 { (char *)"PickerBase_HasTextCtrl", (PyCFunction)_wrap_PickerBase_HasTextCtrl, METH_O, NULL},
47201 { (char *)"PickerBase_GetTextCtrl", (PyCFunction)_wrap_PickerBase_GetTextCtrl, METH_O, NULL},
47202 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction)_wrap_PickerBase_GetPickerCtrl, METH_O, NULL},
47203 { (char *)"PickerBase_swigregister", PickerBase_swigregister, METH_VARARGS, NULL},
47204 { (char *)"new_ColourPickerCtrl", (PyCFunction) _wrap_new_ColourPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47205 { (char *)"new_PreColourPickerCtrl", (PyCFunction)_wrap_new_PreColourPickerCtrl, METH_NOARGS, NULL},
47206 { (char *)"ColourPickerCtrl_Create", (PyCFunction) _wrap_ColourPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47207 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction)_wrap_ColourPickerCtrl_GetColour, METH_O, NULL},
47208 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction) _wrap_ColourPickerCtrl_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47209 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister, METH_VARARGS, NULL},
47210 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit, METH_VARARGS, NULL},
47211 { (char *)"new_ColourPickerEvent", (PyCFunction) _wrap_new_ColourPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47212 { (char *)"ColourPickerEvent_GetColour", (PyCFunction)_wrap_ColourPickerEvent_GetColour, METH_O, NULL},
47213 { (char *)"ColourPickerEvent_SetColour", (PyCFunction) _wrap_ColourPickerEvent_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
47214 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister, METH_VARARGS, NULL},
47215 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit, METH_VARARGS, NULL},
47216 { (char *)"new_FilePickerCtrl", (PyCFunction) _wrap_new_FilePickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47217 { (char *)"new_PreFilePickerCtrl", (PyCFunction)_wrap_new_PreFilePickerCtrl, METH_NOARGS, NULL},
47218 { (char *)"FilePickerCtrl_Create", (PyCFunction) _wrap_FilePickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47219 { (char *)"FilePickerCtrl_GetPath", (PyCFunction)_wrap_FilePickerCtrl_GetPath, METH_O, NULL},
47220 { (char *)"FilePickerCtrl_SetPath", (PyCFunction) _wrap_FilePickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47221 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction) _wrap_FilePickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47222 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_FilePickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47223 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister, METH_VARARGS, NULL},
47224 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit, METH_VARARGS, NULL},
47225 { (char *)"new_DirPickerCtrl", (PyCFunction) _wrap_new_DirPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47226 { (char *)"new_PreDirPickerCtrl", (PyCFunction)_wrap_new_PreDirPickerCtrl, METH_NOARGS, NULL},
47227 { (char *)"DirPickerCtrl_Create", (PyCFunction) _wrap_DirPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47228 { (char *)"DirPickerCtrl_GetPath", (PyCFunction)_wrap_DirPickerCtrl_GetPath, METH_O, NULL},
47229 { (char *)"DirPickerCtrl_SetPath", (PyCFunction) _wrap_DirPickerCtrl_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
b02396e8
RD
47230 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction) _wrap_DirPickerCtrl_CheckPath, METH_VARARGS | METH_KEYWORDS, NULL},
47231 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction)_wrap_DirPickerCtrl_GetTextCtrlValue, METH_O, NULL},
b850e7f3
RD
47232 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister, METH_VARARGS, NULL},
47233 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit, METH_VARARGS, NULL},
47234 { (char *)"new_FileDirPickerEvent", (PyCFunction) _wrap_new_FileDirPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47235 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction)_wrap_FileDirPickerEvent_GetPath, METH_O, NULL},
47236 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction) _wrap_FileDirPickerEvent_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
47237 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister, METH_VARARGS, NULL},
47238 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit, METH_VARARGS, NULL},
47239 { (char *)"new_FontPickerCtrl", (PyCFunction) _wrap_new_FontPickerCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
47240 { (char *)"new_PreFontPickerCtrl", (PyCFunction)_wrap_new_PreFontPickerCtrl, METH_NOARGS, NULL},
47241 { (char *)"FontPickerCtrl_Create", (PyCFunction) _wrap_FontPickerCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47242 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction)_wrap_FontPickerCtrl_GetSelectedFont, METH_O, NULL},
47243 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction) _wrap_FontPickerCtrl_SetSelectedFont, METH_VARARGS | METH_KEYWORDS, NULL},
47244 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction) _wrap_FontPickerCtrl_SetMaxPointSize, METH_VARARGS | METH_KEYWORDS, NULL},
47245 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction)_wrap_FontPickerCtrl_GetMaxPointSize, METH_O, NULL},
47246 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister, METH_VARARGS, NULL},
47247 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit, METH_VARARGS, NULL},
47248 { (char *)"new_FontPickerEvent", (PyCFunction) _wrap_new_FontPickerEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47249 { (char *)"FontPickerEvent_GetFont", (PyCFunction)_wrap_FontPickerEvent_GetFont, METH_O, NULL},
47250 { (char *)"FontPickerEvent_SetFont", (PyCFunction) _wrap_FontPickerEvent_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
47251 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister, METH_VARARGS, NULL},
47252 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit, METH_VARARGS, NULL},
5172800e
RD
47253 { (char *)"new_CollapsiblePane", (PyCFunction) _wrap_new_CollapsiblePane, METH_VARARGS | METH_KEYWORDS, NULL},
47254 { (char *)"new_PreCollapsiblePane", (PyCFunction)_wrap_new_PreCollapsiblePane, METH_NOARGS, NULL},
47255 { (char *)"CollapsiblePane_Create", (PyCFunction) _wrap_CollapsiblePane_Create, METH_VARARGS | METH_KEYWORDS, NULL},
47256 { (char *)"CollapsiblePane_Collapse", (PyCFunction) _wrap_CollapsiblePane_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
47257 { (char *)"CollapsiblePane_Expand", (PyCFunction)_wrap_CollapsiblePane_Expand, METH_O, NULL},
47258 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction)_wrap_CollapsiblePane_IsCollapsed, METH_O, NULL},
47259 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction)_wrap_CollapsiblePane_IsExpanded, METH_O, NULL},
47260 { (char *)"CollapsiblePane_GetPane", (PyCFunction)_wrap_CollapsiblePane_GetPane, METH_O, NULL},
47261 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister, METH_VARARGS, NULL},
47262 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit, METH_VARARGS, NULL},
47263 { (char *)"new_CollapsiblePaneEvent", (PyCFunction) _wrap_new_CollapsiblePaneEvent, METH_VARARGS | METH_KEYWORDS, NULL},
47264 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction)_wrap_CollapsiblePaneEvent_GetCollapsed, METH_O, NULL},
47265 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction) _wrap_CollapsiblePaneEvent_SetCollapsed, METH_VARARGS | METH_KEYWORDS, NULL},
47266 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister, METH_VARARGS, NULL},
47267 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit, METH_VARARGS, NULL},
554f62e9
RD
47268 { NULL, NULL, 0, NULL }
47269};
47270
47271
47272/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47273
47274static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
47275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
47276}
47277static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
47278 return (void *)((wxEvent *) ((wxMenuEvent *) x));
47279}
47280static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
47281 return (void *)((wxEvent *) ((wxCloseEvent *) x));
47282}
47283static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
47284 return (void *)((wxEvent *) ((wxMouseEvent *) x));
47285}
47286static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
47287 return (void *)((wxEvent *) ((wxEraseEvent *) x));
47288}
47289static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
47290 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47291}
47292static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
47293 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
47294}
47295static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
47296 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
47297}
b850e7f3
RD
47298static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
47299 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
47300}
47301static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
47302 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47303}
47304static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
47305 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
47306}
554f62e9
RD
47307static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
47308 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
47309}
47310static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
47311 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
47312}
47313static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
47314 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
47315}
554f62e9
RD
47316static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
47317 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
47318}
0f83f5da
RD
47319static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
47320 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
47321}
2131d850
RD
47322static void *_p_wxPyEventTo_p_wxEvent(void *x) {
47323 return (void *)((wxEvent *) ((wxPyEvent *) x));
47324}
554f62e9
RD
47325static void *_p_wxListEventTo_p_wxEvent(void *x) {
47326 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
47327}
47328static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
47329 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47330}
47331static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
47332 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47333}
47334static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
47335 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47336}
47337static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
47338 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47339}
47340static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
47341 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47342}
47343static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
47344 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
47345}
47346static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
47347 return (void *)((wxEvent *) ((wxIdleEvent *) x));
47348}
47349static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
47350 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
47351}
47352static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
47353 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
47354}
47355static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
47356 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
47357}
47358static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
47359 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
47360}
47361static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
47362 return (void *)((wxEvent *) ((wxActivateEvent *) x));
47363}
47364static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
47365 return (void *)((wxEvent *) ((wxSizeEvent *) x));
47366}
47367static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
47368 return (void *)((wxEvent *) ((wxMoveEvent *) x));
47369}
47370static void *_p_wxDateEventTo_p_wxEvent(void *x) {
47371 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
47372}
5172800e
RD
47373static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
47374 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
47375}
554f62e9
RD
47376static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
47377 return (void *)((wxEvent *) ((wxPaintEvent *) x));
47378}
47379static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
47380 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
47381}
0f83f5da
RD
47382static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
47383 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
47384}
554f62e9
RD
47385static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
47386 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
47387}
47388static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
47389 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
47390}
47391static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
47392 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
47393}
47394static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
47395 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47396}
47397static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
47398 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
47399}
704eda0c
RD
47400static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
47401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
47402}
554f62e9
RD
47403static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
47404 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
47405}
47406static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
47407 return (void *)((wxEvent *) ((wxFocusEvent *) x));
47408}
47409static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
47410 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
47411}
47412static void *_p_wxShowEventTo_p_wxEvent(void *x) {
47413 return (void *)((wxEvent *) ((wxShowEvent *) x));
47414}
47415static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
47416 return (void *)((wxEvent *) ((wxCommandEvent *) x));
47417}
47418static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
47419 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
47420}
47421static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
47422 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
47423}
47424static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
47425 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
47426}
47427static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
47428 return (void *)((wxEvent *) ((wxKeyEvent *) x));
47429}
47430static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
47431 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
47432}
47433static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
47434 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
47435}
b850e7f3
RD
47436static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x) {
47437 return (void *)((wxPickerBase *) ((wxColourPickerCtrl *) x));
47438}
47439static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x) {
47440 return (void *)((wxPickerBase *) ((wxFilePickerCtrl *) x));
47441}
47442static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x) {
47443 return (void *)((wxPickerBase *) ((wxDirPickerCtrl *) x));
47444}
47445static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x) {
47446 return (void *)((wxPickerBase *) ((wxFontPickerCtrl *) x));
47447}
554f62e9
RD
47448static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
47449 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47450}
47451static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
47452 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47453}
47454static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
47455 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
47456}
47457static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
47458 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
47459}
47460static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
47461 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
47462}
47463static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
47464 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47465}
47466static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
47467 return (void *)((wxPyListCtrl *) ((wxListView *) x));
47468}
5172800e
RD
47469static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
47470 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
47471}
554f62e9
RD
47472static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
47473 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
47474}
47475static void *_p_wxToolBarTo_p_wxControl(void *x) {
47476 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
47477}
b850e7f3
RD
47478static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
47479 return (void *)((wxControl *) ((wxPickerBase *) x));
47480}
554f62e9
RD
47481static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
47482 return (void *)((wxControl *) ((wxToggleButton *) x));
47483}
47484static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
47485 return (void *)((wxControl *) ((wxRadioButton *) x));
47486}
47487static void *_p_wxToolbookTo_p_wxControl(void *x) {
47488 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
47489}
47490static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
47491 return (void *)((wxControl *) ((wxToolBarBase *) x));
47492}
47493static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
47494 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47495}
47496static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
47497 return (void *)((wxControl *) ((wxPyListCtrl *) x));
47498}
47499static void *_p_wxComboBoxTo_p_wxControl(void *x) {
47500 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47501}
47502static void *_p_wxPyControlTo_p_wxControl(void *x) {
47503 return (void *)((wxControl *) ((wxPyControl *) x));
47504}
47505static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
47506 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
47507}
47508static void *_p_wxScrollBarTo_p_wxControl(void *x) {
47509 return (void *)((wxControl *) ((wxScrollBar *) x));
47510}
47511static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
47512 return (void *)((wxControl *) ((wxControlWithItems *) x));
47513}
47514static void *_p_wxGaugeTo_p_wxControl(void *x) {
47515 return (void *)((wxControl *) ((wxGauge *) x));
47516}
47517static void *_p_wxStaticLineTo_p_wxControl(void *x) {
47518 return (void *)((wxControl *) ((wxStaticLine *) x));
47519}
47520static void *_p_wxChoicebookTo_p_wxControl(void *x) {
47521 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
47522}
47523static void *_p_wxListbookTo_p_wxControl(void *x) {
47524 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
47525}
704eda0c
RD
47526static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
47527 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
47528}
554f62e9
RD
47529static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
47530 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
47531}
47532static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
47533 return (void *)((wxControl *) ((wxCheckBox *) x));
47534}
47535static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
47536 return (void *)((wxControl *) ((wxRadioBox *) x));
47537}
47538static void *_p_wxChoiceTo_p_wxControl(void *x) {
47539 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
47540}
47541static void *_p_wxListBoxTo_p_wxControl(void *x) {
47542 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
47543}
47544static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
47545 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47546}
47547static void *_p_wxListViewTo_p_wxControl(void *x) {
47548 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
47549}
47550static void *_p_wxNotebookTo_p_wxControl(void *x) {
47551 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
47552}
47553static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
47554 return (void *)((wxControl *) ((wxStaticBitmap *) x));
47555}
47556static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
47557 return (void *)((wxControl *) ((wxSpinCtrl *) x));
47558}
47559static void *_p_wxStaticTextTo_p_wxControl(void *x) {
47560 return (void *)((wxControl *) ((wxStaticText *) x));
47561}
47562static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
47563 return (void *)((wxControl *) ((wxStaticBox *) x));
47564}
47565static void *_p_wxSliderTo_p_wxControl(void *x) {
47566 return (void *)((wxControl *) ((wxSlider *) x));
47567}
47568static void *_p_wxTreebookTo_p_wxControl(void *x) {
47569 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
47570}
47571static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
47572 return (void *)((wxControl *) ((wxSpinButton *) x));
47573}
47574static void *_p_wxButtonTo_p_wxControl(void *x) {
47575 return (void *)((wxControl *) ((wxButton *) x));
47576}
47577static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
47578 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
47579}
47580static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
47581 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47582}
47583static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
47584 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
47585}
b850e7f3
RD
47586static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
47587 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
47588}
47589static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
47590 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
47591}
47592static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
47593 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
47594}
47595static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
47596 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
47597}
554f62e9
RD
47598static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
47599 return (void *)((wxControl *) ((wxTextCtrl *) x));
47600}
47601static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
47602 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
47603}
47604static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
47605 return (void *)((wxChoice *) ((wxComboBox *) x));
47606}
47607static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
47608 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
47609}
47610static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x) {
47611 return (void *)((wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
47612}
47613static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
47614 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
47615}
47616static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
47617 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
47618}
47619static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
47620 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
47621}
47622static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
47623 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
47624}
47625static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
47626 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
47627}
47628static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x) {
47629 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
47630}
47631static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x) {
47632 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
47633}
47634static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x) {
47635 return (void *)((wxNotifyEvent *) (wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
47636}
47637static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x) {
47638 return (void *)((wxBookCtrlBase *) ((wxChoicebook *) x));
47639}
47640static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x) {
47641 return (void *)((wxBookCtrlBase *) ((wxListbook *) x));
47642}
47643static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x) {
47644 return (void *)((wxBookCtrlBase *) ((wxToolbook *) x));
47645}
47646static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x) {
47647 return (void *)((wxBookCtrlBase *) ((wxTreebook *) x));
47648}
47649static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x) {
47650 return (void *)((wxBookCtrlBase *) ((wxNotebook *) x));
47651}
5172800e
RD
47652static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
47653 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
47654}
554f62e9
RD
47655static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
47656 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
47657}
47658static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
47659 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
47660}
47661static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
47662 return (void *)((wxEvtHandler *) ((wxValidator *) x));
47663}
47664static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
47665 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
47666}
47667static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
47668 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
47669}
b850e7f3
RD
47670static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
47671 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
47672}
554f62e9
RD
47673static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
47674 return (void *)((wxEvtHandler *) ((wxMenu *) x));
47675}
47676static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
47677 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
47678}
47679static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
47680 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
47681}
47682static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
47683 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47684}
47685static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
47686 return (void *)((wxEvtHandler *) ((wxWindow *) x));
47687}
47688static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
47689 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
47690}
47691static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
47692 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
47693}
47694static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
47695 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47696}
47697static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
47698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47699}
47700static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
47701 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47702}
47703static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
47704 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
47705}
47706static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
47707 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
47708}
47709static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
47710 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47711}
47712static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
47713 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
47714}
47715static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
47716 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
47717}
47718static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
47719 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
47720}
47721static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
47722 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
47723}
47724static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
47725 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47726}
47727static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
47728 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47729}
704eda0c
RD
47730static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
47731 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
47732}
554f62e9
RD
47733static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
47734 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47735}
47736static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
47737 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
47738}
47739static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
47740 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
47741}
47742static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
47743 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
47744}
47745static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
47746 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
47747}
47748static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
47749 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47750}
47751static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
47752 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47753}
47754static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
47755 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47756}
47757static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
47758 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47759}
47760static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
47761 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
47762}
47763static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
47764 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
47765}
47766static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
47767 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
47768}
47769static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
47770 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
47771}
47772static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
47773 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47774}
47775static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
47776 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
47777}
47778static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
47779 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
47780}
47781static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
47782 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
47783}
47784static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
47785 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
47786}
47787static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
47788 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
47789}
b850e7f3
RD
47790static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
47791 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
47792}
47793static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
47794 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
47795}
47796static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
47797 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
47798}
47799static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
47800 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
47801}
554f62e9
RD
47802static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
47803 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47804}
47805static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
47806 return (void *)((wxListBox *) ((wxCheckListBox *) x));
47807}
47808static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
47809 return (void *)((wxButton *) ((wxBitmapButton *) x));
47810}
47811static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
47812 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
47813}
47814static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
47815 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
47816}
47817static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
47818 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
47819}
47820static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
47821 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
47822}
47823static void *_p_wxToolbookTo_p_wxObject(void *x) {
47824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
47825}
554f62e9
RD
47826static void *_p_wxSizerItemTo_p_wxObject(void *x) {
47827 return (void *)((wxObject *) ((wxSizerItem *) x));
47828}
0f83f5da
RD
47829static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
47830 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
47831}
554f62e9
RD
47832static void *_p_wxScrollEventTo_p_wxObject(void *x) {
47833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
47834}
47835static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
47836 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
47837}
47838static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
47839 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
47840}
47841static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
47842 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
47843}
47844static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
47845 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
47846}
47847static void *_p_wxSizerTo_p_wxObject(void *x) {
47848 return (void *)((wxObject *) ((wxSizer *) x));
47849}
47850static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
47851 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
47852}
47853static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
47854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
47855}
47856static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
47857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
47858}
47859static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
47860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
47861}
47862static void *_p_wxEventTo_p_wxObject(void *x) {
47863 return (void *)((wxObject *) ((wxEvent *) x));
47864}
47865static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
47866 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
47867}
47868static void *_p_wxGridSizerTo_p_wxObject(void *x) {
47869 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
47870}
47871static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
47872 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
47873}
47874static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
47875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
47876}
b850e7f3
RD
47877static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
47878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
47879}
554f62e9
RD
47880static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
47881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
47882}
47883static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
47884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
47885}
2131d850
RD
47886static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
47887 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
47888}
554f62e9
RD
47889static void *_p_wxPaintEventTo_p_wxObject(void *x) {
47890 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
47891}
47892static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
47893 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
47894}
47895static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
47896 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
47897}
47898static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
47899 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
47900}
47901static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
47902 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
47903}
47904static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
47905 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
47906}
47907static void *_p_wxStaticLineTo_p_wxObject(void *x) {
47908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
47909}
47910static void *_p_wxControlTo_p_wxObject(void *x) {
47911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
47912}
47913static void *_p_wxPyControlTo_p_wxObject(void *x) {
47914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
47915}
47916static void *_p_wxGaugeTo_p_wxObject(void *x) {
47917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
47918}
47919static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
47920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
47921}
47922static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
47923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
47924}
47925static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
47926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
47927}
47928static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
47929 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
47930}
b850e7f3
RD
47931static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
47932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
47933}
47934static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
47935 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
47936}
47937static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
47938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
47939}
554f62e9
RD
47940static void *_p_wxChoiceTo_p_wxObject(void *x) {
47941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
47942}
47943static void *_p_wxFSFileTo_p_wxObject(void *x) {
47944 return (void *)((wxObject *) ((wxFSFile *) x));
47945}
47946static void *_p_wxPySizerTo_p_wxObject(void *x) {
47947 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
47948}
47949static void *_p_wxTreebookTo_p_wxObject(void *x) {
47950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
47951}
47952static void *_p_wxListViewTo_p_wxObject(void *x) {
47953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
47954}
704eda0c
RD
47955static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
47956 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
47957}
554f62e9
RD
47958static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
47959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
47960}
47961static void *_p_wxNotebookTo_p_wxObject(void *x) {
47962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
47963}
47964static void *_p_wxPyEventTo_p_wxObject(void *x) {
47965 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
47966}
47967static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
47968 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
47969}
47970static void *_p_wxChoicebookTo_p_wxObject(void *x) {
47971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
47972}
47973static void *_p_wxListbookTo_p_wxObject(void *x) {
47974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
47975}
47976static void *_p_wxShowEventTo_p_wxObject(void *x) {
47977 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
47978}
47979static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
47980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
47981}
47982static void *_p_wxSliderTo_p_wxObject(void *x) {
47983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
47984}
47985static void *_p_wxMenuItemTo_p_wxObject(void *x) {
47986 return (void *)((wxObject *) ((wxMenuItem *) x));
47987}
47988static void *_p_wxDateEventTo_p_wxObject(void *x) {
47989 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
47990}
47991static void *_p_wxIdleEventTo_p_wxObject(void *x) {
47992 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
47993}
47994static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
47995 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
47996}
47997static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
47998 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
47999}
48000static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
48001 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
48002}
48003static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
48004 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
48005}
48006static void *_p_wxSizeEventTo_p_wxObject(void *x) {
48007 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
48008}
48009static void *_p_wxMoveEventTo_p_wxObject(void *x) {
48010 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
48011}
48012static void *_p_wxActivateEventTo_p_wxObject(void *x) {
48013 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
48014}
48015static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
48016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
48017}
48018static void *_p_wxContextHelpTo_p_wxObject(void *x) {
48019 return (void *)((wxObject *) ((wxContextHelp *) x));
48020}
5172800e
RD
48021static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
48022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48023}
554f62e9
RD
48024static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
48025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
48026}
48027static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
48028 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
48029}
48030static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
48031 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
48032}
48033static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
48034 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
48035}
48036static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
48037 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
48038}
48039static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
48040 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
48041}
48042static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
48043 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
48044}
48045static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
48046 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
48047}
48048static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
48049 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
48050}
48051static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
48052 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
48053}
48054static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
48055 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
48056}
48057static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
48058 return (void *)((wxObject *) ((wxImageHandler *) x));
48059}
48060static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
48061 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
48062}
48063static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
48064 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
48065}
580080c5
RD
48066static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
48067 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
48068}
554f62e9
RD
48069static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
48070 return (void *)((wxObject *) ((wxEvtHandler *) x));
48071}
0f83f5da
RD
48072static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
48073 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
48074}
554f62e9
RD
48075static void *_p_wxListEventTo_p_wxObject(void *x) {
48076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
48077}
48078static void *_p_wxListBoxTo_p_wxObject(void *x) {
48079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48080}
48081static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
48082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48083}
48084static void *_p_wxButtonTo_p_wxObject(void *x) {
48085 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
48086}
48087static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
48088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
48089}
48090static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
48091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
48092}
48093static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
48094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48095}
554f62e9
RD
48096static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
48097 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
48098}
580080c5
RD
48099static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
48100 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
48101}
554f62e9
RD
48102static void *_p_wxScrollBarTo_p_wxObject(void *x) {
48103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
48104}
48105static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
48106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
48107}
48108static void *_p_wxComboBoxTo_p_wxObject(void *x) {
48109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48110}
48111static void *_p_wxHelpEventTo_p_wxObject(void *x) {
48112 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
48113}
48114static void *_p_wxListItemTo_p_wxObject(void *x) {
48115 return (void *)((wxObject *) ((wxListItem *) x));
48116}
48117static void *_p_wxImageTo_p_wxObject(void *x) {
48118 return (void *)((wxObject *) ((wxImage *) x));
48119}
48120static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
48121 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
48122}
48123static void *_p_wxSpinEventTo_p_wxObject(void *x) {
48124 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
48125}
48126static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
48127 return (void *)((wxObject *) ((wxGenericDragImage *) x));
48128}
48129static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
48130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
48131}
48132static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
48133 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48134}
48135static void *_p_wxListbookEventTo_p_wxObject(void *x) {
48136 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48137}
48138static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
48139 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48140}
48141static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
48142 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48143}
48144static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
48145 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48146}
48147static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
48148 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48149}
48150static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
48151 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
48152}
48153static void *_p_wxKeyEventTo_p_wxObject(void *x) {
48154 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
48155}
48156static void *_p_wxWindowTo_p_wxObject(void *x) {
48157 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
48158}
48159static void *_p_wxMenuTo_p_wxObject(void *x) {
48160 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
48161}
48162static void *_p_wxMenuBarTo_p_wxObject(void *x) {
48163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
48164}
48165static void *_p_wxFileSystemTo_p_wxObject(void *x) {
48166 return (void *)((wxObject *) ((wxFileSystem *) x));
48167}
5172800e
RD
48168static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
48169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
48170}
554f62e9
RD
48171static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
48172 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
48173}
48174static void *_p_wxMenuEventTo_p_wxObject(void *x) {
48175 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
48176}
48177static void *_p_wxPyAppTo_p_wxObject(void *x) {
48178 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
48179}
48180static void *_p_wxCloseEventTo_p_wxObject(void *x) {
48181 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
48182}
48183static void *_p_wxMouseEventTo_p_wxObject(void *x) {
48184 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
48185}
48186static void *_p_wxEraseEventTo_p_wxObject(void *x) {
48187 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
48188}
48189static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
48190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48191}
48192static void *_p_wxTreeEventTo_p_wxObject(void *x) {
48193 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
48194}
48195static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
48196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
48197}
48198static void *_p_wxCommandEventTo_p_wxObject(void *x) {
48199 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
48200}
48201static void *_p_wxStaticTextTo_p_wxObject(void *x) {
48202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
48203}
48204static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
48205 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
48206}
48207static void *_p_wxFocusEventTo_p_wxObject(void *x) {
48208 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
48209}
48210static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
48211 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
48212}
48213static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
48214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
48215}
b850e7f3
RD
48216static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
48217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48218}
48219static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
48220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48221}
48222static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
48223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48224}
48225static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
48226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48227}
554f62e9
RD
48228static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
48229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
48230}
704eda0c
RD
48231static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
48232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
48233}
554f62e9
RD
48234static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
48235 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
48236}
48237static void *_p_wxToolBarTo_p_wxObject(void *x) {
48238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48239}
48240static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
48241 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
48242}
48243static void *_p_wxValidatorTo_p_wxObject(void *x) {
48244 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
48245}
5172800e
RD
48246static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
48247 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
48248}
554f62e9
RD
48249static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
48250 return (void *)((wxWindow *) ((wxMenuBar *) x));
48251}
48252static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
48253 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
48254}
48255static void *_p_wxToolBarTo_p_wxWindow(void *x) {
48256 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
48257}
b850e7f3
RD
48258static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
48259 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
48260}
554f62e9
RD
48261static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
48262 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
48263}
48264static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
48265 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
48266}
48267static void *_p_wxToolbookTo_p_wxWindow(void *x) {
48268 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
48269}
48270static void *_p_wxControlTo_p_wxWindow(void *x) {
48271 return (void *)((wxWindow *) ((wxControl *) x));
48272}
48273static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
48274 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
48275}
48276static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
48277 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
48278}
48279static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
48280 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
48281}
48282static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
48283 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
48284}
48285static void *_p_wxPyControlTo_p_wxWindow(void *x) {
48286 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
48287}
48288static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
48289 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
48290}
48291static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
48292 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
48293}
48294static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
48295 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
48296}
48297static void *_p_wxGaugeTo_p_wxWindow(void *x) {
48298 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
48299}
48300static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
48301 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
48302}
48303static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
48304 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
48305}
48306static void *_p_wxListbookTo_p_wxWindow(void *x) {
48307 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
48308}
704eda0c
RD
48309static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
48310 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
48311}
554f62e9
RD
48312static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
48313 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
48314}
48315static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
48316 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
48317}
48318static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
48319 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
48320}
48321static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
48322 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
48323}
48324static void *_p_wxChoiceTo_p_wxWindow(void *x) {
48325 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
48326}
48327static void *_p_wxListBoxTo_p_wxWindow(void *x) {
48328 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
48329}
48330static void *_p_wxListViewTo_p_wxWindow(void *x) {
48331 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
48332}
48333static void *_p_wxNotebookTo_p_wxWindow(void *x) {
48334 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
48335}
48336static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
48337 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
48338}
48339static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
48340 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
48341}
48342static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
48343 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
48344}
48345static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
48346 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
48347}
48348static void *_p_wxSliderTo_p_wxWindow(void *x) {
48349 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
48350}
48351static void *_p_wxTreebookTo_p_wxWindow(void *x) {
48352 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
48353}
48354static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
48355 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
48356}
48357static void *_p_wxButtonTo_p_wxWindow(void *x) {
48358 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
48359}
48360static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
48361 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
48362}
48363static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
48364 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
48365}
48366static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
48367 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
48368}
b850e7f3
RD
48369static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
48370 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
48371}
48372static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
48373 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
48374}
48375static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
48376 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
48377}
48378static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
48379 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
48380}
554f62e9
RD
48381static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
48382 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
48383}
48384static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48385 return (void *)((wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48386}
48387static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48388 return (void *)((wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48389}
48390static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48391 return (void *)((wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48392}
48393static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48394 return (void *)((wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48395}
48396static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x) {
48397 return (void *)((wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48398}
48399static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
48400 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
48401}
704eda0c
RD
48402static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
48403 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
48404}
2131d850
RD
48405static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
48406 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
48407}
b850e7f3
RD
48408static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
48409 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
48410}
48411static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
48412 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
48413}
48414static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
48415 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
48416}
554f62e9
RD
48417static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
48418 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
48419}
48420static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
48421 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
48422}
48423static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
48424 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
48425}
48426static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
48427 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
48428}
48429static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
48430 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
48431}
554f62e9
RD
48432static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
48433 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
48434}
2131d850
RD
48435static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
48436 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
48437}
554f62e9
RD
48438static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
48439 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
48440}
48441static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
48442 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
48443}
48444static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
48445 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
48446}
48447static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
48448 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
48449}
48450static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
48451 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
48452}
48453static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
48454 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
48455}
5172800e
RD
48456static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
48457 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
48458}
554f62e9
RD
48459static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
48460 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
48461}
48462static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
48463 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
48464}
48465static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
48466 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
48467}
48468static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
48469 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
48470}
48471static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
48472 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
48473}
48474static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
48475 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
48476}
48477static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
48478 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
48479}
48480static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
48481 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
48482}
48483static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
48484 return (void *)((wxControlWithItems *) ((wxChoice *) x));
48485}
48486static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
48487 return (void *)((wxControlWithItems *) ((wxListBox *) x));
48488}
48489static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
48490 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
48491}
48492static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
48493 return (void *)((wxValidator *) ((wxPyValidator *) x));
48494}
48495static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48496static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
48497static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
48498static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
48499static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
48500static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48501static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48502static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48503static swig_type_info _swigt__p_void = {"_p_void", "void *", 0, 0, (void*)0, 0};
48504static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48505static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48506static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48507static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48508static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48509static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48510static swig_type_info _swigt__p_wxButton = {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48511static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48512static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48513static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48514static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48515static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
5172800e
RD
48516static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48517static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
554f62e9 48518static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
b850e7f3
RD
48519static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48520static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
48521static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48522static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48523static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
2131d850 48524static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9
RD
48525static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48526static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48527static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48528static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48529static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48530static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48531static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48532static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48533static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48534static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48535static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48536static swig_type_info _swigt__p_wxCursor = {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48537static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48538static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48539static swig_type_info _swigt__p_wxDateTime = {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48540static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
b850e7f3 48541static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
554f62e9
RD
48542static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48543static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48544static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48545static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48546static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48547static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48548static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48549static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
0f83f5da 48550static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
554f62e9
RD
48551static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48552static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48553static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48554static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48555static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48556static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
0f83f5da 48557static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
554f62e9
RD
48558static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48559static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48560static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48561static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48562static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48563static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48564static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48565static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48566static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48567static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48568static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48569static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48570static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48571static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48572static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
48573static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
b850e7f3
RD
48574static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48575static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
554f62e9 48576static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
b850e7f3
RD
48577static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48578static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
48579static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48580static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48581static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48582static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48583static swig_type_info _swigt__p_wxHelpProvider = {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
704eda0c
RD
48584static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48585static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
48586static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48587static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48588static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48589static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48590static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48591static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48592static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48593static swig_type_info _swigt__p_wxListItemAttr = {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48594static swig_type_info _swigt__p_wxListView = {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48595static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48596static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48597static swig_type_info _swigt__p_wxMemoryDC = {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48598static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48599static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48600static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48601static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48602static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48603static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
554f62e9 48604static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0f83f5da 48605static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
554f62e9
RD
48606static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48607static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48608static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48609static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
48610static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48611static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48612static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48613static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
48614static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
48615static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
48616static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48617static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48618static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48619static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
5172800e 48620static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
b850e7f3
RD
48621static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48622static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48623static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48624static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
704eda0c 48625static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 48626static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
48627static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48628static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 48629static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
554f62e9 48630static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
580080c5 48631static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
554f62e9
RD
48632static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
48633static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48634static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
b850e7f3 48635static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
554f62e9
RD
48636static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48637static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48638static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48639static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48640static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48641static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48642static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48643static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48644static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48645static swig_type_info _swigt__p_wxSimpleHelpProvider = {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48646static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48647static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48648static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48649static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48650static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48651static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48652static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48653static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48654static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48655static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48656static swig_type_info _swigt__p_wxTextAttr = {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48657static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48658static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48659static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48660static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48661static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48662static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48663static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48664static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
554f62e9
RD
48665static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48666static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48667static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48668static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48669static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48670static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48671static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
b850e7f3 48672static swig_type_info _swigt__p_wxWindowBase = {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
554f62e9
RD
48673
48674static swig_type_info *swig_type_initial[] = {
48675 &_swigt__p_bool,
48676 &_swigt__p_char,
48677 &_swigt__p_form_ops_t,
48678 &_swigt__p_int,
48679 &_swigt__p_long,
48680 &_swigt__p_unsigned_char,
48681 &_swigt__p_unsigned_int,
48682 &_swigt__p_unsigned_long,
48683 &_swigt__p_void,
48684 &_swigt__p_wxANIHandler,
48685 &_swigt__p_wxAcceleratorTable,
48686 &_swigt__p_wxActivateEvent,
48687 &_swigt__p_wxArrayInt,
48688 &_swigt__p_wxArrayString,
48689 &_swigt__p_wxBMPHandler,
48690 &_swigt__p_wxBitmap,
48691 &_swigt__p_wxBitmapButton,
48692 &_swigt__p_wxBookCtrlBase,
48693 &_swigt__p_wxBookCtrlBaseEvent,
48694 &_swigt__p_wxBoxSizer,
48695 &_swigt__p_wxButton,
48696 &_swigt__p_wxCURHandler,
48697 &_swigt__p_wxCheckBox,
48698 &_swigt__p_wxCheckListBox,
48699 &_swigt__p_wxChildFocusEvent,
48700 &_swigt__p_wxChoice,
48701 &_swigt__p_wxChoicebook,
48702 &_swigt__p_wxChoicebookEvent,
2131d850 48703 &_swigt__p_wxClipboardTextEvent,
554f62e9 48704 &_swigt__p_wxCloseEvent,
5172800e
RD
48705 &_swigt__p_wxCollapsiblePane,
48706 &_swigt__p_wxCollapsiblePaneEvent,
554f62e9 48707 &_swigt__p_wxColour,
b850e7f3
RD
48708 &_swigt__p_wxColourPickerCtrl,
48709 &_swigt__p_wxColourPickerEvent,
554f62e9
RD
48710 &_swigt__p_wxComboBox,
48711 &_swigt__p_wxCommandEvent,
48712 &_swigt__p_wxContextHelp,
48713 &_swigt__p_wxContextHelpButton,
48714 &_swigt__p_wxContextMenuEvent,
48715 &_swigt__p_wxControl,
48716 &_swigt__p_wxControlWithItems,
48717 &_swigt__p_wxCursor,
48718 &_swigt__p_wxDC,
48719 &_swigt__p_wxDateEvent,
48720 &_swigt__p_wxDatePickerCtrl,
48721 &_swigt__p_wxDateTime,
48722 &_swigt__p_wxDirFilterListCtrl,
b850e7f3 48723 &_swigt__p_wxDirPickerCtrl,
554f62e9
RD
48724 &_swigt__p_wxDisplayChangedEvent,
48725 &_swigt__p_wxDropFilesEvent,
48726 &_swigt__p_wxDuplexMode,
48727 &_swigt__p_wxEraseEvent,
48728 &_swigt__p_wxEvent,
48729 &_swigt__p_wxEvtHandler,
48730 &_swigt__p_wxFSFile,
b850e7f3
RD
48731 &_swigt__p_wxFileDirPickerEvent,
48732 &_swigt__p_wxFilePickerCtrl,
554f62e9
RD
48733 &_swigt__p_wxFileSystem,
48734 &_swigt__p_wxFlexGridSizer,
48735 &_swigt__p_wxFocusEvent,
48736 &_swigt__p_wxFont,
b850e7f3
RD
48737 &_swigt__p_wxFontPickerCtrl,
48738 &_swigt__p_wxFontPickerEvent,
554f62e9
RD
48739 &_swigt__p_wxGBSizerItem,
48740 &_swigt__p_wxGIFHandler,
48741 &_swigt__p_wxGauge,
48742 &_swigt__p_wxGenericDirCtrl,
48743 &_swigt__p_wxGenericDragImage,
48744 &_swigt__p_wxGridBagSizer,
48745 &_swigt__p_wxGridSizer,
48746 &_swigt__p_wxHelpEvent,
48747 &_swigt__p_wxHelpProvider,
704eda0c
RD
48748 &_swigt__p_wxHyperlinkCtrl,
48749 &_swigt__p_wxHyperlinkEvent,
554f62e9
RD
48750 &_swigt__p_wxICOHandler,
48751 &_swigt__p_wxIcon,
48752 &_swigt__p_wxIconizeEvent,
48753 &_swigt__p_wxIdleEvent,
48754 &_swigt__p_wxImage,
48755 &_swigt__p_wxImageHandler,
48756 &_swigt__p_wxImageList,
48757 &_swigt__p_wxIndividualLayoutConstraint,
48758 &_swigt__p_wxInitDialogEvent,
48759 &_swigt__p_wxItemContainer,
48760 &_swigt__p_wxJPEGHandler,
48761 &_swigt__p_wxKeyEvent,
48762 &_swigt__p_wxLayoutConstraints,
48763 &_swigt__p_wxListBox,
48764 &_swigt__p_wxListEvent,
48765 &_swigt__p_wxListItem,
48766 &_swigt__p_wxListItemAttr,
48767 &_swigt__p_wxListView,
48768 &_swigt__p_wxListbook,
48769 &_swigt__p_wxListbookEvent,
48770 &_swigt__p_wxMaximizeEvent,
48771 &_swigt__p_wxMemoryDC,
48772 &_swigt__p_wxMenu,
48773 &_swigt__p_wxMenuBar,
48774 &_swigt__p_wxMenuEvent,
48775 &_swigt__p_wxMenuItem,
48776 &_swigt__p_wxMouseCaptureChangedEvent,
0f83f5da 48777 &_swigt__p_wxMouseCaptureLostEvent,
554f62e9
RD
48778 &_swigt__p_wxMouseEvent,
48779 &_swigt__p_wxMoveEvent,
48780 &_swigt__p_wxNavigationKeyEvent,
48781 &_swigt__p_wxNcPaintEvent,
48782 &_swigt__p_wxNotebook,
48783 &_swigt__p_wxNotebookEvent,
48784 &_swigt__p_wxNotifyEvent,
48785 &_swigt__p_wxObject,
48786 &_swigt__p_wxPCXHandler,
48787 &_swigt__p_wxPNGHandler,
48788 &_swigt__p_wxPNMHandler,
48789 &_swigt__p_wxPaintEvent,
48790 &_swigt__p_wxPaletteChangedEvent,
48791 &_swigt__p_wxPaperSize,
b850e7f3 48792 &_swigt__p_wxPickerBase,
554f62e9
RD
48793 &_swigt__p_wxPoint,
48794 &_swigt__p_wxPyApp,
48795 &_swigt__p_wxPyCommandEvent,
48796 &_swigt__p_wxPyControl,
48797 &_swigt__p_wxPyEvent,
48798 &_swigt__p_wxPyImageHandler,
48799 &_swigt__p_wxPyListCtrl,
48800 &_swigt__p_wxPySizer,
48801 &_swigt__p_wxPyTreeCtrl,
48802 &_swigt__p_wxPyTreeItemData,
48803 &_swigt__p_wxPyValidator,
48804 &_swigt__p_wxQueryNewPaletteEvent,
48805 &_swigt__p_wxRadioBox,
48806 &_swigt__p_wxRadioButton,
48807 &_swigt__p_wxRect,
48808 &_swigt__p_wxScrollBar,
48809 &_swigt__p_wxScrollEvent,
48810 &_swigt__p_wxScrollWinEvent,
48811 &_swigt__p_wxSetCursorEvent,
48812 &_swigt__p_wxShowEvent,
48813 &_swigt__p_wxSimpleHelpProvider,
48814 &_swigt__p_wxSize,
48815 &_swigt__p_wxSizeEvent,
48816 &_swigt__p_wxSizer,
48817 &_swigt__p_wxSizerItem,
48818 &_swigt__p_wxSlider,
48819 &_swigt__p_wxSpinButton,
48820 &_swigt__p_wxSpinCtrl,
48821 &_swigt__p_wxSpinEvent,
48822 &_swigt__p_wxStaticBitmap,
48823 &_swigt__p_wxStaticBox,
48824 &_swigt__p_wxStaticBoxSizer,
48825 &_swigt__p_wxStaticLine,
48826 &_swigt__p_wxStaticText,
48827 &_swigt__p_wxStdDialogButtonSizer,
48828 &_swigt__p_wxString,
48829 &_swigt__p_wxSysColourChangedEvent,
580080c5 48830 &_swigt__p_wxTGAHandler,
554f62e9
RD
48831 &_swigt__p_wxTIFFHandler,
48832 &_swigt__p_wxTextAttr,
48833 &_swigt__p_wxTextCtrl,
48834 &_swigt__p_wxTextUrlEvent,
48835 &_swigt__p_wxToggleButton,
48836 &_swigt__p_wxToolBar,
48837 &_swigt__p_wxToolBarBase,
48838 &_swigt__p_wxToolBarToolBase,
48839 &_swigt__p_wxToolbook,
48840 &_swigt__p_wxToolbookEvent,
554f62e9
RD
48841 &_swigt__p_wxTreeEvent,
48842 &_swigt__p_wxTreeItemId,
48843 &_swigt__p_wxTreebook,
48844 &_swigt__p_wxTreebookEvent,
48845 &_swigt__p_wxUpdateUIEvent,
48846 &_swigt__p_wxValidator,
48847 &_swigt__p_wxVisualAttributes,
48848 &_swigt__p_wxWindow,
b850e7f3 48849 &_swigt__p_wxWindowBase,
554f62e9
RD
48850 &_swigt__p_wxWindowCreateEvent,
48851 &_swigt__p_wxWindowDestroyEvent,
48852 &_swigt__p_wxXPMHandler,
48853};
48854
48855static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
48856static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
48857static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
48858static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
48859static swig_cast_info _swigc__p_long[] = { {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
48860static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
48861static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
48862static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
48863static swig_cast_info _swigc__p_void[] = { {&_swigt__p_void, 0, 0, 0},{0, 0, 0, 0}};
48864static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
48865static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
48866static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
48867static 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}};
48868static 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}};
48869static 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}};
48870static 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}};
48871static swig_cast_info _swigc__p_wxCheckBox[] = { {&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
48872static swig_cast_info _swigc__p_wxCheckListBox[] = { {&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
48873static swig_cast_info _swigc__p_wxChoice[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxChoice, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0}, {&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
48874static swig_cast_info _swigc__p_wxChoicebook[] = { {&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
48875static swig_cast_info _swigc__p_wxChoicebookEvent[] = { {&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e
RD
48876static swig_cast_info _swigc__p_wxCollapsiblePane[] = { {&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
48877static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = { {&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 48878static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48879static swig_cast_info _swigc__p_wxColourPickerCtrl[] = { {&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48880static swig_cast_info _swigc__p_wxColourPickerEvent[] = { {&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48881static swig_cast_info _swigc__p_wxComboBox[] = { {&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
48882static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 48883static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48884static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
48885static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
48886static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48887static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48888static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
48889static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
48890static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48891static 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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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}};
554f62e9
RD
48892static swig_cast_info _swigc__p_wxContextHelp[] = { {&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
48893static swig_cast_info _swigc__p_wxContextHelpButton[] = { {&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48894static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_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}};
554f62e9
RD
48895static swig_cast_info _swigc__p_wxControlWithItems[] = { {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControlWithItems, 0, 0}, {&_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}};
48896static swig_cast_info _swigc__p_wxCursor[] = { {&_swigt__p_wxCursor, 0, 0, 0},{0, 0, 0, 0}};
48897static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
48898static swig_cast_info _swigc__p_wxDatePickerCtrl[] = { {&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48899static swig_cast_info _swigc__p_wxDateTime[] = { {&_swigt__p_wxDateTime, 0, 0, 0},{0, 0, 0, 0}};
48900static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = { {&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48901static swig_cast_info _swigc__p_wxDirPickerCtrl[] = { {&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48902static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
48903static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
48904static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
48905static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
48906static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
48907static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
48908static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 48909static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48910static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
48911static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48912static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48913static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
48914static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
48915static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 48916static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48917static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48918static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
48919static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48920static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48921static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48922static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
48923static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
48924static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
48925static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
48926static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48927static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48928static 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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_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_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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}};
554f62e9
RD
48929static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
48930static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
48931static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
48932static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48933static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_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_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_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_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 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_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_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}};
b850e7f3
RD
48934static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = { {&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
48935static swig_cast_info _swigc__p_wxFilePickerCtrl[] = { {&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 48936static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48937static swig_cast_info _swigc__p_wxFontPickerCtrl[] = { {&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
48938static swig_cast_info _swigc__p_wxFontPickerEvent[] = { {&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48939static swig_cast_info _swigc__p_wxGauge[] = { {&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
48940static swig_cast_info _swigc__p_wxGenericDirCtrl[] = { {&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
48941static swig_cast_info _swigc__p_wxGenericDragImage[] = { {&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
48942static swig_cast_info _swigc__p_wxHelpEvent[] = { {&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
48943static 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
48944static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = { {&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
48945static swig_cast_info _swigc__p_wxHyperlinkEvent[] = { {&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48946static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
48947static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
48948static 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}};
48949static swig_cast_info _swigc__p_wxKeyEvent[] = { {&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
48950static 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}};
48951static swig_cast_info _swigc__p_wxListEvent[] = { {&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
48952static swig_cast_info _swigc__p_wxListItem[] = { {&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
48953static swig_cast_info _swigc__p_wxListItemAttr[] = { {&_swigt__p_wxListItemAttr, 0, 0, 0},{0, 0, 0, 0}};
48954static swig_cast_info _swigc__p_wxListView[] = { {&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
48955static swig_cast_info _swigc__p_wxListbook[] = { {&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
48956static swig_cast_info _swigc__p_wxListbookEvent[] = { {&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
48957static swig_cast_info _swigc__p_wxMemoryDC[] = { {&_swigt__p_wxMemoryDC, 0, 0, 0},{0, 0, 0, 0}};
48958static swig_cast_info _swigc__p_wxMouseEvent[] = { {&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
48959static swig_cast_info _swigc__p_wxNotebook[] = { {&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
48960static swig_cast_info _swigc__p_wxNotebookEvent[] = { {&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
48961static 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}};
48962static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 48963static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
0f83f5da 48964static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48965static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
48966static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48967static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
48968static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
48969static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
48970static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48971static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
48972static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
48973static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
48974static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48975static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
48976static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
48977static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
48978static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48979static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3
RD
48980static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
48981static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
48982static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
48983static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
704eda0c 48984static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 48985static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48986static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
48987static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48988static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
554f62e9 48989static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
580080c5 48990static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
48991static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
48992static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
5172800e 48993static 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_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_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_wxPNGHandler, _p_wxPNGHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_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_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_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_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_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}};
554f62e9 48994static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
b850e7f3 48995static 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}};
554f62e9
RD
48996static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
48997static swig_cast_info _swigc__p_wxPyControl[] = { {&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
48998static 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}};
48999static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
49000static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
49001static swig_cast_info _swigc__p_wxRadioBox[] = { {&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
49002static swig_cast_info _swigc__p_wxRadioButton[] = { {&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
49003static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
49004static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
49005static swig_cast_info _swigc__p_wxSimpleHelpProvider[] = { {&_swigt__p_wxSimpleHelpProvider, 0, 0, 0},{0, 0, 0, 0}};
49006static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
49007static swig_cast_info _swigc__p_wxSlider[] = { {&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
49008static swig_cast_info _swigc__p_wxSpinButton[] = { {&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
49009static swig_cast_info _swigc__p_wxSpinCtrl[] = { {&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
49010static swig_cast_info _swigc__p_wxSpinEvent[] = { {&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
49011static swig_cast_info _swigc__p_wxStaticBitmap[] = { {&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
49012static swig_cast_info _swigc__p_wxStaticBox[] = { {&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
49013static swig_cast_info _swigc__p_wxStaticLine[] = { {&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
49014static swig_cast_info _swigc__p_wxStaticText[] = { {&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
49015static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
49016static swig_cast_info _swigc__p_wxTextAttr[] = { {&_swigt__p_wxTextAttr, 0, 0, 0},{0, 0, 0, 0}};
49017static swig_cast_info _swigc__p_wxTextCtrl[] = { {&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
49018static swig_cast_info _swigc__p_wxTextUrlEvent[] = { {&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
49019static swig_cast_info _swigc__p_wxToggleButton[] = { {&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
49020static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
49021static 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}};
49022static swig_cast_info _swigc__p_wxToolBarToolBase[] = { {&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
49023static swig_cast_info _swigc__p_wxToolbook[] = { {&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
49024static swig_cast_info _swigc__p_wxToolbookEvent[] = { {&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49025static swig_cast_info _swigc__p_wxTreeEvent[] = { {&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
49026static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
49027static swig_cast_info _swigc__p_wxTreebook[] = { {&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
49028static swig_cast_info _swigc__p_wxTreebookEvent[] = { {&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
49029static 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}};
49030static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
5172800e 49031static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_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_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_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_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_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_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
b850e7f3 49032static swig_cast_info _swigc__p_wxWindowBase[] = { {&_swigt__p_wxWindowBase, 0, 0, 0},{0, 0, 0, 0}};
554f62e9
RD
49033
49034static swig_cast_info *swig_cast_initial[] = {
49035 _swigc__p_bool,
49036 _swigc__p_char,
49037 _swigc__p_form_ops_t,
49038 _swigc__p_int,
49039 _swigc__p_long,
49040 _swigc__p_unsigned_char,
49041 _swigc__p_unsigned_int,
49042 _swigc__p_unsigned_long,
49043 _swigc__p_void,
49044 _swigc__p_wxANIHandler,
49045 _swigc__p_wxAcceleratorTable,
49046 _swigc__p_wxActivateEvent,
49047 _swigc__p_wxArrayInt,
49048 _swigc__p_wxArrayString,
49049 _swigc__p_wxBMPHandler,
49050 _swigc__p_wxBitmap,
49051 _swigc__p_wxBitmapButton,
49052 _swigc__p_wxBookCtrlBase,
49053 _swigc__p_wxBookCtrlBaseEvent,
49054 _swigc__p_wxBoxSizer,
49055 _swigc__p_wxButton,
49056 _swigc__p_wxCURHandler,
49057 _swigc__p_wxCheckBox,
49058 _swigc__p_wxCheckListBox,
49059 _swigc__p_wxChildFocusEvent,
49060 _swigc__p_wxChoice,
49061 _swigc__p_wxChoicebook,
49062 _swigc__p_wxChoicebookEvent,
2131d850 49063 _swigc__p_wxClipboardTextEvent,
554f62e9 49064 _swigc__p_wxCloseEvent,
5172800e
RD
49065 _swigc__p_wxCollapsiblePane,
49066 _swigc__p_wxCollapsiblePaneEvent,
554f62e9 49067 _swigc__p_wxColour,
b850e7f3
RD
49068 _swigc__p_wxColourPickerCtrl,
49069 _swigc__p_wxColourPickerEvent,
554f62e9
RD
49070 _swigc__p_wxComboBox,
49071 _swigc__p_wxCommandEvent,
49072 _swigc__p_wxContextHelp,
49073 _swigc__p_wxContextHelpButton,
49074 _swigc__p_wxContextMenuEvent,
49075 _swigc__p_wxControl,
49076 _swigc__p_wxControlWithItems,
49077 _swigc__p_wxCursor,
49078 _swigc__p_wxDC,
49079 _swigc__p_wxDateEvent,
49080 _swigc__p_wxDatePickerCtrl,
49081 _swigc__p_wxDateTime,
49082 _swigc__p_wxDirFilterListCtrl,
b850e7f3 49083 _swigc__p_wxDirPickerCtrl,
554f62e9
RD
49084 _swigc__p_wxDisplayChangedEvent,
49085 _swigc__p_wxDropFilesEvent,
49086 _swigc__p_wxDuplexMode,
49087 _swigc__p_wxEraseEvent,
49088 _swigc__p_wxEvent,
49089 _swigc__p_wxEvtHandler,
49090 _swigc__p_wxFSFile,
b850e7f3
RD
49091 _swigc__p_wxFileDirPickerEvent,
49092 _swigc__p_wxFilePickerCtrl,
554f62e9
RD
49093 _swigc__p_wxFileSystem,
49094 _swigc__p_wxFlexGridSizer,
49095 _swigc__p_wxFocusEvent,
49096 _swigc__p_wxFont,
b850e7f3
RD
49097 _swigc__p_wxFontPickerCtrl,
49098 _swigc__p_wxFontPickerEvent,
554f62e9
RD
49099 _swigc__p_wxGBSizerItem,
49100 _swigc__p_wxGIFHandler,
49101 _swigc__p_wxGauge,
49102 _swigc__p_wxGenericDirCtrl,
49103 _swigc__p_wxGenericDragImage,
49104 _swigc__p_wxGridBagSizer,
49105 _swigc__p_wxGridSizer,
49106 _swigc__p_wxHelpEvent,
49107 _swigc__p_wxHelpProvider,
704eda0c
RD
49108 _swigc__p_wxHyperlinkCtrl,
49109 _swigc__p_wxHyperlinkEvent,
554f62e9
RD
49110 _swigc__p_wxICOHandler,
49111 _swigc__p_wxIcon,
49112 _swigc__p_wxIconizeEvent,
49113 _swigc__p_wxIdleEvent,
49114 _swigc__p_wxImage,
49115 _swigc__p_wxImageHandler,
49116 _swigc__p_wxImageList,
49117 _swigc__p_wxIndividualLayoutConstraint,
49118 _swigc__p_wxInitDialogEvent,
49119 _swigc__p_wxItemContainer,
49120 _swigc__p_wxJPEGHandler,
49121 _swigc__p_wxKeyEvent,
49122 _swigc__p_wxLayoutConstraints,
49123 _swigc__p_wxListBox,
49124 _swigc__p_wxListEvent,
49125 _swigc__p_wxListItem,
49126 _swigc__p_wxListItemAttr,
49127 _swigc__p_wxListView,
49128 _swigc__p_wxListbook,
49129 _swigc__p_wxListbookEvent,
49130 _swigc__p_wxMaximizeEvent,
49131 _swigc__p_wxMemoryDC,
49132 _swigc__p_wxMenu,
49133 _swigc__p_wxMenuBar,
49134 _swigc__p_wxMenuEvent,
49135 _swigc__p_wxMenuItem,
49136 _swigc__p_wxMouseCaptureChangedEvent,
0f83f5da 49137 _swigc__p_wxMouseCaptureLostEvent,
554f62e9
RD
49138 _swigc__p_wxMouseEvent,
49139 _swigc__p_wxMoveEvent,
49140 _swigc__p_wxNavigationKeyEvent,
49141 _swigc__p_wxNcPaintEvent,
49142 _swigc__p_wxNotebook,
49143 _swigc__p_wxNotebookEvent,
49144 _swigc__p_wxNotifyEvent,
49145 _swigc__p_wxObject,
49146 _swigc__p_wxPCXHandler,
49147 _swigc__p_wxPNGHandler,
49148 _swigc__p_wxPNMHandler,
49149 _swigc__p_wxPaintEvent,
49150 _swigc__p_wxPaletteChangedEvent,
49151 _swigc__p_wxPaperSize,
b850e7f3 49152 _swigc__p_wxPickerBase,
554f62e9
RD
49153 _swigc__p_wxPoint,
49154 _swigc__p_wxPyApp,
49155 _swigc__p_wxPyCommandEvent,
49156 _swigc__p_wxPyControl,
49157 _swigc__p_wxPyEvent,
49158 _swigc__p_wxPyImageHandler,
49159 _swigc__p_wxPyListCtrl,
49160 _swigc__p_wxPySizer,
49161 _swigc__p_wxPyTreeCtrl,
49162 _swigc__p_wxPyTreeItemData,
49163 _swigc__p_wxPyValidator,
49164 _swigc__p_wxQueryNewPaletteEvent,
49165 _swigc__p_wxRadioBox,
49166 _swigc__p_wxRadioButton,
49167 _swigc__p_wxRect,
49168 _swigc__p_wxScrollBar,
49169 _swigc__p_wxScrollEvent,
49170 _swigc__p_wxScrollWinEvent,
49171 _swigc__p_wxSetCursorEvent,
49172 _swigc__p_wxShowEvent,
49173 _swigc__p_wxSimpleHelpProvider,
49174 _swigc__p_wxSize,
49175 _swigc__p_wxSizeEvent,
49176 _swigc__p_wxSizer,
49177 _swigc__p_wxSizerItem,
49178 _swigc__p_wxSlider,
49179 _swigc__p_wxSpinButton,
49180 _swigc__p_wxSpinCtrl,
49181 _swigc__p_wxSpinEvent,
49182 _swigc__p_wxStaticBitmap,
49183 _swigc__p_wxStaticBox,
49184 _swigc__p_wxStaticBoxSizer,
49185 _swigc__p_wxStaticLine,
49186 _swigc__p_wxStaticText,
49187 _swigc__p_wxStdDialogButtonSizer,
49188 _swigc__p_wxString,
49189 _swigc__p_wxSysColourChangedEvent,
580080c5 49190 _swigc__p_wxTGAHandler,
554f62e9
RD
49191 _swigc__p_wxTIFFHandler,
49192 _swigc__p_wxTextAttr,
49193 _swigc__p_wxTextCtrl,
49194 _swigc__p_wxTextUrlEvent,
49195 _swigc__p_wxToggleButton,
49196 _swigc__p_wxToolBar,
49197 _swigc__p_wxToolBarBase,
49198 _swigc__p_wxToolBarToolBase,
49199 _swigc__p_wxToolbook,
49200 _swigc__p_wxToolbookEvent,
554f62e9
RD
49201 _swigc__p_wxTreeEvent,
49202 _swigc__p_wxTreeItemId,
49203 _swigc__p_wxTreebook,
49204 _swigc__p_wxTreebookEvent,
49205 _swigc__p_wxUpdateUIEvent,
49206 _swigc__p_wxValidator,
49207 _swigc__p_wxVisualAttributes,
49208 _swigc__p_wxWindow,
b850e7f3 49209 _swigc__p_wxWindowBase,
554f62e9
RD
49210 _swigc__p_wxWindowCreateEvent,
49211 _swigc__p_wxWindowDestroyEvent,
49212 _swigc__p_wxXPMHandler,
49213};
49214
49215
49216/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49217
49218static swig_const_info swig_const_table[] = {
49219{0, 0, 0, 0.0, 0, 0}};
49220
49221#ifdef __cplusplus
49222}
49223#endif
49224/* -----------------------------------------------------------------------------
49225 * Type initialization:
49226 * This problem is tough by the requirement that no dynamic
49227 * memory is used. Also, since swig_type_info structures store pointers to
49228 * swig_cast_info structures and swig_cast_info structures store pointers back
49229 * to swig_type_info structures, we need some lookup code at initialization.
49230 * The idea is that swig generates all the structures that are needed.
49231 * The runtime then collects these partially filled structures.
49232 * The SWIG_InitializeModule function takes these initial arrays out of
49233 * swig_module, and does all the lookup, filling in the swig_module.types
49234 * array with the correct data and linking the correct swig_cast_info
49235 * structures together.
49236 *
49237 * The generated swig_type_info structures are assigned staticly to an initial
49238 * array. We just loop though that array, and handle each type individually.
49239 * First we lookup if this type has been already loaded, and if so, use the
49240 * loaded structure instead of the generated one. Then we have to fill in the
49241 * cast linked list. The cast data is initially stored in something like a
49242 * two-dimensional array. Each row corresponds to a type (there are the same
49243 * number of rows as there are in the swig_type_initial array). Each entry in
49244 * a column is one of the swig_cast_info structures for that type.
49245 * The cast_initial array is actually an array of arrays, because each row has
49246 * a variable number of columns. So to actually build the cast linked list,
49247 * we find the array of casts associated with the type, and loop through it
49248 * adding the casts to the list. The one last trick we need to do is making
49249 * sure the type pointer in the swig_cast_info struct is correct.
49250 *
49251 * First off, we lookup the cast->type name to see if it is already loaded.
49252 * There are three cases to handle:
49253 * 1) If the cast->type has already been loaded AND the type we are adding
49254 * casting info to has not been loaded (it is in this module), THEN we
49255 * replace the cast->type pointer with the type pointer that has already
49256 * been loaded.
49257 * 2) If BOTH types (the one we are adding casting info to, and the
49258 * cast->type) are loaded, THEN the cast info has already been loaded by
49259 * the previous module so we just ignore it.
49260 * 3) Finally, if cast->type has not already been loaded, then we add that
49261 * swig_cast_info to the linked list (because the cast->type) pointer will
49262 * be correct.
49263 * ----------------------------------------------------------------------------- */
49264
49265#ifdef __cplusplus
49266extern "C" {
49267#if 0
49268} /* c-mode */
49269#endif
49270#endif
49271
49272#if 0
49273#define SWIGRUNTIME_DEBUG
49274#endif
49275
49276SWIGRUNTIME void
49277SWIG_InitializeModule(void *clientdata) {
49278 size_t i;
49279 swig_module_info *module_head;
49280 static int init_run = 0;
49281
49282 clientdata = clientdata;
49283
49284 if (init_run) return;
49285 init_run = 1;
49286
49287 /* Initialize the swig_module */
49288 swig_module.type_initial = swig_type_initial;
49289 swig_module.cast_initial = swig_cast_initial;
49290
49291 /* Try and load any already created modules */
49292 module_head = SWIG_GetModule(clientdata);
49293 if (module_head) {
49294 swig_module.next = module_head->next;
49295 module_head->next = &swig_module;
49296 } else {
49297 /* This is the first module loaded */
49298 swig_module.next = &swig_module;
49299 SWIG_SetModule(clientdata, &swig_module);
49300 }
49301
49302 /* Now work on filling in swig_module.types */
49303#ifdef SWIGRUNTIME_DEBUG
49304 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
49305#endif
49306 for (i = 0; i < swig_module.size; ++i) {
49307 swig_type_info *type = 0;
49308 swig_type_info *ret;
49309 swig_cast_info *cast;
d55e5bfc 49310
554f62e9
RD
49311#ifdef SWIGRUNTIME_DEBUG
49312 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49313#endif
d55e5bfc 49314
554f62e9
RD
49315 /* if there is another module already loaded */
49316 if (swig_module.next != &swig_module) {
49317 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 49318 }
554f62e9
RD
49319 if (type) {
49320 /* Overwrite clientdata field */
49321#ifdef SWIGRUNTIME_DEBUG
49322 printf("SWIG_InitializeModule: found type %s\n", type->name);
49323#endif
49324 if (swig_module.type_initial[i]->clientdata) {
49325 type->clientdata = swig_module.type_initial[i]->clientdata;
49326#ifdef SWIGRUNTIME_DEBUG
49327 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
49328#endif
49329 }
49330 } else {
49331 type = swig_module.type_initial[i];
093d3ff1 49332 }
d55e5bfc 49333
554f62e9
RD
49334 /* Insert casting types */
49335 cast = swig_module.cast_initial[i];
49336 while (cast->type) {
49337 /* Don't need to add information already in the list */
49338 ret = 0;
49339#ifdef SWIGRUNTIME_DEBUG
49340 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
49341#endif
49342 if (swig_module.next != &swig_module) {
49343 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
49344#ifdef SWIGRUNTIME_DEBUG
49345 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
49346#endif
49347 }
49348 if (ret) {
49349 if (type == swig_module.type_initial[i]) {
49350#ifdef SWIGRUNTIME_DEBUG
49351 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
49352#endif
49353 cast->type = ret;
49354 ret = 0;
49355 } else {
49356 /* Check for casting already in the list */
49357 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
49358#ifdef SWIGRUNTIME_DEBUG
49359 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
49360#endif
49361 if (!ocast) ret = 0;
49362 }
49363 }
49364
49365 if (!ret) {
49366#ifdef SWIGRUNTIME_DEBUG
49367 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
49368#endif
49369 if (type->cast) {
49370 type->cast->prev = cast;
49371 cast->next = type->cast;
49372 }
49373 type->cast = cast;
49374 }
49375 cast++;
093d3ff1 49376 }
554f62e9
RD
49377 /* Set entry in modules->types array equal to the type */
49378 swig_module.types[i] = type;
49379 }
49380 swig_module.types[i] = 0;
49381
49382#ifdef SWIGRUNTIME_DEBUG
49383 printf("**** SWIG_InitializeModule: Cast List ******\n");
49384 for (i = 0; i < swig_module.size; ++i) {
49385 int j = 0;
49386 swig_cast_info *cast = swig_module.cast_initial[i];
49387 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
49388 while (cast->type) {
49389 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
49390 cast++;
49391 ++j;
49392 }
49393 printf("---- Total casts: %d\n",j);
49394 }
49395 printf("**** SWIG_InitializeModule: Cast List ******\n");
49396#endif
49397}
49398
49399/* This function will propagate the clientdata field of type to
49400* any new swig_type_info structures that have been added into the list
49401* of equivalent types. It is like calling
49402* SWIG_TypeClientData(type, clientdata) a second time.
49403*/
49404SWIGRUNTIME void
49405SWIG_PropagateClientData(void) {
49406 size_t i;
49407 swig_cast_info *equiv;
49408 static int init_run = 0;
49409
49410 if (init_run) return;
49411 init_run = 1;
49412
49413 for (i = 0; i < swig_module.size; i++) {
49414 if (swig_module.types[i]->clientdata) {
49415 equiv = swig_module.types[i]->cast;
49416 while (equiv) {
49417 if (!equiv->converter) {
49418 if (equiv->type && !equiv->type->clientdata)
49419 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
49420 }
49421 equiv = equiv->next;
49422 }
093d3ff1 49423 }
554f62e9
RD
49424 }
49425}
49426
49427#ifdef __cplusplus
49428#if 0
49429{
49430 /* c-mode */
49431#endif
49432}
49433#endif
49434
49435
49436
49437#ifdef __cplusplus
49438extern "C" {
49439#endif
49440
49441 /* Python-specific SWIG API */
49442#define SWIG_newvarlink() SWIG_Python_newvarlink()
49443#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49444#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49445
49446 /* -----------------------------------------------------------------------------
49447 * global variable support code.
49448 * ----------------------------------------------------------------------------- */
49449
49450 typedef struct swig_globalvar {
49451 char *name; /* Name of global variable */
49452 PyObject *(*get_attr)(void); /* Return the current value */
49453 int (*set_attr)(PyObject *); /* Set the value */
49454 struct swig_globalvar *next;
49455 } swig_globalvar;
49456
49457 typedef struct swig_varlinkobject {
49458 PyObject_HEAD
49459 swig_globalvar *vars;
49460 } swig_varlinkobject;
49461
49462 SWIGINTERN PyObject *
49463 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
49464 return PyString_FromString("<Swig global variables>");
49465 }
49466
49467 SWIGINTERN PyObject *
49468 swig_varlink_str(swig_varlinkobject *v) {
49469 PyObject *str = PyString_FromString("(");
49470 swig_globalvar *var;
49471 for (var = v->vars; var; var=var->next) {
49472 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
49473 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
49474 }
49475 PyString_ConcatAndDel(&str,PyString_FromString(")"));
49476 return str;
49477 }
49478
49479 SWIGINTERN int
49480 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
49481 PyObject *str = swig_varlink_str(v);
49482 fprintf(fp,"Swig global variables ");
49483 fprintf(fp,"%s\n", PyString_AsString(str));
49484 Py_DECREF(str);
49485 return 0;
49486 }
49487
49488 SWIGINTERN void
49489 swig_varlink_dealloc(swig_varlinkobject *v) {
49490 swig_globalvar *var = v->vars;
49491 while (var) {
49492 swig_globalvar *n = var->next;
49493 free(var->name);
49494 free(var);
49495 var = n;
093d3ff1 49496 }
554f62e9
RD
49497 }
49498
49499 SWIGINTERN PyObject *
49500 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
49501 PyObject *res = NULL;
49502 swig_globalvar *var = v->vars;
49503 while (var) {
49504 if (strcmp(var->name,n) == 0) {
49505 res = (*var->get_attr)();
49506 break;
49507 }
49508 var = var->next;
093d3ff1 49509 }
554f62e9
RD
49510 if (res == NULL && !PyErr_Occurred()) {
49511 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 49512 }
554f62e9
RD
49513 return res;
49514 }
49515
49516 SWIGINTERN int
49517 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
49518 int res = 1;
49519 swig_globalvar *var = v->vars;
49520 while (var) {
49521 if (strcmp(var->name,n) == 0) {
49522 res = (*var->set_attr)(p);
49523 break;
49524 }
49525 var = var->next;
093d3ff1 49526 }
554f62e9
RD
49527 if (res == 1 && !PyErr_Occurred()) {
49528 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
53aa7709 49529 }
554f62e9
RD
49530 return res;
49531 }
49532
49533 SWIGINTERN PyTypeObject*
49534 swig_varlink_type(void) {
49535 static char varlink__doc__[] = "Swig var link object";
49536 static PyTypeObject varlink_type;
49537 static int type_init = 0;
49538 if (!type_init) {
49539 const PyTypeObject tmp
49540 = {
49541 PyObject_HEAD_INIT(NULL)
49542 0, /* Number of items in variable part (ob_size) */
49543 (char *)"swigvarlink", /* Type name (tp_name) */
49544 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
49545 0, /* Itemsize (tp_itemsize) */
49546 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
49547 (printfunc) swig_varlink_print, /* Print (tp_print) */
49548 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
49549 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
49550 0, /* tp_compare */
49551 (reprfunc) swig_varlink_repr, /* tp_repr */
49552 0, /* tp_as_number */
49553 0, /* tp_as_sequence */
49554 0, /* tp_as_mapping */
49555 0, /* tp_hash */
49556 0, /* tp_call */
49557 (reprfunc)swig_varlink_str, /* tp_str */
49558 0, /* tp_getattro */
49559 0, /* tp_setattro */
49560 0, /* tp_as_buffer */
49561 0, /* tp_flags */
49562 varlink__doc__, /* tp_doc */
49563 0, /* tp_traverse */
49564 0, /* tp_clear */
49565 0, /* tp_richcompare */
49566 0, /* tp_weaklistoffset */
49567#if PY_VERSION_HEX >= 0x02020000
49568 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49569#endif
49570#if PY_VERSION_HEX >= 0x02030000
49571 0, /* tp_del */
49572#endif
49573#ifdef COUNT_ALLOCS
49574 0,0,0,0 /* tp_alloc -> tp_next */
49575#endif
49576 };
49577 varlink_type = tmp;
49578 varlink_type.ob_type = &PyType_Type;
49579 type_init = 1;
53aa7709 49580 }
554f62e9
RD
49581 return &varlink_type;
49582 }
49583
49584 /* Create a variable linking object for use later */
49585 SWIGINTERN PyObject *
49586 SWIG_Python_newvarlink(void) {
49587 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
49588 if (result) {
49589 result->vars = 0;
49590 }
49591 return ((PyObject*) result);
49592 }
49593
49594 SWIGINTERN void
49595 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
49596 swig_varlinkobject *v = (swig_varlinkobject *) p;
49597 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
49598 if (gv) {
49599 size_t size = strlen(name)+1;
49600 gv->name = (char *)malloc(size);
49601 if (gv->name) {
49602 strncpy(gv->name,name,size);
49603 gv->get_attr = get_attr;
49604 gv->set_attr = set_attr;
49605 gv->next = v->vars;
49606 }
53aa7709 49607 }
554f62e9
RD
49608 v->vars = gv;
49609 }
49610
49611 SWIGINTERN PyObject *
49612 SWIG_globals() {
49613 static PyObject *_SWIG_globals = 0;
49614 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
49615 return _SWIG_globals;
49616 }
49617
49618 /* -----------------------------------------------------------------------------
49619 * constants/methods manipulation
49620 * ----------------------------------------------------------------------------- */
49621
49622 /* Install Constants */
49623 SWIGINTERN void
49624 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
49625 PyObject *obj = 0;
49626 size_t i;
49627 for (i = 0; constants[i].type; ++i) {
49628 switch(constants[i].type) {
49629 case SWIG_PY_POINTER:
49630 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
49631 break;
49632 case SWIG_PY_BINARY:
49633 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
49634 break;
49635 default:
49636 obj = 0;
49637 break;
49638 }
49639 if (obj) {
49640 PyDict_SetItemString(d, constants[i].name, obj);
49641 Py_DECREF(obj);
49642 }
53aa7709 49643 }
554f62e9
RD
49644 }
49645
49646 /* -----------------------------------------------------------------------------*/
49647 /* Fix SwigMethods to carry the callback ptrs when needed */
49648 /* -----------------------------------------------------------------------------*/
49649
49650 SWIGINTERN void
49651 SWIG_Python_FixMethods(PyMethodDef *methods,
49652 swig_const_info *const_table,
49653 swig_type_info **types,
49654 swig_type_info **types_initial) {
49655 size_t i;
49656 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 49657 const char *c = methods[i].ml_doc;
554f62e9
RD
49658 if (c && (c = strstr(c, "swig_ptr: "))) {
49659 int j;
49660 swig_const_info *ci = 0;
453fb36b 49661 const char *name = c + 10;
554f62e9
RD
49662 for (j = 0; const_table[j].type; ++j) {
49663 if (strncmp(const_table[j].name, name,
49664 strlen(const_table[j].name)) == 0) {
49665 ci = &(const_table[j]);
49666 break;
49667 }
49668 }
49669 if (ci) {
49670 size_t shift = (ci->ptype) - types;
49671 swig_type_info *ty = types_initial[shift];
49672 size_t ldoc = (c - methods[i].ml_doc);
49673 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
49674 char *ndoc = (char*)malloc(ldoc + lptr + 10);
49675 if (ndoc) {
49676 char *buff = ndoc;
49677 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
49678 if (ptr) {
49679 strncpy(buff, methods[i].ml_doc, ldoc);
49680 buff += ldoc;
49681 strncpy(buff, "swig_ptr: ", 10);
49682 buff += 10;
49683 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
49684 methods[i].ml_doc = ndoc;
49685 }
49686 }
49687 }
49688 }
53aa7709 49689 }
554f62e9
RD
49690 }
49691
49692#ifdef __cplusplus
49693}
49694#endif
49695
49696/* -----------------------------------------------------------------------------*
49697 * Partial Init method
49698 * -----------------------------------------------------------------------------*/
49699
49700#ifdef __cplusplus
49701extern "C"
49702#endif
49703SWIGEXPORT void SWIG_init(void) {
49704 PyObject *m, *d;
49705
49706 /* Fix SwigMethods to carry the callback ptrs when needed */
49707 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
49708
49709 m = Py_InitModule((char *) SWIG_name, SwigMethods);
49710 d = PyModule_GetDict(m);
49711
49712 SWIG_InitializeModule(0);
49713 SWIG_InstallConstants(d,swig_const_table);
49714
49715
49716 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
49717 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get, ButtonNameStr_set);
49718 SWIG_Python_SetConstant(d, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT)));
49719 SWIG_Python_SetConstant(d, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP)));
49720 SWIG_Python_SetConstant(d, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT)));
49721 SWIG_Python_SetConstant(d, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM)));
49722 SWIG_Python_SetConstant(d, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK)));
49723 SWIG_Python_SetConstant(d, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT)));
49724 SWIG_Python_SetConstant(d, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW)));
49725 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get, CheckBoxNameStr_set);
49726 SWIG_Python_SetConstant(d, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE)));
49727 SWIG_Python_SetConstant(d, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE)));
49728 SWIG_Python_SetConstant(d, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER)));
49729 SWIG_Python_SetConstant(d, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED)));
49730 SWIG_Python_SetConstant(d, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED)));
49731 SWIG_Python_SetConstant(d, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED)));
49732 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get, ChoiceNameStr_set);
49733 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get, ComboBoxNameStr_set);
49734 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get, GaugeNameStr_set);
49735 SWIG_Python_SetConstant(d, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL)));
49736 SWIG_Python_SetConstant(d, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL)));
49737 SWIG_Python_SetConstant(d, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH)));
554f62e9
RD
49738 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get, StaticBitmapNameStr_set);
49739 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get, StaticBoxNameStr_set);
49740 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get, StaticTextNameStr_set);
49741 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get, ListBoxNameStr_set);
49742 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get, TextCtrlNameStr_set);
49743 SWIG_Python_SetConstant(d, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL)));
49744 SWIG_Python_SetConstant(d, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL)));
49745 SWIG_Python_SetConstant(d, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY)));
49746 SWIG_Python_SetConstant(d, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE)));
49747 SWIG_Python_SetConstant(d, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB)));
49748 SWIG_Python_SetConstant(d, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT)));
49749 SWIG_Python_SetConstant(d, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER)));
49750 SWIG_Python_SetConstant(d, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT)));
49751 SWIG_Python_SetConstant(d, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE)));
49752 SWIG_Python_SetConstant(d, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH)));
49753 SWIG_Python_SetConstant(d, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER)));
49754 SWIG_Python_SetConstant(d, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD)));
49755 SWIG_Python_SetConstant(d, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL)));
49756 SWIG_Python_SetConstant(d, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL)));
49757 SWIG_Python_SetConstant(d, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP)));
49758 SWIG_Python_SetConstant(d, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP)));
49759 SWIG_Python_SetConstant(d, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP)));
49760 SWIG_Python_SetConstant(d, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP)));
554f62e9
RD
49761 SWIG_Python_SetConstant(d, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2)));
49762 SWIG_Python_SetConstant(d, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE)));
49763 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
49764 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
49765 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
49766 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
49767 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
49768 SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
49769 SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
49770 SWIG_Python_SetConstant(d, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR)));
49771 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE)));
49772 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE)));
49773 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT)));
49774 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC)));
49775 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE)));
49776 SWIG_Python_SetConstant(d, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT)));
49777 SWIG_Python_SetConstant(d, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT)));
49778 SWIG_Python_SetConstant(d, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT)));
49779 SWIG_Python_SetConstant(d, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT)));
49780 SWIG_Python_SetConstant(d, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS)));
49781 SWIG_Python_SetConstant(d, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN)));
49782 SWIG_Python_SetConstant(d, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE)));
49783 SWIG_Python_SetConstant(d, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT)));
49784 SWIG_Python_SetConstant(d, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW)));
49785 SWIG_Python_SetConstant(d, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND)));
49786 SWIG_Python_SetConstant(d, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord)));
49787 SWIG_Python_SetConstant(d, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord)));
f5263701 49788 SWIG_Python_SetConstant(d, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY)));
554f62e9
RD
49789 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
49790 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
49791 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
49792 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
49793 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get, ScrollBarNameStr_set);
49794 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get, SPIN_BUTTON_NAME_set);
49795 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get, SpinCtrlNameStr_set);
49796 SWIG_Python_SetConstant(d, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL)));
49797 SWIG_Python_SetConstant(d, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL)));
49798 SWIG_Python_SetConstant(d, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS)));
49799 SWIG_Python_SetConstant(d, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP)));
49800 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
49801 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get, RadioBoxNameStr_set);
49802 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get, RadioButtonNameStr_set);
49803 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get, SliderNameStr_set);
49804 SWIG_Python_SetConstant(d, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL)));
49805 SWIG_Python_SetConstant(d, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL)));
49806 SWIG_Python_SetConstant(d, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS)));
49807 SWIG_Python_SetConstant(d, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS)));
49808 SWIG_Python_SetConstant(d, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS)));
49809 SWIG_Python_SetConstant(d, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT)));
49810 SWIG_Python_SetConstant(d, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP)));
49811 SWIG_Python_SetConstant(d, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT)));
49812 SWIG_Python_SetConstant(d, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM)));
49813 SWIG_Python_SetConstant(d, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH)));
49814 SWIG_Python_SetConstant(d, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE)));
49815 SWIG_Python_SetConstant(d, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE)));
49816 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get, ToggleButtonNameStr_set);
49817 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
49818 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get, NotebookNameStr_set);
49819 SWIG_Python_SetConstant(d, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT)));
49820 SWIG_Python_SetConstant(d, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP)));
49821 SWIG_Python_SetConstant(d, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM)));
49822 SWIG_Python_SetConstant(d, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT)));
49823 SWIG_Python_SetConstant(d, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT)));
49824 SWIG_Python_SetConstant(d, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK)));
e9d6f3a4 49825 SWIG_Python_SetConstant(d, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR)));
110fa173
RD
49826 SWIG_Python_SetConstant(d, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE)));
49827 SWIG_Python_SetConstant(d, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON)));
49828 SWIG_Python_SetConstant(d, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL)));
49829 SWIG_Python_SetConstant(d, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM)));
49830 SWIG_Python_SetConstant(d, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE)));
554f62e9
RD
49831 SWIG_Python_SetConstant(d, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH)));
49832 SWIG_Python_SetConstant(d, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP)));
49833 SWIG_Python_SetConstant(d, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT)));
49834 SWIG_Python_SetConstant(d, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT)));
49835 SWIG_Python_SetConstant(d, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM)));
49836 SWIG_Python_SetConstant(d, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE)));
49837 SWIG_Python_SetConstant(d, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME)));
49838 SWIG_Python_SetConstant(d, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE)));
49839 SWIG_Python_SetConstant(d, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON)));
49840 SWIG_Python_SetConstant(d, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL)));
49841 SWIG_Python_SetConstant(d, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM)));
b02396e8 49842 SWIG_Python_SetConstant(d, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE)));
554f62e9
RD
49843 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
49844 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
49845 SWIG_Python_SetConstant(d, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT)));
49846 SWIG_Python_SetConstant(d, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP)));
49847 SWIG_Python_SetConstant(d, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM)));
49848 SWIG_Python_SetConstant(d, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT)));
49849 SWIG_Python_SetConstant(d, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT)));
49850 SWIG_Python_SetConstant(d, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK)));
49851 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
49852 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
49853 SWIG_Python_SetConstant(d, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT)));
49854 SWIG_Python_SetConstant(d, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP)));
49855 SWIG_Python_SetConstant(d, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM)));
49856 SWIG_Python_SetConstant(d, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT)));
49857 SWIG_Python_SetConstant(d, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT)));
49858 SWIG_Python_SetConstant(d, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK)));
49859 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED));
49860 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING));
49861 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED));
49862 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING));
49863 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED));
49864 PyDict_SetItemString(d, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED));
49865 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED));
49866 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING));
49867 SWIG_Python_SetConstant(d, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON)));
49868 SWIG_Python_SetConstant(d, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR)));
49869 SWIG_Python_SetConstant(d, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL)));
49870 SWIG_Python_SetConstant(d, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL)));
49871 SWIG_Python_SetConstant(d, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL)));
8f514ab4
RD
49872 SWIG_Python_SetConstant(d, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP)));
49873 SWIG_Python_SetConstant(d, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT)));
49874 SWIG_Python_SetConstant(d, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM)));
49875 SWIG_Python_SetConstant(d, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT)));
554f62e9
RD
49876 SWIG_Python_SetConstant(d, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS)));
49877 SWIG_Python_SetConstant(d, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT)));
49878 SWIG_Python_SetConstant(d, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE)));
49879 SWIG_Python_SetConstant(d, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS)));
49880 SWIG_Python_SetConstant(d, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT)));
49881 SWIG_Python_SetConstant(d, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER)));
49882 SWIG_Python_SetConstant(d, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN)));
49883 SWIG_Python_SetConstant(d, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT)));
49884 SWIG_Python_SetConstant(d, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT)));
704eda0c 49885 SWIG_Python_SetConstant(d, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS)));
554f62e9
RD
49886 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get, ListCtrlNameStr_set);
49887 SWIG_Python_SetConstant(d, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES)));
49888 SWIG_Python_SetConstant(d, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES)));
49889 SWIG_Python_SetConstant(d, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON)));
49890 SWIG_Python_SetConstant(d, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON)));
49891 SWIG_Python_SetConstant(d, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST)));
49892 SWIG_Python_SetConstant(d, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT)));
49893 SWIG_Python_SetConstant(d, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP)));
49894 SWIG_Python_SetConstant(d, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT)));
49895 SWIG_Python_SetConstant(d, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE)));
49896 SWIG_Python_SetConstant(d, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL)));
49897 SWIG_Python_SetConstant(d, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS)));
49898 SWIG_Python_SetConstant(d, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER)));
49899 SWIG_Python_SetConstant(d, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER)));
49900 SWIG_Python_SetConstant(d, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL)));
49901 SWIG_Python_SetConstant(d, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING)));
49902 SWIG_Python_SetConstant(d, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING)));
49903 SWIG_Python_SetConstant(d, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE)));
49904 SWIG_Python_SetConstant(d, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN)));
49905 SWIG_Python_SetConstant(d, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT)));
49906 SWIG_Python_SetConstant(d, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE)));
49907 SWIG_Python_SetConstant(d, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT)));
49908 SWIG_Python_SetConstant(d, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE)));
49909 SWIG_Python_SetConstant(d, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA)));
49910 SWIG_Python_SetConstant(d, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM)));
49911 SWIG_Python_SetConstant(d, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH)));
49912 SWIG_Python_SetConstant(d, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT)));
49913 SWIG_Python_SetConstant(d, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE)));
49914 SWIG_Python_SetConstant(d, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED)));
49915 SWIG_Python_SetConstant(d, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED)));
49916 SWIG_Python_SetConstant(d, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED)));
49917 SWIG_Python_SetConstant(d, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT)));
49918 SWIG_Python_SetConstant(d, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED)));
49919 SWIG_Python_SetConstant(d, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED)));
49920 SWIG_Python_SetConstant(d, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE)));
49921 SWIG_Python_SetConstant(d, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED)));
49922 SWIG_Python_SetConstant(d, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE)));
49923 SWIG_Python_SetConstant(d, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE)));
49924 SWIG_Python_SetConstant(d, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW)));
49925 SWIG_Python_SetConstant(d, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE)));
49926 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON)));
49927 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL)));
49928 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT)));
49929 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON)));
49930 SWIG_Python_SetConstant(d, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT)));
49931 SWIG_Python_SetConstant(d, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT)));
49932 SWIG_Python_SetConstant(d, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM)));
704eda0c 49933 SWIG_Python_SetConstant(d, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM)));
554f62e9
RD
49934 SWIG_Python_SetConstant(d, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE)));
49935 SWIG_Python_SetConstant(d, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL)));
49936 SWIG_Python_SetConstant(d, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW)));
49937 SWIG_Python_SetConstant(d, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT)));
49938 SWIG_Python_SetConstant(d, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT)));
49939 SWIG_Python_SetConstant(d, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT)));
49940 SWIG_Python_SetConstant(d, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT)));
49941 SWIG_Python_SetConstant(d, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP)));
49942 SWIG_Python_SetConstant(d, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID)));
49943 SWIG_Python_SetConstant(d, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT)));
49944 SWIG_Python_SetConstant(d, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT)));
49945 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE)));
49946 SWIG_Python_SetConstant(d, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER)));
49947 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE)));
49948 SWIG_Python_SetConstant(d, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER)));
49949 SWIG_Python_SetConstant(d, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS)));
49950 SWIG_Python_SetConstant(d, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON)));
49951 SWIG_Python_SetConstant(d, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL)));
49952 SWIG_Python_SetConstant(d, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP)));
49953 SWIG_Python_SetConstant(d, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN)));
49954 SWIG_Python_SetConstant(d, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT)));
49955 SWIG_Python_SetConstant(d, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT)));
49956 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
49957 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
49958 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
49959 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
49960 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
49961 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
49962 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
49963 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
49964 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
49965 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
49966 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
49967 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
49968 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
49969 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
49970 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
49971 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
49972 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
49973 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
49974 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
49975 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
49976
49977 // Map renamed classes back to their common name for OOR
49978 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49979
49980 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get, TreeCtrlNameStr_set);
49981 SWIG_Python_SetConstant(d, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS)));
49982 SWIG_Python_SetConstant(d, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS)));
49983 SWIG_Python_SetConstant(d, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES)));
49984 SWIG_Python_SetConstant(d, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT)));
49985 SWIG_Python_SetConstant(d, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE)));
49986 SWIG_Python_SetConstant(d, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE)));
49987 SWIG_Python_SetConstant(d, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED)));
49988 SWIG_Python_SetConstant(d, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT)));
49989 SWIG_Python_SetConstant(d, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS)));
49990 SWIG_Python_SetConstant(d, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT)));
49991 SWIG_Python_SetConstant(d, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES)));
49992 SWIG_Python_SetConstant(d, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT)));
49993 SWIG_Python_SetConstant(d, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE)));
49994 SWIG_Python_SetConstant(d, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS)));
554f62e9
RD
49995 SWIG_Python_SetConstant(d, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal)));
49996 SWIG_Python_SetConstant(d, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected)));
49997 SWIG_Python_SetConstant(d, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded)));
49998 SWIG_Python_SetConstant(d, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded)));
49999 SWIG_Python_SetConstant(d, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max)));
50000 SWIG_Python_SetConstant(d, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE)));
50001 SWIG_Python_SetConstant(d, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW)));
50002 SWIG_Python_SetConstant(d, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE)));
50003 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON)));
50004 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON)));
50005 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT)));
50006 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL)));
50007 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT)));
50008 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON)));
50009 SWIG_Python_SetConstant(d, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT)));
50010 SWIG_Python_SetConstant(d, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT)));
50011 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART)));
50012 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART)));
50013 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM)));
50014 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
50015 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
50016 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
50017 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
50018 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
50019 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
50020 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
50021 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
50022 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
50023 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
50024 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
50025 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
50026 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
50027 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
50028 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
50029 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
50030 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
50031 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
50032 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
50033 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
50034 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU));
b02396e8 50035 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get, NullTreeItemId_set);
554f62e9
RD
50036
50037 // Map renamed classes back to their common name for OOR
50038 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50039 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50040
50041 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get, DirDialogDefaultFolderStr_set);
50042 SWIG_Python_SetConstant(d, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY)));
50043 SWIG_Python_SetConstant(d, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST)));
50044 SWIG_Python_SetConstant(d, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS)));
50045 SWIG_Python_SetConstant(d, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL)));
50046 SWIG_Python_SetConstant(d, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS)));
554f62e9
RD
50047 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
50048 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
704eda0c
RD
50049 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown)));
50050 SWIG_Python_SetConstant(d, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard)));
50051 SWIG_Python_SetConstant(d, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton)));
554f62e9
RD
50052
50053 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50054
50055 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get, DatePickerCtrlNameStr_set);
50056 SWIG_Python_SetConstant(d, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT)));
50057 SWIG_Python_SetConstant(d, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN)));
50058 SWIG_Python_SetConstant(d, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN)));
50059 SWIG_Python_SetConstant(d, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY)));
50060 SWIG_Python_SetConstant(d, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE)));
704eda0c
RD
50061 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get, HyperlinkCtrlNameStr_set);
50062 SWIG_Python_SetConstant(d, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU)));
33d6fd3b
RD
50063 SWIG_Python_SetConstant(d, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT)));
50064 SWIG_Python_SetConstant(d, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT)));
50065 SWIG_Python_SetConstant(d, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE)));
704eda0c
RD
50066 SWIG_Python_SetConstant(d, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE)));
50067 PyDict_SetItemString(d, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK));
b850e7f3
RD
50068 SWIG_Python_SetConstant(d, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL)));
50069 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get, ColourPickerCtrlNameStr_set);
50070 SWIG_Python_SetConstant(d, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL)));
50071 SWIG_Python_SetConstant(d, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL)));
50072 SWIG_Python_SetConstant(d, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE)));
50073 PyDict_SetItemString(d, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED));
50074 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get, FilePickerCtrlNameStr_set);
50075 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
50076 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get, DirPickerCtrlNameStr_set);
50077 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
50078 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
50079 SWIG_Python_SetConstant(d, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN)));
50080 SWIG_Python_SetConstant(d, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE)));
50081 SWIG_Python_SetConstant(d, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT)));
50082 SWIG_Python_SetConstant(d, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST)));
50083 SWIG_Python_SetConstant(d, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR)));
50084 SWIG_Python_SetConstant(d, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST)));
50085 SWIG_Python_SetConstant(d, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR)));
50086 SWIG_Python_SetConstant(d, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL)));
50087 SWIG_Python_SetConstant(d, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE)));
50088 SWIG_Python_SetConstant(d, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL)));
50089 SWIG_Python_SetConstant(d, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE)));
50090 PyDict_SetItemString(d, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED));
50091 PyDict_SetItemString(d, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED));
50092 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get, FontPickerCtrlNameStr_set);
50093 SWIG_Python_SetConstant(d, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL)));
50094 SWIG_Python_SetConstant(d, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL)));
50095 SWIG_Python_SetConstant(d, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL)));
50096 SWIG_Python_SetConstant(d, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE)));
50097 PyDict_SetItemString(d, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED));
5172800e
RD
50098 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get, CollapsiblePaneNameStr_set);
50099 SWIG_Python_SetConstant(d, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE)));
50100 SWIG_Python_SetConstant(d, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE)));
50101 PyDict_SetItemString(d, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED));
d55e5bfc
RD
50102}
50103